/* ============================================================
   PARFINO — Main Stylesheet
   Art direction: luxury, haute couture, breathable
   Colors: #64222C (Deep Wine) · #FDE8CD (Warm Cream)
   ============================================================ */


/* ── Custom Properties ─────────────────────────────────────── */

:root {
    /* Brand Palette */
    --wine: #64222C;
    --wine-light: #8a3040;
    --wine-dark: #4a1820;
    --cream: #FDE8CD;
    --cream-light: #FEF6EC;
    --cream-dark: #F5D4A8;
    /* Neutrals */
    --ink: #0D0608;
    --ink-80: rgba(13, 6, 8, .8);
    --ink-40: rgba(13, 6, 8, .4);
    --ink-10: rgba(13, 6, 8, .08);
    --smoke: #8B7B6B;
    --bone: #E8DDD4;
    --white: #FFFFFF;
    /* Typography */
    --font-display: 'Old Standard TT', Georgia, serif;
    --font-ui: 'Inter', system-ui, sans-serif;
    /* Sizes — fluid type scale */
    --text-xs: clamp(.7rem, 1.5vw, .75rem);
    --text-sm: clamp(.8rem, 1.8vw, .875rem);
    --text-base: clamp(.9rem, 2vw, 1rem);
    --text-md: clamp(1rem, 2.2vw, 1.125rem);
    --text-lg: clamp(1.1rem, 2.5vw, 1.25rem);
    --text-xl: clamp(1.25rem, 3vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 4vw, 2rem);
    --text-3xl: clamp(2rem, 5vw, 2.75rem);
    --text-4xl: clamp(2.5rem, 6.5vw, 4rem);
    --text-5xl: clamp(3rem, 9vw, 6rem);
    /* Spacing */
    --space-xs: .375rem;
    --space-sm: .75rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 3.5rem;
    --space-2xl: 6rem;
    --space-3xl: 10rem;
    /* Layout */
    --container: 1320px;
    --gap: clamp(1rem, 2.5vw, 1.5rem);
    /* Radii */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 32px;
    --r-full: 9999px;
    /* Transitions */
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-in: cubic-bezier(.7, 0, .84, 0);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    --dur-fast: 160ms;
    --dur-base: 300ms;
    --dur-slow: 500ms;
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(13, 6, 8, .08), 0 1px 2px rgba(13, 6, 8, .05);
    --shadow-md: 0 4px 16px rgba(13, 6, 8, .1), 0 2px 6px rgba(13, 6, 8, .06);
    --shadow-lg: 0 12px 40px rgba(13, 6, 8, .14), 0 4px 12px rgba(13, 6, 8, .08);
    --shadow-xl: 0 24px 64px rgba(100, 34, 44, .18);
    /* Header height */
    --header-h: 70px;
}


/* ── Reset ──────────────────────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-ui);
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream-light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
}

[hidden] {
    display: none !important;
}

input,
select,
textarea {
    font: inherit;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
}


/* ── Utility ────────────────────────────────────────────────── */

.container {
    width: min(var(--container), 100%);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
}

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


/* ── Buttons ────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: var(--r-full);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: .04em;
    transition: all var(--dur-base) var(--ease-out);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background var(--dur-fast);
}

.btn:hover::after {
    background: rgba(255, 255, 255, .1);
}

.btn:active {
    transform: scale(.97);
}

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

.btn--primary:hover {
    background: var(--wine-light);
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(253, 232, 205, .35);
}

.btn--ghost:hover {
    border-color: var(--cream);
    background: rgba(253, 232, 205, .08);
}

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

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

.btn--lg {
    padding: 1rem 2.25rem;
    font-size: var(--text-md);
}

.btn--full {
    width: 100%;
    justify-content: center;
}


/* ── Header ─────────────────────────────────────────────────── */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--wine);
    box-shadow: 0 1px 0 rgba(253, 232, 205, .1);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    height: 100%;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
    max-width: var(--container);
    margin-inline: auto;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: opacity var(--dur-fast);
}

.logo:hover {
    opacity: .8;
}

.logo-img {
    height: 52px;
    width: auto;
    display: block;
    /* SVG цвет адаптируется через filter если нужен светлый вариант */
}

.logo-img--footer {
    height: 48px;
    filter: brightness(0) invert(1);
    opacity: .85;
}

.logo-text {
    font-size: .85rem;
    letter-spacing: .28em;
    margin-top: .1em;
    color: var(--cream);
}


/* Nav */

.main-nav {
    display: flex;
    gap: var(--space-lg);
    margin-left: auto;
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: .06em;
    color: rgba(253, 232, 205, .75);
    transition: color var(--dur-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cream);
    transition: width var(--dur-base) var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--cream);
}

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


/* Header actions */

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

.search-toggle,
.cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--r-full);
    color: rgba(253, 232, 205, .75);
    transition: color var(--dur-fast), background var(--dur-fast);
}

.search-toggle:hover,
.cart-btn:hover {
    color: var(--cream);
    background: rgba(253, 232, 205, .1);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    background: var(--wine);
    color: var(--cream);
    font-size: 10px;
    font-weight: 600;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    border: 2px solid var(--ink);
}


/* Search field */

.header-search {
    position: relative;
}

.search-field {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    transform-origin: right;
    width: 260px;
    background: rgba(253, 232, 205, .1);
    border: 1px solid rgba(253, 232, 205, .2);
    border-radius: var(--r-full);
    overflow: hidden;
    transition: transform var(--dur-base) var(--ease-out);
    backdrop-filter: blur(10px);
}

.search-field.is-open {
    transform: translateY(-50%) scaleX(1);
}

.search-field input {
    width: 100%;
    padding: .5rem 1.25rem;
    background: transparent;
    border: none;
    outline: none;
    color: var(--cream);
    font-size: var(--text-sm);
}

.search-field input::placeholder {
    color: rgba(253, 232, 205, .4);
}


/* ── Burger ──────────────────────────────────────────────────── */
.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--r-full);
  color: rgba(253,232,205,.8);
  transition: color var(--dur-fast), background var(--dur-fast);
  flex-shrink: 0;
}
.burger:hover { color: var(--cream); background: rgba(253,232,205,.1); }
.burger__icon { display: block; }

/* ── Mobile nav ─────────────────────────────────────────────── */
.mob-nav {
  position: fixed;
  inset: 0;
  z-index: 1500;
  pointer-events: none;
}
.mob-nav.is-open { pointer-events: all; }

.mob-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,6,8,.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}
.mob-nav.is-open .mob-nav__backdrop { opacity: 1; }

.mob-nav__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(300px, 82vw);
  background: var(--wine);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(13,6,8,.35);
}
.mob-nav.is-open .mob-nav__panel { transform: translateX(0); }

