:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-100: #ecfdf5;
  --emerald-50: #f0fdf7;
  --gold-800: #92400e;
  --gold-700: #a16207;
  --gold-100: #fef7ed;
  --gold-border: #d4a574;
  --white: #ffffff;
  --bg: #f8faf9;
  --surface: #ffffff;
  --text: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --danger: #b42318;
  --success: #067647;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 40px rgba(6, 78, 59, 0.1);
  --radius: 14px;
  --radius-lg: 20px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --header: 64px;
  --promo: 40px;
  --mobile-bar: 0px;
  --sticky-product: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* .field / .payment-extra usam display:grid e sobrescreviam [hidden] */
[hidden],
#change-field[hidden],
#card-fields[hidden] {
  display: none !important;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

body.has-product-sticky {
  padding-bottom: calc(var(--sticky-product) + env(safe-area-inset-bottom));
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; }

.container { width: min(1120px, calc(100% - 1.5rem)); margin-inline: auto; }
.section { padding: 2.5rem 0; }
.page-main { padding: 1rem 0 2rem; min-height: 50vh; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 999;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--emerald-900);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus { top: 0.5rem; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
}

h1 { font-size: clamp(1.85rem, 7vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); }

p { color: var(--text-secondary); }
p strong { color: var(--text); }

.tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-900);
  background: var(--emerald-100);
  border: 1px solid #a7f3d0;
}

.tag--light {
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

.tag--accent {
  color: var(--gold-800);
  background: var(--gold-100);
  border-color: #fed7aa;
}

.section-head { margin-bottom: 1.25rem; }
.section-head--left { text-align: left; }

.site-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  transition: transform 0.35s var(--ease);
  will-change: transform;
}

body.is-chrome-hidden .site-chrome {
  transform: translateY(-100%);
}

body.has-site-chrome {
  padding-top: var(--site-chrome-height, 104px);
}

.site-chrome .promo-bar,
.site-chrome .site-header,
.site-chrome .category-bar,
.site-chrome .trust-strip {
  position: relative;
  top: auto;
}

.promo-bar {
  position: sticky;
  top: 0;
  z-index: 120;
  min-height: var(--promo);
  overflow: hidden;
  background: #043d2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.promo-bar__viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.promo-bar__track {
  display: flex;
  width: max-content;
  animation: promo-scroll 24s linear infinite;
}

.promo-bar__text {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding-block: 0.7rem;
  padding-inline: 2.5rem;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

.promo-bar__text strong {
  color: #ffffff;
  font-weight: 800;
}

.promo-bar__sep {
  opacity: 0.65;
  padding-inline: 0.35rem;
}

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

@media (prefers-reduced-motion: reduce) {
  .site-chrome {
    transition: none;
  }

  .promo-bar__track {
    animation: none;
    width: 100%;
    justify-content: center;
  }

  .promo-bar__text:not(:first-child) {
    display: none;
  }

  .promo-bar__text {
    padding-inline: 1rem;
    white-space: normal;
    text-align: center;
    justify-content: center;
    width: 100%;
  }
}

.site-header {
  position: sticky;
  top: var(--promo);
  z-index: 110;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 0.65rem; min-width: 0; }

.brand__logo,
.logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--text); }
.brand__text small { font-size: 0.72rem; font-weight: 600; color: var(--emerald-800); }

.site-nav { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
}

.cart-btn.has-items {
  border-color: var(--gold-border);
  box-shadow: inset 0 0 0 1px rgba(212, 165, 116, 0.25);
}

.cart-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.cart-btn__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  background: var(--emerald-900);
}

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.drawer.is-open { pointer-events: auto; }

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.drawer.is-open .drawer__backdrop { opacity: 1; }

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 88vw);
  height: 100%;
  padding: 1rem;
  background: var(--white);
  transform: translateX(105%);
  transition: transform 0.35s var(--ease);
}

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

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 700;
}

