/* ══════════════════════════════════════════
   created by michelle — stylesheet
   Palette:
     --navy    #1B3A5C  (deep ocean blue, Michelle's fav)
     --blue    #2C5282  (mid blue)
     --sand    #D4B896  (warm market-stall warmth)
     --copper  #B87333  (copper wire accent)
     --chalk   #F7F5F2  (background)
     --ink     #2D2926  (text)
   ══════════════════════════════════════════ */

:root {
    --navy:   #1B3A5C;
    --blue:   #2C5282;
    --sand:   #D4B896;
    --copper: #B87333;
    --chalk:  #F7F5F2;
    --ink:    #2D2926;
    --ink-light: #6B6560;
    --radius: 4px;
    --shadow: 0 2px 16px rgba(27,58,92,0.10);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    background: var(--chalk);
    color: var(--ink);
    line-height: 1.65;
    font-size: 16px;
}

/* ─── Typography ─── */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 400; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
em { font-style: italic; color: var(--copper); }

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

/* ─── Buttons ─── */
.btn-primary {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    padding: 13px 32px;
    border-radius: var(--radius);
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

/* ─── Header ─── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247,245,242,0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(27,58,92,0.10);
}
.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.site-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-right: auto;
}
.logo-created {
    font-family: 'Nunito', sans-serif;
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--ink-light);
    letter-spacing: 0.12em;
    text-transform: lowercase;
}
.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.01em;
}
.site-nav { display: flex; gap: 28px; }
.site-nav a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.15s;
}
.site-nav a:hover { color: var(--copper); }

.cart-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy);
    padding: 6px;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}
.cart-btn:hover { color: var(--copper); }
.cart-count {
    position: absolute;
    top: -2px;
    right: -4px;
    background: var(--copper);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
}

/* ─── Hero ─── */
.hero {
    position: relative;
    background: var(--navy);
    color: #fff;
    padding: 100px 24px 80px;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Signature element: a subtle denim-weave texture using CSS */
.hero-texture {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(255,255,255,0.015) 3px,
            rgba(255,255,255,0.015) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(255,255,255,0.015) 3px,
            rgba(255,255,255,0.015) 4px
        );
    pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-eyebrow {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 20px;
}
.hero-headline {
    margin-bottom: 24px;
    color: #fff;
}
.hero-headline em { color: var(--sand); }
.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255,255,255,0.82);
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-materials {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 48px;
}
.material-tag {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.75);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 7px 18px;
    border-radius: 20px;
}

/* ─── Shop section ─── */
.shop-section { padding: 80px 0; }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}
.section-header h2 { color: var(--navy); }
.filter-tabs { display: flex; gap: 8px; }
.filter-tab {
    background: none;
    border: 1.5px solid var(--sand);
    color: var(--ink-light);
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 0.03em;
}
.filter-tab:hover, .filter-tab.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(27,58,92,0.14);
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--copper);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 3px;
}

.product-image-wrap { position: relative; overflow: visible; }
.product-image-placeholder {
    background: linear-gradient(135deg, #e8f0f8 0%, #d4e4f0 100%);
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.placeholder-text {
    font-size: 0.75rem;
    color: var(--ink-light);
    font-weight: 400;
    font-style: italic;
}
.stock-warning {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #fff3cd;
    color: #856404;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 3px;
}

.product-info { padding: 20px 20px 24px; flex: 1; display: flex; flex-direction: column; }
.product-category {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 6px;
}
.product-name { color: var(--navy); margin-bottom: 10px; }
.product-desc {
    font-size: 0.88rem;
    color: var(--ink-light);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 18px;
}
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}
.product-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--navy);
}
.btn-add-cart {
    background: var(--copper);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 20px;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: background 0.15s, transform 0.1s;
    white-space: nowrap;
}
.btn-add-cart:hover { background: #a0662a; transform: translateY(-1px); }
.sold-out { font-size: 0.85rem; color: var(--ink-light); font-style: italic; }

/* ─── About ─── */
.about-section {
    background: var(--navy);
    color: #fff;
    padding: 80px 0;
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.section-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 14px;
}
.about-text h2 { color: #fff; margin-bottom: 20px; }
.about-text p {
    color: rgba(255,255,255,0.78);
    margin-bottom: 16px;
    font-size: 0.98rem;
    line-height: 1.75;
}
.about-values { display: flex; flex-direction: column; gap: 28px; }
.value-item {
    border-left: 2px solid var(--copper);
    padding-left: 20px;
}
.value-icon {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 6px;
}
.value-item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--sand);
    margin-bottom: 4px;
}
.value-item p { font-size: 0.88rem; color: rgba(255,255,255,0.68); margin: 0; }

