/* =============================================================================
   altVIN - Premium Romanian Wine Shop
   Brand CSS Stylesheet
   ============================================================================= */

/* =============================================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================================= */

:root {
    /* Wine color palette */
    --wine-darkest: #1a000a;
    --wine-dark: #2d0015;
    --wine: #4a0018;
    --wine-medium: #6b1a2a;
    --wine-light: #8b3a4a;
    --wine-pale: #c4687a;

    /* Gold palette */
    --gold-dark: #8b6914;
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --gold-pale: #f5e6c0;

    /* Neutrals */
    --cream: #f8f4ef;
    --cream-dark: #ede8e0;
    --white: #ffffff;
    --black: #0a0a0a;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #8a8a8a;
    --border: #d4c8be;
    --border-light: #e8e0d8;

    /* Status colors */
    --status-pending: #b45309;
    --status-processing: #1d4ed8;
    --status-shipped: #0369a1;
    --status-delivered: #15803d;
    --status-cancelled: #dc2626;

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1200px;
    --nav-height: 72px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --shadow-wine: 0 4px 24px rgba(74,0,24,0.25);

    /* Transitions */
    --transition: 0.25s ease;
    --transition-slow: 0.45s ease;
}

/* =============================================================================
   2. CSS RESET + BASE
   ============================================================================= */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    line-height: 1.2;
    color: var(--wine-dark);
}

a {
    color: var(--wine);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--wine-medium);
}

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

p {
    margin-bottom: 1rem;
}

ul, ol {
    list-style: none;
}

button {
    font-family: var(--font-sans);
    cursor: pointer;
}

input, select, textarea {
    font-family: var(--font-sans);
}

/* =============================================================================
   3. LAYOUT UTILITIES
   ============================================================================= */

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

.hidden {
    display: none !important;
}

.page-main {
    padding-top: var(--nav-height);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* =============================================================================
   4. NAVIGATION (Sticky top nav)
   ============================================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 0, 10, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--cream);
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color var(--transition);
}

.nav-logo strong {
    color: var(--gold);
    font-weight: 700;
}

.nav-logo:hover {
    color: var(--gold-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.nav-link {
    color: rgba(248, 244, 239, 0.85);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0.25rem 0;
    position: relative;
    text-decoration: none;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-cart-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.375rem;
    line-height: 1;
    transition: color var(--transition);
}

.nav-cart-btn:hover {
    color: var(--gold-light);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--gold);
    color: var(--wine-darkest);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.375rem;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle:hover span {
    background: var(--gold-light);
}

/* =============================================================================
   5. BUTTONS
   ============================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1.4;
    gap: var(--space-sm);
}

.btn-primary {
    background: var(--wine);
    color: var(--cream);
    border-color: var(--wine);
}

.btn-primary:hover {
    background: var(--wine-medium);
    border-color: var(--wine-medium);
    color: var(--cream);
    transform: translateY(-1px);
    box-shadow: var(--shadow-wine);
}

.btn-gold {
    background: var(--gold);
    color: var(--wine-darkest);
    border-color: var(--gold);
    font-weight: 600;
}

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--wine-darkest);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--wine);
    border-color: var(--wine);
}

.btn-outline:hover {
    background: var(--wine);
    color: var(--cream);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--wine-darkest);
}

.btn-ghost {
    background: transparent;
    color: var(--cream);
    border-color: rgba(248, 244, 239, 0.3);
}

.btn-ghost:hover {
    background: rgba(248, 244, 239, 0.1);
    border-color: rgba(248, 244, 239, 0.6);
    color: var(--cream);
}

.btn-disabled,
.btn:disabled {
    background: var(--border);
    color: var(--text-muted);
    border-color: var(--border);
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: none;
}

.btn-sm {
    padding: 0.375rem 1rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-icon {
    padding: 0.625rem;
    border-radius: var(--radius-sm);
}

/* =============================================================================
   6. HERO SECTION
   ============================================================================= */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--wine-darkest) 0%, var(--wine-dark) 40%, var(--wine-medium) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: var(--space-xl);
}

.hero-eyebrow {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    font-family: var(--font-sans);
    font-weight: 500;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 7rem);
    color: var(--cream);
    margin-bottom: var(--space-sm);
    font-weight: 700;
    line-height: 1;
}

.hero-title strong {
    color: var(--gold);
}

.hero-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(248, 244, 239, 0.75);
    margin-bottom: var(--space-lg);
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 1.5rem auto;
    opacity: 0.6;
}

.hero-desc {
    color: rgba(248, 244, 239, 0.65);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto var(--space-2xl);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-hint {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(248, 244, 239, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

/* =============================================================================
   7. SECTIONS (Generic)
   ============================================================================= */

.section-featured,
.section-story,
.section-categories {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-eyebrow {
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    font-family: var(--font-sans);
    font-weight: 500;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--wine-dark);
    margin-bottom: var(--space-sm);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* =============================================================================
   8. PRODUCT CARDS
   ============================================================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--cream-dark);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--wine-dark), var(--wine-medium));
}

.product-card-body {
    padding: var(--space-lg);
    flex: 1;
}

.product-category-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--gold-pale);
    color: var(--gold-dark);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.product-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--wine-dark);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--wine);
}

.product-compare-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.product-price-original-sm {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.85rem;
    margin-right: 4px;
}

.product-card-footer {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
}

/* ── Quick-add widget (shop listing page) ─────────────────────── */
.quick-add {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}
.qty-selector-sm {
    display: flex;
    align-items: center;
    border: 1px solid #d4c4b0;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.qty-btn-sm {
    background: #f8f4ef;
    border: none;
    width: 28px;
    height: 30px;
    cursor: pointer;
    font-size: 14px;
    color: #4a0018;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}
.qty-btn-sm:hover {
    background: #4a0018;
    color: #fff;
}
.qty-input-sm {
    width: 34px;
    height: 30px;
    border: none;
    border-left: 1px solid #d4c4b0;
    border-right: 1px solid #d4c4b0;
    text-align: center;
    font-size: 13px;
    background: #fff;
    -moz-appearance: textfield;
}
.qty-input-sm::-webkit-inner-spin-button,
.qty-input-sm::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.quick-add-btn {
    flex: 1;
    white-space: nowrap;
    min-width: 0;
}
/* Home-page card footer: quick-add sits inline next to the price */
.phg3-footer .quick-add {
    margin-top: 0;
    flex-shrink: 0;
}
/* ──────────────────────────────────────────────────────────────── */

.product-badge-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--wine);
    color: var(--cream);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-badge-stock {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--status-pending);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.product-badge-out {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--status-cancelled);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.out-of-stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: #fee2e2;
    color: var(--status-cancelled);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    letter-spacing: 0.03em;
}

.product-out-of-stock {
    opacity: 0.7;
}

.product-out-of-stock .product-card-image {
    filter: grayscale(0.3);
}

/* =============================================================================
   9. PAGE HERO (Inner pages)
   ============================================================================= */

.page-hero {
    background: linear-gradient(135deg, var(--wine-dark) 0%, var(--wine-medium) 100%);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.page-hero-sm {
    padding: var(--space-2xl) 0;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--cream);
    margin-bottom: var(--space-sm);
}

.page-subtitle {
    color: rgba(248, 244, 239, 0.7);
    font-size: 1.1rem;
}

.page-heading {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--wine-dark);
    margin: var(--space-2xl) 0 var(--space-xl);
}

/* =============================================================================
   10. FILTER TABS
   ============================================================================= */

.filter-tabs {
    display: flex;
    gap: var(--space-sm);
    margin: var(--space-2xl) 0;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1.25rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: var(--white);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: var(--font-sans);
}

.filter-tab:hover {
    border-color: var(--wine);
    color: var(--wine);
}

.filter-tab.active {
    background: var(--wine);
    border-color: var(--wine);
    color: var(--cream);
}