.drawer__close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: var(--emerald-100);
  font-size: 1.4rem;
  cursor: pointer;
}

.drawer__nav { display: flex; flex-direction: column; gap: 0.35rem; }

.drawer__nav a {
  padding: 0.85rem 0.75rem;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text);
}

.drawer__nav a:hover { background: var(--emerald-50); }

.mini-cart {
  position: fixed;
  inset: 0;
  z-index: 210;
  pointer-events: none;
}

.mini-cart.is-open { pointer-events: auto; }

.mini-cart__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.3s;
}

.mini-cart.is-open .mini-cart__backdrop { opacity: 1; }

.mini-cart__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(380px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transform: translateX(105%);
  transition: transform 0.35s var(--ease);
  box-shadow: var(--shadow);
}

.mini-cart.is-open .mini-cart__panel { transform: translateX(0); }

.mini-cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.mini-cart__head h2 { font-size: 1.15rem; }

.mini-cart__head button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: var(--emerald-100);
  font-size: 1.4rem;
  cursor: pointer;
}

.mini-cart__body {
  flex: 1;
  overflow: auto;
  padding: 1rem;
}

.mini-cart__footer {
  padding: 1rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.65rem;
}

.mini-cart__list { display: grid; gap: 0.75rem; margin-top: 0.75rem; }

.mini-cart__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.mini-cart__item-body {
  display: grid;
  gap: 0.35rem;
}

.mini-cart__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mini-cart__qty .qty-btn {
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  font-size: 0.95rem;
}

.mini-cart__remove {
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem;
}

.mini-cart__thumb {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f6f5;
  border: 1px solid var(--border);
}

.mini-cart__thumb img,
.mini-cart__item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #f3f6f5;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.mini-cart__thumb img {
  border: none;
  border-radius: 0;
  display: block;
}

.mini-cart__item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
}

.mini-cart__item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.mini-cart__total strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--emerald-900);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, opacity 0.2s;
}

.btn:active:not(:disabled) { transform: scale(0.98); }
.btn--block { width: 100%; }

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--emerald-800), var(--emerald-900));
  box-shadow: var(--shadow-sm);
  border: 1px solid #047857;
}

.btn--secondary {
  color: var(--emerald-900);
  background: var(--white);
  border: 2px solid var(--emerald-900);
}

.btn--gold {
  color: var(--gold-800);
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid var(--gold-border);
}

.btn--light {
  color: var(--emerald-900);
  background: var(--white);
}

.btn--ghost {
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-strong);
}

.btn--ghost-light {
  color: var(--white);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--cart {
  width: calc(100% - 1rem);
  min-height: 42px;
  margin: 0 0.5rem 0.5rem;
  font-size: 0.82rem;
  color: var(--white);
  background: var(--emerald-900);
  border-radius: 10px;
}

.btn--cart.is-added { background: var(--success); }

.btn:disabled,
.btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.hero { padding: 1.25rem 0 0.5rem; }

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero__copy p { margin-bottom: 1rem; }

.hero__actions {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.hero__stats li {
  padding: 0.75rem 0.5rem;
  border-radius: 12px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
}

.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--emerald-900);
}

.hero__stats span {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.hero__features { display: grid; gap: 0.65rem; }

.feature-card {
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-border);
}

.feature-card span {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-700);
}

.feature-card h3 {
  font-family: var(--font);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.feature-card p { font-size: 0.85rem; }

.filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin-bottom: 1rem;
  scrollbar-width: none;
}

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

.catalog-search {
  display: block;
  margin-bottom: 1rem;
}

.catalog-search input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--white);
  font: inherit;
}

.catalog-search input:focus {
  outline: 2px solid #86efac;
  outline-offset: 1px;
  border-color: var(--emerald-800);
}

