/* ═══════════════════════════════════════════════════
   Dear21 — Multi-Brand Fashion Store
   Classy Editorial Stylesheet
   ═══════════════════════════════════════════════════ */

/* ─── RESET & VARIABLES ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

::selection {
    background: var(--dark, #1c1c1c);
    color: #fff
}

::-moz-selection {
    background: var(--dark, #1c1c1c);
    color: #fff
}

:root {
    --bg: #ffffff;
    --bg-warm: #f9f7f3;
    --white: #fff;
    --dark: #1c1c1c;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --accent: #1c1c1c;
    --accent1: #ffcc00;
    --accent2: #b89b5e;
    --accent3: #2a2a2a;
    --gold: #b89b5e;
    --gold-light: #f5f0e3;
    --border: #e5e5e5;
    --border-light: #f0f0f0;
    --shadow: 0 2px 16px rgba(0, 0, 0, .04);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, .06);
    --radius: 4px;
    --radius-sm: 3px;
    --transition: .25s ease;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased
}

a {
    text-decoration: none;
    color: inherit
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none
}

img {
    max-width: 100%;
    display: block
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px
}

/* ─── ANNOUNCEMENT BAR ─── */
.announcement {
    background: var(--dark);
    color: rgba(255, 255, 255, .85);
    text-align: center;
    padding: 9px 20px;
    font-size: .75rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase
}

.announcement span {
    color: var(--gold);
    font-weight: 500
}

/* ─── HEADER ─── */
header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1320px;
    margin: 0 auto
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
}

.logo img {
    max-height: 45px !important;
    width: auto !important;
    display: block;
}

@media (max-width: 768px) {
    .logo img {
        max-height: 35px !important;
    }
}

.logo em {
    font-style: normal;
    color: var(--dark)
}

nav {
    display: flex;
    gap: 32px
}

nav a {
    font-size: .8rem;
    font-weight: 500;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition)
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--dark);
    transition: var(--transition)
}

nav a:hover {
    color: var(--dark)
}

nav a:hover::after {
    width: 100%
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: var(--transition);
    position: relative;
    font-size: 1rem
}

.icon-btn:hover {
    background: var(--bg-warm)
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background: var(--dark);
    color: #fff;
    font-size: .6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700
}

.btn-guest {
    padding: 10px 24px;
    background: var(--dark);
    color: #fff;
    border-radius: var(--radius);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .8px;
    text-transform: uppercase;
    transition: var(--transition)
}

.btn-guest:hover {
    background: var(--accent3);
    transform: translateY(-1px)
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 4px
}

.hamburger span {
    width: 22px;
    height: 1.5px;
    background: var(--dark);
    transition: var(--transition)
}

/* ─── HERO SLIDER ─── */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--dark)
}

.hero-slides {
    display: flex;
    transition: transform .7s cubic-bezier(.4, 0, .2, 1)
}

.hero-slide {
    min-width: 100%;
    position: relative;
    height: 560px;
    display: flex;
    align-items: center
}

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .45
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 80px;
    max-width: 640px
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: .68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, .25);
    margin-bottom: 20px
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 18px;
    font-weight: 400
}

.hero-content p {
    color: rgba(255, 255, 255, .7);
    font-size: .92rem;
    margin-bottom: 32px;
    max-width: 440px;
    line-height: 1.7
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.btn-primary {
    padding: 14px 36px;
    background: #fff;
    color: var(--dark);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition)
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-1px)
}

.btn-outline {
    padding: 14px 36px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition)
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff
}

/* Loading State */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
    cursor: default;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spinner 0.6s linear infinite;
}

/* For light buttons (like on white background) */
.btn-auth.btn-loading::after,
.btn-place-order.btn-loading::after,
.btn-preorder.btn-loading::after,
.btn-add-cart.btn-loading::after {
    /* If the button has dark background, keep white spinner. If white background, change it. */
    border-top-color: #fff;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3
}

.hero-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    transition: var(--transition)
}

.hero-dots button.active {
    background: #fff;
    width: 24px;
    border-radius: 4px
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .15)
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, .2)
}

.hero-arrow.prev {
    left: 24px
}

.hero-arrow.next {
    right: 24px
}

/* ─── SECTION TITLES ─── */
.section {
    padding: 60px 0
}

.section-header {
    text-align: center;
    margin-bottom: 40px
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 400;
    letter-spacing: -.3px
}

.section-header p {
    color: var(--text-muted);
    font-size: .85rem;
    max-width: 480px;
    margin: 0 auto
}

.section-header .line {
    width: 40px;
    height: 1.5px;
    background: var(--gold);
    margin: 16px auto 0
}

/* ─── BRANDS ─── */
/* ─── CATEGORIES (CIRCULAR) ─── */
.categories-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 5px 30px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-grid::-webkit-scrollbar {
    display: none;
}

.category-card {
    flex: 0 0 calc(16.666% - 25px);
    min-width: 130px;
    max-width: 200px;
    text-align: center;
    cursor: pointer;
    border: none;
    background: none;
}

.category-img-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #f5f5f5;
    position: relative;
    padding: 4px;
    /* Space for the ring effect */
}

.category-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.6s ease;
}

.category-card:hover .category-img-wrapper {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.category-card span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.category-card:hover h4 {
    color: var(--gold);
}

@media(max-width: 992px) {
    .categories-grid {
        gap: 20px;
    }

    .category-card {
        flex: 0 0 calc(25% - 15px);
        min-width: 120px;
    }
}

@media(max-width: 480px) {
    .categories-grid {
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }

    .category-card {
        flex: 0 0 calc(40% - 10px);
        min-width: 110px;
    }
}



/* ─── PRODUCT CARDS ─── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #eee;
}

.product-img {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: var(--bg-warm)
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .8s cubic-bezier(0.165, 0.84, 0.44, 1), transform .8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-img .img-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
}

.product-card:hover .product-img .img-hover {
    opacity: 1;
    transform: scale(1.08);
}

.product-card:hover .product-img .img-primary {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(17, 17, 17, 0.9);
    color: #fff;
    padding: 6px 14px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 10;
    border-radius: 2px;
    backdrop-filter: blur(4px);
}

.product-actions {
    position: absolute;
    right: 15px;
    top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(15px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-actions button {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1rem;
}

.product-actions button:hover {
    background: #111;
    color: #fff;
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: auto;
}

@media (max-width: 576px) {
    .product-info {
        padding: 12px;
    }

    .size-box {
        padding: 4px 8px;
        min-width: 28px;
        font-size: 0.68rem;
    }
}

.product-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.4;
    min-height: 2.8em;
    /* Forces titles to take up 2 lines worth of space for alignment */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-info h3 a {
    color: inherit;
    text-decoration: none;
}

.product-delivery {
    font-size: .72rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 1.2em;
}

.product-sizes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px !important;
    margin-bottom: 5px;
}

/* Sizes */
.size-box {
    height: auto;
    min-width: 32px;
    padding: 6px 10px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: #fff;
    color: var(--dark);
    border-radius: 4px;
}

