/* ==========================================================================
   ACHADINHOS DO LÉO - RESPONSIVE & MOBILE DESIGN SYSTEM
   Versão Mobile & Tablet Refinada, Harmônica e 100% Sem Scroll Horizontal
   ========================================================================== */

/* ==========================================================================
   1. BASE RESETS & ELIMINAÇÃO TOTAL DE SCROLL HORIZONTAL
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
}

img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Quebra segura de textos para nunca estourar a tela */
h1, h2, h3, h4, h5, h6 {
  word-break: break-word;
  overflow-wrap: break-word;
}

p, span, a, li, blockquote {
  overflow-wrap: break-word;
}

/* Containers Seguros */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

.section {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Utilitário de Grid de Hero para Páginas Secundárias (Ofertas, Cupons, Sobre) */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
}

/* ==========================================================================
   2. MOBILE DRAWER NAVIGATION & OVERLAY
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: #FFFFFF;
  z-index: 9999;
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.18);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.active {
  right: 0;
}

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

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

.drawer-link {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.drawer-link:hover, .drawer-link.active {
  background: var(--primary-light);
  color: var(--primary);
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   3. MOBILE BOTTOM NAVIGATION BAR (App Bar Flutuante / Fixa)
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-light);
  z-index: 500;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  padding: 0 0.5rem;
  padding-bottom: env(safe-area-inset-bottom, 0);
  align-items: center;
  justify-content: space-around;
}

.mobile-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition-fast);
  min-width: 52px;
}

.mobile-bottom-nav-item svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.mobile-bottom-nav-item.active,
.mobile-bottom-nav-item:hover {
  color: var(--primary);
}

.mobile-bottom-nav-item.active svg {
  transform: translateY(-2px);
}

.mobile-bottom-nav-item .nav-badge {
  position: absolute;
  top: 0px;
  right: 10px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #FFFFFF;
}

/* ==========================================================================
   4. PRODUCT DETAIL & ARTICLES RESPONSIVE CLASSES
   ========================================================================== */
.product-detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
}

.article-product-card {
  background: var(--bg-warm);
  border: 1px solid #FFD5CC;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   5. BREAKPOINT: TABLETS & MEDIUM SCREENS (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .site-header .nav-menu {
    gap: 0.25rem;
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 0.4rem 0.65rem;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .mascot-backdrop-glow {
    width: 320px;
    height: 320px;
  }

  .hero-mascot-image {
    max-width: 320px;
  }

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

  .products-grid,
  #home-products-grid,
  #catalog-products-grid,
  #deals-page-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem;
  }

  .page-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .deals-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .trust-section-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
  }
}

/* ==========================================================================
   6. BREAKPOINT: TABLET PORTRAIT (max-width: 992px)
   ========================================================================== */
