@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');



:root {
    /* Colors */
    --bg-color: #0d0c0f;
    --bg-surface: #1a181c;
    --bg-surface-light: #2a272d;
    --text-main: #fcfcfc;
    --text-muted: #a19d94;
    --gold-accent: #d4af37;
    --gold-accent-hover: #e8c65c;
    --gold-accent-dim: rgba(212, 175, 55, 0.15);

    --border-color: rgba(255, 255, 255, 0.08);

    --container-pad: 1.5rem;
    /* Standardized mobile-first padding */
    --section-pad: 4rem;
    --font-serif: "Playfair Display", serif;
    --font-sans: "Outfit", sans-serif;
}

.filled {
    fill: currentColor !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overscroll-behavior: none;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    user-select: none;
    -webkit-user-select: none;
    overflow-x: hidden;
    /* Global protection against horizontal scroll */
    width: 100%;
    padding-top: 58px;
    /* Offset for fixed navbar - applies to ALL pages */
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: 0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

button {
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    background: none;
}

select {
    font-family: var(--font-sans);
    background-color: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

option {
    background-color: var(--bg-surface);
    color: var(--text-main);
}


.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Utility */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--gold-accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--gold-accent);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--gold-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    border: 1px solid var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.2rem var(--container-pad);
    z-index: 1000;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(13, 12, 15, 0.75);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-sizing: border-box;
    /* Crucial for width: 100% */
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-links,
.desktop-only-links {
    display: flex;
    gap: 2.8rem;
    /* Slightly more gap for elegant spacing */
    list-style: none;
}

.mobile-nav-links {
    display: none;
    /* Hide drawer on desktop */
}

.nav-links a,
.desktop-only-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.3rem;
}

.nav-links a::after,
.desktop-only-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.desktop-only-links a:hover::after {
    width: 100%;
}

.nav-brand {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-main);
}

.nav-right {
    display: flex;
    justify-content: flex-end;
}

.icon-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.icon-btn {
    color: var(--text-main);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Added relative for badges */
}

.icon-btn:hover {
    color: var(--gold-accent);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--gold-accent);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.wishlist-badge {
    background-color: #ff4444 !important;
    color: #fff !important;
}

.mobile-menu,
.close-mobile-menu,
.mobile-only-close {
    display: none;
}



/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--container-pad);
    overflow: hidden;
    margin-bottom: var(--section-pad);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; object-position: top center;
    object-position: top center;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate linear;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 12, 15, 1) 0%, rgba(13, 12, 15, 0.4) 40%, rgba(13, 12, 15, 0.2) 100%);
    z-index: 1;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin-top: 5rem;
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.85rem;
    color: var(--gold-accent);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}



/* Categories */
.categories-section {
    padding-bottom: var(--section-pad);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 1.5rem;
    margin-top: 4rem;
}

.category-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--bg-surface);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    min-height: 400px;
}

.category-card:hover {
    transform: translateY(-5px);
}

.style-span-2x2 {
    grid-column: span 2;
    grid-row: span 2;
}

.style-span-1x1 {
    grid-column: span 1;
    grid-row: span 1;
}

.category-img-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover; object-position: top center;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-card:hover .category-image {
    transform: scale(1.06);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 12, 15, 0.85) 0%, rgba(13, 12, 15, 0) 50%);
    transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(13, 12, 15, 0.95) 0%, rgba(13, 12, 15, 0) 60%);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-content h3 {
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
    transform: translateY(10px);
    transition: transform 0.35s ease;
}

.category-card:hover .category-content h3 {
    transform: translateY(0);
}

.shop-link {
    font-family: var(--font-sans);
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.35s ease;
}

