/* Template padrão da loja — diferente do sistema de temas antigo (que só
   ajustava classes do style.css compartilhado), este template tem markup
   próprio (layouts/store-storefront.php, layouts/checkout-storefront.php e
   as views *-storefront.php) com suas próprias classes ".storefront-*",
   então este arquivo é o design completo, não um conjunto de overrides
   pontuais. As variáveis de cor abaixo são a paleta padrão — a ideia é que
   fiquem editáveis por loja em Configurações > Templates (customização de
   cores), sem tocar na estrutura. */
:root {
  --storefront-bg: #ffffff;
  --storefront-bg-page: #F8FAFC;
  --storefront-text: #1a1a1a;
  --storefront-text-muted: #666666;
  --storefront-dark: #000000;
  --storefront-header-bg: #0F172A;
  --storefront-nav-bg: #1E293B;
  --storefront-nav-hover: #263449;
  --storefront-topbar-bg: #EEF4FF;
  --storefront-topbar-text: #0052CC;
  --storefront-primary: #0066FF;
  --storefront-primary-hover: #0052CC;
  --storefront-accent: #22C55E;
  --storefront-red: #EF4444;
  --storefront-warning: #F59E0B;
  --storefront-pix: #22C55E;
  --storefront-pix-bg: #e5f6ee;
  --storefront-border: #e2e8f0;
  --storefront-card-bg: #ffffff;
  --storefront-badge-free-shipping: #059669;
  --storefront-footer-bg: #0F172A;
  /* Menu em abas do padrão da front page (Aparência > Menu da vitrine). */
  --storefront-menu-start: #00D2FF;
  --storefront-menu-end: #0052CC;
  --storefront-menu-text: #ffffff;
  --storefront-menu-neutral: #eef2f9;
  --storefront-menu-panel-bg: #ffffff;
}

/* Modo escuro da vitrine (Aparência > Templates continua controlando a marca do tema claro;
   o escuro usa os tons fixos do guia de design como uma camada independente, já que o dono
   pediu HD/consistência nos dois temas sem duplicar a tela de personalização). */
body.theme-storefront[data-theme="dark"] {
  --storefront-bg: #1E293B;
  --storefront-bg-page: #0F172A;
  --storefront-text: #F1F5F9;
  --storefront-text-muted: #94A3B8;
  --storefront-border: #334155;
  --storefront-card-bg: #1E293B;
  --storefront-topbar-bg: #1E293B;
  --storefront-topbar-text: #7CB0FF;
  --storefront-pix-bg: #123524;
  --storefront-menu-neutral: #1E293B;
  --storefront-menu-panel-bg: #1E293B;
}

/* Transição de tela nativa do navegador (MPA): tira o "tranco" seco entre páginas sem
   router/JS extra; cai para o comportamento atual (troca seca) onde não há suporte, e
   respeita prefers-reduced-motion (ver storefront-ui.css). */
@view-transition {
  navigation: auto;
}

/* Transição suave e moderna (View Transitions API nativa): cabeçalho/topbar/menu/rodapé
   recebem nome próprio para ficarem ESTÁVEIS entre páginas (não recarregam visualmente,
   sem "flash") — só a área de conteúdo central faz o crossfade. Sem isso, o navegador
   tira uma foto da tela inteira (menu incluso) e croza com a próxima, o que pisca ao
   trocar de categoria. Curva suave e rápida o bastante pra não parecer lenta. */
/* .sp-topbar só existe visualmente em desktop (d-none d-lg-block); dar view-transition-name
   a um elemento sem caixa gerada (display:none) invalida a transição inteira e o navegador
   cai no crossfade de tela cheia — o "flash" reportado ao trocar de categoria no mobile. */
@media (min-width: 992px) {
  .sp-topbar { view-transition-name: sp-topbar; }
}
.sp-header { view-transition-name: sp-header; }
.sp-nav { view-transition-name: sp-nav; }
.sp-footer { view-transition-name: sp-footer; }

::view-transition-group(*) {
  animation-duration: .22s;
  animation-timing-function: cubic-bezier(.4, 0, .2, 1);
}
::view-transition-old(sp-topbar), ::view-transition-new(sp-topbar),
::view-transition-old(sp-header), ::view-transition-new(sp-header),
::view-transition-old(sp-nav), ::view-transition-new(sp-nav),
::view-transition-old(sp-footer), ::view-transition-new(sp-footer) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .18s;
}

/* RESET E LIMITES GLOBAIS DE IMAGEM (IMPEDE SOBREPOSIÇÃO) */
.theme-storefront *, .theme-storefront *::before, .theme-storefront *::after {
  box-sizing: border-box;
}

.theme-storefront img, .theme-storefront svg {
  max-width: 100%;
  height: auto;
  display: block;
}

body.theme-storefront {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--storefront-text);
  background-color: var(--storefront-bg-page);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  transition: background-color .2s ease, color .2s ease;
}

/* TOPBAR */
.storefront-topbar {
  background-color: var(--storefront-topbar-bg);
  color: var(--storefront-topbar-text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 168, 132, 0.15);
  letter-spacing: 0.2px;
}
/* Símbolo oficial do Pix (Banco Central) — mesmo path do public/assets/brands/pix/pix-marca.svg
   (Simple Icons, CC0), como máscara CSS pra herdar a cor do texto ao redor (currentColor). */
