/* ============================================================
   IL & ELLE — Global Styles
   Shared across ALL pages
   ============================================================ */

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

/* === CSS VARIABLES === */
:root {
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', Arial, sans-serif;
    --color-bg: #ffffff;
    --color-beige: #f7f1e3;
    --color-text: #000000;
    --color-grey: #777;
    --color-gold: #b8860b;
    --color-light-grey: #f5f5f5;
    --color-accent: #b8860b;
    --header-height: 60px;
    --nav-height: 48px;
    --announce-height: 40px;
    --container-padding: 24px;
}

@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
    }
}

/* === BASE === */
html {
    scroll-behavior: smooth
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity .3s
}

a:hover {
    opacity: 1
}

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

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

ul {
    list-style: none
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* === PRICE TAGS (used on cards everywhere) === */
.price-sale {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.price-orig {
    color: #aaa;
    text-decoration: line-through;
    font-size: 13px;
    margin-left: 8px;
    font-weight: 400;
}

/* === ANNOUNCEMENT BAR === */
.announce-bar {
    background: var(--color-beige);
    height: var(--announce-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    font-size: 12px;
    letter-spacing: .5px;
}

.announce-social {
    display: flex;
    gap: 12px;
    align-items: center
}

.announce-social svg {
    width: 16px;
    height: 16px;
    fill: var(--color-text)
}

.announce-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 500
}

.announce-currency {
    transition: border-color .3s
}

.announce-currency:hover {
    border-color: #333 !important
}

/* === HEADER === */
.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-bg);
    transition: box-shadow .3s;
}

.sticky-header-wrapper.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08)
}

.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid #eee;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 24px;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 120px
}

.header-right {
    justify-content: flex-end
}

.header-icon {
    width: 22px;
    height: 22px;
    cursor: pointer;
    position: relative
}

.header-icon svg {
    width: 100%;
    height: 100%
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 26px;
    letter-spacing: 4px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
}

.logo img,
#logo img {
    width: 60px;
    height: 60px
}

/* === NAVIGATION === */
.main-nav {
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 0 24px;
    height: var(--nav-height);
    align-items: center;
    white-space: nowrap;
}

.nav-list a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-text);
}

@media(min-width:768px) {
    .main-nav {
        background: var(--color-bg);
        overflow: visible !important;
        position: relative;
        z-index: 999;
    }
}

/* === DROPDOWN NAV === */
.nav-item-dropdown {
    position: relative
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--color-bg);
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 32px;
    display: flex;
    gap: 48px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    min-width: max-content;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    height: 25px;
    width: 100%;
}

.dropdown-col {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.dropdown-col h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    white-space: nowrap;
}

.dropdown-col a {
    font-size: 13px !important;
    color: var(--color-grey) !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    padding: 0 !important;
    transition: color 0.3s, transform 0.3s !important;
}

.dropdown-col a:hover {
    color: var(--color-gold) !important;
    transform: translateX(4px)
}

/* === MOBILE MENU === */
.mobile-toggle {
    display: none;
    cursor: pointer
}

.mobile-toggle svg {
    width: 24px;
    height: 24px
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, .5);
}

.mobile-menu-content {
    width: 300px;
    height: 100%;
    background: #fff;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .3s;
}

.mobile-menu.open .mobile-menu-content {
    transform: translateX(0)
}

.mobile-menu .close-btn {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px
}

.mobile-menu .close-btn svg {
    width: 24px;
    height: 24px;
    cursor: pointer
}

.mobile-menu nav a {
    display: block;
    padding: 12px 0;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
}

.mobile-dropdown-container {
    margin-top: 12px;
    margin-bottom: 12px;
    padding-left: 16px;
    border-left: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-dropdown-col h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 12px;
    color: #111
}

.mobile-dropdown-col a {
    display: block !important;
    font-size: 13px !important;
    color: var(--color-grey) !important;
    margin-bottom: 10px !important;
    text-transform: none !important;
}

/* === FOOTER === */
.site-footer {
    background: #fff;
    padding: 80px 40px 0;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 4px;
    margin-bottom: 24px;
    color: #111
}

