:root {
  --black: #050505;
  --ink: #121212;
  --muted: #737373;
  --line: #e8e8e8;
  --paper: #ffffff;
  --soft: #f5f5f2;
  --accent: #111111;
  --font: "Inter", Arial, sans-serif;
  --display: "Inter", Arial, sans-serif;
  --ticker-height: 32px;
  --header-height: 112px;
  --header-stack-height: 0px;
}

* { box-sizing: border-box; }
html {
  width: 100%;
  scroll-behavior: smooth;
}
body {
  width: 100%;
  min-width: 0;
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
main {
  display: block;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}
body:not(.admin-shell) main {
  background: var(--paper);
  transition: margin-top .24s ease;
}
body:not(.admin-shell).is-header-hidden main {
  margin-top: calc(var(--header-stack-height) * -1);
}

.top-ticker {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  height: var(--ticker-height);
  overflow: hidden;
  background: #000;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.top-ticker,
.topbar {
  transition: transform .24s ease, box-shadow .24s ease;
  will-change: transform;
}
.top-ticker-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
  gap: 32px;
  padding-left: 32px;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-loop 26s linear infinite;
}
.top-ticker:hover .top-ticker-track { animation-play-state: paused; }
.top-ticker-track span {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  align-items: start;
  gap: 6px;
  min-height: 0;
  padding: 10px 10px 12px;
  background: var(--black);
  color: white;
  border-bottom: 1px solid #242424;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
}
body.is-header-hidden .top-ticker {
  transform: translateY(-100%);
}
body.is-header-hidden .topbar {
  transform: translateY(calc(-100% - var(--ticker-height)));
  box-shadow: none;
}
.topbar-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
}
.brand-cluster {
  display: flex;
  align-items: center;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  gap: 8px;
}
.brand {
  display: grid;
  justify-items: center;
  align-content: center;
  min-width: 0;
  text-align: center;
}
.brand-mark {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  padding: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.header-search {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  width: 100%;
  justify-self: stretch;
  margin: 0;
}
.header-search input {
  width: 100%;
  min-height: clamp(40px, 5vw, 46px);
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: rgba(255,255,255,.97);
  color: var(--black);
  padding: 0 clamp(44px, 6vw, 52px) 0 clamp(14px, 3vw, 20px);
  font-size: clamp(.85rem, 2vw, .92rem);
  font-weight: 600;
  outline: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.16);
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.header-search input::placeholder {
  color: rgba(5,5,5,.46);
  font-weight: 500;
}
.header-search input:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.header-search input:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(5,5,5,.12), 0 6px 20px rgba(0,0,0,.2);
}
.header-search button {
  position: absolute;
  top: 50%;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(32px, 4.5vw, 38px);
  height: clamp(32px, 4.5vw, 38px);
  border: 0;
  border-radius: 999px;
  background: var(--black);
  color: white;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.header-search button:hover {
  background: #2b2b2b;
  color: white;
}
.header-search button:active {
  transform: translateY(-50%) scale(.9);
}
.header-search svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Navegação horizontal abaixo da barra de pesquisa */
.nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 20px;
  width: 100%;
  padding-top: 2px;
}
.nav > a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0;
}
.nav > a svg,
.nav-item summary svg,
.nav-item summary + .nav-menu a svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav a,
.nav summary,
.footer a,
.filters a,
.section-head a {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav a,
.nav summary {
  color: rgba(255,255,255,.82);
}
.nav-item {
  position: static;
}
.nav-item summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: color .18s ease;
}
.nav > a:hover,
.nav-item summary:hover,
.nav-item[open] summary {
  color: white;
}
.nav-item summary::-webkit-details-marker {
  display: none;
}
.nav-item summary::after {
  content: "";
  width: 5px;
  height: 5px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}
.nav-item[open] summary::after {
  transform: translateY(1px) rotate(225deg);
}
.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 2px 18px;
  max-height: min(60vh, 420px);
  overflow-y: auto;
  padding: 18px 18px 14px;
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  box-shadow: 0 26px 60px rgba(0,0,0,.5);
}
.nav-item:not([open]) .nav-menu { display: none; }
.nav-item[open] .nav-menu {
  display: grid;
  animation: nav-menu-in .18s ease;
}
@keyframes nav-menu-in {
  from { opacity: 0; transform: translateY(-6px); }
}
.nav-menu a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0;
  color: rgba(255,255,255,.7);
  transition: color .18s ease;
}
.nav-menu a:hover {
  color: white;
}
.icons {
  display: flex;
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.82);
  background: white;
  color: var(--black);
  cursor: pointer;
  border-radius: 999px;
}
.icon-btn {
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,.16);
}
.icon-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-btn span {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 5px;
  border: 1px solid white;
  border-radius: 999px;
  background: var(--accent);
  color: var(--black);
}
.bag-icon {
  gap: 4px;
}
.bag-icon span {
  font-size: .72rem;
  font-weight: 900;
}
.header-logout { margin: 0; }
.admin-shell {
  min-height: 100svh;
  background: #f6f7f8;
  color: #121417;
}
.hero {
  position: relative;
  min-height: min(58svh, 520px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0a0a0a;
}
.home-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.home-hero {
  height: auto;
  min-height: 0;
  margin-top: 0;
  aspect-ratio: 4 / 5;
}
.home-hero picture {
  display: block;
}
.home-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.home-hero::after {
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.18));
}
/* Carrossel de banners da home */
.hero-slides {
  position: absolute;
  inset: 0;
}
.home-hero .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .5s ease;
}
.home-hero .hero-slide.is-active {
  opacity: 1;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(36px, 5vw, 46px);
  height: clamp(36px, 5vw, 46px);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(5,5,5,.45);
  color: white;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(4px);
  transition: background .18s ease, border-color .18s ease;
}
.hero-arrow:hover {
  background: rgba(5,5,5,.78);
  border-color: rgba(255,255,255,.6);
}
.hero-prev { left: clamp(10px, 2vw, 24px); }
.hero-next { right: clamp(10px, 2vw, 24px); }
.hero-arrow svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.hero-dot:hover { background: rgba(255,255,255,.75); }
.hero-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.62) 70%, rgba(0,0,0,.84));
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: 24px 16px 22px;
  color: white;
}
.hero-copy:empty { padding: 0; }
.hero-copy span,
.section-head span,
.page-title span,
.about span,
.buybox > span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-copy span { color: #fff; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: .96; letter-spacing: 0; }
.hero h1 { font-size: clamp(3rem, 18vw, 5.8rem); }
.hero p { max-width: 520px; color: rgba(255,255,255,.78); font-size: .96rem; line-height: 1.6; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--black);
  background: white;
  color: var(--black);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn.dark { background: var(--black); color: white; }
.btn:hover { background: var(--black); color: white; }
.btn.dark:hover { background: white; color: var(--black); }
.strip {
  display: grid;
  grid-template-columns: 1fr;
  border-block: 1px solid var(--line);
}
.strip b {
  padding: 18px;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .08em;
}
.strip b + b { border-top: 1px solid var(--line); }
.section, .page-title, .shop-layout, .product-page, .cart, .checkout, .admin, .order-done, .account, .account-auth {
  padding: 24px 14px;
}
.page-title {
  padding-bottom: 10px;
}
.page-title + .shop-layout,
.page-title + .cart,
.page-title + .checkout,
.page-title + .account,
.page-title + .account-auth {
  padding-top: 0;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-head h2,
.page-title h1,
.about h2 { max-width: 760px; font-size: clamp(1.9rem, 12vw, 3.2rem); text-transform: uppercase; }
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.product-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  overflow-wrap: anywhere;
  align-content: start;
}
.product-img,
.product-photo,
.mini {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.78), transparent 18%),
    linear-gradient(145deg, color-mix(in srgb, var(--tone), white 38%), var(--tone) 42%, color-mix(in srgb, var(--tone), black 42%));
}
.product-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  overflow: hidden;
  border-radius: 16px;
}
.product-img img,
.product-photo img,
.produto-detalhe img,
.product-detail img,
.thumbs img,
.mini img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.product-img.has-photo,
.product-photo.has-photo,
.mini.has-photo,
.thumbs button.has-photo {
  background: #fff;
}
.product-img::before,
.product-photo::before {
  content: "";
  position: absolute;
  inset: 17% 24% 10%;
  border-radius: 44% 44% 8px 8px;
  background: rgba(0,0,0,.68);
  clip-path: polygon(24% 0, 76% 0, 100% 24%, 85% 100%, 15% 100%, 0 24%);
}
.product-img.has-photo::before,
.product-photo.has-photo::before {
  display: none;
}
.product-img span {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-card h3 {
  font-size: .8rem;
  line-height: 1.24;
}
.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.35;
}
.product-card strong {
  font-size: .9rem;
  line-height: 1;
}
.product-card-meta {
  display: grid;
  gap: 8px;
  align-items: start;
}
.card-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 24px;
}
.card-sizes small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font-size: .62rem;
  font-weight: 900;
}
.card-sizes.is-empty {
  min-height: 24px;
}
.ink .card-sizes small {
  border-color: rgba(255,255,255,.22);
  color: white;
  background: #111;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--black);
}
.feature-grid a {
  display: grid;
  min-height: 132px;
  place-items: end start;
  padding: 14px;
  background: var(--soft);
  font-family: var(--display);
  font-size: clamp(1.3rem, 7vw, 2.2rem);
  font-weight: 700;
  line-height: .95;
}
.brand-grid {
  background: transparent;
}
.brand-grid a {
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  color: var(--black);
  cursor: pointer;
  transition:
    background .28s ease,
    color .28s ease,
    border-color .28s ease,
    transform .28s ease,
    box-shadow .28s ease;
}
.brand-grid a span {
  display: inline-block;
  transform-origin: left center;
  transition: transform .28s ease;
}
.brand-grid a:hover,
.brand-grid a:active {
  background: #111;
  color: #fff;
  border-color: #111;
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0,0,0,.14);
}
.brand-grid a:hover span,
.brand-grid a:active span {
  transform: scale(1.02);
}
.brand-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.brand-card {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.brand-card:hover,
.brand-card:active {
  transform: translateY(-4px);
  border-color: #111;
  box-shadow: 0 20px 38px rgba(0,0,0,.1);
}
.brand-card--dark {
  background: #000;
  border-color: #000;
}
.brand-card--dark small {
  color: #fff;
}
.brand-card-mark {
  display: grid;
  width: min(100%, 124px);
  aspect-ratio: 1 / 1;
  place-items: center;
  padding: 0;
}
.brand-card-mark.has-logo {
  padding: 0;
}
.brand-card-mark.is-empty {
  width: 92px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 800;
}
.brand-card-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-card small {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}
.brand-spotlight {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 10px;
}
.brand-spotlight-mark {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  padding: 0;
}
.brand-spotlight-mark.has-logo {
  padding: 0;
}
.brand-spotlight-mark.is-empty {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 800;
}
.brand-spotlight-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ink { background: var(--black); color: white; }
.ink .product-card p, .ink .section-head span { color: rgba(255,255,255,.62); }
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 28px 14px;
  border-top: 1px solid var(--line);
}
.about p { margin: 0; color: var(--muted); line-height: 1.7; font-size: .98rem; }