.product-card--skeleton {
  min-height: 320px;
  background: linear-gradient(90deg, #eef2f0 25%, #f8faf9 50%, #eef2f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s infinite linear;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

@keyframes skeleton-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

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

.filter {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.filter.is-active {
  color: var(--white);
  background: var(--emerald-900);
  border-color: var(--emerald-900);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.product-grid--related {
  grid-template-columns: 1fr;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

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

.product-card__link { display: flex; flex-direction: column; flex: 1; }

.product-card__media {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(180deg, #f8faf9, #eef2f0);
  display: grid;
  place-items: center;
  padding: 0.5rem;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold-700);
}

.product-card__body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.product-card__brand {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-800);
}

.product-card__body h3 {
  font-size: 1rem;
  line-height: 1.25;
  color: var(--text);
}

.product-card__body p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.product-card__price {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--emerald-900);
}

.shipping-progress {
  padding: 0.85rem;
  border-radius: 12px;
  background: var(--gold-100);
  border: 1px solid #fed7aa;
  margin-bottom: 0.75rem;
}

.shipping-progress p {
  font-size: 0.85rem;
  color: var(--gold-800);
  margin-bottom: 0.5rem;
}

.shipping-progress--done {
  background: var(--emerald-100);
  border-color: #a7f3d0;
}

.shipping-progress--done p {
  color: var(--success);
  margin-bottom: 0;
}

.shipping-progress__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(146, 64, 14, 0.15);
  overflow: hidden;
}

.shipping-progress__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-border));
  transition: width 0.4s var(--ease);
}

.location-banner { padding: 1.5rem 0; }

.location-banner__inner {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(135deg, var(--emerald-900), var(--emerald-800));
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-banner h2 { color: var(--white); margin-bottom: 0.35rem; }
.location-banner p { color: #ecfdf5; }

.location-banner__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.chat-fab {
  position: fixed;
  right: 1rem;
  bottom: calc(var(--mobile-bar) + 1rem + env(safe-area-inset-bottom));
  z-index: 220;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.65rem 1rem 0.65rem 0.7rem;
  border-radius: 999px;
  color: var(--white);
  background: #075e54;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 10px 28px rgba(6, 78, 59, 0.35);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.chat-fab:hover {
  background: #064e3b;
  transform: translateY(-2px);
}

.chat-fab__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.chat-fab__icon svg {
  width: 18px;
  height: 18px;
}

.chat-fab__label {
  padding-right: 0.15rem;
}

@media (min-width: 900px) {
  .chat-fab {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

.about__grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.65rem;
  font-weight: 500;
  color: var(--text);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald-800);
  font-weight: 700;
}

.contact__box {
  padding: 2rem 1.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--white);
  background: var(--emerald-900);
}

.contact__box h2 { color: var(--white); margin-bottom: 0.35rem; }
.contact__box p { color: #ecfdf5; margin-bottom: 1rem; }

.contact__address {
  color: rgba(236, 253, 245, 0.88);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.contact__phone {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--emerald-800); font-weight: 600; }

.product-page__grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-page__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #f8faf9, #eef2f0);
  padding: 1rem;
  position: relative;
}

.product-page__media img {
  width: 100%;
  object-fit: contain;
  max-height: 420px;
  margin-inline: auto;
}

.product-page__info h1 { margin: 0.35rem 0; }

.product-page__price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--emerald-900);
  margin-bottom: 0.75rem;
}

.product-page__desc { margin-bottom: 1rem; }

.spec-list {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.spec-list li {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  background: var(--emerald-50);
  border: 1px solid #d1fae5;
}

.product-page__ship {
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--emerald-800);
}

.qty-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
}

.qty-control span:first-child { font-weight: 600; color: var(--text); }

.qty-control__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-control--compact {
  padding: 0;
  border: none;
  background: none;
  margin-bottom: 0.35rem;
  justify-content: flex-start;
  gap: 0.5rem;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

#qty-input {
  width: 52px;
  text-align: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  min-height: 36px;
}

.product-page__actions { display: grid; gap: 0.65rem; }

