:root {
  --verde-saude: #1E7F5C;
  --azul-cuidado: #4FA3C7;
  --azul-profundo: #0F2A3D;
  --verde-claro: #7BC7A4;
  --cinza-texto: #6B7280;
  --cinza-claro: #F3F4F6;
  --branco: #FFFFFF;
  --sombra: 0 4px 24px rgba(15, 42, 61, 0.10);
  --sombra-hover: 0 8px 32px rgba(15, 42, 61, 0.16);
  --raio: 12px;
  --raio-sm: 8px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transicao: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--azul-profundo);
  background: #FAFBFC;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transicao); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== HEADER ===== */
.topbar {
  background: var(--azul-profundo);
  color: var(--verde-claro);
  font-size: 0.82rem;
  padding: 6px 0;
}
.topbar a { color: var(--verde-claro); }
.topbar a:hover { color: var(--branco); }

.product-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-title-link:hover {
    color: #1E7F5C;
    text-decoration: none;
}

.navbar-main {
  background: var(--branco);
  box-shadow: 0 2px 16px rgba(15,42,61,0.06);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.navbar-main .navbar-brand img { height: 48px; width: auto; }
.nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--azul-profundo) !important;
  padding: 8px 14px !important;
  border-radius: var(--raio-sm);
}
.nav-link:hover, .nav-link.active {
  background: rgba(30,127,92,0.08);
  color: var(--verde-saude) !important;
}

.btn-primario {
  background: var(--verde-saude);
  color: var(--branco);
  border: none;
  padding: 10px 22px;
  border-radius: var(--raio-sm);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transicao);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-primario:hover {
  background: #16664a;
  transform: translateY(-2px);
  box-shadow: var(--sombra-hover);
  color: var(--branco);
}
.btn-secundario {
  background: transparent;
  color: var(--verde-saude);
  border: 2px solid var(--verde-saude);
  padding: 9px 20px;
  border-radius: var(--raio-sm);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transicao);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-secundario:hover {
  background: var(--verde-saude);
  color: var(--branco);
}

.btn-azul {
  background: var(--azul-cuidado);
  color: var(--branco);
  border: none;
  padding: 10px 22px;
  border-radius: var(--raio-sm);
  font-weight: 600;
  transition: var(--transicao);
  cursor: pointer;
}
.btn-azul:hover { background: #3a8db0; color: var(--branco); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-actions .icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--cinza-claro);
  color: var(--azul-profundo);
  transition: var(--transicao);
  border: none;
  cursor: pointer;
}
.header-actions .icon-btn:hover {
  background: var(--verde-saude);
  color: var(--branco);
}
.badge-cart {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--verde-saude);
  color: var(--branco);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--azul-profundo) 0%, #1a3d52 50%, var(--verde-saude) 100%);
  color: var(--branco);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--verde-claro); }
.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
}
.hero-stats .stat h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--verde-claro);
  margin-bottom: 4px;
}
.hero-stats .stat p {
  font-size: 0.82rem;
  opacity: 0.75;
  margin: 0;
}
.hero-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--raio);
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  background: linear-gradient(145deg, var(--verde-claro), var(--azul-cuidado));
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--branco);
}

/* ===== SECTIONS ===== */
.section { padding: 64px 0; }
.section-title {
  text-align: center;
  margin-bottom: 44px;
}
.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--azul-profundo);
  margin-bottom: 10px;
}
.section-title p {
  color: var(--cinza-texto);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}
.section-bg { background: var(--cinza-claro); }