.mob-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  height: var(--header-h);
  border-bottom: 1px solid rgba(253,232,205,.12);
  flex-shrink: 0;
}
.mob-nav__close {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  color: rgba(253,232,205,.75);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.mob-nav__close:hover { color: var(--cream); background: rgba(253,232,205,.12); }

.mob-nav__links {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  flex: 1;
}
.mob-nav__link {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: rgba(253,232,205,.72);
  letter-spacing: .02em;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(253,232,205,.08);
  transition: color var(--dur-fast), padding-left var(--dur-base) var(--ease-out);
  display: block;
}
.mob-nav__link:last-child { border-bottom: none; }
.mob-nav__link:hover,
.mob-nav__link.is-active { color: var(--cream); padding-left: .4rem; }

.mob-nav__footer {
  padding: 1.25rem 1.25rem 2.5rem;
  border-top: 1px solid rgba(253,232,205,.1);
}
.mob-nav__tg {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--text-sm); color: rgba(253,232,205,.55);
  transition: color var(--dur-fast);
}
.mob-nav__tg:hover { color: var(--cream); }


/* ── Hero ───────────────────────────────────────────────────── */

.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--ink);
    padding: calc(var(--header-h) + 2rem) 1rem 3rem;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__grain {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
    background-size: 180px;
    opacity: .6;
    animation: grain 8s steps(10) infinite;
}

.hero__orb {
    position: absolute;
    border-radius: var(--r-full);
    filter: blur(80px);
    opacity: .45;
}

.hero__orb--1 {
    width: 50vmax;
    height: 50vmax;
    top: -15vmax;
    right: -10vmax;
    background: radial-gradient(circle, var(--wine) 0%, transparent 70%);
    animation: orb-float 12s ease-in-out infinite;
}

.hero__orb--2 {
    width: 35vmax;
    height: 35vmax;
    bottom: -10vmax;
    left: -5vmax;
    background: radial-gradient(circle, #3d1018 0%, transparent 70%);
    animation: orb-float 16s ease-in-out infinite reverse;
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 860px;
}

.hero__eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--cream-dark);
    margin-bottom: var(--space-md);
    padding: .35em 1em;
    border: 1px solid rgba(253, 232, 205, .25);
    border-radius: var(--r-full);
}

.hero__title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 300;
    color: var(--cream);
    letter-spacing: -.01em;
    margin-bottom: var(--space-md);
    line-height: 1.05;
}

.hero__title em {
    font-style: italic;
    font-weight: 600;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 60%, var(--wine-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__sub {
    font-size: var(--text-md);
    color: rgba(253, 232, 205, .65);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 480px;
    margin-inline: auto;
}

/* ── Hero search bar ─────────────────────────────────────────── */
.hero__search-bar {
    display: flex;
    align-items: center;
    gap: .9rem;
    width: 100%;
    max-width: 560px;
    margin: 0 auto var(--space-xl);
    padding: 1rem 1.25rem;
    background: rgba(253,232,205,.09);
    border: 1.5px solid rgba(253,232,205,.22);
    border-radius: var(--r-full);
    color: rgba(253,232,205,.75);
    cursor: pointer;
    transition: background var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
    backdrop-filter: blur(10px);
}
.hero__search-bar:hover {
    background: rgba(253,232,205,.15);
    border-color: rgba(253,232,205,.45);
    box-shadow: 0 0 0 4px rgba(253,232,205,.07);
    color: var(--cream);
}
.hero__search-bar__text {
    flex: 1;
    text-align: left;
    font-size: var(--text-sm);
    letter-spacing: .01em;
}
.hero__search-bar__kbd {
    font-size: 11px;
    opacity: .5;
    border: 1px solid rgba(253,232,205,.3);
    border-radius: 5px;
    padding: .15em .45em;
    flex-shrink: 0;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.hero__volumes {
    display: flex;
    gap: .5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.volume-pill {
    font-size: var(--text-xs);
    letter-spacing: .1em;
    padding: .35em .9em;
    border: 1px solid rgba(253, 232, 205, .2);
    border-radius: var(--r-full);
    color: rgba(253, 232, 205, .55);
    backdrop-filter: blur(4px);
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: rgba(253, 232, 205, .35);
    font-size: var(--text-xs);
    letter-spacing: .15em;
    text-transform: uppercase;
}

.scroll-indicator {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(253, 232, 205, .35), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}


/* ── Sections ───────────────────────────────────────────────── */

.section {
    padding-block: var(--space-2xl);
}

.section-header {
    display: flex;
    align-items: flex-end;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.section-eyebrow {
    font-size: var(--text-xs);
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--wine);
    font-weight: 500;
    display: block;
    margin-bottom: .5rem;
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 300;
    color: var(--ink);
    flex: 1;
}

.section-link {
    font-size: var(--text-sm);
    color: var(--wine);
    font-weight: 500;
    letter-spacing: .04em;
    transition: gap var(--dur-fast);
    margin-bottom: .25rem;
    white-space: nowrap;
}

.section-link:hover {
    opacity: .75;
}


/* ── Product Grid ───────────────────────────────────────────── */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
    gap: var(--gap);
}


/* ── Product Card ───────────────────────────────────────────── */

.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: var(--shadow-xl);
}

.product-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.product-card__media {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
}

.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: transform var(--dur-slow) var(--ease-out);
}

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

.product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wine);
}

.product-card__placeholder svg {
    width: 50%;
    height: 50%;
}


/* Shimmer overlay on hover */

.product-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, transparent 30%, rgba(253, 232, 205, .25) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .7s var(--ease-out);
}

.product-card:hover .product-card__media::after {
    transform: translateX(100%);
}


/* Product badges */

.product-card__badges {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    right: var(--space-sm);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .3rem;
    z-index: 2;
}

.product-card__badges-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .3rem;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: .28em .7em;
    border-radius: var(--r-full);
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.product-badge--male,
.product-badge--female,
.product-badge--unisex {
    display: none; /* временно скрыто */
}

.product-badge--special {
    background: var(--wine);
    color: var(--cream);
}


/* On product page (outside card media) */

.product-top-badges {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
}

.product-top-badges .product-badge {
    font-size: var(--text-xs);
    padding: .35em 1em;
}

.product-card__body {
    padding: var(--space-md) var(--space-md) .5rem;
    flex: 1;
}

.product-card__brand {
    font-size: var(--text-xs);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--smoke);
    margin-bottom: .35rem;
}

.product-card__brand a {
    position: relative;
    z-index: 2;
    transition: color var(--dur-fast);
}

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

.product-card__name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .5rem;
    line-height: 1.2;
}

.product-card__name a {
    position: relative;
    z-index: 2;
    transition: color var(--dur-fast);
}

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

.product-card__notes {
    font-size: var(--text-xs);
    color: var(--smoke);
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem var(--space-md) var(--space-md);
    gap: .5rem;
}

.product-card__price {
    font-family: var(--font-ui);
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--wine);
}
.product-card__price--inquiry {
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(80,40,50,.65);
    font-style: italic;
}

.product-card__cta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--wine);
    padding: .5em .9em;
    border: 1.5px solid var(--wine);
    border-radius: var(--r-full);
    transition: all var(--dur-base) var(--ease-out);
}

.product-card__cta:hover {
    background: var(--wine);
    color: var(--cream);
    transform: translateX(2px);
}


/* ── Decant Banner ──────────────────────────────────────────── */

.section--decant {
    background: var(--wine);
}

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

.decant-banner__text {
    color: var(--cream);
}