.footer-brand p {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 320px
}

.footer-brand .contact-line {
    font-size: 12.5px;
    margin-bottom: 8px;
    color: #444
}

.footer-brand .contact-line strong {
    font-weight: 600;
    color: #111
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: var(--color-text);
    transition: transform .3s, fill .3s;
    cursor: pointer
}

.footer-social svg:hover {
    transform: translateY(-3px);
    fill: var(--color-gold)
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.footer-col a {
    font-size: 13px;
    color: #555;
    transition: color .3s, transform .3s;
    display: inline-block
}

.footer-col a:hover {
    color: var(--color-gold);
    transform: translateX(4px)
}

.footer-bottom-bar {
    border-top: 1px solid rgba(0, 0, 0, .05);
    padding: 32px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.copyright {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.5px
}

.payment-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    opacity: 0.8
}

.payment-icons span {
    display: inline-block;
    padding: 6px 12px;
    background: transparent;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
}

/* === PRODUCT CARD (shared: home carousels, shop grid, search, related) === */
.product-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 240px;
    cursor: pointer;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card .img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 3/4;
    background: #fdfdfd;
}

.product-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1), filter 0.8s ease, opacity 0.4s ease-in-out;
}

.product-card:hover .img-wrap img {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.02);
}

.product-card .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--color-text);
    transition: none !important;
}

.badge-sale {
    color: #c0392b !important
}

.badge-new {
    color: var(--color-text)
}

.badge-best {
    color: var(--color-gold) !important
}

.product-info {
    padding: 16px 8px 8px;
    text-align: center;
}

.product-name {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #222;
    transition: color .3s;
}

.product-card:hover .product-name {
    color: var(--color-gold)
}

.product-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-family: var(--font-body);
}

.product-card .quick-buy {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -10%);
    opacity: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-text);
    border-radius: 30px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all .4s cubic-bezier(.25, 1, .25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
    white-space: nowrap;
    z-index: 11;
    backdrop-filter: blur(8px);
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 10px 24px;
    font-size: 10px;
    min-width: 168px;
    text-align: center;
}

.product-card .img-wrap:hover .quick-buy {
    transform: translate(-50%, -50%);
    opacity: 1
}

.product-card .quick-buy:hover {
    background: var(--color-text);
    color: #fff
}

.product-card .view-details-btn {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -10%);
    opacity: 0;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all .4s cubic-bezier(.25, 1, .25, 1);
    transition-delay: 0.06s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .15);
    white-space: nowrap;
    z-index: 11;
    backdrop-filter: blur(8px);
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    min-width: 168px;
    text-align: center;
}

.product-card .img-wrap:hover .view-details-btn {
    transform: translate(-50%, -50%);
    opacity: 1
}

.product-card .view-details-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-text)
}

@media (max-width: 992px) {

    .product-card .quick-buy,
    .product-card .view-details-btn {
        display: none !important;
    }
}

/* Card Color Swatches */
.card-colors {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding-bottom: 5px
}

.card-color-swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #fefefe;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.card-color-swatch.active {
    transform: scale(1.25);
    border: 2px solid #111;
    box-shadow: 0 0 0 1px #fff, 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-color-swatch:hover:not(.active) {
    transform: scale(1.15);
    border-color: #999
}

.img-wrap img {
    transition: opacity 0.4s ease-in-out;
}

/* === SECTION HEADERS (shared: home + product details) === */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 32px;
    position: relative;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

.section-title .arr {
    width: 44px;
    height: 44px;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.section-title .arr:hover {
    border-color: var(--color-gold);
    background: #fafafa
}

.section-title .arr svg {
    width: 18px;
    height: 18px
}

.view-all {
    position: relative;
    display: inline-block;
    margin-top: 20px;
    font-size: 11px;
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 8px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 2;
    text-decoration: none;
}

.view-all::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 1.2px;
    background-color: var(--color-gold);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform: translateX(-50%);
}

.view-all:hover::after {
    width: 100%
}