.size-box:hover {
    border-color: var(--dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.size-box.selected,
.size-box.active {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.size-box.out-of-stock,
.size-options button.out-of-stock {
    opacity: 0.5;
    background: #f9f9f9;
    color: #999;
    cursor: not-allowed;
    position: relative;
    border-color: #eee;
    pointer-events: none;
    /* Disable all interactions */
}

/* ─── QUANTITY SELECTOR ─── */
.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    height: 36px;
}

.qty-btn {
    width: 32px;
    height: 100%;
    background: #f9f9f9;
    border: none;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover:not(:disabled) {
    background: #eeeeee;
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f1f1f1;
}

/* ─── CART PAGE STYLES ─── */
.cart-page-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.cart-items-wrapper {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
}

.cart-items-header {
    font-family: var(--font-heading);
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details h4 {
    margin: 0 0 4px 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-item-details .item-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0;
}

.attr-badge {
    background: #f0f4f8;
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 5px;
}

.attr-name {
    color: #059669;
    font-weight: 700;
}

.attr-value {
    color: #1a202c;
    font-weight: 500;
}

.cart-item-details .item-price {
    font-weight: 600;
    margin-top: 5px;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cart-item-controls .item-row-total {
    font-weight: 700;
    font-size: 1rem;
    width: 90px;
    text-align: right;
    font-family: var(--font-body);
}

.cart-item-controls .remove-btn {
    background: none;
    border: none;
    color: #ff4d4d;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px;
    transition: var(--transition);
}

.cart-item-controls .remove-btn:hover {
    color: #d32f2f;
    transform: scale(1.1);
}

.cart-summary-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    align-self: start;
    position: sticky;
    top: 100px;
}

.cart-summary-box .summary-title {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-summary-box .subtotal-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-family: var(--font-body);
    border-top: 1px solid #eee;
    padding-top: 12px;
}

.cart-summary-box .subtotal-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.cart-summary-box .subtotal-value {
    font-weight: 700;
    font-size: 1rem;
}

.continue-shopping {
    margin-top: 20px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ─── RESPONSIVE ADJUSTMENTS ─── */
@media (max-width: 991px) {
    .cart-page-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cart-summary-box {
        position: static;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .cart-item-row {
        gap: 20px;
    }

    .cart-item-controls {
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .cart-item-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }

    .cart-item-info {
        width: 100%;
    }

    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px dashed #eee;
    }

    .cart-item-controls .item-row-total {
        width: auto;
        text-align: left;
    }

    .cart-items-wrapper {
        padding: 15px;
    }

    .section {
        padding: 40px 0 !important;
    }
}

.qty-input {
    width: 45px;
    height: 100%;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.size-box.out-of-stock::after,
.size-options button.out-of-stock::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top left, transparent calc(50% - 2px), #ccc, transparent calc(50% + 2px));
    pointer-events: none;
}

.size-box.out-of-stock:hover {
    transform: none;
    box-shadow: none;
    border-color: #eee;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px
}

.product-price .current {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111;
}

.product-price .old {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.product-stock {
    font-size: .75rem;
    color: #2d8a4e;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: .3px
}

/* .product-stock::before removed to avoid double dots */

.btn-preorder {
    width: 100%;
    padding: 11px;
    background: var(--dark);
    color: #fff;
    border-radius: var(--radius);
    font-size: .75rem;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: .5px;
    text-transform: uppercase
}

.btn-preorder:hover {
    background: var(--gold);
    color: var(--dark)
}

/* ─── PRODUCT DETAIL PAGE ─── */
.product-detail-container {
    padding: 20px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

/* Gallery */
.main-img-box {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--bg-warm);
    aspect-ratio: 1/1.2;
}

.main-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.detail-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    padding: 6px 14px;
    font-size: 0.75rem;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumb-box {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    aspect-ratio: 1/1;
}

.thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-box.active {
    border-color: var(--dark);
}

/* Info Panel */
.product-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.brand-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: var(--accent1);
    letter-spacing: 2px;
}

.review-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.product-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.1;
}

.product-price-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.detail-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
}

.detail-old-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.discount-pill {
    background: #e74c3c;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-short-desc {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 35px;
    font-size: 1rem;
}

.product-variant-section {
    margin-bottom: 30px;
}

.variant-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.size-chart-link {
    color: var(--dark);
    text-decoration: underline;
    font-size: 0.8rem;
}

.size-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 10px;
}

.size-btn {
    padding: 12px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.size-btn:hover:not(:disabled) {
    border-color: var(--dark);
}

.size-btn.selected {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

.size-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--bg-warm);
}

/* Actions */
.purchase-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.quantity-selector {
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.quantity-selector button {
    width: 45px;
    background: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-selector button:hover {
    background: var(--bg-warm);
}

.quantity-selector input {
    width: 50px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-weight: 600;
    font-family: inherit;
}

.secondary-actions {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.action-link {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.action-link:hover {
    color: var(--dark);
}

.product-perks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.perk-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.perk-item svg {
    color: var(--accent1);
}

.perk-item div {
    display: flex;
    flex-direction: column;
}

.perk-item strong {
    font-size: 0.82rem;
    color: var(--dark);
}

.perk-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Tabs */
.product-tabs-container {
    margin-top: 80px;
    border-top: 1px solid var(--border-light);
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
}

.tab-nav button {
    background: none;
    border: none;
    padding: 25px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-nav button.active {
    color: var(--dark);
}

.tab-nav button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--dark);
}

.tab-content {
    max-width: 800px;
    margin: 0 auto;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table td {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

.spec-table td:first-child {
    font-weight: 600;
    color: var(--dark);
    width: 40%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-info-panel {
        padding-top: 10px;
    }

    .product-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .tab-nav {
        gap: 20px;
    }

    .tab-nav button {
        font-size: 0.85rem;
    }

    .product-perks {
        grid-template-columns: 1fr;
    }
}

/* ─── REVIEWS SECTION ─── */
.reviews-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    background: var(--bg-warm);
    padding: 40px;
    border-radius: var(--radius);
    margin-bottom: 50px;
    align-items: center;
}

.rating-aggregate {
    text-align: center;
    border-right: 1px solid var(--border);
    padding-right: 40px;
}

.big-score {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--dark);
    margin-bottom: 10px;
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dist-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.dist-row span:first-child {
    width: 60px;
}

.dist-row span:last-child {
    width: 30px;
    text-align: right;
    color: var(--text-muted);
}

.bar {
    flex: 1;
    height: 8px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: var(--accent1);
}

.write-review-prompt {
    padding-left: 40px;
    border-left: 1px solid var(--border);
}

/* Review List */
.review-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review-card {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviewer-info strong {
    font-size: 1rem;
    color: var(--dark);
}

.verified-badge {
    font-size: 0.7rem;
    color: #27ae60;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-meta {
    text-align: right;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
}

.review-helpful {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-helpful button {
    background: none;
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.review-helpful button:hover {
    border-color: var(--dark);
    color: var(--dark);
}

@media (max-width: 992px) {
    .reviews-summary-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
    }

    .rating-aggregate,
    .write-review-prompt {
        border: none;
        padding: 0;
    }
}

/* ─── REVIEW FORM ─── */
.review-form-container {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 0;
    opacity: 0;
}

.review-form-container.active {
    max-height: 1000px;
    margin-bottom: 60px;
    opacity: 1;
    padding-bottom: 20px;
}

.review-form-inner {
    background: var(--white);
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.review-form-inner h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--dark);
}

.rating-input-group {
    margin-bottom: 30px;
}

.rating-input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.stars-interactive {
    display: flex;
    gap: 8px;
    font-size: 1.5rem;
    color: var(--border);
}

.stars-interactive span {
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.stars-interactive span:hover {
    transform: scale(1.2) rotate(8deg);
}

.stars-interactive span.pop {
    animation: star-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes star-pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

.stars-interactive span:hover,
.stars-interactive span.active,
.stars-interactive span:hover~span {
    color: var(--accent1);
}

/* Reverse hover trick to color stars before the hovered one */
.stars-interactive {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.stars-interactive span:hover,
.stars-interactive span:hover~span {
    color: var(--accent1);
}

.review-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-premium {
    margin-bottom: 25px;
}

.form-group-premium label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.form-group-premium input,
.form-group-premium textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group-premium input:focus,
.form-group-premium textarea:focus {
    border-color: var(--dark);
    outline: none;
    background: var(--bg-warm);
}

.form-group-premium textarea {
    min-height: 150px;
    resize: vertical;
}

@media (max-width: 768px) {
    .review-form-grid {
        grid-template-columns: 1fr;
    }

    .review-form-inner {
        padding: 20px;
    }
}

/* ─── FEATURES ─── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.feature-card {
    text-align: center;
    padding: 36px 20px;
    background: var(--bg-warm);
    border-radius: var(--radius);
    transition: var(--transition)
}

.feature-card:hover {
    background: var(--dark);
    color: #fff
}

.feature-card:hover h4,
.feature-card:hover p {
    color: inherit
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition)
}

.feature-card:hover .feature-icon {
    background: rgba(255, 255, 255, .15)
}

.feature-card h4 {
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark)
}

.feature-card p {
    font-size: .75rem;
    color: var(--text-light)
}

/* ─── FOOTER ─── */
footer {
    background: var(--white);
    color: var(--text);
    border-top: 1px solid var(--border);
    padding: 48px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.8fr;
    gap: 40px;
    margin-bottom: 40px
}

footer h4 {
    color: var(--dark);
    font-size: .72rem;
    margin-bottom: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px
}

footer p {
    font-size: .8rem;
    line-height: 1.7;
    color: var(--text-light)
}

.footer-brand .logo {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 14px;
    display: inline-block
}

.footer-brand .footer-address {
    font-size: .8rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px
}

.footer-brand .footer-get-dir {
    font-size: .78rem;
    font-weight: 500;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
    text-decoration: underline;
    text-underline-offset: 3px
}

.footer-brand .footer-get-dir:hover {
    color: var(--gold)
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 8px
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    color: var(--text);
    transition: var(--transition)
}

.footer-socials a:hover {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark)
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.footer-links a,
.footer-links li {
    font-size: .8rem;
    color: var(--text-light);
    transition: var(--transition)
}

.footer-links a:hover {
    color: var(--dark);
    text-decoration: underline;
    text-underline-offset: 3px
}

.newsletter-input {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    gap: 12px;
    max-width: 400px;
}

.newsletter-input input {
    width: 100%;
    padding: 14px 16px;
    background: var(--white);
    border: 1.5px solid #111;
    border-radius: 4px;
    color: var(--text);
    font-size: .9rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-input input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 155, 94, 0.1);
}

.newsletter-input input::placeholder {
    color: #999;
}

.newsletter-input button {
    width: 100%;
    padding: 15px 25px;
    background: #1a1a1a;
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.newsletter-input button:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-input button svg {
    transition: transform 0.3s ease;
}

.newsletter-input button:hover svg {
    transform: translate(2px, -2px);
}

.footer-selectors {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    font-size: .78rem;
    color: var(--text-muted)
}

.footer-selectors select {
    background: transparent;
    border: none;
    font-size: .78rem;
    color: var(--text-light);
    cursor: pointer;
    outline: none
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .72rem;
    color: var(--text-muted)
}

.footer-payments {
    display: flex;
    gap: 6px;
    align-items: center
}

.footer-payments img {
    height: 22px;
    opacity: .7;
    transition: var(--transition)
}

.footer-payments img:hover {
    opacity: 1
}

.payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .6rem;
    font-weight: 700;
    color: var(--text-light);
    min-width: 40px;
    height: 26px
}

/* ─── CUSTOM MODAL (scoped under .modal-overlay to avoid Bootstrap conflicts) ─── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    padding: 20px
}

.modal-overlay.active {
    display: flex
}

.modal-overlay .custom-modal {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn .3s ease
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.modal-overlay .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border)
}

.modal-overlay .modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400
}

.modal-overlay .modal-close {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition)
}

.modal-overlay .modal-close:hover {
    background: var(--dark);
    color: #fff
}

.modal-overlay .modal-body {
    padding: 28px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 0
}

.form-group.full {
    grid-column: 1/-1
}

.form-group label {
    font-size: .72rem;
    font-weight: 500;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .5px
}

.form-group input,
.form-group textarea {
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .84rem;
    transition: var(--transition);
    outline: none;
    font-family: inherit
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--dark);
    box-shadow: 0 0 0 2px rgba(28, 28, 28, .06)
}

.radio-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 8px 0 16px
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: .8rem;
    font-weight: 500
}

.radio-option:has(input:checked) {
    border-color: var(--dark);
    background: var(--bg-warm)
}

.radio-option input {
    accent-color: var(--dark)
}

.btn-place-order {
    width: 100%;
    padding: 14px;
    background: var(--dark);
    color: #fff;
    border-radius: var(--radius);
    font-size: .78rem;
    font-weight: 500;
    transition: var(--transition);
    margin-top: 8px;
    letter-spacing: .8px;
    text-transform: uppercase
}

.btn-place-order:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-1px)
}

/* ─── MOBILE NAV (Half Off-Canvas) ─── */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 3999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    backdrop-filter: blur(2px)
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 75vw;
    height: 100vh;
    background: var(--white);
    z-index: 4000;
    display: flex;
    flex-direction: column;
    padding: 0;
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto
}

.mobile-nav.active {
    transform: translateX(0)
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border)
}

.mobile-nav-header .logo {
    font-size: 1.4rem
}

.mobile-nav a {
    font-size: .82rem;
    font-weight: 500;
    color: var(--dark);
    padding: 15px 24px;
    border-bottom: 1px solid var(--border-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    transition: var(--transition)
}

.mobile-nav a:hover {
    background: var(--bg-warm);
    padding-left: 28px
}

.mobile-close {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition)
}

.mobile-close:hover {
    background: var(--dark);
    color: #fff
}

/* ─── AUTH PAGE ─── */
.auth-section {
    padding: 60px 0
}

.auth-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px
}

.auth-card h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 8px
}

.auth-card>p {
    text-align: center;
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 28px
}

.auth-card .form-group {
    margin-bottom: 16px
}

.btn-auth {
    width: 100%;
    padding: 16px;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    display: block;
    margin-top: 10px
}

.btn-auth:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1)
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    font-size: .72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

.btn-google {
    width: 100%;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .82rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    color: var(--text)
}

.btn-google:hover {
    border-color: var(--dark);
    background: var(--bg-warm)
}

.btn-google svg {
    width: 18px;
    height: 18px
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: .82rem;
    color: var(--text-muted)
}

.auth-footer a {
    color: var(--dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px
}

.password-toggle {
    position: relative;
    width: 100%
}

.password-toggle input {
    width: 100%;
    padding-right: 44px
}

.password-toggle button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    font-size: .85rem;
    color: var(--text-muted);
    padding: 4px;
    cursor: pointer;
    z-index: 2
}

/* ─── RESPONSIVE ─── */
@media(max-width:1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .brands-grid {
        grid-template-columns: repeat(4, 1fr)
    }
}

@media(max-width:768px) {
    nav {
        display: none
    }

    .hamburger {
        display: flex
    }

    .hero-slide {
        height: 420px
    }

    .hero-content h1 {
        font-size: 2.2rem
    }

    .hero-content {
        padding: 0 30px
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .section {
        padding: 56px 0
    }

    .btn-guest {
        display: none
    }
}

@media(max-width:480px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .product-img {
        height: 200px
    }

    .product-info {
        padding: 12px
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .hero-slide {
        height: 340px
    }

    .hero-content h1 {
        font-size: 1.6rem
    }

    .header-inner {
        padding: 12px 16px
    }

    .features-grid {
        grid-template-columns: 1fr
    }
}

/* ─── SIDE DRAWER & OVERLAY ─── */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease;
    backdrop-filter: blur(2px)
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible
}

.side-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    z-index: 5100;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .05)
}

/* ─── MODAL CENTERED VARIANT ─── */
.side-drawer.modal-centered {
    top: 50%;
    right: 50%;
    width: 440px;
    height: auto;
    max-height: 90vh;
    border-radius: 12px;
    transform: translate(50%, -45%) scale(.95);
    opacity: 0;
    visibility: hidden;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .4s, visibility .4s
}

.side-drawer.modal-centered.active {
    transform: translate(50%, -50%) scale(1);
    opacity: 1;
    visibility: visible
}

/* ─── FIELD ICONS ─── */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center
}

.field-icon {
    position: absolute;
    left: 14px;
    font-size: .9rem;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 5
}

.field-with-icon input {
    padding-left: 42px !important
}

.side-drawer.active {
    transform: translateX(0)
}

.drawer-header {
    padding: 24px 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.drawer-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px
}

.drawer-close {
    background: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%
}

.drawer-close:hover {
    background: var(--bg-warm);
    transform: rotate(90deg)
}

.drawer-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto
}

.drawer-form .form-group {
    margin-bottom: 20px
}

.drawer-form label {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
    color: var(--dark)
}

.drawer-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .88rem;
    transition: var(--transition)
}

