/* =========================================================
   SKULL MULTIMARCAS
   Tokens: preto profundo + cinzas frios + vermelho-alaranjado
   (cor extraída do próprio logo: #ff4503)
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-elev: #121212;
  --surface: #1a1a1a;
  --surface-2: #202020;
  --border: #2c2c2c;
  --border-soft: #232323;

  --accent: #ff4503;
  --accent-2: #ff6a2b;
  --accent-dark: #b23000;

  --text: #f2f0ec;
  --text-dim: #b7b3ac;
  --text-mute: #7c7972;

  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 18px;

  --shadow-drip: 0 18px 40px -18px rgba(255, 69, 3, 0.35);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --header-h: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  cursor: pointer;
}

::selection { background: var(--accent); color: #fff; }

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

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Loading screen ---------- */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: radial-gradient(circle at 50% 38%, #171717 0%, #0a0a0a 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  width: 130px;
  animation: drip-pulse 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 26px rgba(255, 69, 3, 0.45));
}

@keyframes drip-pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.035); }
}

.loader-bar {
  position: absolute;
  bottom: 14%;
  width: 160px;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: loader-sweep 1.1s ease-in-out infinite;
}

@keyframes loader-sweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(360%); }
}

@media (prefers-reduced-motion: reduce) {
  .loader-mark, .loader-bar::after { animation: none; }
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  height: 44px;
  width: auto;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.2s ease;
  white-space: nowrap;
}

nav.main-nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-m);
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.icon-btn svg { width: 21px; height: 21px; }

.icon-btn:hover {
  background: var(--surface);
  border-color: var(--border);
}

.icon-btn .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.icon-btn .badge[hidden] { display: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  color: var(--text);
}

.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}

.hero-bg {
  position: absolute;
  inset: -2px;
  overflow: hidden;
  background: #111;
  transform: scale(1.015);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(1.08) contrast(1.03) brightness(0.78);
}

/* Mantém a foto visível e cria um desaparecimento suave na parte inferior. */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,6,6,0.02) 0%, rgba(6,6,6,0.08) 42%, rgba(6,6,6,0.58) 72%, #060606 100%);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,6,6,0.10) 0%, rgba(6,6,6,0.06) 42%, rgba(6,6,6,0.38) 70%, #060606 100%),
    linear-gradient(100deg, rgba(6,6,6,0.58) 0%, rgba(6,6,6,0.16) 48%, rgba(6,6,6,0.22) 100%);
}


.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.hero-eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,69,3,0.18);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(46px, 7.4vw, 92px);
  line-height: 0.92;
  letter-spacing: 0.2px;
  margin: 0 0 20px;
}

.hero h1 span { color: var(--accent); }

.hero p.lead {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 0 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-m);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-drip);
}

.btn-primary:hover { background: var(--accent-2); }

.btn-outline {
  background: transparent;
  border-color: rgba(242,240,236,0.28);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--text);
  background: rgba(242,240,236,0.06);
}

.btn-block { width: 100%; }

.btn-sm { height: 40px; padding: 0 16px; font-size: 13.5px; border-radius: var(--radius-s); }

.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- Section shell ---------- */
section { padding: 88px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  margin: 0;
  line-height: 1;
}

.section-head p {
  color: var(--text-mute);
  font-size: 15px;
  max-width: 420px;
  margin: 10px 0 0;
}

/* ---------- Category filter ---------- */
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.chip {
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: all 0.18s ease;
}

.chip:hover { border-color: var(--text-mute); color: var(--text); }

.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-card:hover { border-color: #3a3a3a; }

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,69,3,0.16), transparent 55%),
    linear-gradient(155deg, #232323 0%, #161616 60%, #101010 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-media svg {
  width: 46%;
  height: 46%;
  color: #55524c;
  stroke: currentColor;
}

.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.fav-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10,10,10,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  backdrop-filter: blur(4px);
}

.fav-toggle svg { width: 17px; height: 17px; }

.fav-toggle.is-active { color: var(--accent-2); }
.fav-toggle.is-active svg { fill: var(--accent); stroke: var(--accent); }

