/* Acquatic Store — layout delle pagine interne (supporto, modalità, ordini, area) */

/* ---------- testata di pagina ---------- */

.ph {
  position: relative; overflow: hidden; color: #fff;
  background:
    linear-gradient(160deg, rgba(9, 22, 40, .93) 0%, rgba(16, 40, 68, .84) 58%, rgba(15, 62, 108, .76) 100%),
    var(--ph-img, url("/img/acquatic-background.webp")) center / cover no-repeat;
}
.ph::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 320px at 85% 10%, rgba(59, 157, 255, .26), transparent 70%),
    radial-gradient(520px 300px at 5% 100%, rgba(15, 116, 230, .2), transparent 70%);
}
.ph::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 120px; pointer-events: none;
  background: linear-gradient(transparent, rgba(6, 12, 23, .35));
}
.ph-in { position: relative; z-index: 2; padding: 26px 0 112px; }
.ph .crumbs { padding-top: 0; color: #8fb0d0; }
.ph .crumbs a:hover { color: #fff; }
.ph .crumbs b { color: #fff; }
.ph .kicker { color: #7dc0ff; display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; }
.ph h1 { color: #fff; font-size: clamp(32px, 4.4vw, 50px); margin: 12px 0 14px; max-width: 18ch; }
.ph h1 em { font-style: normal; color: var(--blue-hot); }
.ph .lead { color: #c3d4e6; margin: 0; }
.ph-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.ph-side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.ph .stats { margin-top: 26px; }
.ph .tag { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.ph-overlap { position: relative; z-index: 3; margin-top: -72px; }

.glass-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 30px; font-size: 13px; color: #dbe8f5;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
}
.glass-pill .ico { color: #7dc0ff; }

.sec-title { display: flex; align-items: flex-end; gap: 20px; margin: 64px 0 26px; flex-wrap: wrap; }
.sec-title h2 { margin-top: 6px; }
.sec-title .line { flex: 1; height: 1px; background: var(--line); margin-bottom: 12px; min-width: 30px; }

.ico-tile {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 13px;
  background: var(--blue-soft); color: var(--blue);
}

/* ---------- supporto: azioni rapide ---------- */

.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quick-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.quick-card h3 { font-size: 18px; }
.quick-card p { margin: 0; font-size: 14px; color: var(--grey); line-height: 1.6; }
.quick-go { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--blue); }
.quick-go .ico { transition: transform .2s; }
.quick-card:hover .quick-go .ico { transform: translateX(4px); }
.quick-card.is-primary { background: linear-gradient(140deg, #1580f5, #0b57ac); border-color: transparent; color: #fff; }
.quick-card.is-primary h3, .quick-card.is-primary .quick-go { color: #fff; }
.quick-card.is-primary p { color: #d6e8ff; }
.quick-card.is-primary .ico-tile { background: rgba(255, 255, 255, .16); color: #fff; }
.quick-card.is-primary::after {
  content: ''; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%;
  border: 30px solid rgba(255, 255, 255, .06); pointer-events: none;
}

/* ---------- supporto: percorso d'acquisto ---------- */

.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: j; }
.j-step {
  position: relative; padding: 22px 20px 22px; border-radius: 15px; background: var(--panel); border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.j-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.j-step::before {
  counter-increment: j; content: '0' counter(j); position: absolute; right: 18px; top: 16px;
  font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--line-soft); letter-spacing: -.04em;
}
.j-step:not(:last-child)::after {
  content: ''; position: absolute; top: 46px; right: -17px; width: 18px; height: 2px; background: var(--line); z-index: 1;
}
.j-step .ico-tile { margin-bottom: 16px; }
.j-step h3 { font-size: 16.5px; margin-bottom: 6px; }
.j-step p { margin: 0; font-size: 13.8px; color: var(--grey); line-height: 1.6; }
.j-step p b { color: var(--ink); }

/* ---------- supporto: metodi di pagamento ---------- */

.paym { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.paym-card { display: flex; gap: 18px; padding: 24px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.paym-card h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 18px; }
.paym-card p { margin: 8px 0 0; color: var(--grey); font-size: 14px; line-height: 1.65; }
.paym-card .tag { font-size: 10.5px; padding: 4px 9px; }

/* ---------- supporto: FAQ ---------- */

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.faq-aside {
  position: sticky; top: 100px; padding: 28px; border-radius: 16px; color: #fff; overflow: hidden;
  background: linear-gradient(150deg, #10263f, #0b1a2e);
}
.faq-aside::after { content: ''; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .04); }
.faq-aside .kicker { color: #7dc0ff; }
.faq-aside h3 { color: #fff; font-size: 24px; margin: 10px 0 10px; }
.faq-aside p { color: #a9bdd4; font-size: 14px; line-height: 1.7; margin: 0 0 22px; }
.faq-aside .btn { position: relative; z-index: 1; }

.faq { display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: var(--panel); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--blue); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  font-family: var(--display); font-weight: 600; font-size: 15.5px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico-tile { width: 38px; height: 38px; border-radius: 10px; }
.faq-plus { margin-left: auto; width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); color: var(--grey); transition: transform .25s, background .2s, color .2s; }
.faq details[open] .faq-plus { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-body { padding: 0 20px 20px 72px; color: var(--grey); font-size: 14.5px; line-height: 1.7; animation: fadeIn .3s ease; }
.faq-body b { color: var(--ink); }
.faq-body code { font-size: 13px; background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: 5px; padding: 2px 6px; color: var(--ink); }

/* ---------- banda finale ---------- */

.cta-band {
  margin-top: 64px; position: relative; overflow: hidden; border-radius: 20px; padding: 36px 40px; color: #fff;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(10, 30, 54, .94), rgba(15, 92, 180, .86)), url("/img/acquatic-background.webp") center / cover;
  box-shadow: var(--shadow-lg);
}
.cta-band .ico-tile { width: 62px; height: 62px; border-radius: 17px; background: rgba(255, 255, 255, .12); color: #fff; }
.cta-band h3 { color: #fff; font-size: 23px; }
.cta-band p { margin: 6px 0 0; color: #c9dcf0; font-size: 14.5px; }
.cta-band .btn { margin-left: auto; }
.cta-band .btn:not(.btn-primary) { background: #fff !important; color: #0b57ac !important; border-color: #fff !important; }

/* ---------- modalità: categorie ---------- */

.cat2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.cat2 {
  position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: 16px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.cat2::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-hot));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.cat2:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.cat2:hover::before { transform: scaleX(1); }
.cat2-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cat2 .ico-tile { width: 54px; height: 54px; border-radius: 15px; transition: background .2s, color .2s; }
.cat2:hover .ico-tile { background: var(--blue); color: #fff; }
.cat2-count { font-family: var(--display); font-size: 12px; font-weight: 600; color: var(--grey); background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: 30px; padding: 4px 11px; }
.cat2 h3 { font-size: 20px; margin: 20px 0 4px; }
.cat2 small { color: var(--grey-2); font-size: 13px; }
.cat2-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.cat2-price { font-family: var(--display); font-size: 13px; color: var(--grey); }
.cat2-price b { display: block; font-size: 21px; color: var(--ink); line-height: 1.15; }
.cat2-arrow { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); transition: background .2s, color .2s, transform .2s; }
.cat2:hover .cat2-arrow { background: var(--blue); color: #fff; transform: translateX(3px); }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.perk { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-soft); }
.perk b { display: block; font-family: var(--display); color: var(--ink); font-size: 15px; margin-bottom: 3px; }
.perk span { color: var(--grey); font-size: 13.5px; line-height: 1.55; }

/* ---------- il mio ordine ---------- */

.lookup { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: stretch; max-width: 1040px; margin-inline: auto; }
.lookup-main { padding: 32px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line-soft); box-shadow: var(--shadow-lg); }
.lookup-main h2 { font-size: 24px; margin: 6px 0 8px; }
.lookup-main > p { color: var(--grey); margin: 0 0 24px; font-size: 14.5px; line-height: 1.65; }
.lookup-main > p b { color: var(--ink); }
.code-field { display: flex; gap: 12px; flex-wrap: wrap; }
.code-input { position: relative; flex: 1; min-width: 220px; }
.code-input .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--grey-2); pointer-events: none; }
.code-input input[type=text] {
  height: 56px; padding-left: 48px; font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
}
.code-field .btn { height: 56px; padding-inline: 26px; }
.lookup-hint { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 13px; color: var(--grey-2); }
.lookup-alt {
  display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 16px 18px; border-radius: 13px;
  background: var(--blue-soft); border: 1px solid rgba(47, 140, 255, .18); transition: border-color .2s;
}
.lookup-alt:hover { border-color: var(--blue); }
.lookup-alt b { display: block; color: var(--ink); font-family: var(--display); font-size: 14.5px; }
.lookup-alt span { color: var(--grey); font-size: 13px; }
.lookup-alt > .ico:last-child { margin-left: auto; color: var(--blue); }
.lookup-alt .ico-tile { width: 42px; height: 42px; background: var(--panel); }

.lookup-side { padding: 30px; border-radius: 18px; color: #fff; background: linear-gradient(150deg, #10263f, #0b1a2e); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.lookup-side .kicker { color: #7dc0ff; }
.lookup-side h3 { color: #fff; font-size: 19px; margin: 8px 0 18px; }
.mini-receipt {
  position: relative; background: #fff; color: #0f172a; border-radius: 12px 12px 4px 4px; padding: 18px 18px 22px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .35); transform: rotate(-2deg);
}
.mini-receipt::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 12px 12px 0 0; background: linear-gradient(90deg, #0f74e6, #3b9dff); }
.mini-receipt::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 8px;
  background: radial-gradient(circle at 6px -1px, transparent 6px, #fff 6.5px) 0 0 / 12px 8px repeat-x;
}
.mr-label { font-family: var(--display); font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #94a3b8; }
.mr-code { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 1.5px; color: #0f74e6; margin: 2px 0 12px; position: relative; display: inline-block; }
.mr-code::after { content: ''; position: absolute; inset: -4px -8px; border: 2px dashed #f59e0b; border-radius: 8px; animation: pulseRing 2.2s ease-in-out infinite; }
@keyframes pulseRing { 50% { opacity: .35; } }
.mr-line { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px dashed #e2e8f0; }
.mr-line i { display: block; height: 8px; border-radius: 4px; background: #e2e8f0; }
.mr-total { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 9px; border-top: 2px solid #0f172a; font-family: var(--display); font-weight: 700; font-size: 13px; }
.lookup-side ul { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.lookup-side li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.55; color: #a9bdd4; }
.lookup-side li .ico { color: #7dc0ff; margin-top: 2px; }
.lookup-side li a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- i miei acquisti ---------- */

.ph .purchase-progress { margin: 22px 0 0; color: #8fb0d0; }
.ph .purchase-progress li > span { background: rgba(255, 255, 255, .1); color: #dbe8f5; }
.ph .purchase-progress .is-current { color: #fff; }
.ph .purchase-progress .is-current > span { background: var(--blue); color: #fff; box-shadow: 0 0 0 4px rgba(59, 157, 255, .25); }
.ph .purchase-progress li:not(:last-child):after { background: rgba(255, 255, 255, .2); }
.ph-back { display: flex; width: max-content; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #8fb0d0; transition: color .18s; }
.ph-back:hover { color: #fff; }
.purchase-page.ph-overlap { padding-top: 0; }

.me { display: flex; align-items: center; gap: 20px; margin-top: 30px; }
.me-avatar { width: 84px; height: 84px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 255, 255, .18); image-rendering: pixelated; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.me h1 { margin: 4px 0 0; }
.me .kicker { margin: 0; }
.ph .btn-out { background: rgba(255, 255, 255, .08) !important; border: 1px solid rgba(255, 255, 255, .2) !important; color: #fff !important; box-shadow: none; }
.ph .btn-out:hover { background: rgba(255, 255, 255, .16) !important; }

.orders { display: grid; gap: 16px; }
.ord { border-radius: 16px; background: var(--panel); border: 1px solid var(--line-soft); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.ord:hover { box-shadow: var(--shadow-lg); border-color: var(--line); }
.ord-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); background: var(--panel-2); }
.ord-head .ico-tile { width: 42px; height: 42px; }
.ord-code { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: .6px; }
.ord-date { display: block; font-size: 12.5px; color: var(--grey-2); }
.ord-head .status-pill { margin-left: auto; }
.ord-body { display: grid; grid-template-columns: 1fr 260px; gap: 26px; padding: 20px 22px 22px; }
.ord-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ord-items li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line-soft); font-size: 14.5px; color: var(--grey); }
.ord-items li:last-child { border-bottom: 0; }
.ord-items b { color: var(--ink); font-weight: 600; }
.ord-qty { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; margin-right: 8px; border-radius: 6px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 700; }
.ord-side { display: flex; flex-direction: column; gap: 14px; padding-left: 26px; border-left: 1px solid var(--line-soft); }
.ord-total small { display: block; text-transform: uppercase; letter-spacing: 1.2px; font-size: 11px; color: var(--grey-2); font-family: var(--display); }
.ord-total b { font-family: var(--display); font-size: 28px; color: var(--ink); line-height: 1.1; }
.deliv small { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--grey); margin-bottom: 6px; }
.deliv-bar { height: 8px; border-radius: 8px; background: var(--line-soft); overflow: hidden; }
.deliv-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--blue-hot)); }
.deliv-bar.done i { background: linear-gradient(90deg, #16a34a, #22c55e); }
.deliv p { margin: 8px 0 0; font-size: 12.5px; color: var(--grey-2); line-height: 1.5; }
.ord-side .btn { margin-top: auto; }

.empty-card { text-align: center; padding: 54px 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line-soft); box-shadow: var(--shadow); }
.empty-card .ico-tile { width: 70px; height: 70px; border-radius: 20px; margin: 0 auto 18px; }
.empty-card h2 { font-size: 24px; }
.empty-card p { color: var(--grey); margin: 10px auto 24px; max-width: 46ch; }

/* ---------- loghi pagamento ---------- */

.pay-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pay-logos img { width: 46px; height: 29px; border-radius: 5px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .12); }
.pay-logos-lg img { width: 58px; height: 37px; border-radius: 6px; }
.foot .pay-logos { margin-top: 0; }
.foot .pay-logos img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }

/* ---------- home: dall'ordine alla consegna ---------- */

.journey-4 { grid-template-columns: repeat(4, 1fr); }
.pay-strip {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 22px; padding: 22px 26px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
}
.pay-strip-head { display: flex; align-items: center; gap: 14px; }
.pay-strip-head h3 { font-size: 18px; }
.pay-strip-head p { margin: 2px 0 0; color: var(--grey); font-size: 13.5px; }
.pay-strip .pay-logos { margin: 0 0 0 auto; }
.trust { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust li { display: flex; gap: 13px; align-items: flex-start; padding: 18px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-soft); color: var(--grey); font-size: 13.8px; line-height: 1.6; }
.trust .ico-tile { width: 38px; height: 38px; border-radius: 10px; }

/* ---------- logo ZeroRoleplay ---------- */

.zr { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.zr img { width: 1.15em; height: 1.15em; border-radius: 4px; flex: none; image-rendering: pixelated; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.lookup-side li b { color: #fff; }

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

@media (max-width: 1100px) {
  .journey { grid-template-columns: repeat(3, 1fr); }
  .journey-4 { grid-template-columns: repeat(2, 1fr); }
  .j-step:nth-child(3)::after, .journey-4 .j-step:nth-child(2)::after { display: none; }
  .journey-4 .j-step:nth-child(3)::after { display: block; }
}
@media (max-width: 980px) {
  .quick, .perks, .trust { grid-template-columns: 1fr; }
  .pay-strip .pay-logos { margin-left: 0; }
  .faq-wrap, .lookup, .paym { grid-template-columns: 1fr; }
  .faq-aside { position: relative; top: 0; }
  .ord-body { grid-template-columns: 1fr; }
  .ord-side { padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid var(--line-soft); }
  .ph-side { align-items: flex-start; }
}
@media (max-width: 760px) {
  .ph-in { padding: 22px 0 96px; }
  .journey, .journey-4 { grid-template-columns: 1fr; }
  .j-step::after, .journey-4 .j-step:nth-child(3)::after { display: none; }
  .cta-band { padding: 28px 24px; }
  .cta-band .btn { margin-left: 0; width: 100%; }
  .faq-body { padding-left: 20px; }
  .lookup-main, .lookup-side { padding: 24px; }
  .me-avatar { width: 64px; height: 64px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mr-code::after { animation: none; }
}

/* ---------- item 3D (stile store ZeroRoleplay) ---------- */

.px { display: block; flex: none; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(15, 23, 42, .12)); transition: transform .3s cubic-bezier(.25, .8, .25, 1); }
.cat-tab .px { display: inline-block; width: 30px; height: 30px; margin: -6px 0; filter: none; }

.ico-tile,
.purchase-page .purchase-icon-tile,
.purchase-page .link-start-mark,
.purchase-page .link-guide-icon { background: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; }
.ico-tile .px { width: 100%; height: 100%; }
.ico-tile { width: 52px; height: 52px; }
.faq summary .ico-tile, .trust .ico-tile, .ord-head .ico-tile, .lookup-alt .ico-tile { width: 40px; height: 40px; }
.cat2 .ico-tile { width: 72px; height: 72px; margin: -6px 0 0 -6px; }
.empty-card .ico-tile, .cta-band .ico-tile { width: 72px; height: 72px; }
.purchase-page .link-guide-icon { width: 64px; height: 64px; }
.purchase-page .link-start-mark { width: 84px; height: 84px; }
.purchase-page .purchase-icon-tile { width: 46px; height: 46px; }
.purchase-page .link-guide-icon .px, .purchase-page .link-start-mark .px, .purchase-page .purchase-icon-tile .px { width: 100%; height: 100%; }
.quick-card.is-primary .px { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }

.cat2:hover .px, .quick-card:hover .px, .j-step:hover .px, .lookup-alt:hover .px, .cat-tab:hover .px, .perk:hover .px { transform: translateY(-3px) rotate(-4deg) scale(1.06); }

/* ---------- carrello ---------- */

.cart-empty { padding: 56px 24px 60px; }
.cart-empty-art { display: block; width: 120px; height: 120px; margin: 0 auto 6px; animation: cartRoll 3.6s ease-in-out infinite; }
.cart-empty-art .px { width: 100%; height: 100%; }
@keyframes cartRoll {
  0%, 100% { transform: translateX(-10px) rotate(-2deg); }
  50% { transform: translateX(10px) rotate(2deg); }
}
.cart-row { animation: cartRowIn .5s cubic-bezier(.2, .9, .3, 1) both; }
.cart-row:nth-child(1) { animation-delay: .15s; } .cart-row:nth-child(2) { animation-delay: .22s; }
.cart-row:nth-child(3) { animation-delay: .29s; } .cart-row:nth-child(4) { animation-delay: .36s; }
.cart-row:nth-child(5) { animation-delay: .43s; } .cart-row:nth-child(n+6) { animation-delay: .5s; }
@keyframes cartRowIn { from { opacity: 0; transform: translateX(-14px); } }
@media (prefers-reduced-motion: reduce) { .cart-empty-art, .cart-row { animation: none; } }

/* ---------- card categoria con copertina ---------- */

.cat2.has-cover { padding-top: 0; }
.cat2-cover { position: relative; display: block; margin: 0 -22px; aspect-ratio: 960 / 420; overflow: hidden; background: #0c1a2e; }
.cat2-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .9, .3, 1), filter .4s; }
.cat2-cover::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 70%, color-mix(in srgb, var(--panel) 60%, transparent) 88%, var(--panel) 100%);
}
.cat2.has-cover:hover .cat2-cover img { transform: scale(1.06); filter: brightness(1.08) saturate(1.1); }
.cat2.has-cover .cat2-count { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(8, 18, 34, .62); color: #fff; border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.cat2.has-cover .cat2-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.cat2.has-cover small { display: block; margin-top: 4px; font-size: 14px; color: var(--grey); }
.cat2.has-cover::before { z-index: 3; }

/* ---------- pagina categoria ---------- */

.cat-hero { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.cat-hero-ico { width: 112px; height: 112px; flex: none; filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .45)); animation: float 7s ease-in-out infinite; }
.cat-hero h1 { margin: 8px 0 10px; }
.cat-tab { gap: 10px; padding: 9px 16px 9px 10px; }
.cat-tab-ico { width: 34px; height: 34px; flex: none; transition: transform .3s cubic-bezier(.25, .8, .25, 1); }
.cat-tab:hover .cat-tab-ico, .cat-tab.is-on .cat-tab-ico { transform: rotate(-6deg) scale(1.08); }
@media (max-width: 760px) {
  .cat-hero { gap: 16px; }
  .cat-hero-ico { width: 76px; height: 76px; }
}

/* ---------- novità ---------- */

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.news-card {
  display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--panel);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s, border-color .22s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.news-card-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0c1a2e; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .9, .3, 1); }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 18px 18px; }
.news-card-body b { font-family: var(--display); font-size: 18px; color: var(--ink); line-height: 1.3; }
.news-card-body small { color: var(--grey-2); font-size: 13px; }

.news-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 11px; border-radius: 30px; font-family: var(--display);
  font-weight: 700; font-size: 13px; color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.news-tag-inline { position: static; display: inline-block; font-size: 11.5px; padding: 3px 10px; box-shadow: none; }
.news-tag.tag-blue { background: #2f9bf0; } .news-tag.tag-green { background: #5fbf3f; } .news-tag.tag-orange { background: #f07a2a; }
.news-tag.tag-purple { background: #8b5cf6; } .news-tag.tag-amber { background: #e8a317; } .news-tag.tag-red { background: #e5484d; }

.news-wrap { padding-top: 34px; }
.news-article { border-radius: 20px; overflow: hidden; background: var(--panel); border: 1px solid var(--line-soft); box-shadow: var(--shadow); }
.news-hero { position: relative; aspect-ratio: 1600 / 580; overflow: hidden; background: #0c1a2e; }
.news-hero img { width: 100%; height: 100%; object-fit: cover; }
.news-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 20px; background: var(--panel);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' preserveAspectRatio='none'%3E%3Cpath d='M0 10C15 3 45 3 60 10S105 17 120 10V20H0Z'/%3E%3C/svg%3E") 0 100% / 120px 20px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' preserveAspectRatio='none'%3E%3Cpath d='M0 10C15 3 45 3 60 10S105 17 120 10V20H0Z'/%3E%3C/svg%3E") 0 100% / 120px 20px repeat-x;
}
.news-hero .news-tag { top: 18px; left: 18px; font-size: 15px; padding: 5px 13px; }
.news-content { max-width: 860px; margin: 0 auto; padding: 18px 28px 46px; }
.news-back { display: inline-flex; align-items: center; gap: 8px; color: var(--grey); font-size: 14.5px; margin: 6px 0 26px -6px; transition: color .18s; }
.news-back:hover { color: var(--blue); }
.news-title {
  font-size: clamp(32px, 4.6vw, 52px); line-height: 1.1; margin: 0 0 16px;
  background: linear-gradient(100deg, var(--blue) 0%, var(--blue-hot) 45%, #2dd4bf 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.news-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--grey-2); font-size: 14px; }
.news-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.news-author { color: var(--ink); font-weight: 600; font-family: var(--display); }
.news-author img { width: 28px; height: 28px; border-radius: 7px; image-rendering: pixelated; box-shadow: var(--shadow-sm); }
.news-rule { display: block; width: 60px; height: 3px; border-radius: 3px; background: var(--line); margin: 22px 0 26px; }

.news-body { color: var(--grey); font-size: 16.5px; line-height: 1.85; }
.news-body p { margin: 0 0 18px; text-align: justify; }
.news-body strong { color: var(--ink); }
.news-body mark { background: none; color: var(--blue); font-weight: 600; }
.news-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.news-body h2 { font-size: 24px; margin: 34px 0 14px; }
.news-body h3 { font-size: 19px; margin: 26px 0 10px; }
.news-body ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.news-body li { position: relative; padding-left: 22px; }
.news-body li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.news-body hr { border: 0; border-top: 1px solid var(--line-soft); margin: 30px 0; }
.news-body code { font-size: 14px; background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: 5px; padding: 1px 6px; color: var(--ink); }
.news-box {
  margin: 26px 0; padding: 22px 26px 6px; border-radius: 0 14px 14px 0; border: 1px solid var(--line-soft); border-left: 4px solid var(--blue);
  background: linear-gradient(135deg, var(--blue-soft), transparent 70%);
}
.news-box-title {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-family: var(--display); font-weight: 700; font-size: 14px;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue);
}
.news-box-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.news-sign { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--blue); font-style: italic; }
@media (max-width: 760px) {
  .news-content { padding: 10px 18px 34px; }
  .news-body { font-size: 15.5px; }
  .news-body p { text-align: left; }
}

/* ---------- staff ---------- */

.staff-sec { padding-top: 46px; }
.staff-card { background: var(--panel); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.staff-head { position: relative; background: linear-gradient(180deg, #4aa3f0, #3b94e6); padding: 30px 20px 52px; text-align: center; }
.staff-head h1 { margin: 0; color: #fff; font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: .5px; text-transform: uppercase; text-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.staff-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 22px; }
.staff-wave span {
  display: block; height: 100%; background: var(--panel);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='22'%3E%3Cellipse cx='40' cy='10' rx='42' ry='9'/%3E%3Crect y='10' width='80' height='12'/%3E%3C/svg%3E") 0 0 / 80px 22px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='22'%3E%3Cellipse cx='40' cy='10' rx='42' ry='9'/%3E%3Crect y='10' width='80' height='12'/%3E%3C/svg%3E") 0 0 / 80px 22px repeat-x;
}
.staff-body { padding: 24px clamp(16px, 7vw, 150px) 56px; }
.staff-empty { text-align: center; color: var(--grey-2); margin: 30px 0 0; }
.staff-group { margin-top: 30px; }
.staff-rule { display: flex; align-items: center; gap: 10px; }
.staff-rule::before, .staff-rule::after { content: ''; flex: 1; height: 3px; border-radius: 3px; background: var(--role); }
.staff-rule span {
  padding: 4px 16px; border-radius: 999px; background: var(--role); color: #fff; font-family: var(--display);
  font-size: clamp(15px, 1.5vw, 19px); font-weight: 700; letter-spacing: .8px; text-transform: uppercase; white-space: nowrap;
}
.staff-grid { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 12px; }
.staff-member { width: 112px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.staff-av { position: relative; width: 100px; height: 100px; transition: transform .2s cubic-bezier(.25, .8, .25, 1); }
.staff-av::before { content: ''; position: absolute; left: 5px; top: 10px; width: 90px; height: 90px; border-radius: 50%; background: #e5e7eb; }
.staff-av img { position: relative; display: block; width: 100px; height: 100px; object-fit: cover; border-radius: 0 0 50px 50px; }
.staff-member:hover .staff-av { transform: translateY(-4px); }
.staff-member b { max-width: 112px; padding: 6px 0 0; color: var(--role); font-family: var(--display); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

[data-theme="dark"] .staff-av::before { background: #22324c; }

@media (max-width: 760px) {
  .staff-member { width: 90px; }
  .staff-av, .staff-av img { width: 80px; height: 80px; }
  .staff-av::before { left: 4px; top: 8px; width: 72px; height: 72px; }
  .staff-av img { border-radius: 0 0 40px 40px; }
  .staff-member b { max-width: 90px; font-size: 13px; }
}