.category-card:hover .shop-link {
    opacity: 1;
    transform: translateY(0);
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.category-card:hover .arrow {
    transform: translateX(5px);
}



/* Popular Picks */
.popular-picks {
    padding-bottom: var(--section-pad);
    padding-top: 4rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    overflow: visible;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    cursor: pointer;
    overflow: visible;
}

.product-image-container {
    position: relative;
    width: 100%; aspect-ratio: 2 / 3;
    background-color: var(--bg-surface-light);
    border-radius: 4px;
}

.product-image-link { position: absolute; top: 0; left: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover; object-position: top center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background-color: var(--gold-accent);
    color: #000;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    z-index: 5;
    border-radius: 2px;
    white-space: nowrap;
    overflow: visible;
}

.product-actions {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: flex;
    gap: 0.4rem;
    padding: 0.6rem;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
}

.product-card:hover .product-actions {
    bottom: 0px;
    opacity: 1;
}

.product-btn {
    flex: 1;
    padding: 0.6rem 0.8rem !important;
    font-size: 0.7rem !important;
    min-width: 0 !important;
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.product-info {
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    font-weight: 500;
}

.product-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: var(--gold-accent);
}

.product-price-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.product-price {
    font-family: var(--font-sans);
    color: var(--gold-accent);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.product-old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.view-all-container {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}



/* Promotional Slider Section */
.promo-section {
    padding-bottom: var(--section-pad);
    padding-top: 2rem;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    background-color: var(--bg-surface);
    border-radius: 8px;
    padding: 3rem;
    overflow: hidden;
}

.promo-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slider-track-container {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 1.5rem;
}

.slider-slide {
    min-width: calc(50% - 0.75rem);
    /* Show 2 slides */
    position: relative;
    aspect-ratio: 1 / 1.4;
    /* Slightly taller/wider aspect for better visibility */
    border-radius: 8px;
    overflow: hidden;
}



.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; object-position: top center;
    transition: transform 0.6s ease;
}

.slider-slide:hover img {
    transform: scale(1.05);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.slider-slide:hover .slide-caption {
    transform: translateY(0);
}

.slide-caption h5 {
    color: #000;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    margin-bottom: 0.2rem;
}

.slide-caption span {
    color: #555;
    font-size: 0.7rem;
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
}

.slider-arrow {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem;
    z-index: 2;
}

.slider-arrow:hover {
    color: var(--gold-accent);
}

.promo-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.promo-badge {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.promo-title {
    font-size: 4rem;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.promo-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 400px;
}



/* =============================================
   MOBILE FILTER BAR & DRAWER - Shop Page
   ============================================= */
.mobile-filter-bar {
    display: none;
    /* Hidden on desktop */
}

.mobile-filter-container {
    position: relative;
    z-index: 1000;
    margin-bottom: 2rem;
}

/* Base Dropdown-Style for Filter and Sort - Upgraded to Premium Bottom Sheet */
.mobile-filter-drawer.dropdown-style {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 85vh;
    /* Taller for better view */
    background: var(--bg-surface);
    z-index: 9999;
    /* make sure it's above everything */
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: none;
}

.mobile-filter-drawer.dropdown-style::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--border-color);
    border-radius: 4px;
    margin: 12px auto 0;
}

.mobile-filter-drawer.dropdown-style.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Subtle overlay specifically for the dropdown context */
.mobile-drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.filter-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--gold-accent);
    position: relative;
    background: var(--bg-surface);
    z-index: 1;
}

.filter-drawer-header button {
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.2rem;
}

#mobile-filter-form,
#mobile-sort-form {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex: 1;
    padding: 1rem 1.5rem;
    padding-bottom: 80px;
    /* space for fixed actions */
}

.filter-drawer-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    z-index: 2;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}



/* --- Product Page Layout --- */
.product-page-wrapper {
    padding-top: 6rem;
    padding-bottom: 6rem;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

.section-divider {
    margin: 4rem 0 2rem 0;
    border: none;
    border-top: 1px solid var(--border-color);
}

.product-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 0 !important;
    padding-top: 0 !important;
}



