/* Cabecinha Laranja — identidade visual baseada na logo */

:root {
  --cl-orange: #ff8c00;
  --cl-orange-dark: #e67e00;
  --cl-orange-light: #ffa733;
  --cl-brown: #2b1b17;
  --cl-brown-light: #3d2a24;
  --cl-cream: #fff8f0;
  --cl-silver: #c0c0c0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--cl-cream);
  color: var(--cl-brown);
  overflow-x: clip;
  min-width: 0;
}

main {
  min-width: 0;
  overflow-x: clip;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

/* Container padrão das páginas */
.page-container {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

/* Grid de produtos — 1 col mobile estreito, 2 cols tablet, 4 desktop */
.products-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.875rem;
}

@media (min-width: 400px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (min-width: 768px) {
  .products-grid {
    gap: 1rem;
  }
}

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

.product-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.products-grid > * {
  min-width: 0;
}

/* Performance: content-visibility para seções abaixo da dobra (sem grids de produto) */
.below-fold {
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}

/* Botão primário — laranja da logo */
.btn-primary {
  background: linear-gradient(180deg, var(--cl-orange-light) 0%, var(--cl-orange) 50%, var(--cl-orange-dark) 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(255, 140, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-buy-now {
  background: var(--cl-brown);
  color: #fff;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  transition: background 0.15s ease;
}

.btn-buy-now:hover {
  background: var(--cl-brown-light);
}

/* Cards de produto */
.product-card {
  background: #fff;
  border-radius: 1.25rem;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--cl-orange);
  box-shadow: 0 8px 30px rgba(43, 27, 23, 0.08);
}

.product-card-media {
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 1.1rem 1.1rem 0 0;
}

.product-card img,
.product-card-img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  display: block;
}

.product-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.75rem;
  gap: 0.375rem;
}

@media (min-width: 640px) {
  .product-card-body {
    padding: 1rem;
    gap: 0.5rem;
  }
}

.product-card-title {
  font-weight: 700;
  color: var(--cl-brown);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.8125rem;
  line-height: 1.3;
  word-break: break-word;
}

@media (min-width: 640px) {
  .product-card-title {
    font-size: 1rem;
    line-height: 1.35;
  }
}

.product-card-title:hover {
  color: var(--cl-orange);
}

.product-card-price {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--cl-orange);
  line-height: 1.2;
}

@media (min-width: 640px) {
  .product-card-price {
    font-size: 1.5rem;
  }
}

.product-card-stock {
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .product-card-stock {
    font-size: 0.75rem;
  }
}

.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
  min-width: 0;
}

@media (min-width: 480px) {
  .product-card-actions {
    flex-direction: row;
  }
}

.product-card-actions .btn-primary,
.product-card-actions .btn-buy-now {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.625rem;
  font-size: 0.6875rem;
  white-space: nowrap;
  text-align: center;
}

@media (min-width: 640px) {
  .product-card-actions .btn-primary,
  .product-card-actions .btn-buy-now {
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
  }
}

/* Header sticky */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--cl-orange);
}

.site-logo-link {
  display: block;
  line-height: 0;
  transition: transform 0.2s ease;
}

.site-logo-link:hover {
  transform: scale(1.03);
}

.site-logo {
  height: 3.25rem;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(255, 140, 0, 0.35));
}

@media (min-width: 480px) {
  .site-logo {
    height: 4rem;
  }
}

@media (min-width: 768px) {
  .site-logo {
    height: 5.5rem;
  }
}

/* Badge do carrinho */
.cart-badge {
  background: var(--cl-orange);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -4px;
  right: -4px;
}

/* Toast de feedback */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--cl-brown);
  color: #fff;
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  border-left: 4px solid var(--cl-orange);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 100;
  max-width: 320px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Botão flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 180;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 9999px;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float img {
  width: 2rem;
  height: 2rem;
  filter: brightness(0) invert(1);
  position: relative;
  z-index: 1;
}