.drawer-form input:focus {
    border-color: var(--dark);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.03)
}

.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark)
}

.btn-google:hover {
    background: var(--bg-warm);
    border-color: var(--dark)
}

.btn-google svg {
    width: 18px;
    height: 18px
}

.form-utils {
    margin-bottom: 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center
}

.forgot-link {
    font-size: .78rem;
    color: var(--text-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500
}

.drawer-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
    display: flex;
    align-items: center
}

.drawer-divider::before,
.drawer-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

.drawer-divider span {
    padding: 0 15px;
    font-size: .7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px
}

.drawer-footer {
    margin-top: 30px;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-light)
}

.drawer-footer span {
    display: block;
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 8px
}

.switch-link {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    transition: var(--transition)
}

.switch-link:hover {
    color: var(--gold)
}

/* ═══════════════════════════════════════════════════
   SHARED PAGE COMPONENTS
   ═══════════════════════════════════════════════════ */

.page-banner {
    background: var(--dark);
    color: #fff;
    padding: 64px 0;
    text-align: center
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 8px;
    font-weight: 400
}

.page-banner p {
    color: rgba(255, 255, 255, .5);
    font-size: .85rem
}

.breadcrumb {
    padding: 14px 0;
    font-size: .72rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: .5px
}

.breadcrumb a {
    color: var(--text-light);
    transition: var(--transition)
}