.product-sticky {
  position: fixed;
  inset-inline: 0;
  bottom: env(safe-area-inset-bottom);
  z-index: 104;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

.product-sticky__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--emerald-900);
}

.related { margin-top: 2rem; }
.related h2 { margin-bottom: 1rem; font-size: 1.35rem; }

.checkout-steps {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.checkout-steps li {
  flex: 1;
  padding: 0.55rem;
  border-radius: 999px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
}

.checkout-steps li.is-active {
  color: var(--emerald-900);
  background: var(--emerald-100);
  border-color: #a7f3d0;
}

.checkout-steps li.is-done {
  color: var(--success);
  background: #ecfdf5;
  border-color: #86efac;
}

.checkout-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-list { display: grid; gap: 0.75rem; }

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}

.cart-item__media {
  position: relative;
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f6f5;
  border: 1px solid var(--border);
}

.cart-item__media img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #f3f6f5;
  border-radius: 0;
  border: none;
  display: block;
}

.cart-item__body span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-item__body p { font-size: 0.82rem; margin-top: 0.15rem; }

.cart-item__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
}

.cart-item__remove {
  border: none;
  background: none;
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.summary-card,
.checkout-form {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  min-width: 0;
  max-width: 100%;
}

.checkout-panel { display: grid; gap: 1rem; }

.summary-card h2,
.checkout-form h2 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.checkout-form__section-title {
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.field select {
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
}

.field select:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.payment-extra {
  display: grid;
  gap: 0.85rem;
}

.payment-options {
  margin: 0;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
}

.payment-options legend {
  padding: 0 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.payment-options__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.55rem;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
}

.payment-options__item input {
  width: 18px;
  height: 18px;
  accent-color: #059669;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.summary-row strong { color: var(--text); }

.summary-row--total {
  border-bottom: none;
  padding-top: 0.85rem;
  font-size: 1.05rem;
}

.summary-row--total strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--emerald-900);
}

.summary-note {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.checkout-form { display: grid; gap: 0.85rem; }

.form-note, .form-foot { font-size: 0.85rem; color: var(--text-muted); }

.field { display: grid; gap: 0.35rem; }

.field span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--text);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid #86efac;
  outline-offset: 1px;
  border-color: var(--emerald-800);
}

.field textarea { min-height: 96px; resize: vertical; }

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 0.65rem;
  align-items: end;
  width: 100%;
  max-width: 100%;
}

.field--grow {
  min-width: 0;
}

.field--sm {
  min-width: 0;
}

.field--sm input {
  text-align: center;
  padding-inline: 0.45rem;
}

.form-error {
  color: var(--danger);
  font-size: 0.85rem;
  font-weight: 600;
}

.shipping-status {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.shipping-status--info {
  color: var(--emerald-900);
  background: var(--emerald-50);
  border: 1px solid #a7f3d0;
}

.shipping-status--loading {
  color: var(--text-secondary);
  background: var(--white);
  border: 1px solid var(--border);
}

.shipping-status--success {
  color: var(--success);
  background: var(--emerald-100);
  border: 1px solid #a7f3d0;
}

.shipping-status--error {
  color: var(--danger);
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.empty-state {
  padding: 2rem 1rem;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px dashed var(--border-strong);
}

.empty-state--compact { padding: 1.25rem; }

.empty-state p { margin-bottom: 1rem; }

.noscript-note {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--gold-100);
  color: var(--gold-800);
  font-weight: 600;
}

.site-footer {
  padding: 1.5rem 0 1rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-footer__brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text);
}

.site-footer__brand p,
.site-footer__inner > p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.mobile-bar {
  display: none !important;
}

.mobile-bar__surface {
  pointer-events: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  padding: 0.45rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(6, 78, 59, 0.12);
  box-shadow:
    0 8px 32px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(16px);
}