/* --- Base Product Gallery Styles (Mobile First / Default) --- */
.product-gallery {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 75px;
}

.product-thumbnails .thumb {
    width: 100%;
    aspect-ratio: 2/3;
    border: 1px solid var(--border-color);
    cursor: pointer;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; object-position: top center;
}

.product-main-image {
    position: relative;
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    max-height: 950px;
}

.product-main-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    z-index: 20;
}

.gallery-nav.prev { left: 1rem; }
.gallery-nav.next { right: 1rem; }

.gallery-fullscreen {
    position: absolute;
    bottom: 20px !important;
    right: 20px !important;
    background: rgba(26, 24, 28, 0.8) !important;
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 10px !important;
    border-radius: 8px !important;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100 !important;
    transition: all 0.3s ease;
}

.gallery-fullscreen:hover {
    background: var(--gold-accent) !important;
    color: #000;
}


/* --- PC-ONLY IMAGE FITTING FIX --- */
@media (min-width: 1025px) {
    .product-main-image {
        width: 100% !important;
        max-height: 950px !important;
        background: transparent !important;
        display: flex !important;
        align-items: flex-start !important;
        border-radius: 4px;
        position: relative;
        overflow: hidden !important; 
    }

    .image-zoom-container {
        width: 100% !important;
        max-height: 950px !important;
        aspect-ratio: 2 / 3 !important;
        display: block !important;
        overflow: hidden !important;
        margin: 0 auto !important;
    }

    .product-main-image img,
    .image-zoom-container img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: top center !important;
        display: block !important;
    }

    /* Keep the gallery column width stable */
    .product-gallery {
        max-width: 650px;
        position: relative;
        margin-top: 0 !important;
        padding-top: 0 !important;
        display: flex !important;
        align-items: flex-start !important;
    }

    .product-main-image, 
    .product-thumbnails,
    .image-zoom-container,
    .image-zoom-container img {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}








.product-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-details .product-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-main);
    margin-top: 0 !important;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.1;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1.5rem;
}

.product-price-large {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    color: var(--gold-accent);
    margin-bottom: 0 !important;
}



.size-chart-btn {
    background-color: #ffc107;
    color: #0056b3;
    border: none;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.size-selector-wrap {
    margin-bottom: 2rem;
    width: 100%;
}

.size-selector-wrap label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    display: block;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.size-options {
    display: flex;
    gap: 0.5rem;
}

.size-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: var(--bg-surface-light);
    color: var(--text-main);
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 2px;
}

.size-btn:hover,
.size-btn.selected {
    border-color: var(--gold-accent);
    background: var(--gold-accent);
    color: #000;
}

/* Fullscreen Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: var(--gold-accent);
}

/* Hover Zoom */
.image-zoom-container {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    display: block;
    width: 100%;
    max-height: 950px;
    aspect-ratio: 2 / 3;
    margin: 0 auto;
    background-color: var(--bg-surface-light);
}

.image-zoom-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: opacity 0.2s ease;
}

.zoom-lens {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    z-index: 10;
    pointer-events: none;
}

/* Wishlist Active State */
.add-to-wishlist.wishlisted {
    color: var(--gold-accent);
}

/* Thumbnail active highlight */
.product-thumbnails .thumb {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease, border-color 0.2s ease;
    border: 2px solid transparent;
}

.product-thumbnails .thumb.active {
    opacity: 1;
    border-color: var(--gold-accent);
}

.product-thumbnails .thumb:hover {
    opacity: 0.9;
}

.product-actions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.quantity-selector-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.qty-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 500;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    height: 32px;
    background: var(--bg-surface-light);
    width: 80px;
    max-width: 80px;
    align-self: flex-start;
}

.qty-btn {
    width: 25px;
    height: 100%;
    background: var(--bg-surface-light);
    border: none;
    color: var(--text-main);
    font-size: 0.85rem;
    cursor: pointer;
}

