/* ═══════════════════════════════════════════════════════════
   VALLE DI MARCO v2 — Light Wine Card Theme
   Basato su stile_v6 (demo). Flat, no gradients.
   ═══════════════════════════════════════════════════════════ */

:root {
    --v6-bg:            #faf7f2;
    --v6-surface:       #f0ebe3;
    --v6-card:          #ffffff;
    --v6-elevated:      #f5f1ea;
    --v6-wine:          #7b2d3f;
    --v6-wine-deep:     #5c1a2a;
    --v6-wine-soft:     #a84e62;
    --v6-gold:          #8b6914;
    --v6-gold-bright:   #a07b1a;
    --v6-gold-dim:      #b09a5e;
    --v6-gold-bg:       rgba(139,105,20,0.07);
    --v6-cream:         #2a1f1a;
    --v6-text:          #3d3028;
    --v6-text-sec:      #7a6b5a;
    --v6-text-muted:    #b3a494;
    --v6-border:        #e2dbd0;
    --v6-border-wine:   rgba(123,45,63,0.18);
    --v6-border-gold:   rgba(139,105,20,0.15);
    --v6-radius:        10px;
    --v6-radius-lg:     16px;
    --v6-font:          'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --v6-font-display:  'Playfair Display', Georgia, serif;
    --v6-font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --v6-ease:          0.25s ease;
    --v6-shadow:        0 2px 12px rgba(42,31,26,0.06);
    --v6-shadow-hover:  0 6px 24px rgba(42,31,26,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body.v6-wine {
    font-family: var(--v6-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--v6-text);
    background: var(--v6-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: 72px;
    min-height: 100vh;
}
body.v6-wine.v6-menu-only { padding-bottom: 0; }

a { color: var(--v6-wine); text-decoration: none; transition: color var(--v6-ease); }
a:hover { color: var(--v6-wine-soft); }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */

.v6-hero {
    text-align: center;
    padding: 52px 24px 36px;
    background: var(--v6-surface);
    border-bottom: 1px solid var(--v6-border);
    position: relative;
}
.v6-hero-logo {
    height: 120px;
    width: auto;
    margin-bottom: 24px;
    opacity: 0.9;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
}
.v6-hero-icon {
    font-size: 32px;
    color: var(--v6-wine);
    margin-bottom: 14px;
    opacity: 0.55;
}
.v6-hero-name {
    font-family: var(--v6-font-display);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--v6-cream);
    line-height: 1.1;
    margin-bottom: 14px;
}
.v6-hero-rule {
    width: 50px;
    height: 2px;
    background: var(--v6-wine);
    margin: 0 auto 14px;
    border: none;
}
.v6-hero-subtitle {
    font-family: var(--v6-font);
    font-size: 24px;
    font-style: italic;
    color: var(--v6-wine);
    margin-bottom: 6px;
    letter-spacing: 1px;
}
.v6-hero-tagline {
    font-family: var(--v6-font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--v6-text-muted);
}

/* Language */
.v6-lang {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 4px;
    z-index: 10;
}
.v6-lang a {
    font-family: var(--v6-font-body);
    font-size: 11px;
    font-weight: 700;
    color: var(--v6-text-muted);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all var(--v6-ease);
}
.v6-lang a.current {
    color: var(--v6-wine);
    border-color: var(--v6-border-wine);
    background: rgba(123,45,63,0.06);
}
.v6-lang a:hover { color: var(--v6-wine); }

/* ═══════════════════════════════════════════════════════════
   CATEGORY NAV — Pill bar
   ═══════════════════════════════════════════════════════════ */

.v6-cat-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    max-width: 700px;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--v6-surface);
    border-bottom: 1px solid var(--v6-border);
}
.v6-cat-nav::-webkit-scrollbar { display: none; }
.v6-cat-nav-item {
    flex-shrink: 1;
    font-family: var(--v6-font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--v6-text-muted);
    padding: 5px 12px;
    border: 1px solid var(--v6-border);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--v6-ease);
    white-space: nowrap;
    background: transparent;
    text-align: center;
}
.v6-cat-nav-item:hover,
.v6-cat-nav-item.active {
    color: var(--v6-wine);
    border-color: var(--v6-wine-soft);
    background: rgba(123,45,63,0.06);
}