/* =============================================================================
   11. FORMS
   ============================================================================= */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.form-label .required {
    color: var(--status-cancelled);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--wine);
    box-shadow: 0 0 0 3px rgba(74, 0, 24, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:disabled {
    background: var(--cream-dark);
    color: var(--text-muted);
    cursor: not-allowed;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a4a4a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-row {
    display: grid;
    gap: var(--space-md);
}

.form-row-2 {
    grid-template-columns: 1fr 1fr;
}

.form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-check-inline {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.form-check {
    margin-top: 0.2rem;
    width: 1rem;
    height: 1rem;
    accent-color: var(--wine);
    cursor: pointer;
    flex-shrink: 0;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.5;
}

.form-check-label a {
    color: var(--wine);
    text-decoration: underline;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.form-error {
    font-size: 0.8rem;
    color: var(--status-cancelled);
    margin-top: 0.25rem;
}

/* =============================================================================
   12. CART PAGE
   ============================================================================= */

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-2xl);
    align-items: start;
    padding-bottom: var(--space-3xl);
}

.cart-empty {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
}

.cart-empty-icon {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
}

.cart-empty h2 {
    color: var(--wine-dark);
    margin-bottom: var(--space-sm);
}

.cart-empty p {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 2px solid var(--border);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 500;
}

.cart-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.cart-item-img {
    width: 64px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-item-img-placeholder {
    width: 64px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-dark);
    border-radius: var(--radius-sm);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cart-item-product {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 200px;
}

.cart-item-name {
    font-weight: 500;
    color: var(--wine-dark);
    font-size: 0.925rem;
}

.cart-item-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.cart-discount-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 10px;
    margin-top: 4px;
}

.cart-price-original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.cart-price-effective {
    color: var(--wine);
    font-weight: 600;
    font-size: 0.95rem;
}

.summary-row-savings { color: var(--text-muted); font-size: 0.88rem; }
.summary-row-discount { font-size: 0.9rem; }

/* ── Quantity discount tiers — product page ─────────────────────────────── */
.product-discount-tiers {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    background: #f8f5f0;
    border-radius: 8px;
    border: 1px solid #e8dfc8;
}
.discount-tiers-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--wine);
    margin-bottom: 0.6rem;
}
.discount-tiers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.discount-tier-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #d8cdb8;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.82rem;
    transition: background 0.2s, border-color 0.2s;
}
.discount-tier-pill-active {
    background: #e8f5e9;
    border-color: #2e7d32;
    color: #1b5e20;
    font-weight: 600;
}
.tier-qty-label { color: var(--text-secondary); }
.tier-pct-label { color: var(--wine); font-weight: 700; }
.discount-tier-pill-active .tier-qty-label { color: #2e7d32; }
.discount-tier-pill-active .tier-pct-label { color: #1b5e20; }

.product-active-discount {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

/* ── Discount pills on product cards ────────────────────────────────────── */
.card-discount-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0.5rem 0;
}
.card-discount-pill {
    font-size: 0.72rem;
    font-weight: 600;
    color: #2e7d32;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    padding: 2px 8px;
    white-space: nowrap;
}
.card-discount-pills-sm .card-discount-pill {
    font-size: 0.68rem;
    padding: 2px 6px;
}

/* ── Price display with automatic discount (first tier min_qty=1) ─────────── */
.price-original-crossed {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    margin-right: 6px;
}
.price-effective {
    color: #4a0018;
    font-size: 1.5rem;
    font-weight: 700;
}
.price-discount-badge {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 6px;
    vertical-align: middle;
}
.discount-tier-label {
    font-size: 0.82rem;
    color: #555;
}

/* Card price with auto-discount */
.phg3-price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 0.82rem;
    margin-right: 4px;
}
.phg3-price-discounted {
    color: #4a0018;
    font-weight: 700;
}
.phg3-price-badge {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 4px;
    vertical-align: middle;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color var(--transition);
}

.cart-remove-btn:hover {
    color: var(--status-cancelled);
}

.cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.cart-summary {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    position: sticky;
    top: calc(var(--nav-height) + 1rem);
}

.cart-summary-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--wine-dark);
    margin-bottom: var(--space-lg);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.summary-total {
    border-top: 2px solid var(--wine);
    border-bottom: none;
    padding-top: var(--space-md);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--wine-dark);
}

.free-shipping {
    color: var(--status-delivered);
    font-weight: 500;
}

.cart-summary-assurances {
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.assurance-item-sm {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.assurance-item-sm span:first-child {
    font-size: 1rem;
}

.shipping-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
    font-style: italic;
}

.summary-shipping-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px dashed var(--border-light);
}

/* =============================================================================
   13. CHECKOUT PAGE
   ============================================================================= */

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-2xl);
    align-items: start;
    padding-bottom: var(--space-3xl);
}

.checkout-section {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.checkout-section-compact {
    padding: var(--space-lg) var(--space-xl);
}

.checkout-section-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--wine-dark);
    margin-bottom: var(--space-lg);
}

.delivery-options { display: flex; flex-direction: column; gap: 10px; }
.delivery-option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 2px solid #e8ddd0; border-radius: 10px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.delivery-option:has(input:checked) { border-color: #4a0018; background: #fdf9f4; }
.delivery-option input { width: 18px; height: 18px; accent-color: #4a0018; flex-shrink: 0; }
.delivery-option-content { display: flex; align-items: center; gap: 12px; }
.delivery-icon { font-size: 1.5rem; }
.delivery-option strong { display: block; font-size: 0.95rem; color: #1a1a1a; }
.delivery-option p { margin: 2px 0 0 0; font-size: 0.82rem; color: #666; }

.payment-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.payment-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option.selected,
.payment-option:has(input:checked) {
    border-color: var(--wine);
    background: rgba(74, 0, 24, 0.04);
}

.payment-option-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.payment-icon {
    font-size: 1.5rem;
}

.payment-option-content strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.payment-option-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.bank-transfer-box {
    margin-top: var(--space-md);
    padding: var(--space-lg);
    border: 2px solid var(--gold);
    border-radius: var(--radius-md);
    background: rgba(201, 168, 76, 0.05);
}

.bank-transfer-box h4 {
    color: var(--gold-dark);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.375rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.bank-detail-row:last-of-type {
    border-bottom: none;
}

.bank-detail-label {
    color: var(--text-muted);
}

.bank-detail-value {
    font-weight: 500;
    color: var(--text-primary);
}

.iban {
    font-family: monospace;
    font-size: 0.9em;
    letter-spacing: 0.05em;
    color: var(--wine);
}

.bank-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--cream);
    border-radius: var(--radius-sm);
    line-height: 1.5;
}

.checkout-summary {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    position: sticky;
    top: calc(var(--nav-height) + 1rem);
}

.checkout-summary-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--wine-dark);
    margin-bottom: var(--space-lg);
}

.checkout-item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.875rem;
}

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

.checkout-item-name {
    color: var(--text-primary);
    font-weight: 500;
}

.checkout-item-qty {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.checkout-totals {
    margin-top: var(--space-md);
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.375rem 0;
    font-size: 0.9rem;
}

.checkout-grand-total {
    border-top: 2px solid var(--wine);
    padding-top: var(--space-sm);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--wine-dark);
}

.company-fields {
    padding-top: var(--space-md);
}

.badge-coming-soon {
    background: var(--cream-dark);
    color: var(--text-muted);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* =============================================================================
   14. ORDER CONFIRMATION PAGE
   ============================================================================= */

.confirm-box {
    max-width: 700px;
    margin: var(--space-3xl) auto;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.confirm-icon {
    width: 72px;
    height: 72px;
    background: var(--status-delivered);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--space-lg);
}

.confirm-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--wine-dark);
    margin-bottom: var(--space-sm);
}

.confirm-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
}

.confirm-order-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--cream);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2xl);
}

.confirm-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.confirm-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--wine);
}

.confirm-items {
    text-align: left;
    margin-bottom: var(--space-2xl);
}

.confirm-items h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--wine-dark);
    margin-bottom: var(--space-sm);
}

.confirm-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--space-md);
}

.confirm-table th,
.confirm-table td {
    padding: 0.625rem var(--space-sm);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.875rem;
}

.confirm-table th {
    color: var(--text-muted);
    font-weight: 500;
    text-align: left;
}

.confirm-totals {
    margin-top: var(--space-md);
    text-align: right;
}

.confirm-total-row {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-2xl);
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.confirm-total-final {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--wine-dark);
    border-top: 2px solid var(--wine);
    padding-top: var(--space-sm);
    margin-top: var(--space-sm);
}

.confirm-bank-transfer {
    background: rgba(201, 168, 76, 0.08);
    border: 2px solid var(--gold);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: left;
    margin-bottom: var(--space-xl);
}

.confirm-bank-transfer h3 {
    color: var(--gold-dark);
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.bank-details-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.confirm-delivery {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-2xl);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.confirm-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* =============================================================================
   15. PRODUCT DETAIL PAGE
   ============================================================================= */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    padding: var(--space-2xl) 0;
}

.product-main-image {
    width: 100%;
    border-radius: var(--radius-md);
}

.product-image-lg {
    min-height: 400px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--wine-dark), var(--wine-medium));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.product-detail-name {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--wine-dark);
    margin: var(--space-sm) 0 var(--space-lg);
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.product-price-lg {
    font-size: 2rem;
    font-weight: 600;
    color: var(--wine);
}

.product-compare-price-lg {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1.1rem;
}

.product-savings {
    color: var(--status-delivered);
    font-size: 0.875rem;
    font-weight: 500;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.product-stock-info {
    margin-bottom: var(--space-lg);
}

.stock-ok {
    color: var(--status-delivered);
    font-size: 0.875rem;
    font-weight: 500;
}

.stock-warning {
    color: var(--status-pending);
    font-size: 0.875rem;
    font-weight: 500;
}

.stock-out {
    color: var(--status-cancelled);
    font-size: 0.875rem;
    font-weight: 500;
}

.product-add-form {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    background: var(--cream-dark);
    border: none;
    width: 40px;
    height: 44px;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--wine);
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--gold-pale);
}

.qty-input {
    width: 56px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--white);
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-selector-sm {
    border-width: 1px;
}

.qty-selector-sm .qty-btn {
    width: 32px;
    height: 36px;
    font-size: 1rem;
}

.qty-selector-sm .qty-input {
    width: 44px;
    height: 36px;
    font-size: 0.875rem;
}

.product-assurances {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.assurance-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.similar-products {
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--border-light);
}

.section-title-sm {
    font-size: 1.5rem;
    color: var(--wine-dark);
    margin-bottom: var(--space-xl);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: var(--space-xl) 0;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--wine);
}

.breadcrumb-sep {
    color: var(--border);
}

.breadcrumb-current {
    color: var(--text-secondary);
}

/* =============================================================================
   16. BRAND STORY SECTION
   ============================================================================= */

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.section-story {
    background: var(--cream-dark);
}

.story-visual {
    display: flex;
    justify-content: center;
}

