/* AcquaticMC Store — light theme, blu elettrico / bianco / grigio */

:root {
  --bg: #f1f5f9;
  --panel: #ffffff;
  --panel-2: #f8fafc;
  --deep: #ffffff;
  --navy: #0f2138;
  --navy-2: #16304f;
  --ink: #0f172a;
  --white: #0f172a;          /* testo primario */
  --grey: #475569;           /* testo corrente */
  --grey-2: #94a3b8;         /* testo attenuato */
  --line: #cbd5e1;
  --line-soft: #e2e8f0;
  --blue: #0f74e6;
  --blue-hot: #3b9dff;
  --blue-dark: #0b57ac;
  --blue-soft: #e8f2fe;
  --ok: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 4px 14px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, .14);
  --radius: 12px;
  --display: 'Lexend', system-ui, sans-serif;
  --body: 'Noto Sans', system-ui, sans-serif;
  --cond: 'Lexend', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--grey);
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.ico { flex: none; vertical-align: -.18em; }

.wrap { width: min(1220px, 92vw); margin-inline: auto; }
main { min-height: 55vh; padding-bottom: 72px; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; }
h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; }
h3 { font-size: 19px; }

.kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: 1.6px; font-size: 12px; font-weight: 600; color: var(--blue); }
.lead { color: var(--grey); font-size: 16px; line-height: 1.7; max-width: 64ch; }

/* ---------- topbar ---------- */

.topbar { background: var(--navy); color: #cbd5e1; font-size: 13.5px; }
.topbar-in { display: flex; align-items: center; gap: 20px; min-height: 38px; flex-wrap: wrap; }
.tb-item { display: inline-flex; align-items: center; gap: 8px; }
.tb-partner { margin-left: auto; color: #cbd5e1; transition: color .2s; }
.tb-partner b { color: #fff; }
.tb-partner:hover { color: #fff; }
.tb-ip {
  display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .08); border: 0;
  color: #e2e8f0; font-family: var(--display); font-size: 13px; letter-spacing: .4px; padding: 4px 11px;
  border-radius: 7px; transition: background .18s;
}
.tb-ip:hover { background: rgba(255, 255, 255, .18); }

.dot { width: 8px; height: 8px; border-radius: 50%; background: #64748b; }
.dot.on { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); animation: pulse 2.4s infinite; }
.dot.off { background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .2); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); } 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }

/* ---------- header ---------- */

.head { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 rgba(15, 23, 42, .07), 0 6px 20px rgba(15, 23, 42, .06); }
.head-in { display: flex; align-items: center; gap: 22px; height: 74px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 46px; height: 46px; object-fit: contain; transition: transform .3s cubic-bezier(.3, 1.3, .5, 1); }
.brand:hover img { transform: scale(1.06) rotate(-3deg); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-family: var(--display); font-size: 18px; color: var(--ink); letter-spacing: -.02em; }
.brand-txt i { font-style: normal; font-size: 11.5px; color: var(--grey-2); text-transform: uppercase; letter-spacing: 1.2px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; font-family: var(--display); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.nav > a { padding: 10px 13px; border-radius: 8px; color: #334155; transition: .16s; position: relative; }
.nav > a:hover { color: var(--blue); background: var(--blue-soft); }
.nav > a.is-on { color: var(--blue); }
.nav > a.is-on::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2.5px; border-radius: 2px; background: var(--blue); }
.nav-dc { display: inline-flex; align-items: center; gap: 7px; }

.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; padding: 11px 18px; border-radius: 9px;
  background: var(--blue); color: #fff; font-weight: 700; box-shadow: var(--shadow-sm); transition: .18s;
}
.cart-btn:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.cart-n { background: rgba(255, 255, 255, .22); border-radius: 20px; padding: 1px 8px; font-size: 12.5px; }

.burger { display: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; margin-left: auto; }
.burger span { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; }
.burger span + span { margin-top: 4px; }

/* ---------- avviso ---------- */