.product-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.product-cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--text-mute);
  text-transform: uppercase;
}

.product-name {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
}

.product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-2);
}

.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -2px;
}

.size-opt {
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  border-radius: var(--radius-s);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text-dim);
  font-size: 12.5px;
  font-weight: 700;
}

.size-opt:hover { border-color: var(--text-mute); }

.size-opt.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.product-actions { margin-top: auto; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border-soft);
  position: relative;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Reviews ---------- */
.reviews-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-l);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-stars {
  display: flex;
  gap: 3px;
  color: var(--accent);
}

.review-stars svg { width: 16px; height: 16px; fill: currentColor; }

.review-text {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.55;
  flex: 1;
}

.review-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-mute);
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px 7px 10px;
  font-size: 13.5px;
  font-weight: 700;
}

.rating-pill .stars { display: flex; color: var(--accent); }
.rating-pill .stars svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Contact / location ---------- */
.contact-section {
  background: var(--bg-elev);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.info-list { display: flex; flex-direction: column; gap: 22px; margin-top: 26px; }

.info-row { display: flex; gap: 14px; align-items: flex-start; }

.info-row .icon-wrap {
  width: 42px; height: 42px;
  border-radius: var(--radius-m);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent-2);
}

.info-row .icon-wrap svg { width: 19px; height: 19px; }

.info-row h3 { margin: 0 0 4px; font-size: 14.5px; font-weight: 700; }
.info-row p, .info-row a { margin: 0; font-size: 14.5px; color: var(--text-dim); }
.info-row a:hover { color: var(--accent-2); }

.map-frame {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: #101010;
  position: relative;
}

.map-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.map-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.map-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.04) 45%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.map-link:hover img {
  transform: scale(1.025);
  filter: brightness(0.9);
}

.map-open-label {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-s);
  background: rgba(8,8,8,0.82);
  color: var(--text);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* ---------- Footer ---------- */
footer {
  padding: 54px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-soft);
}

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 38px; }

.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }

.footer-col h4 {
  font-size: 12.5px;
  letter-spacing: 0.3px;
  color: var(--text-mute);
  margin: 0 0 14px;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 10px;
}

.footer-col a:hover { color: var(--text); }

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13.5px;
}

.footer-social svg { width: 16px; height: 16px; }
.footer-social:hover { border-color: var(--accent); color: var(--accent-2); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--text-mute);
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06220f;
  box-shadow: 0 14px 30px -10px rgba(34,197,94,0.55);
  transition: transform 0.2s ease;
}

.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Drawers (cart / favorites) ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.overlay.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: var(--bg-elev);
  border-left: 1px solid var(--border);
  z-index: 310;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border-soft);
}

.drawer-head h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 22px;
  margin: 0;
}

.drawer-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
}

.drawer-close svg { width: 16px; height: 16px; }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.empty-state {
  margin: auto;
  text-align: center;
  color: var(--text-mute);
  padding: 40px 10px;
}

.empty-state svg { width: 42px; height: 42px; margin-bottom: 14px; opacity: 0.5; }
.empty-state p { font-size: 14px; margin: 0; }

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-m);
}

.cart-item .thumb {
  width: 60px; height: 60px;
  border-radius: var(--radius-s);
  background: linear-gradient(155deg, #232323, #121212);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item .thumb svg { width: 55%; height: 55%; color: #55524c; }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.cart-item-info .meta { font-size: 12.5px; color: var(--text-mute); margin-bottom: 8px; }

.qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 24px; height: 24px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  font-size: 14px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}

.qty-val { font-size: 13px; font-weight: 700; min-width: 14px; text-align: center; }

.remove-btn {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: var(--text-mute);
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
}

.remove-btn:hover { color: var(--accent-2); background: rgba(255,69,3,0.08); }
.remove-btn svg { width: 15px; height: 15px; }

.fav-item-actions { display: flex; gap: 8px; margin-top: 4px; }

.drawer-foot {
  border-top: 1px solid var(--border-soft);
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  font-weight: 700;
}

.total-row .val { font-size: 21px; color: var(--accent-2); }

.location-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-mute);
  margin-bottom: 7px;
}