.breadcrumb a:hover {
    color: var(--dark)
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--border)
}

/* ═══════════════════════════════════════════════════
   SHOP PAGE
   ═══════════════════════════════════════════════════ */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    padding: 40px 0;
}

@media(max-width: 991px) {
    .shop-layout {
        display: block;
        padding: 20px 0;
    }
}

.shop-sidebar {
    position: sticky;
    top: 100px;
    align-self: start
}

@media(max-width: 991px) {
    .shop-sidebar {
        display: none;
    }
}

.filter-group {
    margin-bottom: 28px
}

.filter-group h4 {
    font-size: .72rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: .8rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition)
}

.filter-group label:hover {
    color: var(--dark)
}

.filter-group input[type="checkbox"],
.filter-group input[type="radio"] {
    accent-color: var(--dark);
    width: 15px;
    height: 15px
}

.price-range {
    display: flex;
    gap: 10px;
    align-items: center
}

.price-range input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .8rem;
    outline: none
}

.price-range input:focus {
    border-color: var(--dark)
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border)
}

.shop-header p {
    font-size: .8rem;
    color: var(--text-muted)
}

.shop-sort select {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .8rem;
    background: var(--white);
    color: var(--text);
    outline: none;
    cursor: pointer
}

.mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .8rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-filter-btn:hover {
    background: var(--bg-warm);
    border-color: var(--dark);
}

@media(max-width: 991px) {
    .mobile-filter-btn {
        display: flex;
    }

    .shop-header {
        flex-wrap: wrap;
        gap: 12px;
    }

    .shop-sort {
        display: flex;
        gap: 8px;
        width: 100%;
        justify-content: space-between;
    }

    .shop-sort select {
        flex: 1;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px
}

.pagination button {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    font-size: .82rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center
}

.pagination button.active,
.pagination button:hover {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark)
}

/* ═══════════════════════════════════════════════════
   PRODUCT DETAIL
   ═══════════════════════════════════════════════════ */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    padding: 48px 0
}

.product-gallery {
    position: sticky;
    top: 100px;
    align-self: start
}

.product-gallery .main-image {
    width: 100%;
    height: 520px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-warm);
    margin-bottom: 12px
}

.product-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.product-thumbs {
    display: flex;
    gap: 8px
}

.product-thumbs img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    opacity: .5
}

