:root {
  --paper: #fbf6ec;
  --paper-2: #f3ead8;
  --card: #fffdf8;
  --ink: #26221b;
  --ink-soft: #625a4c;
  --line: #e3d6bf;
  --line-2: #d4c3a5;
  --sky-1: #5fb8f2;
  --sky-2: #a9dcfb;
  --blue: #1a5fd6;
  --blue-ink: #123f8f;
  --red: #c9343b;
  --red-dark: #8f1d23;
  --green: #4e9d33;
  --sun: #ffe07a;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(38, 34, 27, .06), 0 8px 22px -12px rgba(38, 34, 27, .35);
  --shadow-lift: 0 2px 0 rgba(38, 34, 27, .08), 0 18px 34px -16px rgba(38, 34, 27, .45);
  --head: 'Bricolage Grotesque', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
  --hand: 'Caveat', 'Comic Sans MS', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); line-height: 1.6; font-size: 16px;
  background-color: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  /* leve textura de papel */
  background-image:
    radial-gradient(rgba(120, 95, 55, .05) 1px, transparent 1px),
    radial-gradient(rgba(120, 95, 55, .04) 1px, transparent 1px);
  background-size: 22px 22px, 31px 31px;
  background-position: 0 0, 11px 7px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink-soft); }
.pixel { image-rendering: pixelated; }
.hand { font-family: var(--hand); font-weight: 700; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* ---------- note bar ---------- */
.note-bar {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 16px; background: var(--ink); color: var(--paper); font-size: 15px; text-align: center;
}
.note-bar .hand { font-size: 22px; line-height: 1; color: var(--sun); }
.note-ip {
  border: 1.5px dashed rgba(251, 246, 236, .5); background: transparent; color: var(--paper);
  border-radius: 8px; padding: 1px 10px; font-weight: 800;
}
.note-ip:hover { background: rgba(255, 255, 255, .08); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 236, .94); backdrop-filter: blur(8px); border-bottom: 1.5px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav-logo img { height: 44px; width: auto; filter: drop-shadow(0 2px 0 rgba(38, 34, 27, .25)); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--ink-soft); padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.bag-btn {
  display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px;
  background: var(--card); border: 1.5px solid var(--ink); font-weight: 800; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s, box-shadow .12s;
}
.bag-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.bag-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.bag-count { min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  padding: 12px 20px; border-radius: 12px; border: 1.5px solid var(--ink); font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s, background .15s; white-space: nowrap;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--card); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: 3px 3px 0 var(--ink); }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

/* ---------- sky hero ---------- */
.sky {
  position: relative; overflow: hidden; padding: 56px 0 96px;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 78%, #cdeaff 100%);
}
.cloud { position: absolute; background: rgba(255, 255, 255, .92); height: 26px; animation: drift linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; }
.c1 { width: 150px; top: 60px; left: -10%; animation-duration: 70s; }
.c1::before { width: 70px; height: 26px; top: -22px; left: 30px; }
.c2 { width: 110px; top: 160px; left: 30%; animation-duration: 95s; animation-delay: -40s; opacity: .8; }
.c2::before { width: 50px; height: 22px; top: -18px; left: 25px; }
.c3 { width: 190px; top: 90px; left: 70%; animation-duration: 80s; animation-delay: -20s; }
.c3::before { width: 90px; height: 26px; top: -24px; left: 50px; }
.c3::after { width: 40px; height: 22px; top: -18px; left: 20px; }
.c4 { width: 90px; top: 270px; left: 10%; animation-duration: 110s; animation-delay: -70s; opacity: .7; }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }

.sky-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.sky-logo { width: min(500px, 88%); filter: drop-shadow(0 10px 0 rgba(18, 63, 143, .18)) drop-shadow(0 18px 24px rgba(18, 63, 143, .25)); }
.sky-text { max-width: 560px; margin: 18px 0 26px; font-size: 18px; font-weight: 600; color: #133056; }

.ticket-wrap { position: relative; }
.ticket {
  display: flex; align-items: stretch; text-align: left; padding: 0; border: 1.5px solid var(--ink);
  border-radius: 14px; background: var(--card); box-shadow: 4px 4px 0 var(--ink); overflow: hidden;
  transform: rotate(-1.2deg); transition: transform .15s;
}
.ticket:hover { transform: rotate(0deg) translateY(-2px); }
.ticket-left { display: flex; flex-direction: column; padding: 12px 20px 12px 18px; gap: 1px; }
.ticket-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-soft); }
.ticket-left strong { font-family: var(--head); font-size: 26px; line-height: 1.15; }
.ticket-online { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--green); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(78, 157, 51, .2); }
.ticket-right {
  display: grid; place-items: center; padding: 0 18px; font-weight: 800; background: var(--sun);
  border-left: 2px dashed var(--ink);
}
.hand-arrow {
  position: absolute; right: -150px; top: -30px; color: #133056; font-size: 24px; display: flex; flex-direction: column; align-items: flex-start;
  transform: rotate(6deg); pointer-events: none;
}
.hand-arrow svg { margin-top: -2px; }
.sky-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }

.grass {
  position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
  background:
    linear-gradient(90deg, transparent 50%, rgba(0, 0, 0, .08) 50%) 0 0 / 16px 14px repeat-x,
    linear-gradient(180deg, #6cbf3f 0 14px, #8a5a35 14px 100%);
}
.grass::before {
  content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 8px;
  background: linear-gradient(90deg, #6cbf3f 0 8px, transparent 8px 24px, #6cbf3f 24px 30px, transparent 30px 48px) 0 0 / 48px 8px repeat-x;
}
.grass::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px;
  background: radial-gradient(circle at 4px 4px, rgba(0, 0, 0, .15) 2px, transparent 3px) 0 0 / 20px 12px;
}

/* ---------- letter ---------- */
.letter-wrap { margin-top: -34px; position: relative; z-index: 2; display: flex; justify-content: center; }
.letter {
  position: relative; max-width: 640px; padding: 30px 34px 24px; background: var(--card);
  border: 1.5px solid var(--line-2); border-radius: 6px; box-shadow: var(--shadow-lift); transform: rotate(.6deg);
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(26, 95, 214, .08) 31px 32px);
  background-position: 0 14px;
}
.letter p { margin: 0 0 10px; font-size: 17px; }
.letter-hi { font-size: 30px !important; line-height: 1; color: var(--blue-ink); }
.letter-sign { font-size: 26px !important; text-align: right; color: var(--blue-ink); margin: 6px 0 0 !important; }
.tape {
  position: absolute; top: -14px; left: 50%; width: 120px; height: 28px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(255, 224, 122, .75); border-left: 2px dotted rgba(0, 0, 0, .08); border-right: 2px dotted rgba(0, 0, 0, .08);
}

/* ---------- sections ---------- */
.section { padding: 84px 0 10px; }
.head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.head-left { text-align: left; margin: 0; }
.kicker { display: block; font-size: 24px; color: var(--red); transform: rotate(-2deg); line-height: 1; margin-bottom: 10px; }
.head h2 { font-family: var(--head); font-weight: 800; font-size: clamp(34px, 5.4vw, 52px); line-height: 1.05; margin: 6px 0 10px; letter-spacing: -.5px; }
.head p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.mark { background: linear-gradient(180deg, transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); padding: 0 4px; }