.whatsapp-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #25d366;
  animation: whatsapp-pulse 2s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 3.5rem;
    height: 3.5rem;
  }

  .toast {
    bottom: 5.5rem;
  }
}

/* Hero */
.hero-banner {
  position: relative;
  background-color: var(--cl-brown);
  background-image: url('/imagens/banner/hero-banner-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(43, 27, 23, 0.88) 0%,
    rgba(43, 27, 23, 0.55) 45%,
    rgba(230, 126, 0, 0.45) 100%
  );
  pointer-events: none;
}

.hero-banner h1,
.hero-banner p {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

/* Cards de confiança interativos */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-card-v2 {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #fff;
  border: 2px solid rgba(255, 140, 0, 0.15);
  box-shadow: 0 8px 32px rgba(43, 27, 23, 0.08);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.trust-card-v2:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 48px rgba(255, 140, 0, 0.2);
  border-color: var(--cl-orange);
}

.trust-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 2;
}

.trust-card-v2:hover .trust-shine {
  left: 150%;
}

.trust-card-top {
  position: relative;
  padding: 1.5rem 1.25rem 1rem;
  text-align: center;
  overflow: hidden;
}

.trust-card-top-wa {
  background: linear-gradient(135deg, #dcf8c6 0%, #25d366 40%, #128c7e 100%);
}

.trust-card-top-ship {
  background: linear-gradient(135deg, #fff8f0 0%, #ffcc80 50%, var(--cl-orange) 100%);
  min-height: 9rem;
  padding: 0.5rem 0.75rem 0.25rem;
}

.trust-map-scene {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-map-animated {
  width: 100%;
  max-width: 13rem;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(43, 27, 23, 0.2));
}

.trust-map-state {
  fill: rgba(255, 255, 255, 0.55);
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 0.8;
  transition: fill 0.3s ease;
}

.trust-card-ship:hover .trust-map-state {
  fill: rgba(255, 255, 255, 0.7);
}

.trust-map-route {
  fill: none;
  stroke: #2b1b17;
  stroke-width: 2.5;
  stroke-dasharray: 6 4;
  stroke-linecap: round;
  opacity: 0.75;
  animation: trust-route-dash 1s linear infinite;
}

@keyframes trust-route-dash {
  to { stroke-dashoffset: -14; }
}

.trust-truck-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.trust-ship-title-map {
  margin-top: 0.25rem;
  text-align: center;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.6);
}

.trust-ship-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 0.25rem;
}

.trust-ship-icon-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: #fff8f0;
  border-radius: 0.75rem;
  border: 2px solid rgba(255, 140, 0, 0.2);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.trust-ship-icon-item:hover {
  transform: scale(1.12);
  border-color: var(--cl-orange);
}

.trust-ship-icon-item img {
  max-width: 2.5rem;
  height: auto;
}

.trust-card-top-pay {
  background: linear-gradient(135deg, #e8f5e9 0%, #32bcad 50%, #1a8a7d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.trust-logo-hero {
  width: 3.5rem;
  height: 3.5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trust-card-wa:hover .trust-logo-hero {
  transform: scale(1.2) rotate(-8deg);
}

.trust-pulse-dot {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 0.75rem;
  height: 0.75rem;
  background: #fff;
  border-radius: 50%;
  animation: trust-pulse 1.5s ease infinite;
}

@keyframes trust-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); transform: scale(1); }
  50% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); transform: scale(1.1); }
}

.trust-card-content {
  padding: 1rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--cl-brown);
  text-align: center;
}

.trust-ship-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--cl-brown);
  position: relative;
  z-index: 1;
}

.trust-highlight {
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--cl-orange);
  text-align: center;
}

.trust-desc {
  font-size: 0.8rem;
  color: rgba(43, 27, 23, 0.65);
  text-align: center;
  line-height: 1.5;
}

.trust-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.trust-flag-img {
  width: 3rem;
  height: auto;
  border-radius: 0.375rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 2px solid #fff;
  transition: transform 0.3s ease;
}

.trust-card-wa:hover .trust-flag-img:first-child {
  transform: translateX(-4px) scale(1.1);
}