.story-image-frame {
    position: relative;
    width: 300px;
    height: 380px;
    background: linear-gradient(135deg, var(--wine-dark), var(--wine-medium));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.story-decoration {
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: calc(var(--radius-lg) + 8px);
    pointer-events: none;
}

.story-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.story-number-label {
    color: rgba(248, 244, 239, 0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-xs);
}

.story-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.story-values {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.story-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.story-value-icon {
    font-size: 1.5rem;
}

/* =============================================================================
   17. CATEGORY TILES
   ============================================================================= */

.section-categories {
    background: var(--white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.category-tile {
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    transition: transform var(--transition);
}

.category-tile:hover {
    transform: translateY(-4px);
}

.category-alb {
    background: linear-gradient(135deg, #8b7a5a 0%, #c4b090 100%);
}

.category-rose {
    background: linear-gradient(135deg, #9b4d6b 0%, #d4789a 100%);
}

.category-rosu {
    background: linear-gradient(135deg, var(--wine-dark) 0%, var(--wine-medium) 100%);
}

.category-tile-inner {
    padding: var(--space-xl);
    color: white;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.category-tile-inner h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    color: white;
}

.category-tile-inner p {
    opacity: 0.8;
    font-size: 0.875rem;
    margin: 0;
}

/* =============================================================================
   18. AGE GATE
   ============================================================================= */

.age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--wine-darkest);
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-gate-overlay.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        pointer-events: none;
    }
}

.age-gate-inner {
    text-align: center;
    padding: var(--space-3xl);
    max-width: 520px;
}

.age-gate-logo-img {
    width: 90px;
    height: auto;
    display: block;
    margin: 0 auto var(--space-md);
    filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(5deg) brightness(0.85);
    /* rezultat: logo auriu/crem pe fundal închis */
}

.age-gate-logo {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--cream);
    letter-spacing: 0.02em;
    margin-bottom: var(--space-sm);
}

.age-gate-logo strong {
    color: var(--gold);
}

.age-gate-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    color: rgba(248, 244, 239, 0.6);
    margin-bottom: var(--space-xl);
}

.age-gate-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
    margin: var(--space-xl) auto;
}

.age-gate-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--cream);
    margin-bottom: var(--space-md);
}

.age-gate-text {
    color: rgba(248, 244, 239, 0.7);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.age-gate-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-xl);
}

.age-gate-legal {
    font-size: 0.75rem;
    color: rgba(248, 244, 239, 0.4);
    line-height: 1.6;
}

/* =============================================================================
   19. COOKIE BANNER + MODAL
   ============================================================================= */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #fff;
    border-top: 3px solid #4a0018;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
    padding: 18px 24px;
    font-family: 'Inter', sans-serif;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 260px;
}

.cookie-banner-text strong {
    display: block;
    color: #4a0018;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cookie-banner-text p {
    font-size: 0.83rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #4a0018;
    text-decoration: underline;
}

.cookie-link {
    color: #4a0018;
    text-decoration: underline;
}

.cookie-link:hover {
    color: #35000f;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept {
    background: #4a0018;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background 0.15s;
}
.cookie-btn-accept:hover { background: #35000f; }

.cookie-btn-essential {
    background: transparent;
    color: #666;
    border: 1px solid #ccc;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: all 0.15s;
}
.cookie-btn-essential:hover { border-color: #4a0018; color: #4a0018; }

.cookie-btn-settings {
    background: none;
    border: none;
    color: #999;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
    padding: 4px;
}

/* Legacy .cookie-actions — kept for backward compat */
.cookie-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.modal-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    padding: 0.25rem;
    transition: color var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--wine-dark);
    margin-bottom: var(--space-sm);
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--space-xl);
}

.cookie-toggle-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-light);
    gap: var(--space-lg);
}

.cookie-toggle-label strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.cookie-toggle-label span {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.toggle {
    width: 44px;
    height: 24px;
    appearance: none;
    -webkit-appearance: none;
    background: var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    position: relative;
    transition: background var(--transition);
    flex-shrink: 0;
}

.toggle:checked {
    background: var(--wine);
}

.toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle:checked::after {
    transform: translateX(20px);
}

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

.modal-actions {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* =============================================================================
   20. TOAST NOTIFICATIONS
   ============================================================================= */

#toast-container {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 9997;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    pointer-events: none;
}

.toast {
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease;
    max-width: 320px;
    pointer-events: auto;
    line-height: 1.5;
}

@keyframes toastIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.fade-out {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastOut {
    to {
        transform: translateX(110%);
        opacity: 0;
    }
}

.toast-success {
    background: var(--status-delivered);
    color: white;
}

.toast-error {
    background: var(--status-cancelled);
    color: white;
}

.toast-info {
    background: var(--wine);
    color: var(--cream);
}

.toast-warning {
    background: var(--status-pending);
    color: white;
}

/* =============================================================================
   21. FLASH MESSAGES + ALERTS
   ============================================================================= */

.flash {
    padding: var(--space-md) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    font-size: 0.9rem;
}

.flash-success {
    background: #d1fae5;
    color: #065f46;
    border-bottom: 2px solid #10b981;
}

.flash-error {
    background: #fee2e2;
    color: #991b1b;
    border-bottom: 2px solid #ef4444;
}

.flash-warning {
    background: #fef3c7;
    color: #92400e;
    border-bottom: 2px solid #f59e0b;
}

.flash-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: inherit;
    opacity: 0.7;
    transition: opacity var(--transition);
    flex-shrink: 0;
}

.flash-close:hover {
    opacity: 1;
}

.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert ul {
    margin: var(--space-sm) 0 0 var(--space-lg);
}

.alert li {
    margin-bottom: 0.25rem;
}

/* =============================================================================
   22. ADMIN LAYOUT
   ============================================================================= */

.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f4f1ee;
}

.admin-sidebar {
    width: 240px;
    background: var(--wine-darkest);
    color: var(--cream);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
}

.admin-sidebar-logo {
    padding: var(--space-xl);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--cream);
    text-decoration: none;
    display: block;
}

.admin-sidebar-logo strong {
    color: var(--gold);
}

.admin-sidebar-label {
    padding: var(--space-md) var(--space-xl) var(--space-sm);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(248, 244, 239, 0.4);
    font-weight: 600;
}

.admin-nav {
    flex: 1;
    padding: var(--space-md) 0;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0.75rem var(--space-xl);
    color: rgba(248, 244, 239, 0.7);
    font-size: 0.9rem;
    transition: all var(--transition);
    text-decoration: none;
    border-right: 3px solid transparent;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold-light);
    border-right-color: var(--gold);
}

.admin-nav-icon {
    font-size: 1.1rem;
    width: 1.2rem;
    text-align: center;
    flex-shrink: 0;
}

.admin-sidebar-footer {
    padding: var(--space-lg) var(--space-xl);
    border-top: 1px solid rgba(248, 244, 239, 0.1);
}

.admin-main {
    margin-left: 240px;
    flex: 1;
    min-height: 100vh;
}

.admin-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    padding: 0 var(--space-xl);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-topbar-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--wine-dark);
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.admin-content {
    padding: var(--space-xl);
}

/* =============================================================================
   23. ADMIN COMPONENTS (Stat cards, tables, badges)
   ============================================================================= */

.stat-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--wine);
}

.stat-card-wine { border-left-color: var(--wine); }
.stat-card-gold { border-left-color: var(--gold); }
.stat-card-green { border-left-color: var(--status-delivered); }
.stat-card-blue { border-left-color: var(--status-processing); }

.stat-card-value {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--wine-dark);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-card-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-card-trend {
    font-size: 0.8rem;
    margin-top: var(--space-sm);
    font-weight: 500;
}

.stat-card-trend-up { color: var(--status-delivered); }
.stat-card-trend-down { color: var(--status-cancelled); }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-table th {
    padding: 0.75rem var(--space-md);
    background: #f9f7f5;
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
    font-weight: 600;
}

.admin-table td {
    padding: 0.875rem var(--space-md);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.875rem;
    color: var(--text-primary);
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: #faf8f6;
}

.admin-table-actions {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.admin-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.admin-card-header {
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-card-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--wine-dark);
}

.admin-card-body {
    padding: var(--space-xl);
}

/* =============================================================================
   24. STATUS BADGES
   ============================================================================= */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.badge-primary {
    background: #e0f2fe;
    color: #0369a1;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.badge-secondary {
    background: var(--cream-dark);
    color: var(--text-muted);
}

.badge-status-pending {
    background: #fef3c7;
    color: #92400e;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-status-processing {
    background: #dbeafe;
    color: #1e40af;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-status-shipped {
    background: #e0f2fe;
    color: #0369a1;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-status-delivered {
    background: #d1fae5;
    color: #065f46;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-status-cancelled {
    background: #fee2e2;
    color: #991b1b;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

/* =============================================================================
   25. ADMIN LOGIN PAGE
   ============================================================================= */

.admin-login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--wine-darkest) 0%, var(--wine-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-wrapper {
    width: 100%;
    max-width: 420px;
    padding: var(--space-lg);
}

.admin-login-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-lg);
}

.admin-login-logo {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    text-align: center;
    color: var(--wine-dark);
    margin-bottom: var(--space-xs);
}

.admin-login-logo strong {
    color: var(--wine);
}

.admin-login-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--space-2xl);
}

.admin-login-back {
    text-align: center;
    margin-top: var(--space-lg);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.admin-login-back a {
    color: var(--wine);
}

.admin-login-back a:hover {
    color: var(--wine-medium);
    text-decoration: underline;
}

/* =============================================================================
   26. POLICY PAGES
   ============================================================================= */

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-3xl) 0;
}

.policy-content h1 {
    font-size: 2.5rem;
    color: var(--wine-dark);
    margin-bottom: var(--space-lg);
}

.policy-content h2 {
    font-size: 1.4rem;
    color: var(--wine-dark);
    margin: var(--space-2xl) 0 var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-light);
}

.policy-content h3 {
    font-size: 1.1rem;
    color: var(--wine-dark);
    margin: var(--space-lg) 0 var(--space-sm);
}