.shop-layout { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
.shop-results { min-width: 0; }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.filters b {
  width: 100%;
  font-size: .75rem;
}
.filters a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  white-space: nowrap;
}
.filters a.is-active {
  background: var(--black);
  border-color: var(--black);
  color: white;
}
.sort { display: flex; justify-content: flex-end; margin: 0 0 14px; }
.sort select, label input:not([type="radio"]):not([type="checkbox"]), label select, textarea, .qty, .frete input, [data-order-search] {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: white;
}
.sort select {
  width: 100%;
  min-height: 50px;
  padding: 0 42px 0 16px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.sort select:hover {
  border-color: #111;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}
.sort select:focus {
  border-color: #111;
  box-shadow: 0 0 0 4px rgba(0,0,0,.06);
  outline: 0;
}
textarea { min-height: 96px; padding: 12px; }

.product-page { display: grid; grid-template-columns: 1fr; gap: 22px; }
.gallery { display: grid; gap: 10px; align-content: start; }
.product-photo,
.produto-detalhe img,
.product-detail img {
  position: relative;
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 5;
  height: auto;
  overflow: hidden;
  border-radius: 18px;
}
.product-photo {
  justify-self: start;
}
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 8px; }
.thumbs span,
.thumbs button {
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
}
.thumbs button:hover { border-color: var(--black); }
.buybox { display: grid; align-content: start; gap: 18px; }
.buybox h1 { font-size: clamp(2rem, 10vw, 3.4rem); }
.buybox strong { font-size: 1.35rem; }
.buybox p { margin: 0; color: var(--muted); line-height: 1.7; }
.buybox .btn { width: 100%; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes label { position: relative; }
.sizes input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
}
.sizes span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 42px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 800;
}
.sizes input:checked + span { background: var(--black); color: white; }
.frete { display: grid; grid-template-columns: 1fr; gap: 8px; }
.frete small { grid-column: 1 / -1; color: var(--muted); }
.frete button { border: 1px solid var(--black); background: white; padding: 0 14px; font-weight: 800; }

