/* =========================================================
   BAGGIO SPORTS — storefront styles
   Palette taken from the Baggio logo
   ========================================================= */
:root {
    --navy: #1B3E63;
    --navy-800: #16345A;
    --navy-900: #0F2540;
    --navy-950: #0A1A2E;
    --gold: #F3AF29;
    --gold-600: #DB9612;
    --red: #ED3237;
    --red-600: #C9242A;
    --cream: #F6F5EF;
    --paper: #FBFAF6;
    --ink: #10223A;
    --muted: #5E6B7D;
    --line: #E4E2D9;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 18px 40px -18px rgba(10, 26, 46, .35);
    --shadow-lg: 0 30px 70px -25px rgba(10, 26, 46, .45);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6;
    color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy-950); }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }

h1, h2, h3, h4, .display {
    font-family: var(--display); font-weight: 800; line-height: 1.02; margin: 0 0 .4em;
    letter-spacing: .3px; text-transform: uppercase;
}
.italic { font-style: italic; }
.text-gold { color: var(--gold); }
.text-red { color: var(--red); }

/* ---------- Preloader ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
    background: radial-gradient(circle at 50% 45%, var(--navy) 0%, var(--navy-950) 70%);
    transition: opacity .6s var(--ease), visibility .6s;
    animation: preloaderFailsafe 0s 4s forwards;
}
@keyframes preloaderFailsafe { to { opacity: 0; visibility: hidden; } }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__inner { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.preloader__inner img { width: 104px; animation: pulse 1.4s var(--ease) infinite; }
.preloader__ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 3px solid rgba(243, 175, 41, .18); border-top-color: var(--gold); border-right-color: var(--red);
    animation: spin 1s linear infinite;
}

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: #cdd6e3; font-size: 13.5px; position: relative; z-index: 60; }
.topbar .container { display: flex; align-items: center; gap: 18px; height: 40px; }
.topbar__marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.topbar__track { display: inline-flex; gap: 48px; white-space: nowrap; animation: marquee 38s linear infinite; }
.topbar__track span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__track .icon { color: var(--gold); }
.topbar__right { display: flex; align-items: center; gap: 14px; }
.topbar__right a:hover { color: var(--gold); }

.currency-switch { position: relative; }
.currency-switch select {
    appearance: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px; padding: 4px 30px 4px 30px; color: #fff; font-weight: 600; font-size: 13px; cursor: pointer;
}
.currency-switch select option { color: var(--ink); }
.currency-switch .icon { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); width: 15px; color: var(--gold); pointer-events: none; }
.currency-switch::after {
    content: ''; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
    border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); pointer-events: none;
}
.auto-badge { font-size: 10.5px; padding: 2px 7px; border-radius: 999px; background: var(--gold); color: var(--navy-950); font-weight: 700; letter-spacing: .5px; }

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 246, .86);
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent; transition: box-shadow .35s, border-color .35s, background .35s;
}
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(10,26,46,.4); border-color: var(--line); background: rgba(251,250,246,.95); }
.header .container { display: flex; align-items: center; gap: 28px; height: 84px; transition: height .35s var(--ease); }
.header.scrolled .container { height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 58px; height: 58px; object-fit: contain; transition: transform .5s var(--ease), width .35s, height .35s; }
.header.scrolled .brand img { width: 48px; height: 48px; }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand__text { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: .9; font-size: 26px; color: var(--navy); }
.brand__text small { display: block; font-size: 15px; color: var(--red); letter-spacing: 3px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav__drop > button {
    position: relative; padding: 10px 14px; font-weight: 600; font-size: 15.5px; color: var(--ink);
    background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a::after, .nav__drop > button::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav > a:hover::after, .nav > a.active::after, .nav__drop:hover > button::after { transform: scaleX(1); }
.nav > a.active { color: var(--navy); }
.nav__drop { position: relative; }
.nav__menu {
    position: absolute; top: calc(100% + 8px); left: 50%; width: 520px; padding: 14px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: .3s var(--ease);
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; transition: background .2s; }
.nav__menu a:hover { background: var(--cream); }
.nav__menu .cat-ico { width: 40px; height: 40px; }
.nav__menu strong { display: block; font-size: 15px; }
.nav__menu small { color: var(--muted); font-size: 12.5px; }

.header__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
    position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: transparent; border: 1px solid var(--line); cursor: pointer; transition: .3s var(--ease);
}
.icon-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.icon-btn .count {
    position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px;
    background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center;
    border: 2px solid var(--paper);
}
.count.bump { animation: bump .6s var(--ease); }
.menu-toggle { display: none; }

/* search overlay */
.search-overlay {
    position: fixed; inset: 0; z-index: 90; background: rgba(10, 26, 46, .92); backdrop-filter: blur(8px);
    display: grid; place-items: start center; padding-top: 18vh; opacity: 0; visibility: hidden; transition: .35s var(--ease);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay form { width: min(720px, 92vw); transform: translateY(-20px); transition: transform .45s var(--ease); }
.search-overlay.open form { transform: none; }
.search-overlay label { color: var(--gold); font-family: var(--display); font-size: 22px; text-transform: uppercase; letter-spacing: 2px; }
.search-overlay .search-field { display: flex; border-bottom: 3px solid var(--gold); margin-top: 10px; }
.search-overlay input { flex: 1; background: none; border: 0; outline: none; color: #fff; font-size: clamp(26px, 4vw, 44px); font-family: var(--display); font-weight: 700; padding: 10px 0; }
.search-overlay button[type=submit] { background: none; border: 0; color: var(--gold); cursor: pointer; }
.search-overlay button[type=submit] .icon { width: 36px; height: 36px; }
.search-close { position: absolute; top: 28px; right: 28px; color: #fff; border-color: rgba(255,255,255,.3); }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(10,26,46,.6); opacity: 0; transition: .35s; }
.drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: var(--navy-950); color: #fff;
    padding: 24px; transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto;
}
.drawer.open { pointer-events: auto; }
.drawer.open .drawer__backdrop { opacity: 1; }
.drawer.open .drawer__panel { transform: none; }
.drawer__panel nav a { display: flex; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; }
.drawer__panel nav a:hover { color: var(--gold); padding-left: 10px; transition: .25s; }
.drawer__panel .sub a { font-size: 17px; font-family: var(--body); text-transform: none; font-weight: 500; color: #c7d2e1; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer__head img { width: 54px; }
.drawer .icon-btn { color: #fff; border-color: rgba(255,255,255,.25); }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--navy); --fg: #fff;
    position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px; border-radius: 999px; border: 2px solid var(--bg); background: var(--bg); color: var(--fg);
    font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: 1px; text-transform: uppercase; font-style: italic;
    cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s; isolation: isolate;
}
.btn::before {
    content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; z-index: -1;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-25deg);
    transition: left .7s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -14px var(--bg); }
.btn:hover::before { left: 130%; }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--gold { --bg: var(--gold); --fg: var(--navy-950); }
.btn--red { --bg: var(--red); --fg: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--navy); box-shadow: none; }
.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--wa { --bg: #1FAF55; --fg: #fff; }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,.5); animation: ripple .7s linear; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(1200px 600px at 75% 40%, #24507F 0%, var(--navy) 35%, var(--navy-950) 100%);
    padding: 70px 0 130px; isolation: isolate;
}
.hero__stripes {
    position: absolute; inset: -50%; z-index: -2; opacity: .07;
    background: repeating-linear-gradient(115deg, #fff 0 2px, transparent 2px 46px);
    animation: stripes 30s linear infinite;
}
.hero__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); z-index: -1; opacity: .45; }
.hero__glow--gold { background: var(--gold); top: -180px; left: -160px; animation: floatY 9s ease-in-out infinite; }
.hero__glow--red { background: var(--red); bottom: -240px; right: 8%; opacity: .32; animation: floatY 11s ease-in-out infinite reverse; }
.hero__ten {
    position: absolute; right: -2%; top: 50%; transform: translateY(-50%); z-index: -1;
    font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(320px, 42vw, 640px); line-height: .8;
    color: transparent; -webkit-text-stroke: 2px rgba(243, 175, 41, .16); letter-spacing: -20px; user-select: none;
}
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-weight: 600; font-size: 14px; backdrop-filter: blur(6px);
}
.hero__badge b { background: var(--red); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: 1px; }
.hero h1 { font-size: clamp(54px, 7.6vw, 108px); font-style: italic; margin: 22px 0 18px; line-height: .9; }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding-right: .08em; }
.hero h1 .word > span { display: inline-block; transform: translateY(110%); animation: wordUp .9s var(--ease) forwards; }
.hero h1 .accent > span {
    background: linear-gradient(90deg, var(--gold), #FFD36E, var(--gold)); background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: wordUp .9s var(--ease) forwards, shimmer 4s linear 1.2s infinite;
}
.hero__sub { font-size: 19px; color: #c9d4e3; max-width: 540px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 34px; margin-top: 44px; }
.hero__meta div { border-left: 3px solid var(--gold); padding-left: 14px; }
.hero__meta strong { display: block; font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1; }
.hero__meta span { color: #aab8cb; font-size: 14px; }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.hero__orbit {
    position: absolute; width: 470px; height: 470px; border-radius: 50%;
    border: 2px dashed rgba(243,175,41,.35); animation: spin 40s linear infinite;
}
.hero__orbit::before, .hero__orbit::after {
    content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); top: 50%; left: -8px; box-shadow: 0 0 20px var(--gold);
}
.hero__orbit::after { background: var(--red); left: auto; right: -8px; box-shadow: 0 0 20px var(--red); }
.hero__disc {
    position: absolute; width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.14), rgba(255,255,255,0) 70%);
}
.hero__img { position: relative; width: min(640px, 100%); animation: floatY 6s ease-in-out infinite; filter: drop-shadow(0 40px 40px rgba(0,0,0,.45)); }
.hero__img img { transition: transform .2s linear; }
.chip {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
    background: rgba(255,255,255,.96); color: var(--ink); box-shadow: var(--shadow-lg); font-weight: 700; font-size: 14px;
}
.chip small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.chip .chip__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: var(--navy-950); }
.chip--a { top: 8%; left: 0; animation: floatY 5s ease-in-out infinite; }
.chip--b { bottom: 6%; right: 2%; animation: floatY 6s ease-in-out .8s infinite; }
.chip--b .chip__ico { background: var(--red); color: #fff; }
.hero__edge { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: var(--paper); clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%); }
.scroll-cue { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 2; width: 28px; height: 46px; border: 2px solid var(--navy); border-radius: 20px; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 10px; margin-left: -2px; border-radius: 4px; background: var(--red); animation: scrollCue 1.8s infinite; }

