/* Senhor Natal - Pixel Perfect Cloned Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
  --cor-principal: #f70101;
  --cor-principal-hover: #d60000;
  --cor-secundaria: #1a1a1a;
  --cor-botao: #f70101;
  --cor-verde: #28a745;
  --cor-verde-hover: #218838;
  --cor-fundo: #f8f9fa;
  --cor-fundo-card: #ffffff;
  --cor-borda: #e2e8f0;
  --cor-texto: #2d3748;
  --cor-texto-mutado: #718096;
  --fonte-principal: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fonte-secundaria: 'Open Sans', sans-serif;
  --sombra-card: 0 4px 15px rgba(0, 0, 0, 0.05);
  --sombra-hover: 0 10px 25px rgba(247, 1, 1, 0.15);
  --raio: 8px;
  --transicao: all 0.25s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--fonte-principal);
  color: var(--cor-texto);
  background-color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transicao);
}

a:hover {
  color: var(--cor-principal);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.conteiner, .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- BARRA SUPERIOR / TOPBAR --- */
.barra-inicial {
  background-color: #1a1a1a;
  color: #e2e8f0;
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.barra-inicial .conteiner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.barra-inicial-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.barra-inicial-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.barra-inicial-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.barra-inicial-right a {
  color: #cbd5e0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.barra-inicial-right a:hover {
  color: #ffffff;
}

/* --- CABEÇALHO PRINCIPAL --- */
.cabecalho-principal {
  background-color: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid var(--cor-borda);
  position: relative;
  z-index: 100;
}

.cabecalho-principal .conteiner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.logo-area {
  flex-shrink: 0;
}

.logo-area img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}

/* Busca */
.busca-area {
  flex: 1;
  max-width: 580px;
  position: relative;
}

.busca-form {
  display: flex;
  position: relative;
  width: 100%;
}

.busca-input {
  width: 100%;
  height: 46px;
  padding: 0 50px 0 18px;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  font-size: 14px;
  font-family: var(--fonte-principal);
  outline: none;
  transition: var(--transicao);
}

.busca-input:focus {
  border-color: var(--cor-principal);
  box-shadow: 0 0 0 3px rgba(247, 1, 1, 0.12);
}

.busca-botao {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 40px;
  border-radius: 50%;
  background: var(--cor-principal);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transicao);
}

.busca-botao:hover {
  background: var(--cor-principal-hover);
  transform: scale(1.05);
}

.busca-resultados {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--cor-borda);
  max-height: 420px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.busca-item-resultado {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.busca-item-resultado:hover {
  background: #f8fafc;
}

.busca-item-resultado img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
}

.busca-item-info {
  flex: 1;
}

.busca-item-titulo {
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 3px;
}

.busca-item-preco {
  font-size: 14px;
  font-weight: 700;
  color: var(--cor-principal);
}

/* Ações do Usuário & Carrinho */
.cabecalho-acoes {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.acao-usuario {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
}

.acao-usuario i {
  font-size: 24px;
  color: var(--cor-principal);
}

.acao-usuario-texto {
  font-size: 12px;
  line-height: 1.3;
}

.acao-usuario-texto strong {
  display: block;
  font-size: 13px;
  color: #1e293b;
}

.acao-carrinho {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 8px 16px;
  border-radius: 25px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  position: relative;
  transition: var(--transicao);
}

.acao-carrinho:hover {
  background: #fff;
  border-color: var(--cor-principal);
  box-shadow: 0 4px 12px rgba(247, 1, 1, 0.1);
}

.carrinho-icone-wrapper {
  position: relative;
}

.carrinho-icone-wrapper i {
  font-size: 22px;
  color: var(--cor-principal);
}

.carrinho-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--cor-principal);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.carrinho-info {
  font-size: 12px;
}

.carrinho-info strong {
  display: block;
  font-size: 13px;
  color: var(--cor-principal);
}

/* --- MENU PRINCIPAL DE CATEGORIAS --- */
.navegacao-menu {
  background-color: var(--cor-principal);
  color: #ffffff;
  position: relative;
  box-shadow: 0 4px 10px rgba(247, 1, 1, 0.15);
}