.product-thumbs img:hover,
.product-thumbs img.active {
    border-color: var(--dark);
    opacity: 1
}

.product-detail-info h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 400
}

.product-detail-info .product-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: .78rem;
    color: var(--text-muted)
}

.product-detail-info .detail-price {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px
}

.product-detail-info .detail-price .old-price {
    font-size: .92rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 12px
}

.product-detail-info .tax-info {
    font-size: .72rem;
    color: var(--text-muted);
    margin-bottom: 24px
}

.detail-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 24px 0
}

.size-selector h4,
.color-selector h4,
.qty-selector h4 {
    font-size: .72rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: .5px
}

.size-options {
    display: flex;
    gap: 6px;
    margin-bottom: 20px
}

.size-options button {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    font-size: .78rem;
    font-weight: 500;
    transition: var(--transition)
}

.size-options button:hover,
.size-options button.active {
    border-color: var(--dark);
    background: var(--dark);
    color: #fff
}

.color-options {
    display: flex;
    gap: 8px;
    margin-bottom: 20px
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative
}

.color-swatch:hover,
.color-swatch.active {
    border-color: var(--dark);
    box-shadow: 0 0 0 2px var(--bg)
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden
}

.qty-control button {
    width: 38px;
    height: 38px;
    background: var(--bg-warm);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition)
}

.qty-control button:hover {
    background: var(--dark);
    color: #fff
}

.qty-control input {
    width: 48px;
    height: 38px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: .85rem;
    font-weight: 600;
    outline: none
}

.detail-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 24px
}

.btn-add-cart {
    flex: 1;
    padding: 14px 28px;
    background: var(--dark);
    color: #fff;
    border-radius: var(--radius);
    font-size: .78rem;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: .5px;
    text-transform: uppercase
}

.btn-add-cart:hover {
    background: var(--accent3)
}

.btn-buy-now {
    flex: 1;
    padding: 14px 28px;
    background: var(--gold);
    color: var(--dark);
    border-radius: var(--radius);
    font-size: .78rem;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: .5px
}

.btn-buy-now:hover {
    background: #cead6a
}

.btn-wishlist-detail {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition)
}

.btn-wishlist-detail:hover {
    border-color: var(--dark);
    background: var(--dark);
    color: #fff
}

.product-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.product-features-list li {
    font-size: .8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px
}

.detail-tabs {
    padding: 48px 0;
    border-top: 1px solid var(--border)
}

.tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px
}

.tab-nav button {
    padding: 14px 28px;
    background: transparent;
    font-size: .78rem;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: .5px
}

.tab-nav button.active,
.tab-nav button:hover {
    color: var(--dark);
    border-bottom-color: var(--dark)
}

.tab-content {
    font-size: .85rem;
    line-height: 1.8;
    color: var(--text-light)
}

.tab-panel {
    display: none
}

.tab-panel.active {
    display: block
}

/* ═══════════════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════════════ */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 40px 0
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border)
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius)
}

.cart-item-info h3 {
    font-size: .88rem;
    font-weight: 500;
    margin-bottom: 4px
}

.cart-item-info .cart-item-meta {
    font-size: .75rem;
    color: var(--text-muted);
    margin-bottom: 8px
}

.cart-item-info .cart-item-price {
    font-size: .95rem;
    font-weight: 600;
    color: var(--dark)
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px
}

.cart-remove {
    font-size: .72rem;
    color: var(--text-muted);
    background: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: .5px
}

.cart-remove:hover {
    color: #c0392b
}

.cart-summary {
    position: sticky;
    top: 100px;
    align-self: start;
    background: var(--bg-warm);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 28px
}

.cart-summary h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border)
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: .84rem;
    color: var(--text-light)
}

.summary-row.total {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    border-top: 1px solid var(--border);
    margin-top: 12px;
    padding-top: 16px
}

.cart-summary .btn-checkout {
    width: 100%;
    padding: 14px;
    background: var(--dark);
    color: #fff;
    border-radius: var(--radius);
    font-size: .78rem;
    font-weight: 500;
    margin-top: 20px;
    transition: var(--transition);
    letter-spacing: .8px;
    text-transform: uppercase
}

.cart-summary .btn-checkout:hover {
    background: var(--gold);
    color: var(--dark)
}

.cart-summary .btn-continue {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .75rem;
    font-weight: 500;
    margin-top: 10px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: .5px
}

.cart-summary .btn-continue:hover {
    border-color: var(--dark);
    color: var(--dark)
}

.empty-cart {
    text-align: center;
    padding: 80px 20px
}

.empty-cart h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 20px 0 10px;
    color: var(--dark);
    font-weight: 400
}

.empty-cart p {
    color: var(--text-muted);
    margin-bottom: 24px
}

/* ═══════════════════════════════════════════════════
   CHECKOUT
   ═══════════════════════════════════════════════════ */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    padding: 40px 0
}

.checkout-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 16px
}

.checkout-section h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border)
}

.order-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border)
}

.order-item:last-child {
    border-bottom: none
}

.order-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius)
}

.order-item-info {
    flex: 1
}

.order-item-info h4 {
    font-size: .82rem;
    font-weight: 500
}

.order-item-info p {
    font-size: .72rem;
    color: var(--text-muted)
}

.order-item .order-item-price {
    font-weight: 600;
    font-size: .85rem
}

/* ═══════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 48px 0
}

.contact-info-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    transition: var(--transition)
}

.contact-info-card:hover {
    border-color: var(--dark);
    box-shadow: var(--shadow)
}

.contact-info-card .contact-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-warm);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0
}

.contact-info-card h4 {
    font-size: .84rem;
    font-weight: 600;
    margin-bottom: 4px
}

.contact-info-card p {
    font-size: .78rem;
    color: var(--text-light)
}

.contact-form {
    background: var(--bg-warm);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 24px;
    font-weight: 400
}

.contact-form .btn-submit {
    padding: 14px 40px;
    background: var(--dark);
    color: #fff;
    border-radius: var(--radius);
    font-size: .78rem;
    font-weight: 500;
    transition: var(--transition);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: .8px
}

.contact-form .btn-submit:hover {
    background: var(--gold);
    color: var(--dark)
}

.map-placeholder {
    width: 100%;
    height: 280px;
    background: var(--bg-warm);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    color: var(--text-muted)
}

/* ═══════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════ */
.about-content {
    padding: 60px 0
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 60px
}

.about-grid.reverse {
    direction: rtl
}

.about-grid.reverse>* {
    direction: ltr
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: var(--dark);
    margin-bottom: 16px;
    font-weight: 400
}

.about-text p {
    font-size: .88rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px
}

.about-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 48px 0
}

.stat-card {
    text-align: center;
    padding: 32px 16px;
    background: var(--bg-warm);
    border-radius: var(--radius)
}

.stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 6px
}

.stat-card p {
    font-size: .78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.team-card {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition)
}

.team-card:hover {
    box-shadow: var(--shadow)
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover
}

.team-card .team-info {
    padding: 20px
}

.team-card h4 {
    font-size: .9rem;
    font-weight: 500
}