.cart, .checkout { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.cart-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row input, .cart-row strong { grid-column: 2; }
.cart-row input {
  max-width: 92px;
}
.cart-row strong {
  font-size: .95rem;
}
.mini { width: 70px; height: 86px; overflow: hidden; border-radius: 14px; }
.cart-row b {
  display: block;
  line-height: 1.3;
}
.cart-row span { display: block; margin-top: 6px; color: var(--muted); font-size: .8rem; }
.summary {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 18px;
}
.summary p { display: flex; justify-content: space-between; gap: 12px; margin: 0; color: var(--muted); }
.summary h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
}
.summary > span,
.summary > b,
.summary > strong {
  line-height: 1.35;
}
.summary hr { width: 100%; border: 0; border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
label { display: grid; gap: 7px; font-size: .76rem; font-weight: 900; text-transform: uppercase; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .btn {
  width: 100%;
}
.muted-field { opacity: .48; }
.checkout-error {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #f3b4ac;
  background: #fff4f2;
  color: #b42318;
  font-size: .82rem;
  font-weight: 800;
}
.coupon-checkout {
  grid-template-columns: 1fr;
  align-items: end;
}
.coupon-checkout small.error {
  color: #b42318;
}

.admin-login {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: radial-gradient(circle at 25% 15%, rgba(5,5,5,.06), transparent 26%), #f6f7f8;
}
.admin-login form {
  width: min(460px, 100%);
  display: grid;
  gap: 14px;
  padding: 30px;
  border: 1px solid #e6e8eb;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}
.admin-login span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.admin-login h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  text-transform: uppercase;
}
.admin-login p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.7;
}
.admin-dashboard {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  min-height: 100svh;
  padding: 18px;
  background: #f6f7f8;
}
.admin-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: calc(100svh - 36px);
  padding: 20px;
  border-radius: 24px;
  background: #111316;
  color: white;
}
.admin-sidebar strong {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: .12em;
}
.admin-sidebar span {
  margin-bottom: 14px;
  color: rgba(255,255,255,.56);
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: rgba(255,255,255,.78);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-sidebar a.active,
.admin-sidebar a:hover {
  background: white;
  color: #111316;
}
.admin-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}
.admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
  background: white;
  border: 1px solid #e6e8eb;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .05);
}
.admin-hero-actions {
  display: grid;
  gap: 12px;
}
.admin-hero-actions form {
  margin: 0;
}
.admin-shell .btn {
  border-radius: 14px;
}
.admin-hero span,
.admin-section-head span,
.admin-metrics span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.admin-hero h1 {
  margin-top: 8px;
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  text-transform: uppercase;
}
.admin-hero p {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.admin-metrics article,
.admin-card {
  border: 1px solid #e6e8eb;
  border-radius: 22px;
  background: white;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .045);
}
.admin-metrics article {
  display: grid;
  gap: 8px;
  padding: 20px;
}
.admin-metrics b {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
}
.admin-metrics small,
.dash-row span,
.order-admin small,
.customer-admin small,
.customer-admin span {
  color: var(--muted);
}
.admin-grid.pro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.admin-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
}
.admin-card.wide {
  min-width: 0;
}
.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f2;
}
.admin-section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
[data-order-search] {
  flex: 1 1 220px;
  max-width: 320px;
}
.admin-section-head h2 {
  font-size: 1.35rem;
  text-transform: uppercase;
}
.admin-section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.admin-section-head a {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f2;
}
.admin-form,
.admin-line,
.order-admin,
.customer-admin {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #edf0f2;
}
.customer-list {
  display: grid;
  gap: 10px;
}
.customer-list-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  border: 1px solid #edf0f2;
  background: #fafafa;
  color: #111316;
  padding: 0 16px;
  text-align: left;
  cursor: pointer;
}
.customer-list-card b {
  font-size: .94rem;
}
.customer-list-card span {
  color: var(--muted);
  font-size: .82rem;
}
.customer-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 20px;
}
.customer-modal.open {
  display: grid;
}
.customer-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 19, 22, .42);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.customer-modal-panel {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  max-height: min(760px, calc(100svh - 40px));
  overflow: auto;
  display: grid;
  gap: 18px;
  border: 1px solid #e6e8eb;
  border-radius: 22px;
  background: white;
  padding: 22px;
  box-shadow: 0 28px 90px rgba(15, 23, 42, .22);
}
.customer-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f2;
}
.customer-modal-head span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.customer-modal-head h2 {
  margin-top: 6px;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  text-transform: uppercase;
}
.customer-modal-head p {
  margin: 8px 0 0;
  color: var(--muted);
}
.customer-modal-head button {
  align-self: start;
  min-height: 40px;
  border: 1px solid #111316;
  background: white;
  padding: 0 14px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.customer-admin.editable {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}
.customer-admin.modal-form {
  padding: 0;
  border-bottom: 0;
}
.customer-head,
.customer-actions {
  grid-column: 1 / -1;
}
.customer-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.customer-actions {
  display: flex;
  gap: 8px;
}
.customer-actions button {
  min-height: 40px;
  border: 1px solid #111316;
  background: #111316;
  color: white;
  padding: 0 14px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.customer-actions button + button {
  background: white;
  color: #111316;
}
.orders-export-modal .customer-modal-panel {
  width: min(460px, 100%);
}
.order-export-actions {
  display: grid;
  gap: 10px;
}
.order-export-actions .btn {
  width: 100%;
}
.shipping-admin-grid {
  grid-template-columns: 1fr;
}
.shipping-panel {
  box-shadow: none;
}
.coupon-form {
  margin-bottom: 12px;
}
.coupon-row span {
  display: grid;
  align-items: center;
}
.coupon-row .product-actions {
  flex-wrap: wrap;
}
.product-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  padding: 0 0 18px;
}
.admin-form input,
.admin-form select,
.admin-form textarea,
.order-admin input,
.order-admin select {
  border-radius: 14px;
}
.product-admin {
  gap: 22px;
}
.product-form.clean {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid #edf0f2;
  border-radius: 18px;
  background: #fafafa;
}
.product-form.clean label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #3f4650;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-form.clean input,
.product-form.clean select,
.product-form.clean textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  background: white;
  color: #111316;
  padding: 0 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.product-form.clean input[type="file"] {
  min-height: auto;
  padding: 12px;
}
.product-form.clean label small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.product-form.clean textarea {
  min-height: 112px;
  padding: 14px;
  resize: vertical;
}
.product-form.clean input:focus,
.product-form.clean select:focus,
.product-form.clean textarea:focus {
  border-color: #111316;
  box-shadow: 0 0 0 4px rgba(17, 19, 22, .08);
}
.product-form.clean .full {
  grid-column: span 2;
}
.product-form.clean button {
  align-self: end;
  min-height: 48px;
}
.product-form.clean .cancel-edit {
  align-self: end;
  border-radius: 14px;
  background: white;
}
.taxonomy-form {
  margin-bottom: 18px;
  border-color: #dfe3e8;
  background: #f8f9fa;
}
.taxonomy-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.taxonomy-card {
  display: grid;
  gap: 8px;
  min-height: 138px;
  border: 1px solid #dfe3e8;
  border-radius: 18px;
  background: white;
  color: #111316;
  padding: 18px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.taxonomy-card:hover {
  border-color: #111316;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
  transform: translateY(-2px);
}
.taxonomy-card span,
.taxonomy-group-title {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.taxonomy-card b {
  font-family: var(--display);
  font-size: 2.6rem;
}
.taxonomy-card small {
  color: var(--muted);
  font-size: .82rem;
}
.taxonomy-editor-list {
  display: grid;
  gap: 10px;
}
.taxonomy-group-title {
  padding: 14px 2px 2px;
}
.taxonomy-editor-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid #edf0f2;
  border-radius: 16px;
  background: #fafafa;
}
.taxonomy-edit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  background: white;
  color: #111316;
  font-size: 1rem;
}
.taxonomy-editor-row label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.taxonomy-editor-row input,
.taxonomy-editor-row select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  background: white;
  color: #111316;
  padding: 0 12px;
  outline: none;
}
.taxonomy-editor-row input:focus,
.taxonomy-editor-row select:focus {
  border-color: #111316;
  box-shadow: 0 0 0 4px rgba(17, 19, 22, .08);
}
.taxonomy-editor-row button {
  min-height: 42px;
  border: 1px solid #111316;
  border-radius: 14px;
  background: #111316;
  color: white;
  padding: 0 14px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.taxonomy-editor-row button + button {
  background: white;
  color: #111316;
}
.brand-editor-row {
  grid-template-columns: 40px 58px minmax(140px, .7fr) minmax(220px, 1.3fr) auto auto;
}
.admin-brand-logo {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  align-self: end;
  overflow: hidden;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  background: #fff;
}
.admin-brand-logo.is-empty {
  border-radius: 50%;
  background: #111316;
  color: #fff;
}
.admin-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-logo-field input[type="file"] {
  min-height: 42px;
  padding: 8px;
}
.brand-logo-field small {
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: 0;
  text-transform: none;
}
.admin-brand-feedback {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 800;
}
.admin-brand-feedback.is-success {
  background: #e9f8ef;
  color: #176b3a;
}
.admin-brand-feedback.is-error {
  background: #fff0f0;
  color: #a12626;
}
.existing-images-wrap {
  display: grid;
  gap: 4px;
  margin-top: 4px;
}
/* display:grid acima venceria o atributo hidden; reforça o none. */
.existing-images-wrap[hidden] {
  display: none;
}
.existing-images-wrap > b {
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}
.existing-images-wrap > small {
  color: #6b7280;
  margin-bottom: 6px;
}
.existing-images {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.existing-image-card {
  display: grid;
  gap: 6px;
  justify-items: stretch;
  width: 132px;
  padding: 8px;
  border: 1px solid #e4e7ea;
  border-radius: 12px;
  background: #fff;
}
.existing-image-card.is-cover {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}
.existing-images img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid #e4e7ea;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}
.existing-image-card button {
  border: 1px solid #d7dce0;
  border-radius: 999px;
  background: white;
  padding: 6px 10px;
  font-size: 11px;
  cursor: pointer;
}
.existing-image-card button:hover {
  border-color: #111;
}
.existing-image-card button.danger:hover {
  border-color: #c0182a;
  color: #c0182a;
}
.existing-image-card .cover-tag {
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.product-list {
  display: grid;
  gap: 8px;
}
.stock-admin {
  display: grid;
  gap: 18px;
}
.stock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 260px));
  align-items: start;
  justify-content: start;
  gap: 14px;
}
.stock-product-card {
  display: grid;
  width: 100%;
  max-width: 260px;
  min-width: 0;
  align-self: start;
  overflow: hidden;
  border: 1px solid #e6e8eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .045);
}
.stock-product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.78), transparent 18%),
    linear-gradient(145deg, color-mix(in srgb, var(--tone), white 38%), var(--tone) 42%, color-mix(in srgb, var(--tone), black 42%));
}
.stock-product-image.has-photo {
  padding: 10px;
  background: #fff;
  border-bottom: 1px solid #eef0f2;
}
.stock-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.stock-product-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}
.stock-product-body span,
.stock-product-body p,
.stock-product-meta small {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.stock-product-body h3 {
  margin: 0;
  font-size: .98rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.stock-product-meta {
  display: grid;
  gap: 5px;
}
.stock-product-card .product-actions {
  align-items: stretch;
  justify-content: flex-start;
  margin-top: 4px;
}
.product-row {
  grid-template-columns: minmax(180px, 1.2fr) minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #edf0f2;
  border-radius: 16px;
  background: white;
}
.product-row span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}
.admin-product-thumb {
  width: 44px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: contain;
  background: #eef0f2;
}
.product-row small {
  color: var(--muted);
}
.product-row button {
  border-radius: 12px;
}
.product-form:not(.clean) textarea,
.product-form:not(.clean) button {
  grid-column: span 2;
}
.admin-line {
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 1fr) auto auto;
  align-items: center;
}
.order-admin.pro {
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
}
.product-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.product-actions form {
  margin: 0;
}
.order-admin form {
  margin: 0;
}
.product-actions a,
.product-actions button,
.order-admin button,
.admin-line button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #111316;
  border-radius: 14px;
  background: #111316;
  color: white;
  padding: 0 14px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.product-actions a {
  background: white;
  color: #111316;
}
.order-done { min-height: 52svh; }
.order-done {
  display: grid;
  gap: 12px;
  align-content: start;
}
.order-done h2 {
  font-size: clamp(1.9rem, 10vw, 3rem);
  text-transform: uppercase;
}
.order-done p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.order-done .btn {
  margin-top: 8px;
}