.decant-banner__title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 300;
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.decant-banner__desc {
    color: rgba(253, 232, 205, .75);
    margin-bottom: var(--space-lg);
    font-size: var(--text-md);
    max-width: 420px;
}

.decant-options {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.decant-option {
    text-align: center;
    padding: var(--space-md);
    border: 1px solid rgba(253, 232, 205, .2);
    border-radius: var(--r-md);
    min-width: 80px;
    transition: border-color var(--dur-base), background var(--dur-base);
}

.decant-option:hover {
    border-color: rgba(253, 232, 205, .5);
    background: rgba(253, 232, 205, .06);
}

.decant-option__ml {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 600;
    line-height: 1;
    color: var(--cream);
}

.decant-option__unit {
    display: block;
    font-size: var(--text-xs);
    color: rgba(253, 232, 205, .5);
    letter-spacing: .08em;
    margin-bottom: .25rem;
}

.decant-option__label {
    font-size: var(--text-xs);
    color: rgba(253, 232, 205, .6);
    letter-spacing: .1em;
}

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

.decant-banner .btn--primary:hover {
    background: var(--cream-dark);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
}


/* Decorative bottles */

.decant-banner__visual {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.decant-bottles {
    display: flex;
    align-items: flex-end;
    gap: var(--space-md);
}

.decant-bottle {
    background: linear-gradient(160deg, rgba(253, 232, 205, .25), rgba(253, 232, 205, .08));
    border: 1px solid rgba(253, 232, 205, .2);
    border-radius: var(--r-md) var(--r-md) var(--r-sm) var(--r-sm);
    animation: bottle-float 3s ease-in-out infinite;
}

.decant-bottle--sm {
    width: 36px;
    height: 60px;
    animation-delay: 0s;
}

.decant-bottle--md {
    width: 48px;
    height: 85px;
    animation-delay: .4s;
}

.decant-bottle--lg {
    width: 60px;
    height: 110px;
    animation-delay: .8s;
}

.decant-bottle--xl {
    width: 72px;
    height: 140px;
    animation-delay: 1.2s;
}


/* ── Brands Grid ────────────────────────────────────────────── */

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.brand-chip {
    display: flex;
    flex-direction: column;
    padding: var(--space-md) var(--space-lg);
    border: 1.5px solid var(--bone);
    border-radius: var(--r-lg);
    transition: all var(--dur-base) var(--ease-out);
    background: var(--white);
}

.brand-chip:hover {
    border-color: var(--wine);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.brand-chip__name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--ink);
    transition: color var(--dur-fast);
}

.brand-chip:hover .brand-chip__name {
    color: var(--wine);
}

.brand-chip__country {
    font-size: var(--text-xs);
    color: var(--smoke);
    letter-spacing: .06em;
    margin-top: .2rem;
}


/* ── Promise / Values ───────────────────────────────────────── */

.section--promise {
    background: var(--cream-light);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--gap);
}

.promise-card {
    padding: var(--space-lg);
    border-radius: var(--r-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow);
}

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

.promise-card__icon {
    width: 48px;
    height: 48px;
    color: var(--wine);
    margin-bottom: var(--space-md);
}

.promise-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .5rem;
}

.promise-card p {
    font-size: var(--text-sm);
    color: var(--smoke);
    line-height: 1.6;
}


/* ── Catalog Layout ─────────────────────────────────────────── */

.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl) clamp(1rem, 4vw, 2.5rem);
    max-width: var(--container);
    margin-inline: auto;
    padding-top: calc(var(--header-h) + var(--space-xl));
}


/* Sidebar */

.catalog-sidebar {
    position: relative;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 6, 8, .6);
    z-index: 200;
    backdrop-filter: blur(4px);
}

.sidebar-panel {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    max-height: calc(100vh - var(--header-h) - 3rem);
    overflow: hidden;
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.sidebar-panel form {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
    padding-bottom: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-lg) 0;
    margin-bottom: 0;
    flex-shrink: 0;
}

.sidebar-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
}

.sidebar-close {
    display: none;
    color: var(--smoke);
}

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

.filter-label {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--smoke);
    margin-bottom: var(--space-sm);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.filter-options--brands {
    max-height: 220px;
    overflow-y: auto;
}

.filter-options--brands::-webkit-scrollbar {
    width: 3px;
}

.filter-options--brands::-webkit-scrollbar-track {
    background: var(--cream-light);
}

.filter-options--brands::-webkit-scrollbar-thumb {
    background: var(--bone);
    border-radius: 2px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: var(--text-sm);
    color: var(--ink-80);
    cursor: pointer;
    padding: .35rem .5rem;
    border-radius: var(--r-sm);
    transition: background var(--dur-fast);
}

.filter-option:hover {
    background: var(--cream-light);
}

.filter-option:has(input:checked) {
    color: var(--wine);
    font-weight: 500;
}

.filter-option input {
    accent-color: var(--wine);
}

.filter-option em {
    margin-left: auto;
    font-style: normal;
    font-size: var(--text-xs);
    color: var(--bone);
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--bone);
    flex-shrink: 0;
}


/* Filter count badge */

.filter-count {
    font-size: var(--text-xs);
    font-style: normal;
    color: var(--smoke);
    margin-left: auto;
    opacity: .7;
}


/* Reset button (black) */

.btn--reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .65rem 1.25rem;
    border: 1px solid var(--ink);
    color: var(--ink);
    background: transparent;
    border-radius: var(--r-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: background var(--dur-fast), color var(--dur-fast);
    cursor: pointer;
}

.btn--reset:hover {
    background: var(--ink);
    color: var(--white);
}


/* Inline reset in catalog topbar (desktop) */

.catalog-reset-inline {
    display: none;
}

@media (min-width: 1024px) {
    .catalog-reset-inline {
        display: inline-flex;
    }
}


/* Catalog Main */

/* ── Catalog search bar ──────────────────────────────────────── */
.catalog-search-bar {
    display: flex;
    align-items: center;
    gap: .85rem;
    width: 100%;
    padding: 1rem 1.4rem;
    margin-bottom: 1.25rem;
    background: #fff;
    border: 2px solid var(--bone);
    border-radius: var(--r-full);
    color: var(--smoke);
    cursor: pointer;
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast), color var(--dur-fast);
    box-shadow: var(--shadow-sm);
}
.catalog-search-bar:hover,
.catalog-search-bar:focus-visible {
    border-color: var(--wine);
    box-shadow: 0 0 0 3px rgba(100,34,44,.10);
    color: var(--ink);
}
.catalog-search-bar svg { flex-shrink: 0; color: var(--wine); }
.catalog-search-bar__text {
    flex: 1;
    text-align: left;
    font-size: var(--text-sm);
}
.catalog-search-bar__kbd {
    font-size: 11px;
    color: var(--smoke);
    opacity: .6;
    border: 1px solid var(--bone);
    border-radius: 5px;
    padding: .15em .45em;
    flex-shrink: 0;
}
.catalog-search-bar__clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--bone);
    color: var(--ink);
    font-size: 12px;
    flex-shrink: 0;
    text-decoration: none;
    transition: background var(--dur-fast);
}
.catalog-search-bar__clear:hover { background: var(--wine); color: var(--cream); }