.qty-input {
    width: 30px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    pointer-events: none;
    background: transparent;
    color: var(--text-main);
}

.action-buttons-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.add-to-cart-btn-large,
.buy-now-btn {
    width: 100%;
    height: 38px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    background-color: var(--gold-accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart-btn-large:hover:not(:disabled),
.buy-now-btn:hover:not(:disabled) {
    background-color: var(--gold-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.add-to-cart-btn-large:disabled,
.buy-now-btn:disabled {
    background-color: var(--bg-surface-light);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.add-to-wishlist {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2c050;
    background: transparent;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
}

.add-to-wishlist:hover {
    color: var(--gold-accent-hover);
    transform: translateX(5px);
}

.add-to-wishlist i {
    transition: transform 0.3s ease;
}

.add-to-wishlist:active i {
    transform: scale(1.2);
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 1rem;
    width: 100%;
}

.tab-btn {
    padding-bottom: 0.5rem;
    font-size: 1.1rem;
    font-family: var(--font-serif);
    color: var(--text-main);
    background: transparent;
    border: none;
    cursor: pointer;
}

.tab-btn.active {
    color: #e2c050;
    border-bottom: 2px solid #e2c050;
}

.tab-content {
    font-family: var(--font-sans);
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    width: 100%;
}

.product-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 500;
}

.product-meta span {
    color: #e2c050;
    font-weight: normal;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
    width: 100%;
    gap: 1rem;
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
}

.pay-icon {
    background: #333;
    color: #fff;
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
}

.pay-icon.visa {
    background: #000;
    border: 1px solid #555;
}

.pay-icon.mc {
    background: #000;
    border: 1px solid #555;
}

.pay-icon.maestro {
    background: #000;
    border: 1px solid #555;
}

.pay-icon.amex {
    background: #000;
    border: 1px solid #555;
}

.pay-icon.pp {
    background: #000;
    border: 1px solid #555;
}

.secure-payment {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
    font-weight: 500;
    font-size: 0.9rem;
}

.related-products {
    text-align: center;
}

.related-products .section-title {
    font-family: var(--font-serif);
    color: var(--text-main);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.related-products .section-title::after {
    display: none;
}

.related-card {
    border: 1px solid var(--border-color);
    text-align: center;
    background: var(--bg-surface);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card-img-wrap {
    aspect-ratio: 2/3;
    overflow: hidden;
    background: var(--bg-surface-light);
}

.related-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; object-position: top center;
}

.related-card-info {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.related-card-info h5 {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.related-card-info p {
    color: var(--gold-accent);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--bg-surface);
    color: var(--text-main);
    padding-top: 5rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold-accent);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-surface-light);
    color: var(--text-main);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--gold-accent);
    color: #000;
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    color: #fff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-accent);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input {
    background-color: var(--bg-surface-light);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 1rem;
    border-radius: 2px;
    font-family: var(--font-sans);
    outline: none;
    transition: border 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--gold-accent);
}

.subscribe-btn {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    background-color: var(--bg-color);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.legal-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.legal-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--text-main);
}





.product-old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.view-all-container {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}






/* Search Modal Styles */
.search-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.search-modal-content {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.close-search {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-search:hover {
    color: var(--text-main);
}

.search-input {
    width: 70%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: var(--bg-surface);
    color: var(--text-main);
    border-radius: 4px;
    font-size: 1rem;
    margin-right: 1rem;
}

select.search-input {
    background-color: var(--bg-surface);
    cursor: pointer;
}

select.search-input option {
    background-color: var(--bg-surface);
    color: var(--text-main);
    padding: 10px;
}

.search-input:focus {
    outline: none;
    border-color: var(--gold-accent);
}


.search-modal-content form {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}


/* Header Search Form */
.header-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0.2rem 0.6rem;
    transition: all 0.3s ease;
}

.header-search-form:focus-within {
    border-color: var(--gold-accent);
    background: rgba(255, 255, 255, 0.1);
}

.header-search-input {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
    width: 150px;
    outline: none;
    transition: width 0.3s ease;
}

.header-search-input::placeholder {
    color: var(--text-muted);
}

.header-search-input:focus {
    width: 200px;
}

/* Fix browser autofill background */
.header-search-input:-webkit-autofill,
.header-search-input:-webkit-autofill:hover,
.header-search-input:-webkit-autofill:focus,
.header-search-input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s;
    -webkit-text-fill-color: var(--text-main) !important;
}

.header-search-form .icon-btn {
    padding: 0;
    margin-left: 0.2rem;
}

/* Shop Layout Styles */
.shop-main-container {
    padding-top: 150px;
    min-height: 70vh;
}

.shop-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.shop-page-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
}