/* ─── Contact ─── */
.contact-section {
    padding: 80px 0;
    background: var(--chalk);
}
.contact-inner {
    text-align: center;
    max-width: 560px;
}
.contact-inner h2 { color: var(--navy); margin-bottom: 16px; }
.contact-inner p { color: var(--ink-light); margin-bottom: 28px; }
.contact-note {
    font-size: 0.85rem;
    color: var(--ink-light);
    margin-top: 20px;
    font-style: italic;
}

/* ─── Footer ─── */
.site-footer {
    background: #12283F;
    color: rgba(255,255,255,0.55);
    padding: 32px 24px;
    text-align: center;
    font-size: 0.85rem;
}
.footer-inner { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--sand);
    margin-bottom: 4px;
}
.footer-small { font-size: 0.75rem; opacity: 0.6; margin-top: 4px; }

/* ─── Cart Drawer ─── */
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(27,58,92,0.4);
    z-index: 200;
}
.cart-overlay.open { display: block; }
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 95vw;
    height: 100vh;
    background: #fff;
    z-index: 201;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 32px rgba(27,58,92,0.18);
    transition: right 0.3s ease;
}
.cart-drawer.open { right: 0; }
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(27,58,92,0.1);
}
.cart-header h3 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 1.2rem;
}
.cart-close {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--ink-light);
    padding: 4px 8px;
}
.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-empty { color: var(--ink-light); text-align: center; margin-top: 40px; font-size: 0.95rem; line-height: 1.7; }
.cart-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(27,58,92,0.07);
    align-items: center;
}
.cart-item-info { grid-column: 1 / -1; }
.cart-item-info strong { font-size: 0.95rem; color: var(--navy); }
.cart-item-price { display: block; font-size: 0.8rem; color: var(--ink-light); margin-top: 2px; }
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cart-item-controls button {
    background: none;
    border: 1.5px solid var(--sand);
    width: 28px;
    height: 28px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.cart-item-controls button:hover { background: var(--sand); }
.cart-item-remove { border-color: #e0c8c8 !important; color: #a05050 !important; font-size: 0.75rem !important; }
.cart-item-total { font-weight: 700; color: var(--navy); font-size: 0.95rem; text-align: right; }
.cart-footer { padding: 20px 24px; border-top: 1px solid rgba(27,58,92,0.1); }
.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 6px;
}
.cart-shipping-note { font-size: 0.8rem; color: var(--ink-light); margin-bottom: 16px; }
.btn-checkout { width: 100%; text-align: center; font-size: 1rem; padding: 15px; }

/* ─── Toast ─── */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--navy);
    color: #fff;
    padding: 12px 28px;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 300;
    white-space: nowrap;
    pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .site-nav { display: none; }
    .about-inner { grid-template-columns: 1fr; gap: 40px; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
    .hero { padding: 70px 20px 60px; }
    .hero-materials { gap: 10px; }
}

