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

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #fdf8f5;
    --color-surface: #fef9f6;
    --color-text: #1a1a1a;
    --color-text-muted: #555555;
    --color-accent: #7b2341;
    --color-accent-hover: #5e1a32;
    --color-accent-secondary: #d4853e;
    --color-border: #f0e0d8;
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1400px;
    --section-padding: 100px 5%;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* ===== Header & Navigation ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 5%;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-menu {
    display: contents;
}

.nav-links-primary {
    order: 1;
}

.logo {
    order: 2;
}

.nav-links-secondary {
    order: 3;
}

.nav-toggle,
.nav-backdrop {
    display: none;
}

.whatsapp-label-short {
    display: none;
}

.logo h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--color-accent);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #7b2341 0%, #5e1a32 40%, #3d0f20 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 5%;
    color: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    max-width: 700px;
}

/* Circular logo (source image is square with a white background) */
.logo-circle {
    display: block;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
}

.hero-logo {
    width: 140px;
    height: 140px;
    margin: 0 auto 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hero-content h2 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.hero .btn-primary {
    background-color: #ffffff;
    color: var(--color-accent);
}

.hero .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: var(--color-accent);
}

/* ===== Sections ===== */
.section {
    padding: var(--section-padding);
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-dark {
    background-color: var(--color-bg-alt);
    max-width: 100%;
    padding: 100px 5%;
}

.section-dark > .section-header,
.section-dark > .collections-grid,
.section-dark > .testimonials-grid {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 12px;
}

.section-header p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--color-accent);
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

/* ===== Product Grid ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    cursor: zoom-in;
}

.product-expand {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-accent);
    pointer-events: none;
}

.product-expand svg {
    width: 16px;
    height: 16px;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #fce4e4, #f8f0f0, #fce8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-accent);
    color: var(--color-bg);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-info {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px 16px;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.product-price {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-accent);
}

.product-price-deal {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.price-original {
    color: var(--color-text-muted);
    font-weight: 400;
}

.price-final {
    font-weight: 600;
}

.price-save {
    font-size: 0.8em;
    font-weight: 600;
    color: var(--color-accent-secondary);
}

.product-badge-deal {
    background: var(--color-accent-secondary);
}

/* Sold pieces stay in the catalog, softened, with a SOLD tag */
.product-badge-sold {
    background: #2b2b2b;
}

.is-sold .product-image img,
.is-sold .product-image .product-placeholder {
    filter: grayscale(0.7);
    opacity: 0.7;
}

.sold-note {
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.product-whatsapp {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 24px;
    background-color: #25D366;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.whatsapp-btn:hover {
    background-color: #1ebe5b;
    transform: translateY(-1px);
}

.whatsapp-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ===== Product Viewer ===== */
body.viewer-open {
    overflow: hidden;
}

.product-viewer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(30, 10, 18, 0.82);
}

.product-viewer[hidden] {
    display: none;
}

/* Desktop: photo left, details right (details scroll, WhatsApp button stays visible) */
.viewer-panel {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 980px;
    height: min(88vh, 720px);
    max-height: 100%;
    background: var(--color-bg);
    border-radius: 8px;
    overflow: hidden;
}

.viewer-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.viewer-close:focus-visible,
.product-image:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Photo area: swipeable when a product has 2nd/3rd images */
.viewer-image {
    --viewer-h: min(88vh, 720px);
    position: relative;
    flex: 0 0 56%;
    height: 100%;
    background: var(--color-bg-alt);
}

.viewer-slides {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.viewer-slides::-webkit-scrollbar {
    display: none;
}

.viewer-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
}

/* Wrapper hugs the photo so the watermark sits on the photo's own corner */
.viewer-photo {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    line-height: 0;
}

.viewer-slide img {
    display: block;
    max-width: 100%;
    max-height: var(--viewer-h);
    object-fit: contain;
}

.viewer-slide .product-placeholder {
    aspect-ratio: 4 / 5;
    height: 100%;
    width: auto;
}

.viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.viewer-prev {
    left: 10px;
}

.viewer-next {
    right: 10px;
}

.viewer-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.viewer-dots button {
    padding: 0;
    border: none;
    cursor: pointer;
}