.trust-card-wa:hover .trust-flag-img:last-child {
  transform: translateX(4px) scale(1.1);
}

.trust-route-track {
  flex: 1;
  max-width: 5rem;
  height: 3px;
  background: linear-gradient(90deg, #d52b1e, var(--cl-orange), #009b3a);
  border-radius: 9999px;
  position: relative;
  overflow: visible;
}

.trust-route-plane {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 0.85rem;
  animation: trust-fly 2.5s ease-in-out infinite;
}

@keyframes trust-fly {
  0% { left: 0; opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 1rem); opacity: 0.3; }
}

.trust-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-cta-wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.trust-card-wa:hover .trust-cta-wa {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.trust-cta-long {
  font-size: 0.75rem;
  padding: 0.7rem 0.875rem;
  text-align: center;
  line-height: 1.2;
}

.trust-map-bg {
  display: none;
}

.trust-logo-feature {
  display: flex;
  justify-content: center;
  padding: 0.5rem;
  background: #fff;
  border-radius: 0.75rem;
  border: 2px solid #ee4d2d;
  box-shadow: 0 4px 16px rgba(238, 77, 45, 0.2);
  transition: transform 0.3s ease;
}

.trust-card-ship:hover .trust-logo-feature {
  transform: scale(1.05);
}

.trust-logo-shopee {
  max-width: 100%;
  height: auto;
}

.trust-marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.trust-marquee {
  overflow: hidden;
}

.trust-marquee-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: trust-scroll 18s linear infinite;
}

.trust-card-ship:hover .trust-marquee-track {
  animation-play-state: paused;
}

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

.trust-logo-chip {
  height: 2rem;
  width: auto;
  min-width: 5rem;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #f8f8f8;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.trust-logo-chip-icon {
  min-width: 2.5rem;
  padding: 0.35rem;
}

.trust-logo-chip:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.trust-badge-12x {
  background: var(--cl-brown);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  animation: trust-bounce 2s ease infinite;
}

@keyframes trust-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.trust-pix-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #f0fdfb, #e0f7f4);
  border-radius: 1rem;
  border: 2px solid #32bcad;
}

.trust-logo-pix {
  width: 5.5rem;
  height: auto;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.trust-card-pay:hover .trust-logo-pix {
  transform: scale(1.05);
}

.trust-pix-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #1a8a7d;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: left;
}

.trust-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trust-cards-caption {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--cl-brown);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.trust-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.trust-card-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 0.625rem;
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
  cursor: default;
}

.trust-card-brand img {
  max-height: 1.75rem;
  max-width: 100%;
  object-fit: contain;
}

.trust-card-brand:hover {
  transform: translateY(-4px) scale(1.08);
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.trust-section .trust-card-v2.trust-visible {
  animation: trust-fade-up 0.6s ease forwards;
}

@keyframes trust-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .trust-map-route {
    animation: none;
  }

  .trust-map-animated .trust-truck-group animateMotion {
    display: none;
  }

  .whatsapp-float-pulse {
    animation: none;
  }
}

.hero-gradient {
  background: linear-gradient(135deg, var(--cl-brown) 0%, var(--cl-brown-light) 40%, var(--cl-orange-dark) 100%);
}

/* Input focus */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--cl-orange);
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Acessibilidade: reduzir animações */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Carrinho lateral — desliza da direita até o meio */
body.cart-open {
  overflow: hidden;
}

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

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

.cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 27, 23, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-drawer.is-open .cart-overlay {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(43, 27, 23, 0.15);
  border-left: 4px solid var(--cl-orange);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  .cart-panel {
    max-width: min(50vw, 32rem);
  }
}

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

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 2px solid var(--cl-cream);
  flex-shrink: 0;
}

.cart-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.cart-panel-footer {
  flex-shrink: 0;
  padding: 1.25rem;
  border-top: 2px solid var(--cl-cream);
  background: var(--cl-cream);
}

.cart-item {
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(192, 192, 192, 0.3);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.75rem;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(43, 27, 23, 0.5);
}