@media (min-width:992px) {
    .section-header {
        flex-direction: row;
        padding: 80px 5% 32px
    }

    .view-all {
        position: absolute;
        right: 5%;
        bottom: 36px;
        margin-top: 0
    }
}

/* === CAROUSEL (shared: home + product details) === */
.carousel-wrap {
    position: relative;
    overflow: hidden;
    padding: 16px 0 72px
}

.carousel-track {
    display: flex;
    gap: 20px;
    padding: 0 40px;
    transition: transform .45s cubic-bezier(.25, .1, .25, 1);
    cursor: grab;
}

.carousel-track.grabbing {
    cursor: grabbing;
    transition: none
}

/* === DRAWER / QUICK VIEW / CART === */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 4000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto
}

.app-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: #fff;
    z-index: 4001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
}

.app-drawer.open {
    transform: translateX(0)
}

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

.drawer-title {
    font-family: var(--font-heading);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.drawer-close {
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.drawer-close:hover {
    transform: rotate(90deg)
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px
}

.drawer-footer {
    padding: 24px;
    border-top: 1px solid #eee;
    background: #fafafa
}

/* Quick View Image */
.qv-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 24px;
    background: #f9f9f9;
}

.qv-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: top;
    margin-bottom: 24px;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.4s ease;
    position: relative;
    z-index: 0;
    will-change: transform, opacity;
}

.qv-image.incoming {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
    transform: translateX(100%);
}

.qv-image-container.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    z-index: 3;
    animation: qvPulse 1.2s infinite ease-in-out;
}

@keyframes qvPulse {
    0% {
        opacity: 0.2;
        transform: scale(1.02)
    }

    50% {
        opacity: 0.7;
        transform: scale(1.0)
    }

    100% {
        opacity: 0.2;
        transform: scale(1.02)
    }
}

/* Quick View Content */
.qv-title {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 8px
}

.qv-price {
    font-size: 16px;
    margin-bottom: 24px
}

.variant-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #555;
    display: flex;
    justify-content: space-between;
}

.colors-wrap {
    display: flex;
    gap: 12px;
    margin-bottom: 24px
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #ddd;
    position: relative;
    transition: transform 0.3s;
}

.color-swatch:hover {
    transform: scale(1.1)
}

.color-swatch.selected::after,
.color-swatch.active::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--color-text);
    border-radius: 50%;
}

.sizes-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px
}

.size-btn {
    border: 1px solid #ccc;
    background: transparent;
    padding: 10px 16px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.size-btn:hover {
    border-color: #111
}

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

.size-btn.unavailable {
    opacity: 0.3;
    background: #fdfdfd !important;
    color: #aaa !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    border-color: #eee !important;
    text-decoration: line-through;
}

.add-to-bag-btn {
    width: 100%;
    padding: 18px;
    background: #111;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
}

.add-to-bag-btn:hover {
    background: #333
}

#modalAddBtn.error-shake,
.add-to-bag-btn.error-shake {
    background-color: #d93025 !important;
    color: #fff !important;
    animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both !important;
    transition: none !important;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-2px, 0, 0)
    }

    20%,
    80% {
        transform: translate3d(4px, 0, 0)
    }

    30%,
    50%,
    70% {
        transform: translate3d(-8px, 0, 0)
    }

    40%,
    60% {
        transform: translate3d(8px, 0, 0)
    }
}

/* Shipping Notice */
.shipping-notice {
    background: #fdf6ec;
    border: 1px solid #faecd8;
    color: #e6a23c;
    padding: 12px;
    font-size: 11px;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.shipping-notice.success {
    background: #f0f9eb;
    border: 1px solid #e1f3d8;
    color: #67c23a
}

/* Cart Summary */
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 12px;
    color: #555
}

.cart-summary-row.total {
    border-top: 1px solid #ddd;
    padding-top: 12px;
    margin-top: 12px;
    font-weight: 700;
    color: #111;
    font-size: 15px;
}

/* Cart Items */
.cart-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee
}

.cart-item img {
    width: 100px;
    height: 140px;
    object-fit: cover;
    object-position: top
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column
}

.cart-item-title {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 6px
}

.cart-item-variants {
    font-size: 12px;
    color: #666;
    margin-bottom: auto
}

.cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd
}

.qty-selector span {
    width: 30px;
    text-align: center;
    font-size: 14px
}

.qty-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    color: #555;
}

.qty-btn:hover {
    background: #f4f4f4;
    color: #111
}

.cart-item-remove {
    font-size: 12px;
    text-decoration: underline;
    color: #888;
    cursor: pointer
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 20px
}

/* === SEARCH OVERLAY === */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    padding: 60px 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    overflow-y: auto;
}

.search-overlay.open {
    opacity: 1;
    pointer-events: auto
}

.search-close {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.search-close:hover {
    transform: rotate(90deg)
}

.search-close svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-text)
}

.search-container {
    max-width: 900px;
    margin: 40px auto 20px;
    width: 100%
}

.search-input-box {
    display: flex;
    align-items: center;
    background: #f4f4f4;
    padding: 18px 24px;
    border-radius: 4px;
    width: 100%;
}

.search-input-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    color: #111;
}

.search-input-box input::placeholder {
    color: #999
}

.search-input-box svg {
    width: 20px;
    height: 20px;
    stroke: #999;
    cursor: pointer
}

.search-suggestions-text {
    font-size: 11px;
    color: #888;
    margin-top: 16px;
    padding-left: 2px
}

.search-suggestions-text strong {
    font-weight: 500;
    color: #333
}

.search-results-area {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    margin-bottom: 60px
}

.search-view-all {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--color-text);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s;
    background: transparent;
    color: var(--color-text);
    margin-bottom: 40px;
}

.search-view-all:hover {
    background: var(--color-text);
    color: #fff
}

.search-pages-links {
    text-align: center;
    margin-bottom: 32px
}

.search-pages-links h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 16px
}

.search-pages-links a {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    transition: color 0.3s
}

.search-pages-links a:hover {
    color: var(--color-gold)
}

/* === LOADER === */
#premium-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg, #ffffff);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

#premium-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

#premium-loader .loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden
}

#premium-loader .loader-brand {
    font-family: 'Theano Didot', serif;
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: 8px;
    color: var(--color-text, #000000);
    opacity: 0;
    transform: translateY(20px);
    animation: revealBrand 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#premium-loader .loader-line {
    width: 0;
    height: 1px;
    background-color: var(--color-text, #000000);
    margin-top: 24px;
    animation: expandLine 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

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

@keyframes expandLine {
    to {
        width: 100%
    }
}

#premium-loader {
    transition: opacity 1.2s cubic-bezier(0.7, 0, 0.3, 1), visibility 1.2s cubic-bezier(0.7, 0, 0.3, 1)
}

/* === SCROLL REVEAL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.2, 1, 0.3, 1), transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

.reveal-fade {
    transform: translateY(0)
}

.reveal-scale {
    transform: scale(0.95)
}

.reveal-scale.visible {
    transform: scale(1)
}

.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0)
}

/* === RESPONSIVE — SHARED === */
@media(max-width:1024px) {
    .product-card {
        flex: 0 0 calc(33.333% - 14px);
        min-width: 200px
    }

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

    .footer-brand {
        grid-column: 1/-1;
        max-width: 100%
    }

    .footer-brand p {
        max-width: 500px
    }

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

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

@media(max-width:768px) {
    .mobile-toggle {
        display: block
    }

    .main-nav,
    .shop-ig {
        display: none
    }

    .announce-text {
        font-size: 10px
    }

    .nav-list {
        gap: 16px
    }

    .product-card {
        flex: 0 0 calc(50% - 10px);
        min-width: 160px
    }

    .header-main {
        padding: 0 16px
    }

    .search-overlay {
        padding: 40px 20px
    }

    .search-close {
        top: 20px;
        right: 20px
    }

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

    .carousel-track {
        padding: 0 16px;
        gap: 12px
    }
}

@media(max-width:576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center
    }

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

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

    .site-footer {
        padding: 48px 24px 0
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start
    }

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

/* === UTILITY === */
.text-gold {
    color: var(--color-gold)
}

.void {
    padding-block: 2rem
}