/* =========================================
   CORE SETUP & VARIABLES
   ========================================= */
:root {
    --gold: #c5a059;
    --royal: #1a1a1a;
    --white: #ffffff;
    --ivory: #fdfaf5;
    --border: #eeeeee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Poppins', sans-serif; 
    background: var(--white); 
    color: var(--royal); 
    padding-top: 125px; 
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 4%; }

/* =========================================
   ANNOUNCEMENT BAR & NAVIGATION
   ========================================= */
.announcement-bar {
    background-color: var(--royal);
    color: var(--gold);
    overflow: hidden;
    padding: 10px 0;
    font-size: 0.65rem;
    letter-spacing: 3px;
    font-weight: 600;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3000;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-content span { padding-right: 50px; }

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

#main-nav {
    position: fixed;
    top: 38px;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    z-index: 2000;
}

.nav-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.nav-left { display: flex; align-items: center; gap: 20px; flex: 1; }
.logo a { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; letter-spacing: 3px; text-decoration: none; color: var(--royal); }
.nav-divider { width: 1px; height: 20px; background-color: var(--royal); opacity: 0.2; }
.profile-section a { text-decoration: none; color: var(--royal); font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }

.nav-center { flex: 2; display: flex; justify-content: center; }
.nav-links { display: flex; list-style: none; gap: 35px; }
.nav-links a { text-decoration: none; color: var(--royal); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; transition: 0.3s; }
.nav-links a:hover { color: var(--gold); }

.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 25px; flex: 1; }
.cart-badge { background: var(--gold); color: white; font-size: 0.6rem; padding: 2px 6px; border-radius: 50%; position: absolute; top: -8px; right: -10px; }

.menu-toggle { display: none; }
.mobile-nav-shell { display: none; }

/* Dedicated mobile navbar. Desktop keeps the original .nav-flex untouched. */
@media (max-width: 768px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        padding-top: 158px;
    }

    #main-nav,
    #main-nav * {
        box-sizing: border-box;
    }

    #main-nav {
        height: auto;
        min-height: 120px;
        max-width: 100%;
        align-items: stretch;
        overflow: visible;
    }

    #main-nav > .nav-flex {
        display: none;
    }

    .mobile-nav-shell {
        display: block;
        width: 100%;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
    }

    .mobile-nav-top {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        align-items: center;
        min-height: 62px;
        gap: 8px;
        padding: 8px 14px;
    }

    .mobile-menu-button {
        width: 44px;
        height: 44px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        color: var(--royal);
    }

    .mobile-menu-button span {
        width: 23px;
        height: 2px;
        display: block;
        background: currentColor;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .mobile-logo {
        justify-self: center;
        max-width: 150px;
        overflow: hidden;
        color: var(--royal);
        font-family: 'Playfair Display', serif;
        font-size: 1.22rem;
        font-weight: 700;
        letter-spacing: 2.5px;
        line-height: 1;
        text-decoration: none;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        min-width: 0;
    }

    .mobile-action-link {
        width: 36px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--royal);
        position: relative;
        text-decoration: none;
    }

    .mobile-shop-link {
        min-width: 50px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 11px;
        border: 1px solid rgba(197, 160, 89, 0.45);
        color: var(--royal);
        background: rgba(253, 250, 245, 0.78);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 1px;
        line-height: 1;
        text-decoration: none;
        text-transform: uppercase;
    }

    .mobile-cart-badge {
        position: absolute;
        top: 4px;
        right: 1px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 999px;
        background: var(--gold);
        color: var(--white);
        font-size: 0.56rem;
        line-height: 16px;
        text-align: center;
    }

    .mobile-search-form {
        display: flex;
        align-items: center;
        gap: 9px;
        width: calc(100% - 28px);
        min-height: 42px;
        margin: 0 14px 10px;
        padding: 0 13px;
        border: 1px solid var(--border);
        border-radius: 999px;
        background: #f9f9f9;
        color: #999;
    }

    .mobile-search-form input {
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--royal);
        font-family: inherit;
        font-size: 0.78rem;
    }

    .mobile-search-form input::placeholder {
        color: #888;
    }

    .mobile-menu-panel {
        max-height: 0;
        overflow: hidden;
        border-top: 1px solid transparent;
        background: rgba(255, 255, 255, 0.99);
        box-shadow: 0 16px 30px rgba(0,0,0,0.08);
        opacity: 0;
        transform: translateY(-6px);
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease, border-color 0.24s ease;
    }

    #menu-check:checked ~ .mobile-nav-shell .mobile-menu-panel {
        max-height: 260px;
        border-top-color: var(--border);
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    #menu-check:checked ~ .mobile-nav-shell .mobile-menu-button span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    #menu-check:checked ~ .mobile-nav-shell .mobile-menu-button span:nth-child(2) {
        opacity: 0;
    }

    #menu-check:checked ~ .mobile-nav-shell .mobile-menu-button span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-nav-links {
        list-style: none;
        margin: 0;
        padding: 8px 18px 14px;
    }

    .mobile-nav-links li {
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .mobile-nav-links li:last-child {
        border-bottom: 0;
    }

    .mobile-nav-links a {
        display: block;
        min-height: 46px;
        padding: 15px 4px;
        color: var(--royal);
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 1.4px;
        text-align: center;
        text-decoration: none;
    }
}