.mobile-bar__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 58px;
  padding: 0.35rem 0.2rem;
  border: none;
  border-radius: 16px;
  background: transparent;
  font-size: inherit;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.mobile-bar__item:active {
  transform: scale(0.96);
}

.mobile-bar__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

.mobile-bar__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.mobile-bar__label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.mobile-bar__item.is-active {
  color: var(--emerald-900);
  background: var(--emerald-50);
}

.mobile-bar__item--cart {
  color: var(--emerald-900);
}

.mobile-bar__icon--cart {
  width: 46px;
  height: 46px;
  margin-top: -18px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--emerald-800), var(--emerald-900));
  box-shadow: 0 8px 20px rgba(6, 78, 59, 0.28);
  border: 3px solid rgba(255, 255, 255, 0.95);
}

.mobile-bar__icon--cart svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.mobile-bar__item--accent {
  color: var(--white);
  background: linear-gradient(135deg, var(--gold-700), var(--gold-800));
}

.mobile-bar__item--accent.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--gold-700), var(--gold-800));
}

.mobile-bar__item--accent.is-disabled,
.mobile-bar__item--accent:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mobile-bar__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--white);
  background: var(--gold-700);
  border: 2px solid var(--white);
}

.toast {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 300;
  width: min(340px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--text);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  box-sizing: border-box;
  transform: translate(-50%, 12px) scale(0.98);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  box-shadow: var(--shadow);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}

.toast p { color: var(--white); font-size: 0.88rem; font-weight: 600; }

.toast__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.toast__action {
  flex: 1;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  background: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay { transition-delay: 0.1s; }

@media (min-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid--related { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  body,
  body.has-product-sticky { padding-bottom: 0; }

  .site-nav {
    display: flex;
    gap: 1.25rem;
  }

  .site-nav a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
  }

  .site-nav a:hover { color: var(--emerald-900); }

  .menu-btn { display: none; }

  .hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 1.5rem;
  }

  .hero__actions { grid-template-columns: 1fr 1fr; }

  .hero__features { gap: 0.75rem; }

  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

  .product-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }

  .checkout-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .cart-item {
    grid-template-columns: 88px 1fr auto;
    align-items: center;
  }

  .cart-item__actions {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-end;
    border-top: none;
    padding-top: 0;
  }

  .product-sticky { display: none; }

  .mobile-bar { display: none; }

  .toast { bottom: 1.5rem; }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(5, 1fr); }

  .about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
  }

  .product-grid--related { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .reveal { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ─── Modern polish (2026) ─────────────────────────────────── */

:root {
  --gradient-hero: radial-gradient(1200px 500px at 10% -10%, rgba(16, 185, 129, 0.14), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(212, 165, 116, 0.16), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.85);
}

body {
  background: var(--gradient-hero);
  background-attachment: fixed;
}

.trust-strip {
  position: sticky;
  top: calc(var(--promo) + var(--header));
  z-index: 105;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}

.trust-strip__viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.trust-strip__track {
  display: flex;
  width: max-content;
  animation: trust-scroll 28s linear infinite;
}

.trust-strip__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2.5rem;
  padding-block: 0.6rem;
  padding-inline: 1.25rem;
}

.trust-strip__group span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
}

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

@media (prefers-reduced-motion: reduce) {
  .trust-strip__track {
    animation: none;
    width: 100%;
    justify-content: center;
  }

  .trust-strip__group:not(:first-child) {
    display: none;
  }

  .trust-strip__group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    padding-inline: 1rem;
  }

  .trust-strip__group span {
    white-space: normal;
  }
}

.hero {
  position: relative;
  padding: 1.75rem 0 0.75rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(6, 78, 59, 0.06), transparent 45%);
  pointer-events: none;
}

.feature-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn--primary:hover:not(:disabled),
.btn--gold:hover:not(:disabled),
.btn--secondary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(6, 78, 59, 0.18);
}

