/* Ykarus Módulos — site estático */
:root {
  --bg: #0a0c0f;
  --bg-2: #10141a;
  --bg-card: #161b22;
  --bg-elev: #1c222c;
  --line: rgba(245, 197, 24, 0.18);
  --line-strong: rgba(245, 197, 24, 0.45);
  --gold: #f5c518;
  --gold-2: #c9a00e;
  --blue: #3b8fe8;
  --blue-2: #1e6fc7;
  --text: #f3f5f7;
  --muted: #9aa3b2;
  --whatsapp: #25d366;
  --whatsapp-ink: #063517;
  --danger-safe: #0d1a12;
  --radius: 18px;
  --radius-sm: 12px;
  --header: 76px;
  --wrap: 1160px;
  --font-d: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-b: "Inter", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #ffe066; }
button { font: inherit; }

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #111;
  padding: 0.6rem 1rem;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header);
  background: rgba(10, 12, 15, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 12, 15, 0.96);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: var(--header);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  min-width: 0;
}
.brand:hover { color: var(--text); }
.brand picture { display: block; line-height: 0; flex: 0 0 auto; }
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-d);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
}
.nav a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  position: relative;
}
.nav a:hover { color: var(--gold); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn:active { transform: translateY(0); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--whatsapp-ink);
}
.btn-whatsapp:hover { background: #2ee075; color: var(--whatsapp-ink); }
.btn-gold {
  background: var(--gold);
  color: #161200;
}
.btn-gold:hover { background: #ffd54a; color: #161200; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.header-cta { margin-left: 0.5rem; white-space: nowrap; }
.nav .btn { display: none; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  padding: 0;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,12,15,0.92) 0%, rgba(10,12,15,0.78) 46%, rgba(10,12,15,0.42) 100%),
    var(--bg-2) center / cover no-repeat;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% center;
  opacity: 0.72;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0 4rem;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold);
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.kicker::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
.hero .lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-photo {
  justify-self: end;
  width: min(100%, 420px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,0.04);
  background: var(--bg-card);
}
.hero-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Trust */
.trust {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  padding: 1.15rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.92rem;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item svg { flex: 0 0 auto; color: var(--gold); }

/* Sections */
section { padding: 4.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.2rem; }
.section-head h2,
.contact-copy h2,
.cta-band h2 {
  font-family: var(--font-d);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 0.7rem;
}
.section-head p { margin: 0; color: var(--muted); }

/* Module cards */
.mod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.mod-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.mod-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.mod-card .media {
  aspect-ratio: 4 / 3.2;
  background: #0e1116;
  overflow: hidden;
}
.mod-card .media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.mod-card:hover .media img { transform: scale(1.04); }
.mod-card .body { padding: 1.15rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.mod-card h3 {
  font-family: var(--font-d);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.mod-card p { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; flex: 1; }
.mod-card .btn { align-self: flex-start; padding: 0.55rem 0.95rem; font-size: 0.88rem; }

.mod-card.icon-only .media {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(245,197,24,0.12), transparent 60%),
    var(--bg-elev);
}
.mod-card.icon-only .media svg { width: 72px; height: 72px; color: var(--gold); }

/* Services */
#servicos { background: var(--bg-2); border-block: 1px solid var(--line); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem 1.1rem;
}
.svc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(245, 197, 24, 0.1);
  color: var(--gold);
  border: 1px solid var(--line);
}
.svc-card h3 {
  font-family: var(--font-d);
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}
.svc-card p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.svc-card .btn { grid-column: 2; justify-self: start; margin-top: 0.4rem; padding: 0.5rem 0.9rem; font-size: 0.88rem; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: center;
}
.step-list { display: grid; gap: 1.1rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.05rem;
}
.step h3 { margin: 0 0 0.25rem; font-family: var(--font-d); font-size: 1.08rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.step-visual { margin: 0; }
.step-visual picture, .step-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: #0e1116;
  overflow: hidden;
}
.step-caption {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

/* Why */
#por-que { background: var(--bg-2); border-block: 1px solid var(--line); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.why-card {
  padding: 1.5rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.why-card svg { color: var(--gold); margin-bottom: 0.85rem; }
.why-card h3 { font-family: var(--font-d); margin: 0 0 0.45rem; font-size: 1.12rem; }
.why-card p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 0.7rem; max-width: 820px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--text);
  border: 0;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 1.02rem;
}
.faq-item button:hover { color: var(--gold); }
.faq-item .icon {
  width: 22px; height: 22px;
  flex: 0 0 auto;
  position: relative;
}
.faq-item .icon::before,
.faq-item .icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.faq-item .icon::before { width: 14px; height: 2px; }
.faq-item .icon::after { width: 2px; height: 14px; transition: transform 0.2s, opacity 0.2s; }
.faq-item button[aria-expanded="true"] .icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-panel {
  display: none;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
}
.faq-item.is-open .faq-panel { display: block; }
.faq-panel p { margin: 0; }
.faq-panel a { font-weight: 600; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}
.contact-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
}
.contact-list svg { color: var(--gold); margin-top: 0.15rem; }
.contact-list strong { display: block; font-family: var(--font-d); font-size: 0.95rem; }
.contact-list span, .contact-list a { color: var(--muted); }
.contact-list a.tel { color: var(--text); font-size: 1.2rem; font-weight: 700; font-family: var(--font-d); }
.socials { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.35rem; }
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  color: var(--text);
  font-size: 0.88rem;
  background: var(--bg-card);
}
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.contact-cta {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}
.contact-cta p { color: var(--muted); margin: 0.4rem 0 1.1rem; }
.contact-cta .btn { width: 100%; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 5.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer strong { color: var(--text); }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 70;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
  transition: transform 0.15s, box-shadow 0.15s;
}
.wa-float:hover { transform: translateY(-2px) scale(1.04); color: #fff; box-shadow: 0 14px 28px rgba(37, 211, 102, 0.38); }
.wa-float svg { width: 30px; height: 30px; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap,
  .steps,
  .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero .wrap { padding: 2.2rem 0 2.6rem; }
  .hero-photo { justify-self: stretch; width: min(100%, 420px); margin-inline: auto; }
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(2n) { border-right: 0; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --header: 68px; }
  .brand-text small { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .header-cta { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0; right: 0;
    background: rgba(10, 12, 15, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1rem 1.1rem;
    gap: 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.85rem 0.4rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { display: inline-flex; margin-top: 0.8rem; width: 100%; }
  .svc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mod-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; }
  .hero h1 { font-size: 1.85rem; }
  section { padding: 3.2rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* ===== Loja: catálogo, carrinho e checkout ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.35rem;
}
.cart-btn {
  position: relative;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  display: grid; place-items: center;
  cursor: pointer;
  padding: 0;
}
.cart-btn:hover { border-color: var(--gold); color: var(--gold); }
.cart-badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: #161200;
  font-family: var(--font-d);
  font-size: 0.68rem;
  font-weight: 700;
  display: none;
  place-items: center;
  line-height: 1;
}
.cart-badge.is-on { display: grid; }

#catalogo { padding-top: 3.6rem; background: var(--bg); border-bottom: 1px solid var(--line); }
.store-toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(160px, 220px) minmax(160px, 200px);
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}
.store-toolbar input,
.store-toolbar select,
.cart-panel input,
.cart-panel select,
.cart-panel textarea {
  width: 100%;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
}
.store-toolbar input:focus,
.store-toolbar select:focus,
.cart-panel input:focus,
.cart-panel textarea:focus {
  border-color: var(--gold);
  outline: none;
}
.store-meta { color: var(--muted); font-size: 0.92rem; margin: 0 0 1.1rem; }
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.prod-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.prod-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.prod-card .media { aspect-ratio: 4 / 3.1; background: #0e1116; overflow: hidden; }
.prod-card .media img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; flex: 1; gap: 0.25rem; }
.prod-cat {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-d);
  font-weight: 600;
}
.prod-card h3 {
  font-family: var(--font-d);
  font-size: 1.02rem;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.prod-pn {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.28rem 0.5rem;
  margin: 0.4rem 0 0.15rem;
  word-break: break-all;
}
.prod-pn span { color: var(--muted); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; margin-right: 0.35rem; }
.prod-price {
  font-family: var(--font-d);
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0.45rem 0 0;
}
.prod-pay { color: var(--muted); font-size: 0.82rem; margin: 0 0 0.7rem; }
.prod-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: auto; }
.prod-actions .btn { padding: 0.5rem 0.8rem; font-size: 0.85rem; }
.store-empty { color: var(--muted); grid-column: 1 / -1; padding: 2rem 0; }
.store-more { display: flex; justify-content: center; margin-top: 1.6rem; }

/* Cart drawer */
.cart-drawer { position: fixed; inset: 0; z-index: 90; }
.cart-drawer[hidden] { display: none; }
.cart-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
}
.cart-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 100%);
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.cart-head, .cart-foot { padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.cart-foot { border-bottom: 0; border-top: 1px solid var(--line); padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; }
.cart-head h2 { font-family: var(--font-d); margin: 0; font-size: 1.2rem; }
.cart-close {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}
.cart-body { flex: 1; overflow: auto; padding: 0.8rem 1.15rem 1.2rem; }
.cart-empty { color: var(--muted); padding: 1.5rem 0; }
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.7rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #0e1116; }
.cart-item h3 { font-family: var(--font-d); font-size: 0.92rem; margin: 0 0 0.15rem; line-height: 1.3; }
.cart-item .pn { color: var(--muted); font-size: 0.78rem; }
.cart-item .price { font-family: var(--font-d); font-weight: 700; }
.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.4rem;
}
.qty button {
  width: 26px; height: 26px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
}
.qty button:hover { border-color: var(--gold); color: var(--gold); }
.cart-remove {
  background: none; border: 0; color: var(--muted);
  cursor: pointer; font-size: 0.78rem; padding: 0;
  text-decoration: underline;
}
.cart-remove:hover { color: #ff8a8a; }
.cart-aviso {
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-size: 0.86rem;
  color: var(--text);
  margin: 0.8rem 0;
}
.frete-box h3, .checkout-box h3 {
  font-family: var(--font-d);
  font-size: 1rem;
  margin: 1.1rem 0 0.5rem;
}
.frete-cep { display: grid; grid-template-columns: 1fr auto; gap: 0.45rem; }
.frete-opts { display: grid; gap: 0.4rem; margin-top: 0.6rem; }
.frete-opts label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}
.frete-opts label.is-on { border-color: var(--gold); }
.frete-opts small { color: var(--muted); display: block; font-size: 0.75rem; }
.cart-sub { display: flex; justify-content: space-between; margin: 0.35rem 0; color: var(--muted); font-size: 0.92rem; }
.cart-total { display: flex; justify-content: space-between; font-family: var(--font-d); font-size: 1.15rem; font-weight: 700; margin: 0.4rem 0 0.9rem; }
.checkout-box { display: grid; gap: 0.5rem; }
.checkout-box .btn { width: 100%; }
.cart-alert {
  background: rgba(59, 143, 232, 0.12);
  border: 1px solid rgba(59, 143, 232, 0.35);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font-size: 0.86rem;
  color: var(--text);
  margin: 0.5rem 0;
}
.cart-alert[hidden] { display: none; }
.field-err { color: #ff8a8a; font-size: 0.8rem; min-height: 0; }

@media (max-width: 980px) {
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .store-toolbar { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-actions { margin-left: auto; }
  .menu-toggle { margin-left: 0; }
}
@media (max-width: 560px) {
  .store-grid { grid-template-columns: 1fr; }
}

/* Return pages */
.return-page {
  min-height: calc(100svh - var(--header));
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 0 5rem;
}
.return-page h1 { font-family: var(--font-d); letter-spacing: -0.03em; margin: 0.6rem 0; }
.return-page p { color: var(--muted); max-width: 34rem; margin: 0 auto 1.3rem; }

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