.location-input-row { display: flex; gap: 8px; }

.location-input-row input {
  flex: 1;
  height: 42px;
  border-radius: var(--radius-s);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 0 12px;
  font-size: 13.5px;
  font-family: inherit;
}

.location-input-row input:focus { border-color: var(--accent); }

.geo-btn {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-s);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
}

.geo-btn svg { width: 18px; height: 18px; }
.geo-btn:hover { border-color: var(--accent); color: var(--accent-2); }
.geo-btn.busy svg { animation: spin 1s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.geo-status {
  font-size: 12px;
  color: var(--text-mute);
  min-height: 15px;
}

.geo-status.ok { color: #4ade80; }
.geo-status.err { color: #f87171; }

/* ---------- Quick-buy modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 26px;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
}

.modal-overlay.open .modal-card { transform: translateY(0) scale(1); }

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-head h3 { margin: 0 0 4px; font-size: 17px; }
.modal-head .sub { font-size: 13px; color: var(--text-mute); }

.modal-summary {
  display: flex;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-m);
  padding: 12px;
  margin-bottom: 18px;
}

.modal-summary .thumb {
  width: 54px; height: 54px;
  border-radius: var(--radius-s);
  background: linear-gradient(155deg, #232323, #121212);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.modal-summary .thumb svg { width: 55%; height: 55%; color: #55524c; }
.modal-summary .thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-summary .price { color: var(--accent-2); font-weight: 800; margin-top: 2px; }

.buy-size-field { margin-top: 2px; }
.buy-size-field > label { display:block; font-size: 12px; font-weight: 800; margin-bottom: 9px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); }
.modal-size-row { margin-bottom: 7px; flex-wrap: wrap; }
.size-status { min-height: 16px; font-size: 12px; color: var(--text-mute); }
.size-status.ok { color: #4ade80; }

.modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* ---------- Toast ---------- */
#toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 18px);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 20px;
  border-radius: var(--radius-m);
  font-size: 13.5px;
  font-weight: 600;
  z-index: 400;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

#toast svg { width: 16px; height: 16px; color: var(--accent-2); flex-shrink: 0; }

#toast.show { opacity: 1; transform: translate(-50%, 0); }



/* ---------- Microinterações / hover ---------- */

/* Navegação: underline discreto */
@media (hover: hover) and (pointer: fine) {
  nav.main-nav a {
    position: relative;
    transition: color 0.22s ease, transform 0.22s ease;
  }

  nav.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -7px;
    height: 1px;
    background: var(--accent);
    transition: right 0.25s ease;
  }

  nav.main-nav a:hover {
    color: var(--text);
    transform: translateY(-1px);
  }

  nav.main-nav a:hover::after {
    right: 0;
  }

  /* Botões: leve elevação + brilho lateral */
  .btn {
    position: relative;
    overflow: hidden;
    will-change: transform;
  }

  .btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
      100deg,
      transparent,
      rgba(255,255,255,0.13),
      transparent
    );
    transform: skewX(-18deg);
    transition: left 0.5s ease;
    pointer-events: none;
  }

  .btn:hover {
    transform: translateY(-2px);
  }

  .btn:hover::after {
    left: 135%;
  }

  .btn-primary:hover {
    box-shadow: 0 12px 28px -14px rgba(255, 69, 3, 0.7);
  }

  .btn-outline:hover {
    transform: translateY(-2px);
  }

  /* Filtros/categorias */
  .chip {
    transition:
      transform 0.2s ease,
      color 0.2s ease,
      border-color 0.2s ease,
      background 0.2s ease;
  }

  .chip:hover {
    transform: translateY(-2px);
  }

  .chip.active:hover {
    background: var(--accent-2);
    border-color: var(--accent-2);
  }

  /* Catálogos/produtos */
  .product-card {
    position: relative;
    transform: translateY(0);
    transition:
      border-color 0.28s ease,
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.28s ease;
  }

  .product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    pointer-events: none;
    transition: border-color 0.28s ease;
  }

  .product-card:hover {
    border-color: rgba(255, 106, 43, 0.38);
    transform: translateY(-6px);
    box-shadow: 0 18px 36px -26px rgba(0, 0, 0, 0.9);
  }

  .product-card:hover::after {
    border-color: rgba(255, 69, 3, 0.18);
  }

  .product-media {
    overflow: hidden;
  }

  .product-media img {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
  }

  .product-card:hover .product-media img {
    transform: scale(1.045);
    filter: brightness(1.04);
  }

  .product-actions .btn {
    transition:
      transform 0.22s ease,
      background 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease;
  }

  /* Favorito e ícones */
  .fav-toggle,
  .icon-btn,
  .geo-btn,
  .drawer-close {
    transition:
      transform 0.2s ease,
      background 0.2s ease,
      border-color 0.2s ease,
      color 0.2s ease;
  }

  .fav-toggle:hover,
  .icon-btn:hover,
  .geo-btn:hover,
  .drawer-close:hover {
    transform: translateY(-2px);
  }

  .fav-toggle:hover {
    border-color: rgba(255, 106, 43, 0.45);
    color: var(--accent-2);
  }

  /* Galeria */
  .gallery-item {
    transition:
      transform 0.28s ease,
      border-color 0.28s ease,
      box-shadow 0.28s ease;
  }

  .gallery-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 106, 43, 0.35);
    box-shadow: 0 16px 30px -24px rgba(0,0,0,0.9);
  }

  /* Links de contato/rodapé */
  .info-row a,
  .footer-col a,
  .footer-social {
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }

  .info-row a:hover,
  .footer-col a:hover {
    transform: translateX(2px);
  }

  .footer-social:hover {
    transform: translateY(-2px);
  }
}

