﻿/* =============================================
   UI POLISH LAYER (SAFE OVERRIDES)
   Goal: visual refinement without changing logic
   ============================================= */

:root {
  --ui-surface-soft: linear-gradient(180deg, rgba(20,28,42,.9), rgba(13,18,28,.95));
  --ui-border-soft: rgba(160,180,210,.2);
  --ui-border-strong: rgba(228,255,0,.35);
  --ui-shadow-soft: 0 10px 32px rgba(0,0,0,.35);
  --ui-shadow-card: 0 14px 36px rgba(0,0,0,.42);
  --ui-shadow-card-hover: 0 22px 48px rgba(0,0,0,.5);
}

html {
  text-rendering: optimizeLegibility;
}

body {
  line-height: 1.68;
  letter-spacing: .002em;
}

/* Better default focus for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--ui-border-strong);
  box-shadow: 0 0 0 3px rgba(228,255,0,.18);
}

/* Content rhythm */
.section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.section-header {
  margin-bottom: 38px;
  align-items: flex-end;
}

.section-title,
.section-title-bold {
  text-wrap: balance;
}

.section-sub,
.hero-sub,
.about-content p,
.contact-info p,
.legal-wrap p,
.legal-wrap ul li {
  color: #90a2be;
}

.section-sub {
  max-width: 58ch;
  line-height: 1.6;
}

/* Unified premium blocks (cards/panels/modals) */
.product-card,
.cat-card,
.value-card,
.contact-item,
.checkout-summary,
.cart-page-item,
.perfil-header,
.pedido-card,
.perfil-dados-card,
.auth-modal,
.cookie-modal,
.checkout-form .form-section,
.mp-result-shell {
  border-color: var(--ui-border-soft);
  box-shadow: var(--ui-shadow-soft);
}

.product-card:hover,
.cat-card:hover,
.pedido-card:hover,
.value-card:hover {
  box-shadow: var(--ui-shadow-card-hover);
}

/* Product catalog polish */
.prod-info {
  padding: 14px 14px 16px;
  gap: 8px;
}

.prod-name {
  color: #e2e8f5;
  line-height: 1.46;
}

.prod-installment {
  color: #8fa3bf;
}

.card-actions {
  gap: 9px;
}

/* Buttons: consistent radius/weight/spacing */
.btn-buy,
.btn-wpp-buy,
.btn-add-cart,
.btn-ver-produto,
.btn-comprar,
.auth-btn-submit,
.pedidos-empty-btn,
.pedido-action-btn,
.mp-btn-pay,
.mp-btn-secondary,
.mp-pix-copy-btn,
.cookie-btn-accept,
.cookie-btn-reject,
.cookie-btn-settings {
  border-radius: 11px;
  font-weight: 700;
}

.btn-buy,
.btn-add-cart,
.btn-comprar,
.auth-btn-submit,
.mp-btn-pay,
.cookie-btn-accept {
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
}

/* Form controls: cleaner and more consistent */
.form-group input,
.form-group select,
.auth-field input,
.auth-select,
.mp-field input,
.mp-field select,
.mp-field .mp-iframe-container,
.prod-cep-row input,
.perfil-field-value {
  border-radius: 10px;
  border-color: rgba(42,56,84,.95);
  background: #0f1624;
}

.form-group label,
.auth-field label,
.mp-field label,
.prod-cep-title,
.perfil-field label {
  color: #9cb0cb;
  letter-spacing: .08em;
}

/* Checkout visual hierarchy */
.checkout-summary h3,
.ck-summary-title {
  letter-spacing: .08em;
}

.summary-row {
  color: #9aacc5;
}

.summary-total,
.summary-total span:last-child {
  letter-spacing: .02em;
}

/* Auth + profile finishing details */
.auth-sub,
.user-menu-email {
  color: #7f93af;
}

.user-menu {
  border-color: rgba(160,180,210,.22);
  box-shadow: 0 16px 44px rgba(0,0,0,.5);
}

.perfil-tab.active {
  background: rgba(228,255,0,.07);
}

.pedido-card-header {
  border-radius: 12px;
}

.pedido-timeline-label {
  letter-spacing: .02em;
}

/* Cookie UI refinement */
.cookie-banner,
.cookie-modal {
  border-color: rgba(228,255,0,.2);
}