.notice { background: #fff7ed; border-bottom: 1px solid #fed7aa; color: #9a3412; }
.notice-in { display: flex; align-items: center; gap: 11px; padding: 11px 0; font-size: 14px; }
.notice p { margin: 0; }
.notice .ico { flex: none; color: #ea580c; }

/* ---------- toast ---------- */

.toast {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-lg); font-size: 14.5px;
  font-weight: 600; border-left: 4px solid var(--ok); color: var(--ink);
  animation: toastIn .3s cubic-bezier(.2, 1.2, .4, 1) both, toastOut .4s ease 5s both;
}
.toast-error { border-left-color: var(--bad); }
.toast .ico { color: var(--ok); }
.toast-error .ico { color: var(--bad); }
@keyframes toastIn { from { transform: translateY(18px); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(10px); opacity: 0; visibility: hidden; } }

/* ---------- bottoni ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-family: var(--display); font-weight: 600;
  font-size: 14.5px; box-shadow: var(--shadow-sm); transition: transform .16s, box-shadow .16s, background .18s, border-color .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--grey-2); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-ghost { background: transparent; box-shadow: none; }
.btn-ghost:hover { background: #fff; }
.btn-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }
.btn-sm { padding: 9px 15px; font-size: 13.5px; }
.btn[disabled], .btn.is-off { opacity: .55; pointer-events: none; }

/* ---------- hero ---------- */

.hero {
  background:
    linear-gradient(160deg, rgba(15, 33, 56, .78) 0%, rgba(22, 48, 79, .66) 55%, rgba(18, 57, 95, .6) 100%),
    url("/img/acquatic-background.png") center / cover no-repeat;
  color: #fff; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 340px at 82% 18%, rgba(59, 157, 255, .28), transparent 70%),
    radial-gradient(500px 300px at 8% 92%, rgba(15, 116, 230, .22), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: auto 0 -1px 0; height: 60px;
  background: linear-gradient(transparent, rgba(241, 245, 249, .16));
}
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 68px 0 74px; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 50px); margin: 14px 0 18px; }
.hero h1 em { font-style: normal; color: var(--blue-hot); }
.hero .kicker { color: #7dc0ff; }
.hero .lead { color: #c3d4e6; }
.hero-actions { display: flex; gap: 13px; margin-top: 30px; flex-wrap: wrap; }
.hero-art { display: grid; place-items: center; }
.hero-art img { width: 84%; filter: drop-shadow(0 24px 44px rgba(0, 0, 0, .45)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.stats { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.stat b { display: block; font-family: var(--display); font-size: 27px; color: #fff; line-height: 1.1; }
.stat span { font-size: 12.5px; color: #93aec9; text-transform: uppercase; letter-spacing: 1.3px; }

/* ---------- sezioni ---------- */

.sec { padding: 54px 0 0; }
.sec-head { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head .line { flex: 1; height: 1px; background: var(--line); margin-bottom: 12px; min-width: 30px; }

/* ---------- modalità ---------- */

.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.mode-card {
  position: relative; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s;
}
.mode-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mode-card .cover { height: 150px; background: linear-gradient(135deg, var(--navy), #1d4e7f); position: relative; overflow: hidden; }
.mode-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mode-card:hover .cover img { transform: scale(1.05); }
.mode-card .cover .glyph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: 3px; color: rgba(255, 255, 255, .16); }
.mode-body { padding: 22px 24px 24px; }
.mode-body h3 { font-size: 22px; }
.mode-body p { color: var(--grey); font-size: 14.5px; margin: 8px 0 0; min-height: 46px; }
.mode-meta { display: flex; gap: 18px; font-size: 13px; color: var(--grey-2); margin: 14px 0 18px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .9px; padding: 5px 11px; border-radius: 30px;
}
.tag-open { background: #dcfce7; color: #15803d; }
.tag-soon { background: #e2e8f0; color: #475569; }
.tag-maint { background: #fef3c7; color: #b45309; }
.tag-badge { background: var(--blue); color: #fff; }
.mode-card .tag { position: absolute; top: 14px; right: 14px; z-index: 3; box-shadow: var(--shadow-sm); }

/* ---------- barra categorie (stile store) ---------- */

.cat-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.cat-tab {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 18px; background: #fff; border: 2px solid transparent;
  border-radius: 10px; box-shadow: var(--shadow-sm); font-family: var(--display); font-weight: 700; font-size: 14.5px;
  color: var(--ink); transition: .18s;
}
.cat-tab .ico { color: var(--grey-2); transition: color .18s; }
.cat-tab:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-tab:hover .ico { color: var(--blue); }
.cat-tab.is-on { border-color: var(--blue); color: var(--blue); }
.cat-tab.is-on .ico { color: var(--blue); }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 18px; }
.cat-card {
  display: flex; gap: 15px; align-items: center; padding: 20px; background: #fff; border: 1px solid var(--line-soft);
  border-radius: 13px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); }
.cat-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); border-radius: 11px; }
.cat-card h3 { font-size: 17px; }
.cat-card small { color: var(--grey-2); font-size: 13px; }

/* ---------- prodotti ---------- */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 22px; align-items: start; }

.prod {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-soft);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prod-img { display: block; height: 168px; background: linear-gradient(135deg, var(--navy), #1d4e7f); position: relative; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prod:hover .prod-img img { transform: scale(1.05); }
.prod-img .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.prod-img .ph span { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: 3px; color: rgba(255, 255, 255, .28); }
.prod .tag-badge { position: absolute; top: 13px; left: 13px; z-index: 3; box-shadow: var(--shadow-sm); }

.prod-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.prod-kicker { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey-2); }
.prod-body h3 { font-size: 21px; margin: 5px 0 0; }
.prod-sub { color: var(--grey); font-size: 14px; margin: 8px 0 0; }

.feats { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.feats li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.8px; color: var(--grey); line-height: 1.45; }
.feats li::before {
  content: ''; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--blue-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f74e6' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}

.prod-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--grey); background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: 7px; padding: 4px 9px; font-family: var(--body); }
.chip .ico { color: var(--grey-2); }

.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.price { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--ink); line-height: 1.1; }
.price small { display: block; font-size: 11.5px; color: var(--grey-2); font-weight: 400; }
.price s { font-size: 15px; color: var(--grey-2); font-weight: 400; }

/* ---------- pagina prodotto ---------- */

.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 38px; align-items: start; margin-top: 28px; }
.gallery { background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery .main { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--navy), #1d4e7f); position: relative; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; animation: fadeIn .35s ease; }
.gallery .empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; color: rgba(255, 255, 255, .55); text-align: center; padding: 20px; }
.gallery .empty span { font-family: var(--display); font-weight: 700; font-size: 22px; color: rgba(255, 255, 255, .8); }
.gallery .empty small { color: rgba(255, 255, 255, .5) !important; }
.thumbs { display: flex; gap: 9px; padding: 12px; background: var(--panel-2); border-top: 1px solid var(--line-soft); overflow-x: auto; }
.thumbs button { width: 84px; height: 56px; flex: none; border: 2px solid var(--line-soft); border-radius: 8px; overflow: hidden; background: #fff; padding: 0; transition: .18s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.is-on, .thumbs button:hover { border-color: var(--blue); }
@keyframes fadeIn { from { opacity: 0; } }

.buy { background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 26px; box-shadow: var(--shadow-sm); }
.buy .price-big { font-family: var(--display); font-weight: 700; font-size: 40px; color: var(--ink); line-height: 1; }
.buy .desc { color: var(--grey); font-size: 15px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.qty button { width: 40px; height: 46px; background: var(--panel-2); border: 0; color: var(--ink); font-size: 18px; transition: .15s; }
.qty button:hover { background: var(--line-soft); }
.qty input { width: 52px; height: 46px; text-align: center; background: #fff; border: 0; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 16px; }
.buy-row { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 180px; }

.info-list { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 12px; }
.info-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--grey); font-size: 14px; line-height: 1.55; }
.info-list .ico { color: var(--blue); margin-top: 2px; }

/* ---------- pannelli ---------- */

.panel { background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; box-shadow: var(--shadow-sm); padding: 26px; }
.panel-soft { background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: 20px; }
.split { display: grid; grid-template-columns: 1.45fr .55fr; gap: 24px; align-items: start; }

table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.tbl th { font-family: var(--display); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.1px; color: var(--grey-2); text-align: left; padding: 0 12px 12px; }
table.tbl td { padding: 14px 12px; border-top: 1px solid var(--line-soft); vertical-align: middle; color: var(--grey); }
table.tbl tr:hover td { background: var(--panel-2); }
table.tbl b { color: var(--ink); }
.tbl-line { display: flex; align-items: center; gap: 12px; }
.tbl-line img, .tbl-thumb { width: 50px; height: 50px; border-radius: 9px; border: 1px solid var(--line-soft); object-fit: cover; background: var(--panel-2); flex: none; display: grid; place-items: center; color: var(--grey-2); }

/* ---------- form ---------- */

.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--display); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--grey); margin-bottom: 7px; }
.field small { display: block; color: var(--grey-2); font-size: 12.5px; margin-top: 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], select, textarea {
  width: 100%; padding: 12px 14px; background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: 9px; font-family: var(--body); font-size: 14.5px; transition: border-color .18s, box-shadow .18s;
}
input::placeholder, textarea::placeholder { color: #b6c2d0; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15, 116, 230, .14); }
textarea { min-height: 108px; resize: vertical; line-height: 1.6; }
input[type=file] { width: 100%; padding: 11px; background: var(--panel-2); border: 1px dashed var(--line); border-radius: 9px; color: var(--grey); font-size: 13.5px; }

.pay-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-opt { position: relative; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt span { display: flex; align-items: center; gap: 11px; padding: 15px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; transition: .18s; font-weight: 600; color: var(--ink); font-family: var(--display); font-size: 14.5px; }
.pay-opt span:hover { border-color: var(--grey-2); }
.pay-opt input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark); }
.pay-opt .ico { color: var(--blue); }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--grey); line-height: 1.55; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); margin-top: 2px; flex: none; }

.errors { background: #fef2f2; border: 1px solid #fecaca; border-radius: 11px; padding: 15px 18px; margin-bottom: 22px; }
.errors ul { margin: 0; padding-left: 20px; color: #b91c1c; font-size: 14px; line-height: 1.7; }

/* ---------- ricevuta ---------- */

.receipt { background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 30px 32px 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.receipt::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--blue), var(--blue-hot)); }
.receipt h2 { font-size: 22px; }
.receipt .r-code { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: 1.5px; color: var(--blue); margin-top: 4px; }
.receipt table { width: 100%; border-collapse: collapse; margin: 20px 0 6px; font-size: 14.5px; }
.receipt th { text-align: left; text-transform: uppercase; letter-spacing: 1.1px; font-size: 11.5px; color: var(--grey-2); font-family: var(--display); font-weight: 600; padding-bottom: 9px; border-bottom: 1px solid var(--line-soft); }
.receipt td { padding: 11px 0; border-bottom: 1px solid var(--line-soft); color: var(--grey); }
.receipt td:first-child { color: var(--ink); font-weight: 600; }
.receipt .r-total { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--ink); }
.receipt .r-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 14px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line); font-size: 14.5px; color: var(--ink); }
.receipt .r-meta b { display: block; text-transform: uppercase; font-size: 11px; letter-spacing: 1.2px; color: var(--grey-2); font-family: var(--display); font-weight: 600; margin-bottom: 3px; }
.receipt .stamp {
  position: absolute; right: 26px; top: 26px; border: 2px solid currentColor; color: var(--warn); font-family: var(--display);
  font-weight: 700; font-size: 12px; letter-spacing: 1.6px; padding: 5px 12px; border-radius: 6px; transform: rotate(-4deg);
}

