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

        :root {
            --charcoal: #2a2a2a;
            --off-white: #f8f8f6;
            --accent: #1a3a2e;
            --gold: #c9a961;
            --overlay: rgba(0,0,0,0.4);
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--off-white);
            color: var(--charcoal);
            line-height: 1.6;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="%23f8f8f6" width="100" height="100"/><circle fill="%23f0f0ee" cx="50" cy="50" r="1"/></svg>');
        }

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

        /* Header */
        header {
            position: sticky;
            top: 0;
            background: rgba(248, 248, 246, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(42, 42, 42, 0.1);
            padding: 18px 0;
            z-index: 100;
            transition: padding 0.25s ease, background 0.25s ease;
        }

        body.is-scrolled header {
            padding: 10px 0 8px;
            background: rgba(248, 248, 246, 0.98);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header-countdown {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transform: translateY(-14px);
            margin-top: 0;
            pointer-events: none;
            transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.35s ease, margin-top 0.35s ease;
        }

        .header-countdown.show {
            max-height: 94px;
            opacity: 1;
            transform: translateY(0);
            margin-top: 10px;
            pointer-events: auto;
        }

        body.is-scrolled .header-countdown.show {
            max-height: 72px;
            margin-top: 6px;
        }

        .header-countdown .countdown-label {
            font-size: 12px;
            letter-spacing: 1.6px;
            margin-bottom: 0;
            color: #666;
            white-space: nowrap;
        }

        .header-countdown .countdown-timer {
            margin: 0;
            gap: 8px;
        }

        .header-countdown .time-unit {
            min-width: 62px;
            padding: 6px 8px 5px;
            background: rgba(255, 255, 255, 0.7);
            border: 1px solid rgba(42, 42, 42, 0.1);
            border-radius: 8px;
        }

        body.is-scrolled .header-countdown .time-unit {
            min-width: 50px;
            padding: 4px 6px;
        }

        .header-countdown .time-value {
            font-size: 26px;
            min-width: 0;
            line-height: 1;
        }

        body.is-scrolled .header-countdown .time-value {
            font-size: 20px;
        }

        .header-countdown .time-label {
            font-size: 9px;
            margin-top: 2px;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 56px;
            width: auto;
            transition: height 0.25s ease;
        }

        body.is-scrolled .logo img {
            height: 42px;
        }

        .logolarge img {
            height: 100px;
        }

        .vault-status {
            font-size: 11px;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--gold);
            transition: font-size 0.25s ease;
        }

        body.is-scrolled .vault-status {
            font-size: 10px;
        }

        /* Countdown Timer */
        .countdown-section {
            text-align: center;
            padding: 40px 20px 28px;
            margin: 18px auto 26px;
            max-width: 980px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 248, 246, 0.98) 100%);
            border: 1px solid rgba(42, 42, 42, 0.12);
            border-radius: 14px;
            box-shadow: 0 10px 28px rgba(42, 42, 42, 0.08);
            opacity: 0;
            animation: fadeIn 1s ease forwards;
            transition: opacity 0.25s ease, transform 0.25s ease, margin 0.25s ease;
        }

        .countdown-section.docked-out {
            opacity: 0 !important;
            transform: translateY(-12px);
            margin-top: 6px;
            margin-bottom: 0;
            pointer-events: none;
        }

        @keyframes fadeIn {
            to { opacity: 1; }
        }

        .countdown-label {
            font-family: 'Cormorant Garamond', serif;
            font-size: 18px;
            letter-spacing: 2px;
            margin-bottom: 20px;
            text-transform: uppercase;
        }

        .countdown-timer {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 20px 0 12px;
        }

        .time-unit {
            text-align: center;
            background: rgba(255, 255, 255, 0.62);
            border: 1px solid rgba(42, 42, 42, 0.1);
            border-radius: 10px;
            padding: 10px 12px 8px;
            min-width: 86px;
        }

        .time-value {
            font-family: 'Cormorant Garamond', serif;
            font-size: 48px;
            font-weight: 600;
            color: var(--accent);
            display: block;
            min-width: 60px;
        }

        .time-label {
            font-size: 10px;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #888;
            margin-top: 5px;
        }

        /* Hero Section */
        .hero {
            padding: 40px 0 80px;
            opacity: 0;
            animation: fadeIn 1s ease 0.3s forwards;
        }

        .hero-content {
            display: grid;
            gap: 40px;
            align-items: center;
        }

        .hero-image {
            width: 100%;
            aspect-ratio: 1;
            background: #ddd;
            border-radius: 4px;
            overflow: hidden;
        }

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

        .hero-details {
            text-align: center;
        }

        .hero-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 42px;
            font-weight: 300;
            letter-spacing: 2px;
            margin-bottom: 15px;
        }

        .hero-price {
            font-size: 24px;
            color: var(--gold);
            margin-bottom: 10px;
        }

        .stock-indicator {
            font-size: 12px;
            color: var(--gold);
            margin-bottom: 20px;
        }

        .cta-button {
            background: var(--accent);
            color: var(--off-white);
            border: none;
            padding: 16px 48px;
            font-size: 14px;
            letter-spacing: 2px;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Inter', sans-serif;
        }

        .cta-button:hover {
            background: var(--charcoal);
            transform: translateY(-2px);
        }

        /* Collection Grid */
        .collection {
            padding: 38px 0;
        }

        .section-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(2rem, 5vw, 3.2rem);
            font-weight: 500;
            text-align: center;
            letter-spacing: 2.5px;
            line-height: 1.1;
            color: var(--accent);
            margin-bottom: 14px;
        }

        .section-title-small {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1.3rem, 3.2vw, 2rem);
            font-weight: 400;
            text-align: center;
            letter-spacing: 1.4px;
            color: #4a4a4a;
            margin-bottom: 32px;
        }

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

        .product-card {
            position: relative;
            cursor: pointer;
            transition: transform 0.3s ease;
            opacity: 0;
            animation: fadeIn 0.6s ease forwards;
        }

        .product-card:nth-child(1) { animation-delay: 0.1s; }
        .product-card:nth-child(2) { animation-delay: 0.2s; }
        .product-card:nth-child(3) { animation-delay: 0.3s; }
        .product-card:nth-child(4) { animation-delay: 0.4s; }
        .product-card:nth-child(5) { animation-delay: 0.5s; }
        .product-card:nth-child(6) { animation-delay: 0.6s; }
        .product-card:nth-child(7) { animation-delay: 0.7s; }
        .product-card:nth-child(8) { animation-delay: 0.8s; }
        .product-card:nth-child(9) { animation-delay: 0.9s; }

        .product-card:hover:not(.sold-out) {
            transform: scale(1.03);
        }

        .product-image {
            width: 100%;
            aspect-ratio: 1;
            background: #e5e5e5;
            border-radius: 4px;
            overflow: hidden;
            position: relative;
        }

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

        .product-link {
            display: block;
            width: 100%;
            height: 100%;
        }

        .sold-out-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--overlay);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.5s ease;
        }

        .sold-out-overlay.active {
            opacity: 1;
        }

        .sold-out-text {
            font-family: 'Cormorant Garamond', serif;
            font-size: 24px;
            color: white;
            letter-spacing: 3px;
            text-transform: uppercase;
        }

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

        .product-name {
            font-family: 'Cormorant Garamond', serif;
            font-size: 20px;
            margin-bottom: 8px;
        }

        .product-name-link {
            color: inherit;
            text-decoration: none;
            border-bottom: 1px solid transparent;
            transition: border-color 0.2s ease;
        }

        .product-name-link:hover {
            border-color: rgba(42, 42, 42, 0.45);
        }

        .product-price {
            font-size: 16px;
            color: var(--charcoal);
            margin-bottom: 5px;
        }

        .product-stock {
            font-size: 11px;
            color: var(--gold);
            letter-spacing: 1px;
        }

        /* Closed State */
        .vault-closed {
            text-align: center;
            padding: 64px 20px 44px;
        }

        .closed-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 48px;
            font-weight: 300;
            letter-spacing: 4px;
            margin-bottom: 30px;
            text-transform: uppercase;
        }

        .closed-message {
            font-size: 18px;
            margin-bottom: 34px;
            color: #666;
        }

        /* Email Signup */
        .email-signup {
            max-width: 500px;
            margin: 34px auto;
            padding: 26px 20px 18px;
            text-align: center;
        }

        /* Teaser Gallery */
        .teaser-gallery {
            margin: 60px 0;
            opacity: 0;
            animation: fadeIn 1s ease 0.5s forwards;
        }

        .teaser-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            max-width: 800px;
            margin: 0 auto 20px;
        }

        .teaser-image {
            position: relative;
            aspect-ratio: 1;
            border-radius: 4px;
            overflow: hidden;
        }

        .teaser-image a {
            display: block;
            width: 100%;
            height: 100%;
        }

        .teaser-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(40%) brightness(0.8);
            transition: all 0.4s ease;
        }

        .teaser-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(42, 42, 42, 0.3);
            pointer-events: none;
        }

        .teaser-caption {
            text-align: center;
            font-size: 12px;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #999;
            margin-top: 20px;
        }

        .signup-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 24px;
            margin-bottom: 20px;
            letter-spacing: 1px;
        }

        .signup-form {
            display: flex;
            gap: 10px;
            flex-direction: column;
        }

        .email-input {
            padding: 16px;
            border: 1px solid #ccc;
            background: white;
            font-size: 14px;
            font-family: 'Inter', sans-serif;
            flex: 1;
        }

        .submit-button {
            background: var(--accent);
            color: var(--off-white);
            border: none;
            padding: 16px 32px;
            font-size: 12px;
            letter-spacing: 2px;
            text-transform: uppercase;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .submit-button:hover {
            background: var(--charcoal);
        }

        /* Viewing Notification */
        .viewing-notification {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: var(--charcoal);
            color: var(--off-white);
            padding: 12px 24px;
            border-radius: 50px;
            font-size: 12px;
            letter-spacing: 1px;
            opacity: 0;
            transition: all 0.4s ease;
            z-index: 1000;
        }

        .viewing-notification.show {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }

        /* Hidden state */
        .hidden {
            display: none;
        }

        /* Tablet and Desktop */
        @media (min-width: 768px) {
            .container {
                padding: 0 40px;
            }

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

            .hero-content {
                grid-template-columns: 1fr 1fr;
                gap: 60px;
            }

            .hero-details {
                text-align: left;
            }

            .signup-form {
                flex-direction: row;
            }

            .time-value {
                font-size: 64px;
                min-width: 80px;
            }

            .teaser-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 24px;
            }

            .logo img {
                height: 62px;
            }

            body.is-scrolled .logo img {
                height: 46px;
            }
        }

        @media (max-width: 767px) {
            .header-countdown .time-unit {
                min-width: 52px;
                padding: 5px 6px 4px;
            }

            body.is-scrolled .header-countdown .time-unit {
                min-width: 46px;
                padding: 4px 5px;
            }

            body.is-scrolled .header-countdown .time-value {
                font-size: 16px;
            }

            .header-countdown .time-value {
                font-size: 20px;
            }
        }

        @media (min-width: 1024px) {
            .grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .success-message {
            color: var(--gold);
            margin-top: 15px;
            font-size: 14px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .success-message.show {
            opacity: 1;
        }

/* ---------- Bag (js/bag.js) ---------- */
.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.bag-button {
    background: none;
    border: 1px solid rgba(42, 42, 42, 0.25);
    border-radius: 999px;
    padding: 6px 14px;
    font: inherit;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--charcoal);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bag-button:hover { border-color: var(--accent); color: var(--accent); }

.bag-count {
    background: var(--accent);
    color: var(--off-white);
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 11px;
    letter-spacing: 0;
    text-align: center;
    padding: 0 6px;
}

.bag-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 999;
}

.bag-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 100%);
    background: var(--off-white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    visibility: hidden;
}