.cookie-title {
  font-size: 16px;
  letter-spacing: .05em;
}

/* Responsive polish */
@media (max-width: 1024px) {
  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .section-header {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-sub {
    font-size: 14px;
  }

  .product-card,
  .cat-card,
  .checkout-summary,
  .cart-page-item,
  .perfil-header,
  .pedido-card,
  .auth-modal,
  .cookie-modal {
    border-radius: 14px;
  }

  .btn-buy,
  .btn-wpp-buy,
  .btn-add-cart,
  .btn-ver-produto,
  .btn-comprar,
  .auth-btn-submit,
  .mp-btn-pay,
  .cookie-btn-accept {
    min-height: 44px;
  }
}

/* =============================================
   HOME - Pixel Fine
   ============================================= */
.hero-content {
  align-items: center;
  gap: 34px;
}

.hero-text {
  max-width: 640px;
}

.hero-title {
  line-height: .92;
  letter-spacing: .035em;
  text-shadow: 0 10px 24px rgba(0,0,0,.36);
}

.hero-sub {
  max-width: 54ch;
}

.hero-stats {
  margin-top: 34px;
  padding-top: 24px;
  gap: 24px;
}

.stat-num {
  font-size: clamp(38px, 3.4vw, 44px);
}

.stat-lbl {
  color: #95a8c4;
}

.hero-proof-pill {
  background: rgba(15,22,34,.72);
  border-color: rgba(148,168,199,.24);
  color: #d5e0f1;
}

.benefits-inner {
  border-left: 1px solid rgba(160,180,210,.14);
  border-right: 1px solid rgba(160,180,210,.14);
  background: linear-gradient(180deg, rgba(15,21,33,.8), rgba(12,17,27,.86));
}

.benefit-item {
  padding: 28px 20px;
}

.benefit-desc {
  color: #8ea2be;
}

.team-badge-item {
  border-color: rgba(148,168,199,.2);
  background: rgba(16,23,36,.84);
}

.team-badge-item:hover {
  border-color: rgba(228,255,0,.34);
  background: rgba(20,29,45,.92);
}

.testimonial-card {
  padding: 28px;
  background: var(--ui-surface-soft);
}

.testimonial-text {
  color: #98abc6;
}

.carousel-arrow,
.big-slider-arrow {
  border-color: rgba(160,180,210,.26);
}

/* Reexibe WhatsApp completo apenas em telas muito largas */
@media (min-width: 1860px) {
  .btn-whatsapp {
    display: flex !important;
    width: auto;
    min-width: 0;
    padding: 9px 14px;
    gap: 7px;
    justify-content: center;
    font-size: 13px;
    letter-spacing: .05em;
  }
  .btn-whatsapp::after {
    display: block;
  }
}

/* =============================================
   PRODUTO - Pixel Fine
   ============================================= */
.breadcrumb {
  gap: 8px;
}

.breadcrumb-back {
  border-radius: 999px;
  border: 1px solid rgba(148,168,199,.24);
  background: rgba(15,21,33,.82);
}

.product-detail {
  gap: 30px;
}

.prod-detail-country {
  color: #9bb0cc;
}

.prod-detail-name {
  letter-spacing: .03em;
}

.prod-detail-price {
  border-color: rgba(160,180,210,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 12px 30px rgba(0,0,0,.25);
}

.price-main {
  text-shadow: 0 0 24px rgba(228,255,0,.16);
}

.price-old {
  color: #8397b3;
}

.price-installment {
  color: #98abc6;
}

.sizes-grid {
  gap: 10px;
}

.size-btn {
  min-height: 48px;
  background: #111827;
  border-color: rgba(148,168,199,.26);
}

.size-btn.active {
  box-shadow: 0 0 0 1px rgba(228,255,0,.2) inset, 0 8px 18px rgba(228,255,0,.1);
}

.prod-ctas {
  gap: 10px;
  align-items: stretch;
}

.prod-secure-panel {
  margin: 0 0 14px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148,168,199,.23);
  background: linear-gradient(160deg, rgba(17,24,37,.94), rgba(10,14,22,.95));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.prod-secure-panel-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: #e6f1ff;
  letter-spacing: .03em;
}

.prod-secure-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(228,255,0,.12);
  color: #e4ff7f;
}

.prod-secure-panel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.prod-secure-panel-item {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,168,199,.2);
  background: rgba(255,255,255,.02);
  color: #9db1ca;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
}