.catalog-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.catalog-meta {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.catalog-heading {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 300;
    color: var(--ink);
}

.catalog-count {
    font-size: var(--text-sm);
    color: var(--smoke);
}

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

/* ── Sort chips ──────────────────────────────────────────────── */
.sort-chips {
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
    align-items: center;
}
.sort-chip {
    padding: .45rem .95rem;
    border: 1.5px solid var(--bone);
    border-radius: var(--r-full);
    background: var(--white);
    color: var(--smoke);
    font-size: var(--text-xs);
    font-weight: 500;
    white-space: nowrap;
    transition: all var(--dur-fast);
    text-decoration: none;
}
.sort-chip:hover {
    border-color: var(--wine);
    color: var(--wine);
}
.sort-chip.is-active {
    background: var(--wine);
    border-color: var(--wine);
    color: var(--cream);
    font-weight: 600;
}

.filter-trigger {
    display: none;
}


/* ── Pagination ─────────────────────────────────────────────── */

.pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--bone);
}

.pagination__info {
    font-size: var(--text-xs);
    color: var(--smoke);
    letter-spacing: .05em;
}

.pagination__controls {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination__btn {
    min-width: 42px;
    height: 42px;
    padding: 0 .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--bone);
    border-radius: var(--r-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ink);
    background: var(--white);
    text-decoration: none;
    transition: all var(--dur-fast);
    box-shadow: var(--shadow-sm);
}
.pagination__btn:hover {
    border-color: var(--wine);
    color: var(--wine);
    box-shadow: 0 2px 10px rgba(100,34,44,.12);
    transform: translateY(-1px);
}
.pagination__btn.is-active {
    background: var(--wine);
    border-color: var(--wine);
    color: var(--cream);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(100,34,44,.25);
    transform: translateY(-1px);
}
.pagination__btn--nav {
    color: var(--smoke);
}
.pagination__btn--nav:hover {
    color: var(--wine);
}
.pagination__btn.is-disabled {
    opacity: .3;
    pointer-events: none;
    box-shadow: none;
}
.pagination__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    color: var(--smoke);
    font-size: var(--text-sm);
    letter-spacing: .1em;
    user-select: none;
}


/* ── Product Page ───────────────────────────────────────────── */

.product-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    padding-top: calc(var(--header-h) + var(--space-md));
    padding-bottom: var(--space-2xl);
}

.breadcrumbs {
    padding-top: calc(var(--header-h) + var(--space-md));
    font-size: var(--text-xs);
    color: var(--smoke);
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

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


/* Gallery */

.product-gallery {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
}

.product-gallery__main {
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #fff;
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.product-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: transform var(--dur-slow) var(--ease-out);
}

.product-gallery__img:hover {
    transform: scale(1.03);
}

.product-gallery__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wine);
}

.product-gallery__placeholder svg {
    width: 40%;
}

.product-gallery__thumbs {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.product-gallery__thumb {
    width: 70px;
    border-radius: var(--r-sm);
    overflow: hidden;
    opacity: .6;
    border: 2px solid transparent;
    transition: opacity var(--dur-fast), border-color var(--dur-fast);
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
    opacity: 1;
    border-color: var(--wine);
}


/* Product Info */

.product-page__meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.product-brand-link {
    font-size: var(--text-xs);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--wine);
    font-weight: 500;
    transition: opacity var(--dur-fast);
}

.product-brand-link:hover {
    opacity: .7;
}

.product-concentration {
    font-size: var(--text-xs);
    color: var(--smoke);
    padding: .25em .75em;
    border: 1px solid var(--bone);
    border-radius: var(--r-full);
}


/* ── Product Rating ─────────────────────────────────────────── */

.product-rating {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
    position: relative;
}

.product-rating__stars {
    display: flex;
    align-items: center;
    gap: .15rem;
}

.product-rating__stars .star {
    width: 16px;
    height: 16px;
    color: var(--wine);
}

.product-rating__value {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
}

.product-rating__info {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid var(--bone);
    background: transparent;
    font-size: 11px;
    font-weight: 600;
    color: var(--smoke);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--dur-fast), color var(--dur-fast);
}

.product-rating__info:hover {
    border-color: var(--wine);
    color: var(--wine);
}

.product-rating__tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 100;
    background: var(--white);
    border: 1px solid var(--bone);
    border-radius: var(--r-sm);
    padding: .75rem 1rem;
    box-shadow: var(--shadow-md);
    font-size: var(--text-xs);
    color: var(--smoke);
    line-height: 1.5;
    max-width: 280px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
}

.product-rating__tooltip.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}


/* Card rating (compact) */

.product-card__rating {
    display: flex;
    align-items: center;
    gap: .2rem;
    margin-top: .25rem;
}

.product-card__rating .star {
    width: 12px;
    height: 12px;
    color: var(--wine);
}

.product-card__rating-val {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--smoke);
    margin-left: .2rem;
}

.product-name {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 300;
    color: var(--ink);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}


/* Notes */

.product-notes-preview {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--cream-light);
    border-radius: var(--r-md);
}

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

.notes-row__label {
    font-size: var(--text-xs);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--smoke);
    min-width: 55px;
}

.notes-row__values {
    font-size: var(--text-sm);
    color: var(--ink-80);
}


/* Volume Selector */

.volume-selector {
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    border: 1.5px solid var(--bone);
    border-radius: var(--r-lg);
}

.volume-selector__label {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--smoke);
    margin-bottom: var(--space-md);
}

.volume-options {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: .5rem;
    margin-bottom: var(--space-lg);
}

/* 2+3 раскладка: первые 2 занимают по 3 колонки, следующие 3 — по 2 */
.volume-option:nth-child(1),
.volume-option:nth-child(2) { grid-column: span 3; }

.volume-option:nth-child(3),
.volume-option:nth-child(4),
.volume-option:nth-child(5) { grid-column: span 2; }

.volume-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    padding: .75rem .5rem;
    border: 1.5px solid var(--bone);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease-out);
    min-width: 0;
}

.volume-option:hover {
    border-color: var(--wine);
}

.volume-option.is-selected {
    border-color: var(--wine);
    background: var(--wine);
}

.volume-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.volume-option__ml {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ink);
    transition: color var(--dur-fast);
}

.volume-option.is-selected .volume-option__ml {
    color: var(--cream);
}

.volume-option__price {
    font-size: var(--text-xs);
    color: var(--smoke);
    transition: color var(--dur-fast);
}

.volume-option.is-selected .volume-option__price {
    color: rgba(253, 232, 205, .7);
}


/* Add to Cart */

.add-to-cart {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem .75rem;
    border: 1.5px solid var(--bone);
    border-radius: var(--r-full);
}

.qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--smoke);
    border-radius: var(--r-full);
    transition: all var(--dur-fast);
}

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

.qty-value {
    font-size: var(--text-md);
    font-weight: 600;
    min-width: 1.5ch;
    text-align: center;
}

.add-to-cart-btn {
    flex: 1;
}


/* Product Description */

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

.product-description__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.product-description p {
    font-size: var(--text-md);
    color: var(--smoke);
    line-height: 1.8;
}