.cart-empty svg {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  opacity: 0.35;
}

/* Página produtos — hero + busca ao vivo */
.produtos-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--cl-brown);
  background-image: url('/imagens/banner/hero-banner-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 4px solid var(--cl-orange);
}

.produtos-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(43, 27, 23, 0.9) 0%,
    rgba(43, 27, 23, 0.65) 50%,
    rgba(230, 126, 0, 0.4) 100%
  );
  pointer-events: none;
}

.produtos-hero h1,
.produtos-hero header p {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.produtos-search-bar {
  position: sticky;
  top: 5.75rem;
  z-index: 30;
  margin-bottom: 0;
  padding: 1rem;
  background: rgba(43, 27, 23, 0.72);
  backdrop-filter: blur(12px);
  border-radius: 1.25rem;
  border: 2px solid rgba(255, 140, 0, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .produtos-search-bar {
    top: 6.75rem;
  }
}

.produtos-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 2px solid rgba(192, 192, 192, 0.5);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.produtos-search-wrap:focus-within {
  border-color: var(--cl-orange);
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15);
}

.produtos-search-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--cl-orange);
  flex-shrink: 0;
}

.produtos-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--cl-brown);
  background: transparent;
  min-width: 0;
}

.produtos-search-input::placeholder {
  color: rgba(43, 27, 23, 0.4);
}

.produtos-search-count {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--cl-brown);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  transition: background 0.2s ease;
}

.produtos-search-count.is-updated {
  background: var(--cl-orange);
}

.produtos-search-clear {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 9999px;
  background: var(--cl-orange);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.produtos-search-clear:hover {
  opacity: 0.85;
}

.produtos-search-suggestions {
  margin-top: 0.5rem;
  background: #fff;
  border: 2px solid rgba(255, 140, 0, 0.35);
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.produtos-suggestion {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: none;
  background: #fff;
  color: var(--cl-brown);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.produtos-suggestion + .produtos-suggestion {
  border-top: 1px solid rgba(192, 192, 192, 0.35);
}

.produtos-suggestion:hover,
.produtos-suggestion.is-active {
  background: rgba(255, 140, 0, 0.1);
}

.produtos-suggestion-img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  object-fit: cover;
  flex-shrink: 0;
  background: #f5f0eb;
}

.produtos-suggestion-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.produtos-suggestion-name {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.produtos-suggestion-name mark {
  background: rgba(255, 140, 0, 0.25);
  color: inherit;
  border-radius: 0.2rem;
  padding: 0 0.1rem;
}

.produtos-suggestion-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cl-orange);
}

.produtos-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.875rem;
}