.policy-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.policy-content ul,
.policy-content ol {
    color: var(--text-secondary);
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

.policy-content li {
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

.policy-content strong {
    color: var(--text-primary);
}

.policy-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
}

.policy-content th,
.policy-content td {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--border);
    font-size: 0.875rem;
}

.policy-content th {
    background: var(--cream-dark);
    font-weight: 600;
    color: var(--text-primary);
}

.policy-date {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--space-2xl);
}

/* =============================================================================
   27. FOOTER
   ============================================================================= */

.footer {
    background: var(--wine-darkest);
    color: rgba(248, 244, 239, 0.8);
}

.footer-main {
    padding: var(--space-4xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--cream);
    margin-bottom: var(--space-sm);
    display: block;
    text-decoration: none;
}

.footer-logo strong {
    color: var(--gold);
}

.footer-tagline {
    font-style: italic;
    color: rgba(248, 244, 239, 0.5);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
}

.footer-responsible {
    font-size: 0.8rem;
    color: rgba(248, 244, 239, 0.4);
    line-height: 1.6;
}

.footer-heading {
    color: var(--gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-lg);
    font-family: var(--font-sans);
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a,
.footer-links li {
    color: rgba(248, 244, 239, 0.65);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-address {
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(248, 244, 239, 0.65);
}

.footer-payment {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.payment-badge {
    background: rgba(248, 244, 239, 0.1);
    color: rgba(248, 244, 239, 0.7);
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(248, 244, 239, 0.15);
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(248, 244, 239, 0.1);
    padding: var(--space-lg) 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.8rem;
    color: rgba(248, 244, 239, 0.4);
}

.footer-legal-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(248, 244, 239, 0.5);
    text-decoration: none;
    transition: color var(--transition);
    font-size: 0.8rem;
}

.footer-legal-links a:hover {
    color: var(--gold-light);
}

/* =============================================================================
   28. MISCELLANEOUS COMPONENTS
   ============================================================================= */

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-lg);
}

.empty-state h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--wine-dark);
    margin-bottom: var(--space-sm);
}

.empty-state p {
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto var(--space-xl);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin: var(--space-2xl) 0;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: var(--white);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: var(--font-sans);
}

.pagination-btn:hover {
    border-color: var(--wine);
    color: var(--wine);
}

.pagination-btn.active {
    background: var(--wine);
    border-color: var(--wine);
    color: var(--cream);
}

.pagination-btn.disabled,
.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-ellipsis {
    padding: 0 var(--space-sm);
    color: var(--text-muted);
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: var(--space-xl) 0;
}

.divider-gold {
    border-color: rgba(201, 168, 76, 0.3);
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Sticky note / bank note */
.bank-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--cream);
    border-radius: var(--radius-sm);
    line-height: 1.5;
    border-left: 3px solid var(--gold);
}

/* Shipping note */
.shipping-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
    font-style: italic;
}

.summary-shipping-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px dashed var(--border-light);
}

/* Company fields toggle */
.company-fields {
    padding-top: var(--space-md);
}

.company-fields-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--wine);
    font-weight: 500;
    user-select: none;
}

.company-fields-toggle:hover {
    color: var(--wine-medium);
}

.company-fields-content {
    margin-top: var(--space-lg);
}

/* Out of stock badge */
.out-of-stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: #fee2e2;
    color: var(--status-cancelled);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    letter-spacing: 0.03em;
}

/* Product out of stock state */
.product-out-of-stock {
    opacity: 0.7;
}

.product-out-of-stock .product-card-image {
    filter: grayscale(0.3);
}

/* Cart summary assurances */
.cart-summary-assurances {
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-light);
}

.assurance-item-sm {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.assurance-item-sm span:first-child {
    font-size: 1rem;
    flex-shrink: 0;
}

/* Image placeholder generic */
.img-placeholder {
    background: linear-gradient(135deg, var(--cream-dark), var(--border-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--border);
    border-radius: var(--radius-sm);
}

/* Tooltip */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip-text {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--wine-dark);
    color: var(--cream);
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 10;
}

.tooltip:hover .tooltip-text {
    opacity: 1;
}

/* Section divider with ornament */
.section-ornament {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    color: var(--gold);
    font-size: 1rem;
}

.section-ornament::before,
.section-ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gold);
    opacity: 0.3;
}

/* Price tag */
.price-tag {
    font-weight: 600;
    color: var(--wine);
}

.price-tag-lg {
    font-size: 1.5rem;
    font-weight: 700;
}

/* =============================================================================
   29. RESPONSIVE BREAKPOINTS
   ============================================================================= */

/* Large screens (max 1280px) */
@media (max-width: 1280px) {
    .stat-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }
}

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .checkout-summary {
        position: static;
    }

    .admin-sidebar {
        width: 200px;
    }

    .admin-main {
        margin-left: 200px;
    }

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

/* Tablet small (max 768px) */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--wine-darkest);
        padding: var(--space-xl);
        gap: var(--space-lg);
        z-index: 999;
        border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    }

    .nav-links {
        flex-direction: column;
        gap: var(--space-md);
    }

    .nav-toggle {
        display: flex;
    }

    .form-row-2,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

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

    .category-grid {
        grid-template-columns: 1fr;
    }

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

    .story-image-frame {
        width: 240px;
        height: 300px;
    }

    .story-values {
        justify-content: center;
    }

    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cookie-banner {
        bottom: calc(62px + env(safe-area-inset-bottom, 0px));
        padding: 14px 16px;
    }

    .cookie-btn-accept { padding: 9px 16px; font-size: 0.85rem; }

    .confirm-box {
        margin: var(--space-xl) auto;
        padding: var(--space-xl);
    }

    .confirm-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

    .cart-table th,
    .cart-table td {
        padding: var(--space-sm);
    }
}

/* Mobile (max 640px) */
@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .stat-cards-row {
        grid-template-columns: 1fr 1fr;
    }

    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-main {
        margin-left: 0;
    }

    .confirm-box {
        padding: var(--space-xl);
        border-radius: var(--radius-md);
    }

    /* Cart — stacked card layout on mobile */
    .cart-table thead {
        display: none;
    }

    .cart-table,
    .cart-table tbody,
    .cart-table tr {
        display: block;
        width: 100%;
    }

    .cart-table tr.cart-item {
        display: flex;
        flex-direction: column;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-md);
        margin-bottom: var(--space-md);
        padding: var(--space-md);
        background: #fff;
    }

    .cart-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 4px 0;
        border-bottom: none;
    }

    .cart-table .cart-item-product {
        min-width: auto;
        justify-content: flex-start;
        padding-bottom: var(--space-sm);
        border-bottom: 1px solid var(--border-light);
        margin-bottom: 4px;
    }

    .cart-table .cart-item-price::before { content: 'Preț: '; font-size: 0.78rem; color: var(--text-muted); }
    .cart-table .cart-item-qty::before   { content: 'Cantitate: '; font-size: 0.78rem; color: var(--text-muted); }
    .cart-table .cart-item-total::before { content: 'Total: '; font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }

    .cart-table .cart-item-remove {
        justify-content: flex-end;
        padding-top: 4px;
    }

    .hero-title {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .filter-tabs {
        gap: var(--space-xs);
    }

    .filter-tab {
        padding: 0.375rem 1rem;
        font-size: 0.8rem;
    }

    #toast-container {
        left: var(--space-md);
        right: var(--space-md);
        bottom: auto;
        top: calc(env(safe-area-inset-top, 0px) + var(--space-md));
    }

    .toast {
        max-width: 100%;
    }

    @keyframes toastIn {
        from {
            transform: translateY(-100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes toastOut {
        to {
            transform: translateY(-110%);
            opacity: 0;
        }
    }

    .pagination-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .admin-content {
        padding: var(--space-md);
    }

    .admin-table th,
    .admin-table td {
        padding: 0.625rem var(--space-sm);
        font-size: 0.8rem;
    }

    .stat-card {
        padding: var(--space-lg);
    }

    .stat-card-value {
        font-size: 1.5rem;
    }

    .footer-main {
        padding: var(--space-2xl) 0;
    }

    .footer-legal-links {
        gap: var(--space-md);
    }
}

/* Print styles */
@media print {
    .site-header,
    .footer,
    .age-gate-overlay,
    .cookie-banner,
    #toast-container,
    .nav-toggle,
    .btn-primary:not(.no-print),
    .btn-gold:not(.no-print) {
        display: none !important;
    }

    .page-main {
        padding-top: 0;
    }

    body {
        background: white;
        color: black;
    }

    a {
        color: black;
        text-decoration: underline;
    }
}

/* ============================================================
   MISSING SPEC COMPONENTS — ADDITIONS
   ============================================================ */

/* Secondary button */
.btn-secondary {
    background-color: var(--wine-light);
    color: var(--white);
    border: 2px solid var(--wine-light);
}
.btn-secondary:hover {
    background-color: var(--wine-medium);
    border-color: var(--wine-medium);
}

/* Generic card */
.card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}
.card-body {
    padding: var(--space-lg);
}

/* Checkout form container */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}
.checkout-form .form-section {
    background: var(--white);
    border-radius: 8px;
    padding: var(--space-xl);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Cookie modal — extends .modal-box */
.cookie-modal {
    max-width: 520px;
    width: 95%;
}
.cookie-modal .cookie-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--cream-dark);
}
.cookie-modal .cookie-toggle-row:last-child {
    border-bottom: none;
}
.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background-color: var(--text-muted);
    border-radius: 24px;
    cursor: pointer;
    transition: var(--transition);
}
.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}
.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--wine);
}
.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(20px);
}