/* Product Details table */

.product-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--bone);
    border-radius: var(--r-md);
    overflow: hidden;
}

.product-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem var(--space-md);
    font-size: var(--text-sm);
    border-bottom: 1px solid var(--bone);
}

.product-detail:last-child {
    border-bottom: none;
}

.product-detail span {
    color: var(--smoke);
}

.product-detail strong,
.product-detail a {
    color: var(--ink);
    font-weight: 500;
}

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

.out-of-stock {
    font-size: var(--text-sm);
    color: var(--smoke);
    padding: var(--space-md);
    text-align: center;
    border: 1px dashed var(--bone);
    border-radius: var(--r-md);
}


/* ── Brand Hero ─────────────────────────────────────────────── */

.brand-hero {
    padding-top: calc(var(--header-h) + var(--space-2xl));
    padding-bottom: var(--space-xl);
    background: var(--ink);
    color: var(--cream);
}

.brand-hero .breadcrumbs {
    padding-top: 0;
    color: rgba(253, 232, 205, .45);
    margin-bottom: var(--space-lg);
}

.brand-hero .breadcrumbs a {
    color: rgba(253, 232, 205, .45);
}

.brand-hero .breadcrumbs a:hover {
    color: var(--cream);
}

.brand-hero__name {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 300;
    color: var(--cream);
    margin-bottom: var(--space-sm);
}

.brand-hero__country {
    font-size: var(--text-sm);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(253, 232, 205, .45);
    margin-bottom: var(--space-md);
}

.brand-hero__desc {
    font-size: var(--text-md);
    color: rgba(253, 232, 205, .7);
    max-width: 560px;
    line-height: 1.75;
}


/* ── Cart Page ──────────────────────────────────────────────── */

.cart-page {
    padding-top: calc(var(--header-h) + var(--space-xl));
    padding-bottom: var(--space-3xl);
    min-height: 70vh;
}

.cart-page__title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 300;
    margin-bottom: var(--space-xl);
}

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

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--bone);
}

.cart-item__media img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--r-sm);
    background: var(--cream-light);
}

.cart-item__placeholder {
    width: 80px;
    height: 100px;
    background: var(--cream-light);
    border-radius: var(--r-sm);
}

.cart-item__brand {
    font-size: var(--text-xs);
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--smoke);
    margin-bottom: .2rem;
}

.cart-item__name {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ink);
    display: block;
    margin-bottom: .25rem;
    transition: color var(--dur-fast);
}

.cart-item__name:hover {
    color: var(--wine);
}

.cart-item__volume {
    font-size: var(--text-sm);
    color: var(--smoke);
}

.cart-item__price {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--wine);
    white-space: nowrap;
}

.cart-item__remove {
    color: var(--smoke);
    padding: .5rem;
    border-radius: var(--r-full);
    transition: all var(--dur-fast);
}

.cart-item__remove:hover {
    color: var(--wine);
    background: rgba(100, 34, 44, .08);
}

.order-summary {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.order-summary__title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.order-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0;
    border-bottom: 1px solid var(--bone);
    font-size: var(--text-sm);
    color: var(--smoke);
}

.order-summary__row--total {
    font-size: var(--text-lg);
    color: var(--ink);
    font-weight: 600;
    border-bottom: none;
    margin-bottom: var(--space-md);
}

.order-summary__note {
    margin-top: var(--space-md);
    font-size: var(--text-xs);
    color: var(--smoke);
    line-height: 1.5;
    text-align: center;
}


/* ── Cart Drawer ────────────────────────────────────────────── */

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
}

.cart-drawer.is-open {
    pointer-events: all;
}

.cart-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 6, 8, .6);
    opacity: 0;
    transition: opacity var(--dur-slow) var(--ease-out);
    backdrop-filter: blur(4px);
}

.cart-drawer.is-open .cart-drawer-overlay {
    opacity: 1;
}

.cart-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(420px, 100%);
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease-out);
    box-shadow: -8px 0 40px rgba(13, 6, 8, .15);
}

.cart-drawer.is-open .cart-drawer-panel {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--bone);
}

.cart-drawer-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
}

.cart-drawer-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-full);
    color: var(--smoke);
    transition: all var(--dur-fast);
}

.cart-drawer-close:hover {
    background: var(--cream-light);
    color: var(--wine);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md) var(--space-lg);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    height: 100%;
    min-height: 300px;
    color: var(--smoke);
    text-align: center;
}

.cart-empty p {
    font-size: var(--text-md);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.cart-drawer-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--bone);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-sm);
    color: var(--smoke);
}

.cart-total strong {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--wine);
}


/* ── Empty State ────────────────────────────────────────────── */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
    color: var(--smoke);
}

.empty-state h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 300;
    color: var(--ink);
}

.empty-state__icon {
    font-size: 3rem;
}


/* ── Related section ────────────────────────────────────────── */

.section--related {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    background: var(--cream-light);
}

.section--related .section-header {
    padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.section--related .products-grid {
    padding-inline: clamp(1rem, 4vw, 2.5rem);
}


/* ── Footer ─────────────────────────────────────────────────── */

.site-footer {
    background: var(--ink);
    color: var(--cream);
    padding-top: var(--space-2xl);
}

.footer-inner {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--space-2xl);
    padding-inline: clamp(1rem, 4vw, 2.5rem);
    max-width: var(--container);
    margin-inline: auto;
    padding-bottom: var(--space-xl);
}

.footer-tagline {
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    color: rgba(253, 232, 205, .45);
    line-height: 1.7;
}

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.footer-heading {
    font-size: var(--text-xs);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(253, 232, 205, .35);
    font-weight: 500;
    margin-bottom: .25rem;
    font-family: var(--font-ui);
}

.footer-col a {
    font-size: var(--text-sm);
    color: rgba(253, 232, 205, .55);
    transition: color var(--dur-fast);
}

.footer-col a:hover {
    color: var(--cream);
}

.footer-text {
    font-size: var(--text-sm);
    color: rgba(253, 232, 205, .35);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) clamp(1rem, 4vw, 2.5rem);
    border-top: 1px solid rgba(253, 232, 205, .08);
    max-width: var(--container);
    margin-inline: auto;
}

.footer-copy,
.footer-note {
    font-size: var(--text-xs);
    color: rgba(253, 232, 205, .25);
    letter-spacing: .04em;
}


/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .catalog-layout {
        grid-template-columns: 240px 1fr;
    }
}