@media (max-width: 480px) {
    .filter-tabs { flex-wrap: wrap; }
    .product-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ══════════════════════════════════════════
   TWO-LEVEL FILTER SYSTEM
   ══════════════════════════════════════════ */
.filter-system { margin-bottom: 36px; }

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.filter-tab {
    background: none;
    border: 1.5px solid var(--sand);
    color: var(--ink-light);
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 9px 24px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 0.03em;
}
.filter-tab:hover, .filter-tab.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

/* Subcategory pills — appear below the main tabs */
.filter-subcats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding: 14px 18px;
    background: rgba(27,58,92,0.04);
    border-radius: 8px;
    border-left: 3px solid var(--copper);
    animation: slideDown 0.18s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.filter-sub {
    background: none;
    border: 1.5px solid rgba(184,115,51,0.4);
    color: var(--copper);
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 0.03em;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}
.filter-sub:hover, .filter-sub.active {
    background: var(--copper);
    border-color: var(--copper);
    color: #fff;
}

.no-results {
    text-align: center;
    color: var(--ink-light);
    font-style: italic;
    padding: 48px 0;
    font-size: 1rem;
}

/* ══════════════════════════════════════════
   PRODUCT CARD UPDATES
   ══════════════════════════════════════════ */
.product-card { cursor: pointer; }

.product-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.product-card:hover .product-thumb { transform: scale(1.03); }

/* Multi-image indicator badge */
.img-count-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(27,58,92,0.82);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}

/* Hover hint overlay */
.card-hover-hint {
    position: absolute;
    inset: 0;
    background: rgba(27,58,92,0.35);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    backdrop-filter: blur(1px);
}
.product-card:hover .card-hover-hint { opacity: 1; }

.card-view-link {
    font-size: 0.85rem;
    color: var(--copper);
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════ */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12,24,38,0.88);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.lightbox-overlay.open { display: flex; }

.lightbox {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    animation: lbIn 0.22s ease;
}
@keyframes lbIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.15s, transform 0.15s;
}
.lightbox-close:hover { background: #fff; transform: scale(1.1); }

/* Image side */
.lightbox-images {
    background: #f0f5fa;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lightbox-main-img-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 300px;
}

.lightbox-main-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lb-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--ink-light);
    font-size: 0.85rem;
    font-style: italic;
    height: 100%;
    width: 100%;
}

/* Arrow buttons */
.lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.15s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }

/* Thumbnail strip */
.lightbox-thumbs {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(0,0,0,0.04);
    justify-content: center;
    flex-shrink: 0;
}
.lb-thumb {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    border: 2.5px solid transparent;
    cursor: pointer;
    padding: 0;
    background: none;
    transition: border-color 0.15s, transform 0.15s;
    flex-shrink: 0;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb:hover  { border-color: var(--sand); transform: scale(1.05); }
.lb-thumb.active { border-color: var(--copper); }

/* Info side */
.lightbox-info {
    padding: 36px 32px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lb-category {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper);
}
.lb-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--navy);
    line-height: 1.25;
    margin: 0;
}
.lb-desc {
    font-size: 0.92rem;
    color: var(--ink-light);
    line-height: 1.7;
    margin: 0;
}
.lb-price-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
}
.lb-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--navy);
}
.lb-stock {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
}
.lb-stock--in  { background: #e8f5e9; color: #2e7d32; }
.lb-stock--low { background: #fff8e1; color: #f57f17; }
.lb-stock--out { background: #fce4e4; color: #c62828; }

.lb-add-btn {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    padding: 15px;
    margin-top: 8px;
}
.lb-add-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.lb-meta {
    color: var(--ink-light);
    margin-top: 4px;
}
.lb-meta small { font-size: 0.78rem; }

/* ── Lightbox responsive ── */
@media (max-width: 680px) {
    .lightbox {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        max-height: 95vh;
    }
    .lightbox-images { max-height: 55vw; min-height: 220px; }
    .lightbox-info   { padding: 22px 20px; }
    .lb-name         { font-size: 1.2rem; }
}


/* ══════════════════════════════════════════
   PROMO BAR (checkout page)
   ══════════════════════════════════════════ */
.promo-bar {
    background: var(--copper);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}
.promo-bar strong { font-weight: 800; }

/* ══════════════════════════════════════════
   PROMO POPUP
   ══════════════════════════════════════════ */
.promo-popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(12,24,38,0.75);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.promo-popup-overlay.open {
    display: -webkit-flex;
    display: flex;
}

.promo-popup {
    background: var(--navy);
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    animation: lbIn 0.3s ease;
}
.promo-popup::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255,255,255,0.02) 8px, rgba(255,255,255,0.02) 9px);
    pointer-events: none;
    z-index: 0;
}
.promo-popup-close {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 50%;
    width: 36px; height: 36px;
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
    z-index: 100;
    pointer-events: all;
    -webkit-tap-highlight-color: transparent;
}
.promo-popup-close:hover { background: rgba(255,255,255,0.2); color:#fff; }
.promo-popup-inner {
    padding: 44px 36px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.promo-popup-eyebrow {
    display: block;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--sand); margin-bottom: 12px;
}
.promo-popup-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    color: #fff; margin-bottom: 20px; line-height: 1.2;
}
.promo-popup-deal {
    background: var(--copper); color: #fff;
    font-size: 1.3rem; font-weight: 800;
    padding: 14px 28px; border-radius: 8px;
    margin-bottom: 14px; letter-spacing: 0.02em;
}
.promo-popup-extra { color: var(--sand); font-size: 0.9rem; margin-bottom: 10px; font-weight: 600; }
.promo-popup-expiry { color: rgba(255,255,255,0.5); font-size: 0.78rem; margin-bottom: 24px; font-style: italic; }
.promo-popup-btn { background: #fff; color: var(--navy); font-size: 1rem; padding: 13px 36px; border-radius: 6px; font-weight: 800; }
.promo-popup-btn:hover { background: var(--sand); color: var(--navy); }
@media (max-width: 480px) {
    .promo-popup-inner { padding: 36px 24px 32px; }
    .promo-popup-deal  { font-size: 1.1rem; }
}

/* ══════════════════════════════════════════
   SALE RIBBON + PRICE DISPLAY
   ══════════════════════════════════════════ */

/* Diagonal ribbon on product card image */
.sale-ribbon {
    position: absolute;
    top: 18px;
    left: -8px;
    background: #C0392B;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 20px 6px 16px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
}

/* Price wrap on card */
.price-wrap {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
}
.product-price--sale {
    color: #C0392B !important;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
}
.product-price-original {
    font-size: 0.9rem;
    color: var(--ink-light);
    text-decoration: line-through;
    font-family: 'Nunito', sans-serif;
}

/* Lightbox sale price */
.lb-sale-price {
    color: #C0392B;
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 600;
}
.lb-orig-price {
    font-size: 1rem;
    color: var(--ink-light);
    text-decoration: line-through;
    font-family: 'Nunito', sans-serif;
    margin-left: 6px;
}

/* ══════════════════════════════════════════
   RECYCLED PROMISE BANNER
   ══════════════════════════════════════════ */
.promise-banner {
    background: linear-gradient(135deg, #2C4A3E 0%, #1B3A5C 100%);
    padding: 10px 20px;
    overflow: hidden;
}
.promise-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.promise-item {
    font-family: 'Nunito', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--sand);
    white-space: nowrap;
}
.promise-dot {
    color: rgba(212,184,150,0.4);
    font-size: 1rem;
}

@media (max-width: 600px) {
    .promise-inner { gap: 8px; }
    .promise-dot   { display: none; }
    .promise-item  { font-size: 0.72rem; white-space: normal; text-align: center; }
}

/* Global promo tag in lightbox */
.lb-promo-tag {
    display: inline-block;
    background: #C0392B;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    vertical-align: middle;
    margin-left: 6px;
}

/* Sold out badge — sits at bottom of image overlapping into card text area */
.sold-out-badge {
    position: absolute;
    bottom: -16px;
    right: 16px;
    background: #C0392B;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 4px;
    z-index: 4;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* Low stock warning — bottom right (per-product, opt-in) */
.stock-warning {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #fff3cd;
    color: #856404;
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    z-index: 3;
}