.account-auth {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  gap: 14px;
  min-height: 70svh;
}
.account-auth form {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 18px;
}
.account-auth h1,
.account-panel h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  text-transform: uppercase;
}
.account-auth form .btn {
  width: 100%;
}
.login-notice {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-weight: 800;
  border-radius: 18px;
}
.account {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  min-height: 70svh;
}
.account-side {
  position: static;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 18px;
}
.account-side strong {
  font-family: var(--display);
  font-size: 1.18rem;
  text-transform: uppercase;
}
.account-side span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .8rem;
  overflow-wrap: anywhere;
}
.account-side a,
.account-side button {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  padding: 0 14px;
  text-align: left;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.account-side a {
  display: inline-flex;
  align-items: center;
}
.account-side a.active {
  background: var(--black);
  color: white;
  border-color: var(--black);
}
.account-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.account-panel .form-grid .btn {
  width: 100%;
}
.order-list {
  display: grid;
  gap: 12px;
}
.order-list article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 18px;
}
.order-list span,
.order-list small {
  color: var(--muted);
}
.order-card-head {
  display: grid;
  gap: 14px;
}
.order-card-head b {
  line-height: 1.35;
}
.order-card-head small {
  display: block;
  margin-top: 6px;
}
.order-details-toggle,
.order-actions button {
  min-height: 42px;
  border: 1px solid var(--black);
  background: white;
  color: var(--black);
  padding: 0 12px;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.order-details {
  display: none;
  gap: 14px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.order-card.details-open .order-details {
  display: grid;
}
.order-progress {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.order-progress span {
  position: relative;
  min-height: 0;
  border-top: 0;
  border-left: 4px solid var(--line);
  padding: 2px 0 2px 10px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.order-progress span.done {
  border-color: var(--black);
  color: var(--ink);
}
.order-progress.cancelled span.done {
  border-color: #d33;
}
.order-items {
  display: grid;
  gap: 8px;
}
.order-items p {
  display: grid;
  gap: 12px;
  margin: 0;
}
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.order-actions form {
  margin: 0;
}

.footer {
  display: flex;
  padding: 24px 16px;
  background: var(--black);
  color: white;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer strong { font-family: var(--display); font-size: 1.4rem; letter-spacing: .12em; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 32px;
  padding: 0;
}
.footer-brand img {
  width: auto;
  height: 100%;
  object-fit: contain;
}
.footer-label {
  display: block;
  color: rgba(255,255,255,.5);
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer-pay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}
.pay-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 0;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
  line-height: 1;
}
.pay-badge svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px 16px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.74);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.trust-badge svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-col-contact {
  gap: 11px;
}
.footer .footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
  transition: color .18s ease;
}
.footer .footer-contact-link:hover { color: #fff; }
.footer-contact-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.5);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
  text-align: center;
}

@media (min-width: 480px) {
  .section, .page-title, .shop-layout, .product-page, .cart, .checkout, .admin, .order-done, .account, .account-auth {
    padding-inline: 16px;
  }
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coupon-checkout {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .coupon-checkout input {
    grid-column: 1;
  }
  .coupon-checkout button {
    grid-column: 2;
    grid-row: 2;
    min-height: 46px;
  }
  .coupon-checkout small {
    grid-column: 1 / -1;
  }
  .account-auth {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-card-meta {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .card-sizes {
    justify-content: flex-end;
  }
  .strip, .stats { grid-template-columns: 1fr; }
  .section, .page-title, .shop-layout, .product-page, .cart, .checkout, .admin, .order-done, .account, .account-auth {
    padding: 28px 20px;
  }
  .home-hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 1920 / 720;
  }
  .home-hero img {
    object-fit: contain;
  }
  .hero-copy {
    padding: 32px 20px 28px;
  }
  .section-head h2,
  .page-title h1,
  .about h2 {
    font-size: clamp(2.2rem, 7vw, 4.2rem);
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brand-catalog {
    gap: 16px;
  }
  .brand-card {
    padding: 18px 14px;
  }
  .brand-card-mark {
    width: min(100%, 144px);
  }
  .brand-spotlight-mark {
    width: 120px;
    height: 120px;
  }
  .shop-layout, .product-page, .cart, .checkout, .admin-grid, .about, .admin-dashboard, .admin-grid.pro-grid, .admin-metrics, .product-form, .product-form.clean, .admin-line, .product-row, .order-admin.pro, .taxonomy-cards, .taxonomy-editor-row {
    grid-template-columns: 1fr;
  }
  .cart-row {
    grid-template-columns: 84px minmax(0, 1fr) 92px auto;
    gap: 16px;
    align-items: center;
  }
  .cart-row input,
  .cart-row strong {
    grid-column: auto;
  }
  .mini {
    width: 84px;
    height: 100px;
  }
  .summary {
    padding: 20px;
  }
  .account {
    grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
    gap: 24px;
  }
  .account-side {
    position: sticky;
    top: 96px;
  }
  .account-panel .form-grid .btn {
    width: fit-content;
  }
  .order-card-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
  .order-progress {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }
  .order-progress span {
    min-height: 34px;
    border-left: 0;
    border-top: 4px solid var(--line);
    padding: 8px 0 0;
    font-size: .66rem;
  }
  .order-items p {
    display: flex;
    justify-content: space-between;
  }
  .summary { padding: 20px; }
  .admin-metrics { gap: 10px; }
  .admin-card,
  .admin-hero,
  .admin-login form {
    border-radius: 18px;
  }
}

@media (max-width: 960px) {
  :root {
    --ticker-height: 26px;
  }
  .top-ticker-track {
    gap: 24px;
    padding-left: 24px;
  }
  .top-ticker-track span {
    font-size: .62rem;
    letter-spacing: .18em;
  }
  .topbar {
    gap: 5px;
    padding: 8px 10px 9px;
  }
  .topbar-main {
    gap: 8px;
  }
  .brand-mark {
    width: 72px;
    height: 72px;
  }
  .header-search input {
    min-height: 38px;
    font-size: .82rem;
  }
  .header-search button {
    width: 32px;
    height: 32px;
  }
  .icons {
    gap: 7px;
  }
  .icon-btn {
    min-width: 38px;
    height: 38px;
  }
  .icon-btn svg {
    width: 17px;
    height: 17px;
  }
  .nav {
    gap: 0 14px;
    padding-top: 0;
  }
  .nav > a,
  .nav-item summary {
    min-height: 32px;
  }
  .nav a,
  .nav summary {
    font-size: .68rem;
  }
  .nav-menu {
    max-height: min(62vh, 360px);
    padding: 14px;
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  .topbar {
    padding-inline: 10px;
  }
  .topbar-main {
    gap: 7px;
  }
  .brand-mark {
    width: 64px;
    height: 64px;
  }
  .icon-btn {
    min-width: 36px;
    height: 36px;
  }
  .header-search input {
    min-height: 36px;
    padding-left: 13px;
  }
  .header-search button {
    width: 30px;
    height: 30px;
  }
  .nav {
    gap: 0 12px;
  }
  .nav > a,
  .nav-item summary {
    min-height: 30px;
  }
  .nav a,
  .nav summary {
    font-size: .65rem;
  }
}

@media (min-width: 961px) {
  :root {
    --ticker-height: 34px;
  }
  .topbar {
    gap: 8px;
    min-height: 0;
    padding: 10px clamp(12px, 3vw, 36px) 12px;
  }
  .topbar-main {
    grid-template-columns: minmax(120px, 170px) minmax(0, 1fr) auto;
    gap: 18px;
  }
  .brand-cluster {
    grid-column: 1;
    grid-row: 1;
    gap: 12px;
  }
  .brand {
    justify-items: start;
    text-align: left;
  }
  .brand-mark {
    width: 92px;
    height: 92px;
    padding: 0;
  }
  .header-search {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    width: 100%;
  }
  .icons {
    grid-column: 3;
    grid-row: 1;
  }
  .nav {
    gap: 0 28px;
  }
  .btn {
    width: auto;
    padding: 0 24px;
  }
  .strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .strip b + b {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 26px);
  }
  .product-card {
    gap: 8px;
  }
  .product-card h3 {
    font-size: .88rem;
  }
  .product-card p {
    font-size: .84rem;
  }
  .product-card strong {
    font-size: .94rem;
  }
  .card-sizes small {
    min-width: 30px;
    height: 28px;
    font-size: .68rem;
  }
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .brand-catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .about {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .65fr);
    gap: 24px;
    padding: clamp(32px, 5vw, 56px) clamp(16px, 5vw, 64px);
  }
  .shop-layout {
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    gap: 24px;
  }
  .filters {
    position: sticky;
    top: 88px;
    display: grid;
  }
  .filters a {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
  }
  .sort select {
    width: min(100%, 220px);
  }
  .product-page {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
    gap: clamp(22px, 4vw, 42px);
  }
  .home-hero {
    aspect-ratio: 1920 / 720;
    height: auto;
    min-height: 0;
  }
  .product-photo,
  .produto-detalhe img,
  .product-detail img {
    max-width: 520px;
  }
  .thumbs {
    max-width: 520px;
  }
  .frete {
    grid-template-columns: 1fr auto;
  }
  .cart, .checkout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  }
  .cart-row {
    grid-template-columns: 84px 1fr 90px auto;
    gap: 16px;
    align-items: center;
  }
  .cart-row input,
  .cart-row strong {
    grid-column: auto;
  }
  .mini {
    width: 84px;
    height: 100px;
  }
  .footer {
    padding: 28px clamp(20px, 5vw, 72px);
  }
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .footer-col {
    align-items: flex-start;
    text-align: left;
  }
  .footer-col-contact {
    justify-content: center;
  }
  .footer-pay,
  .pay-badges,
  .footer-trust {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .footer-col-contact {
    align-items: flex-end;
    text-align: right;
  }
  .footer p {
    font-size: .68rem;
    line-height: 1.5;
    text-align: right;
  }
}

@media (min-width: 1180px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Admin: responsive layout, desktop first without sacrificing mobile use. */
@media (max-width: 767px) {
  .admin-login {
    padding: 14px;
  }
  .admin-login form {
    padding: 22px 18px;
  }
  .admin-dashboard {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 8px;
  }
  .admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 0;
    overflow-x: auto;
    padding: 9px;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .18);
    scrollbar-width: none;
  }
  .admin-sidebar::-webkit-scrollbar {
    display: none;
  }
  .admin-sidebar strong {
    flex: 0 0 auto;
    margin: 0 7px;
    font-size: 1rem;
  }
  .admin-sidebar span {
    display: none;
  }
  .admin-sidebar a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 11px;
    border-radius: 10px;
    font-size: .65rem;
  }
  .admin-main {
    gap: 12px;
  }
  .admin-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
  }
  .admin-hero h1 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }
  .admin-hero p {
    font-size: .88rem;
    line-height: 1.5;
  }
  .admin-hero-actions {
    display: flex;
    width: 100%;
  }
  .admin-hero-actions form,
  .admin-hero-actions .btn,
  .admin-hero-actions form .btn {
    width: 100%;
  }
  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .admin-metrics article {
    min-width: 0;
    padding: 15px 12px;
  }
  .admin-metrics b {
    overflow-wrap: anywhere;
    font-size: clamp(1.25rem, 7vw, 1.8rem);
  }
  .admin-grid.pro-grid,
  .shipping-admin-grid,
  .product-form,
  .product-form.clean,
  .customer-admin.editable,
  .admin-line,
  .product-row,
  .order-admin.pro,
  .taxonomy-cards,
  .taxonomy-editor-row,
  .brand-editor-row,
  .shipping-region-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-card {
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }
  .shipping-panel {
    padding: 0;
    border: 0;
  }
  .admin-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .admin-section-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .admin-section-actions .btn {
    width: 100%;
  }
  .product-form.clean {
    padding: 14px;
  }
  .product-form.clean .full,
  .customer-head,
  .customer-actions {
    grid-column: auto;
  }
  .taxonomy-card {
    min-height: 108px;
  }
  .taxonomy-editor-row {
    align-items: stretch;
  }
  .taxonomy-edit-icon,
  .admin-brand-logo {
    align-self: start;
  }
  .taxonomy-editor-row button,
  .product-actions a,
  .product-actions button,
  .order-admin > button,
  .order-admin > form button {
    width: 100%;
  }
  .product-row > span,
  .product-row > small,
  .order-admin > div,
  .customer-list-card b,
  .customer-list-card span,
  .dash-row b {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .product-actions,
  .customer-actions {
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
  }
  .product-actions form,
  .customer-actions button {
    width: 100%;
  }
  .customer-list-card {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 74px;
    padding: 13px 14px;
  }
  .customer-modal {
    place-items: end center;
    padding: 8px;
  }
  .customer-modal-panel {
    width: 100%;
    max-height: calc(100svh - 16px);
    gap: 14px;
    padding: 16px 14px;
    border-radius: 18px;
  }
  .customer-modal-head {
    align-items: flex-start;
  }
  .customer-modal-head > div {
    min-width: 0;
  }
  .customer-modal-head h2,
  .customer-modal-head p {
    overflow-wrap: anywhere;
  }
  .customer-modal-head button {
    flex: 0 0 auto;
    padding: 0 10px;
  }
  .dash-row {
    align-items: flex-start;
  }
}