/* ═══════════════════════════════════════════════════════════
   CONTAINER
   ═══════════════════════════════════════════════════════════ */

.v6-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* ═══════════════════════════════════════════════════════════
   WINE COLOR VARIANTS
   ═══════════════════════════════════════════════════════════ */

/* Bollicine — dorato champagne */
.v6-wine-gold .v6-cat-bar { background: #c9a96e; }
.v6-wine-gold .v6-cat-line { background: linear-gradient(90deg, #c9a96e 0%, var(--v6-border) 100%); }
.v6-wine-gold.v6-category-ornament::before { color: #c9a96e; }
.v6-card.v6-wine-gold .v6-card-color-dot { background: #c9a96e; }
.v6-card.v6-wine-gold.v6-card-open { border-color: rgba(201,169,110,0.4); }

/* Bianchi — giallo paglierino */
.v6-wine-straw .v6-cat-bar { background: #c4b44a; }
.v6-wine-straw .v6-cat-line { background: linear-gradient(90deg, #c4b44a 0%, var(--v6-border) 100%); }
.v6-wine-straw.v6-category-ornament::before { color: #c4b44a; }
.v6-card.v6-wine-straw .v6-card-color-dot { background: #c4b44a; }
.v6-card.v6-wine-straw.v6-card-open { border-color: rgba(196,180,74,0.4); }

/* Rossi — rosso rubino */
.v6-wine-ruby .v6-cat-bar { background: #8b1a2b; }
.v6-wine-ruby .v6-cat-line { background: linear-gradient(90deg, #8b1a2b 0%, var(--v6-border) 100%); }
.v6-wine-ruby.v6-category-ornament::before { color: #8b1a2b; }
.v6-card.v6-wine-ruby .v6-card-color-dot { background: #8b1a2b; }
.v6-card.v6-wine-ruby.v6-card-open { border-color: rgba(139,26,43,0.4); }

/* Rosati — rosa antico */
.v6-wine-rose .v6-cat-bar { background: #d4819a; }
.v6-wine-rose .v6-cat-line { background: linear-gradient(90deg, #d4819a 0%, var(--v6-border) 100%); }
.v6-wine-rose.v6-category-ornament::before { color: #d4819a; }
.v6-card.v6-wine-rose .v6-card-color-dot { background: #d4819a; }
.v6-card.v6-wine-rose.v6-card-open { border-color: rgba(212,129,154,0.4); }

/* Dolci e Passiti — ambra */
.v6-wine-amber .v6-cat-bar { background: #c97d32; }
.v6-wine-amber .v6-cat-line { background: linear-gradient(90deg, #c97d32 0%, var(--v6-border) 100%); }
.v6-wine-amber.v6-category-ornament::before { color: #c97d32; }
.v6-card.v6-wine-amber .v6-card-color-dot { background: #c97d32; }
.v6-card.v6-wine-amber.v6-card-open { border-color: rgba(201,125,50,0.4); }

/* Color dot badge sulla card */
.v6-card-color-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    opacity: 0.9;
    z-index: 4;
    box-shadow: 0 0 0 2.5px rgba(255,255,255,0.7);
}

/* ═══════════════════════════════════════════════════════════
   CATEGORY HEADER
   ═══════════════════════════════════════════════════════════ */

.v6-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 36px 0 4px;
    cursor: pointer;
    user-select: none;
    scroll-margin-top: 60px;
    padding: 10px 0;
}
.v6-category-header:first-of-type { margin-top: 10px; }

.v6-cat-bar {
    width: 3px;
    height: 28px;
    border-radius: 2px;
    background: var(--v6-wine);
    flex-shrink: 0;
}

.v6-cat-name {
    font-family: var(--v6-font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--v6-cream);
    letter-spacing: 1px;
    white-space: nowrap;
}
.v6-cat-line {
    flex: 1;
    height: 1px;
    background: var(--v6-border);
    min-width: 20px;
}
.v6-cat-chevron {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--v6-text-muted);
    border-bottom: 1.5px solid var(--v6-text-muted);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-top: -3px;
}
.v6-cat-chevron.v6-chevron-up {
    transform: rotate(-135deg);
    margin-top: 3px;
}

/* Subcategory header */
.v6-subcategory-header {
    font-family: var(--v6-font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--v6-wine-soft);
    padding: 8px 0 4px;
    margin-top: 12px;
    letter-spacing: 0.5px;
}

/* Ornament sotto categoria */
.v6-category-ornament {
    text-align: center;
    font-size: 9px;
    color: var(--v6-border);
    margin-bottom: 14px;
    letter-spacing: 6px;
}
.v6-category-ornament::before {
    content: '·  ✦  ·';
    color: var(--v6-wine-soft);
    font-size: 8px;
    letter-spacing: 4px;
    opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT LIST
   ═══════════════════════════════════════════════════════════ */

.v6-product-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 12px;
}

/* ═══════════════════════════════════════════════════════════
   CARD — Horizontal: image left, body right
   ═══════════════════════════════════════════════════════════ */

.v6-card {
    background: var(--v6-card);
    border: 1px solid var(--v6-border);
    border-radius: var(--v6-radius-lg);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    overflow: hidden;
    position: relative;
    transition: border-color var(--v6-ease), box-shadow var(--v6-ease);
    box-shadow: var(--v6-shadow);
    cursor: pointer;
}
.v6-card.v6-card-open {
    border-color: var(--v6-wine-soft);
    box-shadow: var(--v6-shadow-hover);
}
.v6-card:active { transform: scale(0.985); }
.v6-card.v6-card-open:active { transform: none; }
@media (hover: hover) {
    .v6-card:hover {
        border-color: var(--v6-border-wine);
        box-shadow: var(--v6-shadow-hover);
    }
}

/* Image */
.v6-card-img {
    flex: 0 0 auto;
    width: 115px;
    height: 135px;
    margin: 12px;
    border-radius: var(--v6-radius);
    overflow: hidden;
    background: var(--v6-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--v6-border);
    flex-shrink: 0;
}
.v6-card-img img,
.v6-card-img picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.v6-card:hover .v6-card-img img,
.v6-card:hover .v6-card-img picture img {
    transform: scale(1.04);
}
.v6-card-img picture { display: block; width: 100%; height: 100%; }

/* Placeholder */
.v6-card-img-placeholder {
    background: rgba(123,45,63,0.06);
}
.v6-card-monogram {
    font-family: var(--v6-font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--v6-wine);
    opacity: 0.18;
    text-transform: uppercase;
    line-height: 1;
    user-select: none;
}

/* Body */
.v6-card-body {
    padding: 14px 40px 14px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    justify-content: center;
    gap: 4px;
}
.v6-card-name-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.v6-card-name {
    font-family: var(--v6-font);
    font-size: 19px;
    font-weight: 600;
    color: var(--v6-cream);
    line-height: 1.25;
}

/* Wine-specific meta: producer, vol% */
.v6-card-meta {
    font-family: var(--v6-font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--v6-wine-soft);
    letter-spacing: 0.3px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}
.v6-card-meta span { white-space: nowrap; }

.v6-card-desc {
    font-family: var(--v6-font);
    font-size: 13px;
    font-style: italic;
    line-height: 1.45;
    color: var(--v6-text-sec);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.v6-card-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}
.v6-card-price {
    font-family: var(--v6-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--v6-wine);
    white-space: nowrap;
}
.v6-card-price small {
    font-size: 14px;
    font-weight: 600;
}
.v6-card-price-sep {
    color: var(--v6-text-muted);
    font-weight: 400;
    margin: 0 2px;
}
.v6-card-allergens {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    align-items: center;
}
.v6-card-allergens img {
    width: 16px;
    height: 16px;
    opacity: 0.35;
    border-radius: 50%;
    transition: opacity var(--v6-ease);
}
.v6-card-allergens img:hover { opacity: 0.7; }

/* Badge */
.v6-badge {
    background: var(--v6-gold-bg);
    border: 1px solid var(--v6-border-gold);
    color: var(--v6-gold);
    font-family: var(--v6-font-body);
    font-size: 9px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}
.v6-badge .fas { font-size: 8px; }

/* Action */
.v6-card-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px 12px 0;
    flex-shrink: 0;
}
.v6-card-has-action .v6-card-body { padding-right: 4px; }

.v6-item-add {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--v6-wine-soft);
    background: transparent;
    color: var(--v6-wine);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--v6-ease);
}
.v6-item-add:hover {
    background: var(--v6-wine);
    color: #fff;
    border-color: var(--v6-wine);
}
.v6-item-add:active { transform: scale(0.88); }

.v6-item-qty {
    width: 34px;
    height: 28px;
    border: 1px solid var(--v6-border);
    border-radius: 6px;
    text-align: center;
    font-family: var(--v6-font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--v6-cream);
    background: var(--v6-bg);
    -moz-appearance: textfield;
    appearance: textfield;
}
.v6-item-qty::-webkit-inner-spin-button,
.v6-item-qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.v6-item-qty:focus { outline: none; border-color: var(--v6-wine); }

/* ═══════════════════════════════════════════════════════════
   CARD DETAIL — Pannello espandibile (click to reveal)
   ═══════════════════════════════════════════════════════════ */

.v6-card-expand-icon {
    position: absolute;
    top: 30px;
    right: 14px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--v6-wine-soft);
    border-bottom: 1.5px solid var(--v6-wine-soft);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    z-index: 3;
}
.v6-card.v6-card-open .v6-card-expand-icon {
    transform: rotate(-135deg);
}
.v6-card-detail {
    flex-basis: 100%;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    order: 99;
}
.v6-card.v6-card-open .v6-card-detail {
    max-height: 500px;
    opacity: 1;
}
.v6-card-detail-inner {
    padding: 0 16px 16px;
    border-top: 1px solid var(--v6-border);
    margin: 0 12px;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.v6-detail-desc {
    font-family: var(--v6-font);
    font-size: 13px;
    font-style: italic;
    line-height: 1.55;
    color: var(--v6-text-sec);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--v6-border);
    margin-bottom: 2px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.v6-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--v6-font-body);
    font-size: 12px;
    line-height: 1.5;
}
.v6-detail-label {
    color: var(--v6-wine);
    font-weight: 600;
    white-space: nowrap;
    min-width: 100px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.v6-detail-label::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--v6-wine);
    opacity: 0.45;
    flex-shrink: 0;
    margin-top: 5px;
}
.v6-detail-value {
    color: var(--v6-cream);
    flex: 1;
}
.v6-detail-row-pairing {
    flex-direction: column;
    gap: 4px;
}
.v6-detail-row-pairing .v6-detail-value {
    padding-left: 20px;
    font-style: italic;
    color: var(--v6-text-muted);
    font-size: 11.5px;
}

/* ═══════════════════════════════════════════════════════════
   CART — Bottom bar / Desktop sidebar
   ═══════════════════════════════════════════════════════════ */

.v6-cart {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 10000;
    background: var(--v6-wine-deep);
    height: 60px;
    border-radius: var(--v6-radius-lg) var(--v6-radius-lg) 0 0;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
    padding: 0 16px;
    transition: all 0.35s ease;
    overflow: hidden;
    border-top: 1px solid var(--v6-border-wine);
}
.v6-cart-topbar {
    display: flex;
    align-items: center;
    height: 60px;
    cursor: pointer;
}
.v6-cart-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}
.v6-cart-arrow i {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    transition: transform 0.25s ease;
}
.v6-cart-title {
    font-family: var(--v6-font-body);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.v6-cart-count {
    min-width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--v6-font-body);
    font-size: 14px;
    font-weight: 800;
    margin-left: 10px;
    flex-shrink: 0;
    padding: 0 4px;
}
.v6-cart-body { display: none; padding: 0 0 32px; }

.v6-cart.aperto {
    height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px;
}
.v6-cart.aperto .v6-cart-body { display: block; }
.v6-cart.aperto .v6-cart-topbar {
    position: sticky;
    top: 0;
    background: var(--v6-wine-deep);
    z-index: 2;
    margin-bottom: 8px;
}
.v6-cart.aperto .v6-cart-arrow i { transform: rotate(180deg); }

.v6-cart .table { color: #f2e4d0; font-family: var(--v6-font-body); font-size: 14px; width: 100%; }
.v6-cart .table td { border-bottom: 1px solid rgba(255,255,255,0.1); border-top: none; padding: 10px 4px; vertical-align: middle; }
.v6-cart .fas { color: #f2e4d0; cursor: pointer; transition: transform 0.2s; }
.v6-cart .fas:hover { transform: scale(1.2); }
.v6-cart .quantitacarrello { font-weight: 700; margin: 0 4px; }
.v6-cart .totale { font-size: 18px; font-weight: 700; color: #f2e4d0; padding: 12px 0; }

.v6-cart-cta {
    display: block;
    background: #fff;
    color: var(--v6-wine-deep);
    font-family: var(--v6-font-body);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    padding: 14px;
    border-radius: var(--v6-radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    transition: background var(--v6-ease);
}
.v6-cart-cta:hover { background: #f2e4d0; color: var(--v6-wine-deep); text-decoration: none; }
.v6-cart-empty {
    display: block;
    font-family: var(--v6-font-body);
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    text-align: center;
    transition: color var(--v6-ease);
}
.v6-cart-empty:hover { color: rgba(255,255,255,0.8); }

.v6-cart.cart-flash,
.v6-cart.carrello-aggiunta { background: #3a0f1b !important; transition: background 0.3s ease; }
@keyframes v6pulse {
    0% { transform: scale(1); } 50% { transform: scale(1.25); } 100% { transform: scale(1); }
}
.v6-cart-count.pulse { animation: v6pulse 0.3s ease; }

/* Desktop sidebar */
@media (min-width: 768px) {
    .v6-cart {
        position: fixed;
        top: 0; left: auto; right: 0; bottom: 0;
        width: 320px;
        height: 100vh;
        border-radius: 0;
        padding: 24px 20px;
        overflow-y: auto;
        box-shadow: -2px 0 20px rgba(0,0,0,0.08);
        border-top: none;
        border-left: 1px solid rgba(255,255,255,0.08);
    }
    .v6-cart .v6-cart-topbar {
        height: auto; cursor: default;
        margin-bottom: 16px; padding-bottom: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .v6-cart .v6-cart-body { display: block; }
    .v6-cart .v6-cart-count { display: none; }
    .v6-cart .v6-cart-arrow { display: none; }
    body.v6-wine:not(.v6-menu-only) { padding-bottom: 0; padding-right: 320px; }
    body.v6-wine.v6-menu-only .v6-container { max-width: 780px; }
}

/* ═══════════════════════════════════════════════════════════
   ALLERGENS / INFO
   ═══════════════════════════════════════════════════════════ */

.v6-allergens-section {
    margin-top: 48px;
    padding: 24px 0 48px;
    border-top: 1px solid var(--v6-border);
}
.v6-allergens-title {
    font-family: var(--v6-font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--v6-text-sec);
    margin-bottom: 14px;
}
.v6-allergens-list { display: flex; flex-wrap: wrap; gap: 8px; }
.v6-allergen-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--v6-card);
    border: 1px solid var(--v6-border);
    border-radius: 50px;
    padding: 6px 14px;
    font-family: var(--v6-font-body);
    font-size: 11px;
    color: var(--v6-text-sec);
    transition: border-color var(--v6-ease);
    box-shadow: var(--v6-shadow);
}
.v6-allergen-tag:hover { border-color: var(--v6-wine-soft); color: var(--v6-wine); }
.v6-allergen-tag img { width: 18px; height: 18px; border-radius: 50%; opacity: 0.45; }

/* ═══════════════════════════════════════════════════════════
   FOOTER NOTE
   ═══════════════════════════════════════════════════════════ */

.v6-footer-note {
    text-align: center;
    padding: 20px 16px 40px;
}
.v6-footer-rule {
    width: 40px;
    height: 1px;
    background: var(--v6-border);
    margin: 0 auto 14px;
    border: none;
}
.v6-footer-ornament {
    font-size: 12px;
    color: var(--v6-wine-soft);
    margin-bottom: 10px;
    opacity: 0.4;
    letter-spacing: 8px;
}
.v6-footer-note p {
    font-family: var(--v6-font);
    font-style: italic;
    font-size: 14px;
    color: var(--v6-text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════ */

.d-none { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
    .v6-hero-logo { height: 80px; margin-bottom: 16px; }
    .v6-card-body { padding: 12px 36px 12px 0; gap: 3px; }
    .v6-card-expand-icon { top: 24px; right: 12px; }
    .v6-card-color-dot { top: 10px; right: 10px; width: 10px; height: 10px; }
    .v6-card-detail-inner { padding: 0 12px 14px; margin: 0 8px; padding-top: 10px; }
    .v6-detail-label { min-width: 80px; font-size: 11px; }
    .v6-detail-value { font-size: 11px; }
    .v6-detail-desc { font-size: 12px; line-height: 1.5; }
    .v6-detail-row { gap: 8px; }
    .v6-detail-row-pairing .v6-detail-value { padding-left: 14px; font-size: 11px; }
}

@media (max-width: 360px) {
    .v6-hero-logo { height: 100px; }
    .v6-hero-subtitle { font-size: 19px; }
    .v6-cat-name { font-size: 19px; }
    .v6-card-img { width: 85px; height: 105px; margin: 8px; }
    .v6-card-body { padding: 10px 30px 10px 0; gap: 3px; }
    .v6-card-name { font-size: 16px; }
    .v6-card-desc { font-size: 12px; -webkit-line-clamp: 2; line-clamp: 2; }
    .v6-card-price { font-size: 17px; }
    .v6-card-action { padding: 10px 8px 10px 0; }
    .v6-item-add { width: 32px; height: 32px; font-size: 13px; }
    .v6-card-expand-icon { top: 22px; right: 10px; width: 6px; height: 6px; }
    .v6-card-detail-inner { padding: 0 8px 12px; margin: 0 4px; padding-top: 8px; gap: 6px; }
    .v6-detail-label { min-width: 65px; font-size: 10.5px; }
    .v6-detail-value { font-size: 10.5px; }
    .v6-detail-desc { font-size: 11.5px; }
    .v6-detail-row { gap: 6px; }
    .v6-detail-row-pairing .v6-detail-value { padding-left: 12px; font-size: 10.5px; }
}

@media (min-width: 600px) {
    .v6-card-img { width: 140px; height: 160px; margin: 14px; }
    .v6-card-body { padding: 18px 42px 18px 0; gap: 6px; }
    .v6-card-name { font-size: 22px; }
    .v6-card-desc { font-size: 14px; }
    .v6-card-price { font-size: 22px; }
    .v6-cat-name { font-size: 26px; }
    .v6-hero-logo { height: 150px; }
    .v6-hero-subtitle { font-size: 28px; }
}

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════════════════ */

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(123,45,63,0.10); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(123,45,63,0.22); }

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

@keyframes v6fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.v6-hero { animation: v6fadeIn 0.6s ease-out; }
.v6-category-header { animation: v6fadeIn 0.4s ease-out both; }
.v6-card { animation: v6fadeIn 0.35s ease-out both; }

.v6-product-list .v6-card:nth-child(1) { animation-delay: 0.04s; }
.v6-product-list .v6-card:nth-child(2) { animation-delay: 0.08s; }
.v6-product-list .v6-card:nth-child(3) { animation-delay: 0.12s; }
.v6-product-list .v6-card:nth-child(4) { animation-delay: 0.16s; }
.v6-product-list .v6-card:nth-child(5) { animation-delay: 0.20s; }
.v6-product-list .v6-card:nth-child(n+6) { animation-delay: 0.24s; }