.shop-product-count {
    color: var(--text-muted);
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

.shop-sidebar {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-title {
    font-size: 1.1rem;
    color: var(--gold-accent);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.filter-label:hover {
    color: var(--text-main);
}

.filter-label input[type="radio"],
.filter-label input[type="checkbox"] {
    accent-color: var(--gold-accent);
    width: 16px;
    height: 16px;
    margin: 0;
}



/* --- Cart Page Styles --- */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.cart-summary {
    background: var(--bg-surface);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    position: sticky;
    top: 100px;
}

.cart-item-actions {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.cart-item-price-total {
    font-size: 1.1rem;
}

.cart-item-actions .cart-remove-btn {
    color: #ff4444;
    border: none;
    background: transparent;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.85rem;
    padding: 0;
    margin-top: auto;
}





/* --- Checkout Page Styles --- */
.checkout-container {
    padding-top: 150px;
    min-height: 80vh;
    padding-bottom: 5rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.checkout-form-container {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-title {
    font-family: var(--font-serif);
    color: var(--gold-accent);
    /* Standardized gold variable */
    margin-bottom: 2rem;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkout-summary-container {
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: fit-content;
}





/* --- Size Chart Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(3px);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    color: #333;
    width: 90%;
    max-width: 750px;
    border-radius: 4px;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #eaeaea;
}

.modal-header h3 {
    font-size: 1.15rem;
    font-family: var(--font-serif);
    color: #333;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.modal-close {
    background: transparent;
    color: #999;
    cursor: pointer;
    border: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
}

.modal-close:hover {
    color: #222;
    transform: rotate(90deg);
}

.modal-body {
    padding: 0 2rem 2rem 2rem;
}

.modal-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 2rem;
}

.modal-tab {
    padding: 1rem 2rem;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.1rem;
    color: #555;
    background: transparent;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.modal-tab.active {
    color: #111;
    border-bottom: 3px solid #111;
}

.modal-subtitle {
    text-align: center;
    font-family: var(--font-serif);
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.size-chart-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-family: var(--font-sans);
}

.size-chart-table th,
.size-chart-table td {
    padding: 0.9rem;
    border: 1px solid #eaeaea;
}

.size-chart-table th {
    background: #222;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.size-chart-table tr:nth-child(even) {
    background: #fafafa;
}

.modal-note {
    text-align: center;
    font-size: 0.75rem;
    color: #888;
    margin-top: 1rem;
}



/* --- Side Cart Drawer (Global) --- */
.side-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.side-cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.side-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-surface);
    z-index: 10001;
    border-left: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.8, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.side-cart-drawer.open {
    transform: translateX(0);
}

.side-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.side-cart-header h3 {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-count-badge {
    background: var(--gold-accent);
    color: #000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
}

.close-cart-btn {
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.close-cart-btn:hover {
    color: var(--text-main);
    transform: rotate(90deg);
}

.side-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-drawer-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-drawer-img {
    width: 80px;
    height: 110px;
    background: var(--bg-surface-light);
    overflow: hidden;
}

.cart-drawer-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-drawer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-drawer-title {
    font-size: 0.95rem;
    color: var(--gold-accent);
    margin-bottom: 0.2rem;
    font-weight: 500;
}

.cart-drawer-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.cart-drawer-qty-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.drawer-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.drawer-qty button {
    background: transparent;
    color: var(--text-main);
    width: 24px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.drawer-qty span {
    font-size: 0.85rem;
    padding: 0 0.5rem;
}

.drawer-price {
    font-weight: 600;
    color: var(--text-main);
}

.remove-from-drawer {
    color: #ff4444;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    align-self: flex-start;
    padding: 0;
}

.remove-from-drawer:hover {
    text-decoration: underline;
}

.side-cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
}

.side-cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.side-cart-subtotal .val {
    color: var(--gold-accent);
}

.side-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn-view-cart {
    text-align: center;
    color: var(--gold-accent);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.8rem;
    border: 1px solid var(--gold-accent);
    transition: all 0.2s;
    border-radius: 4px;
}

.btn-view-cart:hover {
    background: var(--gold-accent);
    color: #000;
}

.btn-checkout-drawer {
    background: var(--gold-accent);
    color: #000;
    text-align: center;
    padding: 1rem;
    border-radius: 4px;
    font-weight: bold;
    letter-spacing: 0.05em;
    transition: background 0.2s;
}

.btn-checkout-drawer:hover {
    background: var(--gold-accent-hover);
}

/* --- Side Wishlist Drawer --- */
.side-wish-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.side-wish-overlay.open {
    opacity: 1;
    visibility: visible;
}

.side-wish-drawer {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-surface);
    z-index: 10001;
    border-left: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.8, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.side-wish-drawer.open {
    transform: translateX(0);
}

.side-wish-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.side-wish-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.side-wish-item:last-child {
    border-bottom: none;
}

.side-wish-img {
    width: 70px;
    height: 85px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255,255,255,0.03);
}

.side-wish-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; object-position: top center;
    pointer-events: auto;
}

.side-wish-info {
    flex: 1;
    min-width: 0;
}

.side-wish-name {
    display: block;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.side-wish-name:hover {
    color: var(--gold-accent);
}

.side-wish-price {
    font-size: 0.85rem;
    color: var(--gold-accent);
    font-weight: 600;
}

.side-wish-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.3rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.side-wish-remove:hover {
    color: #ff4444;
    transform: scale(1.1);
}

.side-wish-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    gap: 1rem;
}

.side-wish-empty p {
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* ==========================================================================
   ADVANCED RESPONSIVE DESIGN (PC -> Tablet -> Mobile)
   ========================================================================== */

/* 1. Large Desktops (Fluid container padding) */


/* 5. Smartphones & Small Tablets (768px) */


/* 6. Very Small Horizontal Screens (480px) */


/* --- Added Responsive Utility Classes --- */
.auth-container,
.payment-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--bg-card, #1a181c);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.payment-container {
    max-width: 600px;
}

/* --- Size Chart Styles --- */
.size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    width: 100%;
}

button.rf-sc-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    font-size: 0.9rem !important;
    color: #ffffff !important; /* Changed to white for visibility on dark background */
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    opacity: 1 !important;
    transition: opacity 0.3s ease !important;
    font-weight: 500 !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    font-family: Arial, sans-serif !important;
    margin: 0 !important;
}

button.rf-sc-btn:hover {
    opacity: 0.7 !important;
}

.measuring-tape-icon {
    width: 20px;
    height: 20px;
    color: #ffffff !important; /* Changed to white */
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    z-index: 10000;
    overflow-y: auto; /* Enable scrolling on the overlay */
    padding: 20px 0;
}

.modal-overlay.show {
    display: block; /* Change from flex to block to allow natural scrolling */
}

.modal-content {
    background: #fff;
    color: #333;
    width: 95%;
    max-width: 650px;
    margin: 30px auto; /* Center with margin for scrolling */
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.modal-body-wrapper {
    width: 100%;
}


.modal-body-wrapper::-webkit-scrollbar {
    width: 8px;
}

.modal-body-wrapper::-webkit-scrollbar-thumb {
    background-color: #ddd;
}

.animate-modal {
    animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 0.5rem;
    background: #fff;
}

.modal-title-group h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    color: #000;
}

.modal-title-group p {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: #000;
    font-weight: 400;
}

.modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0;
}

.modal-close:hover {
    color: #000;
}

.modal-body {
    padding: 1rem 1.5rem 2rem;
}

.unit-toggle-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    color: #555;
    text-transform: uppercase;
}

.unit-btn {
    padding: 0;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    border: none;
    background: transparent;
    color: #555;
    cursor: pointer;
}

.unit-btn.active {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}

.size-chart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.size-chart-table th, 
.size-chart-table td {
    border: 1px solid #e1e1e1;
    padding: 0.8rem;
    text-align: center;
}

.size-chart-table th {
    background: #252422; /* Kiwi Sizing dark header */
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.size-chart-table td:first-child {
    font-weight: 700;
    background: #fff;
    color: #252422;
}

.modal-notes ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.modal-notes li {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    color: #252422;
    padding-left: 1.2rem;
    position: relative;
}

.modal-notes li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
    font-size: 1.2rem;
}

.modal-branding {
    margin: 2rem 0;
    text-align: left;
}

.modal-branding h3 {
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    margin: 0;
    font-weight: 400;
    color: #252422;
    text-transform: uppercase;
}

.modal-branding p {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: #252422;
    margin: 0.2rem 0;
    font-weight: 400;
    text-transform: uppercase;
}

.how-to-measure-section {
    margin: 2rem 0;
    text-align: left;
}

.diagram-container {
    width: 100%;
    margin-bottom: 2rem;
}

.measurement-diagram {
    width: 100%;
    height: auto;
    display: block;
}

.detailed-instructions {
    border: none;
}

.instruction-item {
    margin-bottom: 1.2rem;
}

.instruction-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: #252422;
}

.instruction-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}