.viewer-dots button {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.viewer-dots button.reel-dot {
    border-radius: 2px;
    clip-path: polygon(15% 0, 100% 50%, 15% 100%);
    width: 9px;
    height: 9px;
}

.viewer-dots button.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

.viewer-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.viewer-share {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 6px 12px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-bg);
    color: var(--color-accent);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.viewer-share:hover {
    border-color: var(--color-accent);
}

.viewer-share svg {
    width: 15px;
    height: 15px;
}

.viewer-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 64px 26px 0;
}

.viewer-info .product-whatsapp {
    position: sticky;
    bottom: 0;
    margin-top: auto;
    padding: 14px 0 22px;
    background: var(--color-bg);
}

.viewer-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.viewer-info .product-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-line;
}

.viewer-info .product-price {
    font-size: 1.1rem;
    margin: 4px 0 12px;
}

/* Shabeki watermark: the logo wordmark, small and translucent, in a free corner */
.watermark {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 62px;
    aspect-ratio: 7 / 2;
    background: url('images/watermark.png') center / contain no-repeat;
    opacity: 0.8;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

.viewer-photo .watermark {
    top: auto;
    bottom: 14px;
    right: 14px;
    width: 92px;
}

/* Instagram Reel slide */
.viewer-reel {
    background: #ffffff;
}

.viewer-reel iframe {
    width: min(100%, 420px);
    height: 100%;
    border: 0;
    background: #ffffff;
}

.product-video-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 4px 10px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    pointer-events: none;
}

/* ===== Collections Grid ===== */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.collection-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.collection-card:hover .collection-image {
    transform: scale(1.05);
}

.collection-image {
    aspect-ratio: 3 / 4;
    background: linear-gradient(145deg, #7b2341, #3d0f20);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
    transition: transform 0.4s ease;
}

.collection-image span {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===== Categories Grid ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.category-card[data-category] {
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.category-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    margin-bottom: 20px;
}

.category-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.category-image svg {
    height: 84%;
    width: auto;
    color: var(--color-accent);
}

.category-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-card p {
    min-height: 1.5em;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.category-count {
    display: block;
    min-height: 1.4em;
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-accent-secondary);
}

.category-card:focus-visible,
.filter-chip:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ===== About Section ===== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 4px;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* ===== Testimonials ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

@media (max-width: 1100px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    padding: 32px 28px;
    background: var(--color-surface);
    border-radius: 4px;
    border: 1px solid var(--color-border);
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--color-text);
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 500;
}

.testimonials-more {
    max-width: var(--max-width);
    margin: 40px auto 0;
    text-align: center;
}

.testimonials-more a {
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.testimonials-more a:hover {
    color: var(--color-accent-hover);
}

/* ===== Bag ===== */
.bag-toggle {
    position: relative;
    order: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: 18px;
    border: none;
    background: none;
    color: var(--color-text);
    cursor: pointer;
}

.bag-toggle svg {
    width: 25px;
    height: 25px;
}

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

.bag-count {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.bag-count[hidden] {
    display: none;
}

.quick-add {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-top: -2px;
    border: 1.5px solid var(--color-accent);
    border-radius: 50%;
    background: var(--color-bg);
    color: var(--color-accent);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.quick-add svg {
    width: 16px;
    height: 16px;
}

.quick-add:hover,
.quick-add.added {
    background: var(--color-accent);
    color: #ffffff;
}

.bag-add {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 12px 16px;
    border: 1.5px solid var(--color-accent);
    border-radius: 24px;
    background: var(--color-accent);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.bag-add:hover {
    background: var(--color-accent-hover);
}

.bag-add.added {
    background: var(--color-bg);
    color: var(--color-accent);
}

.whatsapp-btn.whatsapp-secondary {
    background: var(--color-bg);
    border: 1.5px solid #25D366;
    color: #128c4a;
}

.whatsapp-btn.whatsapp-secondary:hover {
    background: #f0fbf4;
}

.bag-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2900;
    background: rgba(30, 10, 18, 0.35);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.bag-backdrop[hidden],
.bag-drawer[hidden] {
    display: none;
}

body.bag-open {
    overflow: hidden;
}

.bag-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    width: min(92vw, 420px);
    height: 100vh;
    height: 100dvh;
    background: var(--color-bg);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.18);
}

.bag-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--color-border);
}

.bag-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
}