/* Order badge — maps to existing status naming */
.order-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.order-badge-pending   { background: #fff3cd; color: #856404; }
.order-badge-confirmed { background: #d1ecf1; color: #0c5460; }
.order-badge-processing{ background: #cce5ff; color: #004085; }
.order-badge-shipped   { background: #d4edda; color: #155724; }
.order-badge-delivered { background: #c3e6cb; color: #155724; }
.order-badge-cancelled { background: #f8d7da; color: #721c24; }

/* Invoice section */
.invoice-section {
    margin-top: var(--space-xl);
    padding: var(--space-xl);
    background: var(--cream);
    border-radius: 8px;
    border: 1px solid var(--cream-dark);
}
.invoice-section h3 {
    font-family: var(--font-serif);
    color: var(--wine);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}
.invoice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
}
.invoice-status {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: var(--space-sm);
}

/* ============================================================
   NEW DESIGN — HOMEPAGE & PAGES (2026-04 redesign)
   ============================================================ */

/* NAV LOGO IMAGE */
.nav-logo { display: flex; align-items: center; padding: 0; }
.nav-logo-img { height: 62px; width: auto; display: block; }

/* FOOTER LOGO IMAGE */
.footer-logo-link { display: inline-block; margin-bottom: var(--space-md); }
.footer-logo-img  { height: 84px; width: auto; display: block; }

/* HERO VIDEO */
.hero-video { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--wine-darkest); }
.hero-video-wrap { position: absolute; inset: 0; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-overlay { position: absolute; inset: 0; background: rgba(10,0,5,0.55); }
.hero-location { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-md); }
.hero-title { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white); font-weight: 400; line-height: 1.2; text-align: center; max-width: 700px; margin: 0 auto var(--space-xl); }
.btn-hero { background: transparent; border: 1px solid rgba(255,255,255,0.6); color: var(--white); padding: 0.75rem 2rem; font-size: 0.9rem; letter-spacing: 0.05em; border-radius: 2px; transition: var(--transition); }
.btn-hero:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* BTN DARK */
.btn-dark { background: var(--black); color: var(--white); border: 1px solid var(--black); border-radius: 2px; padding: 0.65rem 1.5rem; font-size: 0.85rem; letter-spacing: 0.04em; transition: var(--transition); display: inline-block; cursor: pointer; }
.btn-dark:hover { background: #2a2a2a; }
.btn-outline-dark { background: transparent; color: var(--black); border: 1px solid var(--black); border-radius: 2px; padding: 0.65rem 1.5rem; font-size: 0.85rem; letter-spacing: 0.04em; transition: var(--transition); display: inline-block; }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }

/* SECTION LABELS & DIVIDERS */
.section-label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--space-sm); display: block; text-align: center; }
.section-title-sm { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; text-align: center; color: var(--text-primary); margin-bottom: var(--space-md); }
.welcome-divider { width: 40px; height: 1px; background: var(--text-muted); margin: 0 auto var(--space-xl); }
.container-narrow { max-width: 680px; margin-left: auto; margin-right: auto; }

/* WELCOME SECTION */
.section-welcome { padding: 5rem 1rem; text-align: center; background: var(--white); }
.welcome-text { max-width: 620px; margin: 0 auto var(--space-2xl); }
.welcome-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: var(--space-md); font-size: 0.95rem; }

/* QUOTE SECTION */
.section-quote { padding: 5rem 1rem; background: #111; text-align: center; }
.quote-label { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-xl); display: block; }
.quote-text { font-family: var(--font-serif); font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--white); font-weight: 400; font-style: italic; line-height: 1.5; max-width: 750px; margin: 0 auto; }