/* 
========================================
WISHLIST PAGE & CARD FLOATING HEART
========================================
*/

/* Floating heart button on product cards */
.floating-wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
}

.floating-wishlist-btn:hover {
    background: var(--text-main);
    color: var(--bg-color);
    transform: scale(1.1);
}

.floating-wishlist-btn.active {
    background: #ff4444;
    color: #fff;
    border-color: #ff4444;
}

.floating-wishlist-btn i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.floating-wishlist-btn:active i {
    transform: scale(0.8);
}

/* Wishlist Page Header */
.wishlist-hero {
    padding: 10rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
}

.wishlist-count-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Empty Wishlist State */
.empty-wishlist-container {
    padding: 6rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.empty-wishlist-icon {
    width: 80px;
    height: 80px;
    color: var(--text-muted);
    opacity: 0.2;
    margin-bottom: 1rem;
}

/* Wishlist Item Card Overlay (X button) */
.wishlist-remove-overlay {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .wishlist-remove-overlay {
    opacity: 1;
}

.remove-wish-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 68, 68, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
    transition: all 0.3s ease;
}

.remove-wish-btn:hover {
    background: #ff0000;
    transform: rotate(90deg) scale(1.1);
}

/* Mobile Adjustments for Wishlist */


/* 
========================================
RATINGS & REVIEWS
========================================
*/

/* Product Header Rating */
.product-rating-summary {
    display: none; /* Keep the header summary hidden as requested */
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

/* Lucide based stars for easier implementation without FA */.rating-stars-lucide {
    display: flex;
    gap: 2px;
    color: #ffc107;
}

/* Global Review Stars Solid Fill */
.rating-stars-lucide i.filled svg,
.rating-stars-lucide i.filled polygon {
    fill: #ffc107 !important;
    stroke: #ffc107 !important;
}

.rating-stars-lucide i svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #ffc107;
    stroke-width: 2px;
}

/* Star Rating Input Solid Fill */
.star-rating-input label:hover svg,
.star-rating-input label:hover ~ label svg,
.star-rating-input input:checked ~ label svg,
.star-rating-input label:hover polygon,
.star-rating-input label:hover ~ label polygon,
.star-rating-input input:checked ~ label polygon {
    fill: #ffc107 !important;
    stroke: #ffc107 !important;
}

.star-rating-input label svg {
    width: 28px;
    height: 28px;
    fill: none;
    transition: all 0.2s ease;
}

.review-count-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Review Tab Content */
.reviews-tab-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    margin-top: 1rem;
}

