:root {
  --ink: #111111;
  --muted: #6b6b6b;
  --line: #e8e8e8;
  --bg: #ffffff;
  --paper: #ffffff;
  --soft: #f6f6f6;
  --brand: #111111;
  --brand-2: #333333;
  --accent: #111111;
  --danger: #b42318;
  --ok: #027a48;
  --warn: #b54708;
  --shadow: 0 8px 24px rgba(0, 0, 0, .06);
  --radius: 4px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Manrope, sans-serif;
  color: var(--ink);
  background: #fff;
  min-height: 100vh;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.logo-img { height: 52px; width: auto; display: block; }
.footer-logo { margin: 0 0 16px; }
.footer-logo .logo-img { height: 56px; }
.admin-side .logo-img { height: 44px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 0;
  background: #111; color: #fff;
  display: grid; place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700; font-size: 16px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: "Cormorant Garamond", serif; font-size: 22px; font-weight: 600; }
.logo-text small { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.top-nav { display: flex; align-items: center; justify-content: center; gap: 22px; flex: 1; }
.top-nav a { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #111; }
.top-nav a:hover { opacity: .55; }
.search { flex: 1; max-width: 380px; display: flex; background: #fff; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; overflow: hidden; }
.search input { flex: 1; border: 0; padding: 10px 4px; background: transparent; outline: none; }
.search button { border: 0; background: transparent; padding: 0 8px; color: var(--ink); cursor: pointer; }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.btn-login { white-space: nowrap; padding: 10px 18px; }
body.home .search { display: none; }
body.home .icon-link { display: none; }
.icon-btn, .icon-link {
  width: 40px; height: 40px; border: 0; background: transparent;
  display: grid; place-items: center; position: relative; cursor: pointer; color: var(--ink);
}
.burger, .burger:before, .burger:after {
  display: block; width: 18px; height: 1.4px; background: currentColor; position: relative;
}
.burger:before, .burger:after { content: ""; position: absolute; left: 0; }
.burger:before { top: -6px; } .burger:after { top: 6px; }
.badge {
  position: absolute; top: 4px; right: 2px;
  background: #111; color: #fff; border-radius: 99px;
  min-width: 16px; height: 16px; font-size: 10px; display: grid; place-items: center; padding: 0 4px;
}
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: #111; color: #fff; display: grid; place-items: center; font-weight: 700;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 0; padding: 11px 18px; border: 1px solid #111; cursor: pointer;
  font-weight: 600; font-size: 13px; letter-spacing: .02em;
}
.btn-primary { background: #111; color: #fff; }
.btn-ghost { background: transparent; border-color: #111; color: #111; }
.btn-line { background: #fff; border-color: var(--line); color: #111; }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.25);
  opacity: 0; pointer-events: none; transition: .25s; z-index: 30;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.sidemenu {
  position: fixed; inset: 0 auto 0 0; width: min(400px, 92vw);
  background: #fff; z-index: 40; transform: translateX(-105%);
  transition: .28s ease; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.sidemenu.open { transform: none; }
.sidemenu-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.sidemenu-nav { overflow: auto; padding: 10px 8px 30px; }
.sidemenu-nav > a, .menu-group summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: 0; font-weight: 600;
}
.menu-group { border-bottom: 1px solid #f0f0f0; }
.menu-group summary { list-style: none; cursor: pointer; }
.menu-group summary::-webkit-details-marker { display: none; }
.menu-group summary:after { content: "▾"; color: var(--muted); }
.menu-children { display: flex; flex-direction: column; padding: 0 10px 10px 22px; }
.menu-children a { padding: 8px 0; color: var(--muted); }

.flash-bar { border-bottom: 1px solid var(--line); }
.flash-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
}
.flash { margin: 0; padding: 0; }
.flash-ok, .flash-sucesso { color: #027a48; }
.flash-erro { color: #b42318; }
.flash-info, .flash-aviso { color: #b54708; }
.flash-bar:has(.flash-ok), .flash-bar:has(.flash-sucesso) { background: #f3f8f4; }
.flash-bar:has(.flash-erro) { background: #fef3f2; }
.flash-bar:has(.flash-info), .flash-bar:has(.flash-aviso) { background: #fffaeb; }

.hero {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
.hero-card {
  min-height: 380px; border-radius: 0; overflow: hidden; position: relative;
  background: #f6f6f6;
  color: #111; display: flex; align-items: flex-end; padding: 48px 40px;
  border-bottom: 0;
}
.hero-card.has-banner { padding: 0; }
.hero-banner-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero-card.has-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.55) 52%, rgba(255,255,255,0) 100%);
}
.hero-banner-content { position: relative; z-index: 1; padding: 48px 40px; max-width: 640px; }
.hero-kicker { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; margin: 0 0 10px; }
.hero-ad { display: block; padding: 0; min-height: 0; align-items: stretch; }
.hero-ad img { width: 100%; height: auto; min-height: 240px; max-height: 480px; object-fit: cover; display: block; }
.hero-card h1 {
  font-family: "Cormorant Garamond", serif; font-size: clamp(40px, 6vw, 68px);
  font-weight: 600; margin: 0 0 12px; line-height: .95;
}
.hero-card p { max-width: 540px; color: #444; }
.banner-preview { width: min(100%, 640px); height: 220px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 40px 24px 72px; }
.section-title {
  display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 10px 0 28px;
}
.section-title h2 { font-family: "Cormorant Garamond", serif; font-size: 36px; margin: 0; font-weight: 600; }
.muted { color: var(--muted); }

.brand-grid, .product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px;
  align-items: stretch;
}
.brand-card, .product-card {
  background: #fff; border-radius: 0; overflow: hidden;
  border: 0; transition: opacity .2s; min-width: 0;
}
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card > a { display: block; overflow: hidden; }
.brand-card:hover, .product-card:hover { opacity: .88; }
.brand-visual, .product-visual {
  height: 240px; display: grid; place-items: center; position: relative;
  background: #f6f6f6; overflow: hidden; min-width: 0; min-height: 0;
}
.product-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  max-height: none;
  background: #fff;
  display: block;
  overflow: hidden;
}
.brand-visual svg, .product-visual svg { width: 56px; height: 56px; }
.product-visual svg { position: absolute; inset: 0; margin: auto; }
.brand-visual img {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  object-fit: cover; display: block;
}
.product-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  object-fit: contain; object-position: center; display: block; background: #fff;
}
.product-hero .visual img {
  width: 100%; height: auto; max-width: 100%; max-height: none;
  object-fit: contain; display: block; background: #fff;
}
.visual-zoom {
  display: block; width: 100%; padding: 0; border: 0; background: transparent;
  cursor: zoom-in; line-height: 0;
}
.foto-popup {
  position: relative; border: 0; padding: 12px; background: #fff;
  max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px);
  overflow: auto;
}
.foto-popup::backdrop { background: rgba(17, 17, 17, .72); }
.foto-popup img {
  display: block; width: auto; height: auto;
  max-width: min(920px, calc(100vw - 48px));
  max-height: calc(100dvh - 72px);
  object-fit: contain;
}
.foto-fechar {
  position: absolute; top: 8px; right: 8px;
  width: 36px; height: 36px; border: 0; background: #fff;
  font-size: 24px; line-height: 1; cursor: pointer;
}
.product-body { display: flex; flex-direction: column; flex: 1; }
.product-card .card-actions { margin-top: auto; }
.family-hero {
  height: 240px; background: #f6f6f6; margin: 0 0 28px; overflow: hidden;
}
.family-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-card figcaption, .product-body { padding: 16px 0 8px; }
.brand-card h3, .product-body h3 { margin: 0 0 4px; font-size: 18px; font-family: "Cormorant Garamond", serif; font-weight: 600; }
.product-ref { color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip {
  font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 0; background: #f6f6f6; color: #333;
}
.chip.ok { background: #f3f8f4; color: #027a48; }
.chip.esgotado { background: #fef3f2; color: #b42318; }
.chip.promo { background: #fffaeb; color: #b54708; }
.chip.breve { background: #f5f5f5; color: #344054; }
.price { font-weight: 700; font-size: 18px; }
.price-hidden { color: var(--muted); font-size: 13px; }
.card-actions { display: flex; gap: 8px; align-items: stretch; flex-wrap: nowrap; }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.pager-start { justify-content: flex-start; margin-top: 16px; }
.page-jump { display: flex; gap: 8px; align-items: center; margin: 0; }
.page-jump label { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.page-jump select { height: 40px; min-width: 4.5rem; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; }
.card-add { display: flex; gap: 8px; align-items: stretch; flex-wrap: nowrap; }
.qty-stepper {
  display: inline-flex;
  align-items: stretch;
  flex: 0 0 auto;
  width: auto;
  border: 1px solid var(--line);
  background: #fff;
}
.qty-btn {
  width: 32px;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.qty-btn:hover { background: #f6f6f6; }
.qty,
input.qty[type=number] {
  width: 36px;
  padding: 8px 2px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  text-align: center;
  -moz-appearance: textfield;
}
.qty::-webkit-outer-spin-button,
.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.page-head { margin-bottom: 22px; }
.page-head h1 { font-family: "Cormorant Garamond", serif; font-size: 48px; margin: 0; font-weight: 600; }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.crumbs a:hover { text-decoration: underline; }

.product-hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px;
  background: #fff; border-radius: 0; overflow: hidden; border: 0;
  align-items: start;
}
.product-hero .visual {
  height: auto; min-height: 0; min-width: 0;
  display: block; background: #fff; overflow: hidden;
}
.product-hero .info { padding: 16px 0; min-width: 0; }
.product-hero h1 { font-family: "Cormorant Garamond", serif; font-size: 46px; margin: 8px 0 12px; font-weight: 600; }
.buy-box { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; }

.auth-wrap { min-height: 60vh; display: grid; place-items: center; padding: 48px 20px; }
.auth-card {
  width: min(480px, 100%); background: #fff; border-radius: 0;
  padding: 8px 0 32px; border: 0; box-shadow: none;
}
.auth-card h1 { font-family: "Cormorant Garamond", serif; margin-top: 0; font-size: 40px; font-weight: 600; }
label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number]:not(.qty), textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; background: #fff;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.help { font-size: 13px; color: var(--muted); margin-top: 16px; }

.table-wrap { overflow: auto; background: #fff; border-radius: 0; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cart-total { display: flex; justify-content: flex-end; padding: 18px 0 0; font-size: 20px; font-weight: 700; }
.totals-iva {
  margin: 20px 0 0 auto;
  width: min(360px, 100%);
  display: grid;
  gap: 8px;
}
.totals-iva > div { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.totals-iva-total { color: #111; font-size: 18px; padding-top: 8px; border-top: 1px solid var(--line); }
.empty { padding: 60px 20px; text-align: center; background: #fff; border-radius: 0; }

.account-grid { display: grid; grid-template-columns: 280px 1fr; gap: 22px; }
.account-nav { background: #fff; border-radius: 0; padding: 0; border: 1px solid var(--line); display: flex; flex-direction: column; }
.account-nav a { padding: 12px 14px; border-radius: 0; }
.account-nav a.active, .account-nav a:hover { background: #f6f6f6; }
.panel { background: #fff; border-radius: 0; padding: 24px; border: 1px solid var(--line); }

.site-footer { background: #fff; color: #111; margin-top: 20px; border-top: 1px solid var(--line); }
.footer-grid { max-width: 1280px; margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.site-footer h3 { font-family: "Cormorant Garamond", serif; font-size: 24px; margin: 0 0 12px; font-weight: 600; }
.site-footer a, .site-footer p { display: block; color: #555; margin: 8px 0; line-height: 1.5; }
.footer-hours { line-height: 1.65; }
.site-footer a:hover { color: #111; }
.footer-bottom { border-top: 1px solid var(--line); max-width: 1280px; margin: 0 auto; padding: 16px 24px 28px; display: flex; justify-content: space-between; gap: 12px; color: #777; font-size: 13px; }

.admin-body { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: #fff; }
.admin-side { background: #fff; color: #111; padding: 22px 16px; border-right: 1px solid var(--line); }
.admin-side .logo { color: #111; margin-bottom: 28px; }
.admin-side nav { display: flex; flex-direction: column; gap: 4px; }
.admin-side nav a { padding: 10px 12px; border-radius: 0; color: #333; }
.admin-side nav a:hover { background: #f6f6f6; color: #111; }
.admin-main { padding: 28px; }
.admin-main .flash-bar { margin: -28px -28px 22px; padding: 0 28px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { background: #fff; border-radius: 0; padding: 18px; border: 1px solid var(--line); }
.stat b { display: block; font-size: 28px; font-family: "Cormorant Garamond", serif; }

.barcode-box {
  margin: 16px 0 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  width: fit-content;
  max-width: 100%;
}
.barcode-svg { display: block; width: min(280px, 100%); height: auto; }

.image-upload { margin-top: 22px; }
.image-upload-box { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.image-preview-wrap {
  width: 220px; height: 220px; background: #f6f6f6; border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
}
.image-preview-wrap img { width: 100%; height: 100%; object-fit: contain; }
.image-placeholder { color: var(--muted); font-size: 13px; }
.inline-check { display: flex; align-items: center; gap: 8px; font-weight: 500; margin-top: 10px; }
.table-thumb { width: 40px; height: 40px; object-fit: cover; vertical-align: middle; margin-right: 8px; background: #f6f6f6; }

.faq details { background: #fff; border-radius: 0; padding: 14px 0; margin-bottom: 0; border: 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; }

.home-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f6f6f6;
  overflow: hidden;
}
.home-hero.has-image { color: #fff; }
.home-hero-slides { position: absolute; inset: 0; }
.home-hero-slides::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(17, 17, 17, .35);
}
.home-hero.has-image::after { display: none; }
.home-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .9s ease;
}
.home-hero-img.is-active { opacity: 1; }
.home-hero-nav {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; padding: 0; border: 0;
  display: grid; place-items: center;
  background: rgba(17, 17, 17, .72); color: #fff; cursor: pointer;
}
.home-hero-nav:hover { background: #111; }
.home-hero-prev { left: 12px; }
.home-hero-next { right: 12px; }
.home-hero-dots {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 16px;
  display: flex; justify-content: center; gap: 8px;
}
.home-hero-dot {
  width: 9px; height: 9px; border: 0; padding: 0; border-radius: 50%;
  background: rgba(255,255,255,.5); box-shadow: 0 0 0 1px rgba(0,0,0,.25);
  cursor: pointer;
}
.home-hero-dot.is-active { background: #fff; }
.banner-slides { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.banner-slide {
  width: 180px; display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; font-weight: 500;
}
.banner-slide img { width: 100%; height: 96px; object-fit: cover; background: #f6f6f6; display: block; }
.home-hero.has-image::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(17, 17, 17, .35);
}
.home-hero-inner { position: relative; z-index: 1; padding: 56px 24px; max-width: 680px; }
.home-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600; margin: 0 0 16px; line-height: 1.05;
}
.home-hero-text { margin: 0 auto 28px; max-width: 560px; font-size: 16px; line-height: 1.55; }
.home-hero.has-image .home-hero-text,
.home-hero.has-image .hero-kicker { color: #f3f3f3; }
.home-hero-cta { min-width: 200px; padding: 14px 28px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.home-section, .home-team { max-width: 1280px; margin: 0 auto; padding: 72px 24px; text-align: center; }
.home-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px; font-weight: 600; margin: 0 0 36px;
  letter-spacing: .04em;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 22px;
}
.collection-card { display: block; }
.collection-visual {
  width: 180px; height: 180px; margin: 0 auto 16px;
  border-radius: 50%; overflow: hidden;
  background: #f6f6f6;
  display: grid; place-items: center;
}
.collection-visual img { width: 100%; height: 100%; object-fit: cover; }
.collection-visual svg { width: 48px; height: 48px; }
.collection-card h3 {
  margin: 0; font-size: 16px; font-weight: 600;
  letter-spacing: .04em;
}
.collection-card:hover { opacity: .82; }
.home-pro { background: #111; color: #fff; text-align: center; padding: 80px 24px; }
.home-pro-inner { max-width: 720px; margin: 0 auto; }
.home-pro h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 4vw, 42px); font-weight: 600; margin: 0 0 18px;
}
.home-pro p { color: #d4d4d4; line-height: 1.6; margin: 0 0 12px; }
.home-pro-actions { justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.home-pro .btn-primary { background: #fff; color: #111; border-color: #fff; }
.home-pro .btn-ghost { color: #fff; border-color: #fff; }
.home-stats {
  max-width: 1100px; margin: 0 auto; padding: 64px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}
.home-stat b {
  display: block; font-family: "Cormorant Garamond", serif;
  font-size: 48px; font-weight: 600; line-height: 1;
}
.home-stat span { display: block; margin-top: 8px; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: var(--muted); }
.home-team p { margin: 0 auto 24px; max-width: 520px; }

@media (max-width: 980px) {
  .brand-grid, .product-grid, .product-hero, .account-grid, .footer-grid, .stats, .form-grid, .admin-body, .collection-grid, .home-stats { grid-template-columns: 1fr 1fr; }
  .hide-sm { display: none; }
  .logo-img { height: 40px; }
  .top-nav { display: none; }
  .topbar-inner { flex-wrap: wrap; padding: 12px 16px; }
  .search { display: flex; order: 5; flex: 1 1 100%; max-width: none; min-width: 0; }
  body.home .search { display: flex; }
  .hero-card { min-height: 280px; padding: 28px 20px; }
  .hero-card.has-banner { padding: 0; }
  .hero-banner-content { padding: 28px 20px; }
  .product-hero .visual { height: auto; overflow: visible; }
  .product-hero .info { padding: 8px 0 24px; }
  .product-hero .visual img, .visual-zoom { max-width: 100%; height: auto; }
  .home-hero.has-image { min-height: 0; display: block; overflow: hidden; color: #111; }
  .home-hero-slides {
    position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 220px; background: #f6f6f6;
  }
  .home-hero-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    max-height: none; object-fit: contain;
  }
  .home-hero-slides::after { display: none; }
  .home-hero.has-image .home-hero-text,
  .home-hero.has-image .hero-kicker { color: #444; }
  .home-hero-inner { position: relative; padding: 28px 20px 8px; max-width: none; }
  .home-hero-nav { width: 36px; height: 36px; background: rgba(255,255,255,.92); color: #111; }
  .home-hero-nav:hover { background: #fff; }
  .home-hero-prev { left: 8px; }
  .home-hero-next { right: 8px; }
  .home-hero-dot { background: rgba(17,17,17,.28); }
  .home-hero-dot.is-active { background: #111; }
  .family-hero { height: auto; overflow: visible; }
  .family-hero img { width: 100%; height: auto; object-fit: contain; }
  .brand-visual {
    height: auto; max-height: none; aspect-ratio: auto; overflow: visible;
  }
  .product-visual {
    aspect-ratio: 1 / 1; height: auto; max-height: none; overflow: hidden;
  }
  .brand-visual img, .collection-visual img, .hero-banner-img, .hero-ad img {
    width: 100%; height: auto; max-height: none; object-fit: contain;
  }
  .product-visual img {
    position: absolute; inset: 0; width: 100%; height: 100%; max-height: 100%;
    object-fit: contain; object-position: center;
  }
  .collection-visual {
    width: min(100%, 220px); height: auto; border-radius: 0; overflow: visible;
  }
  .product-card > a { overflow: visible; }
  .hero-banner-img { position: relative; inset: auto; }
  .admin-side { display: flex; gap: 16px; overflow: auto; padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-side nav { flex-direction: row; }
  .home-hero { min-height: 420px; }
}

@media (max-width: 640px) {
  .collection-grid, .home-stats, .product-hero, .product-grid, .brand-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-hero .visual { height: auto; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
}

.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: #111;
  color: #fff;
  padding: 18px 24px;
}
.cookie-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-banner p { margin: 0; color: #ddd; font-size: 14px; line-height: 1.5; max-width: 760px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner .btn-line { background: transparent; color: #fff; border-color: #fff; }
.cookie-banner .btn-primary { background: #fff; color: #111; border-color: #fff; }
.import-foto { width: 72px; height: 72px; object-fit: contain; background: #fff; display: block; }
.import-nova { color: #1d6b3a; font-weight: 600; }
.import-substitui { color: #8a4b08; font-weight: 600; display: block; margin-bottom: 6px; }