.ticket-msg {
  background: var(--navy); border-radius: 10px; padding: 18px; font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px; line-height: 1.7; color: #d7e6f5; white-space: pre-wrap; word-break: break-word; max-height: 330px; overflow: auto; margin: 0;
}

.steps { counter-reset: s; display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--grey); font-size: 14.5px; line-height: 1.6; }
.steps li::before {
  counter-increment: s; content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue); font-family: var(--display); font-weight: 700; font-size: 13.5px;
  display: grid; place-items: center;
}
.steps li b { color: var(--ink); }

/* ---------- vari ---------- */

.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--grey-2); padding-top: 24px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--blue); }
.crumbs b { color: var(--grey); font-weight: 600; }

.empty-state { text-align: center; padding: 64px 20px; }
.empty-state .ico { color: var(--line); }
.empty-state h2 { margin: 14px 0 10px; }
.empty-state p { color: var(--grey); margin-bottom: 22px; }

.status-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); text-transform: uppercase; letter-spacing: .9px; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 30px; }
.st-pending { background: #fef3c7; color: #b45309; }
.st-paid { background: var(--blue-soft); color: var(--blue-dark); }
.st-delivered { background: #dcfce7; color: #15803d; }
.st-cancelled { background: #e2e8f0; color: #475569; }
.st-refunded { background: #fee2e2; color: #b91c1c; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .9, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art img, .signature .heart, .dot.on { animation: none; }
  * { scroll-behavior: auto; }
}

.pay-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.pay { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line-soft); border-radius: 8px; padding: 8px 13px; font-size: 14px; color: var(--ink); font-weight: 600; }
.pay .ico { color: var(--blue); }

/* ---------- footer ---------- */

.foot { background: var(--navy); color: #a7bed4; margin-top: 70px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding: 50px 0 40px; }
.foot-col h4 { font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: 1.4px; color: #fff; margin-bottom: 14px; }
.foot-col a { display: block; color: #a7bed4; font-size: 14px; padding: 5px 0; transition: .16s; }
.foot-col a:hover { color: #fff; }
.foot-brand img { width: 76px; margin-bottom: 12px; }
.foot-brand p { color: #8ba7c1; font-size: 13.5px; line-height: 1.65; max-width: 36ch; margin: 0; }
.foot-small { color: #8ba7c1; font-size: 12.5px; line-height: 1.6; margin-top: 12px; }
.foot .pay { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); color: #e2e8f0; }
.foot .pay .ico { color: #7dc0ff; }
.ip-box { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; padding: 9px 14px; color: #fff; font-family: var(--display); font-size: 14px; transition: .18s; }
.ip-box span { color: #7dc0ff; font-size: 11.5px; letter-spacing: 1.3px; text-transform: uppercase; }
.ip-box:hover { background: rgba(255, 255, 255, .16); }

.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; }
.foot-bottom-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8ba7c1; }
.signature a { color: #fff; font-weight: 600; }
.signature .heart { color: #ff5a5a; font-style: normal; display: inline-block; animation: beat 1.8s infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.2); } 28% { transform: scale(1); } }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-in, .pdp, .split { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 260px; margin-inline: auto; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 112px 4vw auto; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
    background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); display: none; z-index: 70;
  }
  .nav.open { display: flex; animation: toastIn .22s ease both; }
  .cart-btn { margin: 8px 0 0; }
  .topbar-in { padding: 8px 0; gap: 12px; font-size: 12.5px; }
  .tb-partner { margin-left: 0; }
  .foot-in { grid-template-columns: 1fr; }
  .hero-in { padding: 46px 0 52px; }
  .pay-opts { grid-template-columns: 1fr; }
  .receipt { padding: 26px 20px; }
  .receipt .stamp { position: static; display: inline-block; margin-bottom: 12px; transform: none; }
}