.team-card p {
    font-size: .75rem;
    color: var(--text-muted)
}

/* ═══════════════════════════════════════════════════
   BRANDS PAGE
   ═══════════════════════════════════════════════════ */
.brands-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 48px 0
}

.brand-page-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer
}

.brand-page-card:hover {
    border-color: var(--dark);
    box-shadow: var(--shadow)
}

.brand-page-card .brand-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: var(--transition)
}

.brand-page-card:hover .brand-logo {
    background: var(--gold)
}

.brand-page-card h3 {
    font-size: .92rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .5px
}

.brand-page-card p {
    font-size: .75rem;
    color: var(--text-muted);
    margin-bottom: 14px
}

.brand-page-card .brand-link {
    font-size: .72rem;
    font-weight: 600;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: .5px
}

/* ═══════════════════════════════════════════════════
   ADDITIONAL RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media(max-width:1024px) {
    .shop-layout {
        grid-template-columns: 200px 1fr
    }

    .product-detail {
        gap: 36px
    }

    .cart-layout {
        grid-template-columns: 1fr 320px
    }

    .checkout-layout {
        grid-template-columns: 1fr 360px
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .brands-page-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:768px) {
    .shop-layout {
        grid-template-columns: 1fr
    }

    .shop-sidebar {
        display: none;
    }

    .filter-group {
        min-width: 140px
    }

    .product-detail {
        grid-template-columns: 1fr
    }

    .product-gallery {
        position: static
    }

    .product-gallery .main-image {
        height: 360px
    }

    .cart-layout {
        grid-template-columns: 1fr
    }

    .cart-summary {
        position: static
    }

    .checkout-layout {
        grid-template-columns: 1fr
    }

    .contact-layout {
        grid-template-columns: 1fr
    }

    .about-grid {
        grid-template-columns: 1fr
    }

    .about-image {
        height: 280px
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .brands-page-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .page-banner h1 {
        font-size: 1.6rem
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px
    }
}

@media(max-width:480px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 12px
    }

    .cart-item-actions {
        grid-column: 1/-1;
        flex-direction: row;
        justify-content: space-between
    }

    .detail-actions {
        flex-direction: column
    }

    .team-grid {
        grid-template-columns: 1fr
    }

    .brands-page-grid {
        grid-template-columns: 1fr 1fr
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .newsletter-input {
        flex-direction: column
    }

    .newsletter-input button {
        justify-content: center
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center
    }

    .footer-selectors {
        justify-content: center
    }
}

/* padding for preorder */

section#preorder {
    padding: 0;
}

/* ─── MASTER LOGO RESPONSIVE (SMALL SIZE) ─── */
.master-logo {
    display: block !important;
    height: auto !important;
    width: auto !important;
    max-height: 45px !important;
    /* Standardize by height for horizontal logo */
    object-fit: contain !important;
    transition: all 0.3s ease;
    max-width: none !important;
}

/* Footer specific sizing */
.footer-brand .master-logo {
    max-height: 60px !important;
    margin-bottom: 20px !important;
}

@media (max-width: 768px) {
    .master-logo {
        max-height: 35px !important;
    }

    .footer-brand .master-logo {
        max-height: 50px !important;
    }
}

/* ─── SHOP PAGE CUSTOM STYLES ─── */
.fs-xs {
    font-size: 0.75rem;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 12px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: color 0.2s;
}

.filter-group label:hover {
    color: var(--gold);
}

.filter-group input[type="checkbox"],
.filter-group input[type="radio"] {
    margin-right: 10px;
    accent-color: var(--dark);
}

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-range input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.85rem;
}


.product-sizes {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.size-box {
    border: 1px solid var(--border);
    padding: 3px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    color: var(--text-muted);
}

.filter-content {
    display: none;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.filter-content.show {
    display: block;
}

.toggle-filter i {
    transition: transform 0.3s ease;
}

.toggle-filter.collapsed i {
    transform: rotate(-90deg);
}

/* Empty State Styling */
.empty-state-container {
    grid-column: 1 / -1;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fdfdfd;
    border: 1px dashed var(--border);
    border-radius: 8px;
    margin: 20px 0;
}

.empty-state-content {
    max-width: 500px;
    text-align: center;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    opacity: 0.4;
}

.empty-state-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.empty-state-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.empty-state-actions .btn-preorder {
    padding: 12px 35px;
    width: auto;
    display: inline-block;
}

/* Shop UI Components */
.shop-reset-container {
    display: flex;
    width: 100%;
    margin-bottom: 25px;
}

.btn-reset-all {
    margin-left: auto;
    padding: 12px 28px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-reset-all:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.product-category-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.product-stock-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.recommendations-header-container {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

.recommendations-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    width: 100%;
}

.recommendations-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1;
    position: relative;
    display: inline-block;
}

.recommendations-title-line-1 {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.recommendations-title-line-2 {
    position: absolute;
    bottom: -8px;
    left: 70px;
    width: 15px;
    height: 3px;
    background: var(--gold);
    opacity: 0.4;
    border-radius: 2px;
}

.recommendations-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin: 15px 0 0 0;
    font-style: italic;
}

.recommendations-actions {
    flex-shrink: 0;
    margin-left: 20px;
}

.btn-reset-filters-secondary {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-reset-filters-secondary:hover {
    background: #222;
}

@media (max-width: 991px) {
    .shop-sidebar {
        display: none;
    }

    .side-drawer {
        width: 320px;
    }
}

/* Center Bootstrap Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
}

.pagination-wrapper nav {
    width: 100%;
}

.pagination-wrapper .flex-sm-fill {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
}

.pagination-wrapper .pagination {
    margin-bottom: 0;
}

.pagination-wrapper .small.text-muted {
    margin-bottom: 0;
}

/* Premium Black Pagination */
.pagination-wrapper .page-link {
    color: #000 !important;
    border-color: #eee !important;
    background-color: #fff !important;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-link:hover {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.pagination-wrapper .page-item.active .page-link {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.pagination-wrapper .page-item.disabled .page-link {
    color: #999 !important;
    background-color: #fafafa !important;
    border-color: #eee !important;
}

.pagination-wrapper .page-link:focus {
    box-shadow: none !important;
}

/* Update pagination text color */
.pagination-wrapper .small.text-muted {
    color: #000 !important;
}

/* Out of Stock Size Box Styling */
.size-box.out-of-stock {
    position: relative;
    color: #ccc !important;
    background-color: #fcfcfc !important;
    border-color: #ececec !important;
    cursor: not-allowed;
    opacity: 0.7;
    overflow: hidden;
}

.size-box.out-of-stock::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 1px;
    background: #ccc;
    transform: rotate(-25deg);
    transform-origin: center;
}

/* ─── ABOUT PAGE ─── */
.about-section {
    padding: 80px 0;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--dark);
}

.about-content h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    z-index: -1;
    border-radius: 4px;
}

.philosophy-section {
    background: #fcfaf7;
    padding: 100px 0;
    text-align: center;
}