/* ===== SEARCH ===== */
.search-section {
  background: var(--branco);
  padding: 40px 0;
  border-bottom: 1px solid #E5E7EB;
}
.search-box {
  display: flex;
  gap: 10px;
  background: var(--cinza-claro);
  padding: 8px;
  border-radius: var(--raio);
}
.search-box input, .search-box select {
  border: none;
  background: var(--branco);
  padding: 12px 16px;
  border-radius: var(--raio-sm);
  font-size: 0.95rem;
  color: var(--azul-profundo);
  outline: none;
  flex: 1;
}
.search-box button {
  background: var(--verde-saude);
  color: var(--branco);
  border: none;
  padding: 12px 28px;
  border-radius: var(--raio-sm);
  font-weight: 600;
  transition: var(--transicao);
  cursor: pointer;
}
.search-box button:hover { background: #16664a; }

/* ===== CATEGORY CARDS ===== */
.cat-card {
  background: var(--branco);
  border-radius: var(--raio);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--sombra);
  transition: var(--transicao);
  border: 1px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-hover);
  border-color: var(--verde-claro);
}
.cat-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, rgba(30,127,92,0.1), rgba(79,163,199,0.1));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--verde-saude);
  margin-bottom: 14px;
  transition: var(--transicao);
}
.cat-card:hover .cat-icon {
  background: var(--verde-saude);
  color: var(--branco);
  transform: scale(1.08);
}
.cat-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--azul-profundo);
  margin-bottom: 6px;
}
.cat-card p {
  font-size: 0.82rem;
  color: var(--cinza-texto);
  margin: 0;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
  background: var(--branco);
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: var(--transicao);
  border: 1px solid #E5E7EB;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-hover);
  border-color: var(--verde-claro);
}
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--verde-saude);
  color: var(--branco);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}
.product-badge.promo { background: #DC2626; }
.product-img {
  height: 200px;
  background: linear-gradient(135deg, #f0fdf4, #e0f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-actions-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,42,61,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: var(--transicao);
}
.product-card:hover .product-actions-overlay { opacity: 1; }
.product-actions-overlay button {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--branco);
  color: var(--azul-profundo);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transicao);
  cursor: pointer;
}
.product-actions-overlay button:hover {
  background: var(--verde-saude);
  color: var(--branco);
}
.product-info { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-brand {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--verde-saude);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}
.product-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--azul-profundo);
  line-height: 1.35;
  margin-bottom: 8px;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.product-rating i { color: #FBBF24; font-size: 0.78rem; }
.product-rating span { font-size: 0.75rem; color: var(--cinza-texto); }
.product-price {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.price-current {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--verde-saude);
}
.price-old {
  font-size: 0.85rem;
  color: var(--cinza-texto);
  text-decoration: line-through;
}
.product-footer {
  padding: 0 18px 18px;
}
.product-qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.qty-inline {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #D1D5DB;
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
}
.qty-inline button {
  width: 28px; height: 28px;
  border: none;
  background: var(--cinza-claro);
  color: var(--azul-profundo);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.qty-inline button:hover { background: #E5E7EB; }
.qty-inline input {
  width: 36px; height: 28px;
  border: none;
  border-left: 1.5px solid #D1D5DB;
  border-right: 1.5px solid #D1D5DB;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--azul-profundo);
  outline: none;
}
.product-footer .btn-add-cart {
  width: 100%;
  background: var(--verde-saude);
  color: var(--branco);
  border: none;
  padding: 11px;
  border-radius: var(--raio-sm);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transicao);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.product-footer .btn-add-cart:hover {
  background: #16664a;
}

/* ===== FILTERS ===== */
.filter-sidebar {
  background: var(--branco);
  border-radius: var(--raio);
  padding: 22px;
  box-shadow: var(--sombra);
  border: 1px solid #E5E7EB;
  position: sticky;
  top: 90px;
}
.filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--azul-profundo);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cinza-claro);
}
.filter-group { margin-bottom: 20px; }
.filter-group h6 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--azul-profundo);
  margin-bottom: 10px;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--cinza-texto);
  transition: var(--transicao);
}
.filter-check:hover { color: var(--verde-saude); }
.filter-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--verde-saude);
  cursor: pointer;
}