@media (min-width: 768px) {
  .admin-dashboard {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
  .admin-sidebar {
    top: 14px;
    min-height: calc(100svh - 28px);
    padding: 16px;
  }
  .admin-main {
    gap: 18px;
  }
  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-grid.pro-grid,
  .shipping-admin-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-form.clean {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-form.clean .full {
    grid-column: 1 / -1;
  }
  .customer-admin.editable {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .taxonomy-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .admin-dashboard {
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
  }
  .admin-sidebar {
    top: 18px;
    min-height: calc(100svh - 36px);
    padding: 20px;
  }
  .admin-main {
    gap: 22px;
  }
  .admin-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
  .admin-grid.pro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-grid.pro-grid.shipping-admin-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-form.clean {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .taxonomy-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .customer-admin.editable {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .product-row,
  .admin-line {
    grid-template-columns: minmax(180px, 1.2fr) minmax(240px, 1fr) auto auto;
  }
  .coupon-row {
    grid-template-columns: minmax(140px, .7fr) minmax(260px, 1.3fr) auto;
  }
  .order-admin.pro {
    grid-template-columns: minmax(220px, 1fr) auto auto;
  }
  .taxonomy-editor-row {
    grid-template-columns: 40px minmax(0, 1fr) auto auto;
  }
  .brand-editor-row {
    grid-template-columns: 40px 58px minmax(140px, .7fr) minmax(220px, 1.3fr) auto auto;
  }
  .shipping-region-row {
    grid-template-columns: 40px repeat(3, minmax(110px, 1fr)) minmax(110px, auto) auto;
  }
}

@media (min-width: 1450px) {
  .admin-dashboard {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
  }
  .admin-sidebar {
    top: 24px;
    min-height: calc(100svh - 48px);
  }
  .admin-card {
    padding: 24px;
  }
  .admin-grid.pro-grid.shipping-admin-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(480px, .9fr);
  }
}

@keyframes ticker-loop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   ZWANZE — Tela de login premium (/conta, usuario deslogado)
   Escopo isolado em .zw-*, nao reutiliza .account-auth.
   Paleta restrita: #000 #fff #777 #f5f5f5 (variantes em alpha).
   ========================================================= */
.zw-auth {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow: hidden;
  isolation: isolate;
}

.zw-auth-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #fff;
}
.zw-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.zw-blob-a {
  width: 60vmax;
  height: 60vmax;
  left: -22vmax;
  top: -26vmax;
  background: radial-gradient(circle, rgba(0, 0, 0, .06), transparent 70%);
  animation: zwBlobA 24s ease-in-out infinite;
}
.zw-blob-b {
  width: 50vmax;
  height: 50vmax;
  right: -18vmax;
  bottom: -20vmax;
  background: radial-gradient(circle, rgba(0, 0, 0, .05), transparent 70%);
  animation: zwBlobB 28s ease-in-out infinite;
}
.zw-sheen {
  position: absolute;
  top: -50%;
  left: -30%;
  width: 60%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(0, 0, 0, .035), transparent);
  transform: translateX(-40%) rotate(8deg);
  animation: zwSheen 16s ease-in-out infinite;
  will-change: transform;
}
@keyframes zwBlobA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vmax, 3vmax, 0) scale(1.06); }
}
@keyframes zwBlobB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-3vmax, -4vmax, 0) scale(1.08); }
}
@keyframes zwSheen {
  0%, 100% { transform: translateX(-40%) rotate(8deg); }
  50% { transform: translateX(40%) rotate(8deg); }
}

.zw-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 28px;
  padding: 34px 22px 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .09), 0 4px 14px rgba(0, 0, 0, .05);
  animation: zwCardIn .7s cubic-bezier(.16, 1, .3, 1);
}
@keyframes zwCardIn {
  from { opacity: 0; transform: translateY(26px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.zw-brand { text-align: center; }
.zw-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .32em;
  color: #000;
}
.zw-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.zw-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .14);
  transition: background-color .3s ease;
}
.zw-dot.is-active {
  background: #000;
  animation: zwDotPulse 2.2s ease-in-out infinite;
}
@keyframes zwDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, .18); }
  50% { box-shadow: 0 0 0 5px rgba(0, 0, 0, 0); }
}

[data-reveal] {
  opacity: 0;
  animation: zwFadeUp .6s cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: calc(var(--i, 0) * 70ms + .15s);
}
@keyframes zwFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.zw-banner {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: #f5f5f5;
  color: #000;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
}

.zw-panel[hidden] { display: none; }

.zw-title {
  margin: 26px 0 0;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 7vw, 2.2rem);
  letter-spacing: -.01em;
  color: #000;
}
.zw-subtitle {
  margin: 10px 0 0;
  text-align: center;
  color: #777;
  font-size: .92rem;
  line-height: 1.55;
  padding: 0 6px;
}

.zw-form {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.zw-field { position: relative; }
.zw-field input {
  width: 100%;
  height: 58px;
  padding: 22px 18px 8px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: #f5f5f5;
  color: #000;
  font-size: 1rem;
  font-family: var(--font);
  transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.zw-field-password input { padding-right: 50px; }
.zw-field label {
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  font-size: 1rem;
  pointer-events: none;
  transition: top .3s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1), font-size .3s ease;
  transform-origin: left top;
}
.zw-field input:focus,
.zw-field input:not(:placeholder-shown) {
  padding-top: 28px;
  padding-bottom: 10px;
}
.zw-field input:focus ~ label,
.zw-field input:not(:placeholder-shown) ~ label {
  top: 18px;
  transform: translateY(0) scale(.72);
}
.zw-field input:focus {
  border-color: #000;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .06);
  outline: none;
}

.zw-toggle-pass {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: #777;
  cursor: pointer;
  padding: 0;
  transition: color .2s ease;
}
.zw-toggle-pass:hover { color: #000; }
.zw-toggle-pass .zw-eye-open { display: block; width: 20px; height: 20px; }
.zw-toggle-pass .zw-eye-closed { display: none; width: 20px; height: 20px; }
.zw-field-password.is-visible .zw-toggle-pass .zw-eye-open { display: none; }
.zw-field-password.is-visible .zw-toggle-pass .zw-eye-closed { display: block; }

.zw-forgot {
  display: block;
  text-align: right;
  font-size: .82rem;
  color: #777;
  margin: -6px 0 4px;
  transition: color .2s ease;
}
.zw-forgot:hover { color: #000; }

.zw-submit {
  position: relative;
  width: 100%;
  height: 58px;
  border: none;
  border-radius: 16px;
  background: #000;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease, opacity .3s ease;
}
.zw-submit:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
.zw-submit:active { transform: translateY(0) scale(.98); }
.zw-submit-arrow { transition: transform .3s ease; }
.zw-submit:hover .zw-submit-arrow { transform: translateX(4px); }
.zw-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  animation: zwSpin .7s linear infinite;
}
.zw-submit.is-loading .zw-submit-arrow { display: none; }
.zw-submit.is-loading .zw-spinner { display: inline-block; }
.zw-submit.is-loading { pointer-events: none; opacity: .92; }
@keyframes zwSpin { to { transform: rotate(360deg); } }

.zw-ripple-el {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  transform: scale(0);
  opacity: .6;
  pointer-events: none;
  animation: zwRipple .6s ease-out forwards;
}
@keyframes zwRipple {
  to { transform: scale(1); opacity: 0; }
}

.zw-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #777;
  font-size: .8rem;
  margin: 24px 0;
}
.zw-divider::before,
.zw-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, .1);
}