.pix-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.283 18.36a3.505 3.505 0 0 0 2.493-1.032l3.6-3.6a.684.684 0 0 1 .946 0l3.613 3.613a3.504 3.504 0 0 0 2.493 1.032h.71l-4.56 4.56a3.647 3.647 0 0 1-5.156 0L4.85 18.36ZM18.428 5.627a3.505 3.505 0 0 0-2.493 1.032l-3.613 3.614a.67.67 0 0 1-.946 0l-3.6-3.6A3.505 3.505 0 0 0 5.283 5.64h-.434l4.573-4.572a3.646 3.646 0 0 1 5.156 0l4.559 4.559ZM1.068 9.422 3.79 6.699h1.492a2.483 2.483 0 0 1 1.744.722l3.6 3.6a1.73 1.73 0 0 0 2.443 0l3.614-3.613a2.482 2.482 0 0 1 1.744-.723h1.767l2.737 2.737a3.646 3.646 0 0 1 0 5.156l-2.736 2.736h-1.768a2.482 2.482 0 0 1-1.744-.722l-3.613-3.613a1.77 1.77 0 0 0-2.444 0l-3.6 3.6a2.483 2.483 0 0 1-1.744.722H3.791l-2.723-2.723a3.646 3.646 0 0 1 0-5.156'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.283 18.36a3.505 3.505 0 0 0 2.493-1.032l3.6-3.6a.684.684 0 0 1 .946 0l3.613 3.613a3.504 3.504 0 0 0 2.493 1.032h.71l-4.56 4.56a3.647 3.647 0 0 1-5.156 0L4.85 18.36ZM18.428 5.627a3.505 3.505 0 0 0-2.493 1.032l-3.613 3.614a.67.67 0 0 1-.946 0l-3.6-3.6A3.505 3.505 0 0 0 5.283 5.64h-.434l4.573-4.572a3.646 3.646 0 0 1 5.156 0l4.559 4.559ZM1.068 9.422 3.79 6.699h1.492a2.483 2.483 0 0 1 1.744.722l3.6 3.6a1.73 1.73 0 0 0 2.443 0l3.614-3.613a2.482 2.482 0 0 1 1.744-.723h1.767l2.737 2.737a3.646 3.646 0 0 1 0 5.156l-2.736 2.736h-1.768a2.482 2.482 0 0 1-1.744-.722l-3.613-3.613a1.77 1.77 0 0 0-2.444 0l-3.6 3.6a2.483 2.483 0 0 1-1.744.722H3.791l-2.723-2.723a3.646 3.646 0 0 1 0-5.156'/%3E%3C/svg%3E") no-repeat center;
  vertical-align: -2px;
  margin-right: 4px;
}

/* HEADER PRINCIPAL */
.storefront-header {
  background-color: var(--storefront-header-bg);
  padding: 20px 0;
  border-bottom: 1px solid #111;
}
.storefront-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  width: 100%;
}
.storefront-logo-img {
  height: 200px !important;
  width: auto !important;
  max-width: none !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  clip-path: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  display: block !important;
  mix-blend-mode: screen !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}
/* "Rotação em flash" da logo (Admin > Templates > Identidade Visual) — fica parada a
   maior parte do tempo e dá uma giradinha rápida de vez em quando, sem girar contínuo. */
.fx-logo-rotate {
  animation: sf-logo-rotate 5s ease-in-out infinite;
  transform-origin: center;
}
@keyframes sf-logo-rotate {
  0%, 80% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.fx-logo-pulse {
  animation: sf-logo-pulse 2.2s ease-in-out infinite;
}
@keyframes sf-logo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.fx-logo-float {
  animation: sf-logo-float 3.2s ease-in-out infinite;
}
@keyframes sf-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.fx-logo-glow {
  animation: sf-logo-glow 2s ease-in-out infinite;
}
@keyframes sf-logo-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0)); }
  50% { filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.75)); }
}
@media (prefers-reduced-motion: reduce) {
  .fx-logo-rotate, .fx-logo-pulse, .fx-logo-float, .fx-logo-glow { animation: none; }
}

@media (max-width: 767px) {
  .storefront-logo-img {
    height: 144px !important;
    width: auto !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    mix-blend-mode: screen !important;
  }
}
.storefront-logo-text {
  display: flex;
  flex-direction: column;
}
.storefront-logo-title {
  color: #ffffff;
  font-weight: 900;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.storefront-logo-sub {
  color: #ff3344;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

/* BUSCA */
.storefront-search-wrapper {
  position: relative;
  width: 100%;
}
.storefront-search-input {
  background-color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px 48px 10px 16px;
  font-size: 0.9rem;
  width: 100%;
  color: #333;
  outline: none;
}
.storefront-search-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  background-color: #555e6d;
  color: #fff;
  border: none;
  border-radius: 4px;
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}
.storefront-search-btn:hover {
  background-color: #3f4754;
}

/* AÇÕES DO USUÁRIO */
.storefront-action-item {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  transition: opacity 0.2s;
}
.storefront-action-item.btn-unstyled {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.storefront-action-item:hover {
  color: #e2e8f0;
  opacity: 0.9;
}
.storefront-action-icon {
  font-size: 1.5rem;
  color: #e2e8f0;
  line-height: 1;
}
.storefront-action-text small {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
}
.storefront-action-text strong {
  display: block;
  font-weight: 600;
}
.cart-badge-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: bold;
}

/* PAINEL FLUTUANTE (ATENDIMENTO / CONTA) */
.storefront-flyout-item {
  position: relative;
}
.storefront-flyout-panel {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  padding: 18px;
  width: 280px;
  z-index: 50;
  font-size: 0.82rem;
}
.storefront-flyout-item:hover .storefront-flyout-panel,
.storefront-flyout-item:focus-within .storefront-flyout-panel,
.storefront-flyout-item.open .storefront-flyout-panel {
  display: block;
}
.storefront-flyout-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--storefront-border);
}
.storefront-flyout-row:last-child {
  border-bottom: none;
}
.storefront-flyout-row a {
  color: var(--storefront-primary);
  text-decoration: none;
}

/* Painel "Central de Atendimento" (referência do usuário: cabeçalho com ícone, linhas com
   ícone-em-círculo, pills de telefone/WhatsApp, CTA de destaque pra "Fale Conosco"). */