.prod-benefit-item {
  background: rgba(16,23,36,.82);
  border-color: rgba(148,168,199,.22);
  color: #9cb0cb;
}

.tab-btn {
  font-weight: 600;
  letter-spacing: .07em;
}

.tab-panel p {
  color: #8fa2bd;
}

/* =============================================
   CHECKOUT - Pixel Fine
   ============================================= */
.checkout-wrap {
  gap: 34px;
}

.checkout-form .form-section {
  padding: 20px 18px 18px;
}

.checkout-form .form-section h3 {
  margin-bottom: 14px;
}

.form-row {
  gap: 14px;
  margin-bottom: 14px;
}

.checkout-summary {
  padding: 24px;
}

.ck-assurance-panel {
  margin: 12px 0 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(148,168,199,.22);
  background: rgba(13,20,31,.72);
}

.ck-assurance-head {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #e4ff7a;
  margin-bottom: 9px;
}

.ck-assurance-grid {
  display: grid;
  gap: 8px;
}

.ck-assurance-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a1b4cf;
  font-size: 12px;
  line-height: 1.45;
}

.ck-assurance-item::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #e4ff00;
  box-shadow: 0 0 0 3px rgba(228,255,0,.15);
  flex-shrink: 0;
}

.summary-item {
  padding: 8px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.summary-item:hover {
  background: rgba(20,28,42,.62);
  border-color: rgba(148,168,199,.18);
}

.mp-tab {
  min-height: 74px;
}

.mp-field input,
.mp-field select,
.mp-field .mp-iframe-container {
  min-height: 44px;
}

.mp-btn-pay {
  min-height: 48px;
  letter-spacing: .07em;
}

/* =============================================
   PERFIL - Pixel Fine
   ============================================= */
.perfil-wrap {
  padding-top: 36px;
}

.perfil-header {
  margin-bottom: 22px;
}

.perfil-header-name {
  letter-spacing: .025em;
}

.perfil-tabs {
  margin-bottom: 24px;
  gap: 8px;
}

.perfil-tab {
  padding: 12px 16px;
}

.pedido-card-header {
  padding: 17px 20px;
}

.pedido-card-preview-imgs {
  padding: 12px 20px;
}

.pedido-card-body {
  padding: 20px;
}

.pedido-item {
  border-color: rgba(148,168,199,.2);
  background: rgba(16,23,36,.78);
}

.pedido-action-btn {
  min-height: 40px;
  border-radius: 10px;
}

.perfil-dados-card {
  background: var(--ui-surface-soft);
  border-color: rgba(148,168,199,.2);
  box-shadow: var(--ui-shadow-soft);
}

.perfil-field-value {
  color: #e3ebf8;
}

.pedidos-empty {
  padding: 48px 20px 40px;
}

/* =============================================
   Mobile Fine Tuning
   ============================================= */
@media (max-width: 768px) {
  .page-title-bar {
    padding: 20px 14px 16px;
  }

  .page-title-bar p {
    margin-top: 6px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-stats {
    gap: 16px;
    margin-top: 22px;
    padding-top: 16px;
    justify-content: space-between;
  }

  .stat-num {
    font-size: clamp(30px, 9vw, 38px);
  }

  .hero-proof-strip {
    gap: 6px;
  }

  .benefits-inner {
    border-left: none;
    border-right: none;
  }

  .product-detail {
    gap: 18px;
  }

  .prod-detail-price {
    margin-bottom: 18px;
    padding: 16px;
  }

  .prod-secure-panel {
    padding: 12px;
    margin-bottom: 12px;
  }

  .prod-secure-panel-item {
    width: 100%;
  }

  /* Evita duplicidade visual de CTA quando a barra fixa já está ativa. */
  body.has-mobile-buy-bar .prod-ctas {
    display: none;
  }

  /* Tamanhos em grade real no mobile para não cortar o último item. */
  .sizes-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
  }

  .sizes-grid .size-btn {
    min-width: 0 !important;
    width: 100%;
    flex: initial !important;
  }

  .checkout-form .form-section {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .checkout-summary {
    padding: 18px;
  }

  .ck-assurance-panel {
    padding: 10px;
  }

  .perfil-wrap {
    padding: 22px 14px 64px;
  }

  .pedidos-empty {
    padding: 36px 16px 28px;
  }

  .perfil-header {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .perfil-tabs {
    margin-bottom: 18px;
  }

  .pedido-card-header {
    padding: 14px 16px;
  }

  .pedido-card-body {
    padding: 16px;
  }
}

@media (max-width: 360px) {
  .sizes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* =============================================
   DESIGN REFINEMENT — Modernização sem descaracterizar
   ============================================= */
:root {
  --ui-text-strong: #eaf1fc;
  --ui-text-muted: #9cafc9;
  --ui-bg-soft: rgba(12,18,28,.76);
  --ui-radius-md: 14px;
  --ui-radius-lg: 18px;
  --ui-gap-section: clamp(18px, 2.2vw, 30px);
}

/* 1) Layout e espaçamento */
.section,
.section-sm,
.about-content,
.contact-wrap,
.legal-wrap,
.rastreio-wrap,
.checkout-wrap,
.perfil-wrap {
  max-width: var(--max);
  margin-inline: auto;
}

.section-header {
  gap: 12px;
}

.products-grid,
.cat-grid,
.contact-grid {
  gap: var(--ui-gap-section);
}

.products-grid {
  align-items: stretch;
}

/* 2) Tipografia */
body {
  color: var(--ui-text-strong);
}

.section-title,
.section-title-bold {
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.04;
  letter-spacing: .028em;
}

.page-title-bar h1 {
  line-height: .95;
}

.hero-sub,
.section-sub,
.contact-info p,
.footer-tagline,
.legal-wrap p,
.legal-wrap li {
  color: var(--ui-text-muted);
  line-height: 1.72;
}

.prod-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

/* 3) Cores e contraste */
.nav-link {
  color: #d9e2f0;
}

.breadcrumb,
.page-title-bar p {
  color: #9fb2cc;
}

.footer-bottom p {
  color: #879ab5;
}

/* 4) Botões e interações */
.btn-primary,
.btn-secondary,
.btn-buy,
.btn-wpp-buy,
.btn-add-cart,
.btn-ver-produto,
.btn-comprar,
.btn-checkout,
.btn-load-more,
.btn-whatsapp,
.btn-whatsapp-full,
.prod-question-submit,
.footer-news-btn {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .18s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}

.btn-primary,
.btn-buy,
.btn-add-cart,
.btn-checkout {
  box-shadow: 0 8px 20px rgba(0,0,0,.26);
}

.btn-primary:hover,
.btn-buy:hover,
.btn-add-cart:hover,
.btn-checkout:hover,
.btn-whatsapp:hover,
.btn-whatsapp-full:hover,
.prod-question-submit:hover,
.footer-news-btn:hover {
  transform: translateY(-1px);
}

.btn-primary:active,
.btn-secondary:active,
.btn-buy:active,
.btn-wpp-buy:active,
.btn-add-cart:active,
.btn-ver-produto:active,
.btn-comprar:active,
.btn-checkout:active,
.btn-load-more:active {
  transform: translateY(0) scale(.985);
}

/* 5) Cards e seções */
.product-card,
.cat-card,
.hero-card,
.value-card,
.testimonial-card,
.contact-item,
.checkout-summary,
.cart-page-item,
.footer-newsletter,
.rastreio-step {
  border-radius: var(--ui-radius-md);
  border: 1px solid rgba(150,171,200,.2);
  background: var(--ui-bg-soft);
}

.product-card,
.cat-card,
.value-card,
.testimonial-card {
  transition: transform .22s ease, box-shadow .24s ease, border-color .24s ease;
}

.product-card:hover,
.cat-card:hover,
.value-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(228,255,0,.3);
}

/* 6) Responsividade */
@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .section-title,
  .section-title-bold {
    font-size: clamp(24px, 8vw, 36px);
  }

  .products-grid,
  .cat-grid {
    gap: 12px;
  }

  .mobile-links a,
  .mobile-sub,
  .mobile-whatsapp,
  .btn-icon,
  .btn-add-cart,
  .btn-ver-produto,
  .btn-buy,
  .btn-wpp-buy,
  .btn-primary,
  .btn-secondary {
    min-height: 44px;
  }

  .mobile-links a {
    display: flex;
    align-items: center;
  }
}

/* 7) Microinterações */
a,
button,
input,
select,
textarea,
.product-card,
.cat-card,
.contact-item,
.footer-col ul li a {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

/* 8) Performance visual (menos poluição) */
.hero-proof-pill,
.footer-trust-pill,
.contact-proof-pill {
  background: rgba(16,24,36,.68);
  border-color: rgba(148,168,199,.2);
}

.hero-title {
  text-shadow: 0 6px 14px rgba(0,0,0,.28);
}

/* 9) Header e navegação */
.header {
  border-bottom: 1px solid rgba(160,180,210,.16);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.header-inner {
  padding-inline: clamp(14px, 2.2vw, 28px);
}

.nav {
  gap: 6px;
}

.nav-link {
  border-radius: 10px;
  padding: 10px 11px;
  font-size: 14px;
}

.nav-link.active {
  background: linear-gradient(180deg, rgba(228,255,0,.16), rgba(228,255,0,.08));
  border-color: rgba(228,255,0,.36);
}

.btn-whatsapp {
  border-color: rgba(59,224,120,.5);
  box-shadow: 0 8px 24px rgba(17,127,72,.28);
}

.mega-menu {
  border-radius: var(--ui-radius-lg);
  border-color: rgba(150,171,200,.2);
  box-shadow: 0 24px 44px rgba(0,0,0,.45);
}

.header-trust-rail {
  margin-left: 8px;
  margin-right: 8px;
  min-width: 0;
  flex: 1 1 320px;
  max-width: 520px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 11px;
  border: 1px solid rgba(148,168,199,.22);
  background: linear-gradient(180deg, rgba(16,23,36,.86), rgba(10,14,22,.86));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
}

.header-trust-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dce8f8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-trust-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #8ad800;
  box-shadow: 0 0 0 4px rgba(138,216,0,.18);
}

.header-trust-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(148,168,199,.24);
  background: rgba(255,255,255,.02);
  color: #9fb4d0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-trust-chip:hover {
  border-color: rgba(228,255,0,.36);
  color: #ecfb95;
  background: rgba(228,255,0,.08);
}

@media (max-width: 1880px) {
  .header-trust-rail {
    max-width: 420px;
    gap: 6px;
  }

  .header-trust-chip {
    padding: 0 7px;
    font-size: 9px;
  }
}

@media (max-width: 1720px) {
  .header-trust-rail {
    max-width: 250px;
    padding: 0 10px;
    gap: 6px;
  }

  .header-trust-status {
    font-size: 10px;
  }

  .header-trust-chip:nth-child(n + 4) {
    display: none;
  }

  .header-trust-chip {
    font-size: 9px;
  }
}

@media (max-width: 1520px) {
  .header-trust-rail {
    display: none;
  }
}

/* 10) Footer */
footer {
  border-top: 1px solid rgba(150,171,200,.16);
}

.footer-top {
  gap: clamp(24px, 3vw, 42px);
}

.footer-col h4 {
  margin-bottom: 14px;
}

.footer-col ul {
  gap: 9px;
}

.footer-col ul li a {
  padding: 5px 0;
  color: #b8c6da;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-security-seal {
  border-color: rgba(90,223,162,.42);
  background: linear-gradient(180deg, rgba(16,41,30,.42), rgba(10,25,19,.38));
  color: #9bf2ca;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

@media (prefers-reduced-motion: reduce) {
  a,
  button,
  input,
  select,
  textarea,
  .product-card,
  .cat-card,
  .contact-item {
    transition: none !important;
    animation: none !important;
  }
}

/* Mobile refinement layer (safe override on top of legacy style.css) */
@media (max-width: 768px) {
  body.mobile-nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .header-inner {
    height: 58px !important;
    padding: 0 10px !important;
    gap: 8px !important;
  }

  .logo {
    font-size: clamp(24px, 6vw, 30px);
    letter-spacing: .04em;
  }

  .header-actions {
    gap: 6px !important;
  }

  .header-actions > .btn-icon,
  .header-actions > .btn-auth,
  .header-actions > .hamburger {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 10px;
  }

  #btnAuth.btn-auth {
    padding: 0 !important;
    gap: 0 !important;
    max-width: 40px !important;
  }

  #btnAuth .btn-auth-name {
    display: none !important;
  }

  .announce-bar {
    height: 32px !important;
  }

  .announce-track {
    font-size: 10px !important;
    letter-spacing: .08em;
    animation-duration: 26s;
  }

  .announce-track span {
    padding: 0 14px !important;
  }

  .filter-wrap {
    top: calc(var(--rv-safe-top, 0px) + 58px) !important;
  }

  .filter-row {
    gap: 8px;
  }

  .filter-sort {
    width: 100%;
  }

  .sort-wrapper {
    width: 100%;
    justify-content: space-between;
  }

  #catSearchInput {
    min-height: 42px;
    font-size: 14px !important;
  }

  .filter-chips {
    scroll-snap-type: x proximity;
    padding-bottom: 2px;
  }

  .filter-chips .chip {
    min-height: 40px;
    scroll-snap-align: start;
  }

  .mobile-nav {
    width: min(92vw, 360px) !important;
    max-width: 92vw !important;
    border-right-color: rgba(164, 182, 208, .22);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
  }

  .mobile-nav-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(9, 12, 18, .96), rgba(9, 12, 18, .88));
    backdrop-filter: blur(10px);
  }

  .mobile-links {
    padding: 12px 14px 116px !important;
  }

  .mobile-links a {
    min-height: 44px;
    padding: 10px 0 !important;
    font-size: 14px !important;
    letter-spacing: .05em;
  }

  .mobile-section-title {
    margin: 12px 0 6px;
    font-size: 11px;
    letter-spacing: .11em;
    color: #8ea3c7;
  }

  .mobile-whatsapp {
    position: sticky;
    bottom: calc(10px + var(--rv-safe-bottom, 0px));
    margin: 12px 14px calc(10px + var(--rv-safe-bottom, 0px));
    min-height: 48px;
    font-size: 14px;
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(37, 211, 102, .24);
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .product-card {
    border-radius: 13px;
    overflow: hidden;
  }

  .prod-info {
    padding: 11px 10px 12px !important;
    gap: 6px;
  }

  .prod-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.35em * 2);
    font-size: 12.5px !important;
    line-height: 1.35 !important;
  }

  .prod-price {
    font-size: clamp(18px, 6vw, 22px) !important;
  }

  .prod-old {
    font-size: 10.5px !important;
  }

  .prod-installment {
    font-size: 10px !important;
  }

  .card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px !important;
  }

  .btn-add-cart,
  .btn-ver-produto {
    min-height: 40px;
    padding: 8px 6px !important;
    font-size: 10.5px !important;
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 56px !important;
    padding: 0 8px !important;
  }

  .header-actions > .btn-icon,
  .header-actions > .btn-auth,
  .header-actions > .hamburger {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  .products-grid {
    gap: 10px !important;
  }

  .prod-name {
    font-size: 12px !important;
  }

  .mobile-links a {
    font-size: 13px !important;
  }
}