@media (max-width: 768px) {
     :root {
        --header-h: 60px;
    }
    .main-nav {
        display: none;
    }
    .burger {
        display: flex;
    }
    /* Push header actions to the right when nav is hidden */
    .header-actions {
        margin-left: auto;
    }
    .catalog-layout {
        grid-template-columns: 1fr;
        padding-inline: 1rem;
    }
    .catalog-sidebar {
        position: fixed;
        inset: 0;
        z-index: 500;
        pointer-events: none;
    }
    .catalog-sidebar.is-open {
        pointer-events: all;
    }
    .catalog-sidebar.is-open .sidebar-overlay {
        display: block;
    }
    .sidebar-panel {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(320px, 90%);
        border-radius: 0 var(--r-lg) var(--r-lg) 0;
        transform: translateX(-100%);
        transition: transform var(--dur-slow) var(--ease-out);
        overflow: hidden;
        z-index: 501;
        max-height: 100vh;
    }
    .catalog-sidebar.is-open .sidebar-panel {
        transform: translateX(0);
    }
    .sidebar-close {
        display: block;
    }
    .filter-trigger {
        display: flex;
    }
    .decant-banner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    .decant-banner__visual {
        display: none;
    }
    .product-page {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        padding-top: calc(var(--header-h) + var(--space-md));
    }
    .product-gallery {
        position: static;
    }
    .cart-page__layout {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: .5rem;
        text-align: center;
    }
    .cart-item {
        grid-template-columns: 70px 1fr auto;
        grid-template-rows: auto auto;
        gap: var(--space-sm);
        padding: var(--space-md) 0;
        position: relative;
        align-items: center;
    }
    .cart-item__media {
        grid-row: 1 / 3;
    }
    .cart-item__info {
        grid-column: 2;
        grid-row: 1;
    }
    .cart-item__qty {
        grid-column: 2;
        grid-row: 2;
        display: flex;
        align-items: center;
        gap: var(--space-sm);
    }
    .cart-item__qty .qty-btn {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--bone);
        border-radius: var(--r-sm);
        font-size: 16px;
    }
    .cart-item__price {
        grid-column: 3;
        grid-row: 1 / 3;
        text-align: right;
    }
    .cart-item__remove {
        position: absolute;
        top: var(--space-sm);
        right: 0;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .75rem;
    }
    .decant-options {
        gap: .5rem;
    }
    .decant-option {
        min-width: 65px;
        padding: .6rem .75rem;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
    .volume-options {
        gap: .35rem;
    }
    .add-to-cart {
        flex-direction: column;
    }
    .add-to-cart .btn {
        width: 100%;
        justify-content: center;
    }
    /* Product card footer: stack price and button vertically */
    .product-card__footer {
        flex-direction: column;
        align-items: stretch;
        gap: .6rem;
    }
    .product-card__cta {
        justify-content: center;
        width: 100%;
    }
}


/* ── Prices — always Inter ───────────────────────────────────── */

.cart-total strong,
.cart-item__price,
.drawer-item__price,
.order-summary__row--total strong,
.volume-option__price,
.volume-option__ppm,
.product-card__price,
.add-to-cart-btn strong,
.product-detail strong,
#selectedPrice {
    font-family: var(--font-ui) !important;
}


/* ── Volume option price-per-ml ─────────────────────────────── */

.volume-option__ppm {
    font-size: 9px;
    color: var(--smoke);
    letter-spacing: .04em;
    margin-top: .05rem;
}

.volume-option.is-selected .volume-option__ppm {
    color: rgba(253, 232, 205, .5);
}


/* ── Product quick-info bar ─────────────────────────────────── */

.product-quick-info {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.quick-info-item {
    display: flex;
    flex-direction: column;
    padding: .6rem 1rem;
    background: var(--cream-light);
    border-radius: var(--r-md);
    min-width: 80px;
    text-align: center;
}

.quick-info-item span {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--smoke);
    margin-bottom: .2rem;
}

.quick-info-item strong {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
}


/* ── Note tags ──────────────────────────────────────────────── */

.notes-row {
    align-items: flex-start;
}

.notes-row__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
}

.note-tag {
    display: inline-block;
    font-size: var(--text-xs);
    padding: .22em .65em;
    background: var(--white);
    border: 1px solid var(--bone);
    border-radius: var(--r-full);
    color: var(--ink-80);
    transition: border-color var(--dur-fast), color var(--dur-fast);
}

.note-tag:hover {
    border-color: var(--wine);
    color: var(--wine);
}


/* ── Product page top row ───────────────────────────────────── */

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


/* ── When to wear ───────────────────────────────────────────── */

.product-when-wear {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(100, 34, 44, .06), rgba(100, 34, 44, .02));
    border: 1px solid rgba(100, 34, 44, .15);
    border-radius: var(--r-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.product-when-wear__icon {
    color: var(--wine);
    flex-shrink: 0;
    margin-top: .1rem;
}

.product-when-wear__label {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--wine);
    margin-bottom: .3rem;
}

.product-when-wear__text {
    font-size: var(--text-sm);
    color: var(--smoke);
    line-height: 1.6;
}


/* ── FAQ ────────────────────────────────────────────────────── */

.product-faq {
    padding-block: var(--space-2xl);
    max-width: 760px;
}

.product-faq__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 300;
    margin-bottom: var(--space-xl);
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--bone);
}

.faq-item__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--ink);
    text-align: left;
    transition: color var(--dur-fast);
}

.faq-item__q:hover {
    color: var(--wine);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--wine);
    transition: transform var(--dur-base) var(--ease-out);
}

.faq-item__q[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-item__a {
    padding-bottom: var(--space-md);
}

.faq-item__a p {
    font-size: var(--text-sm);
    color: var(--smoke);
    line-height: 1.75;
}


/* ── Brands page ────────────────────────────────────────────── */

.brands-page-hero {
    background: var(--wine);
    padding-top: calc(var(--header-h) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
    color: var(--cream);
}

.brands-page-hero .section-eyebrow {
    color: rgba(253, 232, 205, .55);
}

.brands-page-hero__title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 300;
    color: var(--cream);
    margin-bottom: var(--space-sm);
}

.brands-page-hero__sub {
    font-size: var(--text-md);
    color: rgba(253, 232, 205, .65);
    max-width: 520px;
    line-height: 1.7;
}

.brands-page-section {
    padding-top: var(--space-xl);
}

.brands-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--gap);
}

.brand-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--white);
    border: 1.5px solid var(--bone);
    border-radius: var(--r-lg);
    transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow), border-color var(--dur-base);
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--wine);
}

.brand-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-sm);
}

.brand-card__name {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--ink);
    transition: color var(--dur-fast);
}

.brand-card:hover .brand-card__name {
    color: var(--wine);
}

.brand-card__country {
    font-size: var(--text-xs);
    color: var(--smoke);
    letter-spacing: .08em;
    white-space: nowrap;
}

.brand-card__desc {
    font-size: var(--text-sm);
    color: var(--smoke);
    line-height: 1.65;
    flex: 1;
}

.brand-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--bone);
    margin-top: auto;
}

.brand-card__count {
    font-size: var(--text-xs);
    color: var(--smoke);
    letter-spacing: .06em;
}

.brand-card__arrow {
    color: var(--wine);
    font-size: var(--text-md);
    transition: transform var(--dur-base) var(--ease-out);
}

.brand-card:hover .brand-card__arrow {
    transform: translateX(4px);
}


/* ── Brand hero (single brand page) ────────────────────────── */

.brand-hero {
    background: var(--wine);
}


/* ── Mobile menu hover state ────────────────────────────────── */

.mobile-nav-link:hover {
    color: var(--cream);
    padding-left: .5rem;
}


/* ── Header scroll → same wine color ───────────────────────── */