/* PRODUCTS HOME — ASYMMETRIC GRID */
.section-products-home { padding: 4rem 0; background: #f5f3ef; }
.products-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 2rem; }
.products-home-featured { background: var(--white); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.products-home-right { display: flex; flex-direction: column; gap: 16px; }
.products-home-small-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.product-card-home-lg,
.product-card-home-sm { background: var(--white); border-radius: 4px; overflow: hidden; }
.product-card-home-lg .product-card-img-wrap { display: block; aspect-ratio: 2/3; overflow: hidden; max-height: 380px; }
.product-card-home-sm .product-card-img-wrap { display: block; aspect-ratio: 2/3; overflow: hidden; max-height: 220px; }
.product-card-img-wrap img { width: 100%; height: 100%; object-fit: contain; background: #f9f8f6; padding: 1rem; }
.product-img-placeholder { width: 100%; height: 100%; background: #f0ede8; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 3rem; }
.product-card-home-info { padding: 1rem 1.25rem 1.25rem; }
.product-card-home-name { font-family: var(--font-serif); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; color: var(--text-primary); }
.product-card-home-sub  { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.75rem; font-style: italic; }

/* EXPERIENCE BANNER */
.products-home-exp-banner { position: relative; display: flex; align-items: flex-end; min-height: 180px; border-radius: 4px; overflow: hidden; background: url('/public/images/exp-banner-bg.jpg') center/cover no-repeat; background-color: #3a2010; text-decoration: none; }
.products-home-exp-overlay { position: absolute; inset: 0; background: rgba(20,5,0,0.55); }
.products-home-exp-content { position: relative; padding: 1.5rem; }
.products-home-exp-content h3 { font-family: var(--font-serif); color: var(--white); font-size: 1.1rem; font-weight: 400; margin-bottom: 0.5rem; line-height: 1.4; }
.products-home-exp-cta { color: var(--gold-light); font-size: 0.82rem; letter-spacing: 0.05em; }
.products-home-footer { text-align: center; margin-top: 1rem; }
.products-home-empty { text-align: center; padding: 3rem 0; }

/* SERVICES SECTION */
.section-services { padding: 4rem 0; background: #f5f3ef; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.services-grid-4 { grid-template-columns: repeat(4, 1fr); }
.service-card { background: var(--white); border-radius: 4px; padding: 2.5rem 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.service-icon { height: 90px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.service-icon img { max-height: 80px; max-width: 100px; object-fit: contain; }
.service-icon-fallback { font-size: 3rem; }
.service-title { font-family: var(--font-sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.75rem; color: var(--text-primary); }
.service-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; flex: 1; }

/* PHILOSOPHY */
.section-philosophy { padding: 5rem 1rem; background: var(--cream); text-align: center; }
.philosophy-text { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; margin-bottom: var(--space-md); max-width: 650px; margin-left: auto; margin-right: auto; }

/* NEWSLETTER */
.section-newsletter { padding: 4rem 1rem; background: var(--white); border-top: 1px solid var(--cream-dark); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: center; max-width: 900px; margin: 0 auto; }
.newsletter-logo { height: 64px; width: auto; display: block; margin-bottom: var(--space-md); }
.newsletter-title { font-family: var(--font-serif); font-size: 1.6rem; color: var(--text-primary); margin-bottom: var(--space-sm); }
.newsletter-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.newsletter-fields { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.newsletter-input { padding: 0.75rem 1rem; border: 1px solid #ddd; border-radius: 2px; font-size: 0.9rem; width: 100%; outline: none; transition: var(--transition); }
.newsletter-input:focus { border-color: var(--wine); }
.newsletter-legal { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }
.newsletter-legal a { color: var(--wine); }
.newsletter-message { margin-top: var(--space-sm); padding: 0.75rem 1rem; border-radius: 4px; font-size: 0.875rem; }
.newsletter-success { background: #d4edda; color: #155724; }
.newsletter-error   { background: #f8d7da; color: #721c24; }

/* PAGE HERO */
.page-hero { padding: 5rem 1rem 4rem; text-align: center; }
.page-hero-dark { background: #111; }
.page-hero-dark .section-label { color: var(--gold); }
.page-hero-title { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--white); font-weight: 400; margin-bottom: 1rem; }
.page-hero-sub { color: rgba(255,255,255,0.65); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* EXPERIENCES PAGE */
.exp-section { padding: 5rem 0; }
.exp-section-alt { background: var(--cream); }
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.exp-grid-reverse { direction: rtl; }
.exp-grid-reverse > * { direction: ltr; }
.exp-content {}
.exp-title { font-family: var(--font-serif); font-size: 2rem; font-weight: 400; margin-bottom: 1rem; color: var(--text-primary); }
.exp-desc { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.5rem; }
.exp-desc-lead { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--text-primary); }
.exp-features { list-style: none; padding: 0; margin-bottom: 2rem; }
.exp-features li { padding: 0.4rem 0; color: var(--text-secondary); font-size: 0.9rem; }
.exp-features-cols { columns: 2; column-gap: 1.5rem; }
.exp-features-cols li::before { content: '— '; color: var(--wine); }
.exp-features-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-secondary); font-weight: 600; margin-bottom: 0.5rem; }
.exp-for-whom { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 2rem; padding: 1rem 1.25rem; background: var(--cream); border-left: 3px solid var(--wine); border-radius: 0 4px 4px 0; }
.exp-visual { border-radius: 4px; min-height: 380px; background-color: #3a2010; background-size: cover; background-position: center; }
.exp-visual-1 { background-image: url('/public/images/exp-degustare.jpg'); }
.exp-visual-2 { background-image: url('/public/images/exp-crama.jpg'); }
.exp-visual-horeca { background-image: url('/public/images/exp-horeca.jpg'); }
.exp-visual-wedding { background-image: url('/public/images/exp-nunta.jpg'); }
.exp-section-wedding { background: var(--cream); }

/* PACKAGES */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.package-card { background: var(--white); border: 1px solid var(--cream-dark); border-radius: 6px; padding: 2rem; position: relative; display: flex; flex-direction: column; }
.package-card-featured { border-color: var(--wine); }
.package-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--wine); color: var(--white); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 12px; border-radius: 20px; }
.package-name { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 1rem; }
.package-includes { list-style: none; padding: 0; margin-bottom: 1.5rem; flex: 1; }
.package-includes li { padding: 0.35rem 0; font-size: 0.875rem; color: var(--text-secondary); border-bottom: 1px solid var(--cream-dark); }
.package-includes li::before { content: '✓ '; color: var(--wine); font-weight: 600; }
.package-card .btn { margin-top: auto; }

/* ABOUT PAGE */
.about-intro { padding: 5rem 1rem; background: var(--white); text-align: center; }
.about-text { color: var(--text-secondary); line-height: 1.8; max-width: 650px; margin: 0 auto var(--space-md); font-size: 0.95rem; }
.about-mvv { padding: 4rem 0; background: var(--cream); }
.mvv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.mvv-card { background: var(--white); padding: 2rem; border-radius: 4px; }
.mvv-icon { font-size: 1.5rem; color: var(--gold); margin-bottom: 1rem; }
.mvv-title { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 0.75rem; }
.about-company { padding: 4rem 1rem; background: var(--white); text-align: center; }
.company-details-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; max-width: 600px; margin: 2rem auto 0; text-align: left; font-size: 0.9rem; color: var(--text-secondary); }
.company-details-grid strong { color: var(--text-primary); }
.company-details-grid a { color: var(--wine); }

/* CONTACT PAGE */
.contact-section { padding: 4rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info-title { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.contact-info-icon { font-size: 1.1rem; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-info-item a, .contact-info-item span { font-size: 0.9rem; color: var(--text-secondary); }
.contact-info-item a { color: var(--wine); }
.contact-info-note { background: var(--cream); padding: 1rem; border-radius: 4px; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin-top: 1rem; }
.contact-form-wrap {}
.contact-form {}
.contact-success { text-align: center; padding: 3rem 2rem; background: var(--cream); border-radius: 6px; }
.contact-success-icon { font-size: 2.5rem; color: var(--wine); margin-bottom: 1rem; }
.contact-success h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 0.5rem; }

/* RESPONSIVE — NEW SECTIONS */
@media (max-width: 1024px) {
    .products-home-grid { grid-template-columns: 1fr; }
    .products-home-small-grid { grid-template-columns: 1fr 1fr; }
    .newsletter-inner { grid-template-columns: 1fr; gap: 2rem; }
    .services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .services-grid-4 { grid-template-columns: 1fr 1fr; }
    .packages-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .mvv-grid { grid-template-columns: 1fr 1fr; }
    .exp-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
    .packages-grid { grid-template-columns: 1fr; }
    .mvv-grid { grid-template-columns: 1fr; }
    .products-home-small-grid { grid-template-columns: 1fr; }
    .company-details-grid { grid-template-columns: 1fr; }
    .nav-logo-img { height: 48px; }
    .hero-title { font-size: 1.7rem; }
}

/* ============================================================
   REDESIGN 2026-04 — TRANSPARENT HEADER + NAV CENTRAT
   ============================================================ */

/* Reset nav existentă */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    background: transparent;
}

/* Pe paginile fără hero — fundal solid imediat */
body:not(.has-hero) .site-header {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
body:not(.has-hero) .site-header .nav-link,
body:not(.has-hero) .site-header .nav-cart {
    color: var(--text-primary) !important;
}
body:not(.has-hero) .site-header .nav-logo-img {
    /* păstrează logo-ul color pe paginile fără hero */
    filter: none;
}

/* Pe hero — transparent + text alb */
body.has-hero .site-header:not(.header-scrolled) .nav-link {
    color: rgba(255,255,255,0.9);
}
body.has-hero .site-header:not(.header-scrolled) .nav-link:hover {
    color: var(--gold-light);
}
body.has-hero .site-header:not(.header-scrolled) .nav-cart {
    color: rgba(255,255,255,0.9);
}
body.has-hero .site-header:not(.header-scrolled) .nav-logo-img {
    filter: brightness(0) invert(1);
}

/* Scrolled — fundal alb */
.site-header.header-scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.site-header.header-scrolled .nav-link {
    color: var(--text-primary) !important;
}
.site-header.header-scrolled .nav-cart {
    color: var(--text-primary) !important;
}
.site-header.header-scrolled .nav-logo-img {
    filter: none !important;
}

/* NAV LAYOUT — centrat */
.nav-centered {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 2rem;
    height: 80px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.nav-links-left  { display: flex; align-items: center; gap: 2.5rem; list-style: none; padding: 0; margin: 0; justify-content: flex-end; }
.nav-links-right { display: flex; align-items: center; gap: 2.5rem; list-style: none; padding: 0; margin: 0; justify-content: flex-start; }

.nav-logo-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    padding-bottom: 6px;
    text-decoration: none;
}
.nav-logo-center .nav-logo-img {
    height: 77px;
    width: auto;
    display: block;
    transition: filter 0.3s ease;
}

.nav.nav-centered .nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}
.nav.nav-centered .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.nav.nav-centered .nav-link:hover::after,
.nav.nav-centered .nav-link.active::after {
    transform: scaleX(1);
}

.nav-cart {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-toggle { display: none; }

/* MOBILE MENU */
.nav-mobile-menu {
    display: none;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--cream-dark);
}
.nav-mobile-links { list-style: none; padding: 0; margin: 0; }
.nav-mobile-links li { border-bottom: 1px solid var(--cream-dark); }
.nav-mobile-links .nav-link { display: block; padding: 0.85rem 0; font-size: 0.9rem; color: var(--text-primary) !important; letter-spacing: 0.05em; text-transform: uppercase; }

/* Offset pentru conținut sub header fix */
body:not(.has-hero) main,
body:not(.has-hero) .page-hero,
body:not(.has-hero) .section-welcome {
    margin-top: 0;
}
body:not(.has-hero) > *:not(.site-header):first-of-type {
    padding-top: 80px;
}
.page-hero { padding-top: calc(5rem + 80px) !important; }

/* HERO — fix overlay gradient de jos */
.hero-video {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--wine-darkest);
}
.hero-video-overlay {
    background: rgba(10,0,5,0.52);
    /* ELIMINAT gradientul de jos */
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
    max-width: 860px;
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    color: var(--white);
    font-weight: 400;
    line-height: 1.2;
    max-width: 820px;
    margin: 0 auto var(--space-xl);
}

/* SCROLL HINT */
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.hero-scroll-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.hero-scroll-arrow {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.15); }
}

/* HERO — body offset */
body.has-hero .section-welcome,
body.has-hero + section {
    margin-top: 0;
}

/* SECTION-QUOTE cu imagine background */
.section-quote-img {
    position: relative;
    overflow: hidden;
    padding: 6rem 1rem;
}
.section-quote-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1a0a05;
}
.section-quote-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,5,2,0.72);
}

/* FILOZOFIA DARK — identic cu quote */
.section-philosophy-dark {
    position: relative;
    overflow: hidden;
    padding: 6rem 1rem;
    text-align: center;
}
.section-philosophy-dark .section-quote-bg {
    background-color: #1a0a05;
}
.philosophy-dark-text {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 720px;
    margin: 0 auto;
    font-family: var(--font-serif);
    font-style: italic;
}

/* CONTAINER MEDIUM — mai lat decât narrow */
.container-medium {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* WELCOME TEXT — mai lat */
.section-welcome .welcome-text p {
    max-width: 100%;
}

/* PRODUSE HOME — prețuri */
.product-card-home-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--wine);
    margin-bottom: 0.75rem;
    font-family: var(--font-serif);
}

/* ── PRODUSE HOME — 3-column grid ──────────────────────────── */
.phg3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #e0dbd4;
    margin-bottom: 2px;
}

.phg3-card {
    background: #f7f5f1;
    display: flex;
    flex-direction: column;
}

/* Image area — tall portrait, bottle contained */
.phg3-img-wrap {
    display: block;
    position: relative;
    background: #fff;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    flex-shrink: 0;
    text-decoration: none;
}
.phg3-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    padding: 20px 16px 0;
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.phg3-card:hover .phg3-img-wrap img {
    transform: scale(1.04) translateY(-4px);
}

/* Category badge overlay */
.phg3-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 3px 9px;
    border-radius: 2px;
    font-family: var(--font-sans);
}
.phg3-cat-alb  { background: #f5f0e8; color: #7a6030; }
.phg3-cat-rose { background: #fde8f0; color: #8c2450; }
.phg3-cat-rosu { background: #f5e0e0; color: #6b1010; }

/* Info area */
.phg3-info {
    padding: 1.1rem 1.4rem 1.4rem;
    border-top: 1px solid #e0dbd4;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.phg3-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.45rem;
    flex-wrap: wrap;
}
.phg3-sweet {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4a0018;
    background: rgba(74,0,24,0.07);
    padding: 2px 8px;
    border-radius: 2px;
    font-family: var(--font-sans);
}
.phg3-grape {
    font-size: 11px;
    color: #9a8070;
    font-style: italic;
}

.phg3-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
    line-height: 1.3;
}
.phg3-name a { color: inherit; text-decoration: none; }
.phg3-name a:hover { color: #4a0018; }

.phg3-region {
    font-size: 0.77rem;
    color: #9a8070;
    font-style: italic;
    margin-bottom: 0.7rem;
}

.phg3-tiers { margin-bottom: 0.7rem; }

.phg3-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    flex-wrap: wrap;
}
.phg3-price {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--wine);
}

/* Experience banner below grid */
.phg3-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    background: #150800;
    background-image: url('/public/images/quote-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: filter 0.3s;
}
.phg3-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,4,0,0.72);
    transition: background 0.3s;
}
.phg3-banner:hover .phg3-banner-overlay { background: rgba(26,4,0,0.55); }
.phg3-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1.5rem;
}
.phg3-banner-content p {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: #f8f4ef;
    margin-bottom: 0.4rem;
}
.phg3-banner-content span {
    font-size: 0.82rem;
    color: #c9a84c;
    font-family: var(--font-sans);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .phg3-grid { grid-template-columns: 1fr; }
    .phg3-img-wrap { aspect-ratio: 4 / 3; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .phg3-grid { grid-template-columns: repeat(3, 1fr); }
}

/* SERVICII — icon SVG fallback vizibil */
.service-icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wine);
    opacity: 0.75;
}