.produtos-filter {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  border: 2px solid rgba(255, 140, 0, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.2s ease;
}

.produtos-filter:hover {
  border-color: var(--cl-orange);
  background: rgba(255, 140, 0, 0.15);
  color: #fff;
}

.produtos-filter.is-active {
  background: var(--cl-orange);
  border-color: var(--cl-orange);
  color: #fff;
}

.produtos-section.is-collapsed {
  display: none;
}

.product-item.is-hidden {
  display: none !important;
}

.produtos-empty {
  text-align: center;
  padding: 3rem 1rem;
  background: #fff;
  border-radius: 1.25rem;
  border: 2px dashed rgba(255, 140, 0, 0.35);
  margin-top: 1rem;
}

/* Ajustes mobile globais */
@media (max-width: 767px) {
  .site-header .max-w-6xl {
    gap: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .hero-banner .relative.z-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-banner h1 {
    font-size: 1.875rem;
    line-height: 1.15;
  }

  .produtos-hero-inner {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .produtos-search-bar {
    top: 4.25rem;
    padding: 0.75rem;
    border-radius: 1rem;
  }

  .produtos-search-wrap {
    padding: 0.4rem 0.75rem;
    gap: 0.5rem;
  }

  .produtos-search-input {
    font-size: 0.875rem;
  }

  .produtos-search-input::placeholder {
    font-size: 0.75rem;
  }

  .produtos-filter {
    font-size: 0.7rem;
    padding: 0.3rem 0.65rem;
  }

  .trust-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .trust-grid {
    gap: 0.625rem;
  }

  .trust-card-v2 {
    border-radius: 1rem;
    border-width: 1px;
    box-shadow: 0 4px 16px rgba(43, 27, 23, 0.06);
  }

  .trust-card-top {
    padding: 0.625rem 0.75rem 0.375rem;
  }

  .trust-card-top-ship {
    min-height: 4.75rem;
    padding: 0.25rem 0.5rem 0.125rem;
  }

  .trust-card-top-pay {
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
  }

  .trust-logo-hero {
    width: 2.25rem;
    height: 2.25rem;
  }

  .trust-pulse-dot {
    top: 0.5rem;
    right: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
  }

  .trust-map-animated {
    max-width: 6.5rem;
  }

  .trust-ship-title-map {
    font-size: 0.75rem;
    margin-top: 0.125rem;
  }

  .trust-card-content {
    padding: 0.5rem 0.625rem 0.75rem;
    gap: 0.375rem;
  }

  .trust-title,
  .trust-ship-title {
    font-size: 0.75rem;
  }

  .trust-highlight {
    font-size: 0.875rem;
  }

  .trust-desc {
    font-size: 0.65rem;
    line-height: 1.35;
  }

  .trust-flag-img {
    width: 2rem;
    border-width: 1px;
  }

  .trust-route {
    padding: 0.25rem 0;
    gap: 0.35rem;
  }

  .trust-route-track {
    max-width: 3.25rem;
    height: 2px;
  }

  .trust-route-plane {
    font-size: 0.65rem;
  }

  .trust-cta {
    padding: 0.45rem 0.625rem;
    font-size: 0.7rem;
    gap: 0.35rem;
  }

  .trust-cta img {
    width: 1rem;
    height: 1rem;
  }

  .trust-ship-icons {
    gap: 0.5rem;
    padding-top: 0.125rem;
  }

  .trust-ship-icon-item {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    border-width: 1px;
  }

  .trust-ship-icon-item img {
    max-width: 1.35rem;
  }

  .trust-ship-icon-item svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .trust-badge-12x {
    font-size: 0.8rem;
    padding: 0.15rem 0.5rem;
  }

  .trust-pix-block {
    gap: 0.5rem;
    padding: 0.45rem 0.625rem;
    border-radius: 0.75rem;
    border-width: 1px;
  }

  .trust-logo-pix {
    width: 3.25rem;
  }

  .trust-pix-label {
    font-size: 0.6rem;
  }

  .trust-cards-caption {
    font-size: 0.6rem;
  }

  .trust-cards-row {
    gap: 0.35rem;
  }

  .trust-card-brand {
    padding: 0.3rem;
    border-radius: 0.45rem;
  }

  .trust-card-brand img {
    max-height: 1.1rem;
  }

  .trust-card-v2:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(43, 27, 23, 0.06);
  }

  .products-grid {
    gap: 1.5rem;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

@media (max-width: 380px) {
  .produtos-search-count {
    font-size: 0.625rem;
    padding: 0.15rem 0.4rem;
  }

  .product-card-actions .btn-primary,
  .product-card-actions .btn-buy-now {
    font-size: 0.625rem;
    padding: 0.45rem 0.4rem;
  }
}

/* Galeria de imagens — página do produto */
.product-gallery-main {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 140, 0, 0.12);
}

.product-gallery-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery-thumb.is-active,
.product-gallery-thumb:hover {
  border-color: var(--cl-orange);
  transform: translateY(-1px);
}

.product-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery-modal.hidden {
  display: none;
}

.product-gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 27, 23, 0.85);
  backdrop-filter: blur(4px);
}

.product-gallery-modal-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 900px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 3.5rem;
}

.product-gallery-modal-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.product-gallery-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.product-gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.product-gallery-modal-prev { left: 0; }
.product-gallery-modal-next { right: 0; }

.product-gallery-modal-counter {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 600;
}