.zw-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.zw-social-btn {
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  transition: background-color .3s ease, transform .25s ease, border-color .3s ease;
}
.zw-social-btn:hover { background: #f5f5f5; transform: translateY(-1px); }
.zw-social-btn svg { width: 18px; height: 18px; }

.zw-switch {
  text-align: center;
  color: #777;
  font-size: .9rem;
  margin: 26px 0 0;
}
.zw-switch-btn {
  background: none;
  border: none;
  padding: 0;
  margin-left: 6px;
  font-weight: 700;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: .9rem;
  transition: opacity .2s ease;
}
.zw-switch-btn:hover { opacity: .6; }

@media (prefers-reduced-motion: reduce) {
  .zw-blob, .zw-sheen, .zw-dot.is-active, .zw-card, [data-reveal], .zw-spinner {
    animation: none !important;
  }
  [data-reveal] { opacity: 1; }
}

@media (min-width: 768px) {
  .zw-card { max-width: 440px; padding: 44px 40px 36px; }
  .zw-title { margin-top: 30px; }
}

@media (min-width: 1024px) {
  .zw-card { max-width: 452px; }
}

/* ===== Pagina de marcas (hub escuro) ===== */
.brands-hub {
  padding: 28px 14px 40px;
  background: var(--black);
  color: #fff;
}
.brands-hub-head {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}
.brands-hub-title h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 11vw, 4rem);
  font-weight: 700;
  line-height: .95;
  text-transform: uppercase;
}
.brands-hub-title p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}
.brands-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.brands-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}
.brands-search svg {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: rgba(255,255,255,.45);
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}
.brands-search input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: .9rem;
}
.brands-search input::placeholder { color: rgba(255,255,255,.4); }
.brands-search input:focus {
  outline: none;
  border-color: rgba(255,255,255,.45);
}
.brands-sort {
  position: relative;
  display: flex;
  align-items: center;
}
.brands-sort select {
  padding: 12px 38px 12px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  appearance: none;
  cursor: pointer;
}
.brands-sort select:focus {
  outline: none;
  border-color: rgba(255,255,255,.45);
}
.brands-sort select option { color: #111; background: #fff; }
.brands-sort svg {
  position: absolute;
  right: 12px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: rgba(255,255,255,.6);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.brands-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.brands-filters button {
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.brands-filters button:hover { border-color: rgba(255,255,255,.5); }
.brands-filters button.is-active {
  background: #fff;
  border-color: #fff;
  color: #000;
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.brand-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  aspect-ratio: 1 / 1;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 0;
  background: #000;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease;
}
.brand-tile[hidden] { display: none; }
.brand-tile:hover,
.brand-tile:active {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.4);
}
.brand-tile-logo {
  display: grid;
  flex: 1;
  width: 100%;
  min-height: 0;
  place-items: center;
}
.brand-tile-logo img {
  max-width: 72%;
  max-height: 72%;
  object-fit: contain;
  filter: grayscale(1);
}
.brand-tile--invert .brand-tile-logo img {
  filter: grayscale(1) invert(1);
}
.brand-tile-logo.is-empty span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 700;
}
.brand-tile-name {
  flex: 0 0 auto;
  padding-bottom: 6px;
  color: #fff;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}
.brands-empty {
  margin: 24px 0 0;
  color: rgba(255,255,255,.6);
  text-align: center;
}
.brands-empty[hidden] { display: none; }
.brands-more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.brands-more button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.brands-more button:hover {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
}
.brands-more button[hidden] { display: none; }
.brands-more button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 720px) {
  .brands-hub { padding: 40px 24px 56px; }
  .brands-hub-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
  .brands-search input { min-width: 260px; }
  .brands-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .brands-hub { padding: 48px clamp(24px, 4vw, 64px) 64px; }
  .brands-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
  .brands-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ===== Pagina sobre ===== */
.about-page {
  padding: 48px 18px 64px;
  background: var(--black);
  color: #fff;
}
.about-page-inner {
  display: grid;
  justify-items: center;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-page-logo {
  display: grid;
  place-items: center;
  width: 148px;
  margin-bottom: 26px;
}
.about-page-logo img {
  width: 100%;
  object-fit: contain;
}
.about-page-kicker {
  color: rgba(255,255,255,.5);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.about-page h1 {
  margin: 12px 0 22px;
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 3.4rem);
  font-weight: 700;
  line-height: .95;
  text-transform: uppercase;
}
.about-page-story {
  display: grid;
  gap: 16px;
}
.about-page-story p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: .95rem;
  line-height: 1.75;
}
.about-page-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 30px;
  padding: 14px 30px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.about-page-cta:hover {
  background: transparent;
  color: #fff;
}

@media (min-width: 720px) {
  .about-page { padding: 72px 24px 88px; }
  .about-page-logo { width: 180px; }
  .about-page-story p { font-size: 1.02rem; }
}

.zw-banner--error {
  background: #fdecec;
  color: #b3261e;
}

/* ===== Admin: envios (cupons + regioes) ===== */
.shipping-region-list {
  display: grid;
  gap: 12px;
}
.shipping-region-card {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid #edf0f2;
  border-radius: 16px;
  background: #fafafa;
}
.shipping-region-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.shipping-region-head b {
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.shipping-region-head small {
  color: var(--muted);
  font-size: .72rem;
}
.shipping-region-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}
.shipping-region-fields label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity .2s ease;
}
.shipping-region-fields label.is-muted {
  opacity: .45;
}
.shipping-region-fields input,
.shipping-region-fields select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  background: white;
  color: #111316;
  outline: none;
}
.shipping-region-fields input:focus,
.shipping-region-fields select:focus {
  border-color: #111316;
  box-shadow: 0 0 0 4px rgba(17, 19, 22, .08);
}
.shipping-region-fields button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #111316;
  border-radius: 14px;
  background: #111316;
  color: white;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
[data-coupon-discount][hidden] {
  display: none;
}

@media (min-width: 640px) {
  .shipping-region-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }
}