.philosophy-card {
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.philosophy-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.design-section {
    padding: 100px 0;
}

.design-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.journey-banner {
    background: var(--dark);
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.journey-content {
    max-width: 700px;
    margin: 0 auto;
}

.journey-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--gold);
}

.journey-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

@media (max-width: 991px) {

    .about-grid,
    .design-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper img {
        height: 400px;
    }
}

/* ─── BUTTONS ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--dark);
    color: #fff !important;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid var(--dark);
    cursor: pointer;
}

.btn-primary:hover {
    background: transparent;
    color: var(--dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* ─── CONTACT PAGE ─── */
.contact-section {
    padding: 80px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info-content .subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 54px;
    height: 54px;
    background: var(--bg-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    background: var(--gold);
    color: #fff;
    transform: translateY(-5px);
}

.info-text h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 700;
}

.info-text p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.contact-form-card {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.contact-form-card .form-group {
    margin-bottom: 24px;
}

.contact-form-card label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--dark);
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 4px rgba(184, 155, 94, 0.05);
}

.contact-map-section {
    margin-top: 100px;
}

.contact-map-wrapper {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.2) contrast(1.1);
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-form-card {
        padding: 30px;
    }

    .contact-map-wrapper {
        height: 350px;
    }
}

/* ─── PRODUCT DETAILS COMPILED CSS ─── */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-detail-grid>div {
    min-width: 0;
}

@media (max-width: 991px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .main-img-box {
        min-height: 400px !important;
    }

    h1 {
        font-size: 32px !important;
    }

    .tab-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        border-bottom: none;
        gap: 8px;
        margin-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        justify-content: flex-start;
        align-items: stretch;
    }

    .tab-nav::-webkit-scrollbar {
        display: none;
        /* Safari and Chrome */
    }

    .tab-nav button {
        flex: 0 0 auto;
        min-width: max-content;
        white-space: nowrap;
        font-size: 0.75rem;
        padding: 12px 15px;
        border-bottom: 2px solid #eee;
        background: #fdfdfd;
        border-radius: 4px 4px 0 0;
    }

    .tab-nav button.active {
        background: #f6f6f6;
    }
}