/* ===== CART SLIDE ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 42, 61, 0.5);
  z-index: 1060;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cart-slide {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background: var(--branco);
  z-index: 1070;
  box-shadow: -8px 0 32px rgba(15,42,61,0.15);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.cart-slide.open {
  transform: translateX(0);
}
.cart-slide-header {
  padding: 20px 24px;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-slide-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--azul-profundo);
  margin: 0;
}
.cart-slide-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--cinza-texto);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transicao);
}
.cart-slide-close:hover {
  background: var(--cinza-claro);
  color: var(--azul-profundo);
}
.cart-slide-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-slide-footer {
  padding: 20px 24px;
  border-top: 1px solid #E5E7EB;
  background: #FAFBFC;
}
.cart-slide-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #F3F4F6;
}
.cart-slide-item-img {
  width: 56px;
  height: 56px;
  background: var(--cinza-claro);
  border-radius: var(--raio-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.cart-slide-item-info {
  flex: 1;
}
.cart-slide-item-info h6 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--azul-profundo);
  margin-bottom: 2px;
}
.cart-slide-item-info p {
  font-size: 0.75rem;
  color: var(--cinza-texto);
  margin-bottom: 6px;
}
.cart-slide-item-price {
  font-weight: 700;
  color: var(--verde-saude);
  font-size: 0.92rem;
  text-align: right;
  white-space: nowrap;
}
.cart-slide-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--cinza-texto);
}
.cart-slide-empty i {
  font-size: 3rem;
  color: #D1D5DB;
  margin-bottom: 16px;
}

/* ===== TESTIMONIALS ===== */
.testi-card {
  background: var(--branco);
  border-radius: var(--raio);
  padding: 28px;
  box-shadow: var(--sombra);
  border: 1px solid #E5E7EB;
  height: 100%;
}
.testi-stars { color: #FBBF24; margin-bottom: 14px; font-size: 0.85rem; }
.testi-text {
  font-size: 0.95rem;
  color: var(--cinza-texto);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--verde-saude), var(--azul-cuidado));
  display: flex; align-items: center; justify-content: center;
  color: var(--branco);
  font-weight: 600;
  font-size: 1rem;
}
.testi-author h5 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--azul-profundo);
  margin: 0;
}
.testi-author p {
  font-size: 0.78rem;
  color: var(--cinza-texto);
  margin: 0;
}

/* ===== BANNER PROMO ===== */
.promo-banner {
  background: linear-gradient(135deg, var(--verde-saude), var(--azul-cuidado));
  border-radius: var(--raio);
  padding: 44px;
  color: var(--branco);
  position: relative;
  overflow: hidden;
  margin: 28px 0;
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.promo-banner h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.promo-banner p { opacity: 0.9; margin-bottom: 18px; max-width: 460px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--azul-profundo);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 0;
  font-size: 0.88rem;
}
.footer-brand img { height: 44px; margin-bottom: 14px; }
.footer-brand p { line-height: 1.7; color: rgba(255,255,255,0.65); }
.footer h5 {
  color: var(--verde-claro);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  transition: var(--transicao);
  display: inline-block;
}
.footer-links a:hover {
  color: var(--verde-claro);
  transform: translateX(4px);
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--branco);
  font-size: 0.9rem;
  transition: var(--transicao);
}
.footer-social a:hover {
  background: var(--verde-saude);
  color: var(--branco);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 44px;
  padding: 18px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 54px; height: 54px;
  background: #25D366;
  color: var(--branco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 1050;
  transition: var(--transicao);
  animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--branco);
}
@keyframes pulse-whatsapp {
  0% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7); }
  100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
}

