/* ============================================================================
   PADRÃO VISUAL DA VITRINE — v8.200
   Arquivo de design da loja construído a partir das artes de referência
   (desktop e mobile) fornecidas pelo lojista: tipografia Poppins, topbar navy,
   header branco com busca em pílula, navbar azul, hero com card de acesso
   administrativo, categorias coloridas em grade, cards de produto com badge,
   banners de entrega/segurança, barra de confiança, newsletter e rodapé navy.
   Carregado DEPOIS de tema-storefront.css e storefront-ui.css — este arquivo
   tem a palavra final sobre a aparência, mantendo intactas as classes que o
   React da vitrine usa (.storefront-search-wrapper/.storefront-search-input,
   a[data-sf-account], a[href="/carrinho"].storefront-action-item,
   .storefront-product-card .card-img-wrap, .cart-badge-count, .card-buy-row,
   .btn-card-buy, .sf-suggest, .sf-menu-layer).
   ========================================================================= */

:root {
  --sp-blue: #1e63f0;
  --sp-blue-dark: #1548c8;
  --sp-blue-deep: #0d63ee;
  --sp-sky: #4092ff;
  --sp-navy: #0a1226;
  --sp-navy-2: #0c1a3c;
  --sp-hero-navy: #0a1633;
  --sp-ink: #0d1b3e;
  --sp-ink-soft: #33415c;
  --sp-muted: #5b6b8a;
  --sp-muted-2: #8ea3c7;
  --sp-line: #e7ecf5;
  --sp-bg: #f5f7fb;
  --sp-blue-soft: #eaf1ff;
  --sp-radius: 14px;
  --sp-shadow: 0 10px 30px rgba(13, 27, 62, .08);
  --sp-shadow-lg: 0 24px 60px rgba(13, 27, 62, .16);
  --sp-font: 'Poppins', 'Segoe UI', system-ui, -apple-system, 'Inter', Roboto, sans-serif;
}