.main-img-box {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.mobile-wishlist-icon {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    /* Changed from 1px solid #eee to none for a cleaner look or explicitly set below */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333;
    z-index: 10;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-wishlist-icon:hover {
    color: #e21b70;
}

@media (max-width: 991px) {
    .mobile-wishlist-icon {
        display: flex;
    }
}

.thumbnail-grid {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: flex-start;
    overflow-x: auto;
}

.thumbnail-grid .thumb-box {
    width: 80px;
    height: 100px;
    border: 1px solid #eee;
    border-radius: 4px;
    opacity: 1;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.thumbnail-grid .thumb-box.active {
    border: 2px solid #000 !important;
}

.product-info-panel {
    padding: 10px 0;
}

.product-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #333;
}

.product-price-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-price {
    font-size: 24px;
    color: #d32f2f;
    font-weight: 500;
}

.detail-old-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.discount-pill {
    background-color: #f75d34;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 12px;
}

.viewing-right-now {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.view-count-badge {
    background: #000;
    color: #fff;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 2px;
    font-weight: bold;
}

.view-count-text {
    font-size: 13px;
    color: #444;
    font-weight: 500;
}

.color-selector {
    margin-bottom: 25px;
}

.color-selector .variant-label {
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.color-options {
    display: flex;
    gap: 10px;
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #ccc;
    padding: 2px;
    background-clip: content-box;
}

.color-swatch.active {
    border: 1px solid #000;
}

.custom-variant-label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
    color: #333;
}

.size-chart-link {
    text-decoration: underline;
    color: #333;
    font-weight: 500;
}

.custom-size-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.custom-size-grid .size-btn {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 2px;
    min-width: 48px;
    height: 40px;
    padding: 0 10px;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
}

.custom-size-grid .size-btn.selected,
.custom-size-grid .size-btn:hover:not(.disabled) {
    border-color: #000;
    background: #000;
    color: #fff;
}

.qty-wrapper {
    margin-bottom: 30px;
}

.qty-wrapper .qty-label {
    font-size: 14px;
    margin-bottom: 10px;
    color: #333;
}

.custom-qty-selector {
    display: inline-flex;
    background: #f5f5f5;
    width: 120px;
    height: 45px;
    align-items: center;
    justify-content: space-between;
    border-radius: 2px;
}

.custom-qty-selector button {
    width: 35px;
    height: 100%;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.custom-qty-selector input {
    width: 40px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.action-buttons-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-buy-now-custom {
    flex: 1;
    background: #fff;
    color: #000;
    border: 1px solid #000;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    min-height: 50px;
    padding: 14px 20px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-buy-now-custom:hover {
    background: #f5f5f5;
}

.btn-add-cart-custom {
    flex: 1;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    min-height: 50px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn-custom {
    width: 48px;
    height: 48px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-paypal-custom {
    width: 100%;
    height: 48px;
    background: #ffc439;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 15px;
    color: #000;
    margin-bottom: 10px;
}

.more-payment-link {
    text-align: center;
    margin-bottom: 30px;
}

.more-payment-link a {
    color: #666;
    font-size: 13px;
    text-decoration: underline;
}

.quick-links-row {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    font-size: 13px;
}

.quick-links-row a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
    font-weight: 500;
}

.custom-info-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.custom-info-box {
    border: 1px solid #eee;
    padding: 20px 15px;
    border-radius: 2px;
    text-align: center;
}

.custom-info-box .icon {
    margin-bottom: 15px;
    font-size: 24px;
    color: #555;
}

.custom-info-box p {
    font-size: 12px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.guarantee-checkout {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding-top: 15px;
    flex-wrap: wrap;
}

.guarantee-checkout span {
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.guarantee-checkout img {
    height: 20px;
}

/* ─── PREMIUM PRODUCT GALLERY ─── */
.premium-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.premium-thumbnails {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    order: 2;
    padding-bottom: 5px;
}

.premium-thumbnails::-webkit-scrollbar {
    display: none;
}

.premium-thumb-box {
    width: 80px;
    flex-shrink: 0;
    aspect-ratio: 3/4;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    overflow: hidden;
    background: #fdfdfd;
}

.premium-thumb-box:hover,
.premium-thumb-box.active {
    opacity: 1;
    border-color: #222;
}

.premium-main-img {
    width: 100%;
    position: relative;
    background: #f6f6f6;
    height: clamp(450px, 70vh, 700px);
    overflow: hidden;
}

.product-slider-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.product-slider-wrapper::-webkit-scrollbar {
    display: none;
}

.product-slider-item {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    scroll-snap-align: center;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.2s ease-out;
    transform-origin: center center;
}


@media (max-width: 991px) {
    .product-slider-img {
        object-fit: cover;
    }
}

.nav-arrow-premium {
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 16px;
    color: #111;
}

.premium-main-img:hover .nav-arrow-premium {
    opacity: 1;
}

.nav-arrow-premium:hover {
    background: #111;
    color: #fff;
}

.nav-arrow-premium.left {
    left: 20px;
}

.nav-arrow-premium.right {
    right: 20px;
}

@media (max-width: 991px) {
    .premium-main-img {
        height: auto;
        aspect-ratio: 3/4;
    }

    .nav-arrow-premium {
        opacity: 0.8;
        width: 35px;
        height: 35px;
        font-size: 14px;
        left: 10px;
        background: rgba(255, 255, 255, 0.7);
        border: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .nav-arrow-premium.right {
        right: 15px;
        left: auto;
    }

    .nav-arrow-premium.left {
        left: 15px;
    }
}

/* ─── PRODUCT BREADCRUMB ─── */
.product-breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 10px 0 20px 0;
    gap: 10px;
    font-size: 13px;
    color: #777;
    text-transform: uppercase;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
}

.product-breadcrumb-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    align-items: center;
    line-height: 1.6;
    min-width: max-content;
}

.product-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.product-breadcrumb .current {
    color: #333;
}

#mainImgScrollContainer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    #mainImgScrollContainer img {
        object-fit: cover;
    }
}

.premium-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── PRODUCT INFO PANEL ─── */
.product-info-panel {
    padding: 10px 0;
    font-family: 'Inter', sans-serif;
}

.product-category-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-transform: none;
    letter-spacing: 0;
}

.product-rating .stars {
    color: #ffc107;
    font-size: 14px;
    letter-spacing: 1px;
}

.product-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 700;
    color: #111;
    margin: 0 0 25px 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
    word-break: break-word;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.product-offer-price {
    font-family: sans-serif;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    color: #111;
}

.product-base-price {
    font-family: sans-serif;
    font-size: clamp(16px, 3vw, 22px);
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
}

.product-discount-badge {
    background: #e74c3c;
    color: #fff;
    font-size: clamp(11px, 2vw, 13px);
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.product-description {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 35px;
}

.size-guide-link {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-decoration: underline;
}

.size-selection-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.size-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* ─── SIZE BUTTONS ─── */
.new-size-btn {
    position: relative;
    overflow: hidden;
    min-width: 55px;
    height: auto;
    padding: 8px 15px;
    background: #fff;
    color: #111;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s;
}

.new-size-btn.selected {
    background: #111;
    color: #fff;
    border-color: #111;
}

.new-size-btn:disabled {
    background: #fcfcfc;
    color: #ccc;
    border-color: #eaeaea;
    cursor: not-allowed;
}

.new-size-btn .cross-line {
    position: absolute;
    top: 50%;
    left: -20%;
    width: 140%;
    height: 1.5px;
    background: #ccc;
    transform: rotate(-42deg);
}

/* ─── PRODUCT EXTRAS ─── */
.product-extras-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.product-extra-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.product-extra-item.clickable {
    cursor: pointer;
    transition: opacity 0.2s;
}

.product-extra-item.clickable:hover {
    opacity: 0.7;
}

.product-extra-icon {
    color: #ffc107;
    font-size: 24px;
    flex-shrink: 0;
}

.product-extra-label {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.product-extra-value {
    font-size: 13px;
    color: #888;
}

.product-hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

/* ─── REVIEWS & TABS ─── */
.rating-distribution .bar .fill {
    height: 100%;
    background: #111;
}

.product-btn-primary {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-btn-primary:hover {
    background: #333;
}

/* ─── MODALS ─── */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.product-modal-content {
    background: #fff;
    width: 100%;
    max-width: 650px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
}

.product-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.product-modal-header h2 {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    color: #333;
}

.product-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #000;
}

/* ─── GALLERY MODAL ─── */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.gallery-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
    z-index: 10001;
}

.gallery-main-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 80vh;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: zoom-in;
}

.gallery-main-container::-webkit-scrollbar {
    display: none;
}

@media (max-width: 991px) {
    .gallery-main-container {
        height: 60vh;
    }
}

.gallery-slider-item {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    scroll-snap-align: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-slider-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease-out;
    transform-origin: center center;
    cursor: zoom-in;
}

.gallery-slider-item.zoomed,
.product-slider-item.zoomed {
    cursor: zoom-out;
}

.gallery-slider-item.zoomed img,
.product-slider-item.zoomed img {
    transform: scale(2.5);
    cursor: zoom-out;
}

.gallery-thumbnails {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    overflow-x: auto;
    padding: 10px;
    max-width: 1000px;
    scrollbar-width: none;
}

.gallery-thumbnails::-webkit-scrollbar {
    display: none;
}

.gallery-thumb-box {
    width: 60px;
    height: 80px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.gallery-thumb-box.active {
    opacity: 1;
    border-color: #fff;
}

.gallery-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── SHARE MODAL ─── */
.share-modal-content {
    background: #fff;
    width: 90%;
    max-width: 450px;
    border-radius: 8px;
    padding: 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.share-modal-title {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 700;
    color: #111;
    text-align: center;
}

.share-social-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.share-social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
}

.share-social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.share-social-item span {
    font-size: 12px;
    font-weight: 600;
}

.share-copy-section {
    display: flex;
    gap: 10px;
}

.share-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    background: #fafafa;
    outline: none;
}

/* ─── PRODUCT ACTIONS ─── */
.product-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.product-qty-section {
    margin-bottom: 0;
}

.wishlist-btn-custom {
    flex: 0 0 48px;
    height: 48px;
    width: 48px;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.wishlist-btn-custom:hover {
    border-color: #111;
    background: #f9f9f9;
}

.product-buy-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.product-buy-buttons button {
    width: 100%;
    padding: 14px 20px;
    min-height: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-buy-now-custom {
    background: #111;
    color: #fff;
    border: 1px solid #111;
}

.btn-buy-now-custom:hover {
    background: #333;
}

.btn-add-cart-custom {
    background: #fff;
    color: #111;
    border: 1px solid #111;
}

.btn-add-cart-custom:hover {
    background: #111;
    color: #fff;
}

/* ─── SIZE CHART TABLE ─── */
.size-chart-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 30px;
}

.size-chart-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 14px;
    border: 1.5px solid #000;
}

.size-chart-table th {
    background: #000 !important;
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 10px;
    letter-spacing: 1.5px;
    border: 1px solid #333;
}

.size-chart-table td {
    padding: 12px 10px;
    border: 1px solid #ddd;
    color: #111;
    font-weight: 600;
}

.size-chart-table tr:nth-child(even) {
    background: #f9f9f9;
}

.size-chart-table tr:hover {
    background: #f1f1f1;
}

/* Responsive Table Scroll Hint */
.size-chart-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .size-chart-wrapper {
        border-right: none;
        border-left: none;
        margin-bottom: 15px;
    }

    .size-chart-table {
        min-width: 500px;
        /* Force scroll on small screens */
    }

    .size-chart-container::after {
        content: 'Scroll to view →';
        display: block;
        text-align: right;
        font-size: 10px;
        color: #999;
        margin-top: 5px;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 0.5px;
    }
}