.btn:focus-visible,
.cart-btn:focus-visible,
.menu-btn:focus-visible,
.filter:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #86efac;
  outline-offset: 2px;
}

.product-card {
  backdrop-filter: blur(6px);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(6, 78, 59, 0.12);
  border-color: #a7f3d0;
}

.product-card__media {
  overflow: hidden;
}

.product-card__media .product-img-frame {
  transition: transform 0.45s var(--ease);
  transform-origin: center center;
  width: 100%;
  height: 100%;
}

.product-card:hover .product-card__media .product-img-frame {
  transform: scale(1.04);
}

/* Com tarja HTML, sem zoom — evita a faixa NIU vazar por baixo */
.product-card:hover .product-card__media.has-niu-tarja .product-img-frame {
  transform: none;
}

.catalog-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.85rem;
}

.catalog-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.catalog-sort select {
  min-height: 42px;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--white);
}

.empty-state--search {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  padding-bottom: 2rem;
}

.thank-you__card {
  width: min(520px, 100%);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  text-align: center;
}

.thank-you__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--success);
  background: #ecfdf5;
  border: 2px solid #86efac;
}

.thank-you__icon--warn {
  color: #b45309;
  background: #fffbeb;
  border-color: #fcd34d;
}

.tag--warn {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

.checkout-alert {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
}

.checkout-alert strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.checkout-alert p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.thank-you__meta {
  margin: 1rem 0;
  padding: 0.85rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  text-align: left;
}

.thank-you__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  font-size: 0.92rem;
}

.thank-you__actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.thank-you__status {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.thank-you__row--warn strong {
  color: #b45309;
}

@media (min-width: 720px) {
  .trust-strip__group span {
    font-size: 0.82rem;
  }
}

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

/* ─── E-commerce storefront (NIU-inspired) ─────────────────── */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --header: 72px;
}

body {
  background: #ffffff;
}

body.store-home {
  background: #ffffff;
}

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

.site-chrome .category-bar {
  position: relative;
  top: auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eceff1;
  backdrop-filter: none;
}

.site-header__inner {
  min-height: var(--header);
  gap: 1rem;
}

.header-search {
  display: flex;
  flex: 1;
  min-width: 0;
  max-width: 560px;
  align-items: stretch;
  border: 1px solid #d7dde3;
  border-radius: 999px;
  overflow: hidden;
  background: #f7f8f9;
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.85rem 1rem;
  outline: none;
  color: var(--text);
}

.header-search__btn {
  width: 48px;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: var(--emerald-900);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.header-search__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-chat {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald-900);
}

.header-chat svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.cart-btn--rich {
  width: auto;
  min-width: 44px;
  height: auto;
  min-height: 44px;
  padding: 0.45rem 0.7rem;
  gap: 0.45rem;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
}

.cart-btn--rich svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.cart-btn__meta {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.cart-btn__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.cart-btn__value {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
}

.category-bar {
  background: var(--emerald-900);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: calc(var(--promo) + var(--header));
  z-index: 105;
}

.site-chrome .category-bar {
  position: relative;
}

.category-bar__inner {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.6rem 0;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.category-bar__inner::-webkit-scrollbar {
  display: none;
}

.category-bar__link {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.65rem 1rem;
  min-height: 44px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
}

.category-bar__link:hover,
.category-bar__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.category-bar__link--ghost {
  opacity: 0.9;
}

.shop-section {
  padding: 2rem 0 0.5rem;
}

.shop-section--alt {
  background: #f7f8f9;
  padding-bottom: 1.5rem;
  margin-top: 1rem;
}

.shop-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.shop-section__head h1,
.shop-section__head h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0;
}

.shop-section__head p {
  margin-top: 0.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.shop-section__head a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--emerald-800);
  white-space: nowrap;
}

.shop-section__empty {
  padding: 1.25rem;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  color: var(--text-muted);
  text-align: center;
}

