/*
Theme Name: PONTE
Theme URI: https://www.instagram.com/ponte.vini/
Author: PONTE · Vini & Spiriti Italiani
Description: Tema e PONTE: harta e Adriatikut si dyqan. WooCommerce me porosi pa pagesë online (pagesa në dorëzim).
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
WC requires at least: 8.0
WC tested up to: 9.8
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ponte
*/

/* ---------- Tokens ---------- */
:root {
	--nero: #121010;
	--nero-2: #1c1817;
	--amarone: #8C1D26;
	--amarone-l: #A52A33;
	--avorio: #F5F0E6;
	--travertino: #E3D8C6;
	--oro: #B8995F;
	--muted: #5E5248;
	--line: #D2C5B0;
	--ink-2: #2B2420;
	--serif: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
	--italic: 'Cormorant Garamond', Georgia, serif;
	--sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
	--wrap: 1320px;
	--gut: clamp(20px, 4vw, 56px);
	--ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--avorio); color: var(--nero); font: 300 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--amarone); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; }
em { font-family: var(--italic); font-style: italic; font-weight: 300; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.wrap--narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--nero); color: var(--avorio); padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.eyebrow { display: inline-block; font: 500 11px/1.4 var(--sans); letter-spacing: .38em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.eyebrow--gold { color: var(--oro); }
.eyebrow--light { color: var(--travertino); }
.section-title { font-size: clamp(36px, 5vw, 64px); margin: 0 0 24px; }
.section-title em { font-size: 1.04em; }
.section-title--light { color: var(--avorio); }
.section-head { margin-bottom: 44px; }

/* Buttons */
.btn, .button, button.button, input[type=submit], #place_order {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 28px; border: 1px solid transparent; border-radius: 0;
	font: 500 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; text-decoration: none;
	cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
	background: var(--nero); color: var(--avorio);
}
.btn:hover, .button:hover, #place_order:hover { background: var(--amarone); color: var(--avorio); }
.btn--gold { background: var(--oro); color: var(--nero); }
.btn--gold:hover { background: var(--avorio); color: var(--nero); }
.btn--ghost { background: transparent; color: var(--avorio); border-color: rgba(245, 240, 230, .45); }
.btn--ghost:hover { background: var(--avorio); color: var(--nero); border-color: var(--avorio); }
.btn--wine { background: var(--amarone); color: var(--avorio); }
.btn--wine:hover { background: var(--nero); }
.btn--line { background: transparent; color: var(--nero); border-color: var(--nero); }
.btn--line:hover { background: var(--nero); color: var(--avorio); }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; text-decoration: none; padding: 10px 0; border-bottom: 1px solid currentColor; }
.link-arrow::after { content: '→'; font-family: var(--sans); letter-spacing: 0; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: var(--avorio); }
.link-arrow--light:hover { color: var(--oro); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 240, 230, .92); color: var(--nero); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid rgba(18, 16, 16, .08); transition: background .3s, color .3s, border-color .3s; }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand .ponte-mark { width: 40px; height: 28px; }
.brand__word { font: 400 22px/1 var(--serif); letter-spacing: .38em; margin-right: -.38em; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { font: 400 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.site-nav__list a:hover { color: inherit; border-bottom-color: currentColor; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.ponte-cart { position: relative; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: inherit; }
.ponte-cart__count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--amarone); color: var(--avorio); font: 500 10px/18px var(--sans); text-align: center; transform: scale(0); transition: transform .3s var(--ease); }
.ponte-cart__count.has-items { transform: scale(1); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-open .nav-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

.ponte-dark-header .site-header { position: fixed; left: 0; right: 0; background: transparent; color: var(--avorio); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.ponte-dark-header .site-header.is-scrolled { background: rgba(18, 16, 16, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: rgba(184, 153, 95, .22); }
.admin-bar.ponte-dark-header .site-header { top: 32px; }

/* ---------- Age gate ---------- */
.age-gate { position: fixed; inset: 0; z-index: 200; background: var(--nero); color: var(--avorio); display: flex; align-items: center; justify-content: center; padding: 24px; }
.age-gate[hidden] { display: none; }
.age-gate { transition: opacity .6s var(--ease), visibility .6s; }
.age-gate.is-leaving { opacity: 0; visibility: hidden; }
.age-gate__card > * { animation: rise .9s var(--ease) both; }
.age-gate__card > :nth-child(2) { animation-delay: .1s; } .age-gate__card > :nth-child(3) { animation-delay: .2s; } .age-gate__card > :nth-child(4) { animation-delay: .3s; } .age-gate__card > :nth-child(5) { animation-delay: .4s; }
.age-gate__card { max-width: 440px; text-align: center; }
.age-gate__card h2 { font-size: clamp(30px, 5vw, 42px); margin: 6px 0 12px; }
.age-gate__note { color: var(--travertino); font-size: 15px; }
.age-gate__actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; }
.age-gate__no { margin-top: 18px; color: var(--oro); font-family: var(--italic); font-style: italic; font-size: 20px; }
.age-gate .eyebrow { color: var(--oro); margin-top: 22px; }

/* ---------- Map ---------- */
.pm-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.pm-wrap { position: relative; overflow: hidden; }
.pm { display: block; width: 100%; height: 100%; }
.pm-sea { fill: var(--pm-sea, var(--amarone)); }
.pm-rip { stroke: var(--pm-rip, var(--avorio)); }
.pm-land { fill: var(--pm-land, var(--avorio)); }
.pm-coast { fill: none; stroke: var(--pm-line, var(--oro)); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pm-border { fill: none; stroke: var(--pm-border, var(--nero)); stroke-width: 1; stroke-dasharray: 3 4; opacity: .7; }
.pm-arch { fill: none; stroke: var(--pm-arch, var(--nero)); stroke-width: 7; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pm-drop { fill: var(--oro); transform-box: fill-box; transform-origin: center; }
.pm-pin__halo { fill: var(--oro); opacity: 0; transition: opacity .3s; }
.pm-pin__ring { fill: none; stroke: var(--pm-pin, var(--nero)); stroke-width: 1.4; }
.pm-pin__dot { fill: var(--oro); }
.pm-pin.is-active .pm-pin__halo { opacity: .28; animation: pmPulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

.pm--night { --pm-sea: #1a0f11; --pm-land: #1f1a18; --pm-rip: var(--oro); --pm-line: var(--oro); --pm-border: var(--oro); --pm-arch: var(--oro); --pm-pin: var(--oro); }
.pm--light { --pm-sea: var(--amarone); --pm-land: var(--avorio); --pm-rip: var(--avorio); --pm-arch: var(--nero); }

/* Opening sequence: the coast is drawn in gold, then the sea fills with wine, then the bridge rises. */
.pm.is-animated .pm-coast { stroke-dashoffset: 1; animation: pmDraw 2.8s .3s var(--ease) forwards; }
.pm.is-animated .pm-land { fill-opacity: 0; animation: pmFade 1.6s 1.6s ease forwards; }
.pm.is-animated .pm-sea { fill: var(--nero); animation: pmWine 2.2s 2.4s ease forwards; }
.pm.is-animated .pm-rip { opacity: 0; animation: pmFade 1.4s 3.4s ease forwards; }
.pm.is-animated .pm-arch { stroke-dashoffset: 1; animation: pmDraw 1.4s 4s var(--ease) forwards; }
.pm.is-animated .pm-drop { opacity: 0; animation: pmDrop 1s 5.2s ease-in forwards; }
.pm.is-animated .pm-pin { opacity: 0; animation: pmFade 1s 5.6s ease forwards; }
.pm.is-animated .pm-border { opacity: 0; animation: pmFadeHalf 1s 3.6s ease forwards; }
@keyframes pmDraw { to { stroke-dashoffset: 0; } }
@keyframes pmFade { to { opacity: 1; fill-opacity: 1; } }
@keyframes pmFadeHalf { to { opacity: .55; } }
@keyframes pmWine { from { fill: var(--nero); } to { fill: var(--amarone); } }
@keyframes pmDrop { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes pmPulse { 0%, 100% { transform: scale(.85); } 50% { transform: scale(1.15); } }

/* ---------- Hero: a scroll story ---------- */
.hero { position: relative; height: 340vh; background: var(--nero); color: var(--avorio); }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__map { position: absolute; inset: 0; }
.hero__map .pm { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 0 0; }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--nero) 0%, rgba(18, 16, 16, .92) 30%, rgba(18, 16, 16, 0) 62%); opacity: calc(1 - var(--p2, 0)); }
.hero__glow { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .55; background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), rgba(184, 153, 95, .22), transparent 70%); transition: opacity .4s; }
.hero__intro { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; opacity: calc(1 - var(--p1, 0) * 1.4); transform: translateY(calc(var(--p1, 0) * -80px)); }
.hero__text { max-width: 640px; }
.hero__title { font-size: clamp(54px, 8.6vw, 132px); line-height: .95; margin: 0 0 28px; }
.hero__line { display: block; }
.hero__title em { color: var(--oro); font-size: 1.02em; }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--travertino); max-width: 470px; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__endorse { margin: 26px 0 0; font: 400 11px/1.6 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(245, 240, 230, .6); }
.hero__stages { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14vh; text-align: center; pointer-events: none; }
.hero__stage { position: absolute; left: 0; right: 0; margin: 0; font: italic 300 clamp(26px, 3.4vw, 46px)/1.2 var(--italic); color: var(--avorio); opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .9s var(--ease); text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
.hero__stage span { color: var(--oro); }
.hero__stage.is-on { opacity: 1; transform: none; }
.hero__finale { position: absolute; z-index: 3; left: 0; right: 0; bottom: 9vh; text-align: center; pointer-events: none; }
.hero__finale > * { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.hero__finale .hero__endorse { margin-top: 14px; }
.hero__word { margin: 0; font: 400 clamp(64px, 11vw, 170px)/1 var(--serif); letter-spacing: .32em; margin-right: -.32em; color: var(--avorio); overflow: hidden; }
.hero__word span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero__finale-line { font: italic 300 clamp(20px, 2.2vw, 28px)/1.3 var(--italic); color: var(--travertino); margin: 8px 0 0; }
.hero.is-final .hero__finale > * { opacity: 1; transform: none; pointer-events: auto; }
.hero.is-final .hero__word span { transform: none; }
.hero__word span:nth-child(2) { transition-delay: .06s; } .hero__word span:nth-child(3) { transition-delay: .12s; } .hero__word span:nth-child(4) { transition-delay: .18s; } .hero__word span:nth-child(5) { transition-delay: .24s; }
.hero__progress { position: absolute; z-index: 3; left: var(--gut); right: var(--gut); bottom: 26px; height: 1px; background: rgba(184, 153, 95, .2); }
.hero__progress span { display: block; height: 100%; width: 100%; background: var(--oro); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.hero__hint { position: absolute; z-index: 3; right: var(--gut); bottom: 44px; display: flex; align-items: center; gap: 12px; font: 400 10px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--oro); opacity: calc(1 - var(--p, 0) * 6); }
.hero__hint i { position: relative; width: 1px; height: 46px; background: rgba(184, 153, 95, .3); overflow: hidden; }
.hero__hint i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--oro); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { to { top: 100%; } }

/* Hero entrance: words rise out of a mask */
.js .js-split { overflow: hidden; padding-bottom: .08em; }
.js .js-split .w { display: inline-block; transform: translateY(110%); animation: wordUp 1.15s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .09s); }
.js .hero__in { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; }
.js .hero__lead.hero__in { animation-delay: .9s; }
.js .hero__cta.hero__in { animation-delay: 1.05s; }
.js .hero .eyebrow.hero__in { animation-delay: .2s; }
@keyframes wordUp { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
.veil-cover .js-split .w, .veil-cover .hero__in, .veil-cover .ponte-dark-header .site-header__inner > * { animation-play-state: paused; }

/* The wine moves: ripples flow along the coast */
.hero .pm-rip { stroke-dasharray: 3 9; animation: flow 9s linear infinite; }
.pm--carta .pm-rip { stroke-dasharray: 3 9; animation: flow 14s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -120; } }
.pm.pm--scrub .pm-arch { animation: none !important; stroke-width: 6; stroke-dashoffset: var(--arch, 1); }
.pm.pm--scrub .pm-drop { animation: none !important; opacity: var(--drop, 0); transform: translateY(calc((1 - var(--drop, 0)) * -60px)); }
.hero__map .pm { overflow: visible; }

/* ---------- Marquee ---------- */
.marquee { background: var(--nero); color: var(--avorio); padding: 34px 0 40px; overflow: hidden; border-top: 1px solid rgba(184, 153, 95, .2); }
.marquee__row { display: flex; overflow: hidden; }
.marquee__track { display: flex; flex: none; align-items: center; gap: 0; white-space: nowrap; animation: marq 46s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 60s; }
.marquee__track span { font: 400 clamp(44px, 6.5vw, 96px)/1.15 var(--serif); padding: 0 .35em; }
.marquee__track i { display: inline-flex; color: var(--oro); }
.marquee__row--outline span { color: transparent; -webkit-text-stroke: 1px rgba(184, 153, 95, .7); font-style: italic; font-family: var(--italic); font-weight: 300; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Carta del vino ---------- */
.carta { padding: clamp(80px, 10vw, 140px) 0; }
.carta__grid { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.carta__mapcol { position: sticky; top: 96px; }
.carta__map { aspect-ratio: 1080 / 1917; max-height: calc(100vh - 120px); margin: 0 auto; outline: 1px solid var(--line); outline-offset: 10px; }
.carta__map .pm--light { --pm-land: #EEE6D8; }
.carta__map .pm { position: absolute; inset: 0; }
.carta__pin { position: absolute; z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; background: transparent; cursor: pointer; border-radius: 50%; }
.carta__pin span { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, 2px); white-space: nowrap; font: italic 400 19px/1 var(--italic); color: var(--nero); background: var(--avorio); padding: 4px 8px; pointer-events: none; transition: color .2s; }
.carta__pin:hover span, .carta__pin.is-active span { color: var(--amarone); }
.carta__label { position: absolute; z-index: 1; font: 400 11px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; pointer-events: none; }
.carta__label--sea { left: 44%; top: 42%; color: var(--avorio); writing-mode: vertical-rl; transform: rotate(180deg); }
.carta__label--al { left: 74%; top: 80%; color: var(--muted); }
.carta__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 34px; }
.carta__tab { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); background: transparent; color: var(--nero); font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.carta__tab:hover { border-color: var(--nero); }
.carta__tab.is-active { background: var(--nero); color: var(--avorio); border-color: var(--nero); }
.carta__panel { animation: panelIn .5s var(--ease); }
.carta__panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.carta__panelhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--nero); padding-bottom: 14px; }
.carta__panelhead h3 { font-size: clamp(32px, 3.6vw, 48px); margin: 0; }
.carta__coords { font: 400 11px/1 var(--sans); letter-spacing: .3em; color: var(--muted); text-transform: uppercase; }
.carta__line { font-family: var(--italic); font-style: italic; font-size: 21px; color: var(--ink-2); margin: 18px 0 10px; }
.carta__empty { color: var(--muted); }
.carta .link-arrow { margin-top: 34px; }
.wine-list { list-style: none; margin: 0; padding: 0; }
.wine-row { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.wine-row__media { display: block; width: 64px; height: 80px; color: var(--nero); }
.wine-row__media .ponte-visual { width: 100%; height: 100%; padding: 6px; background: transparent; }
.wine-row__name { display: block; font: 400 21px/1.2 var(--serif); text-decoration: none; }
.wine-row__meta { display: block; margin-top: 4px; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.wine-row__buy { display: flex; align-items: center; gap: 16px; }
.wine-row__price { font: 400 18px/1 var(--serif); white-space: nowrap; }
.wine-row__price del { opacity: .5; }
.wine-row__add.button { width: 44px; min-height: 44px; height: 44px; padding: 0; font-size: 22px; letter-spacing: 0; font-weight: 300; }
.wine-row__add.loading { opacity: .5; }
.wine-row__add.added { background: var(--amarone); }
.wine-row .added_to_cart { display: none; }
.wine-row__ask { font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }

/* ---------- Collections ---------- */
.collections { padding: clamp(80px, 9vw, 130px) 0; background: var(--travertino); }
.collections__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.col-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 18px 26px; height: 100%; background: var(--avorio); text-decoration: none; text-align: center; transition: background .3s var(--ease), color .3s var(--ease); }
.col-card__n { align-self: flex-start; font: 400 11px/1 var(--sans); letter-spacing: .3em; color: var(--muted); }
.col-card__illu { width: auto; height: 150px; color: var(--nero); transition: transform .5s var(--ease); }
.col-card__illu.ponte-illu--gift { height: 110px; margin: 20px 0; }
.col-card__name { font: 400 24px/1.1 var(--serif); }
.col-card__count { font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.col-card:hover { background: var(--nero); color: var(--avorio); }
.col-card:hover .col-card__illu { color: var(--oro); transform: translateY(-6px) rotate(-3deg); }
.col-card:hover .col-card__n, .col-card:hover .col-card__count { color: var(--travertino); }

/* ---------- Regali ---------- */
.regali { padding: clamp(80px, 9vw, 130px) 0; background: var(--amarone); color: var(--avorio); }
.regali__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.regali__lead { font-family: var(--italic); font-style: italic; font-size: 22px; color: var(--travertino); margin: 0; }
.regali .link-arrow { margin-top: 40px; }
.regali ul.products li.product { background: var(--avorio); color: var(--nero); }

/* ---------- Il nome ---------- */
.nome { padding: clamp(90px, 10vw, 150px) 0; }
.nome__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.nome__mark { display: flex; justify-content: center; }
.nome__mark .ponte-mark { width: min(100%, 380px); height: auto; }
.nome__text p:not(.eyebrow) { font-size: 18px; max-width: 560px; color: var(--ink-2); }
.nome__amp { font-family: var(--italic); font-style: italic; color: var(--oro); }

/* ---------- HoReCa ---------- */
.horeca { padding: clamp(80px, 9vw, 130px) 0; background: var(--nero); color: var(--avorio); }
.horeca__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.horeca__list { list-style: none; margin: 0 0 34px; padding: 0; }
.horeca__list li { padding: 16px 0; border-bottom: 1px solid rgba(184, 153, 95, .3); font-size: 18px; color: var(--travertino); display: flex; gap: 16px; }
.horeca__list li::before { content: ''; flex: 0 0 auto; width: 7px; height: 7px; margin-top: 11px; border-radius: 50%; background: var(--oro); }
.horeca__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--nero); color: var(--travertino); border-top: 1px solid rgba(184, 153, 95, .25); padding: 80px 0 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.site-footer__word { font: 400 30px/1 var(--serif); letter-spacing: .4em; color: var(--avorio); margin: 22px 0 8px; }
.site-footer__tag { font-family: var(--italic); font-style: italic; font-size: 20px; color: var(--oro); margin: 0 0 10px; }
.site-footer__endorse { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(227, 216, 198, .6); }
.site-footer__h { font: 500 11px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--oro); margin: 8px 0 20px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.site-footer__list li { margin-bottom: 10px; }
.site-footer__list a { text-decoration: none; }
.site-footer__list a:hover { color: var(--avorio); text-decoration: underline; }
.site-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(184, 153, 95, .2); font-size: 12px; letter-spacing: .06em; color: rgba(227, 216, 198, .55); }

/* ---------- Pages ---------- */
.page-plain { padding-bottom: 100px; }
.page-head { padding: 70px 0 40px; }
.page-head__title, .entry__title { font-size: clamp(40px, 6vw, 72px); margin: 0; }
.page-404 { padding: 120px 0; text-align: center; }
.page-404 .ponte-mark { width: 120px; margin-bottom: 26px; }

/* ---------- Product visual ---------- */
.ponte-visual { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 5; background: var(--avorio); color: var(--nero); overflow: hidden; }
.ponte-visual img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.ponte-visual--illu .ponte-illu { height: 72%; width: auto; transition: transform .6s var(--ease); }
.ponte-visual--illu .ponte-illu--gift { height: auto; width: 62%; }
.ponte-ph { display: inline-flex; width: 64px; height: 80px; align-items: center; justify-content: center; background: var(--avorio); color: var(--nero); }
.ponte-ph .ponte-illu { height: 86%; width: auto; }
.ponte-ph .ponte-illu--gift { width: 80%; height: auto; }

/* ---------- Shop ---------- */
.ponte-woo { padding-bottom: 110px; }
.ponte-shop-head { padding: 70px 0 30px; }
.ponte-shop-head__title { font-size: clamp(48px, 7vw, 96px); margin: 0 0 14px; }
.ponte-shop-head__lead { font-family: var(--italic); font-style: italic; font-size: 21px; color: var(--muted); max-width: 640px; }
.ponte-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.ponte-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); text-decoration: none; font: 400 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; transition: all .2s; }
.ponte-chip span { color: var(--muted); letter-spacing: 0; }
.ponte-chip:hover { border-color: var(--nero); color: var(--nero); }
.ponte-chip.is-active { background: var(--nero); color: var(--avorio); border-color: var(--nero); }
.ponte-chip.is-active span { color: var(--oro); }
.ponte-woo .woocommerce-notices-wrapper, .ponte-woo > .woocommerce-info { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

ul.products { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ponte-woo ul.products { max-width: calc(var(--wrap) - 2 * var(--gut)); margin-top: 20px; }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { position: relative; display: flex; flex-direction: column; background: var(--avorio); padding: 0 0 26px; margin: 0; width: auto; float: none; transition: background .3s; }
ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; flex: 1; }
ul.products li.product .ponte-card__visual { aspect-ratio: 1 / 1; padding: 26px; background: transparent; }
ul.products li.product .ponte-card__visual .ponte-illu { height: 78%; }
ul.products li.product:hover .ponte-visual img, ul.products li.product:hover .ponte-illu { transform: scale(1.04) translateY(-4px); }
.ponte-card__eyebrow { display: block; padding: 0 26px; font: 500 10px/1.5 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.ponte-card__title { padding: 0 26px; margin: 8px 0 6px; font-size: 25px; line-height: 1.12; }
.ponte-card__line { display: block; padding: 0 26px; font-family: var(--italic); font-style: italic; font-size: 18px; color: var(--ink-2); line-height: 1.3; }
ul.products li.product .price { display: block; padding: 16px 26px 0; margin-top: auto; font: 400 20px/1 var(--serif); color: var(--nero); }
ul.products li.product .button { margin: 18px 26px 0; align-self: flex-start; min-height: 46px; padding: 0 22px; }
ul.products li.product .button.loading { opacity: .6; }
ul.products li.product .button.added { background: var(--amarone); }
ul.products li.product .added_to_cart { display: inline-block; margin: 12px 26px 0; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
ul.products li.product .onsale { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--amarone); color: var(--avorio); font: 500 10px/1 var(--sans); letter-spacing: .2em; padding: 6px 10px; text-transform: uppercase; }
.woocommerce-pagination { text-align: center; margin-top: 40px; }

/* ---------- Product page ---------- */
.single-product .ponte-woo > .woocommerce-notices-wrapper { margin-top: 24px; }
.single-product div.product { max-width: var(--wrap); margin: 0 auto; padding: 50px var(--gut) 0; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.ponte-pdp__media { position: sticky; top: 100px; }
.ponte-pdp__visual { aspect-ratio: 4 / 5; background: var(--travertino); padding: 8%; }
.ponte-pdp__visual.ponte-visual--illu .ponte-illu { height: 82%; }
.single-product .summary { padding-top: 10px; }
.ponte-pdp__title { font-size: clamp(40px, 4.6vw, 66px); margin: 0 0 12px; }
.ponte-pdp__tagline { font-family: var(--italic); font-style: italic; font-size: 24px; color: var(--ink-2); margin-bottom: 26px; }
.single-product .summary .price { font: 400 32px/1 var(--serif); margin: 0 0 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.ponte-pdp__desc { font-size: 17px; color: var(--ink-2); }
.ponte-pdp__desc p { margin-bottom: .6em; }
.ponte-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 26px 0 30px; border-top: 1px solid var(--line); }
.ponte-facts > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ponte-facts dt { font: 500 10px/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.ponte-facts dd { margin: 4px 0 0; font: 400 19px/1.25 var(--serif); }
.single-product form.cart { display: flex; gap: 12px; align-items: stretch; margin: 0 0 22px; }
.quantity { display: inline-flex; }
.quantity .qty { width: 82px; min-height: 52px; border: 1px solid var(--nero); background: transparent; text-align: center; font: 400 18px/1 var(--serif); color: var(--nero); border-radius: 0; -moz-appearance: textfield; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { opacity: 1; }
.single-product form.cart .single_add_to_cart_button { flex: 1; min-height: 52px; }
.ponte-offer { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 22px; }
.ponte-promise { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.ponte-promise li { display: flex; gap: 12px; align-items: center; }
.ponte-promise li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--oro); }

.ponte-origin { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 90px; background: var(--nero); color: var(--avorio); }
.ponte-origin__map { aspect-ratio: 600 / 720; max-height: 560px; width: 100%; }
.ponte-origin__map .pm { position: absolute; inset: 0; }
.ponte-origin__text { padding: clamp(34px, 5vw, 70px); align-self: center; }
.ponte-origin__text .eyebrow { color: var(--oro); }
.ponte-origin__text h2 { font-size: clamp(40px, 5vw, 66px); margin: 0; }
.ponte-origin__coords { font: 400 11px/1 var(--sans); letter-spacing: .32em; color: var(--oro); margin: 14px 0 22px; }
.ponte-origin__text p { color: var(--travertino); font-size: 18px; }
.ponte-origin .link-arrow { color: var(--avorio); }
.single-product .related { grid-column: 1 / -1; margin-top: 90px; }
.single-product .related > h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 30px; }

/* ---------- Notices ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews { list-style: none; margin: 0 0 24px; padding: 18px 22px; background: var(--travertino); border-left: 3px solid var(--oro); font-size: 15px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.woocommerce-error { border-left-color: var(--amarone); background: #f3e3e2; display: block; }
.woocommerce-error li { margin: 4px 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 40px; }

/* ---------- Cart ---------- */
.page-commerce .entry__content { font-size: 16px; }
.woocommerce-cart-form { margin-bottom: 40px; }
table.shop_table { width: 100%; border-collapse: collapse; font-size: 16px; }
table.shop_table th { font: 500 10px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
table.shop_table thead th { border-bottom-color: var(--nero); }
table.shop_table tfoot th, table.shop_table tfoot td { border-bottom: 1px solid var(--line); }
table.shop_table td { padding: 18px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.shop_table td.product-name a { font: 400 21px/1.2 var(--serif); text-decoration: none; }
table.shop_table .product-thumbnail { width: 90px; }
table.shop_table .product-thumbnail img { width: 64px; height: 80px; object-fit: contain; mix-blend-mode: multiply; }
table.shop_table .product-remove a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; text-decoration: none; font-size: 22px; color: var(--muted); }
table.shop_table .product-remove a:hover { color: var(--amarone); }
table.shop_table .actions { text-align: right; }
table.shop_table .actions .coupon { display: none; }
table.shop_table .actions .button { background: transparent; color: var(--nero); border-color: var(--line); }
table.shop_table .actions .button:disabled { opacity: .45; cursor: default; }
.cart-collaterals { display: flex; justify-content: flex-end; }
.cart_totals { width: min(100%, 460px); background: var(--travertino); padding: 30px; }
.cart_totals h2 { font-size: 32px; }
.cart_totals table th { border: 0; padding-left: 0; }
.cart_totals table td { text-align: right; padding-right: 0; }
.cart_totals .order-total .amount { font: 400 26px/1 var(--serif); }
.wc-proceed-to-checkout .checkout-button { width: 100%; margin-top: 18px; min-height: 56px; background: var(--amarone); }
.wc-proceed-to-checkout .checkout-button:hover { background: var(--nero); }
.cart-empty.woocommerce-info { font-family: var(--italic); font-style: italic; font-size: 22px; }
.return-to-shop { margin-top: 20px; }

/* ---------- Checkout ---------- */
form.checkout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
form.checkout .col2-set { grid-column: 1; }
form.checkout #order_review_heading, form.checkout #order_review { grid-column: 2; }
form.checkout #order_review_heading { grid-row: 1; margin: 0 0 18px; font-size: 32px; }
form.checkout #order_review { grid-row: 1; margin-top: 56px; background: var(--travertino); padding: 30px; position: sticky; top: 100px; }
form.checkout .col2-set .col-1, form.checkout .col2-set .col-2 { width: 100%; float: none; }
form.checkout h3 { font-size: 30px; margin: 0 0 20px; }
.woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-row { margin: 0 0 18px; display: flex; flex-direction: column; }
.form-row-wide, .woocommerce-billing-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
.form-row label { font: 500 10px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-row .required { color: var(--amarone); text-decoration: none; }
.form-row .optional { text-transform: none; letter-spacing: 0; }
.input-text, select, textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); background: #fff; border-radius: 0; font: 300 17px/1.4 var(--sans); color: var(--nero); }
textarea.input-text { min-height: 110px; }
.input-text:focus, textarea:focus, select:focus { outline: none; border-color: var(--nero); }
.woocommerce-invalid .input-text { border-color: var(--amarone); }
#billing_country_field strong { font: 400 19px/1.2 var(--serif); }
.woocommerce-additional-fields h3 { display: none; }
#order_review table.shop_table th, #order_review table.shop_table td { padding-left: 0; padding-right: 0; }
#order_review td.product-name { font: 400 18px/1.25 var(--serif); }
#order_review .product-quantity { font-family: var(--sans); font-size: 14px; }
#order_review td.product-total, #order_review tfoot td { text-align: right; }
#order_review .order-total .amount { font: 400 26px/1 var(--serif); }
.ponte-checkout-note { font-family: var(--italic); font-style: italic; font-size: 19px; color: var(--ink-2); margin: 24px 0 14px; }
#payment ul.payment_methods { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
#payment ul.payment_methods li { padding: 14px 0; border-bottom: 1px solid var(--line); }
#payment ul.payment_methods li label { font: 400 19px/1.2 var(--serif); cursor: pointer; margin-left: 8px; }
#payment ul.payment_methods li input { accent-color: var(--amarone); width: 18px; height: 18px; vertical-align: -3px; }
#payment .payment_box { margin-top: 10px; font-size: 14px; color: var(--muted); }
#payment .payment_box p { margin: 0; }
#place_order { width: 100%; min-height: 60px; background: var(--amarone); font-size: 13px; }
#place_order:hover { background: var(--nero); }
.woocommerce-privacy-policy-text { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.woocommerce-terms-and-conditions-wrapper { margin-bottom: 14px; }

/* Thank-you */
.woocommerce-order { max-width: 860px; }
.woocommerce-notice--success { font: italic 300 28px/1.3 var(--italic); color: var(--amarone); margin-bottom: 30px; }
ul.order_details { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
ul.order_details li { background: var(--avorio); padding: 18px; font: 500 10px/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
ul.order_details li strong { display: block; margin-top: 6px; font: 400 19px/1.2 var(--serif); letter-spacing: 0; text-transform: none; color: var(--nero); }
.woocommerce-order-details__title, .woocommerce-column__title, .wc-bacs-bank-details-heading { font-size: 30px; margin-top: 30px; }
.woocommerce-customer-details address { font-style: normal; padding: 20px; background: var(--travertino); }

/* My account (kept simple) */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-MyAccount-navigation a { display: inline-block; padding: 10px 14px; border: 1px solid var(--line); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.collections__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.site-nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 30px; padding: 100px var(--gut) 40px; background: var(--nero); color: var(--avorio); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
	.site-nav__list { flex-direction: column; gap: 6px; }
	.site-nav__list a { font: 400 38px/1.3 var(--serif); letter-spacing: .02em; text-transform: none; }
	.nav-open .site-nav { opacity: 1; visibility: visible; }
	.nav-open .site-header { color: var(--avorio); background: transparent; border-color: transparent; }
	.nav-toggle { display: inline-block; }
	.site-header__actions { margin-left: auto; }
	.carta__grid { grid-template-columns: 1fr; }
	.hero__shade { background: linear-gradient(0deg, var(--nero) 30%, rgba(18, 16, 16, .55) 62%, rgba(18, 16, 16, .1) 100%); }
	.hero__intro { align-items: flex-end; padding-bottom: 110px; }
	.hero__hint { display: none; }
	.carta__mapcol { position: relative; top: 0; }
	.carta__map { max-height: 70vh; width: auto; }
	.regali__head, .nome__grid, .horeca__grid { grid-template-columns: 1fr; }
	.nome__mark .ponte-mark { width: 200px; }
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.single-product div.product { grid-template-columns: 1fr; }
	.ponte-pdp__media { position: relative; top: 0; }
	.ponte-origin { grid-template-columns: 1fr; }
	form.checkout { grid-template-columns: 1fr; }
	form.checkout #order_review_heading, form.checkout #order_review { grid-column: 1; grid-row: auto; position: relative; top: 0; margin-top: 0; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.site-header__inner { height: 64px; }
	.brand__word { font-size: 18px; }
	.collections__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.col-card__illu { height: 110px; }
	ul.products { grid-template-columns: 1fr; }
	.wine-row { grid-template-columns: 52px 1fr; gap: 14px; }
	.wine-row__media { width: 52px; height: 66px; }
	.wine-row__buy { grid-column: 2; justify-content: space-between; }
	.woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
	.ponte-facts { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: grid; grid-template-columns: 70px 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
	table.shop_table_responsive td { border: 0; padding: 2px 0; }
	table.shop_table_responsive td::before { display: none; }
	table.shop_table_responsive td.product-thumbnail { grid-row: span 3; }
	table.shop_table_responsive td.product-remove { grid-column: 3; grid-row: 1; text-align: right; }
	table.shop_table_responsive td.actions { grid-column: 1 / -1; }
	.cart_totals { padding: 22px; }
	.age-gate__actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero { height: auto; }
	.hero__sticky { position: relative; height: 100vh; }
	.hero__stages, .hero__finale, .hero__progress, .hero__hint { display: none; }
	.js .js-split .w, .js .rv, .js .hero__in { transform: none !important; opacity: 1 !important; clip-path: none !important; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
.wine-row__add.added span { display: none; }
.wine-row__add.added::after { content: '✓'; font-size: 16px; }


/* ---------- Motion system ---------- */

/* Scroll reveals (only when JS runs) */
.js .rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), clip-path 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .section-title.rv, .js .ponte-shop-head__title.rv, .js .ponte-pdp__title.rv { clip-path: inset(0 0 100% 0); transform: translateY(40px); }
.js .section-title.rv.in, .js .ponte-shop-head__title.rv.in, .js .ponte-pdp__title.rv.in { clip-path: inset(0 0 0 0); transform: none; }
.section-title, .ponte-shop-head__title, .ponte-pdp__title { padding-bottom: .12em; }

/* Line drawings draw themselves */
.js .ponte-illu [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.js .in .ponte-illu [pathLength], .js .ponte-illu.in [pathLength], .js .wine-row .ponte-illu [pathLength], .js .ponte-ph .ponte-illu [pathLength] { stroke-dashoffset: 0; }
.js .col-card:hover .ponte-illu [pathLength], .js ul.products li.product:hover .ponte-illu [pathLength] { animation: redraw 1.4s var(--ease); }
@keyframes redraw { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }

/* Cards: depth on hover */
.col-card { transform-style: preserve-3d; will-change: transform; transition: background .3s var(--ease), color .3s var(--ease), transform .5s var(--ease); }
ul.products li.product { transition: background .3s, transform .5s var(--ease), box-shadow .5s var(--ease); }
ul.products li.product:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(18, 16, 16, .45); z-index: 2; }

/* Magnetic buttons */
.js-magnet { transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s; }

/* Nav: underline grows, header enters */
.site-nav__list a { position: relative; border-bottom: 0; }
.site-nav__list a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.site-nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
.js .ponte-dark-header .site-header__inner > * { opacity: 0; transform: translateY(-12px); animation: rise .9s var(--ease) forwards; }
.js .ponte-dark-header .site-header__inner > :nth-child(2) { animation-delay: .15s; }
.js .ponte-dark-header .site-header__inner > :nth-child(3) { animation-delay: .25s; }

/* Carta: SVG pins, labels, panel rows */
.pm-pin__hit { fill: transparent; }
.pm--carta .pm-pin { cursor: pointer; outline: none; }
.pm-pin__label { font: italic 400 34px/1 var(--italic); fill: var(--nero); text-anchor: middle; paint-order: stroke; stroke: var(--avorio); stroke-width: 10px; stroke-linejoin: round; transition: fill .3s; }
.pm-pin.is-active .pm-pin__label, .pm-pin:hover .pm-pin__label, .pm-pin:focus-visible .pm-pin__label { fill: var(--amarone); }
.pm-pin:focus-visible .pm-pin__ring { stroke: var(--amarone); stroke-width: 3; }
.pm-pin .pm-pin__ring { transition: r .4s var(--ease); }
.pm-pin.is-active .pm-pin__ring { r: 14; }
.pm-name { font: 500 22px/1 var(--sans); letter-spacing: .5em; pointer-events: none; }
.pm-name--sea { fill: var(--avorio); }
.pm-name--land { fill: var(--muted); }
.pm--carta { transition: none; }
.carta__panel.is-active .wine-row { animation: rowIn .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + .05s); }
@keyframes rowIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.wine-row { transition: background .3s; }
.wine-row:hover { background: rgba(227, 216, 198, .45); }
.wine-row:hover .wine-row__name { color: var(--amarone); }

/* Product page: image floats in */
.js .ponte-pdp__visual { animation: pdpIn 1.2s var(--ease) both; }
@keyframes pdpIn { from { opacity: 0; transform: scale(.96); clip-path: inset(8% 8% 8% 8%); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }


/* =========================================================
   Wine motion: page veil, liquid buttons, cart, glass, drips
   ========================================================= */

/* Page veil: wine rises to cover, drains to reveal */
.veil { position: fixed; inset: 0; z-index: 500; pointer-events: none; transform: translateY(calc(100% + 140px)); color: var(--avorio); }
.veil__wave { position: absolute; left: 0; width: 100%; height: 80px; top: -79px; fill: var(--amarone); animation: veilWave 2.2s ease-in-out infinite alternate; }
.veil__body { position: absolute; inset: 0; background: var(--amarone); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.veil__arch { fill: none; stroke: var(--oro); stroke-width: 6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.veil__line { stroke: var(--oro); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.veil__drop { fill: var(--avorio); opacity: 0; transform-box: fill-box; transform-origin: center; }
.veil__word { font: 400 18px/1 var(--serif); letter-spacing: .6em; margin-right: -.6em; opacity: 0; }
.veil-cover .veil { transform: none; pointer-events: auto; }
.veil-cover .veil__wave { display: none; }
.veil-cover .veil .veil__arch, .veil-in .veil .veil__arch { animation: pmDraw 1s .1s var(--ease) forwards; }
.veil-cover .veil .veil__line, .veil-in .veil .veil__line { animation: pmDraw .9s .3s var(--ease) forwards; }
.veil-cover .veil .veil__drop, .veil-in .veil .veil__drop { animation: veilDrop .7s .7s ease-in forwards; }
.veil-cover .veil .veil__word, .veil-in .veil .veil__word { animation: rise .8s .5s var(--ease) forwards; }
.veil-out .veil { transform: translateY(calc(-100% - 140px)); transition: transform 1s cubic-bezier(.7, 0, .2, 1); }
.veil-out .veil .veil__wave { display: block; top: auto; bottom: -79px; transform: scaleY(-1); }
.veil-in .veil { transform: none; pointer-events: auto; transition: transform .75s cubic-bezier(.7, 0, .2, 1); }
@keyframes veilWave { from { transform: translateX(0) scaleY(1); } to { transform: translateX(-3%) scaleY(1.25); } }
@keyframes veilDrop { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }

/* Liquid buttons: wine pours in on hover */
.btn, .button, #place_order, .single_add_to_cart_button { position: relative; overflow: hidden; isolation: isolate; }
.btn::before, .button::before, #place_order::before {
	content: ''; position: absolute; left: -10%; right: -10%; top: 0; bottom: -30%; z-index: -1; pointer-events: none;
	background: var(--fill, var(--amarone));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M0 10 Q25 0 50 10 T100 10 T150 10 T200 10 V20 H0Z'/%3E%3C/svg%3E") top left / 50% 12px repeat-x, linear-gradient(#000, #000) 0 11px / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M0 10 Q25 0 50 10 T100 10 T150 10 T200 10 V20 H0Z'/%3E%3C/svg%3E") top left / 50% 12px repeat-x, linear-gradient(#000, #000) 0 11px / 100% 100% no-repeat;
	transform: translateY(105%); transition: transform .6s cubic-bezier(.3, .7, .2, 1);
}
.btn:hover::before, .button:hover::before, #place_order:hover::before { transform: translateY(0); animation: liquid 1.4s linear infinite; }
@keyframes liquid { to { -webkit-mask-position: 50% 0, 0 11px; mask-position: 50% 0, 0 11px; } }
.btn:hover, .button:hover, #place_order:hover { background: var(--base, var(--nero)); }
.btn, .button { --base: var(--nero); --fill: var(--amarone); }
.btn--gold { --base: var(--oro); --fill: var(--amarone); }
.btn--gold:hover { background: var(--oro); color: var(--avorio); }
.btn--ghost { --base: transparent; --fill: var(--oro); }
.btn--ghost:hover { background: transparent; color: var(--nero); border-color: var(--oro); }
.btn--wine, #place_order, .wc-proceed-to-checkout .checkout-button { --base: var(--amarone); --fill: var(--nero); }
.btn--wine:hover, #place_order:hover, .wc-proceed-to-checkout .checkout-button:hover { background: var(--amarone); }
.btn--line { --base: transparent; --fill: var(--nero); }
.btn--line:hover { background: transparent; }
table.shop_table .actions .button { --base: transparent; --fill: var(--travertino); }
table.shop_table .actions .button:hover { background: transparent; color: var(--nero); }

/* Cart: the bag fills with wine as you add */
.ponte-cart__icon { overflow: visible; }
.ponte-cart__wine { fill: var(--amarone); transform: translateY(calc(21px - var(--fill, 0) * 12.5px)); transition: transform 1s cubic-bezier(.3, .7, .2, 1); }
.ponte-cart__wine path { animation: bagWave 1.6s linear infinite; }
.ponte-dark-header .ponte-cart__wine { fill: var(--amarone-l); }
@keyframes bagWave { to { transform: translateX(-6px); } }
.ponte-cart.is-hit { animation: bagHit .7s var(--ease); }
@keyframes bagHit { 0% { transform: none; } 30% { transform: translateY(3px) scale(1.12, .9); } 60% { transform: translateY(-2px) scale(.96, 1.06); } 100% { transform: none; } }
.wine-fly { position: fixed; z-index: 400; left: 0; top: 0; width: 14px; height: 20px; margin: -10px 0 0 -7px; pointer-events: none; }
.wine-fly svg { display: block; width: 100%; height: 100%; fill: var(--amarone); filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3)); }
.wine-splash { position: fixed; z-index: 401; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1.5px solid var(--amarone); pointer-events: none; animation: splash .6s ease-out forwards; }
@keyframes splash { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Scroll glass: a wine glass that fills as you read */
.glass { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 64px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--oro); opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s var(--ease); }
.glass.is-on { opacity: 1; transform: none; }
.glass svg { width: 100%; height: 100%; overflow: visible; }
.glass__wine { fill: var(--amarone); transform: translateY(calc(30px - var(--g, 0) * 26px)); transition: transform .25s linear; }
.glass__wine path { animation: glassWave 1.8s linear infinite; }
@keyframes glassWave { to { transform: translateX(-12px); } }
.glass__shape { fill: rgba(245, 240, 230, .08); stroke: currentColor; stroke-width: 1.2; }
.glass:hover { color: var(--amarone); }
.glass__label { position: absolute; right: 54px; top: 50%; transform: translateY(-50%); white-space: nowrap; font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--nero); background: var(--avorio); padding: 7px 9px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.glass:hover .glass__label, .glass:focus-visible .glass__label { opacity: 1; }

/* Wine drips under the gifts band */
.regali { position: relative; z-index: 3; }
.drips { position: absolute; left: 0; right: 0; top: 100%; height: 120px; pointer-events: none; }
.drips svg { width: 100%; height: 100%; display: block; fill: var(--amarone); overflow: visible; }
.drip { transform-box: fill-box; transform-origin: 50% 0; animation: dripGrow 5s ease-in-out infinite; }
.d2 { animation-delay: -1.4s; animation-duration: 6s; } .d3 { animation-delay: -2.2s; } .d4 { animation-delay: -3.1s; animation-duration: 7s; }
@keyframes dripGrow { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1.08); } }
.drop { opacity: 0; animation: dropFall 6s ease-in infinite; }
.f2 { animation-delay: 2.4s; animation-duration: 7s; } .f3 { animation-delay: 4.1s; }
@keyframes dropFall { 0%, 55% { opacity: 0; transform: translateY(0); } 60% { opacity: 1; } 100% { opacity: 0; transform: translateY(160px); } }

/* Bistro Italiano */
.hero__partner { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 10px 18px 10px 12px; border: 1px solid rgba(184, 153, 95, .35); text-decoration: none; color: var(--travertino); transition: border-color .3s, background .3s; }
.hero__partner:hover { border-color: var(--oro); background: rgba(184, 153, 95, .08); color: var(--avorio); }
.hero__partner img { width: 58px; height: auto; }
.hero__partner span { display: flex; flex-direction: column; gap: 4px; font: 400 12px/1.3 var(--sans); letter-spacing: .08em; }
.hero__partner strong { font: 500 10px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--oro); }
.js .hero__partner.hero__in { animation-delay: 1.2s; }
.bistro { padding: clamp(80px, 9vw, 130px) 0; background: var(--avorio); border-bottom: 1px solid var(--line); overflow: hidden; }
.bistro__grid { display: grid; grid-template-columns: .9fr 1.3fr .6fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.bistro__logo img { width: min(100%, 330px); height: auto; display: block; margin: 0 auto; }
.bistro__text p:not(.eyebrow) { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.bistro__text em { color: var(--amarone); }
.bistro__seal { position: relative; color: var(--oro); justify-self: center; }
.bistro__seal svg { animation: spin 40s linear infinite; }
.bistro__seal span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 400 54px/1 var(--serif); color: var(--nero); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Photos: bottles stand on the page */
.ponte-visual--photo { background: transparent; }
.ponte-visual--photo img { mix-blend-mode: normal; filter: drop-shadow(0 22px 18px rgba(18, 16, 16, .16)); transform-origin: 50% 100%; }
ul.products li.product .ponte-card__visual.ponte-visual--photo { aspect-ratio: 4 / 5; padding: 18px 26px 0; }
ul.products li.product:hover .ponte-visual--photo img { transform: translateY(-8px) rotate(-2deg); }
.wine-row__media .ponte-visual--photo img { filter: drop-shadow(0 6px 6px rgba(18, 16, 16, .18)); }
.ponte-pdp__visual.ponte-visual--photo { background: radial-gradient(60% 50% at 50% 60%, #efe6d6 0%, var(--travertino) 100%); padding: 6% 10% 4%; }
.ponte-pdp__visual img { transition: opacity .35s var(--ease), transform .8s var(--ease); }
.ponte-pdp__visual img.is-swap { opacity: 0; transform: translateY(16px) scale(.98); }
.ponte-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.ponte-thumb { width: 74px; height: 92px; padding: 6px; border: 1px solid var(--line); background: var(--avorio); cursor: pointer; transition: border-color .25s; }
.ponte-thumb img { width: 100%; height: 100%; object-fit: contain; }
.ponte-thumb.is-active, .ponte-thumb:hover { border-color: var(--nero); }

/* Version swatches */
.single-product table.variations { border: 0; margin: 0 0 18px; width: 100%; }
.single-product table.variations th, .single-product table.variations td { display: block; padding: 0; text-align: left; border: 0; }
.single-product table.variations th label { font: 500 10px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.ponte-variation select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ponte-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.ponte-swatch { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 0 14px; border: 1px solid var(--line); background: transparent; cursor: pointer; font: 400 19px/1 var(--serif); color: var(--nero); transition: border-color .25s, background .25s; }
.ponte-swatch i { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(18, 16, 16, .3); transition: transform .4s var(--ease); }
.ponte-swatch:hover { border-color: var(--nero); }
.ponte-swatch.is-active { border-color: var(--nero); background: var(--travertino); }
.ponte-swatch.is-active i { transform: scale(1.15); box-shadow: 0 0 0 2px var(--avorio), 0 0 0 3px var(--nero); }
.single_variation_wrap .woocommerce-variation-price .price { font: 400 28px/1 var(--serif); margin: 0 0 16px; border: 0; padding: 0; }
.single-product form.variations_form.cart { display: block; }
.single-product form.variations_form .woocommerce-variation-add-to-cart { display: flex; gap: 12px; }
.single-product form.variations_form .single_add_to_cart_button { flex: 1; min-height: 52px; }
.wine-row__go span { font-size: 18px; }

/* Shop filter */
.pfilter { position: sticky; top: 76px; z-index: 30; background: rgba(245, 240, 230, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.admin-bar .pfilter { top: 108px; }
.pfilter__inner { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; padding-bottom: 16px; }
.pfilter__types { position: relative; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.pfilter__types::-webkit-scrollbar { display: none; }
.pfilter__type { position: relative; z-index: 1; flex: none; min-height: 46px; padding: 0 20px; border: 0; background: none; cursor: pointer; font: 400 22px/1 var(--serif); color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; transition: color .3s; }
.pfilter__type:hover { color: var(--nero); }
.pfilter__type.is-active { color: var(--nero); }
.pfilter__ink { position: absolute; z-index: 0; bottom: -1px; left: 0; height: 2px; width: 0; background: var(--amarone); transition: transform .6s cubic-bezier(.3, .7, .2, 1), width .6s cubic-bezier(.3, .7, .2, 1); }
.pfilter__ink::after { content: ''; position: absolute; left: 50%; top: -9px; width: 8px; height: 11px; margin-left: -4px; background: var(--amarone); clip-path: path('M4 0 C4 0 0 5 0 7.5 A4 4 0 0 0 8 7.5 C8 5 4 0 4 0 Z'); animation: inkDrop 2.6s ease-in-out infinite; }
@keyframes inkDrop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.pfilter__row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.pfilter__regions { display: flex; flex-wrap: wrap; gap: 8px; }
.pfilter__region { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 40px; background: transparent; cursor: pointer; font: 400 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--nero); transition: all .3s var(--ease); }
.pfilter__region svg { color: var(--oro); }
.pfilter__region:hover { border-color: var(--nero); }
.pfilter__region.is-active { background: var(--nero); color: var(--avorio); border-color: var(--nero); }
.pfilter__end { display: flex; align-items: center; gap: 18px; }
.pfilter__sort select { min-height: 40px; padding: 0 34px 0 14px; border: 1px solid var(--line); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23121010'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font: 400 13px/1 var(--sans); letter-spacing: .06em; cursor: pointer; }
.pfilter__count { font: 400 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.pfilter__count b { display: inline-block; min-width: 1.4em; font: 400 22px/1 var(--serif); color: var(--amarone); letter-spacing: 0; text-align: right; }
.pfilter__empty { padding-top: 40px; font-family: var(--italic); font-style: italic; font-size: 22px; color: var(--muted); text-align: center; }
ul.products li.product.is-out { display: none; }
ul.products li.product.is-enter { animation: cardIn .7s var(--ease) both; animation-delay: calc(var(--k, 0) * 40ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.ponte-shop-head { padding-bottom: 36px; }
@media (max-width: 600px) {
	.pfilter { top: 64px; }
	.pfilter__type { font-size: 18px; padding: 0 14px; }
	.pfilter__regions { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
	.pfilter__region { flex: none; }
	.pfilter__end { width: 100%; justify-content: space-between; }
	.bistro__grid { grid-template-columns: 1fr; text-align: left; }
	.bistro__seal { display: none; }
	.glass { right: 12px; bottom: 12px; width: 38px; height: 54px; }
}
@media (max-width: 960px) { .bistro__grid { grid-template-columns: 1fr 1.4fr; } .bistro__seal { display: none; } }
@media (prefers-reduced-motion: reduce) {
	.veil { display: none; }
	.drip, .drop, .bistro__seal svg { animation: none !important; }
}
@media (max-width: 600px) {
	.bistro__grid { grid-template-columns: 1fr; }
	.bistro__logo img { width: 220px; margin: 0; }
}

/* =========================================================
   La cantina: collector bottles, reservation, lightbox, packaging
   ========================================================= */
.cantina { position: relative; background: var(--nero); color: var(--avorio); padding: clamp(150px, 14vw, 200px) 0 clamp(90px, 9vw, 130px); overflow: hidden; }
.cantina::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 50% 30%, rgba(184, 153, 95, .12), transparent 70%); }
.cantina__head { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 50px; }
.cantina__side p { color: var(--travertino); font-size: 17px; max-width: 470px; }
.cantina__nav { display: flex; gap: 10px; margin-top: 18px; }
.cantina__btn { width: 52px; height: 52px; border: 1px solid rgba(184, 153, 95, .5); background: transparent; color: var(--oro); font-size: 20px; cursor: pointer; transition: all .3s; }
.cantina__btn:hover { background: var(--oro); color: var(--nero); }
.cantina__track { position: relative; list-style: none; margin: 0; padding: 10px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 30px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cantina__track::-webkit-scrollbar { display: none; }
.bottle-card { flex: 0 0 clamp(240px, 24vw, 310px); scroll-snap-align: start; }
.bottle-card a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 26px 24px 24px; border: 1px solid rgba(184, 153, 95, .22); text-decoration: none; color: var(--avorio); background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0)); transition: border-color .4s, background .4s; overflow: hidden; }
.bottle-card a:hover { border-color: var(--oro); background: rgba(184, 153, 95, .06); color: var(--avorio); }
.bottle-card__year { position: absolute; left: 0; right: 0; top: 30px; text-align: center; font: 400 clamp(84px, 8vw, 118px)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(184, 153, 95, .45); letter-spacing: -.02em; transition: transform .8s var(--ease), -webkit-text-stroke-color .4s; }
.bottle-card a:hover .bottle-card__year { transform: translateY(-8px); -webkit-text-stroke-color: var(--oro); }
.bottle-card__img { position: relative; display: block; aspect-ratio: 4 / 5; margin: 18px 0 18px; }
.bottle-card__img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 24px rgba(0, 0, 0, .55)); transition: transform .8s var(--ease); transform-origin: 50% 100%; }
.bottle-card a:hover .bottle-card__img img { transform: translateY(-10px) rotate(-2deg); }
.bottle-card__meta { font: 500 10px/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--oro); }
.bottle-card__name { font: 400 22px/1.15 var(--serif); margin: 8px 0 16px; }
.bottle-card__cta { margin-top: auto; font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--travertino); }
.bottle-card.is-sold img { filter: grayscale(.6) brightness(.7) drop-shadow(0 30px 24px rgba(0, 0, 0, .55)); }

.ponte-badge { position: absolute; z-index: 3; top: 16px; left: 16px; padding: 7px 10px; background: var(--nero); color: var(--oro); font: 500 10px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.ponte-ask { font-family: var(--italic); font-style: italic; font-size: 20px; color: var(--amarone); }
.single-product .summary .price .ponte-ask { font-size: 26px; }

.ponte-reserve { margin: 6px 0 24px; }
.ponte-reserve__open { width: 100%; min-height: 58px; }
.ponte-reserve__sold { font: italic 300 22px/1.3 var(--italic); color: var(--amarone); }
.ponte-reserve__steps { counter-reset: st; list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ponte-reserve__steps li { counter-increment: st; display: flex; gap: 14px; align-items: baseline; font-size: 15px; color: var(--ink-2); }
.ponte-reserve__steps li::before { content: counter(st); flex: none; width: 26px; height: 26px; border: 1px solid var(--oro); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 400 13px/1 var(--serif); color: var(--amarone); }

.ponte-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; background: var(--avorio); color: var(--nero); box-shadow: 0 40px 120px rgba(0, 0, 0, .5); }
.ponte-dialog::backdrop { background: rgba(18, 16, 16, .72); backdrop-filter: blur(4px); }
.ponte-dialog[open] { animation: dlgIn .5s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.ponte-dialog__form { position: relative; padding: clamp(26px, 5vw, 46px); }
.ponte-dialog__form h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
.ponte-dialog__lead { font-family: var(--italic); font-style: italic; font-size: 19px; color: var(--ink-2); margin-bottom: 24px; }
.ponte-dialog__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--muted); }
.ponte-dialog__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ponte-dialog__msg { min-height: 1.4em; font-size: 15px; color: var(--amarone); }
.ponte-dialog__msg.is-ok { font: italic 300 22px/1.3 var(--italic); }
.ponte-dialog__send { width: 100%; min-height: 56px; }
.ponte-dialog.is-done .ponte-dialog__send, .ponte-dialog.is-done .form-row, .ponte-dialog.is-done .ponte-dialog__grid { display: none; }
.ponte-hp { position: absolute; left: -9999px; }

.ponte-pdp__visual { cursor: zoom-in; }
.ponte-thumbs { flex-wrap: wrap; }
.lightbox { position: fixed; inset: 0; z-index: 450; background: rgba(12, 10, 10, .95); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 88vh; object-fit: contain; transform: scale(.97); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; width: 56px; height: 56px; border: 1px solid rgba(184, 153, 95, .5); background: transparent; color: var(--oro); font-size: 22px; cursor: pointer; }
.lightbox button:hover { background: var(--oro); color: var(--nero); }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 18px; top: 18px; }
.lightbox__count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font: 400 12px/1 var(--sans); letter-spacing: .3em; color: var(--oro); }

.ponte-pack { border: 0; margin: 34px 0 0; padding: 0; }
.ponte-pack legend { font: 400 30px/1.1 var(--serif); margin-bottom: 16px; padding: 0; }
.ponte-pack__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ponte-pack__opt { position: relative; display: grid; grid-template-columns: 84px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; align-items: start; padding: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.ponte-pack__opt input { position: absolute; opacity: 0; pointer-events: none; }
.ponte-pack__img { grid-row: 1 / 4; width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; background: var(--travertino); overflow: hidden; color: var(--muted); }
.ponte-pack__img img { width: 100%; height: 100%; object-fit: cover; }
.ponte-pack__img svg { height: 70%; }
.ponte-pack__name { font: 400 18px/1.2 var(--serif); }
.ponte-pack__note { font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.ponte-pack__price { font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--amarone); margin-top: 8px; }
.ponte-pack__opt:has(input:checked) { border-color: var(--nero); box-shadow: inset 0 0 0 1px var(--nero); }
.ponte-pack__opt:has(input:focus-visible) { outline: 2px solid var(--oro); outline-offset: 2px; }
.ponte-pack__opt::after { content: ''; position: absolute; top: 10px; right: 10px; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line); }
.ponte-pack__opt:has(input:checked)::after { border: 5px solid var(--amarone); }
@media (max-width: 960px) { .cantina__head { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
	.ponte-pack__grid, .ponte-dialog__grid { grid-template-columns: 1fr; }
	.bottle-card { flex-basis: 78vw; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
}

/* Mobile menu: the header's blur made it the containing block, so the fixed menu was clipped to header height */
@media (max-width: 960px) {
	.nav-open .site-header, .nav-open.ponte-dark-header .site-header.is-scrolled { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
	.site-nav { height: 100vh; height: 100dvh; overflow-y: auto; justify-content: flex-start; padding-top: 120px; }
	.site-nav__list a { font-size: clamp(30px, 9vw, 40px); }
	.nav-open #ponte-glass { opacity: 0; pointer-events: none; }
}
@media (max-width: 600px) {
	.woocommerce-checkout #ponte-glass, .woocommerce-cart #ponte-glass { display: none; }
	.site-footer__bottom, .site-footer__base { padding-right: 64px; }
	.ponte-pack__opt { padding-right: 34px; }
}