.site-header.is-scrolled {
    background: var(--wine);
    box-shadow: 0 2px 12px rgba(100, 34, 44, .3);
}


/* ── Delivery banner ─────────────────────────────────────────── */

.delivery-banner {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    background: var(--cream);
    border: 1px solid var(--bone);
    border-radius: var(--r-md);
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-sm);
    color: var(--smoke);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.delivery-banner svg {
    flex-shrink: 0;
    color: var(--wine);
    margin-top: .1rem;
}

.delivery-banner strong {
    color: var(--ink);
    display: block;
    margin-bottom: .15rem;
}

.delivery-banner__free {
    color: var(--wine);
    font-weight: 600;
}


/* delivery inside cart drawer footer */

.drawer-delivery {
    font-size: var(--text-xs);
    color: var(--smoke);
    text-align: center;
    padding-top: .25rem;
}

.drawer-delivery strong {
    color: var(--wine);
}


/* ── Order form ──────────────────────────────────────────────── */

.order-form {
    background: var(--cream-light);
    border: 1px solid var(--bone);
    border-radius: var(--r-lg);
    padding: var(--space-xl) var(--space-xl);
    margin-top: var(--space-xl);
}

.order-form__title {
    font-size: var(--text-xl);
    margin-bottom: .35rem;
}

.order-form__sub {
    font-size: var(--text-sm);
    color: var(--smoke);
    margin-bottom: var(--space-lg);
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.form-field label {
    font-size: var(--text-xs);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--smoke);
    font-weight: 600;
}

.form-field input,
.form-field textarea {
    border: 1px solid var(--bone);
    border-radius: var(--r-md);
    padding: .75rem 1rem;
    background: #fff;
    font-size: var(--text-sm);
    color: var(--ink);
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
    width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--wine);
    box-shadow: 0 0 0 3px rgba(100, 34, 44, .1);
}

.form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.order-form__note {
    font-size: var(--text-xs);
    color: var(--smoke);
    margin-top: var(--space-md);
    line-height: 1.6;
}

.order-form__success {
    display: none;
    text-align: center;
    padding: var(--space-xl) 0;
    color: var(--wine);
}

.order-form__success svg {
    margin: 0 auto var(--space-md);
}


/* ── Product text blocks ─────────────────────────────────────── */

.product-textblock {
    margin-top: var(--space-xl);
    padding: var(--space-lg) var(--space-xl);
    background: var(--cream);
    border-radius: var(--r-md);
    border: 1px solid var(--bone);
}

.product-textblock__title {
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--wine);
    margin-bottom: .5rem;
    letter-spacing: .02em;
}

.product-textblock p {
    font-size: var(--text-sm);
    color: var(--smoke);
    line-height: 1.7;
}


/* ── Guarantee block (art-directed) ─────────────────────────── */

.guarantee-block {
    margin-top: var(--space-xl);
    padding: var(--space-xl) var(--space-2xl);
    background: var(--cream);
    border-radius: var(--r-sm);
    border: 1px solid var(--bone);
    display: grid;
    grid-template-columns: 4px 1fr auto;
    gap: 0 var(--space-xl);
    align-items: start;
    position: relative;
    overflow: hidden;
}

.guarantee-block__accent {
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--wine) 0%, var(--wine-light) 100%);
    border-radius: 2px;
    align-self: stretch;
}

.guarantee-block__content {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.guarantee-block__label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: .25em;
    color: var(--wine);
    font-weight: 500;
}

.guarantee-block__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 300;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -.01em;
}

.guarantee-block__title em {
    font-style: italic;
    color: var(--wine);
}

.guarantee-block__body {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    max-width: 520px;
}

.guarantee-block__body p {
    font-size: var(--text-sm);
    color: var(--smoke);
    line-height: 1.75;
    letter-spacing: .01em;
}

.guarantee-block__cta {
    font-size: var(--text-sm);
    color: var(--ink-40);
    margin-top: .25rem;
}

.guarantee-block__cta a {
    color: var(--wine);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color var(--dur-fast);
}

.guarantee-block__cta a:hover {
    color: var(--wine-light);
}

.guarantee-block__seal {
    width: 72px;
    height: 72px;
    color: var(--wine);
    opacity: .55;
    align-self: center;
}

.guarantee-block__seal svg {
    width: 100%;
    height: 100%;
}


/* Seal stroke animation */

.seal-icon__frame {
    stroke-dasharray: 320;
    stroke-dashoffset: 320;
    animation: seal-draw 2.4s var(--ease-out) forwards;
}

.seal-icon__ring {
    stroke-dasharray: 114;
    stroke-dashoffset: 114;
    animation: seal-draw 1.8s .4s var(--ease-out) forwards;
}

.seal-icon__ornament {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: seal-draw 1.2s .8s var(--ease-out) forwards;
}

.seal-icon__check {
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    animation: seal-draw 0.6s 1.4s var(--ease-out) forwards;
}

.seal-icon__diamond {
    opacity: 0;
    animation: seal-fade 0.5s 1.8s var(--ease-out) forwards;
}

@keyframes seal-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes seal-fade {
    to {
        opacity: .5;
    }
}

@media (max-width: 768px) {
    .guarantee-block {
        grid-template-columns: 4px 1fr;
        padding: var(--space-lg) var(--space-md);
    }
    .guarantee-block__seal {
        display: none;
    }
    .guarantee-block__title {
        font-size: var(--text-2xl);
    }
}


/* ── Telegram block ──────────────────────────────────────────── */

.tg-block {
    background: linear-gradient(135deg, var(--wine) 0%, #8b2f3d 100%);
    border-radius: var(--r-sm);
    padding: var(--space-xl) var(--space-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    color: var(--cream);
    margin-top: var(--space-lg);
}

.tg-block__text p:first-child {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 400;
    letter-spacing: -.01em;
    margin-bottom: .35rem;
}

.tg-block__text p:last-child {
    font-size: var(--text-sm);
    opacity: .75;
}

.tg-block__btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: rgba(253, 232, 205, .15);
    border: 1px solid rgba(253, 232, 205, .4);
    color: var(--cream);
    padding: .85rem 1.75rem;
    border-radius: var(--r-full);
    font-size: var(--text-sm);
    font-weight: 600;
    white-space: nowrap;
    transition: background var(--dur-fast), border-color var(--dur-fast);
    flex-shrink: 0;
}

.tg-block__btn:hover {
    background: rgba(253, 232, 205, .28);
    border-color: rgba(253, 232, 205, .7);
}

@media (max-width: 600px) {
    .tg-block {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl) var(--space-lg);
    }
    .tg-block__btn {
        width: 100%;
        justify-content: center;
    }
}


/* ── Search overlay ──────────────────────────────────────────── */

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 10, 8, .72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: clamp(3rem, 12vh, 8rem);
    padding-inline: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base);
}

.search-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.search-overlay__box {
    width: min(680px, 100%);
}

.search-overlay__input-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: var(--r-lg);
    padding: .6rem 1rem;
    gap: .75rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
}

.search-overlay__input-wrap svg {
    flex-shrink: 0;
    color: var(--smoke);
}