.menu-lista {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.menu-lista::-webkit-scrollbar {
  display: none;
}

.menu-item {
  position: relative;
  white-space: nowrap;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 15px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: background 0.2s ease;
}

.menu-link:hover, .menu-item:hover > .menu-link {
  background-color: var(--cor-principal-hover);
  color: #ffffff;
}

.menu-item.com-filho > .menu-link::after {
  content: '\f107';
  font-family: 'FontAwesome';
  font-size: 11px;
  margin-left: 4px;
}

/* Submenu Dropdown */
.submenu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  color: #1e293b;
  min-width: 260px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-top: 3px solid var(--cor-principal);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease-in-out;
  z-index: 1000;
}

.menu-item:hover .submenu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-item a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  text-transform: capitalize;
  transition: var(--transicao);
}

.submenu-item a:hover {
  background-color: #fef2f2;
  color: var(--cor-principal);
  padding-left: 24px;
}

/* Mega menu for Pré-Venda */
.submenu-mega {
  width: 620px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

/* --- BANNER PRINCIPAL / HERO SLIDER --- */
.hero-slider-section {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.hero-slider .slick-slide img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.hero-slider .slick-prev, .hero-slider .slick-next {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  z-index: 20;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: var(--transicao);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-slider .slick-prev {
  left: 25px;
}

.hero-slider .slick-next {
  right: 25px;
}

.hero-slider .slick-prev:hover, .hero-slider .slick-next:hover {
  background: var(--cor-principal);
  color: #fff;
}

.hero-slider .slick-prev::before, .hero-slider .slick-next::before {
  color: #1e293b;
  font-size: 20px;
  transition: color 0.2s;
}

.hero-slider .slick-prev:hover::before, .hero-slider .slick-next:hover::before {
  color: #ffffff;
}

.hero-slider .slick-dots {
  bottom: 15px;
}

.hero-slider .slick-dots li button::before {
  font-size: 11px;
  color: #ffffff;
  opacity: 0.6;
}

.hero-slider .slick-dots li.slick-active button::before {
  color: var(--cor-principal);
  opacity: 1;
}

/* --- TARJA DE VANTAGENS --- */
.tarja-vantagens {
  background: #ffffff;
  border-bottom: 1px solid var(--cor-borda);
  padding: 18px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.tarja-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tarja-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: var(--raio);
  transition: var(--transicao);
}

.tarja-item:hover {
  background: #f8fafc;
}

.tarja-icone {
  width: 48px;
  height: 48px;
  background: #fef2f2;
  color: var(--cor-principal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.tarja-conteudo h4 {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tarja-conteudo p {
  font-size: 12px;
  color: var(--cor-texto-mutado);
}

/* --- VITRINES E SEÇÕES DE PRODUTOS --- */
.secao-vitrine {
  padding: 40px 0;
}

.secao-cabecalho {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 12px;
}

.secao-titulo {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.secao-titulo::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--cor-principal);
  border-radius: 2px;
}

.secao-link-ver-mais {
  font-size: 13px;
  font-weight: 600;
  color: var(--cor-principal);
  display: flex;
  align-items: center;
  gap: 5px;
}

.secao-link-ver-mais:hover {
  text-decoration: underline;
}

/* GRID DE PRODUTOS */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* CARD DE PRODUTO */
.produto-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transicao);
}

.produto-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--sombra-hover);
  transform: translateY(-4px);
}

.produto-imagem-box {
  position: relative;
  padding-top: 100%;
  background: #f8fafc;
  overflow: hidden;
}

.produto-imagem-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.produto-card:hover .produto-imagem-box img {
  transform: scale(1.06);
}

.produto-selos {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 5;
}

.produto-selo {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.4px;
}

.produto-selo.pre-venda {
  background: var(--cor-principal);
  color: #ffffff;
}

.produto-selo.lancamento {
  background: #0f172a;
  color: #ffffff;
}

.produto-selo.desconto {
  background: var(--cor-verde);
  color: #ffffff;
}

.produto-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.produto-categoria {
  font-size: 11px;
  font-weight: 600;
  color: var(--cor-texto-mutado);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.produto-titulo {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 12px;
  height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.produto-titulo:hover {
  color: var(--cor-principal);
}

.produto-precos {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed #f1f5f9;
}

.produto-preco-de {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-bottom: 2px;
}

.produto-preco-por {
  font-size: 19px;
  font-weight: 800;
  color: var(--cor-principal);
}

.produto-preco-pix {
  font-size: 13px;
  font-weight: 600;
  color: var(--cor-verde);
  margin-top: 2px;
}

.produto-parcelas {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 3px;
}

.produto-acoes {
  margin-top: 14px;
  display: flex;
  gap: 8px;
}

.btn-comprar {
  flex: 1;
  background: var(--cor-principal);
  color: #ffffff;
  border: none;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transicao);
}

.btn-comprar:hover {
  background: var(--cor-principal-hover);
  box-shadow: 0 4px 12px rgba(247, 1, 1, 0.25);
}

.btn-espiar {
  width: 40px;
  height: 40px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transicao);
}

.btn-espiar:hover {
  background: #ffffff;
  color: var(--cor-principal);
  border-color: var(--cor-principal);
}

/* --- BANNER MEIO / DESTAQUE --- */
.banner-destaque-section {
  padding: 30px 0;
}

.banner-destaque-link img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--sombra-card);
  transition: transform 0.3s ease;
}