body.bag-open .bag-backdrop { opacity: 1; pointer-events: auto; }
body.bag-open .bag-drawer { transform: translateX(0); visibility: visible; }

.bag-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 14px;
    border-bottom: 1px solid rgba(42, 42, 42, 0.1);
}

.bag-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--accent);
    margin: 0;
}

.bag-close {
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    color: var(--charcoal);
    cursor: pointer;
    padding: 0 4px;
}

.bag-lines {
    flex: 1;
    overflow-y: auto;
    padding: 8px 20px;
}

.bag-empty { color: #777; margin: 24px 0; }

.bag-line {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(42, 42, 42, 0.08);
}

.bag-line-img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 6px;
    background: #e5e5e5;
    flex-shrink: 0;
}

.bag-line-info { flex: 1; min-width: 0; }

.bag-line-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: var(--accent);
    line-height: 1.2;
}

.bag-line-price { font-size: 14px; margin: 2px 0 8px; }

.bag-line-flag {
    font-size: 11px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #a33;
    margin-bottom: 6px;
}

.bag-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(42, 42, 42, 0.2);
    border-radius: 999px;
    margin-right: 12px;
}

.bag-qty button {
    background: none;
    border: none;
    width: 30px;
    height: 28px;
    cursor: pointer;
    font-size: 16px;
    color: var(--charcoal);
}