body.theme-storefront {
  font-family: var(--sp-font);
  background: var(--sp-bg);
  color: var(--sp-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.theme-storefront .container { max-width: 1200px; }

/* ============================================================================
   1. TOPBAR (desktop) — compra segura / entrega rápida / suporte + minha conta
   ========================================================================= */
.sp-topbar {
  background: var(--sp-navy);
  color: #eaf0ff;
  font-size: 12.5px;
  padding: 9px 0;
  position: relative;
  z-index: 1040;
}
.sp-topbar-inner { display: flex; align-items: center; gap: 20px; }
.sp-topbar-left { display: flex; align-items: center; gap: 26px; min-width: 0; }
.sp-topbar-item { display: inline-flex; align-items: center; gap: 8px; color: rgba(234, 240, 255, .92); white-space: nowrap; }
.sp-topbar-item i { color: #7fb0ff; font-size: 15px; }
.sp-topbar-promo {
  flex: 1; text-align: center; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 500; color: #ffe9a8;
}
.sp-topbar-account {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 500; text-decoration: none; white-space: nowrap;
  margin-left: auto;
}
.sp-topbar-account i.acc { font-size: 16px; color: #9cc0ff; }
.sp-topbar-account i.caret { font-size: 11px; color: #9cc0ff; }
.sp-topbar-account:hover { color: #cfe0ff; }
@media (max-width: 991.98px) { .sp-topbar { display: none; } }

/* ============================================================================
   2. HEADER — desktop: branco com logo/busca/ações · mobile: navy compacto
   ========================================================================= */
.sp-header {
  background: var(--sp-navy);
  position: relative;
  z-index: 1030;
}
@media (min-width: 992px) {
  .sp-header { background: #fff; border-bottom: 1px solid var(--sp-line); }
}
.sp-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px 20px;
  padding: 10px 0 12px;
}
@media (min-width: 992px) { .sp-header-inner { gap: 34px; padding: 18px 0; } }

/* --- marca (logo imagem do painel ou escudo + nome) --- */
.sp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.sp-brand-img { height: 38px !important; width: auto !important; max-width: 220px !important; object-fit: contain; }
@media (max-width: 991.98px) { .sp-brand-img { mix-blend-mode: screen; } }
@media (min-width: 992px) { .sp-brand-img { height: 46px !important; } }
.sp-brand-shield { width: 34px; height: 34px; flex: none; }
@media (min-width: 992px) { .sp-brand-shield { width: 42px; height: 42px; } }
.sp-brand-text {
  font-weight: 700; font-size: 19px; line-height: 1.06; letter-spacing: -.01em;
  color: var(--sp-ink); white-space: nowrap;
}
.sp-brand-text b { color: var(--sp-blue); font-weight: 700; }
@media (max-width: 991.98px) {
  .sp-brand-text { color: #fff; font-size: 16.5px; white-space: normal; }
  .sp-brand-text b { color: #7fb0ff; }
}
.sp-brand-sub {
  display: block; font-size: 10px; font-weight: 500; letter-spacing: 0;
  color: var(--sp-muted); margin-top: 2px;
}
@media (max-width: 991.98px) { .sp-brand-sub { display: none; } }

/* --- hamburger (somente mobile) --- */
.sp-burger {
  border: 0; background: transparent; color: #fff;
  font-size: 25px; line-height: 1; padding: 2px 0; margin-right: -2px;
}
@media (min-width: 992px) { .sp-burger { display: none; } }

/* --- busca (um único formulário, posicionado por breakpoint) --- */
.sp-search { position: relative; min-width: 0; }
.storefront-search-wrapper.sp-search { position: relative; }
.sp-search .storefront-search-input {
  width: 100%; height: 46px;
  border: 1px solid #d9e1ef; border-radius: 12px;
  background: #f4f6fb; color: var(--sp-ink);
  padding: 0 56px 0 18px; font-size: 14px; font-family: var(--sp-font);
  outline: none; transition: border-color .15s, background .15s, box-shadow .15s;
}
.sp-search .storefront-search-input::placeholder { color: #93a3c0; }
.sp-search .storefront-search-input:focus {
  border-color: var(--sp-blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 99, 240, .12);
}
.sp-search .storefront-search-btn {
  position: absolute; top: 5px; right: 5px; bottom: 5px;
  width: 48px; border: 0; border-radius: 9px;
  background: linear-gradient(180deg, #2f7bff, var(--sp-blue));
  color: #fff; font-size: 17px; display: grid; place-items: center;
  transition: filter .15s;
}
.sp-search .storefront-search-btn:hover { filter: brightness(1.08); }
@media (min-width: 992px) {
  .sp-search { max-width: 560px; }
  .sp-search .storefront-search-input { height: 48px; border-radius: 999px; padding-left: 22px; padding-right: 60px; }
  .sp-search .storefront-search-btn { top: 5px; right: 5px; bottom: 5px; width: 52px; border-radius: 999px; }
}
/* no mobile a busca desce para a segunda linha do header, em barra própria */
@media (max-width: 991.98px) {
  .sp-search { grid-column: 1 / -1; order: 9; }
  .sp-search .storefront-search-input { background: #fff; border: 0; height: 44px; }
}

/* --- ações do header --- */
.sp-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
@media (min-width: 992px) { .sp-actions { gap: 26px; } }
.sp-action {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--sp-ink-soft); text-decoration: none;
  font-size: 13px; line-height: 1.15;
}
.sp-action i { font-size: 22px; color: #2b3b57; }
@media (max-width: 991.98px) { .sp-action i { color: #fff; font-size: 23px; } }
.sp-action:hover { color: var(--sp-blue); }
.sp-action:hover i { color: var(--sp-blue); }
.sp-action-text { display: grid; }
.sp-action-text small { color: var(--sp-muted); font-size: 11px; }
.sp-action-text strong { color: var(--sp-ink); font-weight: 600; font-size: 13px; }
.sp-action:hover .sp-action-text strong { color: var(--sp-blue); }
.sp-action .cart-badge-count {
  position: absolute; top: -7px; right: -10px;
  min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--sp-blue); color: #fff;
  border-radius: 999px; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
  border: 2px solid #fff;
}
@media (max-width: 991.98px) { .sp-action .cart-badge-count { border-color: var(--sp-navy); } }

/* ============================================================================
   3. NAVBAR (desktop) — botão categorias + links principais
   ========================================================================= */
.sp-nav {
  background: linear-gradient(90deg, #1a54ef 0%, #1e63f0 55%, #2472ff 100%);
  display: none;
}
@media (min-width: 992px) { .sp-nav { display: block; } }
.sp-nav-inner { display: flex; align-items: center; gap: 8px; }
.sp-nav-cats {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(8, 24, 66, .38);
  color: #fff; border: 0; border-radius: 10px 10px 0 0;
  font-weight: 600; font-size: 14px; font-family: var(--sp-font);
  padding: 13px 20px 12px;
  transition: background .15s;
}
.sp-nav-cats:hover, .sp-nav-cats.show { background: rgba(8, 24, 66, .55); }
.sp-nav-cats .cat-caret { font-size: 11px; margin-left: 2px; transition: transform .2s; }
.sp-nav-cats.show .cat-caret { transform: rotate(180deg); }
.sp-nav-links { display: flex; align-items: center; }
.sp-nav-links a {
  display: block; padding: 14px 22px 13px;
  color: #f0f5ff; font-size: 14px; font-weight: 500; text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: background .15s, border-color .15s;
}
.sp-nav-links a:hover { background: rgba(255, 255, 255, .08); }
.sp-nav-links a.is-active { background: rgba(255, 255, 255, .13); font-weight: 700; border-bottom-color: rgba(255, 255, 255, .85); }
.sp-nav-links a.nv-pulse { position: relative; }
.sp-nav-links a.nv-pulse::after {
  content: ''; position: absolute; top: 12px; right: 12px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #ffd257; box-shadow: 0 0 0 0 rgba(255, 210, 87, .55);
  animation: sp-pulse 2.4s infinite;
}
@keyframes sp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 210, 87, .55); }
  70% { box-shadow: 0 0 0 7px rgba(255, 210, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 210, 87, 0); }
}
/* dropdown de departamentos herda o sf-dept-menu já existente */

/* ============================================================================
   4. TAB BAR (mobile) — atalhos fixos no rodapé da tela
   ========================================================================= */
.sp-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1029;
  background: #fff; border-top: 1px solid var(--sp-line);
  display: flex; padding: 7px 4px calc(7px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 26px rgba(13, 27, 62, .07);
}
@media (min-width: 992px) { .sp-tabbar { display: none; } }
.sp-tabbar a, .sp-tabbar button {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  border: 0; background: transparent;
  color: #64748e; font-size: 10.5px; font-weight: 600; text-decoration: none;
  font-family: var(--sp-font); padding: 4px 2px;
}
.sp-tabbar i { font-size: 21px; }
.sp-tabbar .is-active, .sp-tabbar a:hover, .sp-tabbar button:hover { color: var(--sp-blue); }
.sp-tabbar .cart-badge-count {
  position: absolute; top: -5px; right: -11px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--sp-blue); color: #fff; border-radius: 999px;
  font-size: 10px; font-weight: 700; display: grid; place-items: center; line-height: 1;
}
body.theme-storefront { padding-bottom: 66px; }
@media (min-width: 992px) { body.theme-storefront { padding-bottom: 0; } }

/* ============================================================================
   5. HERO — navy com título bicolor, mini-destaques, CTA e card de acesso
   ========================================================================= */
.sp-hero {
  background:
    radial-gradient(900px 420px at 82% 18%, rgba(38, 108, 255, .32), transparent 60%),
    radial-gradient(700px 380px at 8% 90%, rgba(24, 84, 240, .22), transparent 60%),
    linear-gradient(180deg, #0b1a3e 0%, var(--sp-hero-navy) 55%, #0a142e 100%);
  color: #fff;
  padding: 44px 0 52px;
  overflow: hidden;
}
@media (min-width: 992px) { .sp-hero { padding: 74px 0 84px; } }
.sp-hero-inner { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 992px) {
  .sp-hero-inner { grid-template-columns: 1.06fr .94fr; gap: 48px; align-items: center; }
}
.sp-hero-copy { position: relative; z-index: 2; }
.sp-hero-eyebrow {
  display: inline-block;
  color: #8fb4ec; font-size: 11.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 14px;
}
.sp-hero-title {
  font-size: clamp(30px, 6.4vw, 50px);
  font-weight: 700; line-height: 1.1; letter-spacing: -.015em;
  margin: 0 0 16px; color: #fff;
}
.sp-hero-title em { font-style: normal; color: var(--sp-sky); }
.sp-hero-sub {
  color: #c3d2ec; font-size: 15px; line-height: 1.65;
  max-width: 480px; margin: 0 0 24px;
}
@media (min-width: 992px) { .sp-hero-sub { font-size: 16.5px; } }
.sp-hero-feats {
  display: flex; flex-wrap: wrap; gap: 14px 26px;
  margin: 0 0 26px;
}
.sp-hero-feat { display: inline-flex; align-items: center; gap: 10px; color: #e8f1ff; font-size: 13px; font-weight: 500; }
.sp-hero-feat i { font-size: 24px; color: #dbe9ff; }
.sp-hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(180deg, #2f7bff, var(--sp-blue));
  color: #fff; font-weight: 600; font-size: 15px;
  border-radius: 999px; padding: 15px 34px;
  text-decoration: none; box-shadow: 0 14px 34px rgba(30, 99, 240, .38);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.sp-hero-cta:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 18px 40px rgba(30, 99, 240, .46); }

/* arte do carrinho 3D — fica atrás/à esquerda do cartão de acesso */
.sp-hero-stage { position: relative; }
.sp-hero-art {
  position: absolute; left: -6%; bottom: -2%;
  width: min(46vw, 270px); pointer-events: none;
  opacity: .98; z-index: 1;
  filter: brightness(1.18) drop-shadow(0 24px 54px rgba(30, 110, 255, .45));
  -webkit-mask-image: radial-gradient(closest-side, #000 52%, transparent 97%);
  mask-image: radial-gradient(closest-side, #000 52%, transparent 97%);
}
@media (min-width: 992px) {
  .sp-hero-art { left: -34%; bottom: 1%; width: min(30vw, 400px); }
}

/* card de acesso administrativo */
.sp-admin-card {
  position: relative; z-index: 3;
  background: #fff; color: #1a2438;
  border-radius: 16px; padding: 24px 26px 18px;
  box-shadow: var(--sp-shadow-lg);
  max-width: 460px; margin: 0 auto; width: 100%;
}
@media (min-width: 992px) { .sp-admin-card { margin-left: auto; margin-right: 0; } }
.sp-admin-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sp-admin-shield { width: 40px; height: 40px; flex: none; }
.sp-admin-title { font-size: 19px; font-weight: 700; color: var(--sp-ink); line-height: 1.1; }
.sp-admin-title b { color: var(--sp-blue); }
.sp-admin-sub { font-size: 12.5px; color: var(--sp-muted); margin-top: 2px; }
.sp-admin-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: #33415c; margin: 0 0 6px;
}
.sp-admin-label i { color: var(--sp-blue); font-size: 14px; }
.sp-admin-field { position: relative; margin-bottom: 13px; }
.sp-admin-input {
  width: 100%; height: 44px;
  border: 1px solid #dbe3f1; border-radius: 10px;
  background: #fff; color: var(--sp-ink);
  padding: 0 44px 0 14px; font-size: 13.5px; font-family: var(--sp-font);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.sp-admin-input::placeholder { color: #9aa8c4; }
.sp-admin-input:focus { border-color: var(--sp-blue); box-shadow: 0 0 0 4px rgba(30, 99, 240, .12); }
.sp-admin-eye {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  border: 0; background: transparent; color: #7d8bab;
  font-size: 17px; padding: 6px; line-height: 1;
}
.sp-admin-eye:hover { color: var(--sp-blue); }
.sp-admin-submit {
  width: 100%; height: 46px; border: 0; border-radius: 10px;
  background: linear-gradient(180deg, #2f7bff, var(--sp-blue));
  color: #fff; font-weight: 600; font-size: 14.5px; font-family: var(--sp-font);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 4px; transition: filter .15s;
}
.sp-admin-submit:hover { filter: brightness(1.07); }
.sp-admin-secure {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  color: var(--sp-muted); font-size: 11.5px; margin-top: 13px;
}
.sp-admin-ver { text-align: center; color: #a7b2c9; font-size: 11px; margin: 8px 0 0; }

/* ============================================================================
   6. SEÇÕES — cabeçalho padrão (eyebrow + título + link "ver mais")
   ========================================================================= */
.sp-sec { padding: 40px 0; }
@media (min-width: 992px) { .sp-sec { padding: 52px 0; } }
.sp-sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 24px;
}
.sp-sec-eyebrow {
  display: block; color: var(--sp-blue); font-size: 11.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 6px;
}
.sp-sec-title { font-size: 24px; font-weight: 700; color: var(--sp-ink); margin: 0; letter-spacing: -.01em; }
@media (min-width: 992px) { .sp-sec-title { font-size: 29px; } }
.sp-sec-sub { color: var(--sp-muted); font-size: 14px; margin: 6px 0 0; }
.sp-sec-link {
  color: var(--sp-blue); font-weight: 600; font-size: 13.5px;
  text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
}
.sp-sec-link:hover { color: var(--sp-blue-dark); }
@media (max-width: 575.98px) { .sp-sec-link span { display: none; } }

/* ============================================================================
   7. CATEGORIAS — grade de 8 cards com ícone colorido (scroll no mobile)
   ========================================================================= */
.sp-cats {
  display: grid; grid-auto-flow: column; grid-auto-columns: 118px;
  gap: 12px; overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: none; -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}
.sp-cats::-webkit-scrollbar { display: none; }
@media (min-width: 992px) {
  .sp-cats { grid-auto-flow: row; grid-template-columns: repeat(8, 1fr); grid-auto-columns: none; gap: 14px; overflow: visible; }
}
.sp-cat {
  background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius);
  padding: 18px 10px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; text-decoration: none; scroll-snap-align: start;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.sp-cat:hover { transform: translateY(-3px); box-shadow: var(--sp-shadow); border-color: #d8e2f4; }
.sp-cat-ic {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center; color: #fff; font-size: 26px; flex: none;
}
.sp-cat-name {
  font-size: 13px; font-weight: 600; color: var(--sp-ink); line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sp-cat-arrow { color: #a9b8d4; font-size: 14px; margin-top: auto; }
.sp-cat:hover .sp-cat-arrow { color: var(--sp-blue); }

/* ============================================================================
   8. CARDS DE PRODUTO — padrão do site (badge, imagem, nome, categoria,
   estrelas, preço + riscado, botão Comprar). Mantém as classes funcionais:
   .storefront-product-card, .card-img-wrap, .card-buy-row, .btn-card-buy.
   ========================================================================= */
.sp-prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .sp-prods { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .sp-prods { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } }

.theme-storefront .storefront-product-card.sp-card {
  position: relative;
  background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius);
  padding: 12px 12px 14px;
  display: flex; flex-direction: column;
  transition: transform .16s, box-shadow .16s;
}
.theme-storefront .storefront-product-card.sp-card:hover { transform: translateY(-3px); box-shadow: var(--sp-shadow); }
.sp-card-badge {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  color: #fff; font-size: 10.5px; font-weight: 700;
  letter-spacing: .02em; padding: 5px 11px; border-radius: 999px;
  box-shadow: 0 6px 14px rgba(13, 27, 62, .18);
  max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sp-card .card-img-wrap {
  position: relative;
  background: #f2f4f9; border-radius: 10px;
  aspect-ratio: 1 / 0.86;
  display: grid; place-items: center; overflow: hidden;
  margin-bottom: 12px;
}
.sp-card .card-img-wrap > a { display: grid; place-items: center; width: 100%; height: 100%; }
.sp-card .card-img-wrap img {
  width: 100%; height: 100%; object-fit: contain; padding: 8px;
  transition: transform .25s;
}
.sp-card:hover .card-img-wrap img { transform: scale(1.045); }
.sp-card .card-img-wrap .ph-icon { font-size: 44px; color: #c2ccdf; }
.sp-card:hover .card-img-wrap .ph-icon { color: #a9b8d4; }
/* botão "Visualização rápida" injetado pelo React — escondido até o hover */
.sp-card .card-img-wrap .sf-quick {
  position: absolute; left: 50%; bottom: 8px; transform: translate(-50%, 6px);
  opacity: 0; transition: opacity .18s, transform .18s;
  border: 0; border-radius: 999px; padding: 7px 14px;
  background: rgba(10, 18, 38, .88); color: #fff;
  font-size: 11px; font-weight: 600; white-space: nowrap; font-family: var(--sp-font);
}
.sp-card:hover .card-img-wrap .sf-quick { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 991.98px) { .sp-card .card-img-wrap .sf-quick { display: none; } }

.sp-card .card-product-title {
  font-size: 13px; font-weight: 600; color: var(--sp-ink); line-height: 1.35;
  margin: 0 0 3px; text-decoration: none; min-height: 35px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sp-card .card-product-title:hover { color: var(--sp-blue); }
.sp-card-cat { font-size: 11.5px; color: var(--sp-muted-2); margin-bottom: 5px; }
.sp-card-stars {
  display: flex; align-items: center; gap: 5px;
  font-size: 11.5px; color: #f5a623; margin-bottom: 6px; font-weight: 600;
}
.sp-card-stars .bi { font-size: 12.5px; }
.sp-card-stars .bi-star-half { position: relative; }
.sp-card-stars span { color: var(--sp-muted); font-weight: 500; }
.sp-card-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 2px 0 10px; }
.sp-card .card-pix-price {
  color: var(--sp-blue); font-size: 18px; font-weight: 700; letter-spacing: -.01em;
  display: inline-flex; align-items: center; gap: 5px; margin: 0;
}
.sp-card .card-pix-price .pix-icon { width: 12px; height: 12px; }
.sp-card .card-pix-price small { font-size: 11px; font-weight: 500; }
.sp-card .card-old-price {
  color: #9aa8c4; font-size: 12.5px; text-decoration: line-through; margin: 0;
}
.sp-card .card-installments { font-size: 11.5px; color: var(--sp-muted); margin-bottom: 8px; }
.sp-card .promo-timer { font-size: 11px; color: #b26205; background: #fff4e5; border-radius: 8px; padding: 4px 8px; margin-bottom: 8px; }
.sp-card form.card-buy-row { margin: auto 0 0; display: flex; gap: 8px; }
.sp-card .btn-card-buy {
  flex: 1; width: 100%; height: 38px; border: 0; border-radius: 9px;
  background: linear-gradient(180deg, #2f7bff, var(--sp-blue));
  color: #fff; font-size: 13px; font-weight: 600; font-family: var(--sp-font);
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  transition: filter .15s, transform .15s;
}
.sp-card .btn-card-buy:hover { filter: brightness(1.07); }
.sp-card .btn-card-buy.is-loading { opacity: .75; pointer-events: none; }
.sp-card .b2b-lock-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--sp-blue); font-size: 13px; font-weight: 600; text-decoration: none;
  margin: 4px 0 10px;
}

/* ============================================================================
   9. BANNERS — entrega rápida (escuro, caminhão neon) + compra segura (claro)
   ========================================================================= */
.sp-banners { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 992px) { .sp-banners { grid-template-columns: 1fr 1fr; gap: 22px; } }
.sp-banner {
  position: relative; border-radius: 16px; overflow: hidden;
  min-height: 168px; display: flex; align-items: center;
  padding: 28px 26px;
}
@media (min-width: 992px) { .sp-banner { min-height: 208px; padding: 34px 36px; } }
.sp-banner-copy { position: relative; z-index: 2; max-width: 62%; }
.sp-banner h3 { font-size: 21px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; }
@media (min-width: 992px) { .sp-banner h3 { font-size: 25px; } }
.sp-banner p { font-size: 13.5px; line-height: 1.55; margin: 0 0 16px; }
.sp-banner-btn {
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 999px; padding: 9px 22px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: transform .15s, filter .15s;
}
.sp-banner-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.sp-banner-img {
  position: absolute; right: -12px; bottom: -14px;
  width: 54%; max-width: 340px; height: auto;
  pointer-events: none; z-index: 1;
}
/* variante escura */
.sp-banner--dark { background: radial-gradient(560px 260px at 86% 30%, rgba(38, 108, 255, .3), transparent 65%), linear-gradient(120deg, #0b1a3e, #0a142e); color: #fff; }
.sp-banner--dark p { color: #c3d2ec; }
.sp-banner--dark .sp-banner-btn { border: 1.5px solid rgba(255, 255, 255, .75); color: #fff; background: transparent; }
.sp-banner--dark .sp-banner-btn:hover { background: rgba(255, 255, 255, .12); }
/* variante clara */
.sp-banner--light { background: linear-gradient(120deg, #ffffff, #e9f1ff); color: var(--sp-ink); border: 1px solid #dde7f8; }
.sp-banner--light p { color: var(--sp-muted); }
.sp-banner--light .sp-banner-btn { background: #fff; border: 1.5px solid #c9d9f5; color: var(--sp-ink); box-shadow: 0 8px 20px rgba(13, 27, 62, .08); }
.sp-banner--light .sp-banner-btn:hover { border-color: var(--sp-blue); color: var(--sp-blue); }

/* ============================================================================
   10. BARRA DE CONFIANÇA — 4 itens (pagamento, suporte, privacidade, troca)
   ========================================================================= */
.sp-trust { background: #fff; border-top: 1px solid #eef2f9; border-bottom: 1px solid #eef2f9; padding: 24px 0; }
.sp-trust-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
@media (min-width: 992px) { .sp-trust-inner { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.sp-trust-item { display: flex; align-items: center; gap: 14px; justify-content: flex-start; padding: 0 10px; }
@media (min-width: 992px) {
  .sp-trust-item { justify-content: center; padding: 0 22px; }
  .sp-trust-item + .sp-trust-item { border-left: 1px solid #edf1f8; }
}
.sp-trust-item i { font-size: 32px; color: var(--sp-blue); flex: none; }
.sp-trust-item .pix-icon { width: 30px; height: 30px; background: var(--sp-blue); flex: none; }
.sp-trust-text { display: grid; gap: 1px; }
.sp-trust-text strong { font-size: 13.5px; font-weight: 700; color: var(--sp-ink); }
.sp-trust-text small { font-size: 12px; color: var(--sp-muted); }

/* ============================================================================
   11. NEWSLETTER — faixa navy com formulário
   ========================================================================= */
.theme-storefront .sp-news {
  background: var(--sp-navy); color: #fff;
  padding: 26px 0;
}
.sp-news-inner { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 992px) { .sp-news-inner { flex-direction: row; align-items: center; gap: 30px; } }
.sp-news-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.sp-news-id > i { font-size: 34px; color: #9cc0ff; flex: none; }
.sp-news-title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.sp-news-sub { font-size: 12.5px; color: #aebbdd; margin-top: 2px; }
.sp-news-form { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
@media (min-width: 992px) { .sp-news-form { flex-direction: row; align-items: center; gap: 12px; } }
.sp-news-field { position: relative; flex: 1; min-width: 0; }
.sp-news-input {
  width: 100%; height: 46px;
  border: 0; border-radius: 10px;
  background: #fff; color: var(--sp-ink);
  padding: 0 16px; font-size: 13.5px; font-family: var(--sp-font);
  outline: none;
}
.sp-news-input::placeholder { color: #9aa8c4; }
.sp-news-input:focus { box-shadow: 0 0 0 4px rgba(120, 165, 255, .28); }
.sp-news-submit {
  height: 46px; border: 0; border-radius: 10px;
  background: linear-gradient(180deg, #2f7bff, var(--sp-blue));
  color: #fff; font-size: 14px; font-weight: 600; font-family: var(--sp-font);
  padding: 0 30px; white-space: nowrap;
  transition: filter .15s;
}
.sp-news-submit:hover { filter: brightness(1.08); }
.sp-news-consent {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 11px; color: #aebbdd; line-height: 1.45;
}
.sp-news-consent input { margin-top: 2px; accent-color: var(--sp-blue); }
.sp-news-plane { display: none; }
@media (min-width: 992px) { .sp-news-plane { display: block; font-size: 30px; color: #7fb0ff; transform: rotate(-8deg); flex: none; } }

/* ============================================================================
   12. RODAPÉ — 4 colunas navy + barra inferior com selos
   ========================================================================= */
.theme-storefront .sp-footer {
  background: var(--sp-navy); color: #c6d2e8;
  padding: 48px 0 0; margin-top: 0;
}
.sp-footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 768px) { .sp-footer-grid { grid-template-columns: 1.3fr 1fr; gap: 34px; } }
@media (min-width: 992px) { .sp-footer-grid { grid-template-columns: 1.35fr .9fr 1.15fr 1fr; gap: 38px; } }
.sp-footer h4 {
  color: #fff; font-size: 14.5px; font-weight: 700;
  margin: 0 0 16px; letter-spacing: .01em;
}
.sp-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sp-footer-brand .sp-brand-shield { width: 36px; height: 36px; }
.sp-footer-brand-name { font-weight: 700; font-size: 18px; color: #fff; line-height: 1.08; }
.sp-footer-brand-name b { color: #7fb0ff; }
.sp-footer-desc { font-size: 13px; color: #aebbdd; line-height: 1.6; margin: 0 0 18px; max-width: 250px; }
.sp-footer-socials { display: flex; gap: 10px; }
.sp-footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: #16223f; color: #c6d2e8;
  display: grid; place-items: center; font-size: 15px;
  text-decoration: none; transition: background .15s, color .15s, transform .15s;
}
.sp-footer-socials a:hover { background: var(--sp-blue); color: #fff; transform: translateY(-2px); }
.sp-footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sp-footer-list a, .sp-footer-list li { color: #c6d2e8; font-size: 13.5px; text-decoration: none; }
.sp-footer-list a:hover { color: #fff; }
.sp-footer-list i { color: #7fb0ff; margin-right: 8px; font-size: 14px; }
.sp-footer-pay { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.sp-footer-pay li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #c6d2e8; }
.sp-footer-pay .pay-chip {
  width: 30px; height: 21px; border-radius: 4px; background: #16223f;
  display: grid; place-items: center; flex: none;
}
.sp-footer-pay .pay-chip svg { height: 14px; width: auto; }
.sp-footer-pay .pay-chip i { color: #9cc0ff; font-size: 14px; }
.sp-footer-bottom {
  margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 16px 0 18px;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 12.5px; color: #93a3c4;
}
@media (min-width: 992px) { .sp-footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.sp-footer-seals { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.sp-footer-seals span { display: inline-flex; align-items: center; gap: 7px; color: #c6d2e8; font-size: 12px; font-weight: 500; }
.sp-footer-seals i { color: #7fb0ff; font-size: 15px; }
@media (max-width: 991.98px) { .sp-footer { padding-bottom: 8px; } }

/* ============================================================================
   13. AJUSTES GERAIS — float do WhatsApp acima da tab bar
   ========================================================================= */
@media (max-width: 991.98px) {
  .theme-storefront .whatsapp-float { bottom: 84px; }
}

/* ============================================================================
   14. PÁGINAS INTERNAS — carrinho, checkout, categorias, produto, conta e
   institucionais com o MESMO padrão da home (azul, raio, sombras e
   tipografia). As classes funcionais continuam as mesmas (sf-*, acc-*,
   storefront-*, card-buy-row...): só a pintura muda — nenhum hook do React
   é tocado.
   ========================================================================= */

/* tokens do tema antigo remapeados para o azul do padrão (o :root do
   storefront-ui.css aponta o accent para o navy/verde do tema anterior) */
.theme-storefront {
  --sf-accent: var(--sp-blue);
  --sf-accent-hover: var(--sp-blue-dark);
  --sf-radius: var(--sp-radius);
}

/* --- cabeçalho de página: breadcrumb em texto simples + faixa de título -- */
.theme-storefront .storefront-breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 0; margin: 0 0 14px;
  font-size: 12.5px; color: var(--sp-muted);
}
.theme-storefront .storefront-breadcrumb a { color: var(--sp-blue); font-weight: 600; text-decoration: none; }
.theme-storefront .storefront-breadcrumb a:hover { color: var(--sp-blue-dark); text-decoration: underline; }
.theme-storefront .storefront-breadcrumb .separator { color: #b3c0d8; }
.theme-storefront nav.small { font-size: 12.5px; color: var(--sp-muted); }
.theme-storefront nav.small a { color: var(--sp-blue); font-weight: 600; text-decoration: none; }

.theme-storefront .category-title-banner {
  background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius);
  padding: 24px 26px; margin-bottom: 22px;
  box-shadow: 0 1px 2px rgba(13, 27, 62, .04);
}
.theme-storefront .category-title-banner h1 {
  font-size: 25px; font-weight: 700; letter-spacing: -.015em;
  color: var(--sp-ink); margin: 0;
}
@media (min-width: 992px) { .theme-storefront .category-title-banner h1 { font-size: 29px; } }
.theme-storefront .category-title-banner .text-muted,
.theme-storefront .category-title-banner p { color: var(--sp-muted) !important; margin-top: 6px; }

/* --- grade de produtos das listagens: mesmo grid da home ---------------- */
.theme-storefront .related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .theme-storefront .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .theme-storefront .related-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } }

/* --- cartões, tabelas e miniaturas internas ----------------------------- */
.theme-storefront .sf-card {
  border: 1px solid var(--sp-line); border-radius: var(--sp-radius);
  box-shadow: 0 1px 2px rgba(13, 27, 62, .04);
}
.theme-storefront .sf-card-head { border-bottom-color: var(--sp-line); }
.theme-storefront .sf-table thead th { color: var(--sp-ink); }
.theme-storefront .sf-thumb { border-radius: 10px; background: #f2f4f9; }

/* --- botões internos ---------------------------------------------------- */
.theme-storefront .btn-finish-cart {
  width: 100%; min-height: 48px; border: 0; border-radius: 10px;
  color: #fff; font-weight: 700; font-size: 15px;
  background: linear-gradient(180deg, #2f7bff, var(--sp-blue));
  box-shadow: 0 10px 24px rgba(30, 99, 240, .28);
  transition: filter .15s, transform .15s;
}
.theme-storefront .btn-finish-cart:hover { filter: brightness(1.07); transform: translateY(-1px); color: #fff; }
.theme-storefront .btn-clear-cart { font-weight: 600; }
.theme-storefront .btn-storefront-buy {
  border: 0; border-radius: 10px; font-weight: 700;
  background: linear-gradient(180deg, #2f7bff, var(--sp-blue));
  box-shadow: 0 10px 24px rgba(30, 99, 240, .28);
}
.theme-storefront .btn-storefront-buy:hover { background: linear-gradient(180deg, #2f7bff, var(--sp-blue)); filter: brightness(1.06); }

/* --- formulários -------------------------------------------------------- */
.theme-storefront .form-control, .theme-storefront .form-select { border-color: #dbe3f1; border-radius: 10px; }
.theme-storefront .form-control:focus, .theme-storefront .form-select:focus { border-color: var(--sp-blue); box-shadow: 0 0 0 4px rgba(30, 99, 240, .13); }
.theme-storefront .form-label { font-weight: 600; color: #33415c; }
.theme-storefront .btn-primary { background: var(--sp-blue); border-color: var(--sp-blue); }
.theme-storefront .btn-primary:hover, .theme-storefront .btn-primary:focus { background: var(--sp-blue-dark); border-color: var(--sp-blue-dark); }
.theme-storefront .btn-outline-primary { color: var(--sp-blue); border-color: var(--sp-blue); }
.theme-storefront .btn-outline-primary:hover { background: var(--sp-blue); color: #fff; }
.theme-storefront .alert { border: 0; border-radius: 10px; }

/* --- checkout ----------------------------------------------------------- */
.theme-storefront .checkout-step-card { border: 1px solid var(--sp-line); border-radius: var(--sp-radius); }
.theme-storefront .step-number-badge { background: var(--sp-blue); }
.theme-storefront .shipping-option.active { border-color: var(--sp-blue); background: #f4f8ff; box-shadow: 0 0 0 1px var(--sp-blue); }
.theme-storefront .sf-ship-ico { background: var(--sp-blue-soft); color: var(--sp-blue); }

/* --- área do cliente ---------------------------------------------------- */
.theme-storefront .acc-nav { border: 1px solid var(--sp-line); box-shadow: 0 1px 2px rgba(13, 27, 62, .04), 0 12px 32px rgba(13, 27, 62, .06); }
.theme-storefront .acc-panel, .theme-storefront .acc-order, .theme-storefront .acc-newmsg { border-color: var(--sp-line); }
.theme-storefront .acc-nav-avatar { background: linear-gradient(180deg, #2f7bff, var(--sp-blue)); }
.theme-storefront .acc-tabs a.active { background: var(--sp-blue); border-color: var(--sp-blue); }
.theme-storefront .acc-btn.is-primary { background: var(--sp-blue); border-color: var(--sp-blue); }
.theme-storefront .acc-order i, .theme-storefront .acc-panel-head a { color: var(--sp-blue); }

/* --- página do produto -------------------------------------------------- */
.theme-storefront .product-info-panel { background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); }
.theme-storefront .gallery-main-view { border: 1px solid var(--sp-line); }
.theme-storefront .gallery-thumb:hover { border-color: #cfe0ff; }
.theme-storefront .storefront-accordion-item { border: 1px solid var(--sp-line); }

/* --- páginas institucionais --------------------------------------------- */
.theme-storefront .cms-page {
  background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius);
  padding: 30px 32px; box-shadow: 0 1px 2px rgba(13, 27, 62, .04);
}
@media (max-width: 575.98px) { .theme-storefront .cms-page { padding: 20px 18px; } }
.theme-storefront .cms-page h1 { color: var(--sp-ink); letter-spacing: -.015em; }
.theme-storefront .cms-page-body { color: #33415c; line-height: 1.75; }
.theme-storefront .cms-page-body h2, .theme-storefront .cms-page-body h3 { color: var(--sp-ink); font-weight: 700; }
.theme-storefront .cms-page-body a { color: var(--sp-blue); }

/* ============================================================================
   15. PÁGINAS INTERNAS — heros e objetos dos modelos do lojista (carrinho,
   checkout, produto e minha conta). Os componentes internos continuam os da
   seção 14; aqui ficam o hero azul compacto, a caixa de preço da PDP, as abas
   de descrição, o hero da conta e a barra de confiança no rodapé das páginas.
   ========================================================================= */

/* --- hero compacto das páginas internas (carrinho, checkout) ------------- */
.sp-page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(820px 380px at 86% 6%, rgba(38, 108, 255, .34), transparent 62%),
    radial-gradient(620px 320px at 4% 100%, rgba(24, 84, 240, .20), transparent 60%),
    linear-gradient(120deg, #0c1c46 0%, #0a1633 52%, #0b1f56 100%);
  padding: 26px 0 30px;
}
@media (min-width: 992px) { .sp-page-hero { padding: 34px 0 44px; } }
.sp-page-hero-inner { position: relative; z-index: 2; }
.sp-ph-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; font-size: 12.5px; font-weight: 500; color: #93a9d3; }
.sp-ph-crumb a { color: #93a9d3; text-decoration: none; }
.sp-ph-crumb a:hover { color: #fff; }
.sp-ph-crumb i { font-size: 10px; opacity: .75; }
.sp-ph-title { margin: 0 0 8px; font-size: clamp(24px, 4.8vw, 38px); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; color: #fff; }
.sp-ph-title em { font-style: normal; color: var(--sp-sky); }
.sp-ph-sub { margin: 0; max-width: 540px; color: #b9c9e6; font-size: 14.5px; line-height: 1.6; }
.sp-ph-art {
  position: absolute; right: -30px; top: 50%; transform: translateY(-50%);
  width: min(30vw, 290px); pointer-events: none; z-index: 1;
  opacity: .96; filter: brightness(1.12) drop-shadow(0 22px 48px rgba(30, 110, 255, .42));
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 97%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 97%);
}
@media (max-width: 991.98px) { .sp-ph-art { width: 170px; right: -46px; opacity: .5; } }

/* --- carrinho: cabeçalho do card, preços azuis e selo de estoque --------- */
.sp-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--sp-line); }
.sp-cart-head h2 { margin: 0; font-size: 19px; font-weight: 700; color: var(--sp-ink); }
.sp-cart-continue { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--sp-blue); text-decoration: none; white-space: nowrap; }
.sp-cart-continue:hover { color: var(--sp-blue-dark); }
.theme-storefront .sf-cart .sf-table thead th { color: var(--sp-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.theme-storefront .sf-cart .sf-cell-price { color: var(--sp-blue); }
.theme-storefront .sf-cart .sf-item-name { color: var(--sp-ink); }
.theme-storefront .sf-cart .qty-form.sf-step { border-color: #cfe0ff; background: #f4f8ff; }
.theme-storefront .sf-cart .qty-form .qty-step { background: transparent; color: var(--sp-blue); font-weight: 700; }
.theme-storefront .sf-cart .qty-form .qty-step:hover { background: #e4eeff; }
.theme-storefront .sf-cart .sf-step-input { background: transparent; color: var(--sp-blue); font-weight: 700; }
.theme-storefront .sf-cart .sf-act-view { background: var(--sp-blue-soft); color: var(--sp-blue); }
.theme-storefront .sf-cart .sf-act-view:hover { color: var(--sp-blue-dark); }
.theme-storefront .sf-cart .sf-act-danger { background: #fdecec; color: #e2503a; }
.theme-storefront .sf-cart .sf-act-danger:hover { color: #c93a28; }
.sp-stock-ok { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 12px; font-weight: 600; color: #0f9d6a; }
.sp-stock-ok i { font-size: 13px; }
.sp-stock-out { color: #e2503a; }

/* --- carrinho: cupom em card próprio (como no modelo) -------------------- */
.sp-coupon-box { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; }
.sp-coupon-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--sp-blue-soft); color: var(--sp-blue); font-size: 20px; }
.sp-coupon-copy { flex: 1; min-width: 0; }
.sp-coupon-copy b { display: block; font-size: 14.5px; color: var(--sp-ink); }
.sp-coupon-copy small { display: block; margin: 2px 0 10px; color: var(--sp-muted); font-size: 12.5px; }
.sp-coupon-copy .sf-coupon { max-width: 440px; }
.sp-coupon-copy .sf-coupon input { border-color: #dbe3f1; }
.sp-coupon-copy .sf-coupon input:focus { border-color: var(--sp-blue); }
.sp-coupon-copy .sf-coupon button { background: var(--sp-blue); }
.sp-coupon-copy .sf-coupon button:hover { background: var(--sp-blue-dark); }

/* --- checkout: passos azuis, caixa de segurança e selo do rodapé --------- */
.theme-storefront .sf-prog-n { border-color: #d8e2f3; color: var(--sp-muted); }
.theme-storefront .sf-prog li.is-current .sf-prog-n { border-color: var(--sp-blue); background: var(--sp-blue); box-shadow: 0 0 0 4px rgba(30, 99, 240, .15); }
.theme-storefront .sf-prog li.is-current button { color: var(--sp-blue); }
.theme-storefront .sf-prog li.is-done .sf-prog-n { border-color: var(--sp-blue); background: var(--sp-blue); }
.theme-storefront .sf-prog li.is-done + li::before,
.theme-storefront .sf-prog li.is-current::before,
.theme-storefront .sf-prog li.is-done::before { background: var(--sp-blue); }
.theme-storefront .sf-express { background: var(--sp-blue-soft); border-color: #cfe0ff; color: var(--sp-blue-dark); }
.sp-safe-box { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; padding: 16px 18px; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); background: #fafbff; }
.sp-safe-box i.sp-safe-ico { flex: none; font-size: 34px; color: var(--sp-blue); line-height: 1; }
.sp-safe-box b { display: block; font-size: 14px; color: var(--sp-ink); }
.sp-safe-box small { display: block; margin-top: 2px; color: var(--sp-muted); font-size: 12.5px; line-height: 1.55; }
.sp-checkout-alt { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 12.5px; color: var(--sp-muted); }
.sp-checkout-alt a { color: var(--sp-blue); font-weight: 600; text-decoration: none; }
.sp-checkout-alt a:hover { text-decoration: underline; }

/* --- página do produto: selos, preço e linhas de pagamento --------------- */
.sp-pdp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.sp-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.sp-badge-stock { background: #e4f6ef; color: #0f9d6a; }
.sp-badge-stock.is-out { background: #fdecec; color: #e2503a; }
.sp-badge-product { background: var(--sp-blue); color: #fff; }
.sp-pdp-sub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 2px 0 10px; font-size: 13px; color: var(--sp-muted); }
.sp-pdp-sub a { color: var(--sp-blue); text-decoration: none; font-weight: 500; }
.sp-pdp-sub a:hover { text-decoration: underline; }
.sp-pdp-desc { color: var(--sp-ink-soft); font-size: 14px; line-height: 1.65; margin: 0 0 14px; }
.sp-pdp-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.sp-pdp-price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--sp-blue); font-variant-numeric: tabular-nums; }
.sp-pdp-old { font-size: 15px; color: #98a6c0; text-decoration: line-through; }
.sp-pdp-off { padding: 4px 9px; border-radius: 7px; background: #e4f6ef; color: #0f9d6a; font-size: 12px; font-weight: 700; }
.sp-price-lines { border: 1px solid var(--sp-line); border-radius: 12px; overflow: hidden; margin-bottom: 14px; background: #fff; }
.sp-price-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.sp-price-line + .sp-price-line { border-top: 1px solid var(--sp-line); }
.sp-price-line.is-pix { background: #f2fbf7; }
.sp-pl-left { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--sp-ink-soft); }
.sp-pl-left .sp-pl-pix { height: 20px; width: auto; }
.sp-pl-left i { color: var(--sp-blue); font-size: 17px; }
.sp-pl-amount { font-weight: 700; color: var(--sp-blue); font-variant-numeric: tabular-nums; }

/* --- página do produto: abas, caixas de destaque e check-list ------------ */
.sp-pdp-tabs.nav-tabs { border-bottom: 1px solid var(--sp-line); gap: 2px; }
.sp-pdp-tabs .nav-link { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 11px 16px; margin-bottom: -1px; color: var(--sp-muted); font-weight: 600; font-size: 14px; }
.sp-pdp-tabs .nav-link:hover { color: var(--sp-blue); border-bottom-color: #cfe0ff; }
.sp-pdp-tabs .nav-link.active { color: var(--sp-blue); border-bottom-color: var(--sp-blue); background: transparent; }
.sp-pdp-tab-card { background: #fff; border: 1px solid var(--sp-line); border-top: 0; border-radius: 0 0 var(--sp-radius) var(--sp-radius); padding: 22px 24px; }
.sp-pdp-feats { display: grid; gap: 10px; }
.sp-pdp-feat { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--sp-line); border-radius: 12px; background: #fff; }
.sp-pdp-feat i { flex: none; font-size: 20px; color: var(--sp-blue); }
.sp-pdp-feat b { display: block; font-size: 13.5px; color: var(--sp-ink); }
.sp-pdp-feat small { display: block; margin-top: 1px; color: var(--sp-muted); font-size: 12px; }
.sp-pdp-checks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.sp-pdp-checks li { display: flex; align-items: center; gap: 9px; color: #33415c; font-size: 13.5px; }
.sp-pdp-checks i { color: var(--sp-blue); font-size: 15px; }
.sp-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sp-section-head h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--sp-ink); }
.sp-section-head p { margin: 3px 0 0; color: var(--sp-muted); font-size: 13px; }
.sp-section-head a.sp-see-all { color: var(--sp-blue); font-weight: 600; font-size: 13px; text-decoration: none; white-space: nowrap; }
.sp-section-head a.sp-see-all:hover { text-decoration: underline; }

/* --- página do produto: botões de compra e favoritos --------------------- */
.theme-storefront .product-info-panel .buy-action-row { flex-wrap: wrap; }
.theme-storefront .product-info-panel .btn-storefront-buy { white-space: nowrap; font-size: 14px; padding: 0 14px; min-width: 150px; }
.theme-storefront .product-info-panel .btn-storefront-buy svg { width: 18px; height: 18px; margin-right: 6px !important; }
.theme-storefront .btn-sp-buy-now {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 50px; padding: 0 14px; border-radius: 10px; min-width: 130px;
  border: 1.5px solid var(--sp-blue); background: #fff; color: var(--sp-blue);
  font-family: var(--sp-font); font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.theme-storefront .btn-sp-buy-now:hover { background: var(--sp-blue-soft); color: var(--sp-blue-dark); }
.theme-storefront .btn-sp-buy-now i { font-size: 16px; }
.sp-pdp-fav { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; }
.sp-pdp-fav .btn-fav { font-size: 1.15rem; line-height: 1; }
.sp-pdp-fav span { font-size: 13px; font-weight: 600; color: var(--sp-muted); transition: color .15s ease; }
.sp-pdp-fav:hover span { color: var(--sp-blue); }
@media (max-width: 575.98px) {
  .theme-storefront .buy-action-row { flex-wrap: wrap; }
  .theme-storefront .btn-sp-buy-now { flex-basis: 100%; }
}

/* --- barra de confiança embutida no conteúdo (página do produto) --------- */
.sp-trust.is-inline { border: 1px solid var(--sp-line); border-radius: var(--sp-radius); padding: 18px 12px; margin: 26px 0 4px; }
@media (max-width: 991.98px) { .sp-trust.is-inline { padding: 16px 10px; } }

/* --- minha conta: hero navy com avatar e selo de proteção ---------------- */
.sp-acc-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(760px 340px at 88% 0%, rgba(38, 108, 255, .32), transparent 62%),
    linear-gradient(120deg, #0c1c46 0%, #0a1633 55%, #0b1f56 100%);
  padding: 24px 0;
}
.sp-acc-hero-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.sp-acc-hero-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.sp-acc-hero-avatar { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, #2f7bff, var(--sp-blue)); font-size: 24px; color: #fff; box-shadow: 0 12px 28px rgba(30, 99, 240, .38); }
.sp-acc-hero h1 { margin: 0; font-size: clamp(19px, 3.2vw, 24px); font-weight: 700; letter-spacing: -.01em; color: #fff; }
.sp-acc-hero p { margin: 3px 0 0; color: #b9c9e6; font-size: 13px; }
.sp-acc-hero-safe { display: flex; align-items: center; gap: 12px; flex: none; }
.sp-acc-hero-safe > i { font-size: 36px; color: #7fb0ff; }
.sp-acc-hero-safe b { display: block; font-size: 13.5px; color: #fff; }
.sp-acc-hero-safe small { display: block; color: #b9c9e6; font-size: 12px; }
@media (max-width: 767.98px) { .sp-acc-hero-safe { display: none; } }