.sf-support-panel {
  width: 320px;
  padding: 0;
  overflow: hidden;
}
.sf-support-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: var(--storefront-bg-page, #f3f4f9);
}
.sf-support-head-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--storefront-primary);
  color: #fff;
  font-size: 1.1rem;
}
.sf-support-head-ico-line {
  background: none;
  color: var(--storefront-primary);
  width: auto;
}
.sf-support-head-title {
  flex: 1;
  line-height: 1.2;
}
.sf-support-head-title small {
  display: block;
  font-size: 0.75rem;
  color: var(--storefront-text-muted, #6b7280);
}
.sf-support-head-title strong {
  display: block;
  font-size: 1rem;
  color: #111827;
}
.sf-support-head-chev {
  color: var(--storefront-text-muted, #6b7280);
}
.sf-support-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--storefront-border);
  flex-wrap: wrap;
}
.sf-support-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--storefront-bg-page, #f3f4f9);
  color: var(--storefront-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.sf-support-row-text {
  flex: 1;
  min-width: 120px;
  line-height: 1.3;
}
.sf-support-row-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--storefront-text-muted, #6b7280);
}
.sf-support-row-text strong {
  font-size: 0.9rem;
  color: #111827;
}
.sf-support-row-text a {
  font-size: 0.85rem;
  color: var(--storefront-primary);
  text-decoration: none;
}
.sf-support-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sf-support-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--storefront-border);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--storefront-primary);
  text-decoration: none;
  white-space: nowrap;
}
.sf-support-pill:hover {
  background: var(--storefront-bg-page, #f3f4f9);
}
.sf-support-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--storefront-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.sf-support-cta:hover {
  background: var(--storefront-primary-hover, #0a0f22);
  color: #fff;
}

/* DEPARTAMENTOS / NAVBAR */
.storefront-nav-bar {
  background-color: var(--storefront-nav-bg);
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.btn-departments {
  background-color: #121824;
  color: #ffffff;
  border: none;
  padding: 13px 26px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
}
.btn-departments:hover {
  background-color: #0b0f17;
  color: #fff;
}

/* Dropdown "Departamentos" (referência do usuário: ícone-em-círculo + nome + chevron,
   divisores finos entre itens) — lista simples (sem hierarquia pai/filho). */
.sf-dept-menu {
  min-width: 280px;
  padding: 6px 0 !important;
}
.sf-dept-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 16px !important;
  border-bottom: 1px solid var(--storefront-border);
}
.sf-dept-menu li:last-child .sf-dept-item {
  border-bottom: 0;
}
.sf-dept-ico {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--storefront-bg-page, #f3f4f9);
  color: var(--storefront-primary);
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.sf-dept-name {
  flex: 1;
  font-weight: 600;
  color: #1f2937;
}
.sf-dept-chev {
  color: var(--storefront-text-muted, #6b7280);
  font-size: 0.8rem;
}
.sf-dept-item:hover {
  background: var(--storefront-bg-page, #f3f4f9);
}
.sf-dept-item:hover .sf-dept-name {
  color: var(--storefront-primary);
}

/* FAIXA DE VANTAGENS */
.storefront-advantages-bar {
  background-color: #000000;
  color: #ffffff;
  padding: 14px 0;
  border-bottom: 1px solid #1a2234;
  margin-bottom: 24px;
}
.advantage-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.advantage-icon {
  font-size: 1.6rem;
  color: #e2e8f0;
}
.advantage-text strong {
  display: block;
  font-size: 0.85rem;
  color: #ffffff;
}
.advantage-text small {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
}

/* Marketing da própria plataforma (Meds Projects) — só renderizado no domínio matriz
   (is_matriz_store(), app/Views/home/index.php), nunca nas lojas dos clientes. */
.platform-marketing {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f9 100%);
}
.platform-marketing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--storefront-primary, #1b2542);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.platform-marketing-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  -webkit-font-smoothing: antialiased;
}
.platform-marketing-subtitle {
  color: #475569;
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.95rem;
}
.platform-marketing-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 16px;
  height: 100%;
  text-align: center;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  border: 1px solid #e6e9f0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.platform-marketing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}
.platform-marketing-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--storefront-primary, #1b2542), var(--sf-accent, #2f6fed));
  color: #ffffff;
  font-size: 1.4rem;
}
.platform-marketing-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}
.platform-marketing-card p {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .platform-marketing-title { font-size: 1.25rem; }
  .platform-marketing-card { padding: 18px 12px; }
}

/* CARROSSEL DE PRODUTOS (home — "Ofertas em destaque" e carrosséis "compre por marca").
   Scroll horizontal nativo (scroll-snap) funciona sem JS; as setas (sf-carousel.js,
   vanilla — sem dependência de build do React) só somam controle por clique/autoplay. */
.sf-carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
}
.sf-product-carousel {
  position: relative;
}
.sf-product-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  /* Sem scroll-snap-type nem scroll-behavior:smooth aqui: os dois "disputam"
     controle com o avanço contínuo por requestAnimationFrame (ProductCarousel.jsx)
     e é isso que causava a passagem com trancos. */
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sf-product-carousel-track::-webkit-scrollbar {
  display: none;
}
.sf-product-carousel-track {
  cursor: grab;
}
.sf-product-carousel-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.sf-product-carousel-track.is-dragging .sf-product-carousel-item {
  pointer-events: none; /* evita abrir o produto ao soltar o arraste em cima do card */
}
.sf-product-carousel-item {
  flex: 0 0 220px;
  user-select: none;
}
.sf-product-carousel-item img {
  -webkit-user-drag: none;
}
.sf-carousel-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--storefront-border, #e2e8f0);
  background: #ffffff;
  color: var(--storefront-primary, #1b2542);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  z-index: 2;
}
.sf-carousel-arrow:hover {
  background: var(--storefront-primary, #1b2542);
  color: #ffffff;
}
.sf-carousel-prev { left: -6px; }
.sf-carousel-next { right: -6px; }
@media (max-width: 767px) {
  .sf-product-carousel-item { flex-basis: 168px; }
  .sf-carousel-arrow { display: none; }
}

/* CARROSSEL DE BANNERS (admin: Adicionais > Banners de Imagem/Mobile) */
.storefront-banner-carousel {
  overflow: hidden;
}
.storefront-banner-carousel,
.storefront-banner-carousel .carousel-inner,
.storefront-banner-carousel .carousel-item {
  height: 100%;
}
.storefront-banner-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.storefront-banner-carousel.banner-ratio-desktop {
  aspect-ratio: 21 / 5;
}
.storefront-banner-carousel.banner-ratio-mobile {
  aspect-ratio: 4 / 3;
}
.storefront-banner-carousel .carousel-indicators {
  margin-bottom: 0.75rem;
}
.storefront-banner-carousel__link {
  display: block;
  position: relative;
  height: 100%;
  color: #fff;
  text-decoration: none;
}
.storefront-banner-carousel__copy {
  position: absolute;
  inset: auto clamp(18px, 5vw, 72px) clamp(18px, 8%, 54px);
  max-width: min(520px, 76%);
  display: grid;
  gap: 7px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(7, 20, 50, .78), rgba(17, 53, 113, .56));
  box-shadow: 0 14px 34px rgba(5, 15, 39, .28), inset 0 1px 0 rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(12px) saturate(145%);
  backdrop-filter: blur(12px) saturate(145%);
}
.storefront-banner-carousel__copy strong { font: 700 clamp(1rem, 2.1vw, 1.55rem)/1.2 'Poppins', sans-serif; }
.storefront-banner-carousel__copy span { color: rgba(255, 255, 255, .88); font-size: clamp(.8rem, 1.3vw, .98rem); }
.storefront-banner-carousel__copy em { color: #dbeafe; font-size: .83rem; font-style: normal; font-weight: 700; }
.storefront-banner-carousel__link:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
@media (max-width: 767px) {
  .storefront-banner-carousel__copy { inset: auto 14px 18px; max-width: calc(100% - 28px); padding: 13px 15px; border-radius: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .storefront-banner-carousel .carousel-item { transition: none; }
}

/* BANNER PRINCIPAL (HERO) */
.storefront-hero {
  background: linear-gradient(135deg, var(--storefront-header-bg) 0%, #1b2542 100%);
  padding: 48px 0;
}
.storefront-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.storefront-hero-copy {
  flex: 1 1 420px;
  max-width: 600px;
}
.storefront-hero-eyebrow {
  display: inline-block;
  color: var(--storefront-accent);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.storefront-hero-copy h1,
.storefront-hero-copy .hero-h1 {
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 14px;
}
.storefront-hero-copy p {
  color: #c3cbe0;
  font-size: 1.02rem;
  margin-bottom: 22px;
}
.storefront-btn-primary {
  background-color: var(--storefront-red);
  border: 1px solid var(--storefront-red);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(227, 52, 63, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.storefront-btn-primary:hover {
  background-color: #c92730;
  border-color: #c92730;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(227, 52, 63, 0.4);
  transform: translateY(-1px);
}
.storefront-btn-outline {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-weight: 600;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.storefront-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateY(-1px);
}
.storefront-btn-outline-dark {
  background-color: transparent;
  border: 1px solid var(--storefront-border);
  color: var(--storefront-text);
  font-weight: 600;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.storefront-btn-outline-dark:hover {
  background-color: #f8fafc;
  color: var(--storefront-text);
  transform: translateY(-1px);
}
.storefront-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}
.storefront-hero-trust span {
  color: #c3cbe0;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.storefront-hero-trust i {
  color: var(--storefront-accent);
}
.storefront-hero-art {
  flex: 1 1 260px;
  max-width: 320px;
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.storefront-hero-device {
  width: 160px;
  height: 190px;
  border-radius: 18px;
  background: linear-gradient(160deg, #26325a 0%, #10182f 100%);
  border: 3px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}
.storefront-floating-card {
  position: absolute;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  font-size: 0.78rem;
}
.storefront-floating-card i {
  font-size: 1.3rem;
  color: var(--storefront-red);
}
.storefront-floating-card strong {
  display: block;
  color: var(--storefront-text);
}
.storefront-floating-card small {
  color: var(--storefront-text-muted);
}
.storefront-floating-card.c1 { top: 6px; left: -10px; }
.storefront-floating-card.c2 { bottom: 6px; right: -10px; }
@media (max-width: 767px) {
  .storefront-floating-card { display: none; }
}

/* FAIXA "X% OFF NO PIX" */
.storefront-promo-band {
  background: linear-gradient(135deg, var(--storefront-pix) 0%, #0f7a51 100%);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #ffffff;
}
.storefront-promo-band .storefront-hero-eyebrow { color: rgba(255, 255, 255, 0.85); }
.storefront-promo-band h2 {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.6rem;
  margin: 6px 0;
}
.storefront-promo-band p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}
@media (max-width: 576px) {
  .storefront-promo-band { flex-direction: column; text-align: center; }
}

/* BREADCRUMBS */
.storefront-breadcrumb {
  font-size: 0.8rem;
  padding: 12px 0;
  color: #64748b;
}
.storefront-breadcrumb a {
  color: #008299;
  text-decoration: none;
}
.storefront-breadcrumb a:hover {
  text-decoration: underline;
}
.storefront-breadcrumb .separator {
  margin: 0 6px;
  color: #94a3b8;
}

/* GRID E CARDS DE PRODUTO */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}
@media (max-width: 992px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (max-width: 576px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

.storefront-product-card {
  background: #ffffff;
  border: 1px solid var(--storefront-border);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.storefront-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.card-dept-tag {
  background-color: #dc2626;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 10px;
  border-radius: 4px;
  align-self: center;
  margin-bottom: 8px;
  width: 100%;
  text-align: center;
}
.card-badge-free {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--storefront-badge-free-shipping);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  align-self: flex-start;
  margin-bottom: 10px;
}
.card-promo-banner {
  background-color: #f97316;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 5px 8px;
  margin: 10px -14px 10px;
  position: relative;
  overflow: hidden;
}
/* Biblioteca de efeitos do selo "Promoção" — o lojista escolhe em Admin > Loja >
   Painéis Home (Configurações > Carrosséis de produtos na home). Todos em CSS puro
   (sem imagem/JS) e desligados quando o visitante pediu menos movimento na tela
   (prefers-reduced-motion). ".fx-none" não recebe nenhuma classe de animação. */
.card-promo-banner.fx-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  animation: sf-shine-sweep 2.8s ease-in-out infinite;
}
@keyframes sf-shine-sweep {
  0% { left: -60%; }
  55% { left: 140%; }
  100% { left: 140%; }
}
.card-promo-banner.fx-pulse {
  animation: sf-pulse 1.6s ease-in-out infinite;
}
@keyframes sf-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.card-promo-banner.fx-glow {
  animation: sf-glow 1.8s ease-in-out infinite;
}
@keyframes sf-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(249, 115, 22, 0); }
  50% { box-shadow: 0 0 12px 3px rgba(249, 115, 22, 0.65); }
}
.card-promo-banner.fx-blink {
  animation: sf-blink 2.2s ease-in-out infinite;
}
@keyframes sf-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .card-promo-banner.fx-shine::after,
  .card-promo-banner.fx-pulse,
  .card-promo-banner.fx-glow,
  .card-promo-banner.fx-blink {
    animation: none;
  }
  .card-promo-banner.fx-shine::after {
    display: none;
  }
}

.card-img-wrap {
  width: 100%;
  height: 180px;
  max-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 8px;
  overflow: hidden;
  position: relative;
  background-color: #ffffff;
  border-radius: var(--sf-radius, 12px);
}
.card-img-wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.card-img-wrap img {
  max-width: 100% !important;
  max-height: 165px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto;
}

.card-product-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  min-height: 38px;
  line-height: 1.35;
  margin-bottom: 10px;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}
.card-product-title:hover {
  color: #0284c7;
}
.card-pix-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--storefront-pix);
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.card-old-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-top: 2px;
}
.card-divider {
  border: none;
  border-top: 1px solid var(--storefront-border);
  margin: 10px 0;
}
.card-installments {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.card-buy-form, .card-buy-row {
  margin-top: auto;
  display: flex;
  gap: 6px;
}
.card-qty-input {
  width: 44px;
  border: 1px solid var(--storefront-border);
  border-radius: 4px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}
.qty-box {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--storefront-border);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.qty-box .qty-num {
  width: 30px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f172a;
  background: transparent;
}
.qty-arrows {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--storefront-border);
}
.qty-arrows button {
  border: none;
  background: #f8fafc;
  width: 20px;
  height: 14px;
  font-size: 0.6rem;
  line-height: 1;
  padding: 0;
  color: #475569;
  cursor: pointer;
}
.qty-arrows button:first-child {
  border-bottom: 1px solid var(--storefront-border);
}
.qty-arrows button:hover {
  background: #eef2f7;
}
.btn-card-buy {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--storefront-primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(16, 24, 47, 0.25);
  transition: background 0.2s, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-card-buy:hover {
  background-color: var(--storefront-primary-hover);
  color: #fff;
  box-shadow: 0 5px 12px rgba(16, 24, 47, 0.35);
  transform: translateY(-1px);
}
.btn-card-fav {
  background: #fff;
  border: 1px solid var(--storefront-border);
  border-radius: 4px;
  color: #94a3b8;
  padding: 8px 10px;
  cursor: pointer;
}
.btn-card-fav:hover, .btn-card-fav.active {
  color: #ef4444;
  border-color: #ef4444;
}

/* BOTÃO VER MAIS PRODUTOS */
.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 600;
  text-decoration: none;
  margin: 20px auto 30px;
  transition: all 0.2s;
}
.btn-load-more:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

/* PÁGINA DE CATEGORIA */
.category-title-banner {
  background-color: #f1f5f9;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 16px 0 20px;
}
.category-title-banner h1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}
.btn-load-more-full {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #f97316;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
  margin: 8px 0 24px;
}
.btn-load-more-full:hover {
  background-color: #ea580c;
  color: #ffffff;
}

/* TÍTULOS DE SEÇÃO */
.section-header-styled {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
}
.section-header-styled h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  display: inline-block;
  margin: 0;
}
.section-header-styled span {
  font-size: 0.9rem;
  font-weight: 400;
  color: #64748b;
  margin-left: 8px;
}