/* ===== PAGES: PRODUTO DETALHE ===== */
.product-gallery {
  background: var(--branco);
  border-radius: var(--raio);
  padding: 28px;
  box-shadow: var(--sombra);
  border: 1px solid #E5E7EB;
}
.product-main-img {
  background: linear-gradient(135deg, #f0fdf4, #e0f2fe);
  border-radius: var(--raio-sm);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  margin-bottom: 14px;
}
.product-thumb-list {
  display: flex;
  gap: 10px;
}
.product-thumb {
  width: 64px; height: 64px;
  border-radius: var(--raio-sm);
  background: var(--cinza-claro);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transicao);
}
.product-thumb:hover, .product-thumb.active {
  border-color: var(--verde-saude);
}
.product-details {
  background: var(--branco);
  border-radius: var(--raio);
  padding: 28px;
  box-shadow: var(--sombra);
  border: 1px solid #E5E7EB;
}
.product-details .product-brand {
  font-size: 0.78rem;
  margin-bottom: 6px;
}
.product-details h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--azul-profundo);
  margin-bottom: 10px;
}
.product-details .product-rating { margin-bottom: 14px; }
.product-details .price-current { font-size: 1.8rem; }
.product-details .price-old { font-size: 1rem; }
.product-desc { color: var(--cinza-texto); line-height: 1.7; margin: 18px 0; }
.product-meta { display: flex; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.product-meta span {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: var(--cinza-texto);
}
.product-meta i { color: var(--verde-saude); }

.variant-group { margin-bottom: 18px; }
.variant-group h6 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--azul-profundo);
  margin-bottom: 8px;
}
.variant-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.variant-btn {
  padding: 8px 14px;
  border-radius: var(--raio-sm);
  border: 1.5px solid #D1D5DB;
  background: var(--branco);
  color: var(--azul-profundo);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transicao);
}
.variant-btn:hover, .variant-btn.active {
  border-color: var(--verde-saude);
  background: rgba(30,127,92,0.08);
  color: var(--verde-saude);
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #D1D5DB;
  border-radius: var(--raio-sm);
  overflow: hidden;
  width: fit-content;
}
.qty-selector button {
  width: 38px; height: 40px;
  border: none;
  background: var(--cinza-claro);
  color: var(--azul-profundo);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.qty-selector button:hover { background: #E5E7EB; }
.qty-selector input {
  width: 46px; height: 40px;
  border: none;
  border-left: 1.5px solid #D1D5DB;
  border-right: 1.5px solid #D1D5DB;
  text-align: center;
  font-weight: 600;
  color: var(--azul-profundo);
  outline: none;
}
.product-actions-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.product-actions-row .btn-primario {
  flex: 1;
  min-width: 160px;
  justify-content: center;
  padding: 12px 20px;
  font-size: 0.95rem;
}
.product-actions-row .btn-secundario {
  padding: 12px 18px;
  justify-content: center;
}

.frete-box {
  background: var(--cinza-claro);
  border-radius: var(--raio-sm);
  padding: 18px;
  margin-top: 18px;
}
.frete-box h6 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--azul-profundo);
  margin-bottom: 10px;
}
.frete-input {
  display: flex;
  gap: 8px;
}
.frete-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #D1D5DB;
  border-radius: var(--raio-sm);
  font-size: 0.88rem;
  outline: none;
}
.frete-input button {
  background: var(--azul-cuidado);
  color: var(--branco);
  border: none;
  padding: 10px 16px;
  border-radius: var(--raio-sm);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
}
.frete-result {
  margin-top: 10px;
  padding: 12px;
  background: var(--branco);
  border-radius: var(--raio-sm);
  font-size: 0.82rem;
  color: var(--cinza-texto);
  border-left: 3px solid var(--verde-saude);
  display: none;
}

/* ===== CHECKOUT STEPS ===== */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cinza-texto);
}
.step .step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--cinza-claro);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--cinza-texto);
}
.step.active .step-num {
  background: var(--verde-saude);
  color: var(--branco);
}
.step.active { color: var(--verde-saude); font-weight: 600; }
.step.completed .step-num {
  background: var(--verde-claro);
  color: var(--azul-profundo);
}
.step-divider {
  width: 36px;
  height: 2px;
  background: var(--cinza-claro);
  border-radius: 1px;
}