/* ---- Módulo Frete: card "Calcular Frete" no carrinho ---- */
.frete-card {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid var(--line, #e5e5e5);
  border-radius: 16px;
  background: #fff;
  color: var(--black);
}
.frete-card-head h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}
.frete-card-head p {
  margin: 0;
  color: var(--muted, #6b7280);
  font-size: .8rem;
}
.frete-cep-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.frete-cep-row input {
  flex: 1 1 160px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid #d7dadf;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.frete-cep-row input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 4px rgba(5,5,5,.14);
}
.frete-cep-row .btn {
  flex: 0 0 auto;
  width: auto;
  padding: 0 22px;
}
.frete-error {
  margin: 0;
  color: #c0392b;
  font-size: .8rem;
  font-weight: 600;
}
.frete-options {
  display: grid;
  gap: 10px;
}
.frete-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid #e2e5e9;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  animation: frete-fade-in .25s ease;
}
.frete-option:hover {
  border-color: #9aa1a9;
  transform: translateY(-1px);
}
.frete-option.is-selected {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(5,5,5,.16);
}
.frete-option input[type="radio"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  border: 0;
  background: none;
  accent-color: #050505;
}
.frete-option-icon {
  font-size: 1.3rem;
}
.frete-option-info {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.frete-option-info b {
  font-size: .85rem;
  line-height: 1.25;
}
.frete-option-info small {
  color: var(--muted, #6b7280);
  font-size: .74rem;
}
.frete-option-price {
  font-weight: 800;
  font-size: .92rem;
  white-space: nowrap;
}
@keyframes frete-fade-in {
  from { opacity: 0; transform: translateY(4px); }
}

/* Skeleton loading da cotação */
.frete-skeleton {
  pointer-events: none;
  border-style: dashed;
}
.frete-skel-icon,
.frete-skel-price,
.frete-skel-lines i {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, #eceef0 25%, #f7f8f9 50%, #eceef0 75%);
  background-size: 200% 100%;
  animation: frete-shimmer 1.1s linear infinite;
}
.frete-skel-icon { width: 30px; height: 30px; }
.frete-skel-lines { flex: 1; display: grid; gap: 6px; }
.frete-skel-lines i { height: 11px; width: 55%; }
.frete-skel-lines i:last-child { width: 35%; }
.frete-skel-price { width: 64px; height: 16px; }
@keyframes frete-shimmer {
  to { background-position: -200% 0; }
}

/* Dark mode: segue o esquema do dispositivo quando o card estiver em fundo escuro */
@media (prefers-color-scheme: dark) {
  body:not(.admin-shell) .frete-card {
    border-color: #2a2a2a;
    background: #101010;
    color: #f4f4f4;
  }
  body:not(.admin-shell) .frete-card-head p,
  body:not(.admin-shell) .frete-option-info small {
    color: rgba(255,255,255,.6);
  }
  body:not(.admin-shell) .frete-cep-row input {
    border-color: #3a3a3a;
    background: #181818;
    color: #f4f4f4;
  }
  body:not(.admin-shell) .frete-option {
    border-color: #2f2f2f;
  }
  body:not(.admin-shell) .frete-skel-icon,
  body:not(.admin-shell) .frete-skel-price,
  body:not(.admin-shell) .frete-skel-lines i {
    background: linear-gradient(90deg, #222 25%, #2c2c2c 50%, #222 75%);
    background-size: 200% 100%;
  }
}

/* ---- Módulo Frete: card "Dados de Frete" no cadastro de produto (admin) ---- */
.frete-product-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e3e6ea;
  border-radius: 14px;
  background: #fafbfc;
}
.frete-product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.frete-product-head h3 {
  margin: 0;
  font-size: .95rem;
}
.frete-inline-label {
  display: grid;
  gap: 4px;
  font-size: .74rem;
  font-weight: 700;
}
.frete-product-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.frete-product-hint {
  color: #6b7280;
}
.frete-success {
  padding: 12px 14px;
  border: 1px solid #b7e4c7;
  border-radius: 12px;
  background: #ecfdf3;
  color: #14532d;
  font-size: .82rem;
  font-weight: 600;
}

/* Responsivo: CEP + botão empilham em telas estreitas */
@media (max-width: 480px) {
  .frete-cep-row { flex-direction: column; }
  /* Em coluna, o flex-basis de 160px viraria altura: zera pra manter 44px */
  .frete-cep-row input { flex: 0 0 auto; width: 100%; }
  .frete-cep-row .btn { width: 100%; min-height: 44px; }
  .frete-option { flex-wrap: wrap; }
  .frete-option-price { margin-left: auto; }
}

/* ---- Home/front inspirado no layout de referencia, mantendo a identidade ZWANZE ---- */
body:not(.admin-shell) {
  background: #fff;
}

body:not(.admin-shell) main {
  background: #fff;
}

body:not(.admin-shell).is-header-hidden main {
  margin-top: calc(var(--header-stack-height) * -1);
}

.top-ticker {
  height: 28px;
  background: #050505;
  border-bottom: 0;
}

.top-ticker-track span {
  font-size: .66rem;
  letter-spacing: .22em;
}

.topbar {
  gap: 0;
  padding: 0 clamp(12px, 3.4vw, 44px);
  background: #fff;
  color: #111;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.topbar-main {
  width: min(100%, 1280px);
  min-height: 88px;
  margin: 0 auto;
  padding: 12px 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(12px, 2.5vw, 28px);
}

.brand-cluster {
  gap: clamp(12px, 2vw, 22px);
}

.menu-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.menu-shortcut svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.brand-mark {
  width: 120px;
  height: 44px;
}

.brand-mark img {
  filter: invert(1);
}

.header-search {
  grid-column: 2;
  grid-row: 1;
}

.header-search input {
  min-height: 46px;
  border: 1px solid #dedede;
  border-radius: 0;
  background: #f7f7f7;
  box-shadow: none;
  color: #111;
}

.header-search input:hover,
.header-search input:focus {
  border-color: #111;
  background: #fff;
  box-shadow: none;
}

.header-search button {
  right: 5px;
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: #111;
}

.icons {
  gap: 10px;
}

.icon-btn {
  min-width: 42px;
  height: 42px;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  color: #111;
  box-shadow: none;
  transition: background .18s ease, color .18s ease;
}

.icon-btn:hover {
  background: #111;
  color: #fff;
}

.icon-btn span {
  top: -8px;
  right: -8px;
  border-color: #111;
  background: var(--accent);
  /* --accent e --black sao ambos quase pretos: sem isso o numero fica invisivel. */
  color: #fff;
  font-size: .68rem;
  line-height: 1;
}

.nav {
  width: min(100%, 1280px);
  margin: 0 auto;
  min-height: 48px;
  padding: 0;
  border-top: 1px solid #ececec;
  gap: 0;
}

.nav > * {
  border-left: 1px solid #ececec;
}

.nav > *:last-child {
  border-right: 1px solid #ececec;
}

.nav > a,
.nav-item summary {
  min-height: 48px;
  padding: 0 clamp(13px, 1.8vw, 24px);
  color: #111;
}

.nav a,
.nav summary {
  color: #111;
  font-size: .72rem;
  letter-spacing: .08em;
}

.nav > a:hover,
.nav-item summary:hover,
.nav-item[open] summary {
  background: #111;
  color: #fff;
}

.nav-menu {
  top: calc(100% + 1px);
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 18px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  box-shadow: 0 22px 50px rgba(0,0,0,.14);
}

.nav-menu a {
  min-height: 38px;
  color: #333;
}

.nav-menu a:hover {
  color: #111;
}

/* Formatos de arte do hero: mobile 1080x1350 (4:5), desktop 1920x720.
   As media queries de min-width: 768px trocam para 1920 / 720. */
.home-hero {
  width: 100%;
  aspect-ratio: 1080 / 1350;
  background: #050505;
}

.home-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-hero::after {
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.28) 100%);
}

/* Controles do banner: discretos, redondos e translúcidos. */
.hero-arrow {
  width: clamp(28px, 3.2vw, 34px);
  height: clamp(28px, 3.2vw, 34px);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  /* Fundo escuro translúcido: mantém a seta branca legível em banner claro ou escuro. */
  background: rgba(0,0,0,.26);
  opacity: .6;
  transition: opacity .18s ease, background .18s ease, border-color .18s ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  border-color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.45);
  opacity: 1;
}

.hero-arrow svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.75;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.35));
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.4);
  box-shadow: 0 1px 2px rgba(0,0,0,.35);
}

.hero-dot:hover { background: rgba(255,255,255,.7); }

.hero-dot.is-active {
  background: rgba(255,255,255,.92);
  transform: none;
}

.strip {
  border-block: 1px solid #e8e8e8;
  background: #fff;
}

.strip b {
  padding: 18px 12px;
  color: #111;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.section,
.page-title,
.shop-layout,
.product-page,
.cart,
.checkout,
.order-done,
.account,
.account-auth {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding: clamp(30px, 5vw, 58px) clamp(14px, 3vw, 28px);
}

.section-head {
  align-items: end;
  margin-bottom: clamp(18px, 3vw, 30px);
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 14px;
}

.section-head span,
.page-title span,
.about span,
.buybox > span {
  color: #777;
  font-size: .7rem;
  letter-spacing: .16em;
}

.section-head h2,
.page-title h1,
.about h2 {
  font-size: clamp(2rem, 6vw, 4.6rem);
  letter-spacing: 0;
}

.section-head a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid #111;
  color: #111;
}

.home-categories {
  padding-top: clamp(28px, 4vw, 46px);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #111;
  border: 1px solid #111;
}

.category-tile {
  display: grid;
  align-content: end;
  min-height: 150px;
  padding: clamp(14px, 2vw, 22px);
  background: #f7f7f7;
  color: #111;
  transition: background .2s ease, color .2s ease;
}