/* ---------- Marquee band ---------- */
.band { background: var(--red); color: #fff; transform: rotate(-2deg) scale(1.04); margin: -10px 0 30px; padding: 16px 0; position: relative; z-index: 3; box-shadow: 0 20px 40px -20px rgba(237,50,55,.6); overflow: hidden; }
.band--gold { background: var(--gold); color: var(--navy-950); transform: rotate(1.5deg) scale(1.04); margin-top: -64px; z-index: 2; }
.band__track { display: inline-flex; gap: 40px; white-space: nowrap; animation: marquee 26s linear infinite; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 30px; text-transform: uppercase; letter-spacing: 1px; }
.band--gold .band__track { animation-direction: reverse; }
.band__track span { display: inline-flex; align-items: center; gap: 40px; }
.band__track .star { color: var(--navy-950); }
.band--gold .band__track .star { color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-950); color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 44px; flex-wrap: wrap; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-weight: 700; font-size: 14px;
    letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px;
}
.eyebrow::before { content: ''; width: 34px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--red)); border-radius: 3px; }
.section-title { font-size: clamp(38px, 5vw, 62px); font-style: italic; margin: 0; }
.section-title em { font-style: italic; color: var(--red); }
.section--navy .section-title em { color: var(--gold); }
.section-lead { color: var(--muted); max-width: 560px; margin: 10px 0 0; font-size: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.cat-card {
    position: relative; overflow: hidden; padding: 26px 18px 22px; border-radius: var(--radius); background: #fff;
    border: 1px solid var(--line); text-align: center; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
    transform-style: preserve-3d;
}
.cat-card::before {
    content: ''; position: absolute; inset: auto -40% -60% -40%; height: 120%; border-radius: 50%;
    background: radial-gradient(circle, rgba(243,175,41,.22), transparent 60%); transform: translateY(40%); transition: transform .6s var(--ease);
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--gold); }
.cat-card:hover::before { transform: translateY(0); }
.cat-ico {
    position: relative; width: 78px; height: 78px; margin: 0 auto 14px; border-radius: 22px; display: grid; place-items: center;
    background: var(--navy); color: var(--gold); transition: transform .6s var(--ease), background .4s;
}
.cat-ico .icon { width: 56%; height: 56%; }
.cat-card:hover .cat-ico { transform: rotate(-10deg) scale(1.08); background: var(--red); color: #fff; }
.cat-card h3 { font-size: 21px; margin: 0 0 2px; position: relative; }
.cat-card span { color: var(--muted); font-size: 14px; position: relative; }

/* tabs */
.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }
.tabs button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--muted); transition: .3s var(--ease); }
.tabs button.active { background: var(--navy); color: #fff; box-shadow: 0 8px 18px -8px var(--navy); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .6s var(--ease); }

/* ---------- Product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.p-card {
    position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.p-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.p-card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.08) rotate(-1.5deg); }
.badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.badge--sale { background: var(--red); color: #fff; }
.badge--new { background: var(--gold); color: var(--navy-950); }
.badge--out { background: var(--navy-950); color: #fff; }
.p-card__quick {
    position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; transform: translateY(130%); opacity: 0;
    transition: .45s var(--ease);
}
.p-card:hover .p-card__quick, .p-card:focus-within .p-card__quick { transform: none; opacity: 1; }
.p-card__quick .btn { width: 100%; padding: 12px; font-size: 15px; }
.p-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-card__cat { color: var(--red); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.p-card__title { font-family: var(--body); text-transform: none; font-weight: 700; font-size: 17px; line-height: 1.3; margin: 0; letter-spacing: 0; }
.p-card__title a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.price strong { font-family: var(--display); font-size: 25px; font-weight: 800; color: var(--navy); }
.price del { color: #98a3b3; font-size: 15px; }

/* deal / countdown */
.deal {
    position: relative; overflow: hidden; border-radius: 30px; padding: 56px; color: #fff; isolation: isolate;
    background: linear-gradient(115deg, var(--navy-950) 0%, var(--navy) 55%, #234d7a 100%);
    display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center;
}
.deal::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .08; background: repeating-linear-gradient(-60deg, #fff 0 2px, transparent 2px 30px); }
.deal::after { content: '%'; position: absolute; right: 30%; top: -40px; font-family: var(--display); font-weight: 900; font-size: 300px; color: rgba(237,50,55,.12); z-index: -1; font-style: italic; }
.deal h2 { font-size: clamp(38px, 5vw, 64px); font-style: italic; }
.deal p { color: #c9d4e3; font-size: 18px; max-width: 520px; }
.countdown { display: flex; gap: 14px; margin: 26px 0 30px; }
.countdown div { min-width: 86px; padding: 14px 10px; text-align: center; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(6px); }
.countdown strong { display: block; font-family: var(--display); font-size: 44px; line-height: 1; font-weight: 800; color: var(--gold); }
.countdown strong.tick { animation: tick .45s var(--ease); }
.countdown span { font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: #aab8cb; }
.deal__img { position: relative; }
.deal__img img { width: 100%; max-width: 360px; margin: auto; border-radius: 26px; animation: swing 6s ease-in-out infinite; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.deal__img .badge-circle { position: absolute; top: -10px; right: 10px; width: 110px; height: 110px; border-radius: 50%; background: var(--red); display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 30px; line-height: .9; animation: spin 14s linear infinite; box-shadow: 0 0 0 8px rgba(237,50,55,.25); }
.deal__img .badge-circle span { animation: spin 14s linear infinite reverse; display: block; }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .45s var(--ease); position: relative; overflow: hidden; }
.feature::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature:hover::after { transform: scaleX(1); }
.feature__ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--cream); color: var(--red); margin-bottom: 18px; transition: .5s var(--ease); }
.feature__ico .icon { width: 30px; height: 30px; }
.feature:hover .feature__ico { background: var(--navy); color: var(--gold); transform: rotateY(180deg); }
.feature h3 { font-size: 24px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(48px, 6vw, 76px); line-height: 1; color: var(--gold); }
.stat span { color: #aab8cb; text-transform: uppercase; letter-spacing: 2px; font-size: 14px; }

/* testimonials */
.testi { position: relative; max-width: 860px; margin: auto; text-align: center; }
.testi__viewport { overflow: hidden; }
.testi__track { display: flex; transition: transform .8s var(--ease); }
.testi__item { min-width: 100%; padding: 0 20px; }
.testi__quote { font-family: var(--display); font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.25; font-style: italic; text-transform: none; }
.testi__quote::before { content: '“'; display: block; font-size: 110px; line-height: .6; color: var(--red); margin-bottom: 10px; }
.testi__who { margin-top: 18px; color: var(--muted); }
.testi__who strong { color: var(--navy); display: block; font-size: 18px; }
.testi__dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.testi__dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; transition: .4s var(--ease); }
.testi__dots button.active { width: 36px; background: var(--red); }

/* custom-kit CTA */
.cta-kit {
    position: relative; overflow: hidden; border-radius: 30px; padding: 60px; text-align: center; color: var(--navy-950);
    background: linear-gradient(120deg, var(--gold) 0%, #FFCB5C 100%);
}
.cta-kit::before, .cta-kit::after { content: '10'; position: absolute; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 260px; line-height: 1; color: rgba(27,62,99,.08); }
.cta-kit::before { left: -20px; top: -60px; }
.cta-kit::after { right: -20px; bottom: -90px; color: rgba(237,50,55,.12); }
.cta-kit h2 { font-size: clamp(38px, 5vw, 64px); font-style: italic; }
.cta-kit p { font-size: 18px; max-width: 620px; margin: 0 auto 28px; }

/* ---------- Page header ---------- */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 80px; color: #fff; background: radial-gradient(900px 400px at 80% 20%, #24507F, var(--navy) 40%, var(--navy-950)); isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: -50%; z-index: -1; opacity: .06; background: repeating-linear-gradient(115deg, #fff 0 2px, transparent 2px 46px); animation: stripes 30s linear infinite; }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: var(--paper); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.page-hero h1 { font-size: clamp(44px, 6vw, 76px); font-style: italic; margin: 6px 0 0; animation: fadeUp .8s var(--ease); }
.crumbs { display: flex; gap: 8px; color: #aab8cb; font-size: 14px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--gold); }
.crumbs span:last-child { color: var(--gold); }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.filters h4 { font-size: 20px; margin: 0 0 12px; display: flex; justify-content: space-between; align-items: center; }
.filters + .filters { margin-top: 20px; }
.filter-block + .filter-block { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 20px; }
.filter-cats a { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 10px; font-weight: 500; transition: .25s; }
.filter-cats a:hover { background: var(--cream); padding-left: 16px; }
.filter-cats a.active { background: var(--navy); color: #fff; }
.filter-cats small { color: inherit; opacity: .6; }
.price-inputs { display: flex; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; margin: 8px 0; cursor: pointer; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.toolbar p { margin: 0; color: var(--muted); }
.filter-toggle { display: none; }
.shop-layout .grid-products { grid-template-columns: repeat(3, 1fr); }
.empty { text-align: center; padding: 70px 20px; background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); }
.empty .icon { width: 64px; height: 64px; color: var(--gold); margin-bottom: 10px; }

/* form controls */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 14.5px; }
.input, select.input, textarea.input {
    width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; outline: none;
    transition: border-color .25s, box-shadow .25s;
}
.input:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(27,62,99,.12); }
.field .error, .error-text { color: var(--red); font-size: 13px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 700; transition: .25s; }
.pagination a:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .disabled { opacity: .4; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery__main { position: relative; overflow: hidden; border-radius: 24px; background: var(--cream); aspect-ratio: 1; cursor: zoom-in; border: 1px solid var(--line); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out, opacity .35s; }
.gallery__main.zoom img { transform: scale(1.8); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 14px; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--cream); aspect-ratio: 1; transition: .25s; }
.gallery__thumbs button.active, .gallery__thumbs button:hover { border-color: var(--red); }
.product__info h1 { font-size: clamp(40px, 4.5vw, 58px); font-style: italic; margin: 8px 0 14px; }
.product__info .price strong { font-size: 40px; color: var(--red); }
.product__info .price del { font-size: 20px; }
.save-pill { background: rgba(237,50,55,.1); color: var(--red); padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin: 6px 0 18px; }
.stock::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #1FAF55; box-shadow: 0 0 0 0 rgba(31,175,85,.5); animation: ping 1.8s infinite; }
.stock.low::before { background: var(--gold); }
.stock.out::before { background: var(--red); animation: none; }
.product__lead { color: var(--muted); font-size: 17.5px; }
.opt-label { font-weight: 700; margin: 22px 0 10px; display: block; }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sizes label { min-width: 54px; padding: 10px 14px; text-align: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; cursor: pointer; transition: .25s var(--ease); }
.sizes label:hover { border-color: var(--navy); transform: translateY(-2px); }
.sizes input:checked + label { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 10px 20px -10px var(--navy); }
.buy-row { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 44px; height: 52px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.qty button:hover { background: var(--cream); color: var(--red); }
.qty input { width: 46px; text-align: center; border: 0; outline: none; font-weight: 700; font-size: 17px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm button { height: 40px; width: 36px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.trust div { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 14px; background: var(--cream); font-size: 14px; font-weight: 600; }
.trust .icon { color: var(--red); width: 26px; height: 26px; }
.desc-box { margin-top: 30px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; white-space: pre-line; }
.desc-box h3 { font-size: 24px; }
.meta-list { list-style: none; padding: 0; margin: 20px 0 0; color: var(--muted); font-size: 14.5px; }
.meta-list b { color: var(--ink); }
.currency-note { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.currency-note .icon { color: var(--gold); width: 16px; }

/* ---------- Cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.cart-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 96px 1fr auto auto auto; gap: 18px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); animation: fadeUp .5s var(--ease) both; }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; background: var(--cream); }
.cart-row h4 { font-family: var(--body); text-transform: none; font-size: 17px; margin: 0 0 4px; letter-spacing: 0; }
.cart-row small { color: var(--muted); }
.cart-row .line-total { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--navy); min-width: 100px; text-align: right; }
.remove-btn { background: none; border: 0; color: #9aa5b5; cursor: pointer; padding: 8px; border-radius: 10px; transition: .2s; }
.remove-btn:hover { color: var(--red); background: rgba(237,50,55,.08); }
.summary { position: sticky; top: 96px; background: var(--navy-950); color: #fff; border-radius: var(--radius); padding: 28px; overflow: hidden; isolation: isolate; }
.summary::before { content: '10'; position: absolute; right: -10px; bottom: -50px; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 200px; color: rgba(243,175,41,.07); z-index: -1; }
.summary h3 { font-size: 28px; font-style: italic; }
.summary .line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.14); color: #c9d4e3; }
.summary .line.total { border: 0; font-size: 20px; color: #fff; font-weight: 700; padding-top: 16px; }
.summary .line.total span:last-child { font-family: var(--display); font-size: 34px; color: var(--gold); font-weight: 800; }
.ship-progress { margin: 16px 0; font-size: 14px; color: #c9d4e3; }
.ship-progress .bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 8px; }
.ship-progress .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--red)); border-radius: 99px; animation: grow 1.2s var(--ease); }
.summary-items { max-height: 300px; overflow: auto; margin-bottom: 10px; }
.summary-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.summary-item img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.summary-item div { flex: 1; font-size: 14px; }
.summary-item small { color: #aab8cb; display: block; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 26px; font-style: italic; }
.pay-options { display: grid; gap: 10px; }
.pay-option { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: .25s; }
.pay-option:hover { border-color: var(--navy); }
.pay-option input { margin-top: 4px; accent-color: var(--red); width: 18px; height: 18px; }
.pay-option:has(input:checked) { border-color: var(--red); background: rgba(237,50,55,.04); }
.pay-option small { display: block; color: var(--muted); white-space: pre-line; }
.success-ring { width: 110px; height: 110px; margin: 0 auto 20px; border-radius: 50%; background: #1FAF55; color: #fff; display: grid; place-items: center; animation: pop .8s var(--ease); box-shadow: 0 0 0 14px rgba(31,175,85,.15); }
.success-ring .icon { width: 56px; height: 56px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .5s forwards; }
.status-steps { display: flex; justify-content: space-between; position: relative; margin: 30px 0; }
.status-steps::before { content: ''; position: absolute; left: 6%; right: 6%; top: 18px; height: 4px; background: var(--line); }
.status-steps .step { position: relative; text-align: center; flex: 1; font-size: 13px; font-weight: 600; color: var(--muted); }
.status-steps .dot { width: 40px; height: 40px; margin: 0 auto 8px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; position: relative; }
.status-steps .step.done .dot { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.status-steps .step.done { color: var(--navy); }

/* alerts & toast */
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-weight: 600; display: flex; gap: 10px; align-items: center; animation: fadeUp .5s var(--ease); }
.alert--success { background: #E7F7EE; color: #11733A; }
.alert--error { background: #FDECEC; color: var(--red-600); }
.toast-wrap { position: fixed; z-index: 120; right: 22px; bottom: 100px; display: flex; flex-direction: column; gap: 10px; }
.toast { display: flex; align-items: center; gap: 12px; min-width: 280px; max-width: 360px; padding: 14px 18px; border-radius: 16px; background: var(--navy-950); color: #fff; box-shadow: var(--shadow-lg); border-left: 4px solid var(--gold); animation: toastIn .5s var(--ease); }
.toast.out { animation: toastOut .4s var(--ease) forwards; }
.toast .icon { color: var(--gold); }
.toast a { color: var(--gold); font-weight: 700; margin-left: auto; white-space: nowrap; }

/* contact / about */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; }
.info-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); margin-bottom: 16px; transition: .35s var(--ease); }
.info-card:hover { transform: translateX(6px); border-color: var(--gold); }
.info-card .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--gold); flex: none; }
.info-card h4 { font-size: 20px; margin: 0 0 2px; }
.info-card p { margin: 0; color: var(--muted); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 320px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual { position: relative; border-radius: 30px; background: var(--navy); padding: 40px; display: grid; place-items: center; overflow: hidden; }
.about-visual img { width: 80%; animation: floatY 6s ease-in-out infinite; }
.about-visual::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 40px); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #b6c3d4; padding: 80px 0 0; position: relative; overflow: hidden; }
.footer::before { content: 'BAGGIO'; position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(120px, 22vw, 320px); color: rgba(255,255,255,.025); line-height: 1; white-space: nowrap; pointer-events: none; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; position: relative; }
.footer h4 { color: #fff; font-size: 22px; font-style: italic; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer li a { transition: .25s; display: inline-block; }
.footer li a:hover { color: var(--gold); transform: translateX(5px); }
.footer__brand img { width: 96px; margin-bottom: 16px; }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact .icon { color: var(--gold); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: .3s var(--ease); }
.socials a:hover { background: var(--gold); color: var(--navy-950); transform: translateY(-4px) rotate(-8deg); }
.footer__bottom { margin-top: 60px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 14px; font-size: 14px; flex-wrap: wrap; position: relative; }

/* floating buttons */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; background: #1FAF55; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31,175,85,.8); transition: transform .3s var(--ease); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #1FAF55; z-index: -1; animation: ping 2s infinite; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float .icon { width: 32px; height: 32px; }
.to-top { position: fixed; left: 22px; bottom: 22px; z-index: 80; width: 54px; height: 54px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; transform: translateY(20px); transition: .4s var(--ease); color: var(--navy); }
.to-top.show { opacity: 1; transform: none; }
.to-top svg.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--red); stroke-width: 3; stroke-dasharray: 157; stroke-dashoffset: 157; transition: stroke-dashoffset .1s; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(.88); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes stripes { from { transform: translateX(0); } to { transform: translateX(46px); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes swing { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-10px); } }
@keyframes wordUp { to { transform: translateY(0); } }
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.5); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31,175,85,.55); } 80%,100% { box-shadow: 0 0 0 16px rgba(31,175,85,0); } }
@keyframes tick { 0% { transform: translateY(-10px); opacity: .2; } 100% { transform: none; opacity: 1; } }
@keyframes grow { from { width: 0; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes toastIn { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(60px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .grid-products { grid-template-columns: repeat(3, 1fr); }
    .shop-layout .grid-products { grid-template-columns: repeat(2, 1fr); }
    .features, .stats { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .nav, .header__actions .hide-sm { display: none; }
    .menu-toggle { display: grid; }
    .header__actions { margin-left: auto; }
    .hero .container, .deal, .product, .cart-layout, .contact-grid, .about-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 40px; }
    .hero__visual { min-height: 360px; order: -1; }
    .hero__orbit { width: 340px; height: 340px; }
    .hero__disc { width: 280px; height: 280px; }
    .shop-layout { grid-template-columns: 1fr; }
    .filters-wrap { display: none; }
    .filters-wrap.open { display: block; }
    .filter-toggle { display: inline-flex; }
    .filters { position: static; }
    .gallery, .summary { position: static; }
    .deal { padding: 36px 26px; }
}
@media (max-width: 640px) {
    .container { width: calc(100% - 28px); }
    .topbar__right .hide-xs { display: none; }
    .brand__text { display: none; }
    .grid-products, .shop-layout .grid-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .p-card__body { padding: 12px; }
    .p-card__title { font-size: 15px; }
    .price strong { font-size: 20px; }
    .p-card__quick { transform: none; opacity: 1; left: 8px; right: 8px; bottom: 8px; }
    .p-card__quick .btn { padding: 8px; font-size: 13px; }
    .hero__meta { gap: 18px; }
    .hero__meta strong { font-size: 26px; }
    .chip { font-size: 12px; padding: 8px 10px; }
    .chip .chip__ico { width: 32px; height: 32px; }
    .section { padding: 64px 0; }
    .countdown div { min-width: 0; flex: 1; }
    .countdown strong { font-size: 32px; }
    .features, .footer__grid, .grid-2, .trust { grid-template-columns: 1fr; }
    .cart-row { grid-template-columns: 70px 1fr; }
    .cart-row img { width: 70px; height: 70px; }
    .cart-row .line-total { text-align: left; }
    .cta-kit { padding: 40px 22px; }
    .band__track { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
.to-top .up { transform: rotate(-90deg); width: 22px; height: 22px; }
@media (max-width: 640px) {
    .p-card__quick { position: static; order: 1; padding: 0 12px 12px; }
    .tabs { max-width: 100%; overflow-x: auto; }
    .tabs button { padding: 8px 14px; white-space: nowrap; font-size: 14px; }
    .hero__ten { right: -20%; }
}

/* =========================================================
   v1.1 — design upgrade
   ========================================================= */
/* scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--red)); pointer-events: none; }

/* hero spotlight + grain */
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 40%), rgba(243,175,41,.16), transparent 45%); transition: background .2s; }
.hero::after, .page-hero .grain, .deal .grain { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero h1 { text-shadow: 0 10px 40px rgba(0,0,0,.25); }
.hero__badge { animation: badgeGlow 3s ease-in-out infinite; }
@keyframes badgeGlow { 50% { box-shadow: 0 0 0 6px rgba(243,175,41,.08), 0 0 30px rgba(243,175,41,.18); } }

/* trust strip */
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 34px 0 10px; }
.trust-strip span { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; color: var(--navy); box-shadow: 0 8px 20px -16px rgba(10,26,46,.5); transition: .35s var(--ease); }
.trust-strip span:hover { transform: translateY(-3px); border-color: var(--gold); }
.trust-strip .icon { color: var(--red); }

/* section index number */
.section-head { position: relative; }
.section-head[data-num]::before { content: attr(data-num); position: absolute; left: -6px; top: -54px; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 120px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(27,62,99,.10); pointer-events: none; z-index: -1; }
.section--cream .section-head[data-num]::before { -webkit-text-stroke-color: rgba(237,50,55,.12); }

/* bento categories */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 18px; }
.bento__tile { --bg: var(--navy); --fg: #fff; position: relative; overflow: hidden; border-radius: 26px; padding: 26px; color: var(--fg); background: var(--bg); isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.bento__tile::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .09; background: repeating-linear-gradient(115deg, currentColor 0 2px, transparent 2px 34px); transition: opacity .5s; }
.bento__tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bento__tile:hover::before { opacity: .16; }
.bento__tile--big { grid-column: span 2; grid-row: span 2; padding: 36px; }
.bento__tile--wide { grid-column: span 2; }
.bento__tile.t1 { --bg: linear-gradient(140deg, #24507F, var(--navy-950)); }
.bento__tile.t2 { --bg: linear-gradient(140deg, #FF5157, var(--red-600)); }
.bento__tile.t3 { --bg: linear-gradient(140deg, #FFCB5C, var(--gold)); --fg: var(--navy-950); }
.bento__tile.t4 { --bg: var(--cream); --fg: var(--navy); border: 1px solid var(--line); }
.bento__tile.t5 { --bg: linear-gradient(140deg, var(--navy), #0F2540); }
.bento__tile.t6 { --bg: linear-gradient(120deg, #fff, var(--cream)); --fg: var(--navy); border: 1px solid var(--line); }
.bento__tile.t7 { --bg: linear-gradient(120deg, var(--red-600), #8E1B20); }
.bento__img { position: absolute; right: -6%; top: 50%; width: 58%; transform: translateY(-58%) rotate(-6deg); z-index: -1; transition: transform .8s var(--ease); filter: drop-shadow(0 20px 26px rgba(0,0,0,.28)); border-radius: 22px; mix-blend-mode: multiply; }
.bento__tile.t1 .bento__img, .bento__tile.t2 .bento__img, .bento__tile.t5 .bento__img, .bento__tile.t7 .bento__img { mix-blend-mode: normal; border-radius: 50%; }
.bento__tile--big .bento__img { width: 66%; right: -4%; top: 44%; }
.bento__tile--wide .bento__img { width: 34%; right: 2%; }
.bento__tile:hover .bento__img { transform: translateY(-62%) rotate(4deg) scale(1.08); }
.bento__count { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; opacity: .75; }
.bento__tile h3 { font-size: 34px; font-style: italic; margin: 4px 0 0; max-width: 60%; }
.bento__tile--big h3 { font-size: clamp(44px, 5vw, 64px); }
.bento__tile p { margin: 8px 0 0; max-width: 55%; opacity: .8; font-size: 15px; }
.bento__go { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); transition: .5s var(--ease); }
.bento__tile.t3 .bento__go, .bento__tile.t4 .bento__go, .bento__tile.t6 .bento__go { background: rgba(27,62,99,.1); }
.bento__tile:hover .bento__go { background: var(--gold); color: var(--navy-950); transform: rotate(-45deg); }

/* product card v2 */
.p-card { border-radius: 24px; border: 0; background: #fff; box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(10,26,46,.45); }
.p-card__top { position: relative; padding: 10px 10px 0; }
.p-card__media { border-radius: 18px; background: var(--cream); }
.p-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,26,46,.08)); pointer-events: none; }
.p-card__fab { position: absolute; right: 20px; bottom: 10px; z-index: 3; }
.p-card__fab button {
    display: inline-flex; align-items: center; gap: 0; height: 48px; min-width: 48px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer;
    background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .5px; font-size: 15px;
    box-shadow: 0 12px 24px -10px rgba(10,26,46,.7); transition: background .3s, gap .45s var(--ease), padding .45s var(--ease), transform .3s var(--ease);
}
.p-card__fab button span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--ease); }
.p-card:hover .p-card__fab button { background: var(--red); gap: 8px; padding: 0 18px; }
.p-card:hover .p-card__fab button span { max-width: 90px; }
.p-card__fab button:active { transform: scale(.94); }
.p-card__quick { display: none; }
.p-card__body { padding: 14px 18px 20px; }
.p-card__sizes { display: flex; gap: 5px; flex-wrap: wrap; margin: 6px 0 2px; }
.p-card__sizes i { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: var(--cream); color: var(--muted); }
.p-card .price strong { font-size: 26px; }
.p-card:hover { transform: translateY(-10px); }
.p-card__stock { font-size: 12.5px; font-weight: 700; color: var(--gold-600); }

/* kit builder */
.kb { position: relative; overflow: hidden; border-radius: 34px; background: radial-gradient(900px 500px at 20% 30%, #24507F, var(--navy) 40%, var(--navy-950)); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 54px; isolation: isolate; }
.kb::before { content: ''; position: absolute; inset: -40%; z-index: -1; opacity: .06; background: repeating-linear-gradient(115deg, #fff 0 2px, transparent 2px 46px); animation: stripes 30s linear infinite; }
.kb__stage { position: relative; display: grid; place-items: center; min-height: 440px; }
.kb__stage::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(243,175,41,.25), transparent 65%); animation: pulse 4s ease-in-out infinite; }
.kb__svg { position: relative; width: min(420px, 100%); filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); animation: floatY 6s ease-in-out infinite; }
.kb__svg .kb-fill { transition: fill .5s var(--ease); }
.kb__svg text { transition: fill .5s var(--ease); }
.kb__svg.flip { animation: kbFlip .6s var(--ease), floatY 6s ease-in-out .6s infinite; }
@keyframes kbFlip { 0% { transform: rotateY(0) scale(1); } 50% { transform: rotateY(90deg) scale(.95); } 100% { transform: rotateY(0) scale(1); } }
.kb h2 { font-size: clamp(40px, 5vw, 62px); font-style: italic; }
.kb p.lead { color: #c9d4e3; font-size: 17px; margin: 0 0 22px; }
.kb__group { margin-bottom: 18px; }
.kb__group > b { display: block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 9px; }
.swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.swatches button { width: 36px; height: 36px; border-radius: 50%; border: 3px solid rgba(255,255,255,.18); background: var(--c); cursor: pointer; transition: .3s var(--ease); position: relative; }
.swatches button:hover { transform: scale(1.12); }
.swatches button.on { border-color: var(--gold); transform: scale(1.12); box-shadow: 0 0 0 4px rgba(243,175,41,.25); }
.kb__inputs { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 12px; }
.kb__inputs input { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #fff; outline: none; font-weight: 700; text-transform: uppercase; transition: .25s; }
.kb__inputs input:focus { border-color: var(--gold); background: rgba(255,255,255,.12); }
.kb__inputs label { font-size: 12.5px; color: #aab8cb; display: block; margin-bottom: 6px; }
.kb__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.kb__price small { display: block; color: #aab8cb; font-size: 13px; }
.kb__price strong { font-family: var(--display); font-size: 36px; color: var(--gold); line-height: 1; }

@media (max-width: 1100px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento__tile--big { grid-column: span 2; grid-row: span 1; }
    .bento__tile--big .bento__img { width: 46%; }
}
@media (max-width: 960px) {
    .kb { grid-template-columns: 1fr; padding: 34px 24px; }
    .kb__stage { min-height: 320px; }
}
@media (max-width: 640px) {
    .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; gap: 12px; }
    .bento__tile { padding: 18px; border-radius: 20px; }
    .bento__tile--big, .bento__tile--wide { grid-column: span 2; }
    .bento__tile h3 { font-size: 24px; max-width: 70%; }
    .bento__tile--big h3 { font-size: 36px; }
    .bento__tile p { display: none; }
    .bento__img { width: 62%; right: -14%; }
    .bento__go { width: 38px; height: 38px; top: 14px; right: 14px; }
    .p-card__fab { right: 16px; bottom: 6px; }
    .p-card__fab button { height: 40px; min-width: 40px; padding: 0 11px; }
    .p-card__sizes { display: none; }
    .kb__inputs { grid-template-columns: 1fr 1fr; }
    .kb__inputs > div:first-child { grid-column: span 2; }
    .section-head[data-num]::before { font-size: 80px; top: -36px; }
    .trust-strip span { font-size: 13px; padding: 8px 13px; }
}
.icon-btn .count[hidden] { display: none; }
.section-head { isolation: isolate; }
.bento__go { background: rgba(10,26,46,.38); color: #fff; }
.kb__svg { width: min(480px, 100%); }