/* Não anima para quem prefere reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .product-card,
  .gallery-item,
  .gallery-item img,
  .product-media img,
  .chip,
  nav.main-nav a,
  .icon-btn,
  .fav-toggle,
  .geo-btn,
  .drawer-close,
  .footer-social,
  .info-row a,
  .footer-col a {
    transition: none !important;
  }

  .btn::after,
  nav.main-nav a::after {
    display: none;
  }
}


/* ---------- Catálogo compacto no celular ---------- */
.catalog-more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.catalog-more-btn {
  min-width: 220px;
  min-height: 46px;
  font-size: 12px;
  letter-spacing: .5px;
}

@media (min-width: 721px) {
  .catalog-more { display: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-strip { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  nav.main-nav { display: none; }
}

@media (max-width: 720px) {
  section { padding: 60px 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hero { min-height: 92vh; align-items: flex-end; }
  .hero-inner { padding-bottom: 48px; }
  nav.main-nav { display: none; }
  .nav-toggle { display: flex; }
  .footer-top { flex-direction: column; }
  .reviews-strip { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-body { padding: 12px; gap: 9px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ---------- Mobile nav panel ---------- */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  z-index: 190;
  display: flex;
  flex-direction: column;
  padding: 10px 24px 20px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.mobile-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }

.mobile-nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  font-weight: 700;
  font-size: 15px;
}

.mobile-nav a:last-child { border-bottom: 0; }


/* ---------- Brilhos extras ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn::before,
  .product-card::before,
  .chip::before,
  .map-link::before {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 3;
    top: -35%;
    left: -75%;
    width: 38%;
    height: 170%;
    transform: rotate(20deg);
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.20),
      rgba(255,255,255,0.08),
      transparent
    );
    opacity: 0;
    transition: left 0.65s ease, opacity 0.25s ease;
  }

  .btn:hover::before,
  .product-card:hover::before,
  .chip:hover::before,
  .map-link:hover::before {
    left: 135%;
    opacity: 1;
  }

  .product-card:hover {
    box-shadow:
      0 18px 40px -28px rgba(0,0,0,0.95),
      0 0 24px -20px rgba(255, 86, 26, 0.75);
  }

  .btn-primary:hover {
    box-shadow:
      0 12px 30px -14px rgba(255, 69, 3, 0.75),
      0 0 20px -12px rgba(255, 120, 60, 0.8);
  }

  .map-link:hover {
    box-shadow: 0 0 28px -18px rgba(255, 106, 43, 0.65);
  }
}


/* ---------- Ajustes finais de usabilidade e mobile ---------- */
html, body { min-width: 0; }
body, button, input, a, p, h1, h2, h3, h4, span { overflow-wrap: anywhere; }

.btn-whatsapp {
  background: #1fae57;
  border-color: #1fae57;
  color: #fff;
  box-shadow: 0 10px 24px -16px rgba(31,174,87,.8);
}
.btn-whatsapp:hover {
  background: #25c965;
  border-color: #25c965;
}

.footer-instagram {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(255,69,3,.72);
  border-radius: 12px;
  padding: 13px 17px;
  background: linear-gradient(135deg, rgba(255,69,3,.18), rgba(255,69,3,.06));
  color: #fff;
  box-shadow: 0 10px 28px -18px rgba(255,69,3,.95), inset 0 0 18px rgba(255,69,3,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.footer-instagram:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(255,69,3,.28), rgba(255,69,3,.09));
  box-shadow: 0 14px 34px -17px rgba(255,69,3,1), 0 0 20px -10px rgba(255,69,3,.9);
}
.footer-instagram > span { font-size: 12px; font-weight: 900; letter-spacing: .06em; color: #fff; }
.footer-instagram > strong { font-size: 11px; color: rgba(255,255,255,.66); font-weight: 700; }
.footer-instagram svg { flex: 0 0 auto; width: 21px; height: 21px; }

.drawer { min-height: 0; }
.drawer-body { min-height: 0; overscroll-behavior: contain; }
.drawer-foot {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  background: var(--bg-elev);
  box-shadow: 0 -14px 28px -24px rgba(0,0,0,.9);
}
#cart-foot .btn { flex-shrink: 0; }

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .container { padding-left: 16px; padding-right: 16px; }
  header.site-header { height: var(--header-h); }
  .brand img { height: 35px; max-width: 180px; object-fit: contain; }
  .header-actions { gap: 2px; }
  .icon-btn, .nav-toggle { width: 38px; height: 38px; }
  .icon-btn svg, .nav-toggle svg { width: 19px; height: 19px; }

  .hero {
    min-height: 86svh;
    height: auto;
    align-items: flex-end;
  }
  .hero-bg img {
    object-position: 50% 42%;
    filter: saturate(1.04) contrast(1.02) brightness(.82);
  }
  .hero-inner {
    max-width: none;
    padding-top: 100px;
    padding-bottom: 42px;
  }
  .hero-eyebrow { font-size: 11px; margin-bottom: 12px; }
  .hero h1 { font-size: clamp(42px, 13vw, 66px); line-height: .94; margin-bottom: 16px; }
  .hero p.lead { font-size: 14px; line-height: 1.55; margin-bottom: 24px; max-width: 100%; }
  .hero-ctas { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-ctas .btn { width: 100%; }

  section { padding: 52px 0; }
  .section-head { align-items: flex-start; margin-bottom: 28px; gap: 14px; }
  .section-head h2 { font-size: clamp(28px, 9vw, 40px); }
  .section-head p { font-size: 13px; line-height: 1.5; }
  .rating-pill { font-size: 11.5px; padding: 6px 10px; }
  .filter-row { gap: 7px; margin-bottom: 24px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: thin; }
  .chip { flex: 0 0 auto; height: 38px; padding: 0 14px; font-size: 12px; }

  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card { border-radius: 14px; }
  .product-media { aspect-ratio: 16 / 10; min-height: 190px; }
  .product-media svg { width: 34%; height: 34%; }
  .product-body { padding: 14px; gap: 9px; }
  .product-name { font-size: 15px; }
  .product-price { font-size: 17px; }
  .size-opt { min-width: 38px; height: 34px; }
  .product-actions .btn { min-height: 46px; height: auto; white-space: normal; line-height: 1.2; padding: 10px 12px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .gallery-item { border-radius: 12px; aspect-ratio: 1 / 1.15; }
  .reviews-strip { grid-template-columns: 1fr; gap: 12px; }
  .review-card { padding: 18px; border-radius: 14px; }

  .contact-grid { gap: 28px; }
  .info-list { gap: 18px; margin-top: 20px; }
  .info-row { gap: 10px; }
  .info-row .icon-wrap { width: 38px; height: 38px; }
  .info-row p, .info-row a { font-size: 13px; line-height: 1.45; }
  .map-frame { aspect-ratio: 1 / .82; border-radius: 14px; }

  footer { padding: 42px 0 24px; }
  .footer-top { gap: 24px; padding-bottom: 28px; }
  .footer-cols { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { font-size: 11px; flex-direction: column; gap: 6px; }
  .footer-instagram { width: 100%; min-width: 0; }

  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 25px; height: 25px; }

  .drawer { width: 100%; max-width: 100%; border-left: 0; }
  .drawer-head { padding: 14px 16px; min-height: 60px; }
  .drawer-body { padding: 12px 14px; gap: 10px; }
  .drawer-foot { padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); gap: 10px; }
  .cart-item { padding: 10px; }
  .cart-item .thumb { width: 54px; height: 54px; }
  .qty-row { gap: 8px; }
  .location-input-row input { min-width: 0; font-size: 13px; }
  .drawer-foot .total-row .val { font-size: 19px; }
  #cart-checkout-btn { min-height: 46px; }

  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-card { max-width: none; border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 92svh; overflow-y: auto; }
  .modal-head .sub { font-size: 12px; line-height: 1.45; }
  .modal-actions { gap: 8px; }
  .modal-actions .btn { min-height: 46px; height: auto; white-space: normal; line-height: 1.2; padding: 10px 12px; }
}

@media (max-width: 420px) {
  .brand img { max-width: 150px; }
  .header-actions .icon-btn:first-child { display: none; }
  .hero h1 { font-size: clamp(38px, 12.5vw, 58px); }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-col:last-child { grid-column: auto; }
}


/* Instagram integrado às informações da loja */
.contact-instagram {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  padding: 10px 14px;
  border: 1px solid rgba(255,69,3,.72);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,69,3,.20), rgba(255,69,3,.06));
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
  box-shadow: 0 9px 25px -17px rgba(255,69,3,.95), inset 0 0 16px rgba(255,69,3,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.contact-instagram svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}
.contact-instagram:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(255,69,3,.30), rgba(255,69,3,.10));
  box-shadow: 0 13px 30px -16px rgba(255,69,3,1), 0 0 20px -10px rgba(255,69,3,.9);
}
@media (max-width: 600px) {
  .contact-instagram {
    padding: 11px 13px;
    font-size: 10px;
  }
}

/* Catálogo mobile — mais compacto, sem a coluna única gigante */
@media (max-width: 720px) {
  #catalogo .section-head {
    margin-bottom: 22px;
  }

  #catalogo .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
  }

  #catalogo .product-card {
    min-width: 0;
    border-radius: 13px;
  }

  #catalogo .product-media {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  #catalogo .fav-toggle {
    top: 7px;
    right: 7px;
    width: 31px;
    height: 31px;
  }

  #catalogo .fav-toggle svg {
    width: 15px;
    height: 15px;
  }

  #catalogo .product-body {
    padding: 10px;
    gap: 6px;
  }

  #catalogo .product-cat {
    font-size: 8px;
    letter-spacing: .06em;
  }

  #catalogo .product-name {
    font-size: 12px;
    line-height: 1.25;
    min-height: 30px;
  }

  #catalogo .product-price {
    font-size: 14px;
  }

  #catalogo .product-actions .btn {
    width: 100%;
    min-height: 40px;
    padding: 8px 7px;
    gap: 5px;
    font-size: 10px;
    line-height: 1.1;
    white-space: normal;
  }

  #catalogo .product-actions .btn svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 360px) {
  #catalogo .product-grid {
    gap: 8px;
  }

  #catalogo .product-body {
    padding: 9px;
  }

  #catalogo .product-name {
    font-size: 11.5px;
  }

  #catalogo .product-actions .btn {
    font-size: 9.5px;
    min-height: 38px;
    padding-inline: 5px;
  }
}