/* NEWSLETTER — fix container și layout */
.section-newsletter {
    padding: 5rem 0;
    background: var(--cream);
    border-top: 1px solid var(--cream-dark);
    border-bottom: 1px solid var(--cream-dark);
}
.newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    align-items: center;
}
.newsletter-logo {
    height: 80px;
    width: auto;
    display: block;
    margin-bottom: var(--space-md);
}
.newsletter-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-weight: 400;
}
.newsletter-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.75;
}
.newsletter-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}
.newsletter-input {
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.2s;
    background: var(--white);
    width: 100%;
}
.newsletter-input:focus { border-color: var(--wine); }

/* GDPR checkbox */
.newsletter-gdpr {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: var(--space-md);
    cursor: pointer;
}
.newsletter-gdpr input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: var(--wine);
    cursor: pointer;
}
.newsletter-gdpr span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.newsletter-gdpr a { color: var(--wine); }

.newsletter-btn { width: 100%; margin-top: 0; }

.newsletter-message {
    margin-top: var(--space-sm);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
}
.newsletter-success { background: #d4edda; color: #155724; }
.newsletter-error   { background: #f8d7da; color: #721c24; }

/* FOOTER fix adresă */
.footer-address { font-style: normal; font-size: 0.875rem; line-height: 1.8; color: rgba(255,255,255,0.65); }

/* ============================================================
   CONTRAST FIXES — elemente greu vizibile
   ============================================================ */

/* Butoane outline-dark — fundal alb, text negru clar */
.btn-outline-dark {
    background: transparent;
    color: #1a1a1a;
    border: 1.5px solid #1a1a1a;
}
.btn-outline-dark:hover { background: #1a1a1a; color: #fff; }

/* Btn dark pe fundal deschis */
.btn-dark { background: #111; color: #fff; border-color: #111; }
.btn-dark:hover { background: #333; }

/* Titluri secțiuni pe fundal deschis */
.section-label { color: #888; }
.section-title-sm { color: #111; }

/* Product card home info — text mai contrastat */
.product-card-home-name { color: #111; font-weight: 600; }
.product-card-home-sub  { color: #666; }

/* Service card — text clar */
.service-card { background: #fff; }
.service-title { color: #111; }
.service-desc  { color: #444; }

/* Package card */
.package-name { color: #111; }
.package-price { color: #555; }
.package-includes li { color: #444; border-bottom-color: #eee; }

/* Quote label */
.quote-label { color: var(--gold-light); }

/* ── WhatsApp floating button ────────────────────────────────────────────── */
.whatsapp-fab {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 9999;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px;
    min-height: 52px;
    max-width: 52px;
    max-height: 52px;
    border-radius: 50% !important;
    background: #25d366 !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.20);
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}
.whatsapp-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    background: #20c05a !important;
}
.whatsapp-fab svg {
    display: block;
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0;
}

/* Footer links contrast */
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--gold-light); }
.footer-heading { color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-tagline { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.footer-responsible { color: rgba(255,255,255,0.45); font-size: 0.78rem; line-height: 1.6; }
.footer-bottom { background: rgba(0,0,0,0.3); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p, .footer-legal-links a { color: rgba(255,255,255,0.4); font-size: 0.78rem; }
.footer-legal-links a:hover { color: rgba(255,255,255,0.8); }

/* ============================================================
   WINE PROFILE PANEL
   ============================================================ */

.wine-profile-panel {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8ddd0;
    margin: 40px 0 48px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(74,0,24,0.08);
}

/* burgundy header bar */
.wine-profile-header {
    background: #4a0018;
    padding: 18px 36px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.wine-profile-header::after { display: none; }
.wine-profile-header-icon {
    width: 36px; height: 36px;
    background: rgba(201,168,76,0.18);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a84c;
    flex-shrink: 0;
}
.wine-profile-header h3 {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #c9a84c;
    font-family: var(--font-sans);
}

/* vertical attribute rows */
.wine-profile-attrs {
    display: flex;
    flex-direction: column;
    padding: 0 36px;
}

.wine-attr {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 22px 0;
    border-bottom: 1px solid #f3ece3;
}
.wine-attr:last-child { border-bottom: none; }

/* left column: icon + label */
.wine-attr-left {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 200px;
    flex-shrink: 0;
}
.wine-attr-icon {
    width: 36px; height: 36px;
    background: #faf5ef;
    border-radius: 8px;
    border: 1px solid #ecdec8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a0018;
    flex-shrink: 0;
}
.wine-attr-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9a8070;
    font-family: var(--font-sans);
}

/* divider between left and right */
.wine-attr-divider {
    width: 1px;
    align-self: stretch;
    background: #f0e8df;
    margin: 0 28px;
    flex-shrink: 0;
}

/* right column: value */
.wine-attr-right {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}
.wine-attr-value {
    font-size: 16px;
    color: #2a0010;
    font-weight: 500;
    font-family: var(--font-serif);
}

/* sweetness scale */
.sweetness-scale {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 320px;
}
.sweetness-bar {
    position: relative;
    height: 12px;
    display: flex;
    align-items: center;
}
.sweetness-track {
    position: absolute;
    left: 6px; right: 6px;
    height: 2px;
    background: #e8ddd0;
    border-radius: 2px;
}
.sweetness-dots {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
}
.sweetness-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #f0e6dc;
    border: 2px solid #d8c8b4;
    transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}
.sweetness-dot.active {
    background: #4a0018;
    border-color: #4a0018;
    transform: scale(1.4);
    box-shadow: 0 0 0 3px rgba(74,0,24,0.12);
}
.sweetness-labels {
    display: flex;
    justify-content: space-between;
}
.sweetness-lbl {
    font-size: 10px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    flex: 1;
    text-align: center;
    font-family: var(--font-sans);
    transition: color 0.2s;
}
.sweetness-lbl.active {
    color: #4a0018;
    font-weight: 700;
}

/* temperature */
.temp-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.temp-value {
    font-size: 42px;
    font-weight: 700;
    color: #4a0018;
    line-height: 1;
    font-family: var(--font-serif);
    letter-spacing: -2px;
}
.temp-unit {
    font-size: 18px;
    color: #9a8070;
    font-family: var(--font-sans);
}

/* tag chips */
.wine-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.wine-tag {
    font-size: 12px;
    background: #faf5ef;
    border: 1px solid #e5d9c8;
    color: #4a0018;
    padding: 5px 14px;
    border-radius: 20px;
    font-family: var(--font-sans);
    letter-spacing: 0.2px;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.wine-tag:hover {
    background: #f0e6d6;
    border-color: #c9a84c;
}

/* responsive */
@media (max-width: 768px) {
    .wine-profile-header { padding: 16px 22px; }
    .wine-profile-attrs  { padding: 0 22px; }
    .wine-attr           { flex-wrap: wrap; gap: 12px; padding: 18px 0; }
    .wine-attr-left      { width: 100%; }
    .wine-attr-divider   { display: none; }
    .wine-attr-right     { width: 100%; padding-left: 48px; box-sizing: border-box; overflow: hidden; }
    .wine-tags           { max-width: 100%; }
    .wine-tag            { white-space: normal; word-break: break-word; }
    .temp-value          { font-size: 32px; }
    .sweetness-scale     { max-width: 100%; }
}

/* ============================================================
   SOCIAL MEDIA SIDEBAR — desktop fixed left strip
   ============================================================ */

.social-sidebar {
    position: fixed;
    left: 24px;
    bottom: 100px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.social-sidebar-link {
    color: rgba(74, 0, 24, 0.42);
    transition: color 0.22s, transform 0.22s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.social-sidebar-link:hover {
    color: #4a0018;
    transform: scale(1.18);
}
.social-sidebar-link svg {
    width: 22px;
    height: 22px;
}
.social-sidebar-line {
    width: 1px;
    height: 52px;
    background: rgba(74, 0, 24, 0.18);
    margin-top: 2px;
}
/* Hide on screens that can't fit it */
@media (max-width: 1100px) {
    .social-sidebar { display: none; }
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION — app-style bar
   ============================================================ */

.mobile-bottom-nav {
    display: none; /* shown only on mobile via media query */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e8ddd0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.07);
    padding: 6px 0 6px;
    padding-bottom: max(6px, env(safe-area-inset-bottom, 6px));
    justify-content: space-around;
    align-items: center;
    max-height: 80px;
}

.mbn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #b0a090;
    text-decoration: none;
    font-size: 9.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-sans);
    padding: 4px 8px;
    transition: color 0.18s, transform 0.18s;
    min-width: 56px;
    flex: 1;
    max-width: 78px;
}
.mbn-item:active { transform: scale(0.92); }
.mbn-item.mbn-active { color: #4a0018; }
.mbn-item svg { flex-shrink: 0; }

/* Cart icon with badge */
.mbn-cart-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mbn-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #4a0018;
    color: #fff;
    font-size: 9px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding: 0 3px;
    font-family: var(--font-sans);
}

/* Show on mobile, add bottom padding to page */
@media (max-width: 768px) {
    .mobile-bottom-nav { display: flex; }
    /* Push content above the bar */
    body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
    /* Hide hamburger — bottom nav replaces it */
    .nav-toggle { display: none; }
    /* Lift WhatsApp button above bottom nav */
    #whatsapp-fab-btn { bottom: calc(62px + 16px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ============================================================
   ENTRANCE ANIMATIONS — scroll-triggered + hero
   ============================================================ */

/* ── Shared easing ───────────────────────────────────────────── */
:root {
    --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── will-animate: hidden until .in-view is added by JS ─────── */
.will-animate {
    opacity: 0;
    transition:
        opacity  0.65s var(--ease-out-expo),
        transform 0.65s var(--ease-out-expo);
}
.will-animate.in-view {
    opacity: 1;
    transform: none !important;
}

/* ── Animation variants ──────────────────────────────────────── */
.anim-up    { transform: translateY(30px); }
.anim-left  { transform: translateX(-32px); }
.anim-right { transform: translateX(32px); }
.anim-scale { transform: scale(0.93); }
.anim-fade  { transform: none; }

/* ── Page body fade-in ───────────────────────────────────────── */
@keyframes pageFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.page-main {
    animation: pageFadeIn 0.35s ease both;
}

/* ── Hero content — animates on load, not scroll ────────────── */
@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-anim {
    animation: heroSlideUp 0.75s var(--ease-out-expo) both;
}

/* ── Respect reduced-motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .will-animate,
    .hero-anim,
    .page-main {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE FIRST (toate secțiunile noi)
   ============================================================ */

@media (max-width: 1024px) {
    .nav-links-left,
    .nav-links-right { gap: 1.5rem; }
    .nav-logo-center .nav-logo-img { height: 62px; }
    .newsletter-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .newsletter-fields { grid-template-columns: 1fr; }
    .products-home-grid { grid-template-columns: 1fr; }
    .products-home-small-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* NAV mobile */
    .nav-centered {
        grid-template-columns: 1fr auto 1fr;
        height: 64px;
        padding: 0 1.25rem;
        justify-items: center;
    }
    .nav-links-left,
    .nav-links-right { display: none; }
    /* Hide cart and hamburger from topbar — bottom nav handles them */
    .nav-cart { display: none !important; }
    .nav-toggle { display: none !important; }
    /* Center the logo */
    .nav-logo-center {
        grid-column: 1 / -1;
        justify-self: center;
    }
    .nav-logo-center .nav-logo-img { height: 58px; }

    .nav-mobile-menu.open { display: block; }

    /* Hero */
    .hero-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }

    /* Servicii */
    .services-grid { grid-template-columns: 1fr; gap: 1px; background: #e8e4de; }
    .service-card { border-radius: 0; }

    /* Pachete */
    .packages-grid { grid-template-columns: 1fr; }

    /* MVV */
    .mvv-grid { grid-template-columns: 1fr; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }

    /* Exp grid */
    .exp-grid { grid-template-columns: 1fr; gap: 2rem; }
    .exp-visual { min-height: 240px; order: -1; }
    .exp-grid-reverse { direction: ltr; }
    .exp-grid-reverse .exp-visual { order: -1; }

    /* Newsletter */
    .section-newsletter { padding: 3.5rem 0; }
    .newsletter-logo { height: 60px; }

    /* Quote */
    .section-quote-img { padding: 4rem 1.5rem; }
    .quote-text { font-size: 1.3rem; }

    /* Philosophy dark */
    .section-philosophy-dark { padding: 4rem 1.5rem; overflow-x: hidden; }
    .philosophy-dark-text { font-size: 0.95rem; }
    .section-philosophy-dark .container { text-align: center; }
    .section-philosophy-dark .btn {
        max-width: calc(100% - 2rem);
        word-break: break-word;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .nav-logo-center .nav-logo-img { height: 46px; }
    .hero-title { font-size: 1.5rem; }
    .products-home-small-grid { grid-template-columns: 1fr; }
    .newsletter-fields { grid-template-columns: 1fr; }
    .company-details-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-legal-links { justify-content: center; }
    /* Philosophy button — prevent horizontal overflow */
    .section-philosophy-dark { overflow-x: hidden; }
    .section-philosophy-dark .btn {
        max-width: calc(100% - 2rem);
        word-break: break-word;
        white-space: normal;
        display: inline-block;
    }
}

/* ===== VAT NOTE ===== */
.price-vat-note {
    font-size: 11px;
    color: #9a8070;
    font-style: italic;
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.sgr-note {
    color: #7a5c1e;
    font-weight: 600;
    font-style: normal;
}

/* ===== SHOP COMING SOON ===== */
.shop-coming-soon {
    padding: 5rem 1rem;
    background: #4a0018;
    text-align: center;
}
.shop-cs-inner { max-width: 560px; margin: 0 auto; }
.shop-cs-label { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #c9a84c; margin-bottom: 1rem; font-family: var(--font-sans); }
.shop-cs-title { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: #f8f4ef; margin-bottom: 1rem; }
.shop-cs-desc { font-size: 0.95rem; color: rgba(248,244,239,0.75); line-height: 1.8; margin-bottom: 2rem; }
.shop-coming-soon .btn-dark { background: #f8f4ef; color: #4a0018; border-color: #f8f4ef; }
.shop-coming-soon .btn-dark:hover { background: #c9a84c; color: #fff; border-color: #c9a84c; }

/* ============================================================
   ABOUT PAGE — MISSION / VISION / VALUES / PROMISE (MVV)
   ============================================================ */

.about-mvv-section {
    padding: 5rem 1rem;
    background: var(--white);
}

.about-mvv-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.about-mvv-block {
    max-width: 680px;
    margin: 0 auto;
    padding: 2rem 0;
}

.about-mvv-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.about-mvv-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.about-mvv-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    max-width: 680px;
    margin: 0 auto;
}

/* Values list */
.about-values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-value-item {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-value-item:last-child {
    border-bottom: none;
}

.about-value-name {
    font-weight: 700;
    color: var(--wine);
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.about-value-name::after {
    content: ':';
}

/* Promise block */
.about-promise {
    background: var(--cream);
    border-left: 3px solid var(--gold);
    padding: 1.5rem 1.75rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-promise-lead {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.about-promise .about-mvv-text {
    margin-bottom: 0.65rem;
}

/* ============================================================
   ABOUT PAGE — STORY / TIMELINE (MOSTENITORUL LUI BACHUS)
   ============================================================ */

.about-story-section {
    padding: 5rem 1rem;
    background: var(--cream);
}

.about-story-heading {
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-story-intro {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 1rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Timeline */
.about-timeline {
    position: relative;
    max-width: 680px;
    margin: 3rem auto 0;
    padding-left: 2.5rem;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 0.55rem;
    top: 0.6rem;
    bottom: 0.6rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold-pale), var(--gold), var(--gold-pale));
}

.about-timeline-item {
    position: relative;
    margin-bottom: 2.75rem;
}

.about-timeline-item:last-child {
    margin-bottom: 0;
}

.about-timeline-dot {
    position: absolute;
    left: -2.15rem;
    top: 0.35rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 3px var(--cream);
    z-index: 1;
}

.about-timeline-dot--accent {
    background: var(--gold);
    width: 16px;
    height: 16px;
    left: -2.2rem;
    top: 0.28rem;
    box-shadow: 0 0 0 3px var(--gold-pale), 0 0 0 5px var(--cream);
}

.about-timeline-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border-left: 3px solid transparent;
    transition: border-color 0.2s;
}

.about-timeline-item:hover .about-timeline-content {
    border-left-color: var(--gold-light);
}

.about-timeline-title {
    font-family: var(--font-serif);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--wine);
    margin-bottom: 0.75rem;
    font-variant: small-caps;
}

.about-timeline-text {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.8;
    margin-bottom: 0.6rem;
}

.about-timeline-text:last-child {
    margin-bottom: 0;
}

/* "De ce altVIN" block */
.about-why-section {
    max-width: 680px;
    margin: 3.5rem auto 0;
    text-align: center;
}

.about-why-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.about-word-defs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.about-word-def {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border-top: 3px solid var(--gold);
}

.about-word-def-word {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--wine);
}

.about-word-def-quote {
    font-size: 0.78rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-word-def-meaning {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Closing quote */
.about-story-closing {
    max-width: 680px;
    margin: 3rem auto 0;
    padding: 2rem 2.5rem;
    background: var(--wine-dark);
    color: rgba(255,255,255,0.85);
    border-radius: var(--radius-md);
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
    font-style: italic;
}

.about-story-closing strong {
    color: var(--gold-light);
    font-style: normal;
    display: block;
    margin-top: 0.75rem;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

/* Responsive — MVV + Story */
@media (max-width: 768px) {
    .about-word-defs {
        grid-template-columns: 1fr;
    }
    .about-timeline {
        padding-left: 2rem;
    }
    .about-timeline-dot {
        left: -1.7rem;
    }
    .about-timeline-dot--accent {
        left: -1.75rem;
    }
    .about-story-closing {
        padding: 1.5rem 1.25rem;
        font-size: 0.92rem;
    }
}

@media (max-width: 480px) {
    .about-mvv-section { padding: 3.5rem 1rem; }
    .about-story-section { padding: 3.5rem 1rem; }
    .about-mvv-title { font-size: 1.25rem; }
    .about-timeline-content { padding: 1.1rem 1.25rem; }
    .about-word-defs { margin-top: 1.5rem; }
}