/* ---------- servers ---------- */
.servers { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: start; }
.server {
  position: relative; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--ink); overflow: hidden;
}
.server-live { transform: rotate(-.6deg); }
.server-art {
  display: grid; place-items: center; min-height: 210px; padding: 34px 24px;
  background: #2a1416 radial-gradient(80% 90% at 50% 40%, #5a1b20, #1d0d0f);
  border-bottom: 1.5px solid var(--ink);
}
.server-art img { width: min(360px, 92%); filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .35)); transition: transform .25s; }
.server-live:hover .server-art img { transform: scale(1.04) rotate(-1deg); }
.server-info { padding: 22px 24px 26px; }
.server-info h3 { font-family: var(--head); font-weight: 800; font-size: 28px; margin: 0 0 6px; }
.server-info p { margin: 0 0 18px; color: var(--ink-soft); }
.server-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sticker {
  position: absolute; top: 14px; right: 14px; z-index: 2; padding: 4px 14px; font-family: var(--hand); font-weight: 700; font-size: 22px;
  border: 1.5px solid var(--ink); border-radius: 999px; transform: rotate(5deg); box-shadow: 2px 2px 0 var(--ink);
}
.sticker-green { background: #b9f0a0; }
.sticker-paper { background: var(--paper-2); color: var(--ink-soft); }
.server-soon { border-style: dashed; box-shadow: none; background: transparent; transform: rotate(.8deg); }
.soon-art { background: repeating-linear-gradient(135deg, var(--paper-2) 0 14px, var(--paper) 14px 28px); border-bottom-style: dashed; gap: 4px; display: flex; align-items: center; justify-content: center; }
.soon-heart { font-size: 40px; color: #b8a98f; }
.soon-word { font-family: var(--head); font-weight: 800; font-size: 44px; color: #b8a98f; letter-spacing: 1px; }
.server-soon .server-info h3 { color: var(--ink-soft); }
.soon-note { font-size: 22px; color: var(--blue-ink); margin: -6px 0 0 !important; transform: rotate(-1.5deg); }

/* ---------- store ---------- */
.maintenance { max-width: 700px; margin: 0 auto 26px; padding: 12px 16px; border-radius: 12px; text-align: center; background: #fff3c4; border: 1.5px dashed #c9a227; font-weight: 600; }
.tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.tab {
  padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line-2);
  font-weight: 800; color: var(--ink-soft); transition: all .15s;
}
.tab:hover { color: var(--ink); border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 2px 2px 0 var(--sun); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product {
  position: relative; display: flex; flex-direction: column; background: var(--card);
  border: 1.5px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.product:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-lift); border-color: var(--ink); }
.product-img { margin: 10px 10px 0; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--paper-2); aspect-ratio: 16 / 11; display: grid; place-items: center; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product:hover .product-img img { transform: scale(1.05); }
.product-off {
  position: absolute; top: 2px; left: -6px; z-index: 2; background: var(--red); color: #fff; padding: 3px 12px;
  font-weight: 800; font-size: 13px; border-radius: 6px; transform: rotate(-6deg); box-shadow: 2px 2px 0 var(--ink);
}
.product-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.product-cat { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--ink-soft); }
.product-name { margin: 0; font-family: var(--head); font-weight: 800; font-size: 20px; line-height: 1.2; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.price strong { font-family: var(--head); font-size: 24px; font-weight: 800; }
.price s { color: var(--ink-soft); font-size: 14px; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.product-actions .link-btn { font-size: 14px; color: var(--ink-soft); }
.product-actions .btn { padding: 10px 16px; }
.empty, .error-box { grid-column: 1 / -1; text-align: center; padding: 34px 20px; border-radius: var(--radius); border: 1.5px dashed var(--line-2); color: var(--ink-soft); background: rgba(255, 253, 248, .6); }
.skeleton { height: 340px; border-radius: var(--radius); background: linear-gradient(90deg, var(--paper-2) 25%, var(--card) 50%, var(--paper-2) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 26px 22px 22px; background: var(--card); border: 1.5px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.steps li:nth-child(2) { transform: rotate(.6deg); }
.steps li:nth-child(3) { transform: rotate(-.5deg); }
.steps h3 { font-family: var(--head); font-weight: 800; font-size: 22px; margin: 6px 0 4px; }
.steps p { margin: 0; color: var(--ink-soft); }
.step-n {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink);
  font-family: var(--hand); font-size: 30px; font-weight: 700; background: var(--sun); transform: rotate(-8deg);
}

/* ---------- donors ---------- */
.donors { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.donor {
  width: 170px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 14px 18px;
  background: #fff6b8; box-shadow: var(--shadow); position: relative; transform: rotate(-2deg);
}
.donor:nth-child(2n) { background: #d6efff; transform: rotate(2deg); }
.donor:nth-child(3n) { background: #ffd9d4; transform: rotate(-1deg); }
.donor::before { content: ""; position: absolute; top: -8px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--red); box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .2); }
.donor img { width: 64px; height: 64px; border-radius: 8px; image-rendering: pixelated; }
.donor strong { font-family: var(--head); font-size: 17px; word-break: break-all; }
.donor-rank { font-family: var(--hand); font-size: 24px; line-height: 1; color: var(--ink-soft); }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.faq-wrap .head a { color: var(--blue); font-weight: 700; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--card); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 0 18px; transition: border-color .15s; }
.faq details[open] { border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 28px 16px 0; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--hand); font-size: 30px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.footer { margin-top: 100px; background: var(--ink); color: #e9e1d1; position: relative; }
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
  background: radial-gradient(circle at 10px 14px, var(--ink) 10px, transparent 11px) 0 0 / 20px 14px repeat-x;
}
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; padding: 52px 0 30px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 12px; }
.footer-brand p { color: #b9b0a0; max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-col h4 { margin: 0 0 4px; font-family: var(--hand); font-size: 26px; font-weight: 700; color: var(--sun); }
.footer-col a, .footer-col .link-btn { color: #d9d0bf; text-decoration: none; font-weight: 600; }
.footer-col a:hover, .footer-col .link-btn:hover { color: #fff; text-decoration: underline; }
.footer small { color: #a79e8d; }
.pay { display: flex; gap: 8px; }
.pay span { padding: 4px 12px; border-radius: 8px; border: 1.5px solid #5a5244; font-weight: 800; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 0 26px; border-top: 1px solid #3d372d; color: #a79e8d; font-size: 14px; }

/* ---------- drawer ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(38, 34, 27, .45); }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 70; height: 100dvh; width: min(430px, 100%);
  display: flex; flex-direction: column; background: var(--paper); border-left: 1.5px solid var(--ink);
  transform: translateX(105%); transition: transform .28s ease; box-shadow: -10px 0 30px -10px rgba(0, 0, 0, .3);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1.5px dashed var(--line-2); }
.drawer-head h3 { margin: 0; font-family: var(--head); font-weight: 800; font-size: 24px; }
.close-btn { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--ink); background: var(--card); font-weight: 800; }
.close-btn:hover { background: var(--paper-2); }
.drawer-body { overflow-y: auto; padding: 18px 20px 30px; display: flex; flex-direction: column; gap: 20px; }
.cart-items { display: flex; flex-direction: column; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: var(--card); border: 1.5px solid var(--line-2); }
.cart-item img { width: 58px; height: 44px; object-fit: cover; border-radius: 8px; }
.cart-item strong { display: block; font-size: 15px; }
.cart-item span { font-weight: 800; font-size: 14px; }
.qty { display: flex; align-items: center; gap: 4px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--line-2); background: var(--paper); font-weight: 800; }
.qty button:hover { border-color: var(--ink); }
.qty output { min-width: 22px; text-align: center; font-weight: 800; }
.remove { background: none; border: 0; color: var(--ink-soft); font-size: 12px; padding: 2px 0 0; text-decoration: underline; }
.cart-empty { text-align: center; color: var(--ink-soft); padding: 34px 12px; border: 1.5px dashed var(--line-2); border-radius: 12px; }
.cart-empty .hand { display: block; font-size: 28px; color: var(--ink); margin-bottom: 4px; }
.checkout { display: flex; flex-direction: column; gap: 12px; }
.checkout h4 { margin: 0; font-family: var(--hand); font-size: 30px; font-weight: 700; color: var(--blue-ink); line-height: 1; }
.checkout label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 800; }
.checkout input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%; padding: 11px 13px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink); font: inherit; font-weight: 600; outline: none;
}
.checkout input:focus { border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.coupon { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.coupon-msg { min-height: 1em; font-size: 13px; font-weight: 700; }
.coupon-msg.ok { color: var(--green); } .coupon-msg.bad { color: var(--red); }
.gateways { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gateways legend { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.gateway { position: relative; }
.gateway input { position: absolute; opacity: 0; }
.gateway span { display: block; text-align: center; padding: 11px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--card); font-weight: 800; cursor: pointer; }
.gateway input:checked + span { border-color: var(--ink); background: var(--sun); box-shadow: 2px 2px 0 var(--ink); }
.gateway input:focus-visible + span { outline: 3px solid var(--blue); }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1.5px dashed var(--line-2); font-weight: 800; }
.total strong { font-family: var(--head); font-size: 26px; }
.form-error { color: var(--red); font-size: 14px; font-weight: 700; }
.form-error:empty { display: none; }
.checkout .terms-check { flex-direction: row; align-items: center; gap: 8px; font-weight: 600; }

/* ---------- modals ---------- */
.modal { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 1.5px solid var(--ink); border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.modal::backdrop { background: rgba(38, 34, 27, .5); }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.modal-product { padding: 26px; }
.mp-img { border-radius: 12px; overflow: hidden; border: 1.5px solid var(--line-2); margin-bottom: 16px; }
.mp-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.modal-product h3 { margin: 0 0 4px; font-family: var(--head); font-weight: 800; font-size: 26px; }
.mp-desc { color: var(--ink-soft); font-size: 15px; border-top: 1.5px dashed var(--line-2); margin-top: 14px; padding-top: 12px; }
.mp-desc h1, .mp-desc h2, .mp-desc h3 { font-size: 18px; margin: 10px 0; color: var(--ink); }
.mp-desc ul { padding-left: 20px; margin: 6px 0; }
.mp-desc p { margin: 4px 0; }
.mp-desc li div, .mp-desc li p { display: inline; margin: 0; }
.modal-product .btn { margin-top: 18px; }
.pix, .terms { padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.pix { align-items: center; text-align: center; }
.pix h3, .terms h3 { margin: 0; font-family: var(--head); font-weight: 800; font-size: 28px; }
.pix p, .terms p { margin: 0; color: var(--ink-soft); }
.terms p strong { color: var(--ink); }
.terms .btn { align-self: flex-start; margin-top: 8px; }
.pix-qr { width: 220px; height: 220px; background: #fff; border-radius: 12px; padding: 8px; border: 1.5px solid var(--line-2); }
.pix textarea { width: 100%; resize: none; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink); padding: 10px; font-size: 12px; }
.pix-status { font-weight: 800; color: var(--blue-ink) !important; }
.pix-status.ok { color: var(--green) !important; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 140%) rotate(-1deg);
  padding: 12px 20px; border-radius: 12px; background: var(--sun); color: var(--ink); font-weight: 800;
  border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .3s, opacity .3s;
  max-width: calc(100% - 32px); text-align: center; opacity: 0; pointer-events: none;
}
.toast.show { transform: translate(-50%, 0) rotate(-1deg); opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .hand-arrow { display: none; } }
@media (max-width: 900px) {
  .servers, .faq-wrap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { transform: none !important; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .head-left { text-align: center; margin: 0 auto 10px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; height: 62px; }
  .nav-logo img { height: 38px; }
}
@media (max-width: 560px) {
  .sky { padding: 38px 0 84px; }
  .sky-text { font-size: 16px; }
  .ticket-left strong { font-size: 21px; }
  .letter { padding: 26px 22px 20px; transform: none; }
  .section { padding-top: 64px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-body { padding: 10px 12px 12px; }
  .product-name { font-size: 16px; }
  .price strong { font-size: 19px; }
  .product-actions { flex-direction: column; align-items: stretch; }
  .product-actions .link-btn { display: none; }
  .product-actions .btn { padding: 9px 10px; }
  .product-cat { display: none; }
  .server-art { min-height: 160px; }
  .soon-word { font-size: 34px; }
  .donor { width: calc(50% - 10px); }
  .footer-inner { grid-template-columns: 1fr; }
  .bag-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