.review-summary-card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.average-rating-large {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 1rem;
}

/* Review Form Styling */
.write-review-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.review-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group-full {
    grid-column: span 2;
}

.review-input, .review-textarea {
    width: 100%;
    background: var(--bg-surface-light);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 1rem;
    border-radius: 8px;
    font-family: var(--font-sans);
    outline: none;
    transition: all 0.3s ease;
}

.review-input:focus, .review-textarea:focus {
    border-color: var(--gold-accent);
    background: var(--bg-surface);
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.3rem;
    justify-content: flex-start;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2px;
}

.star-rating-input label:hover {
    transform: scale(1.2);
}

/* Review Avatar */
.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border: 2px solid rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; object-position: top center;
}

.review-avatar-initial {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-accent);
    text-transform: uppercase;
}

/* Individual Review Item */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    animation: fadeIn 0.5s ease-out forwards;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.review-author {
    font-weight: 600;
    color: var(--text-main);
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-comment {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.7;
}

.btn-submit-review {
    background: var(--gold-accent);
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
}

.btn-submit-review:hover {
    background: var(--gold-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}



/* Product Price & Size Chart Layout */
.product-price-row {
    display: flex;
    flex-direction: column; /* PC: Below price */
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.rf-sc-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.rf-sc-btn:hover {
    color: var(--gold-accent);
    text-decoration-color: var(--gold-accent);
}

.rf-sc-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}





/* Out of Stock Identification Styles */
.out-of-stock-badge { background: #ff4444 !important; color: #fff !important; box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3) !important; z-index: 5 !important; }
.product-image.grayscale { filter: grayscale(0.8) opacity(0.7); }
.out-of-stock-btn { background: rgba(255,255,255,0.05) !important; color: rgba(255,255,255,0.3) !important; border: 1px solid rgba(255,255,255,0.1) !important; cursor: not-allowed !important; text-decoration: line-through !important; pointer-events: none; }
.out-of-stock-notice { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: rgba(255, 68, 68, 0.1); border: 1px solid rgba(255, 68, 68, 0.2); color: #ff4444; border-radius: 8px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; }


/* Size Out of Stock - Visual Indicator (Cut Mark) */
.size-btn.out-of-stock-btn {
    position: relative !important;
    background: rgba(255, 255, 255, 0.03) !important;
    color: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    cursor: not-allowed !important;
    overflow: hidden !important;
    pointer-events: none !important;
    opacity: 0.6;
}

/* The Red Horizontal Line (Subtle) */
.size-btn.out-of-stock-btn::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 10% !important;
    width: 80% !important;
    height: 1px !important; /* Thinner */
    background: rgba(255, 68, 68, 0.6) !important; /* Transparent Red */
    transform: rotate(0deg) !important;
    z-index: 1;
}

.size-btn.out-of-stock-btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* --- Phase: Google Login Premium Styles --- */
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.google-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.google-btn svg {
    width: 18px;
    height: 18px;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-divider:not(:empty)::before {
    margin-right: 1rem;
}

.auth-divider:not(:empty)::after {
    margin-left: 1rem;
}