.category-tile small {
  margin-bottom: auto;
  color: #777;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.category-tile strong {
  font-size: clamp(1.15rem, 3vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.category-tile span {
  margin-top: 10px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.category-tile-brand {
  background: #fff;
}

.category-tile:hover {
  background: #111;
  color: #fff;
}

.category-tile:hover small {
  color: rgba(255,255,255,.62);
}

.grid {
  gap: clamp(14px, 2vw, 24px);
}

.product-card {
  gap: 10px;
  padding-bottom: 12px;
}

.product-img {
  aspect-ratio: 1 / 1.18;
  border: 1px solid #ededed;
  border-radius: 0;
  background: #f6f6f6;
}

.product-img.has-photo {
  background: #f8f8f8;
}

.product-img img,
.product-photo img,
.produto-detalhe img,
.product-detail img,
.thumbs img,
.mini img {
  object-fit: contain;
}

.product-img span {
  top: 10px;
  left: 10px;
  right: 10px;
  max-width: calc(100% - 20px);
  border-radius: 0;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card h3 {
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.product-card p {
  color: #777;
  font-size: .76rem;
}

.product-card strong {
  font-size: .94rem;
}

.card-sizes small {
  border-radius: 0;
  background: #fff;
}

@media (min-width: 768px) {
  .home-hero {
    aspect-ratio: 1920 / 720;
  }

  .home-hero img {
    object-fit: contain;
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .strip b + b {
    border-top: 0;
    border-left: 1px solid #e8e8e8;
  }
}

@media (min-width: 961px) {
  .topbar-main {
    grid-template-columns: minmax(230px, auto) minmax(320px, 1fr) auto;
  }

  .brand-cluster {
    grid-column: 1;
  }

  .header-search {
    grid-column: 2;
  }

  .icons {
    grid-column: 3;
  }
}

@media (max-width: 767px) {
  :root {
    --ticker-height: 24px;
  }

  .top-ticker {
    height: var(--ticker-height);
  }

  .top-ticker-track {
    gap: 20px;
    padding-left: 20px;
  }

  .top-ticker-track span {
    font-size: .56rem;
    letter-spacing: .16em;
  }

  .topbar {
    padding-inline: 10px;
  }

  .topbar-main {
    min-height: 0;
    padding: 8px 0;
    grid-template-columns: minmax(90px, 1fr) auto;
    gap: 8px 10px;
  }

  .menu-shortcut {
    display: none;
  }

  .brand-cluster {
    grid-column: 1;
    grid-row: 1;
  }

  .brand-mark {
    width: 104px;
    height: 38px;
  }

  .icons {
    grid-column: 2;
    grid-row: 1;
    gap: 7px;
  }

  .icon-btn {
    min-width: 36px;
    height: 36px;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .header-search input {
    min-height: 38px;
    font-size: .82rem;
  }

  .header-search button {
    width: 30px;
    height: 30px;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    min-height: 42px;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav > * {
    flex: 0 0 auto;
  }

  .nav > a,
  .nav-item summary {
    min-height: 42px;
    padding: 0 14px;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--ticker-height) + 126px);
    left: 10px;
    right: 10px;
    width: auto;
    max-height: min(56vh, 360px);
    grid-template-columns: 1fr;
  }

  body.is-header-hidden .nav-menu {
    top: 10px;
  }

  .home-hero {
    aspect-ratio: 4 / 5;
  }

  .hero-arrow {
    width: 30px;
    height: 30px;
  }

  .strip b {
    padding: 15px 10px;
    font-size: .66rem;
  }

  .section,
  .page-title,
  .shop-layout,
  .product-page,
  .cart,
  .checkout,
  .order-done,
  .account,
  .account-auth {
    padding: 28px 12px;
  }

  .section-head {
    display: grid;
    align-items: start;
    gap: 8px;
  }

  .section-head h2 {
    font-size: clamp(1.85rem, 10vw, 3rem);
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-tile {
    min-height: 118px;
    padding: 12px;
  }

  /* Em 2 colunas o espaço por bloco cai pela metade: reduz o texto pra não estourar. */
  .category-tile strong {
    font-size: clamp(.95rem, 4.2vw, 1.3rem);
    overflow-wrap: anywhere;
  }

  .category-tile small {
    font-size: .6rem;
    letter-spacing: .08em;
  }

  .category-tile span {
    margin-top: 8px;
    font-size: .64rem;
    letter-spacing: .06em;
  }

  /* Contagem ímpar deixaria uma célula vazia (fundo preto da grade): o último ocupa a linha. */
  .category-tile:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}

/* Ajuste fino: logo mais alta e visual arredondado */
:root {
  --radius-ui: 12px;
  --radius-soft: 16px;
}

.topbar {
  border-bottom-left-radius: var(--radius-soft);
  border-bottom-right-radius: var(--radius-soft);
}

/* O PNG da logo (1440x1440) tem a marca só na faixa central (~42%-60% da altura);
   object-fit: cover corta a sobra transparente e mantém a marca inteira e centralizada. */
.brand-cluster {
  align-items: center;
}

.brand {
  margin-top: 0;
}

.brand-mark {
  position: relative;
  display: block;
  width: 150px;
  height: 44px;
  overflow: hidden;
}

/* Absoluto: dentro de grid com place-items o height:100% da img não resolve
   e ela volta ao aspect-ratio 1:1 do PNG, estourando o container. */
.brand-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  transform: none;
}

.menu-shortcut {
  margin-top: 0;
}

.header-search input,
.header-search button,
.icon-btn,
.nav > a,
.nav-item summary,
.nav-menu,
.strip,
.category-grid,
.category-tile,
.product-card,
.product-img,
.product-img span,
.card-sizes small,
.btn,
.filters a,
.sort select,
.summary,
.account-auth form,
.account-side,
.order-list article,
.footer,
.pay-badge {
  border-radius: 0;
}

.home-hero {
  overflow: hidden;
  border-radius: 0;
}

.category-grid {
  overflow: hidden;
  border-radius: var(--radius-soft);
}

.product-card {
  transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-img {
  border-radius: var(--radius-soft);
}

.nav > * {
  border-left: 0;
}

.nav > *:last-child {
  border-right: 0;
}

.nav > a,
.nav-item summary {
  margin: 4px 2px;
}

@media (max-width: 767px) {
  .brand {
    margin-top: 0;
  }

  .brand-mark {
    width: 128px;
    height: 38px;
  }

  .topbar-main {
    padding-top: 10px;
  }
}

/* Atalho "Menu" (hambúrguer) removido do cabeçalho. */
.menu-shortcut {
  display: none;
}

/* ===== Cabeçalho fixo + menu que rola (sem JS, sem tremor) =====
   A barra (logo + busca + ícones) fica fixa no topo. O menu de categorias
   é um elemento normal logo abaixo: ao rolar, ele sobe e some por baixo da
   barra fixa. Como a barra não muda de altura durante o scroll, não há
   recálculo por quadro — acaba o tremor e o "pulo". */
.topbar {
  z-index: 60;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.nav {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #fff;
  z-index: 40;
}

/* ===== Banner da home no celular =====
   Sem imagem dedicada de mobile, mostra o banner inteiro (sem cortar). */
@media (max-width: 767px) {
  .home-hero {
    aspect-ratio: 1920 / 720;
  }
  .home-hero img {
    object-fit: contain;
  }
}

/* =====================================================================
   PADRONIZACAO DE CORES DA LOJA — branco / grafite / preto
   Tudo escopado em body:not(.admin-shell): o painel admin nao e afetado.
   Para reverter: apague deste comentario ate o fim do arquivo.
   ===================================================================== */
body:not(.admin-shell) {
  --z-paper: #ffffff;
  --z-surface: #f7f7f8;
  --z-line: #e3e5e8;
  --z-line-strong: #c9ccd1;
  --z-graphite: #3a3f45;
  --z-graphite-soft: #6b7075;
  --z-ink: #0b0b0c;

  background: var(--z-paper);
  color: var(--z-ink);
}

/* --- Base e tipografia --- */
body:not(.admin-shell) main,
body:not(.admin-shell) .section,
body:not(.admin-shell) .page-title,
body:not(.admin-shell) .shop-layout,
body:not(.admin-shell) .product-page,
body:not(.admin-shell) .cart,
body:not(.admin-shell) .checkout,
body:not(.admin-shell) .account,
body:not(.admin-shell) .account-auth,
body:not(.admin-shell) .order-done {
  background: var(--z-paper);
  color: var(--z-ink);
}

body:not(.admin-shell) h1,
body:not(.admin-shell) h2,
body:not(.admin-shell) h3,
body:not(.admin-shell) strong,
body:not(.admin-shell) b {
  color: var(--z-ink);
}

body:not(.admin-shell) p,
body:not(.admin-shell) small,
body:not(.admin-shell) .section-head span,
body:not(.admin-shell) .product-card p {
  color: var(--z-graphite-soft);
}

/* --- Secoes que eram pretas --- */
body:not(.admin-shell) .about-page,
body:not(.admin-shell) .brands-hub,
body:not(.admin-shell) .feature-grid,
body:not(.admin-shell) .ink {
  background: var(--z-paper);
  color: var(--z-ink);
}

body:not(.admin-shell) .ink .product-card p,
body:not(.admin-shell) .ink .section-head span {
  color: var(--z-graphite-soft);
}

/* --- Rodape: era preto, agora claro com detalhes grafite --- */
body:not(.admin-shell) .footer {
  background: var(--z-surface);
  color: var(--z-graphite);
  border-top: 1px solid var(--z-line);
}
body:not(.admin-shell) .footer a,
body:not(.admin-shell) .footer b,
body:not(.admin-shell) .footer span,
body:not(.admin-shell) .footer small {
  color: var(--z-graphite);
}
body:not(.admin-shell) .pay-badge {
  border: 1px solid var(--z-line-strong);
  background: var(--z-paper);
  color: var(--z-graphite);
}
/* trust-badge nao tinha borda no tema escuro: so recolore, sem caixa. */
body:not(.admin-shell) .trust-badge {
  border: 0;
  background: none;
  color: var(--z-graphite-soft);
}

/* --- Linhas e divisorias em cinza --- */
body:not(.admin-shell) .category-grid {
  background: var(--z-line);
  border: 1px solid var(--z-line);
}
body:not(.admin-shell) .category-tile {
  background: var(--z-paper);
  color: var(--z-ink);
}
body:not(.admin-shell) .category-tile-brand {
  background: var(--z-surface);
}
body:not(.admin-shell) .category-tile small {
  color: var(--z-graphite-soft);
}
body:not(.admin-shell) .category-tile:hover {
  background: var(--z-surface);
}

/* --- Selo do produto: contorno grafite --- */
body:not(.admin-shell) .product-img span {
  border: 1px solid var(--z-graphite);
  background: var(--z-paper);
  color: var(--z-graphite);
}

/* --- Chips e estados ativos: grafite (botoes de acao seguem pretos) --- */
body:not(.admin-shell) .filters a.is-active,
body:not(.admin-shell) .sizes input:checked + span,
body:not(.admin-shell) .account-side a.active {
  background: var(--z-graphite);
  color: #fff;
}
body:not(.admin-shell) .card-sizes small,
body:not(.admin-shell) .sizes span {
  border: 1px solid var(--z-line-strong);
  color: var(--z-graphite);
}

/* --- Mensagens de status neutralizadas em cinza --- */
body:not(.admin-shell) .checkout-error {
  border: 1px solid var(--z-line-strong);
  border-left: 3px solid var(--z-graphite);
  background: var(--z-surface);
  color: var(--z-graphite);
  font-weight: 700;
}

/* --- Pagina /marcas: controles eram brancos sobre preto --- */
body:not(.admin-shell) .brands-filters button,
body:not(.admin-shell) .brands-more button,
body:not(.admin-shell) .brands-sort,
body:not(.admin-shell) .brands-sort select,
body:not(.admin-shell) .brands-search input {
  border: 1px solid var(--z-line-strong);
  background: var(--z-paper);
  color: var(--z-ink);
}
body:not(.admin-shell) .brands-filters button.is-active {
  border-color: var(--z-graphite);
  background: var(--z-graphite);
  color: #fff;
}
body:not(.admin-shell) .brands-filters button:hover,
body:not(.admin-shell) .brands-more button:hover {
  border-color: var(--z-graphite);
}
body:not(.admin-shell) .brands-hub-title {
  color: var(--z-ink);
}
/* Os logos sao arte clara com fundo PRETO embutido no arquivo (jpg).
   O tile precisa continuar preto para o logo nao virar um quadrado. */
body:not(.admin-shell) .brand-tile {
  background: var(--z-ink);
}
body:not(.admin-shell) .brand-tile-name {
  color: #fff;
}

/* --- Barra de pesquisa mais compacta --- */
body:not(.admin-shell) .header-search {
  max-width: 420px;
  justify-self: center;
}