.checkout-card {
  background: var(--branco);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  border: 1px solid #E5E7EB;
  padding: 28px;
  margin-bottom: 20px;
}
.checkout-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--azul-profundo);
  margin-bottom: 20px;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--azul-profundo);
  margin-bottom: 5px;
}
.form-control, .form-select {
  padding: 11px 13px;
  border: 1.5px solid #D1D5DB;
  border-radius: var(--raio-sm);
  font-size: 0.9rem;
  color: var(--azul-profundo);
  transition: var(--transicao);
}
.form-control:focus, .form-select:focus {
  border-color: var(--verde-saude);
  box-shadow: 0 0 0 3px rgba(30,127,92,0.12);
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid #D1D5DB;
  border-radius: var(--raio-sm);
  margin-bottom: 10px;
  cursor: pointer;
  transition: var(--transicao);
}
.payment-option:hover { border-color: var(--verde-saude); }
.payment-option input { accent-color: var(--verde-saude); width: 16px; height: 16px; }
.payment-option .pay-icon {
  width: 36px; height: 36px;
  background: var(--cinza-claro);
  border-radius: var(--raio-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--azul-cuidado);
}
.payment-option .pay-info h6 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--azul-profundo);
  margin: 0;
}
.payment-option .pay-info p {
  font-size: 0.78rem;
  color: var(--cinza-texto);
  margin: 0;
}

.frete-options { margin-top: 14px; }
.frete-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1.5px solid #D1D5DB;
  border-radius: var(--raio-sm);
  margin-bottom: 8px;
  cursor: pointer;
  transition: var(--transicao);
}
.frete-option:hover, .frete-option.selected {
  border-color: var(--verde-saude);
  background: rgba(30,127,92,0.04);
}
.frete-option input { accent-color: var(--verde-saude); }
.frete-option .frete-name {
  display: flex; align-items: center; gap: 8px;
  font-weight: 500;
  color: var(--azul-profundo);
  font-size: 0.88rem;
}
.frete-option .frete-name i { color: var(--azul-cuidado); font-size: 1rem; }
.frete-option .frete-price {
  font-weight: 700;
  color: var(--verde-saude);
  font-size: 0.95rem;
}
.frete-option .frete-prazo {
  font-size: 0.75rem;
  color: var(--cinza-texto);
}

/* ===== LOGIN / CADASTRO ===== */
.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--branco);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  border: 1px solid #E5E7EB;
  padding: 36px 32px;
}
.auth-card .logo-auth { text-align: center; margin-bottom: 24px; }
.auth-card .logo-auth img { height: 48px; margin: 0 auto; }
.auth-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--azul-profundo);
  text-align: center;
  margin-bottom: 6px;
}
.auth-card p.subtitle {
  text-align: center;
  color: var(--cinza-texto);
  font-size: 0.88rem;
  margin-bottom: 24px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--cinza-texto);
  font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E5E7EB;
}

/* ===== AREA CLIENTE ===== */
.cliente-sidebar {
  background: var(--branco);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  border: 1px solid #E5E7EB;
  padding: 22px;
}
.cliente-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--verde-saude), var(--azul-cuidado));
  display: flex; align-items: center; justify-content: center;
  color: var(--branco);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 10px;
}
.cliente-name {
  text-align: center;
  font-weight: 600;
  color: var(--azul-profundo);
  margin-bottom: 3px;
  font-size: 0.95rem;
}
.cliente-email {
  text-align: center;
  font-size: 0.78rem;
  color: var(--cinza-texto);
  margin-bottom: 16px;
}
.cliente-menu li { margin-bottom: 5px; }
.cliente-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--raio-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cinza-texto);
  transition: var(--transicao);
}
.cliente-menu a:hover, .cliente-menu a.active {
  background: rgba(30,127,92,0.08);
  color: var(--verde-saude);
}
.cliente-menu a i { width: 20px; text-align: center; }