.banner-destaque-link:hover img {
  transform: scale(1.01);
}

/* --- RODAPÉ / FOOTER --- */
.rodape {
  background-color: #0f172a;
  color: #94a3b8;
  padding-top: 50px;
  margin-top: 50px;
  font-size: 13px;
}

.rodape-newsletter {
  background-color: var(--cor-principal);
  color: #ffffff;
  padding: 35px 0;
  margin-top: -50px;
  margin-bottom: 50px;
}

.newsletter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.newsletter-texto h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.newsletter-texto p {
  font-size: 13px;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 540px;
}

.newsletter-input {
  flex: 1;
  height: 44px;
  border-radius: 25px;
  border: none;
  padding: 0 20px;
  font-size: 13px;
  outline: none;
}

.newsletter-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 0 26px;
  border-radius: 25px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transicao);
}

.newsletter-btn:hover {
  background: #1e293b;
}

.rodape-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 35px;
  padding-bottom: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rodape-coluna h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.rodape-coluna h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--cor-principal);
}

.rodape-links li {
  margin-bottom: 9px;
}

.rodape-links a {
  color: #94a3b8;
}

.rodape-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.rodape-contato li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.rodape-contato i {
  color: var(--cor-principal);
  font-size: 16px;
  margin-top: 3px;
}

.rodape-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.rodape-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transicao);
}

.rodape-social a:hover {
  background: var(--cor-principal);
}

.rodape-selos-pagamento {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.rodape-selos-pagamento img {
  background: #ffffff;
  padding: 4px;
  border-radius: 4px;
  max-height: 30px;
}

.rodape-copyright {
  padding: 25px 0;
  font-size: 12px;
  text-align: center;
  color: #64748b;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-flutuante {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-green 2s infinite;
}

.whatsapp-flutuante:hover {
  transform: scale(1.1);
  color: #ffffff;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- CARRINHO GAVETA / DRAWER --- */
.carrinho-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transicao);
}

.carrinho-overlay.ativo {
  opacity: 1;
  visibility: visible;
}

.carrinho-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #ffffff;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.carrinho-drawer.ativo {
  right: 0;
}