/* GALERIA DA PÁGINA DO PRODUTO */
.gallery-container {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 100%;
  min-width: 0;
}
.gallery-thumbnails-col {
  width: 76px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.thumb-nav-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 2px;
  line-height: 1;
}
.thumb-nav-btn:hover {
  color: #1e293b;
}
.gallery-thumb {
  width: 72px;
  height: 72px;
  max-width: 72px;
  max-height: 72px;
  border: 1px solid var(--storefront-border);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  padding: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.gallery-thumb img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
.gallery-thumb.active {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25);
}
.gallery-main-view {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  height: 480px;
  max-height: 480px;
  background: #ffffff;
  border: none;
  box-shadow: var(--sf-shadow, 0 1px 2px rgba(16, 24, 47, .06), 0 8px 28px rgba(16, 24, 47, .10));
  border-radius: var(--sf-radius, 12px);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.gallery-main-view img {
  max-width: 100% !important;
  max-height: 430px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto;
}

/* PAINEL DE COMPRA DO PRODUTO */
.product-info-panel {
  background: #ffffff;
  border: 1px solid var(--storefront-border);
  border-radius: 8px;
  padding: 24px;
  min-width: 0;
}
.product-brand {
  font-size: 0.85rem;
  color: #0284c7;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 4px;
}
.product-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 8px;
}
.btn-fav {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
  line-height: 1;
}
.btn-fav:hover, .btn-fav.active {
  color: #ef4444;
}
.product-title-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 20px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 2px;
}
.badge-free-shipping-css {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--storefront-badge-free-shipping);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin: 6px 0 4px;
  -webkit-font-smoothing: antialiased;
}
.star-rating i {
  font-size: 0.85rem;
}
.product-meta-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin: 8px 0 16px;
}