.cliente-content {
  background: var(--branco);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  border: 1px solid #E5E7EB;
  padding: 28px;
}
.order-card {
  border: 1px solid #E5E7EB;
  border-radius: var(--raio-sm);
  padding: 18px;
  margin-bottom: 14px;
}
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 6px;
}
.order-header h5 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--azul-profundo);
  margin: 0;
}
.order-status {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}
.status-entregue { background: #D1FAE5; color: #065F46; }
.status-transito { background: #DBEAFE; color: #1E40AF; }
.status-processando { background: #FEF3C7; color: #92400E; }

/* ===== INSTITUCIONAL ===== */
.inst-page { padding: 40px 0 60px; }
.inst-page h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--azul-profundo);
  margin-bottom: 20px;
}
.inst-page h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--azul-profundo);
  margin: 28px 0 14px;
}
.inst-page p {
  color: var(--cinza-texto);
  line-height: 1.8;
  margin-bottom: 14px;
}
.inst-page ul {
  list-style: disc;
  padding-left: 22px;
  color: var(--cinza-texto);
  line-height: 1.8;
  margin-bottom: 14px;
}
.inst-page ul li { margin-bottom: 7px; }
.inst-card {
  background: var(--branco);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  border: 1px solid #E5E7EB;
  padding: 28px;
  height: 100%;
}
.inst-card i {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(30,127,92,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--verde-saude);
  margin-bottom: 14px;
}
.inst-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--azul-profundo);
  margin-bottom: 8px;
}
.inst-card p {
  font-size: 0.88rem;
  color: var(--cinza-texto);
  line-height: 1.6;
  margin: 0;
}

/* ===== CONTACT ===== */
.contact-info-box {
  background: var(--branco);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  border: 1px solid #E5E7EB;
  padding: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-info-box i {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(30,127,92,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--verde-saude);
  flex-shrink: 0;
}
.contact-info-box h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--azul-profundo);
  margin-bottom: 3px;
}
.contact-info-box p {
  font-size: 0.85rem;
  color: var(--cinza-texto);
  margin: 0;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-wrapper {
  background: var(--cinza-claro);
  padding: 14px 0;
  border-bottom: 1px solid #E5E7EB;
}
.breadcrumb {
  margin: 0;
  font-size: 0.8rem;
}
.breadcrumb-item a { color: var(--cinza-texto); }
.breadcrumb-item a:hover { color: var(--verde-saude); }
.breadcrumb-item.active { color: var(--verde-saude); font-weight: 500; }

/* ===== PAGINATION ===== */
.pagination .page-link {
  border: 1.5px solid #E5E7EB;
  color: var(--cinza-texto);
  font-weight: 500;
  padding: 7px 13px;
  margin: 0 3px;
  border-radius: var(--raio-sm) !important;
}
.pagination .page-link:hover {
  background: var(--verde-saude);
  color: var(--branco);
  border-color: var(--verde-saude);
}
.pagination .page-item.active .page-link {
  background: var(--verde-saude);
  border-color: var(--verde-saude);
  color: var(--branco);
}

/* ===== CART PAGE ===== */
.cart-page { padding: 32px 0 60px; }
.cart-card {
  background: var(--branco);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  border: 1px solid #E5E7EB;
  overflow: hidden;
}
.cart-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid #F3F4F6;
  align-items: center;
}
.cart-item-img {
  width: 80px; height: 80px;
  background: var(--cinza-claro);
  border-radius: var(--raio-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-info h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--azul-profundo);
  margin-bottom: 3px;
}
.cart-item-info p {
  font-size: 0.78rem;
  color: var(--cinza-texto);
  margin-bottom: 6px;
}
.cart-item-price {
  text-align: right;
  min-width: 90px;
}
.cart-item-price .price { font-size: 1.05rem; font-weight: 700; color: var(--verde-saude); }
.cart-summary {
  background: var(--branco);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  border: 1px solid #E5E7EB;
  padding: 24px;
}
.cart-summary h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--azul-profundo);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--cinza-claro);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: var(--cinza-texto);
}
.summary-row.total {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--azul-profundo);
  border-top: 2px solid var(--cinza-claro);
  padding-top: 14px;
  margin-top: 14px;
}
.coupon-box {
  display: flex;
  gap: 6px;
  margin: 18px 0;
}
.coupon-box input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid #D1D5DB;
  border-radius: var(--raio-sm);
  font-size: 0.85rem;
  outline: none;
}
.coupon-box button {
  background: var(--cinza-claro);
  color: var(--azul-profundo);
  border: 1px solid #D1D5DB;
  padding: 9px 14px;
  border-radius: var(--raio-sm);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}