@media (max-width: 992px) {
  .site-header .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust-chips {
    justify-content: center;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .page-hero-grid img {
    margin: 0 auto;
  }

  .deals-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .deals-left {
    align-items: center;
  }

  .trust-section-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .trust-content {
    align-items: center;
  }

  .trust-pillars-grid {
    text-align: left;
    width: 100%;
    max-width: 600px;
  }

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

  .vip-banner-box {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.75rem;
  }

  .vip-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   7. BREAKPOINT: SMARTPHONES (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  body {
    padding-bottom: 66px;
  }

  .mobile-bottom-nav {
    display: flex;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  /* Tipografia Fluida no Mobile */
  .hero-title,
  h1 {
    font-size: 1.75rem !important;
    line-height: 1.22 !important;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }

  .section-title,
  h2 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }

  .section-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  /* Botões no Mobile - Permite quebra de texto elegante para nunca vazar */
  .btn {
    white-space: normal !important;
    word-break: normal !important;
    max-width: 100% !important;
    text-align: center !important;
    box-sizing: border-box;
  }

  #home-view-more-btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.85rem 1.15rem !important;
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
    display: inline-flex !important;
  }

  /* --------------------------------------------------------------------------
     1. CABEÇALHO MOBILE EQUILIBRADO & PROFISSIONAL
     -------------------------------------------------------------------------- */
  .site-header {
    height: var(--header-height);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
  }

  .brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-avatar-wrapper {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-width: 2px;
  }

  .brand-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .brand-name {
    font-size: 1.05rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
  }

  .brand-tagline {
    display: none;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  /* Oculta o botão 'Ver Ofertas', lupa e coração no topo mobile */
  .header-actions .btn-primary {
    display: none !important;
  }

  /* Esconde ícone de busca (lupa) e favoritos (coração) no header do celular */
  .header-actions .btn-icon:not(.mobile-toggle) {
    display: none !important;
  }

  .header-actions .btn-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .mobile-toggle {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
  }

  .favorites-count-badge {
    top: -3px;
    right: -3px;
    width: 17px;
    height: 17px;
    font-size: 0.62rem;
  }

  /* --------------------------------------------------------------------------
     2. HERO SECTION & PREVENÇÃO DE OVERFLOW DE FOTOS E BADGES
     -------------------------------------------------------------------------- */
  .hero-section {
    padding: 2rem 0 2.5rem 0;
    overflow: hidden;
  }

  .hero-pill-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  .hero-trust-chips {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1.25rem;
  }

  .trust-chip {
    font-size: 0.8rem;
  }

  .hero-visual {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin-top: 1rem;
  }

  .mascot-backdrop-glow {
    width: min(240px, 75vw) !important;
    height: min(240px, 75vw) !important;
    max-width: 75vw;
    max-height: 75vw;
  }

  .hero-mascot-image {
    max-width: min(250px, 70vw) !important;
    width: 100%;
    margin: 0 auto;
  }

  /* Badges flutuantes no celular: contidas e centralizadas abaixo do mascote */
  .mascot-floating-badge {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0.5rem auto 0 auto !important;
    width: fit-content !important;
    max-width: 90% !important;
    box-sizing: border-box !important;
    animation: none !important;
    font-size: 0.78rem !important;
    padding: 0.45rem 0.8rem !important;
    text-align: center !important;
    white-space: normal !important;
  }

  /* --------------------------------------------------------------------------
     3. CARDS DE PRODUTOS COMPACTOS, HARMÔNICOS & PRIORIZADOS
     -------------------------------------------------------------------------- */
  .products-grid,
  #home-products-grid,
  #catalog-products-grid,
  #deals-page-products-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
    width: 100%;
  }

  .product-card {
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border-light);
  }

  .product-image-container {
    height: 185px;
    padding: 0.75rem 1rem;
    background: #FFFFFF;
  }

  .product-img {
    max-width: 165px;
    max-height: 155px;
  }

  .product-badge-overlay {
    top: 8px;
    left: 8px;
    gap: 4px;
  }

  .product-badge-overlay .badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }

  .btn-wishlist {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }

  .product-body {
    padding: 0.9rem 1rem 1.1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
  }

  .product-meta .badge {
    font-size: 0.68rem;
    padding: 0.18rem 0.5rem;
  }

  .product-rating {
    font-size: 0.75rem;
  }

  .product-title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    min-height: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .curator-speech-box {
    padding: 0.4rem 0.65rem;
    margin-bottom: 0.45rem;
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    gap: 0.4rem;
    background: var(--bg-warm);
    border-left: 2.5px solid var(--primary);
  }

  .curator-speech-box .curator-mini-avatar {
    width: 20px;
    height: 20px;
  }

  .curator-speech-box p {
    font-size: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-pricing {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-subtle);
    margin-bottom: 0.75rem;
  }

  .price-original {
    font-size: 0.76rem;
  }

  .price-current-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0.15rem 0;
  }

  .price-current {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
  }

  .price-discount-tag {
    font-size: 0.75rem;
    padding: 0.15rem 0.45rem;
  }

  .price-installments {
    font-size: 0.74rem;
  }

  .product-actions {
    display: grid;
    grid-template-columns: 1fr 42px;
    gap: 0.5rem;
    align-items: center;
  }

  .btn-affiliate {
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.7rem 0.85rem;
    height: 44px;
    justify-content: center;
    border-radius: var(--radius-sm);
  }

  .btn-quick-view {
    height: 44px;
    width: 42px;
    padding: 0;
    border-radius: var(--radius-sm);
  }

  /* --------------------------------------------------------------------------
     4. CONTROLES DO CATÁLOGO & PAGINAÇÃO RESPONSIVA
     -------------------------------------------------------------------------- */
  .catalog-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  div:has(> #catalog-search-input) {
    width: 100%;
    min-width: 100% !important;
  }

  #catalog-search-input {
    width: 100% !important;
    font-size: 0.88rem;
    padding: 0.65rem 1rem 0.65rem 2.4rem;
  }

  #catalog-toggle-filter-btn {
    flex: 1 1 calc(50% - 0.4rem) !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    padding: 0.65rem 0.65rem !important;
    min-height: 42px;
  }

  #catalog-sort-select {
    flex: 1 1 calc(50% - 0.4rem) !important;
    font-size: 0.85rem !important;
    padding: 0.65rem 0.65rem !important;
    min-height: 42px;
  }

  .filter-pills {
    overflow-x: auto;
    padding-bottom: 0.4rem;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .filter-pill {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
  }

  #catalog-filters-panel {
    padding: 1rem !important;
  }

  /* Paginação Mobile Elegante */
  .pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    margin-top: 2rem;
    flex-wrap: nowrap;
  }

  .pagination-mobile-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    color: var(--text-secondary);
    white-space: nowrap;
    box-shadow: var(--shadow-xs);
  }

  .pagination-mobile-info span {
    color: var(--primary);
    font-weight: 800;
    margin-right: 0.25rem;
  }

  .pagination-mobile-info strong {
    color: var(--text-main);
    margin-left: 0.25rem;
  }

  .pagination-btn {
    font-size: 0.85rem;
    padding: 0.55rem 0.9rem;
    min-height: 42px;
    border-radius: var(--radius-md);
    white-space: nowrap;
  }

  /* --------------------------------------------------------------------------
     5. CATEGORIAS, OFERTAS & CUPONS
     -------------------------------------------------------------------------- */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .category-card {
    padding: 0.95rem 0.7rem;
    border-radius: var(--radius-md);
  }

  .category-thumb-wrapper {
    width: 56px;
    height: 56px;
    margin-bottom: 0.5rem;
  }

  .category-name {
    font-size: 0.88rem;
  }

  .category-tagline {
    font-size: 0.7rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #full-categories-hub {
    grid-template-columns: 1fr !important;
  }

  .deals-banner-card {
    padding: 1.65rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .deals-title {
    font-size: 1.65rem !important;
  }

  .deals-subtitle {
    font-size: 0.9rem;
  }

  .deals-nav-btn {
    width: 44px !important;
    height: 44px !important;
  }

  .deals-nav-btn svg {
    width: 20px !important;
    height: 20px !important;
  }

  .coupons-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    width: 100%;
  }

  .coupon-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
  }

  .coupon-action-box {
    width: 100%;
    justify-content: space-between;
  }

  .coupon-ticket {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }

  .coupon-ticket-discount {
    font-size: 1.55rem;
  }

  .coupon-ticket-code-box {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .btn-ticket-copy {
    width: 100%;
    justify-content: center;
    height: 42px;
  }

  /* --------------------------------------------------------------------------
     6. OUTRAS SEÇÕES & ELEMENTOS
     -------------------------------------------------------------------------- */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-card {
    padding: 1.25rem;
  }

  .affiliate-notice-card {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

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

  .curator-manifesto-quote {
    padding: 1.25rem;
  }

  .curator-manifesto-quote p {
    font-size: 0.95rem;
  }

  .vip-banner-box {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .vip-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .vip-buttons .btn {
    width: 100%;
    justify-content: center;
    height: 46px;
  }

  .site-footer {
    padding: 2.75rem 0 1.5rem 0;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-bottom: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .product-detail-card {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-lg);
  }

  .modal-overlay {
    padding: 0.5rem;
    align-items: flex-end; /* Modal sobe da parte inferior no celular */
    overflow: hidden;
  }

  .modal-container {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0; /* Arredondado só em cima */
    overflow-x: hidden !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-content-grid {
    grid-template-columns: 1fr !important;
    padding: 1.15rem !important;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Título do produto no modal: nunca corta na lateral */
  .modal-content-grid h2 {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Badges no modal em linha com quebra */
  .modal-info-col > div:first-child {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  /* Preço grande no modal responsivo */
  .modal-info-col span[style*="font-size: 1.8rem"] {
    font-size: 1.45rem !important;
  }

  .modal-img-frame {
    height: 185px;
    padding: 0.75rem;
  }

  .modal-main-img {
    max-width: 140px !important;
    max-height: 155px !important;
  }

  .pros-cons-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  div[style*="border: 1px solid #FFD5CC"][style*="display: flex"],
  .article-product-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.15rem;
  }

  .article-product-card a.btn,
  div[style*="border: 1px solid #FFD5CC"] a.btn {
    width: 100%;
    text-align: center;
  }

  .toast-notification {
    left: 1rem;
    right: 1rem;
    bottom: 74px;
    transform: translateY(120px);
    justify-content: center;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
  }
}

/* ==========================================================================
   8. BREAKPOINT: CELULARES COMPACTOS (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .hero-title,
  h1 {
    font-size: 1.6rem !important;
  }

  .section-title,
  h2 {
    font-size: 1.4rem !important;
  }

  .btn-lg {
    padding: 0.8rem 1.15rem;
    font-size: 0.92rem;
  }

  .product-pricing .price-current {
    font-size: 1.3rem;
  }
}

/* ==========================================================================
   9. BREAKPOINT: CELULARES MUITO PEQUENOS (max-width: 360px)
   ========================================================================== */
@media (max-width: 360px) {
  .brand-name {
    font-size: 0.95rem;
  }

  .header-actions {
    gap: 0.3rem;
  }

  .header-actions .btn-icon {
    width: 34px;
    height: 34px;
  }

  .hero-title,
  h1 {
    font-size: 1.45rem !important;
  }

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

/* ==========================================================================
   10. TOUCH OPTIMIZATIONS
   ========================================================================== */
@media (hover: none) and (pointer: coarse) {
  .btn, .filter-pill, .pagination-btn, .btn-icon, .drawer-link {
    min-height: 42px;
  }

  .product-card:hover,
  .category-card:hover,
  .btn-primary:hover,
  .coupon-ticket:hover {
    transform: none;
  }

  .product-card:active,
  .btn:active,
  .coupon-ticket:active {
    transform: scale(0.98);
  }
}