.product-grid {
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.product-card {
  border-radius: 12px;
  box-shadow: none;
  border: 1px solid #e8ecef;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.product-card__media {
  aspect-ratio: 1;
  background: #fafafa;
  padding: 0.75rem;
  overflow: hidden;
}

.product-card__body {
  padding: 0.75rem 0.85rem 0.35rem;
  gap: 0.2rem;
}

.product-card__body h3 {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.3em;
}

.product-card__body p {
  display: none;
}

.product-card__price {
  margin-top: 0.4rem;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 800;
}

.product-card__variant {
  display: block;
  padding: 0 0.85rem 0.35rem;
}

.product-card__variant select {
  width: 100%;
  min-height: 36px;
  border: 1px solid #d7dde3;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
}

.product-page__variant {
  display: grid;
  gap: 0.35rem;
  margin: 0.85rem 0 1rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.product-page__variant select {
  min-height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
}

.product-card .btn--cart {
  width: calc(100% - 1rem);
  margin: 0.35rem 0.5rem 0.65rem;
  min-height: 40px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.store-benefits {
  padding: 1.5rem 0 0.5rem;
}

.store-benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.store-benefits__grid article {
  border: 1px solid #e8ecef;
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}

.store-benefits__grid strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.store-benefits__grid p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.site-footer__grid {
  display: grid;
  gap: 1rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.site-footer__links a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.site-footer__copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.catalog-search {
  margin-bottom: 1rem;
}

.filters {
  margin-bottom: 0.85rem;
}

@media (min-width: 720px) {
  .header-search {
    display: flex;
    order: unset;
    flex: 1;
    max-width: 560px;
    margin-top: 0;
  }

  .header-chat {
    display: inline-flex;
  }

  .cart-btn__meta {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .store-benefits__grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

  .site-footer__copy {
    grid-column: 1 / -1;
  }
}

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

  .container {
    width: min(1200px, calc(100% - 2rem));
  }
}

@media (max-width: 719px) {
  .brand__text small {
    display: none;
  }

  .site-header__inner {
    gap: 0.55rem;
    padding-block: 0.45rem 0.65rem;
  }

  .header-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    margin-top: 0;
  }

  .header-search input {
    padding: 0.7rem 0.9rem;
    font-size: 0.92rem;
  }

  .header-search__btn {
    width: 44px;
  }

  .site-header__actions {
    margin-left: auto;
  }

  .category-bar__link--ghost {
    display: none;
  }

  .cart-btn--rich .cart-btn__count:not([hidden]) {
    display: grid;
  }

  .filters {
    display: none;
  }

  .catalog-search {
    display: none;
  }
}

/* Cobre tarjas NIU (nome/unidades) no canto superior direito das fotos */
.product-img-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.product-img-frame > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-page__media .product-img-frame {
  width: 100%;
  height: auto;
  max-height: 420px;
}

.product-page__media .product-img-frame > img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  margin-inline: auto;
}

.has-niu-tarja .product-img-frame,
.has-niu-tarja.mini-cart__thumb,
.has-niu-tarja.cart-item__media {
  position: relative;
}

.img-banner-cover {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: var(--niu-cover, 44%);
  height: var(--niu-cover, 44%);
  pointer-events: none;
  background: var(--niu-cover-bg, #fff);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  box-shadow: -2px 2px 0 var(--niu-cover-bg, #fff);
}

.product-card__media .img-banner-cover,
.product-page__media .img-banner-cover {
  background: var(--niu-cover-bg, #fff);
  width: var(--niu-cover, 44%);
  height: var(--niu-cover, 44%);
}

.mini-cart__thumb .img-banner-cover,
.cart-item__media .img-banner-cover {
  width: var(--niu-cover, 48%);
  height: var(--niu-cover, 48%);
  background: var(--niu-cover-bg, #f3f6f5);
  box-shadow: -1px 1px 0 var(--niu-cover-bg, #f3f6f5);
}

.product-card__badge {
  z-index: 3;
}