.bag-qty button:disabled { opacity: 0.3; cursor: default; }
.bag-qty span { min-width: 18px; text-align: center; font-size: 14px; }

.bag-remove {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    color: #777;
    text-decoration: underline;
    cursor: pointer;
}

.bag-foot {
    padding: 16px 20px 22px;
    border-top: 1px solid rgba(42, 42, 42, 0.1);
}

.bag-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
}

.bag-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
    margin-bottom: 4px;
}

.bag-subtotal { margin-top: 6px; }

.bag-note, .bag-secure {
    font-size: 12px;
    color: #777;
    margin: 4px 0 0;
}

.bag-secure { text-align: center; margin-top: 10px; }

.bag-error {
    color: #a33;
    font-size: 13px;
    min-height: 0;
    margin-top: 10px;
}

.bag-error:empty { display: none; }

.bag-checkout {
    width: 100%;
    margin-top: 14px;
    background: var(--accent);
    color: var(--off-white);
    border: none;
    border-radius: 999px;
    padding: 15px 20px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease;
}

.bag-checkout:hover:not(:disabled) { background: var(--charcoal); }
.bag-checkout:disabled { opacity: 0.45; cursor: default; }

.add-to-bag {
    display: inline-block;
    margin-top: 10px;
    background: var(--accent);
    color: var(--off-white);
    border: none;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    cursor: pointer;
}

.add-to-bag:hover { background: var(--charcoal); }

.header-right .vault-status { white-space: nowrap; }

@media (max-width: 600px) {
    .header-right { gap: 10px; }
    .bag-button { padding: 5px 10px; }
    .logo img, body.is-scrolled .logo img { height: 40px; }
}
