/* ================= BRAND TOKENS ================= */
:root{
  --brand: #0070bc;          /* cor do logo */
  --brand-dark: #005a96;     /* hover/ativo */
  --brand-darker: #004a7b;   /* foco/contraste */
  --brand-light: #e6f2fb;    /* chips/superfícies leves */
  --brand-soft: #cfe7fb;     /* bordas leves */
  --bg-page: #eef1f5;
  --text: #0f172a;
  --text-muted: #4b5563;
  --card: #ffffff;
  --border: #e2e8f0;
}

/* ===== Body e Fundo Principal ===== */
body { background-color: var(--bg-page); font-family: "Poppins", sans-serif; }
.bg-color { background-color: var(--bg-page); }

/* Topo com aviso de frete grátis */
.top-bar{ background-color: var(--brand); color:#fff; font-size:.85rem; padding:10px; }
.top-bar button{ border-color:#fff; color:#fff; }

/* Navbar */
.top-nav{ background-color: var(--brand); }
.navbar-brand img{ height:60px; }
.navbar-brand span{ font-weight:700; color:#0070bc ; } /* marca branca na barra */

.nav-link{
  color:#005a96 ; text-decoration:none; display:flex; flex-direction:column; align-items:center; justify-content:center;
  font-size:1.1rem; padding:0 10px;
}
.nav-link small{ font-size:.9rem; margin-top:4px; color:#005a96 ; }

/* Dropdown */
.dropdown-menu{
  min-width:220px; padding:10px; border-radius:8px; box-shadow:0 4px 8px rgba(0,0,0,.1);
}
.dropdown-menu .dropdown-item{ font-size:.9rem; }
.dropdown-menu .btn{ font-size:1rem; }

.fa-shopping-cart,.fa-phone,.fa-box,.fa-user-circle{ font-size:1.5rem; display:flex; align-items:center; justify-content:center; color:#005a96 ; }

@media (max-width:768px){
  .dropdown-menu{ left:50%!important; transform:translateX(-50%)!important; width:auto; }
}

/* ===================== HERO FULL WIDTH ===================== */
.hero-wrap{
  position:relative; overflow:hidden; padding:64px 0 48px;
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(255,255,255,.25) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 45%, var(--brand-darker) 100%);
  color:#fff;
}
@media (min-width:992px){ .hero-wrap{ padding:84px 0 72px; } }
.hero-overlay{ position:absolute; inset:0; pointer-events:none; background: radial-gradient(60% 60% at 80% 20%, rgba(255,255,255,.25) 0%, rgba(255,255,255,0) 70%); }
.hero-inner{ position:relative; z-index:2; }

.hero-kicker{
  display:inline-block; font-size:.9rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  padding:6px 10px; border-radius:999px; background: rgba(255,255,255,.16); backdrop-filter: blur(2px);
}
.hero-title{ margin-top:12px; font-weight:800; line-height:1.1; font-size:clamp(1.9rem, 4vw, 3rem); }
.hero-subtitle{ margin-top:10px; font-size:1.05rem; color:#eaf2ff; max-width:640px; }

.hero-bullets{ list-style:none; padding:0; margin:18px 0 0 0; display:flex; flex-wrap:wrap; gap:12px 18px; }
.hero-bullets li{
  display:flex; align-items:center; gap:8px; background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2); border-radius:999px; padding:8px 12px; font-weight:600;
}
.hero-bullets i{ color:#fffb; }

.hero-cta .btn{ border-radius:12px; box-shadow:0 10px 24px rgba(0,0,0,.15); }
.hero-cta .btn-outline-light{ background:transparent; border-width:2px; color:#fff; }
.hero-cta .btn-outline-light:hover{ background:rgba(255,255,255,.15); }

.hero-trust .badge{ border-radius:10px; font-weight:700; padding:8px 10px; }

.hero-card{ background:#fff; border-radius:18px; overflow:hidden; }
.hero-card-head{
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  color:#fff; font-weight:800; letter-spacing:.02em; padding:10px 16px; text-transform:uppercase;
}
.hero-card-body{ padding:16px; }
.hero-card-title{ font-weight:800; color:var(--text); margin-bottom:6px; }
.hero-price{ display:flex; align-items:flex-end; line-height:1; justify-content:flex-start; }
.hero-currency{ font-size:1.2rem; font-weight:800; color:var(--text); margin-right:4px; }
.hero-int{ font-size:clamp(2.6rem,4vw,3.2rem); font-weight:900; color:var(--text); letter-spacing:-.02em; }
.hero-dec{ font-size:clamp(1.1rem,2vw,1.5rem); font-weight:800; color:var(--text); margin-left:0; }
.hero-note{ font-size:.95rem; color:#475569; margin-top:6px; }
.hero-bottom-wave{ position:absolute; left:0; right:0; bottom:-1px; height:18px; background:linear-gradient(180deg, rgba(0,0,0,0) 0%, #ffffff 100%); z-index:1; }

.hero-wrap .btn-primary{ background:var(--brand); border-color:var(--brand); box-shadow:0 10px 20px rgba(0,112,188,.32); }
.hero-wrap .btn-primary:hover{ background:var(--brand-dark); border-color:var(--brand-dark); box-shadow:0 12px 26px rgba(0,112,188,.45); }

/* ===== Carrossel ===== */
.carousel-inner img{ border-radius:10px; box-shadow:0 4px 8px rgba(0,0,0,.2); }

/* ===== Produtos (Cards) ===== */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 14px;
}

/* ↑ AUMENTAMOS a área e a imagem */
.product-card .product-media {
  height: 480;               /* antes: 160px */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9fc;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  padding: 8px;
}
.product-card .product-img {
  max-height: 460px;           /* antes: 130px */
  width: auto;
  object-fit: contain;
}

/* responsivo: reduz um pouco no mobile para caber melhor */
@media (max-width: 768px) {
  .product-card .product-media { height: 180px; }
  .product-card .product-img { max-height: 160px; }
}

.product-card .card-body {
  display: flex;
  flex-direction: column;
  padding: 16px 16px 18px;
}

/* Título com altura mínima para não “quebrar” o layout */
.product-card .card-title {
  min-height: 58px;            /* ~2 linhas, levemente maior */
  line-height: 1.25;
  font-weight: 700;
}

/* Badge enorme e chamativa para o valor unitário */
.unit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .2px;
  color: #0b5ed7;
  background: #eaf3ff;
  border: 2px solid #cfe3ff;
  box-shadow: 0 2px 0 rgba(11,94,215,.12);
}

/* Bloco de preços com altura mínima para igualar todos */
.price-block {
  background: #f3f6fb;
  border: 1px solid #e7edf7;
  border-radius: 12px;
  padding: 14px 12px;
  min-height: 106px;
}
.price-block .price-line {
  margin-top: 8px;
  font-size: .98rem;
  font-weight: 700;
  color: #111827;
}
.price-block .price-note {
  font-size: .85rem;
  color: #6b7280;
  margin-top: 2px;
}

/* Ribbon */
.ribbon span { font-weight: 700; }

/* Ajustes no item do carrossel para ocupar a altura toda */
.owl-carousel .item { height: 100%; }

/* ====== TODOS OS PRODUTOS (corrige corte das imagens) ====== */
#todos-produtos .card-all-products{
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
#todos-produtos .card-all-products:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

/* Área da imagem: altura fixa, centralizada, sem recorte */
#todos-produtos .ap-media{
  background: radial-gradient(120% 120% at 50% 0%, #f2f6ff 0%, #ffffff 60%);
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
#todos-produtos .ap-img{
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* Bloco de preço (mantém o que já estava) */
#todos-produtos .ap-price-block{
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
}
#todos-produtos .ap-chip{
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-light);
  border: 1px solid var(--brand-soft);
  border-radius: 999px;
  padding: 4px 10px;
  letter-spacing: .3px;
  margin-bottom: 6px;
}
#todos-produtos .ap-price-line{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  line-height:1;
}
#todos-produtos .ap-currency{ font-size: 1.1rem; font-weight: 800; color: var(--text); margin-right: 4px; }
#todos-produtos .ap-price-int{ font-size: clamp(2.6rem, 4.5vw, 3.4rem); font-weight: 900; letter-spacing: -0.02em; color: var(--text); text-shadow: 0 1px 0 rgba(255,255,255,.6); }
#todos-produtos .ap-price-dec{ font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 800; color: var(--text); margin-left:0; }
#todos-produtos .ap-note{ font-size: .85rem; color: #64748b; margin-top: 4px; }

.price-note{ font-size:.9rem; margin-top:6px; color:#64748b!important; }
.product-card:hover .price-block{ box-shadow:0 8px 22px rgba(15,23,42,.08); }

.card-text{ max-height:100px; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-box-orient:vertical; }
.descricao-limitada{ display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; text-overflow:ellipsis; max-height:calc(1.2em * 4); line-height:1.2em; }

.card-price-original{ font-size:.9rem; color:#888; text-decoration:line-through; }
.card-price-discount{ font-size:1.5rem; color:#d9534f; font-weight:bold; }
.card-price-wrapper{ margin-top:15px; }

/* ===== Botões ===== */
.btn-primary{ background-color:var(--brand); border-color:var(--brand); }
.btn-primary:hover{ background-color:var(--brand-dark); border-color:var(--brand-dark); }

.btn-padrao{ background-color:var(--brand); border-color:var(--brand); color:#fff; }
.btn-padrao:hover{ background-color:var(--brand-darker); border-color:var(--brand-darker); transform:scale(1.03); transition:transform .3s ease; }

/* ===== Conteúdo Principal ===== */
.main-content{ background-color:var(--card); border-radius:10px; padding:20px; box-shadow:0 4px 8px rgba(0,0,0,.1); }

/* ===== Footer ===== */
.footer{ background-color:#f8f9fa; color:#333; font-size:.9rem; }
.footer h5{ color:var(--brand); font-weight:bold; }
.footer a{ color:#333; text-decoration:none; }
.footer a:hover{ text-decoration:underline; }
.footer hr{ border-color:#ddd; }
.footer .fab{ font-size:1.5rem; margin-right:15px; color:var(--brand); transition:color .3s; }
.footer .fab:hover{ color:var(--brand-dark); }
.footer .fab, .footer .fas{ font-size:1.5rem; margin-right:10px; color:#333; opacity:.8; transition:opacity .3s; }
.footer .fab:hover, .footer .fas:hover{ opacity:1; }

/* ===== Overlay e Spinner ===== */
.overlay{
  position:fixed; top:0; left:0; width:100%; height:100%; background-color:rgba(0,0,0,.5);
  display:flex; justify-content:center; align-items:center; z-index:19999; visibility:hidden; opacity:0; transition:opacity .3s ease;
}
.overlay.active{ visibility:visible; opacity:1; }
.spinner{ width:56px; height:56px; display:grid; animation:spinner-plncf9 4s infinite; }
.spinner::before,.spinner::after{
  content:""; grid-area:1/1; border:9px solid; border-radius:50%;
  border-color: var(--brand-dark) var(--brand-dark) transparent transparent; mix-blend-mode:darken; animation:spinner-plncf9 1s infinite linear;
}
.spinner::after{ border-color:transparent transparent var(--brand) var(--brand); animation-direction:reverse; }
@keyframes spinner-plncf9{ 100%{ transform:rotate(1turn); } }

/* ===== FAQ ===== */
#duvidas .faq-card{
  border:1px solid #e6ebf2; border-radius:16px; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
#duvidas .faq-card:hover{ transform:translateY(-4px); border-color:var(--brand-soft); box-shadow:0 14px 28px rgba(0,112,188,.12); }
#duvidas .faq-icon i{ font-size:1.6rem; color:var(--brand); background:var(--brand-light); border-radius:12px; padding:8px 10px; }
#duvidas .faq-title{ font-weight:800; color:var(--brand-dark); margin-bottom:.5rem; }
#duvidas .faq-text{ color:var(--text-muted); margin:0; line-height:1.6; font-size:.95rem; }

/* Container máximo */
.container{ max-width:1260px; }

/* Títulos gerais */
h2{ font-family:'Raleway', sans-serif; color:#333; font-weight:700; }

/* Cart dropdown e carrinho (cores mantidas) */
.cart-item{ background-color:#f8f9fa; border-radius:8px; }
.cart-item-image{ width:100px; border-radius:8px; }
.cart-item-info h5{ font-weight:bold; color:#333; }
.cart-item-info p{ font-size:.9rem; }
.cart-item-info label{ font-weight:500; font-size:.85rem; }

#cart-dropdown{ min-width:320px; padding:15px; }
#cart-dropdown .dropdown-item{ padding:10px 0; border-bottom:1px solid #f1f1f1; }
#cart-dropdown .item-details{ display:flex; align-items:center; justify-content:space-between; padding:5px 0; }
#cart-dropdown .item-controls{ display:flex; align-items:center; gap:5px; margin-top:5px; }
#cart-dropdown .item-name{ font-size:1rem; font-weight:bold; margin-bottom:5px; }
#cart-dropdown .item-price-quantity{ font-size:.9rem; color:#666; }
#cart-dropdown .total-amount{ font-size:1.1rem; font-weight:bold; }

#cart-dropdown .btn-outline-secondary, #cart-dropdown .btn-outline-danger{ font-size:.8rem; padding:4px 8px; }

.input-group button{ border-radius:0; }
.input-group input{ max-width:50px; }

#coupon{ max-width:150px; }
.btn-outline-success{ border-color:#28a745; color:#28a745; }
.btn-outline-success:hover{ background-color:#28a745; color:#fff; }

.text-muted a{ color:#333; text-decoration:underline; }
.text-muted a:hover{ color:var(--brand); }

.login-container{
  max-width:400px; margin:50px auto; padding:20px; border-radius:8px; background:#fff; box-shadow:0 4px 8px rgba(0,0,0,.1); text-align:center;
}
.login-container h2{ font-size:1.25rem; margin-bottom:20px; color:#333; }
.login-container a{ color:#4285f4; text-decoration:none; font-size:.9rem; }
.login-container a:hover{ text-decoration:underline; }

.formas{ border:1px solid #dadada; border-radius:8px; padding:10px; }
.product-main-image{ width:100%; }
.product-thumbnails img{ width:20%; margin-right:5px; }

.btn-full{ width:100%; padding-top:15px; padding-bottom:15px; font-size:1.2rem; }
.btn-full2{ width:100%; }

.frete-card{ background:#f9f9f9; border:1px solid #ddd; border-radius:8px; padding:1.5rem; text-align:center; width:100%; margin-bottom:10px; }
.frete-card .frete-logo img{ width:80px; height:auto; margin-bottom:1rem; }
.frete-card p{ margin:.5rem 0; font-size:1rem; color:#333; }

.text-justify{ text-align:justify; padding:15px; }

/* Modal & dropdown fixes */
.modal-dialog-centered{ display:flex; align-items:center; justify-content:center; min-height:100vh; }
.table-payment-type{ background:#f8f9fa; font-size:1rem; color:#333; padding:10px; border-top:2px solid #ddd; text-align:center; }
.modal-content{ border-radius:10px; padding:20px; }

.dropdown-menu .dropdown-item:active,
.dropdown-menu .btn:active,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .btn:focus{ background-color:transparent!important; color:inherit!important; }

.card-envio{ margin-top:15px; background-color:var(--bg-page); padding:10px; border:1px solid #ddd; border-radius:10px; }

/* ===== Responsivo ===== */
@media (max-width:768px){
  .navbar-brand img{ height:50px; }
  .nav-link{ font-size:.85rem; margin:5px 0; }
  .dropdown-menu{ font-size:.9rem; }
  #cart-badge{ font-size:.75rem; }
  .navbar-toggler{ border:none; }
}
@media (max-width:576px){ .dropdown-menu{ text-align:center; } }

/* Tabelas empilhadas no mobile */
@media (max-width:768px){
  .table-stack{ display:block; }
  .table-stack thead{ display:none; }
  .table-stack tbody tr{
    display:flex; flex-direction:column; border:1px solid #ddd; border-radius:8px; margin-bottom:10px; padding:10px;
  }
  .table-stack tbody tr td{ display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid:#eee; }
  .table-stack tbody tr td:last-child{ border-bottom:none; }
  .table-stack tbody tr td::before{ content:attr(data-label); font-weight:bold; margin-right:10px; }
}

/* Ícone WhatsApp flutuante */
.whatsapp-button{
  position:fixed; bottom:30px; right:30px; width:60px; height:60px; background-color:#25D366; border-radius:50%;
  display:flex; justify-content:center; align-items:center; box-shadow:0 4px 8px rgba(0,0,0,.5); z-index:1000; transition:transform .3s ease;
}
.whatsapp-button:hover{ transform:scale(1.3); }
.whatsapp-logo{ width:35px; height:35px; filter:drop-shadow(0 1px 2px rgba(0,0,0,.3)); }

/* Cards produtos com sombra mais presente */
.produtos{ box-shadow:0 6px 10px rgba(0,0,0,.15); }
.produtos:hover{ transform:scale(1.05); transition:transform .3s ease; }