.carrinho-cabecalho {
  padding: 18px 20px;
  border-bottom: 1px solid var(--cor-borda);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.carrinho-cabecalho h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carrinho-fechar {
  background: none;
  border: none;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
  transition: var(--transicao);
}

.carrinho-fechar:hover {
  color: var(--cor-principal);
}

.carrinho-corpo {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.carrinho-vazio {
  text-align: center;
  padding: 40px 10px;
  color: var(--cor-texto-mutado);
}

.carrinho-vazio i {
  font-size: 48px;
  color: #cbd5e1;
  margin-bottom: 15px;
}

.carrinho-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.carrinho-item-img {
  width: 65px;
  height: 65px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--cor-borda);
}

.carrinho-item-info {
  flex: 1;
}

.carrinho-item-titulo {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
  margin-bottom: 6px;
}

.carrinho-item-preco {
  font-size: 14px;
  font-weight: 700;
  color: var(--cor-principal);
  margin-bottom: 8px;
}

.carrinho-item-qtd-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qtd-btn {
  width: 26px;
  height: 26px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.qtd-valor {
  font-size: 13px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.carrinho-item-remover {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 15px;
  margin-left: auto;
  align-self: flex-start;
}

.carrinho-item-remover:hover {
  color: var(--cor-principal);
}

.carrinho-rodape {
  padding: 20px;
  border-top: 1px solid var(--cor-borda);
  background: #f8fafc;
}

.carrinho-subtotal-linha {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
  color: #475569;
}

.carrinho-total-linha {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 15px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}

.btn-finalizar-compra {
  width: 100%;
  background: var(--cor-verde);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transicao);
}

.btn-finalizar-compra:hover {
  background: var(--cor-verde-hover);
}

.btn-continuar-comprando {
  width: 100%;
  background: none;
  border: none;
  padding: 10px;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  margin-top: 6px;
  text-align: center;
}

.btn-continuar-comprando:hover {
  color: var(--cor-principal);
  text-decoration: underline;
}

/* --- MODAL ESPIAR / QUICK VIEW --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transicao);
}

.modal-overlay.ativo {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border-radius: 14px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  padding: 30px;
}

.modal-fechar {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 18px;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transicao);
}

.modal-fechar:hover {
  background: var(--cor-principal);
  color: #fff;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.modal-imagem-box img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--cor-borda);
}

.modal-info-box h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.modal-precos {
  margin: 15px 0;
  padding: 14px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.modal-preco-antigo {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
}

.modal-preco-atual {
  font-size: 26px;
  font-weight: 800;
  color: var(--cor-principal);
}

.modal-preco-pix {
  font-size: 15px;
  font-weight: 700;
  color: var(--cor-verde);
  margin-top: 4px;
}

.modal-parcelas {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

.modal-qtd-acao {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 20px;
}

.modal-qtd-input {
  width: 70px;
  height: 46px;
  text-align: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
}

.modal-btn-comprar {
  flex: 1;
  height: 46px;
  background: var(--cor-principal);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transicao);
}

.modal-btn-comprar:hover {
  background: var(--cor-principal-hover);
}

/* --- TOAST NOTIFICAÇÃO --- */
.toast-notificacao {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 10060;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notificacao.ativo {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-notificacao i {
  color: #22c55e;
  font-size: 16px;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
  .produtos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tarja-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rodape-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .barra-inicial {
    display: none;
  }
  .cabecalho-principal .conteiner {
    flex-wrap: wrap;
  }
  .logo-area img {
    max-height: 50px;
  }
  .busca-area {
    order: 3;
    max-width: 100%;
    margin-top: 10px;
  }
  .produtos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .modal-grid {
    grid-template-columns: 1fr;
  }
  .tarja-grid {
    grid-template-columns: 1fr;
  }
  .rodape-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   RESPONSIVIDADE: CARRINHO E CHECKOUT (COMPATIBILIDADE 100% MOBILE & DESKTOP)
   ========================================================================== */

/* --- CARRINHO PAGE LAYOUT --- */
.cart-page-layout {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.cart-items-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s;
}

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

.cart-item-thumb {
  width: 75px;
  height: 75px;
  min-width: 75px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.cart-item-title:hover {
  color: #f70101;
}

.cart-item-unit-price {
  font-size: 14px;
  font-weight: 700;
  color: #f70101;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
}

.cart-item-qty-stepper .qtd-btn {
  width: 34px;
  height: 34px;
  background: #f1f5f9;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.cart-item-qty-stepper .qtd-btn:active {
  background: #e2e8f0;
}

.cart-item-qty-stepper .qtd-valor {
  width: 34px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.cart-item-subtotal {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  min-width: 90px;
  text-align: right;
}

.cart-item-remove-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 8px;
  font-size: 16px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.cart-item-remove-btn:hover {
  color: #ef4444;
  background: #fee2e2;
}

/* Sidebar Resumo do Carrinho */
.cart-summary-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cart-summary-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: #475569;
}

.cart-summary-row.pix-row {
  color: #16a34a;
  font-weight: 600;
}

.cart-summary-total-card {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #e2e8f0;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.cart-summary-total-pix {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 6px;
  font-size: 19px;
  font-weight: 800;
  color: #16a34a;
  background: #f0fdf4;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px dashed #86efac;
}

/* Frete no Carrinho */
.cart-shipping-calculator {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.cart-shipping-title {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-shipping-form {
  display: flex;
  gap: 8px;
}

.cart-shipping-input {
  flex: 1;
  height: 42px;
  padding: 0 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
}

.cart-shipping-btn {
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* --- CHECKOUT SIMULATOR RESPONSIVE ARCHITECTURE --- */
/* --- CHECKOUT SIMULATOR RESPONSIVE ARCHITECTURE --- */
.checkout-main-wrap {
  width: 100%;
  max-width: 100%;
  padding: 15px 0 60px;
  box-sizing: border-box;
  overflow-x: hidden;
}

.checkout-grid-layout {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr;
  gap: 25px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.checkout-grid-layout > div {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Checkout Step Cards */
.checkout-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.checkout-card-header {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-badge {
  width: 28px;
  height: 28px;
  background: #f70101;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Form Groups & Inputs */
.form-group {
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}

.form-group-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}

.form-control-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-size: 16px; /* Prevents iOS Safari auto-zoom! */
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.form-control-input:focus {
  border-color: #f70101;
  box-shadow: 0 0 0 3px rgba(247, 1, 1, 0.12);
}

.form-control-input::placeholder {
  color: #94a3b8;
  font-size: 14px;
}

/* Grids for inputs */
.grid-cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
}

.grid-cols-cep-rua {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
}

.grid-cols-num-bairro-cidade {
  display: grid;
  grid-template-columns: 110px 1fr 1.2fr;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
}

/* Forma de Pagamento Selector */
.payment-tabs-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.payment-tab-card {
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  padding: 16px 14px;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  user-select: none;
  box-sizing: border-box;
}

.payment-tab-card:hover {
  border-color: #94a3b8;
}

.payment-tab-card.active-pix {
  border-color: #16a34a;
  background: #f0fdf4;
}

.payment-tab-card.active-card {
  border-color: #f70101;
  background: #fff5f5;
}

.payment-tab-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14.5px;
}

.payment-tab-card.active-pix .payment-tab-radio {
  color: #15803d;
}

.payment-tab-card.active-card .payment-tab-radio {
  color: #991b1b;
}

.payment-badge-discount {
  background: #22c55e;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
  margin-top: 6px;
}

.payment-badge-installments {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  align-self: flex-start;
  margin-top: 6px;
}

/* Payment Box: PIX */
.payment-box-pix {
  background: #f8fafc;
  border: 1.5px dashed #22c55e;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.payment-box-pix-icon {
  font-size: 40px;
  color: #16a34a;
  margin-bottom: 8px;
}

.payment-box-pix-title {
  font-size: 15px;
  font-weight: 800;
  color: #166534;
  margin-bottom: 6px;
}

.payment-box-pix-desc {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.4;
  max-width: 420px;
  margin: 0 auto;
}

/* Payment Box: Cartão */
.payment-box-card {
  display: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Big Checkout CTA Button */
.btn-checkout-primary {
  width: 100%;
  height: 54px;
  background: #16a34a;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
  margin-top: 24px;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

.btn-checkout-primary:hover {
  background: #15803d;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45);
}

.btn-checkout-primary:active {
  transform: scale(0.98);
}

/* Checkout Sidebar Resumo */
.checkout-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  position: sticky;
  top: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.checkout-sidebar-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
}

.checkout-items-scroll {
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: 16px;
  padding-right: 2px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.checkout-mini-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.checkout-mini-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.checkout-mini-thumb {
  width: 48px;
  height: 48px;
  min-width: 48px;
  max-width: 48px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  background: #f8fafc;
}

.checkout-mini-info {
  flex: 1 1 0%;
  min-width: 0;
  width: 0;
  overflow: hidden;
}

.checkout-mini-title {
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
  font-size: 12.5px;
  white-space: normal !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
  margin-bottom: 2px;
}

.checkout-mini-qty {
  color: #64748b;
  font-size: 11.5px;
  white-space: nowrap;
}

.checkout-mini-subtotal {
  font-weight: 700;
  color: #0f172a;
  font-size: 13.5px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 6px;
  text-align: right;
}

.checkout-trust-badges {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
}

.checkout-trust-item i {
  color: #16a34a;
  font-size: 14px;
}

/* PIX Screen (Pedido Concluído) */
.checkout-success-container {
  max-width: 650px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 35px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.checkout-success-icon {
  width: 65px;
  height: 65px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}

.checkout-success-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.checkout-success-desc {
  font-size: 13.5px;
  color: #64748b;
  margin-bottom: 24px;
}

.pix-qr-box {
  background: #f8fafc;
  border: 2px dashed #22c55e;
  border-radius: 12px;
  padding: 24px 18px;
  margin-bottom: 24px;
}

.pix-qr-img {
  max-width: 210px;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  margin: 0 auto 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  display: block;
  background: #fff;
  padding: 6px;
}

.pix-total-highlight {
  font-size: 22px;
  font-weight: 800;
  color: #16a34a;
  margin-bottom: 12px;
}

.pix-copy-wrapper {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto 16px;
}

.pix-copy-input {
  flex: 1;
  height: 46px;
  padding: 0 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  background: #ffffff;
  color: #334155;
  outline: none;
}

.btn-pix-copy {
  background: #16a34a;
  color: #ffffff;
  border: none;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background 0.15s;
}

.btn-pix-copy:hover {
  background: #15803d;
}

.pix-tutorial-box {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 14px 16px;
  text-align: left;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 18px;
}

.pix-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef9c3;
  color: #854d0e;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   MEDIA QUERIES (MOBILE BREAKPOINTS: 960px, 640px, 480px, 360px)
   ========================================================================== */

/* --- TABLET & BELOW (<= 960px) --- */
@media (max-width: 960px) {
  .cart-page-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .checkout-grid-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
    width: 100%;
    max-width: 100%;
  }

  .checkout-sidebar-card {
    position: static;
    padding: 16px 14px;
    border-radius: 10px;
    margin-bottom: 0;
  }
}

/* --- MOBILE PHONES (<= 640px) --- */
@media (max-width: 640px) {
  /* Cart Page Mobile */
  .cart-item-row {
    flex-wrap: wrap;
    padding: 12px 10px;
    gap: 10px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
  }

  .cart-item-thumb {
    width: 60px;
    height: 60px;
    min-width: 60px;
    max-width: 60px;
  }

  .cart-item-info {
    flex: 1 1 calc(100% - 75px);
    min-width: 0;
    width: 0;
  }

  .cart-item-title {
    font-size: 13px;
    line-height: 1.3;
    white-space: normal !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }

  .cart-item-controls {
    width: 100%;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px dashed #f1f5f9;
    margin-top: 4px;
  }

  .cart-item-subtotal {
    min-width: auto;
    font-size: 14.5px;
  }

  .cart-summary-box {
    padding: 16px 12px;
  }

  /* Checkout Mobile */
  .checkout-main-wrap {
    padding: 0 0 35px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .checkout-card {
    padding: 16px 12px;
    border-radius: 10px;
    margin-bottom: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .checkout-sidebar-card {
    padding: 14px 12px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .checkout-sidebar-title {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .checkout-mini-item {
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .checkout-mini-thumb {
    width: 44px;
    height: 44px;
    min-width: 44px;
    max-width: 44px;
  }

  .checkout-mini-info {
    flex: 1 1 0%;
    min-width: 0;
    width: 0;
    overflow: hidden;
  }

  .checkout-mini-title {
    font-size: 12px;
    line-height: 1.25;
    white-space: normal !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .checkout-mini-qty {
    font-size: 11px;
  }

  .checkout-mini-subtotal {
    font-size: 13px;
    padding-left: 4px;
    margin-left: auto;
  }

  /* Stack form grids to 1 column on mobile */
  .grid-cols-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .grid-cols-cep-rua {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .grid-cols-num-bairro-cidade {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .grid-cols-num-bairro-cidade .form-group:last-child {
    grid-column: span 2;
  }

  /* Payment selector */
  .payment-tabs-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .payment-tab-card {
    padding: 12px 14px;
  }

  /* Checkout Button */
  .btn-checkout-primary {
    height: 50px;
    font-size: 14.5px;
  }

  /* Success Screen Mobile */
  .checkout-success-container {
    padding: 22px 12px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .checkout-success-title {
    font-size: 18px;
  }

  .pix-qr-box {
    padding: 16px 10px;
  }

  .pix-copy-wrapper {
    flex-direction: column;
  }

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

  .pix-total-highlight {
    font-size: 19px;
  }
}

/* --- SMALL MOBILE (<= 380px: iPhone SE, small screens) --- */
@media (max-width: 380px) {
  .checkout-card {
    padding: 12px 8px;
  }

  .checkout-sidebar-card {
    padding: 12px 8px;
  }

  .checkout-mini-thumb {
    width: 40px;
    height: 40px;
    min-width: 40px;
    max-width: 40px;
  }

  .checkout-mini-subtotal {
    font-size: 12px;
  }

  .cart-item-thumb {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

  .grid-cols-num-bairro-cidade {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .grid-cols-num-bairro-cidade .form-group:last-child {
    grid-column: span 1;
  }
}

/* --- CARRINHO DRAWER MOBILE PERFECTION --- */
@media (max-width: 480px) {
  .carrinho-drawer {
    width: 100vw;
    max-width: 100vw;
    right: -100vw;
  }
  
  .carrinho-cabecalho {
    padding: 15px 16px;
  }

  .carrinho-corpo {
    padding: 14px 16px;
  }

  .carrinho-rodape {
    padding: 16px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
}