/* CAIXA PIX (faixa "Pix | R$ 224,91 no Pix").
   Proporções tiradas da imagem de referência: tudo é medido em cqw (largura da
   própria faixa), então ela fica idêntica em qualquer largura de tela.
   Fonte Selawik (livre, equivalente à Segoe UI) servida pela própria loja. */
@font-face {
  font-family: 'Selawik';
  src: url('/assets/fonts/selawik/selawik-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Selawik';
  src: url('/assets/fonts/selawik/selawik-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Selawik';
  src: url('/assets/fonts/selawik/selawik-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.pix-banner-wrap {
  container-type: inline-size;
  margin-bottom: 14px;
}
.pix-banner {
  --pix-green: #08996a;
  --pix-gray: #5b656c;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 60px;
  min-height: 17.66cqw;
  background: linear-gradient(90deg, #e7f7f2 0%, #e8f8f3 100%);
  border: 1.5px solid #a9e9da;
  border-radius: 8px;
  border-radius: 1.25cqw;
  font-family: 'Segoe UI', 'Selawik', system-ui, -apple-system, Roboto, sans-serif;
  line-height: 1;
}
.pix-banner-logo {
  position: relative;
  flex: 0 0 36.8cqw;
  box-sizing: border-box;
  padding: 0 3.4cqw 0 5.6cqw;
  display: flex;
  align-items: center;
  align-self: stretch;
}
.pix-banner-logo img {
  display: block;
  width: 27.8cqw;
  height: auto;
}
.pix-banner-logo::after {
  content: '';
  position: absolute;
  right: 0;
  top: 18.5%;
  height: 63%;
  width: 1.5px;
  background: #a3e5d6;
}
.pix-banner-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 2cqw 1.36cqw 3.2cqw;
}
.pix-banner-price {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}
.pix-banner-amount {
  margin-left: -0.35cqw;
  font-size: 7.28cqw;
  font-weight: 700;
  color: var(--pix-green);
  letter-spacing: -0.01em;
}
.pix-banner-tag {
  position: relative;
  top: -0.93cqw;
  margin-left: 1.17cqw;
  font-size: 4.3cqw;
  font-weight: 400;
  color: var(--pix-gray);
}
.pix-banner-note {
  margin-top: 1.15cqw;
  font-size: 3.18cqw;
  font-size: max(11px, 3.18cqw);
  font-weight: 400;
  color: var(--pix-green);
}

/* CARTÃO & PARCELAMENTO */
.card-price-box {
  margin-bottom: 18px;
}
.card-price-regular {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
}
.card-installments {
  font-size: 0.88rem;
  color: #475569;
}
.installments-mini-table {
  background: #f8fafc;
  border: 1px solid var(--storefront-border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
  columns: 2;
  column-gap: 10px;
  -webkit-font-smoothing: antialiased;
}
.inst-row {
  break-inside: avoid;
  padding: 3px 0;
}
.inst-row b {
  font-weight: 800;
}

/* "mais formas de pagamento" (sem Mercado Pago configurado) */
.installments-toggle summary {
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--storefront-primary);
  font-weight: 600;
  text-decoration: underline;
  list-style: none;
  margin-bottom: 8px;
}
.installments-toggle summary::-webkit-details-marker { display: none; }
.installments-toggle[open] summary { margin-bottom: 8px; }

/* Caixa "Mercado Pago" com parcelamento expansível */
.mp-installments-box {
  border: 1px solid var(--storefront-border);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}
.mp-installments-box summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}
.mp-installments-box summary::-webkit-details-marker { display: none; }
.mp-installments-box .installments-mini-table {
  margin: 0;
  border: none;
  border-top: 1px solid var(--storefront-border);
  border-radius: 0;
}
.mp-badge {
  font-weight: 700;
  color: #009ee3;
  font-size: 0.95rem;
}
.mp-badge b {
  color: #2d3277;
}
.mp-parcelas-toggle {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--storefront-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mp-installments-box[open] .mp-parcelas-toggle i {
  transform: rotate(180deg);
}
.mp-parcelas-toggle i {
  transition: transform 0.2s ease;
}

/* CONTROLES DE COMPRA */
.buy-action-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 16px;
}
.qty-selector {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  height: 50px;
  flex-shrink: 0;
}
.qty-btn {
  background: #f8fafc;
  border: none;
  width: 44px;
  height: 100%;
  font-size: 1.1rem;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.qty-btn:hover {
  background: #e2e8f0;
}
.qty-btn:active {
  background: #cbd5e1;
}
.qty-input {
  width: 46px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
  background: transparent;
  outline: none;
}
.btn-storefront-buy {
  flex: 1;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  height: 50px;
  font-size: 1.05rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-storefront-buy:hover {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
  transform: translateY(-1px);
}
.btn-storefront-buy:active {
  transform: scale(0.98);
}
.btn-storefront-buy:disabled {
  background: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.availability-text {
  font-size: 0.8rem;
  color: #16a34a;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
}

/* FRETE */
.shipping-calc-box {
  background-color: #f8fafc;
  border: 1px solid var(--storefront-border);
  border-radius: 12px;
  padding: 16px;
  margin-top: 18px;
}
.shipping-calc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.shipping-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shipping-header-text {
  display: flex;
  flex-direction: column;
}
.shipping-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}
.shipping-subtitle {
  font-size: 0.75rem;
  color: #64748b;
}
.shipping-form-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 8px;
}
.shipping-input-wrapper {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}
.shipping-pin-icon {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  pointer-events: none;
  z-index: 2;
}
.shipping-input {
  width: 100%;
  height: 46px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 12px 8px 36px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.shipping-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18);
}
.shipping-btn {
  height: 46px;
  padding: 0 20px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.shipping-btn:hover {
  background: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}
.shipping-btn:active {
  transform: scale(0.97);
}
.shipping-help-row {
  margin-top: 8px;
}
.shipping-help-link {
  font-size: 0.75rem;
  color: #64748b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s;
}
.shipping-help-link:hover {
  color: #0284c7;
  text-decoration: underline;
}
.shipping-results {
  margin-top: 12px;
  font-size: 0.82rem;
}

/* ACORDEÕES */
.storefront-accordion-item {
  background: #ffffff;
  border: 1px solid var(--storefront-border);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}
.storefront-accordion-header {
  background: #fdfdfd;
  padding: 14px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.storefront-accordion-body {
  padding: 20px;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.65;
}

/* CARRINHO */
.cart-table {
  background: #ffffff;
  border: 1px solid var(--storefront-border);
  border-radius: 8px;
  overflow: hidden;
}
.cart-table img {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  object-fit: contain !important;
  display: block !important;
}
.btn-clear-cart {
  background-color: #ef4444;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}
.btn-finish-cart {
  background-color: #121c32;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-continue-shopping {
  background-color: #64748b;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

/* CHECKOUT */
#checkout-form.row {
  align-items: flex-start;
}
.checkout-step-card {
  background: #ffffff;
  border: 1px solid var(--storefront-border);
  border-radius: 8px;
  padding: 24px;
}
@media (max-width: 991px) {
  .checkout-step-card {
    padding: 18px;
  }
}
.step-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  margin-right: 8px;
}
.step-header-title {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

/* CONTA DO CLIENTE (usa .account-layout/.account-nav/.checkout-section
   compartilhados com o tema padrão — aqui só realinhamos a cor de destaque
   pra combinar com a paleta navy/vermelho do storefront). */
.theme-storefront .account-nav a:hover,
.theme-storefront .account-nav a.active {
  background: var(--storefront-bg-page);
  color: var(--storefront-primary);
}
.theme-storefront .account-nav-logout {
  color: var(--storefront-red);
}
.theme-storefront .checkout-section-head i {
  background: var(--storefront-bg-page);
  color: var(--storefront-primary);
}
.theme-storefront .page-title {
  color: var(--storefront-text);
}
.theme-storefront .shipping-option.active {
  border-color: var(--storefront-primary);
  background: var(--storefront-bg-page);
}
.theme-storefront .btn {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.theme-storefront .btn-primary {
  background-image: none;
  background-color: var(--storefront-red);
  border-color: var(--storefront-red);
  box-shadow: 0 4px 12px rgba(227, 52, 63, 0.25);
}
.theme-storefront .btn-primary:hover {
  background-color: #c92730;
  border-color: #c92730;
  box-shadow: 0 6px 16px rgba(227, 52, 63, 0.35);
  transform: translateY(-1px);
}
.theme-storefront .btn-outline-primary {
  color: var(--storefront-primary);
  border-color: var(--storefront-primary);
}
.theme-storefront .btn-outline-primary:hover {
  background-color: var(--storefront-primary);
  border-color: var(--storefront-primary);
  box-shadow: 0 4px 12px rgba(16, 24, 47, 0.2);
  transform: translateY(-1px);
}

/* NEWSLETTER */
.storefront-newsletter-strip {
  background-color: #111827;
  color: #ffffff;
  padding: 24px 0;
  border-top: 1px solid #1f2937;
}
.newsletter-input {
  background: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 0.88rem;
  width: 100%;
  max-width: 380px;
}
.newsletter-btn {
  background-color: #475569;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 8px 24px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* FOOTER */
.storefront-footer-corporate {
  background-color: var(--storefront-footer-bg);
  color: #cbd5e1;
  padding: 40px 0 20px;
  font-size: 0.82rem;
  border-top: 1px solid #1e293b;
}
.footer-column-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.footer-payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-payment-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border-radius: 6px;
  padding: 6px 10px;
  min-height: 30px;
  color: #1e293b;
  font-size: 0.78rem;
  font-weight: 600;
}
.footer-payment-chip .sf-brand,
.footer-payment-chip img {
  height: 20px;
  width: auto;
}
.footer-seal-img {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border-radius: 6px;
  padding: 6px 10px;
  min-height: 30px;
}
.footer-seal-img img {
  max-height: 32px;
  width: auto;
  display: block;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 1.05rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.footer-social-icon:hover {
  background: var(--storefront-primary, #1b2542);
  color: #ffffff;
}
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-links-list li a {
  color: #94a3b8;
  text-decoration: none;
}
.footer-links-list li a:hover {
  color: #ffffff;
}
.badge-service-tag {
  background: #334155;
  color: #f1f5f9;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  z-index: 999;
  text-decoration: none;
}

/* MODAL DE ZOOM */
.modal-zoom-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

/* BANNER DE PREVIEW (reaproveita o padrão dos outros temas) */
.theme-storefront .theme-preview-banner {
  background: var(--storefront-primary);
  color: #fff;
}

/* ==========================================================================
   RESPONSIVIDADE MOBILE REFINADA (Telas < 768px e < 576px)
   ========================================================================== */

@media (max-width: 767px) {
  /* Cabeçalho */
  .storefront-header {
    padding: 10px 0 12px;
  }
  /* Ícones de conta/carrinho numa faixa estreita no topo (canto direito); logo enorme e
     centralizada abaixo, em linha própria (como na loja antiga); busca por último. */
  .storefront-header .col-5.col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    order: 1 !important;
  }
  .storefront-header .col-5.col-md-4 .d-flex {
    justify-content: flex-end !important;
    gap: 18px !important;
  }
  .storefront-header .col-7.col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
    order: 2 !important;
    text-align: center;
    margin-top: 6px;
  }
  .storefront-header .col-12.col-md-5 {
    order: 3 !important;
  }
  .storefront-logo-link {
    gap: 8px;
    justify-content: center;
  }
  .storefront-logo-img {
    height: 144px !important;
    max-height: 144px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
  .storefront-logo-title {
    font-size: 1.15rem;
  }
  .storefront-search-input {
    font-size: 16px; /* Evita zoom automático no iOS Safari */
    height: 42px;
    padding: 8px 44px 8px 14px;
    border-radius: 8px;
  }
  .storefront-search-btn {
    width: 38px;
    border-radius: 6px;
  }
  .storefront-action-item {
    padding: 4px;
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .storefront-action-icon {
    font-size: 1.45rem;
  }
  .cart-badge-count {
    top: -4px;
    right: -6px;
    font-size: 0.65rem;
    padding: 1px 5px;
  }

  /* Barra de Navegação / Departamentos: só o "Departamentos" fica visível no mobile — a
     lista de links ao lado (.storefront-nav-links) duplicava as mesmas categorias, cortada
     e sem indicação de rolagem. O "overflow-x: auto" que existia aqui também cortava o
     dropdown do botão (definir overflow só no eixo X força o eixo Y para "auto" também,
     escondendo qualquer coisa que abrisse pra baixo do limite da barra) — por isso o
     dropdown parecia quebrado. */
  .storefront-nav-bar {
    overflow: visible;
  }
  .storefront-nav-bar .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .storefront-nav-bar .dropdown {
    width: 100%;
  }
  .btn-departments {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.85rem;
  }
  .storefront-nav-bar .dropdown-menu {
    width: 100%;
    max-height: 60vh;
    overflow-y: auto;
  }

  /* Hero Section */
  .storefront-hero {
    padding: 24px 0 28px;
  }
  .storefront-hero-copy h1,
.storefront-hero-copy .hero-h1 {
    font-size: 1.45rem;
    margin-bottom: 10px;
  }
  .storefront-hero-copy p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  .storefront-hero-copy .d-flex.flex-wrap.gap-2 {
    flex-direction: column;
    width: 100%;
  }
  .storefront-hero-copy .btn-lg {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.92rem;
  }
  .storefront-hero-art {
    display: none;
  }
  .storefront-hero-trust {
    gap: 12px;
    font-size: 0.78rem;
    justify-content: center;
    margin-top: 16px;
  }

  /* Faixa de Vantagens: compacta, como um único bloco (sem "gap" grande entre as duas linhas) */
  .storefront-advantages-bar {
    padding: 12px 6px;
  }
  .storefront-advantages-bar .row {
    row-gap: 10px !important;
  }
  .advantage-item {
    gap: 8px;
    text-align: left;
    justify-content: flex-start !important;
  }
  .advantage-icon {
    font-size: 1.3rem;
  }
  .advantage-text strong {
    font-size: 0.78rem;
  }
  .advantage-text small {
    font-size: 0.68rem;
  }

  /* Galeria da Página do Produto */
  .gallery-container {
    flex-direction: column;
    gap: 12px;
  }
  .gallery-main-view {
    width: 100%;
    height: 300px;
    max-height: 300px;
    padding: 14px;
    border-radius: var(--sf-radius, 12px);
    order: 1;
  }
  .gallery-main-view img {
    max-height: 270px !important;
  }
  .gallery-thumbnails-col {
    width: 100%;
    flex-direction: row;
    order: 2;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    justify-content: flex-start;
    padding: 4px 2px;
    scrollbar-width: none;
  }
  .gallery-thumbnails-col::-webkit-scrollbar {
    display: none;
  }
  .gallery-thumb {
    width: 56px;
    height: 56px;
    max-width: 56px;
    max-height: 56px;
    flex-shrink: 0;
  }
  .thumb-nav-btn {
    display: none;
  }

  /* Painel de Compra do Produto */
  .product-info-panel {
    padding: 16px;
    margin-top: 14px;
  }
  .product-title {
    font-size: 1.2rem;
  }
  .buy-action-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 14px;
  }
  .qty-selector {
    height: 52px;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .qty-btn {
    width: 42px;
  }
  .btn-storefront-buy {
    flex: 1;
    height: 52px;
    font-size: 1.05rem;
    border-radius: 10px;
  }

  /* Frete Perfeitamente Proporcional no Mobile */
  .shipping-calc-box {
    padding: 14px;
    border-radius: 12px;
    margin-top: 14px;
  }
  .shipping-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .shipping-title {
    font-size: 0.88rem;
  }
  .shipping-subtitle {
    font-size: 0.72rem;
  }
  .shipping-form-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 6px;
  }
  .shipping-input-wrapper {
    flex: 1 1 auto;
    min-width: 0;
  }
  .shipping-input {
    height: 46px;
    font-size: 16px;
    border-radius: 8px;
    padding-left: 36px;
  }
  .shipping-btn {
    height: 46px;
    padding: 0 16px;
    font-size: 0.88rem;
    border-radius: 8px;
    flex-shrink: 0;
  }

  /* Carrinho */
  .cart-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
  }
  .cart-table table {
    min-width: 520px;
  }
  .checkout-step-card {
    padding: 18px 14px;
  }

  /* Botão Flutuante do WhatsApp */
  .whatsapp-float {
    bottom: 18px;
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }

  /* Rodapé */
  .storefront-footer-corporate {
    padding: 32px 0 16px;
  }
}

@media (max-width: 576px) {
  /* Cards de Produto em Grid de 2 Colunas */
  .storefront-product-card {
    padding: 10px 8px;
    border-radius: 6px;
  }
  .card-badge-free {
    font-size: 0.6rem;
    padding: 2px 6px;
    margin-bottom: 6px;
  }
  .card-promo-banner {
    font-size: 0.65rem;
    padding: 3px 6px;
    margin: 6px -8px 6px;
  }
  .card-img-wrap {
    height: 130px;
    max-height: 130px;
    margin-bottom: 6px;
    padding: 4px;
  }
  .card-img-wrap img {
    max-height: 120px !important;
  }
  .card-product-title {
    font-size: 0.76rem;
    min-height: 32px;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  .card-pix-price {
    font-size: 1.02rem;
    gap: 4px;
  }
  .card-old-price {
    font-size: 0.72rem;
  }
  .card-installments {
    font-size: 0.66rem;
    margin-bottom: 6px;
    line-height: 1.2;
  }
  .card-divider {
    margin: 6px 0;
  }
  .card-buy-row {
    gap: 4px;
  }
  .qty-box {
    display: none !important;
  }
  .btn-card-buy {
    padding: 10px 8px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 8px;
    width: 100%;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
    transition: transform 0.1s ease, background 0.15s ease;
  }
  .btn-card-buy:active {
    transform: scale(0.96);
  }

  /* Faixa de Promoção */
  .storefront-promo-band {
    padding: 20px 16px;
  }
  .storefront-promo-band h2 {
    font-size: 1.3rem;
  }
  .storefront-promo-band > i {
    font-size: 2.2rem;
  }
}


/* Telas muito estreitas (iPhone SE, Android pequenos): quantidade + Comprar lado a lado sem quebrar linha */
@media (max-width: 380px) {
  .buy-action-row {
    gap: 6px;
  }
  .qty-btn {
    width: 36px;
  }
  .qty-input {
    width: 36px;
  }
  .btn-storefront-buy {
    font-size: 0.95rem;
    gap: 6px;
    white-space: nowrap;
  }
  .btn-storefront-buy svg {
    width: 18px;
    height: 18px;
    margin-right: 0 !important;
  }
}

/* COMPRE JUNTO (kit com desconto na página do produto) */
.bundle-box { border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px 20px; background: #fff; }
.bundle-title { font-size: 1.15rem; font-weight: 700; margin: 0 0 14px; }
.bundle-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bundle-item { display: flex; flex-direction: column; align-items: center; text-align: center; width: 150px; text-decoration: none; color: inherit; }
.bundle-item img { width: 110px; height: 110px; object-fit: contain; }
.bundle-item-name { font-size: .85rem; line-height: 1.25; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bundle-item-price { font-weight: 600; font-size: .9rem; }
.bundle-plus { font-size: 1.6rem; font-weight: 300; color: #94a3b8; }
.bundle-buy { margin-left: auto; min-width: 220px; padding: 12px 16px; border-left: 1px solid #e2e8f0; }
.bundle-old { color: #94a3b8; font-size: .9rem; }
.bundle-total { font-size: 1.5rem; font-weight: 800; }
.bundle-save { color: #16a34a; font-size: .85rem; font-weight: 600; }
@media (max-width: 768px) {
  .bundle-item { width: 30%; min-width: 96px; }
  .bundle-item img { width: 80px; height: 80px; }
  .bundle-buy { margin-left: 0; width: 100%; border-left: 0; border-top: 1px solid #e2e8f0; }
}

/* FIDELIDADE (Minha conta > Meus Pontos) */
.loyalty-hero { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; border: 1px solid #e2e8f0; border-radius: 14px; padding: 20px 24px; background: linear-gradient(135deg, #fff7ed, #fff); }
.loyalty-label { font-size: .85rem; color: #64748b; }
.loyalty-balance { font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.loyalty-balance span { font-size: 1rem; font-weight: 600; color: #64748b; }
.loyalty-worth { color: #16a34a; font-weight: 600; font-size: .9rem; }
.loyalty-redeem { min-width: 280px; flex: 1 1 280px; max-width: 380px; }

/* AVISE-ME QUANDO CHEGAR (produto sem estoque) */
.stock-alert-box { position: relative; border: 1px solid #fde68a; background: #fffbeb; border-radius: 12px; padding: 14px 16px; margin: 14px 0; }
.stock-alert-box__title { font-size: 1rem; font-weight: 700; margin: 0 0 4px; }
.stock-alert-box__text { margin: 0 0 10px; font-size: .9rem; color: #475569; }
.stock-alert-box__form { display: flex; flex-wrap: wrap; gap: 8px; }
.stock-alert-box__form .form-control { flex: 1 1 200px; min-width: 0; }
.stock-alert-box__note { margin: 8px 0 0; font-size: .75rem; color: #64748b; }