/* Cupom de desconto no carrinho lateral */
.cupom-carrinho {
    margin: 16px 0;
    padding: 14px 0;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

.cupom-carrinho label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--azul-profundo);
    margin-bottom: 8px;
}

.cupom-carrinho .coupon-box {
    margin: 0;
}

.cupom-carrinho .coupon-box input {
    min-width: 0;
    width: 100%;
}

.cupom-carrinho .coupon-box button {
    background: var(--verde-saude);
    color: #fff;
    border-color: var(--verde-saude);
}

.cupom-carrinho .coupon-box button:hover {
    background: #16664a;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeInUp 0.5s ease-out both;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cinza-claro); }
::-webkit-scrollbar-thumb { background: var(--verde-saude); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #16664a; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; }
  .hero-stats .stat h3 { font-size: 1.5rem; }
  .filter-sidebar { position: static; margin-bottom: 20px; }
  .cart-summary { position: static; margin-top: 20px; }
  .navbar-collapse {
    background: var(--branco);
    padding: 14px;
    border-radius: var(--raio-sm);
    box-shadow: var(--sombra);
    margin-top: 10px;
  }
  .cart-slide { width: 100%; }
}

@media (max-width: 767.98px) {
  .section { padding: 44px 0; }
  .section-title h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { flex-wrap: wrap; gap: 14px; }
  .search-box { flex-direction: column; }
  .product-main-img { height: 280px; }
  .product-actions-row .btn-primario { min-width: auto; width: 100%; }
  .checkout-steps { gap: 6px; }
  .step-divider { width: 16px; }
  .promo-banner { padding: 28px 20px; }
  .promo-banner h3 { font-size: 1.3rem; }
  .footer { padding-top: 40px; }
}

@media (max-width: 575.98px) {
  .topbar { font-size: 0.7rem; }
  .navbar-main .navbar-brand img { height: 40px; }
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 1.5rem; }
  .section-title h2 { font-size: 1.3rem; }
  .product-img { height: 170px; font-size: 2.5rem; }
  .auth-card { padding: 24px 18px; }
  .cliente-content { padding: 18px; }
  .checkout-card { padding: 18px; }
  .whatsapp-float {
    width: 48px; height: 48px;
    font-size: 1.3rem;
    bottom: 14px; right: 14px;
  }
}

@media (max-width: 480px) {
    .cupom-carrinho .coupon-box input {
        font-size: 0.8rem;
    }

    .cupom-carrinho .coupon-box button {
        padding: 9px 10px;
        font-size: 0.75rem;
    }
}

/* ===== FALE CONOSCO - BOTÃO ENVIAR ===== */

#btnEnviarContato {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    min-height: 50px;
    padding: 13px 20px;

    background: var(--verde-saude);
    color: #fff;
    border: 0;
    border-radius: 10px;

    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;

    cursor: pointer;
    transition: var(--transicao);
}

#btnEnviarContato i {
    display: inline-block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: inherit;
    font-size: 0.95rem;
    line-height: 1;
    flex-shrink: 0;
}

#btnEnviarContato:hover {
    background: #16664a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 127, 92, 0.20);
}

#btnEnviarContato:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#btnEnviarContato:focus-visible {
    outline: 3px solid rgba(30, 127, 92, 0.25);
    outline-offset: 3px;
}

.cart-slide-item-img {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-slide-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}