/* =============================================
   HEADER DESKTOP — menu centralizado + ações na direita
   ============================================= */
@media (min-width: 1201px) {
  .header-inner {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center !important;
    gap: 10px !important;
  }

  .logo {
    margin-right: 0 !important;
    justify-self: start;
  }

  .nav {
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-self: center !important;
    flex: 0 1 auto !important;
    width: fit-content !important;
    max-width: 100% !important;
  }

  .header-actions {
    margin: 0 !important;
    justify-self: end !important;
    flex: 0 0 auto !important;
  }
}

/* =============================================
   HARDENING — responsividade/performance sem alterar visual
   ============================================= */
:where(
  .header-inner,
  .filter-row,
  .filter-group,
  .sort-wrapper,
  .section-header,
  .card-actions,
  .prod-card-meta,
  .checkout-wrap,
  .summary-item,
  .pedido-card-header,
  .pedido-item
) {
  min-width: 0;
}

:where(
  .prod-name,
  .summary-item-name,
  .pedido-item-name,
  .user-menu-email,
  .mobile-links a,
  .footer-col ul li a
) {
  overflow-wrap: anywhere;
  word-break: break-word;
}

:where(
  a,
  button,
  .btn-icon,
  .btn-buy,
  .btn-wpp-buy,
  .btn-add-cart,
  .btn-ver-produto,
  .btn-comprar,
  .btn-checkout,
  .mobile-links a
) {
  touch-action: manipulation;
}

@media (max-width: 768px) {
  :where(input, select, textarea, button, a) {
    -webkit-tap-highlight-color: rgba(228,255,0,.12);
  }
}