.search-overlay__input {
    flex: 1;
    border: none;
    background: none;
    font-size: var(--text-lg);
    color: var(--ink);
    padding: .25rem 0;
}

.search-overlay__input:focus {
    outline: none;
}

.search-overlay__close {
    width: 36px;
    height: 36px;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--smoke);
    transition: background var(--dur-fast), color var(--dur-fast);
    flex-shrink: 0;
}

.search-overlay__close:hover {
    background: var(--bone);
    color: var(--ink);
}

.search-results {
    margin-top: var(--space-md);
    background: #fff;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .2);
    max-height: 60vh;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: .85rem 1.25rem;
    border-bottom: 1px solid var(--bone);
    transition: background var(--dur-fast);
    text-decoration: none;
    color: var(--ink);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--cream-light);
}

.search-result-item__img {
    width: 44px;
    height: 56px;
    border-radius: var(--r-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bone);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-result-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-item__brand {
    font-size: var(--text-xs);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--smoke);
}

.search-result-item__name {
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: 600;
}

.search-result-item__price {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--wine);
    font-weight: 700;
    margin-left: auto;
    white-space: nowrap;
}

.search-empty {
    padding: 2rem;
    text-align: center;
    color: var(--smoke);
    font-size: var(--text-sm);
}

.search-hint {
    margin-top: var(--space-sm);
    font-size: var(--text-xs);
    color: rgba(253, 232, 205, .55);
    text-align: center;
}


/* ── Product Decant Banner (product page) ────────────────────── */

.product-decant-banner {
    margin-top: var(--space-2xl);
    background: linear-gradient(135deg, var(--ink) 0%, #1a0e12 60%, var(--wine-dark) 100%);
    border-radius: var(--r-sm);
    padding: var(--space-xl) var(--space-2xl);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--space-xl);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.product-decant-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(100, 34, 44, .3) 0%, transparent 70%);
    pointer-events: none;
}

.product-decant-banner__eyebrow {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: .2em;
    color: rgba(253, 232, 205, .55);
    margin-bottom: .5rem;
}

.product-decant-banner__title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 300;
    margin-bottom: .75rem;
}

.product-decant-banner__desc {
    font-size: var(--text-sm);
    color: rgba(253, 232, 205, .75);
    line-height: 1.7;
    max-width: 540px;
}

.product-decant-banner__volumes {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.product-decant-banner__vol {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(253, 232, 205, .08);
    border: 1px solid rgba(253, 232, 205, .15);
    border-radius: var(--r-md);
    padding: .75rem 1rem;
    min-width: 60px;
}

.product-decant-banner__vol-ml {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--cream);
}

.product-decant-banner__vol-label {
    font-size: var(--text-xs);
    color: rgba(253, 232, 205, .55);
    margin-top: .15rem;
}

.product-decant-banner__logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-decant-banner__logo img {
    width: 220px;
    height: auto;
    opacity: .25;
}

@media (max-width: 768px) {
    .product-decant-banner {
        grid-template-columns: 1fr;
        padding: var(--space-xl) var(--space-lg);
    }
    .product-decant-banner__volumes {
        flex-wrap: wrap;
    }
    .product-decant-banner__logo {
        display: none;
    }
}


/* ── Original badge + popup ──────────────────────────────────── */

.volume-selector__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-sm);
    position: relative;
    margin-bottom: var(--space-sm);
}

.original-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(100, 34, 44, .08);
    border: 1px solid rgba(100, 34, 44, .2);
    color: var(--wine);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: .3rem .7rem;
    border-radius: var(--r-full);
    cursor: pointer;
    transition: background var(--dur-fast), border-color var(--dur-fast);
    user-select: none;
}

.original-badge:hover {
    background: rgba(100, 34, 44, .14);
    border-color: rgba(100, 34, 44, .35);
}

.original-badge svg {
    flex-shrink: 0;
}

.original-popup {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 100;
    background: var(--white);
    border: 1px solid var(--bone);
    border-radius: var(--r-md);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-lg);
    width: 320px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
}

.original-popup.is-visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.original-popup__title {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--wine);
    margin-bottom: .4rem;
}

.original-popup__text {
    font-size: var(--text-xs);
    color: var(--smoke);
    line-height: 1.65;
}


/* ── TG block logo ───────────────────────────────────────────── */

.tg-block__logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .9;
    margin-bottom: .75rem;
}


/* ── FAQ animation ───────────────────────────────────────────── */

.faq-item__a[hidden] {
    display: block !important;
    max-height: 0;
    padding-bottom: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height var(--dur-slow) var(--ease-out), padding var(--dur-base), visibility 0s var(--dur-slow);
}

.faq-item__a:not([hidden]) {
    max-height: 500px;
    overflow: hidden;
    visibility: visible;
    transition: max-height var(--dur-slow) var(--ease-out), padding var(--dur-base), visibility 0s;
}


/* ── Product detailed description ────────────────────────────── */

.product-detailed-desc {
    margin-top: var(--space-xl);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--bone);
}

.product-detailed-desc__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--space-md);
}

.product-detailed-desc__text {
    font-size: var(--text-base);
    color: var(--smoke);
    line-height: 1.8;
}


/* ── Filter price range ──────────────────────────────────────── */

.filter-price-range {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.filter-price-input {
    width: 100%;
    padding: .5rem .75rem;
    border: 1px solid var(--bone);
    border-radius: var(--r-sm);
    font-size: var(--text-sm);
    font-family: var(--font-ui);
    background: var(--white);
    transition: border-color var(--dur-fast);
}

.filter-price-input:focus {
    outline: none;
    border-color: var(--wine);
}

.filter-price-sep {
    color: var(--smoke);
    flex-shrink: 0;
}

.filter-options--notes {
    max-height: 200px;
    overflow-y: auto;
}


/* ── Checkout modal ──────────────────────────────────────────── */

.checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 10, 8, .72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base);
}

.checkout-modal.is-open {
    opacity: 1;
    pointer-events: all;
}

.checkout-modal__box {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: var(--space-xl);
    width: min(520px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: transform var(--dur-base) var(--ease-out);
}

.checkout-modal.is-open .checkout-modal__box {
    transform: translateY(0);
}

.checkout-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.checkout-modal__title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 400;
}

.checkout-modal__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-full);
    color: var(--smoke);
    transition: background var(--dur-fast), color var(--dur-fast);
}

.checkout-modal__close:hover {
    background: var(--ink-10);
    color: var(--ink);
}

.checkout-modal__summary {
    background: var(--cream-light);
    border-radius: var(--r-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.checkout-modal__summary-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
    padding: .25rem 0;
}

.checkout-modal__summary-row--total {
    font-weight: 700;
    font-size: var(--text-md);
    border-top: 1px solid var(--bone);
    margin-top: .5rem;
    padding-top: .5rem;
}

.checkout-modal__items {
    font-size: var(--text-xs);
    color: var(--smoke);
    margin-top: .5rem;
    line-height: 1.6;
}

.checkout-modal__change-btn {
    font-size: var(--text-xs);
    color: var(--wine);
    font-weight: 600;
    margin-top: .5rem;
    display: inline-block;
}

.checkout-modal__change-btn:hover {
    text-decoration: underline;
}