.bag-close {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--color-bg-alt);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

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

.bag-empty {
    padding: 48px 0;
    text-align: center;
    color: var(--color-text-muted);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
}

.bag-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.bag-item img,
.bag-thumb {
    width: 56px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 6px;
    object-fit: cover;
    background: var(--color-bg-alt);
}

.bag-item.is-sold img {
    filter: grayscale(0.8);
    opacity: 0.6;
}

.bag-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bag-item-info strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
}

.bag-item-info small {
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

.bag-item-price {
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 500;
}

.bag-item-price s {
    color: var(--color-text-muted);
    font-weight: 400;
}

.bag-sold {
    color: #b00020;
    font-size: 0.8rem;
}

.bag-remove {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: none;
    color: var(--color-text-muted);
    font-size: 1.3rem;
    cursor: pointer;
}

.bag-remove:hover {
    background: var(--color-bg-alt);
    color: var(--color-text);
}

.bag-footer {
    padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

.bag-footer[hidden] {
    display: none;
}

.bag-subtotal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1rem;
}

.bag-subtotal strong {
    color: var(--color-accent);
    font-size: 1.15rem;
}

.bag-subtotal small {
    flex-basis: 100%;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.bag-field {
    display: block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.bag-field input,
.bag-field textarea {
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    resize: vertical;
}

.bag-field input:focus,
.bag-field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.bag-error {
    margin: -4px 0 8px;
    color: #b00020;
    font-size: 0.8rem;
}

.bag-error[hidden],
.bag-clear[hidden] {
    display: none;
}

.bag-order {
    padding: 13px 16px;
    font-size: 0.95rem;
}

.bag-order:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bag-hint {
    margin-top: 8px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-align: center;
}

.bag-clear {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 9px;
    border: 1px dashed var(--color-border);
    border-radius: 10px;
    background: none;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    cursor: pointer;
}

.bag-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 3100;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100% - 32px);
    padding: 12px 16px;
    border-radius: 12px;
    background: #222222;
    color: #ffffff;
    font-size: 0.88rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transform: translate(-50%, 140%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.bag-toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.bag-toast button {
    flex-shrink: 0;
    border: none;
    background: none;
    color: #f3c79b;
    font-weight: 600;
    cursor: pointer;
}

/* ===== Filter chips ===== */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.filter-chip {
    flex-shrink: 0;
    padding: 8px 18px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-chip:hover {
    border-color: var(--color-accent);
}

.filter-chip.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

/* ===== Instagram call-to-action ===== */
.insta-cta {
    text-align: center;
    padding: 72px 5%;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.insta-cta h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.insta-cta p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.insta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 24px;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.insta-btn:hover {
    background: var(--color-accent-hover);
}

.insta-btn svg {
    width: 18px;
    height: 18px;
}

/* ===== Contact Section ===== */
.contact-section {
    text-align: center;
    max-width: 640px;
}

.contact-lead {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.contact-cta {
    display: inline-flex;
    width: auto;
    padding: 13px 28px;
    font-size: 0.95rem;
}

.contact-cta svg {
    width: 20px;
    height: 20px;
}

.contact-location {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.contact-follow {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.contact-follow h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    color: var(--color-accent);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social-icons a:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-alt);
    padding: 48px 5% 32px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-copy {
    margin-top: 18px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ===== Dynamic Content ===== */
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-count {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.empty-message {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--color-text-muted);
    font-style: italic;
    padding: 40px;
}

.empty-message .empty-whatsapp {
    display: inline-flex;
    width: auto;
    margin-top: 18px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-style: normal;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 5%;
    }

    /* Slim one-line header: logo left, menu button right */
    .nav {
        position: relative;
        z-index: 2;
        padding: 10px 5%;
    }

    .logo {
        order: 0;
    }

    .bag-toggle {
        order: 0;
        margin-left: auto;
        margin-right: 4px;
    }

    .logo h1 {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        padding: 9px;
        position: relative;
        z-index: 2;
        background: none;
        border: none;
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        height: 2px;
        background: var(--color-accent);
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Side panel slides in from the right */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1;
        display: flex;
        flex-direction: column;
        width: min(80vw, 320px);
        height: 100vh;
        height: 100dvh;
        padding: 76px 24px 24px;
        overflow-y: auto;
        background: var(--color-bg);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s;
    }

    .nav-open .nav-menu {
        transform: none;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links a {
        padding: 14px 0;
        border-bottom: 1px solid var(--color-border);
        font-size: 1.05rem;
    }

    /* Blurred page behind the open panel */
    .nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1;
        display: block;
        background: rgba(30, 10, 18, 0.25);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }

    .nav-backdrop[hidden] {
        display: none;
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Categories: 2 x 2 grid that fits on one screen */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card {
        padding: 18px 10px;
    }

    .category-image {
        height: 72px;
        margin-bottom: 10px;
    }

    .category-card h3 {
        font-size: 1.15rem;
        margin-bottom: 2px;
    }

    .category-card p {
        font-size: 0.8rem;
    }

    /* Shorter hero so products appear sooner */
    .hero {
        min-height: 0;
        padding: 48px 6%;
    }

    .hero-logo {
        width: 96px;
        height: 96px;
        margin-bottom: 20px;
    }

    .hero-content h2 {
        font-size: 2.4rem;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 1.25rem;
        margin-bottom: 28px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    /* Two products per row on phones */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card:hover {
        transform: none;
        box-shadow: none;
    }

    .product-badge {
        top: 8px;
        left: 8px;
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    /* Keep badge and watermark apart on narrow cards */
    .badge-deal-word {
        display: none;
    }

    .product-image .watermark {
        top: 9px;
        right: 8px;
        width: 50px;
    }

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

    .product-info h3 {
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .whatsapp-btn {
        padding: 8px 10px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .whatsapp-btn svg {
        width: 16px;
        height: 16px;
    }

    .whatsapp-label-full {
        display: none;
    }

    .whatsapp-label-short {
        display: inline;
    }

    .contact-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    /* Viewer fills the phone screen; WhatsApp button sits at the bottom */
    .product-viewer {
        padding: 0;
    }

    /* Phone: photo on top, whole view scrolls, WhatsApp button pinned to the bottom */
    .viewer-panel {
        display: block;
        max-width: none;
        height: 100%;
        border-radius: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .viewer-image {
        --viewer-h: 62vh;
        height: 62vh;
        height: 62dvh;
    }

    .viewer-info {
        display: block;
        overflow: visible;
        padding: 16px 18px 0;
    }

    .viewer-info .product-whatsapp {
        padding: 12px 0 calc(14px + env(safe-area-inset-bottom));
        box-shadow: 0 -8px 12px -8px rgba(0, 0, 0, 0.12);
    }

    .viewer-close {
        position: fixed;
    }

    @supports (height: 1dvh) {
        .viewer-image {
            --viewer-h: 62dvh;
        }
    }

    .viewer-nav {
        display: none;
    }

    .viewer-image.has-reel .viewer-nav {
        display: block;
        width: 34px;
        height: 34px;
        font-size: 1.4rem;
    }

    /* New Arrivals: sideways swipe row */
    .product-row {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        margin: 0 -5%;
        padding: 0 5% 6px;
        scrollbar-width: none;
    }

    .product-row::-webkit-scrollbar {
        display: none;
    }

    .product-row .product-card {
        flex: 0 0 62%;
        scroll-snap-align: start;
    }

    .product-row .empty-message {
        flex: 1;
    }

    /* Filter chips scroll sideways on phones */
    .filter-chips {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin: 0 -5% 24px;
        padding: 0 5% 4px;
        scrollbar-width: none;
    }

    .filter-chips::-webkit-scrollbar {
        display: none;
    }

    .viewer-info {
        padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
    }

    .viewer-info .whatsapp-btn {
        padding: 13px 16px;
        font-size: 0.95rem;
    }

    .viewer-info .whatsapp-label-full {
        display: inline;
    }

    .viewer-info .whatsapp-label-short {
        display: none;
    }
}

@media (max-width: 480px) {

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