@media (max-width: 375px) {
    .mobile-nav-top {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        gap: 4px;
        padding: 8px 10px;
    }

    .mobile-menu-button {
        width: 40px;
        height: 42px;
    }

    .mobile-logo {
        max-width: 118px;
        font-size: 1.04rem;
        letter-spacing: 1.8px;
    }

    .mobile-actions {
        gap: 1px;
    }

    .mobile-action-link {
        width: 32px;
        height: 42px;
    }

    .mobile-shop-link {
        min-width: 42px;
        height: 34px;
        padding: 0 8px;
        font-size: 0.62rem;
        letter-spacing: 0.7px;
    }

    .mobile-search-form {
        width: calc(100% - 20px);
        margin: 0 10px 10px;
    }
}

/* =========================================
   NEW: CATEGORY SECTION (TABLE-LIKE GRID)
   ========================================= */
.category-section { padding: 60px 0; border-top: 1px solid var(--border); margin-top: 40px; }
.category-section h2 { text-align: center; font-family: 'Playfair Display', serif; font-size: 2.2rem; margin-bottom: 40px; }

.category-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); /* Forces 4 in a row */
    gap: 20px; /* Uniform "Table" spacing */
}

.category-card { 
    text-align: center; 
    transition: 0.3s; 
    text-decoration: none; 
    display: block; 
}

.category-img-box {
    width: 100%;
    max-width: 350px;
    height: 450px; /* Reduced height for less bulk */
    background: #f9f9f9;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 1px solid #f0f0f0; /* Subtle border for table look */
    transition: 0.4s;
}

.category-img-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.6s ease;
}

.category-card:hover .category-img-box { border-color: var(--gold); }
.category-card:hover img { transform: scale(1.05); }

.category-card h3 { 
    font-family: 'Poppins', sans-serif; 
    font-size: 0.8rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    color: var(--royal); 
    font-weight: 600;
}

/* =========================================
   HERO & PRODUCT SECTIONS
   ========================================= */
.static-hero {
    width: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
    /* Height is set in media queries only (no base height) */
    padding: clamp(20px, 3vh, 40px) clamp(12px, 3vw, 40px);
    margin-bottom: 50px;
}

.static-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 7vw, 4rem);
    margin-bottom: clamp(8px, 1.5vh, 10px);
    line-height: 1.1;
}

.hero-text p {
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    margin-bottom: clamp(12px, 2vh, 25px);
}

.btn-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: clamp(12px, 3vh, 20px);
    padding: clamp(10px, 1.5vh, 12px) clamp(24px, 5vw, 35px);
    background: white;
    color: black;
    text-decoration: none;
    font-weight: 600;
    min-height: 44px;
    transition: 0.3s ease;
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    letter-spacing: 1px;
}

.btn-shop:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 60px 0; }
.product-img-wrapper { width: 100%; height: 420px; overflow: hidden; position: relative; background: #f9f9f9; }
.product-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }

.btn-cart,
button.btn-cart,
a.btn-cart {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    background: var(--royal);
    color: var(--white);
    border: 1px solid var(--royal);
    border-radius: 0;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.btn-cart:hover,
.btn-cart:focus-visible {
    background: #333333;
    border-color: #333333;
    color: var(--white);
}

.btn-cart.is-in-cart {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.btn-cart.is-loading,
.btn-cart:disabled {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.cart-action-form {
    width: 100%;
    margin: 0;
}

/* =========================================
   RESPONSIVE PRODUCT GRIDS
   ========================================= */
/* =========================================
   MOBILE HERO & BANNER RESPONSIVE BREAKPOINTS
   ========================================= */

/* Extra Small Mobile: 320px - 374px */
@media (max-width: 374px) {
    html,
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .static-hero {
        height: 45vh;
        padding: 18px 12px;
        /* Mobile: Keep cover to fill viewport */
        background-size: cover;
        background-position: center top;
        margin-bottom: 30px;
    }

    .hero-text h1 {
        font-size: clamp(1.8rem, 5.5vw, 2.4rem);
    }

    .hero-text p {
        font-size: clamp(0.65rem, 1.8vw, 0.8rem);
        letter-spacing: 3px;
    }

    .btn-shop {
        padding: 11px 24px;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .banner-scroller {
        padding: 12px 0;
    }

    .swiper {
        width: 90%;
    }

    .swiper-pagination {
        bottom: 8px !important;
    }
}

/* Small Mobile: 375px - 425px */
@media (min-width: 375px) and (max-width: 425px) {
    html,
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .static-hero {
        height: 48vh;
        padding: 22px 16px;
        /* Mobile: Keep cover to fill viewport */
        background-size: cover;
        background-position: center top;
        margin-bottom: 30px;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 6vw, 2.6rem);
    }

    .hero-text p {
        font-size: clamp(0.72rem, 2vw, 0.85rem);
        letter-spacing: 4px;
    }

    .btn-shop {
        padding: 12px 28px;
        font-size: 0.78rem;
        letter-spacing: 1px;
    }

    .banner-scroller {
        padding: 16px 0;
    }

    .swiper {
        width: 92%;
    }

    .swiper-pagination {
        bottom: 10px !important;
    }
}

/* Medium Mobile / Tablet: 426px - 768px */
@media (min-width: 426px) and (max-width: 768px) {
    html,
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .static-hero {
        height: 55vh;
        max-height: 70vh;
        padding: 28px 20px;
        /* Mobile/Tablet: Keep cover to fill viewport */
        background-size: cover;
        background-position: center top;
        margin-bottom: 40px;
    }

    .hero-text h1 {
        font-size: clamp(2.4rem, 6.5vw, 3.2rem);
        margin-bottom: 12px;
    }

    .hero-text p {
        font-size: clamp(0.8rem, 2.2vw, 0.9rem);
        letter-spacing: 4px;
        margin-bottom: 18px;
    }

    .btn-shop {
        padding: 13px 32px;
        font-size: 0.82rem;
        letter-spacing: 1.2px;
        min-height: 46px;
    }

    .banner-scroller {
        padding: 22px 0;
    }

    .swiper {
        width: 93%;
    }

    .swiper-pagination {
        bottom: 12px !important;
    }
}

/* Desktop: 769px and above */
@media (min-width: 769px) {
    .static-hero {
        height: 110vh;
        max-height: none;
        padding: 40px 40px;
        /* Desktop: Cover fills container, top positioning preserves model/subject composition */
        background-size: cover;
        background-position: center top;
        margin-bottom: 60px;
    }

    .banner-scroller {
        height: 35vh;
        padding: 30px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .swiper {
        width: 90%;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .shop-wrapper .container,
    .product-grid {
        max-width: 100%;
        box-sizing: border-box;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-columns: unset !important;
        gap: 20px 14px !important;
        width: 100%;
        max-width: 100vw;
        padding: 32px 14px !important;
    }

    .product-card {
        min-width: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 1px solid rgba(0,0,0,0.04);
        box-shadow: 0 10px 26px rgba(0,0,0,0.035);
        overflow: hidden;
        contain: layout paint;
    }

    .product-img-wrapper,
    .product-card .product-img-wrapper {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 3 / 4;
        min-height: 0;
    }

    .product-img-wrapper img,
    .product-card .product-img-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    .product-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 14px 10px 12px !important;
    }

    .product-info h3 {
    min-height: 2.8em;
    margin-bottom: 6px !important;
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.96rem !important;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* <-- THIS is what Codex missed! */
}

    .product-info p,
    .product-info .price {
        margin-bottom: 12px !important;
        font-size: 0.95rem !important;
        line-height: 1.3;
    }

    .product-action-container {
        margin-top: auto;
        width: 100%;
    }

    .btn-cart,
    button.btn-cart,
    a.btn-cart {
        min-height: 46px;
        padding: 12px 9px;
        font-size: 0.64rem;
        letter-spacing: 1.1px;
        line-height: 1.2;
        white-space: normal;
    }

    .wishlist-icon-wrapper {
        top: 10px !important;
        right: 10px !important;
        width: 34px !important;
        height: 34px !important;
    }

    .btn-gold {
        padding: 12px 8px !important;
        font-size: 0.62rem !important;
        letter-spacing: 1.4px !important;
    }
}

@media (max-width: 480px) {
    .product-grid {
        gap: 18px 12px !important;
        padding: 28px 12px !important;
    }
}

@media (max-width: 360px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px 10px !important;
        padding: 24px 10px !important;
    }

    .product-info {
        padding: 12px 8px 10px !important;
    }

    .product-info h3 {
        min-height: 2.8em;
        font-size: 0.88rem !important;
    }

    .product-info p,
    .product-info .price {
        font-size: 0.88rem !important;
    }

    .btn-cart,
    button.btn-cart,
    a.btn-cart {
        min-height: 44px;
        padding: 10px 6px;
        font-size: 0.58rem;
        letter-spacing: 0.8px;
    }

    .btn-gold {
        padding: 10px 6px !important;
        font-size: 0.58rem !important;
        letter-spacing: 1px !important;
    }

    .wishlist-icon-wrapper {
        width: 30px !important;
        height: 30px !important;
    }
}

/* Mobile policy/info pages */
@media (max-width: 767px) {
    .policy-container {
        width: auto !important;
        max-width: none !important;
        margin: 28px 16px !important;
        padding: 0 !important;
        line-height: 1.7 !important;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .policy-container .policy-container {
        margin: 0 !important;
    }

    .policy-content {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
        padding: 20px 0 !important;
        line-height: 1.7;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .policy-page-container {
        padding-bottom: 48px !important;
    }

    .policy-page-container > .container {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .policy-page-container .policy-content {
        padding: 24px 18px !important;
    }

    .policy-page-container header {
        padding: 40px 0 28px !important;
    }

    .policy-title,
    .policy-content h1,
    .policy-page-container .playfair {
        max-width: 100%;
        font-size: clamp(2rem, 9vw, 2.5rem) !important;
        line-height: 1.15 !important;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .policy-date,
    .policy-content .last-updated {
        margin-bottom: 28px !important;
    }

    .policy-section {
        margin-bottom: 30px !important;
    }

    .policy-section h2,
    .policy-section h3,
    .policy-content h2,
    .policy-content h3 {
        max-width: 100%;
        font-size: clamp(1.3rem, 6vw, 1.6rem) !important;
        line-height: 1.25 !important;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .policy-section p,
    .policy-section li,
    .policy-content p,
    .policy-content li {
        line-height: 1.7 !important;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .policy-section ul,
    .policy-section ol,
    .policy-content ul,
    .policy-content ol {
        padding-left: 1.25rem !important;
        margin-top: 0;
        margin-bottom: 20px;
    }

    .policy-section li,
    .policy-content li {
        margin-bottom: 10px !important;
        padding-left: 2px;
    }
}

/* =========================================
   RESTORED LUXURY FOOTER (4-COLUMN)
   ========================================= */
.main-footer { 
    background-color: #111 !important; 
    color: #fff !important; 
    padding: 80px 0 40px; 
    margin-top: 80px; 
}

.footer-top { 
    display: grid !important; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px; 
    border-bottom: 1px solid #333; 
    padding-bottom: 50px; 
}

.footer-logo { 
    font-family: 'Playfair Display', serif; 
    font-size: 2rem; 
    margin-bottom: 25px; 
    color: #fff; 
    letter-spacing: 3px; 
}

.footer-col h4 { 
    font-size: 0.85rem; 
    color: var(--gold); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 25px; 
}

/* Fix for Bullets */
.footer-col ul { 
    list-style: none !important; 
    padding: 0 !important; 
    margin: 0 !important; 
}

.footer-col ul li { 
    margin-bottom: 12px !important; 
    list-style-type: none !important; 
}

/* Fix for Blue Links */
.footer-col ul li a { 
    color: #999 !important; 
    text-decoration: none !important; 
    font-size: 0.85rem; 
    transition: 0.3s; 
}

.footer-col ul li a:hover { 
    color: #fff !important; 
    padding-left: 5px; 
}

.contact-info p, .payment-methods p {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 10px;
}

/* Responsive Fix */
@media (max-width: 992px) {
    .footer-top { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 576px) {
    .footer-top { grid-template-columns: 1fr !important; }
}

@media (max-width: 767px) {
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: clamp(24px, 8vw, 48px);
        row-gap: 30px;
        justify-content: center;
    }

    .footer-col {
        width: auto !important;
        min-width: 0;
        justify-self: center;
    }

    .footer-col:nth-child(1),
    .footer-col:nth-child(4) {
        grid-column: 1 / -1;
    }

    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        grid-column: auto;
        max-width: 180px;
    }

    .footer-col:nth-child(2) a,
    .footer-col:nth-child(3) a {
        overflow-wrap: anywhere;
    }
}

/* =========================================
   LUXURY REFINEMENTS — June 2026
   ========================================= */

/* Page entrance fade */
@keyframes page-enter {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
main { animation: page-enter 0.45s ease forwards; }

/* Focus states — accessible, brand-consistent */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ---- PRODUCT CARD — DESKTOP ---- */
.product-card {
    background: #fff;
    border: 1px solid transparent;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: #e8e0d5;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

/* Image scale on hover */
.product-card:hover .product-img-wrapper img {
    transform: scale(1.04);
}

/* Hover-reveal overlay button */
.product-img-wrapper .btn-gold {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.product-card:hover .product-img-wrapper .btn-gold {
    opacity: 1;
    transform: translateY(0);
}

/* Product info spacing */
.product-info {
    padding: 18px 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-info h3,
.product-info .playfair {
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 500;
    color: var(--royal);
    margin: 0;
}

.product-info .price,
.product-info p {
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 600;
    margin: 0;
}

.product-action-container {
    margin-top: auto;
    padding-top: 14px;
}

/* ---- BTN-GOLD ---- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--gold);
    color: #fff;
    border: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}
.btn-gold:hover {
    background: #b8913e;
    transform: translateY(-1px);
}

/* ---- SECTION HEADERS ---- */
.section-header {
    text-align: center;
    padding: 70px 0 40px;
}
.section-header .eyebrow {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 12px;
}
.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--royal);
    margin: 0;
}

/* ---- WISHLIST ICON ---- */
.wishlist-icon-wrapper {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wishlist-icon-wrapper:hover {
    transform: scale(1.12) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.14) !important;
}

/* ---- FORM INPUTS — GLOBAL ---- */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
textarea,
select {
    font-family: inherit;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

/* ---- MESSAGES TOAST ---- */
.messages-container .message {
    background: var(--royal) !important;
    border-left: 3px solid var(--gold);
    border-radius: 0 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px;
}

/* ---- PRODUCT DETAIL RESPONSIVE ---- */
@media (max-width: 900px) {
    .product-page-wrapper {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 0 20px !important;
        margin: 30px auto !important;
    }
    .product-gallery {
        flex-direction: column-reverse !important;
    }
    .thumb-strip {
        flex-direction: row !important;
        overflow-x: auto;
        gap: 10px !important;
    }
    .thumb-strip img {
        width: 64px !important;
        height: 84px !important;
        flex-shrink: 0;
    }
    .product-actions-panel {
        position: static !important;
    }
    #mainHeroImage {
        height: 520px !important;
    }
}

@media (max-width: 600px) {
    #mainHeroImage {
        height: 400px !important;
    }
}

/* ---- CART LAYOUT RESPONSIVE ---- */
@media (max-width: 860px) {
    .cart-layout {
        flex-direction: column !important;
    }
    .cart-summary {
        position: static !important;
    }
}

/* ---- OTP / AUTH SCREENS ---- */
.auth-screen {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 60px 20px;
}
.auth-card {
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--border);
    padding: 56px 48px;
    background: #fff;
}
.auth-card .eyebrow {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}
.auth-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 8px;
    color: var(--royal);
}
.auth-card .subtitle {
    text-align: center;
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 36px;
    line-height: 1.6;
}
.auth-card .otp-input {
    width: 100%;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 0;
    text-align: center;
    font-size: 2rem;
    letter-spacing: 16px;
    font-family: 'Poppins', sans-serif;
    color: var(--royal);
    background: #fafafa;
    transition: border-color 0.25s ease, background 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}
.auth-card .otp-input:focus {
    border-color: var(--gold);
    background: #fff;
    outline: none;
}
.auth-card .error-msg {
    font-size: 0.78rem;
    color: #c0392b;
    text-align: center;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}
.auth-card .success-msg {
    font-size: 0.78rem;
    color: #27735a;
    text-align: center;
    margin-bottom: 18px;
}
.auth-card .resend-row {
    text-align: center;
    margin-top: 24px;
    font-size: 0.78rem;
    color: #aaa;
}
.auth-card .resend-row .resend-btn {
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
    font-size: 0.78rem;
    font-family: inherit;
    text-decoration: underline;
    padding: 0;
    transition: color 0.2s;
}
.auth-card .resend-btn:hover { color: #9a7030; }

@media (max-width: 480px) {
    .auth-card { padding: 40px 28px; }
    .auth-card .otp-input { font-size: 1.6rem; letter-spacing: 12px; }
}
