/* Design Tokens & CSS Variables */
:root {
  --bg-app: #f8fafc;
  --bg-card: #ffffff;
  --bg-drawer: #ffffff;
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --primary-color: #0d47a1;
  --secondary-color: #0288d1;
  --accent-gradient: linear-gradient(135deg, #0d47a1 0%, #00838f 100%);
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  
  --font-titles: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(13, 71, 161, 0.05);
  --shadow-glow: 0 4px 20px rgba(13, 71, 161, 0.08);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font-family: inherit;
}

/* ============================================================
   GLOBAL MOBILE: prevent iOS auto-zoom + touch targets
   ============================================================ */
/* All interactive elements: disable tap flash, enable fast tap */
a, button, [role="button"], label, select {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Minimum touch target 44x44px (Apple HIG / WCAG 2.5.8) */
button, .btn, .kit-buy-btn, .cta-btn, .hero-btn,
.cart-trigger-btn, .nav-link, .close-btn {
  min-height: 44px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Announcement Bar */
.announcement-bar {
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  padding: 0.5rem 0;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 100;
}

.announcement-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.announcement-bar .divider {
  opacity: 0.4;
}

/* Header */
.main-header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 90;
  transition: all var(--transition-fast);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--font-titles);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-core {
  color: var(--text-primary);
}

.logo-peps {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-tag {
  font-size: 0.7rem;
  font-weight: 500;
  background-color: rgba(13, 71, 161, 0.08);
  color: var(--primary-color);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
  margin-left: 0.4rem;
  border: 1px solid rgba(13, 71, 161, 0.15);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.nav-menu a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-menu a:hover {
  color: var(--text-primary);
}

.nav-menu a.active {
  color: var(--primary-color) !important;
  font-weight: 700;
}

.nav-track-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-secondary) !important;
  transition: color var(--transition-fast);
}

.nav-track-link:hover {
  color: var(--text-primary) !important;
}

.cart-trigger-btn {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  transition: all var(--transition-fast);
}

.cart-trigger-btn:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow);
}

.cart-badge {
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -8px;
  right: -8px;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  background-color: #ffffff;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: linear-gradient(to right, #ffffff 32%, rgba(255, 255, 255, 0.92) 52%, rgba(255, 255, 255, 0.2) 100%), url('images/research-lab.jpg');
  background-repeat: no-repeat;
  background-position: 35% 32%;
  background-size: 145% auto;
  pointer-events: none;
  opacity: 0.95;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 71, 161, 0.04) 0%, rgba(13, 71, 161, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  background-color: rgba(13, 71, 161, 0.06);
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(13, 71, 161, 0.12);
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-family: var(--font-titles);
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-content p {
  font-size: 1.1rem;
  color: #334155 !important;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  font-weight: 700;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-weight: 600;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
}

.hero-features {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.feature-item i {
  color: var(--primary-color);
  width: 18px;
  height: 18px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 50px rgba(13, 71, 161, 0.15));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}

.section-header h2 {
  font-family: var(--font-titles);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
}

/* Kits Section */
.kits-section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(180deg, var(--bg-app) 0%, rgba(13, 21, 39, 0.3) 100%);
}

.kits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.kit-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.kit-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.kit-badge {
  position: absolute;
  top: 1.2rem;
  right: -2rem;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 2.5rem;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.kit-image {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.kit-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.kit-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.kit-category {
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  display: block;
}

.kit-content h3 {
  font-family: var(--font-titles);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.kit-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.old-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.new-price {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-titles);
  color: var(--text-primary);
}

.kit-buy-btn {
  background-color: var(--text-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  transition: all var(--transition-fast);
}

.kit-buy-btn:hover {
  background: var(--accent-gradient);
  box-shadow: var(--shadow-glow);
}

.kit-buy-btn i {
  width: 16px;
  height: 16px;
}

/* Catalog Section */
.catalog-section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-color);
}

.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.filter-group {
  display: flex;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 0.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.filter-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
}

.filter-btn.active {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.search-box-container {
  position: relative;
  width: 380px;
}

.search-box-container i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

.search-box-container input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  padding: 0.75rem 1rem 0.75rem 2.8rem;
  font-size: 0.85rem;
  outline: none;
  transition: all var(--transition-fast);
}

.search-box-container input:focus {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow);
}

/* Products Grid & Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-card .product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  z-index: 5;
}

.product-img-container {
  height: 200px;
  background-color: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.product-img {
  max-width: 60%;
  max-height: 80%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.product-name {
  font-family: var(--font-titles);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.8rem;
}

.product-specs {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.product-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-titles);
}

.add-to-cart-btn {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.add-to-cart-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow);
}

.add-to-cart-btn i {
  width: 14px;
  height: 14px;
}

/* Quality Assurance Section */
.quality-section {
  padding: 6rem 0;
  background-color: rgba(13, 21, 39, 0.2);
  border-bottom: 1px solid var(--border-color);
}

.quality-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.quality-content h2 {
  font-family: var(--font-titles);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.quality-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.quality-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.point-item {
  display: flex;
  gap: 1rem;
}

.point-item i {
  color: var(--primary-color);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 0.2rem;
}

.point-item h4 {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.point-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.quality-badges-display {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-card i {
  color: var(--primary-color);
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
}

.badge-card h3 {
  font-family: var(--font-titles);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.badge-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Shopping Cart Side Drawer */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  height: 100vh;
  background-color: var(--bg-drawer);
  border-left: 1px solid var(--border-color);
  box-shadow: none;
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.cart-drawer.open {
  transform: translateX(0);
  box-shadow: -10px 0 40px rgba(13, 71, 161, 0.15);
}

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

.cart-drawer-header h3 {
  font-family: var(--font-titles);
  font-weight: 700;
  font-size: 1.25rem;
}

.close-cart-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.close-cart-btn:hover {
  color: var(--text-primary);
}

.cart-items-wrapper {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.empty-cart-msg {
  text-align: center;
  color: var(--text-secondary);
  padding: 4rem 1rem;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cart-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  padding-bottom: 1rem;
}

.cart-item-img-container {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.cart-item-img-container img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.cart-item-sku {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.2rem;
}

.cart-item-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  background-color: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-weight: bold;
}

.qty-btn:hover {
  background-color: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.qty-num {
  font-size: 0.8rem;
  font-weight: 600;
  width: 20px;
  text-align: center;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background-color: rgba(0, 0, 0, 0.2);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.summary-line.total {
  font-family: var(--font-titles);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  border-top: 1px dashed var(--border-color);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
  margin-bottom: 1.2rem;
}

.checkout-submit-btn {
  background: var(--accent-gradient);
  color: #ffffff;
  font-weight: 700;
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
}

.checkout-submit-btn:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.continue-shopping-btn {
  background: transparent;
  color: var(--primary-color);
  font-weight: 700;
  width: 100%;
  padding: 0.9rem;
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
  margin-top: 0.65rem;
  font-family: var(--font-body);
}

.continue-shopping-btn:hover {
  background: rgba(13, 71, 161, 0.05);
}

/* Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--bg-drawer);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 680px;
  width: 90%;
  position: relative;
  box-shadow: var(--shadow-md);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
}

.modal-content h2 {
  font-family: var(--font-titles);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.modal-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.checkout-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.checkout-option-card {
  background-color: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all var(--transition-fast);
}

.checkout-option-card:hover {
  border-color: var(--primary-color);
  background-color: rgba(255,255,255,0.03);
  transform: translateY(-2px);
}

.option-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.2rem;
}

.option-icon.vexus {
  background-color: rgba(0, 242, 254, 0.08);
  color: var(--primary-color);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.option-icon.whatsapp {
  background-color: rgba(16, 185, 129, 0.08);
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.checkout-option-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.checkout-option-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.option-btn {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

.option-btn.whatsapp {
  color: var(--success-color);
}

/* Footer */
.main-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* Responsiveness */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-content {
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-features {
    justify-content: center;
  }
  .kits-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quality-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  /* Stack Announcement Bar elements */
  .announcement-content {
    flex-direction: column;
    gap: 0.3rem;
  }
  .announcement-bar .divider {
    display: none;
  }

  /* Compact Mobile Header */
  .header-container {
    padding: 0.75rem 1rem;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .header-actions {
    gap: 0.5rem !important;
  }
  .logo {
    font-size: 1.15rem;
  }
  .cart-trigger-btn {
    padding: 0.5rem 0.8rem;
  }
  .cart-trigger-btn span:not(.cart-badge) {
    display: none; /* Hide 'Carrinho' text to fit screen */
  }

  /* Scrollable Navigation Menu */
  .nav-menu {
    width: 100%;
    order: 3;
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.5rem 0;
    gap: 1.25rem;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  /* Scale down hero title */
  .hero-content h1 {
    font-size: 2rem;
    padding: 0 0.5rem;
  }
  
  /* Stack hero CTA buttons to prevent overflow */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.8rem;
    padding: 0 1rem;
  }
  .hero-actions a {
    text-align: center;
    width: 100%;
  }

  /* Stack hero features vertically */
  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-section {
    background: #ffffff;
  }

  .hero-section::before {
    background-image: linear-gradient(to bottom, #ffffff 60%, rgba(255, 255, 255, 0.95) 80%, rgba(255, 255, 255, 0.4) 100%), url('images/research-lab.jpg');
    background-position: center bottom;
    background-size: cover;
  }

  /* Other mobile adjustments */
  .catalog-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box-container {
    width: 100%;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .checkout-options-grid {
    grid-template-columns: 1fr;
  }
  .cart-drawer {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================
   Fase 5: Novas Seções e Páginas Customizadas
   ========================================== */

/* Page Hero (Compartilhado pelas páginas institucionais) */
.page-hero {
  padding: 3.5rem 0 2rem;
  background-color: rgba(13, 71, 161, 0.03);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}

.page-hero .container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 3.5rem;
  font-family: var(--font-titles);
  color: var(--text-primary);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Seção de CTAs Promocionais (index.html) */
.promo-resources-section {
  padding: 2rem 0 4rem;
}

.promo-resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.promo-card-cta {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
}

.promo-card-cta:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.promo-card-cta.whatsapp:hover {
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.1);
}

.promo-card-cta.guide:hover {
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

.promo-card-cta h3 {
  font-size: 1.8rem;
  font-family: var(--font-titles);
  color: var(--text-primary);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.promo-card-cta p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.badge-tag {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-card-cta.whatsapp .badge-tag {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.2);
}

.btn-promo-cta {
  background-color: var(--text-primary);
  color: #ffffff;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: auto;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.promo-card-cta.whatsapp .btn-promo-cta {
  background-color: #22c55e;
  color: #fff;
}

.promo-card-cta.whatsapp .btn-promo-cta:hover {
  background-color: #16a34a;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.promo-card-cta.guide .btn-promo-cta {
  background: var(--accent-gradient);
  color: #ffffff;
}

.promo-card-cta.guide .btn-promo-cta:hover {
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

/* Sobre Nós Style */
.about-section {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.about-text-content h2 {
  font-size: 2.8rem;
  font-family: var(--font-titles);
  color: var(--text-primary);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.about-text-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-card h3 {
  font-size: 2rem;
  color: var(--primary-color);
  font-family: var(--font-titles);
  margin-bottom: 0.3rem;
}

.stat-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.about-image-card {
  position: relative;
}

.about-main-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-glow);
}

.floating-badge i {
  color: var(--primary-color);
  width: 28px;
  height: 28px;
}

.floating-badge h4 {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin: 0;
}

.floating-badge p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* Values Section */
.values-section {
  padding: 6rem 0;
  background-color: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.value-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

.value-icon {
  background: rgba(6, 182, 212, 0.1);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.value-icon i {
  color: var(--primary-color);
  width: 24px;
  height: 24px;
}

.value-card h3 {
  font-size: 1.3rem;
  font-family: var(--font-titles);
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* CTA Banner Section */
.cta-banner-section {
  padding: 6rem 0;
}

.cta-card {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(13, 71, 161, 0.15);
  border-radius: var(--radius-lg);
  padding: 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 71, 161, 0.06) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-family: var(--font-titles);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Testimonials Page Layout */
.testimonials-page-section {
  padding: 6rem 0;
}

.testimonials-summary {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: var(--radius-lg);
  margin-bottom: 5rem;
  align-items: center;
}

.rating-overall {
  text-align: center;
  border-right: 1px solid var(--border-color);
  padding-right: 4rem;
}

.rating-overall h2 {
  font-size: 4.5rem;
  font-family: var(--font-titles);
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.rating-overall .stars {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.rating-overall .stars i {
  color: #eab308;
  width: 20px;
  height: 20px;
}

.rating-overall .stars i.fill {
  fill: #eab308;
}

.satisfaction-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.metric-line {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.metric-line span:first-child {
  width: 150px;
  font-weight: 600;
  color: var(--text-secondary);
}

.bar-container {
  flex-grow: 1;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  overflow: hidden;
}

.bar {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 50px;
}

.testimonials-grid-detailed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.testimonial-detailed-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.testimonial-detailed-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1px solid var(--border-color);
}

.user-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-primary);
}

.user-sub {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.verified-tag {
  background-color: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #22c55e;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.verified-tag i {
  width: 12px;
  height: 12px;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.card-rating i {
  color: #eab308;
  width: 16px;
  height: 16px;
}

.card-rating i.fill {
  fill: #eab308;
}

.review-date {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-left: 0.8rem;
}

.testimonial-detailed-card h3 {
  font-size: 1.3rem;
  font-family: var(--font-titles);
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.review-text {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.review-product-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

/* FAQ Page Accordion Layout */
.faq-page-section {
  padding: 6rem 0;
}

.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.8rem 2rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-titles);
  outline: none;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.01);
}

.faq-question i {
  color: var(--text-muted);
  transition: transform var(--transition-fast);
  width: 20px;
  height: 20px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 2rem;
  transition: all var(--transition-medium) ease-in-out;
  opacity: 0;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  padding-bottom: 1.8rem;
  margin: 0;
  font-size: 0.95rem;
}

.faq-answer ul {
  padding-left: 1.5rem;
  margin: 0 0 1.8rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

/* FAQ Active State */
.faq-item.active {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.faq-item.active .faq-answer {
  max-height: 400px;
  opacity: 1;
}

/* Blog Portal Layout */
.blog-page-section {
  padding: 6rem 0;
}

.blog-grid-display {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.blog-card-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.blog-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.blog-card:hover .blog-card-img-wrapper img {
  transform: scale(1.05);
}

.blog-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.blog-card-content {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.blog-card-content h3 {
  font-size: 1.5rem;
  font-family: var(--font-titles);
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.blog-card-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.blog-read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

.blog-read-more i {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.blog-card:hover .blog-read-more i {
  transform: translateX(3px);
}

/* Guide Download Banner */
.guide-download-banner {
  padding: 6rem 0;
  border-top: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.005);
}

.guide-banner-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(13, 71, 161, 0.05) 100%);
  border: 1px solid rgba(13, 71, 161, 0.15);
  border-radius: var(--radius-lg);
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.banner-glow {
  position: absolute;
  right: -50px;
  top: -50px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(13, 71, 161, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.banner-text h2 {
  font-size: 2.5rem;
  font-family: var(--font-titles);
  color: var(--text-primary);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.banner-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.banner-visual img {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

/* Article View Modal custom styles */
.article-view-content {
  max-width: 750px !important;
  max-height: 85vh;
  overflow-y: auto;
}

.article-cat {
  background-color: rgba(6, 182, 212, 0.1);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  text-transform: uppercase;
}

.article-title {
  font-size: 2.2rem;
  font-family: var(--font-titles);
  color: var(--text-primary);
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.article-meta-txt {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-divider {
  border: 0;
  height: 1px;
  background-color: var(--border-color);
  margin: 1.8rem 0;
}

.article-text-body {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

.article-text-body p {
  margin-bottom: 1.5rem;
}

.article-text-body h4 {
  font-size: 1.3rem;
  font-family: var(--font-titles);
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.article-text-body ul, .article-text-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-text-body li {
  margin-bottom: 0.5rem;
}

/* Responsiveness expansion */
@media (max-width: 992px) {
  .promo-resources-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .testimonials-summary {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .rating-overall {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 2rem;
  }
  .testimonials-grid-detailed {
    grid-template-columns: 1fr;
  }
  .blog-grid-display {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .banner-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .banner-visual img {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2.5rem;
  }
  .about-text-content h2 {
    font-size: 2rem;
  }
  .stats-row {
    grid-template-columns: 1fr;
  }
  .cta-card {
    padding: 2.5rem;
  }
  .cta-content h2 {
    font-size: 1.8rem;
  }
  .faq-question {
    padding: 1.5rem;
    font-size: 1rem;
  }
  .faq-answer {
    padding: 0 1.5rem;
  }
  .article-title {
    font-size: 1.8rem;
  }
}

/* Fix para telas intermediárias de laptops (evitar quebra do cabeçalho) */
@media (max-width: 1200px) and (min-width: 769px) {
  .nav-menu {
    gap: 1rem;
    font-size: 0.82rem;
  }
  .header-container {
    padding: 0.8rem 1rem;
  }
  .logo {
    font-size: 1.15rem;
  }
}

/* ==========================================
   Fase 6: Busca Geral, Hambúrguer, Drawer, Login e Credibilidade
   ========================================== */

/* Ajustes Globais de Preços e Categorias */
.new-price, .product-price {
  white-space: nowrap !important;
}

.kit-category {
  color: var(--primary-color) !important;
  background-color: rgba(0, 242, 254, 0.08) !important;
  border: 1px solid rgba(0, 242, 254, 0.15) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: var(--radius-full) !important;
  display: inline-block !important;
  margin-bottom: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.product-category-label {
  color: var(--secondary-color) !important;
  background-color: rgba(79, 172, 254, 0.08) !important;
  border: 1px solid rgba(79, 172, 254, 0.15) !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  padding: 0.2rem 0.6rem !important;
  border-radius: var(--radius-full) !important;
  display: inline-block !important;
  margin-bottom: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  align-self: flex-start !important;
}

/* Header Actions (Força linha única horizontal) */
.header-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1rem !important;
  justify-content: flex-end !important;
}

/* Botões de ícones padrão */
.nav-icon-btn {
  background: none !important;
  border: none !important;
  color: var(--text-secondary) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  position: relative !important;
  transition: all var(--transition-fast) !important;
  padding: 0 !important;
}

.nav-icon-btn:hover {
  color: var(--primary-color) !important;
  background-color: rgba(15, 23, 42, 0.05) !important;
}

.nav-icon-btn i {
  width: 20px !important;
  height: 20px !important;
}

/* Cart badge ajustada para ficar no canto do ícone */
.nav-icon-btn .cart-badge {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 4px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  top: 0px !important;
  right: 0px !important;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.4) !important;
}

/* Novo Search Box Expansível */
.header-search-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-full) !important;
  padding: 0 !important;
  transition: all var(--transition-medium) !important;
  max-width: 38px !important;
  width: 38px !important;
  height: 38px !important;
  overflow: hidden !important;
  position: relative !important;
  cursor: pointer !important;
}

.header-search-container.active {
  max-width: 220px !important;
  width: 220px !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15) !important;
  padding: 0.2rem 0.2rem 0.2rem 0.8rem !important;
  justify-content: space-between !important;
}

.header-search-input {
  background: none !important;
  border: none !important;
  color: var(--text-primary) !important;
  font-size: 0.85rem !important;
  outline: none !important;
  width: 0 !important;
  opacity: 0 !important;
  transition: all var(--transition-medium) !important;
}

.header-search-container.active .header-search-input {
  width: 140px !important;
  opacity: 1 !important;
}

.header-search-btn {
  background: none !important;
  border: none !important;
  color: var(--text-secondary) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  transition: color var(--transition-fast) !important;
}

.header-search-btn:hover {
  color: var(--primary-color) !important;
}

.header-search-btn i {
  width: 18px !important;
  height: 18px !important;
}

/* Nav user profile icon */
.nav-user-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  transition: color var(--transition-fast);
  margin-right: 0.5rem;
}

.nav-user-btn:hover {
  color: var(--primary-color);
}

.nav-user-btn i {
  width: 20px;
  height: 20px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none !important;
  color: var(--text-secondary) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
  margin-left: 0 !important;
}

.mobile-menu-toggle:hover {
  color: var(--primary-color) !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.mobile-menu-toggle i {
  width: 20px !important;
  height: 20px !important;
}

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: #ffffff;
  border-left: 1px solid var(--border-color);
  box-shadow: none;
  z-index: 999;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-medium) cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}


.mobile-drawer.active {
  right: 0;
  box-shadow: -10px 0 30px rgba(13, 71, 161, 0.12);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.close-drawer-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.close-drawer-btn:hover {
  color: var(--text-primary);
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(13, 71, 161, 0.08);
}

.close-drawer-btn i {
  width: 16px;
  height: 16px;
}

.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-menu a {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
}

.drawer-menu a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.drawer-track-link {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary) !important;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.8rem 1rem !important;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  border-bottom: none !important;
  text-decoration: none;
}

.drawer-track-link:hover {
  background-color: rgba(255, 255, 255, 0.06);
  padding-left: 1rem !important;
}

/* Features Bar Section below Hero */
.features-bar-section {
  background-color: rgba(13, 71, 161, 0.02);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 0;
}

.features-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.features-bar-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.features-bar-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: rgba(13, 71, 161, 0.06);
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.features-bar-icon i {
  width: 24px;
  height: 24px;
}

.features-bar-text h3 {
  font-size: 1.1rem;
  font-family: var(--font-titles);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.features-bar-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Extended Footer Disclaimer */
.footer-disclaimer {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

.footer-disclaimer p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.footer-disclaimer p strong {
  color: var(--text-secondary);
}

.footer-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.payment-icons {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.payment-badge {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.6rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* Login/Registration Section */
.login-register-section {
  padding: 6rem 0;
}

.login-register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.auth-card h2 {
  font-size: 2rem;
  font-family: var(--font-titles);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-label span {
  color: var(--error-color);
}

.form-control {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.form-row-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-row-checkbox input {
  cursor: pointer;
}

.btn-auth {
  background: var(--accent-gradient);
  color: #ffffff;
  border: none;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-auth:hover {
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
  transform: translateY(-1px);
}

.auth-card .forgot-password-link {
  color: var(--primary-color);
  font-size: 0.85rem;
  margin-top: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  align-self: flex-start;
  transition: color var(--transition-fast);
}

.auth-card .forgot-password-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.auth-card p.info-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.auth-card p.info-text a {
  color: var(--primary-color);
  text-decoration: none;
}

.auth-card p.info-text a:hover {
  text-decoration: underline;
}

/* Responsiveness overrides for Fase 6 */
@media (max-width: 992px) {
  .features-bar-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Expand search bar absolute over header on mobile when active */
  .header-search-container.active {
    position: absolute !important;
    right: 1rem !important;
    left: 1rem !important;
    max-width: none !important;
    width: auto !important;
    height: 44px !important;
    z-index: 100 !important;
    background-color: #0b0f19 !important;
    padding: 0.2rem 0.5rem 0.2rem 1rem !important;
    border-color: var(--primary-color) !important;
  }
  
  .header-search-container.active .header-search-input {
    width: calc(100% - 40px) !important;
    font-size: 0.95rem !important;
  }
  
  /* Show hamburger button, hide desktop nav completely */
  .mobile-menu-toggle {
    display: flex !important;
  }
  .nav-menu {
    display: none !important; /* Hide horizontal scrolling navigation drawer */
  }
  
  /* Stack login columns */
  .login-register-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .auth-card {
    padding: 2rem;
  }
  
  /* Vertical alignment of kit-cards */
  .kit-card {
    flex-direction: column !important;
    padding: 1.5rem !important;
    gap: 1.5rem !important;
  }
  .kit-image {
    width: 100% !important;
    height: 180px !important;
  }
  .kit-content h3 {
    font-size: 1.2rem !important;
  }
  .price-box {
    gap: 0.6rem !important;
  }
  
  /* Footer compact rows and links wrapping */
  .footer-info-row {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
  }
  .payment-icons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1rem 1.5rem !important;
  }
}

/* ==========================================
   Fase 7: Configurador de Pré-Checkout
   ========================================== */

.precheckout-section {
  padding: 8rem 0 5rem;
  background-color: var(--bg-primary);
  min-height: 100vh;
}

.precheckout-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}

/* Left Side Visual Preview Card */
.kit-preview-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.kit-preview-badge {
  background-color: var(--primary-color);
  color: #0b0f19;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 1.5rem;
}

.kit-preview-image-wrapper {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #0c101a;
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kit-preview-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.kit-preview-details .preview-tag {
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.kit-preview-details h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.kit-preview-details p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.preview-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.spec-pill {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.spec-pill i {
  width: 14px;
  height: 14px;
  color: var(--primary-color);
}

/* Right Side Controls */
.configurator-subtitle {
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.precheckout-controls h1 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.configurator-intro {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.control-group {
  margin-bottom: 2.5rem;
}

.control-label {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

/* Kit Selector Tabs Grid */
.kit-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.kit-tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: all var(--transition-medium);
}

.kit-tab-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 242, 254, 0.3);
}

.kit-tab-btn.active {
  background: rgba(0, 242, 254, 0.04);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.kit-tab-btn span {
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.kit-tab-btn.active span {
  color: var(--primary-color);
}

.kit-tab-btn strong {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Quantity Selector Grid (Usa auto-fit para responsividade premium sem quebras) */
.qty-selector-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) !important;
  gap: 1rem !important;
}

.config-qty-btn {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  padding: 1.2rem 0.5rem 0.9rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all var(--transition-medium) !important;
  min-height: 85px !important;
}

.config-qty-btn:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(0, 242, 254, 0.3) !important;
}

.config-qty-btn.active {
  background: rgba(0, 242, 254, 0.05) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.12) !important;
}

.config-qty-badge {
  position: absolute !important;
  top: -9px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: var(--primary-color) !important;
  color: #0b0f19 !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  padding: 0.15rem 0.4rem !important;
  border-radius: var(--radius-sm) !important;
  letter-spacing: 0.03em !important;
  white-space: nowrap !important;
}

.config-qty-badge.base {
  background: rgba(255, 255, 255, 0.2) !important;
  color: var(--text-primary) !important;
}

.config-qty-num {
  color: var(--text-primary) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  margin-top: 0.2rem !important;
  margin-bottom: 0.1rem !important;
  white-space: nowrap !important;
}

.config-qty-vials-label {
  color: var(--text-secondary) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.3rem !important;
  white-space: nowrap !important;
}

.config-qty-btn.active .config-qty-vials-label {
  color: var(--primary-color) !important;
}

.config-qty-unit-price {
  color: var(--text-muted) !important;
  font-size: 0.7rem !important;
  font-weight: 500 !important;
}

.config-qty-btn.active .config-qty-unit-price {
  color: var(--text-secondary) !important;
}

/* Price summary card */
.price-summary-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 2.5rem;
  box-sizing: border-box;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.summary-row span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.35;
}

.summary-row span:last-child {
  flex: 0 0 auto;
  flex-shrink: 0;
  min-width: max-content;
  white-space: nowrap;
  text-align: right;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.summary-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.summary-item-row span {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.35;
}

.summary-item-row strong {
  flex: 0 0 auto;
  flex-shrink: 0;
  min-width: max-content;
  white-space: nowrap;
  text-align: right;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.highlight-discount {
  color: #00ff88 !important;
  font-weight: 600;
}

.frete-gratis {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.85rem;
}

.summary-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 1.5rem 0;
}

.total-row {
  color: var(--text-primary) !important;
  font-weight: 700;
  align-items: center;
}

.total-price {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-family: var(--font-title);
  font-weight: 800;
}

.btn-checkout-vexus {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: all var(--transition-medium);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.btn-checkout-vexus:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.3);
}

.btn-checkout-vexus i {
  width: 22px;
  height: 22px;
}

.payment-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.payment-note i {
  width: 13px;
  height: 13px;
  color: #00ff88;
}

/* Responsiveness */
@media (max-width: 992px) {
  .precheckout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .kit-preview-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .precheckout-section {
    padding: 7rem 0 4rem;
    width: 100% !important;
    overflow-x: hidden !important;
  }
  .precheckout-controls h1 {
    font-size: 2.2rem;
  }
  .kit-selector-grid {
    grid-template-columns: 1fr;
  }
  .qty-selector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-summary-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 1.25rem 0.85rem !important;
    margin-top: 1.5rem !important;
  }
  .summary-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    font-size: 0.88rem !important;
    margin-bottom: 0.75rem !important;
    gap: 0.5rem !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .summary-row span:first-child {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.35 !important;
  }
  .summary-row span:last-child {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    min-width: max-content !important;
    white-space: nowrap !important;
    text-align: right !important;
    margin-left: auto !important;
    font-variant-numeric: tabular-nums !important;
  }
  .summary-row.total-row {
    align-items: center !important;
  }
  .summary-item-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .summary-item-row span {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.35 !important;
  }
  .summary-item-row strong {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    min-width: max-content !important;
    white-space: nowrap !important;
    text-align: right !important;
    margin-left: auto !important;
    font-variant-numeric: tabular-nums !important;
  }
  .total-price {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem) !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    min-width: max-content !important;
    white-space: nowrap !important;
  }
  .summary-divider {
    margin: 1rem 0 !important;
  }

  .coupon-section {
    padding: 0.85rem 0.75rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .coupon-input-wrapper {
    display: flex !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    align-items: stretch !important;
  }
  #couponCode {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 0 !important;
    padding: 0.55rem 0.5rem !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }
  .btn-apply-coupon {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    min-width: max-content !important;
    white-space: nowrap !important;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.85rem !important;
  }
  #couponBadges {
    max-width: 100% !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .coupon-badge {
    max-width: 100% !important;
    word-break: break-word !important;
    white-space: normal !important;
    font-size: 0.75rem !important;
  }
}



/* Evitar sobreposição de menu e logotipo em telas intermediárias de laptops/tablets */
@media (max-width: 1300px) {
  .mobile-menu-toggle {
    display: flex !important;
  }
  .nav-menu {
    display: none !important;
  }
}

/* ==========================================================================
   ENTRY & EXIT PROMOTIONAL POPUPS
   ========================================================================== */
.promo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 5, 12, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.promo-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.promo-modal-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 480px;
  padding: 3rem 2.5rem;
  position: relative;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-modal-overlay.active .promo-modal-card {
  transform: translateY(0) scale(1);
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--primary-color);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.promo-modal-card h2 {
  font-family: var(--font-titles);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.promo-modal-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.promo-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem;
  transition: color var(--transition-fast);
}

.promo-close-btn:hover {
  color: var(--text-primary);
}

.promo-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.promo-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.promo-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

/* ==========================================================================
   PRÉ-CONSULTA CLINICAL WIZARD FORM
   ========================================================================== */
.preconsulta-container {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.preconsulta-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(13, 71, 161, 0.06) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.preconsulta-progress-wrapper {
  margin-bottom: 3.5rem;
}

.preconsulta-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.preconsulta-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50px;
  overflow: hidden;
}

.preconsulta-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  width: 20%;
  border-radius: 50px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.preconsulta-step {
  display: none;
  animation: fadeInStep 0.4s ease;
}

.preconsulta-step.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.preconsulta-step h2 {
  font-family: var(--font-titles);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.preconsulta-step .step-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.preconsulta-form-group {
  margin-bottom: 1.8rem;
}

.preconsulta-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.preconsulta-form-group input[type="text"],
.preconsulta-form-group input[type="email"],
.preconsulta-form-group input[type="number"],
.preconsulta-form-group select,
.preconsulta-form-group textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.preconsulta-form-group input:focus,
.preconsulta-form-group select:focus,
.preconsulta-form-group textarea:focus {
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-glow);
}

.preconsulta-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Objective grid selector */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.objective-card {
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.objective-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.objective-card.active {
  border-color: var(--primary-color);
  background: rgba(0, 242, 254, 0.05);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.objective-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.objective-card span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.objective-card.active span {
  color: var(--text-primary);
}

.preconsulta-nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 3.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

/* Thank you Screen styling */
.thankyou-screen {
  text-align: center;
  padding: 2rem 0;
}

.thankyou-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.thankyou-screen h2 {
  font-family: var(--font-titles);
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.thankyou-screen p {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

@media (max-width: 768px) {
  .preconsulta-container {
    padding: 2rem;
  }
  .preconsulta-grid-2,
  .objectives-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Quality Assurance & Scientific Standards Section */
.quality-assurance-section {
  padding: 6rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.quality-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.quality-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary-color);
}

.quality-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(13, 71, 161, 0.06);
  border: 1px solid rgba(13, 71, 161, 0.12);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.quality-card h3 {
  font-family: var(--font-titles);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.quality-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .quality-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Hide payment methods in footer */
.payment-icons {
  display: none !important;
}

/* Enforce max-width to avoid horizontal scrolling wobble on mobile Safari */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ==========================================================================
   FLOATING AI CHAT WIDGET
   ========================================================================== */
.faq-chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  font-family: var(--font-body);
}

.faq-chat-toggle {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
  border: none;
  padding: 0.9rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(13, 71, 161, 0.2);
  transition: all var(--transition-medium);
}

.faq-chat-toggle:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(13, 71, 161, 0.3);
}

.faq-chat-toggle i {
  width: 18px;
  height: 18px;
  animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 1; }
}

.faq-chat-panel {
  position: absolute;
  bottom: 4.5rem;
  right: 0;
  width: 380px;
  height: 520px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(13, 71, 161, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all var(--transition-medium) cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-chat-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.faq-chat-header {
  padding: 1.2rem;
  background: rgba(13, 71, 161, 0.03);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.faq-chat-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(13, 71, 161, 0.08);
  border: 1px solid rgba(13, 71, 161, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.faq-chat-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
}

.faq-chat-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.faq-chat-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.2rem;
  transition: color var(--transition-fast);
}

.faq-chat-close:hover {
  color: var(--text-primary);
}

.faq-chat-messages {
  flex: 1;
  padding: 1.2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-chat-message {
  max-width: 80%;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.faq-chat-message.bot {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-secondary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border-color);
}

.faq-chat-message.user {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.08), rgba(2, 136, 209, 0.08));
  color: var(--text-primary);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  border: 1px solid rgba(13, 71, 161, 0.15);
}

.faq-chat-message p {
  margin: 0 0 0.5rem;
}

.faq-chat-message p:last-child {
  margin-bottom: 0;
}

.faq-chat-message strong {
  color: var(--primary-color);
}

.faq-chat-suggestions {
  padding: 0.6rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: rgba(15, 23, 42, 0.015);
  border-top: 1px solid var(--border-color);
}

.faq-suggestion-btn {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-secondary);
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-suggestion-btn:hover {
  background: rgba(13, 71, 161, 0.06);
  border-color: rgba(13, 71, 161, 0.2);
  color: var(--primary-color);
}

.faq-chat-input-area {
  padding: 1rem;
  background: rgba(15, 23, 42, 0.02);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  gap: 0.6rem;
}

.faq-chat-input-area input {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  color: var(--text-primary);
  padding: 0.7rem 1.2rem;
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.faq-chat-input-area input:focus {
  border-color: var(--primary-color);
}

.faq-chat-input-area button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-chat-input-area button:hover {
  transform: scale(1.05);
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.8rem;
}
.typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@media (max-width: 480px) {
  .faq-chat-panel {
    width: calc(100vw - 2rem);
    right: -1rem;
    height: 450px;
  }
  .faq-chat-toggle span {
    display: none;
  }
}

/* Fallback Unicode para ícones se a biblioteca Lucide falhar ao carregar */
i[data-lucide="menu"]:empty::before {
  content: "☰";
  font-size: 1.4rem;
  font-weight: bold;
  display: inline-block;
}
i[data-lucide="shopping-cart"]:empty::before {
  content: "🛒";
  font-size: 1.2rem;
  display: inline-block;
}
i[data-lucide="user"]:empty::before {
  content: "👤";
  font-size: 1.2rem;
  display: inline-block;
}
i[data-lucide="search"]:empty::before {
  content: "🔍";
  font-size: 1.1rem;
  display: inline-block;
}
i[data-lucide="package-search"]:empty::before {
  content: "📦";
  font-size: 1.1rem;
  display: inline-block;
}
i[data-lucide="arrow-right"]:empty::before {
  content: "➔";
  font-size: 1rem;
  display: inline-block;
}
i[data-lucide="x"]:empty::before {
  content: "✕";
  font-size: 1.2rem;
  font-weight: bold;
  display: inline-block;
}
/* ============================================================
   MOBILE: 430px breakpoint — iPhones modernos (14, 15 Pro)
   ============================================================ */
@media (max-width: 768px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }

  *, *::before, *::after {
    box-sizing: border-box;
  }

  /* Modals responsivos no mobile */
  .promo-modal-card {
    padding: 1.5rem 1rem !important;
    max-width: calc(100vw - 2rem) !important;
    width: calc(100vw - 2rem) !important;
    box-sizing: border-box !important;
    margin: 1rem auto !important;
  }

  /* Prevent iOS auto-zoom when focusing any input/select/textarea */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Smooth scroll in drawers/lists on iOS */
  .cart-items-list, .nav-menu, .product-grid {
    -webkit-overflow-scrolling: touch;
  }

  /* Ensure no element wider than viewport */
  img, video, iframe, table {
    max-width: 100%;
  }

  /* Expand Cart Drawer Quantity Buttons to 44x44px Touch Targets */
  .cart-item-actions {
    height: 44px !important;
  }
  .qty-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.3rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .qty-num {
    font-size: 1rem !important;
    width: 32px !important;
  }
}


@media (max-width: 430px) {
  /* iPhones modernos (14, 15, SE 3a geracao) */
  .container {
    padding: 0 1rem;
  }

  /* Hero */
  .hero-content h1 { font-size: 1.65rem !important; }
  .hero-content p   { font-size: 0.9rem !important; }

  /* Product cards em grid de 1 coluna se muito pequeno */
  .product-grid {
    grid-template-columns: 1fr !important;
  }

  /* Cart drawer mais compacto */
  .cart-drawer {
    width: 100vw !important;
    right: 0 !important;
    border-radius: 0 !important;
  }

  /* Botoes de compra full-width */
  .kit-buy-btn, .hero-btn, .cta-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Nav menu com fonte menor */
  .nav-menu .nav-link {
    font-size: 0.82rem;
  }

  /* Announcement bar compacto */
  .announcement-bar {
    font-size: 0.78rem;
    padding: 0.4rem 1rem;
  }
}

@media (max-width: 380px) {
  /* Telas bem pequenas — iPhone SE 1a/2a geracao */
  .hero-content h1 { font-size: 1.45rem !important; }
  .product-card {
    border-radius: 12px;
  }
}

/* Evita auto-zoom no Safari móvel padronizando o tamanho de fonte de todos os inputs */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="search"],
select,
textarea {
  font-size: 16px !important;
}

/* Garante o reset de overflow horizontal globalmente e incondicionalmente */
html, body {
  width: 100%;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

/* Floating WhatsApp Widget Component */
.whatsapp-float-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body), sans-serif;
  text-decoration: none;
}

.whatsapp-float-tooltip {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(37, 211, 102, 0.4);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 14px;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
  animation: floatTooltipFade 0.5s ease-out;
  max-width: 230px;
}

.whatsapp-float-tooltip .status-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #25d366;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.whatsapp-float-tooltip .status-dot {
  width: 7px;
  height: 7px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 0 8px #25d366;
  animation: pulseDot 1.5s infinite;
}

.whatsapp-float-tooltip .msg-text {
  font-size: 0.82rem;
  color: #f1f5f9;
  font-weight: 500;
  line-height: 1.3;
}

.whatsapp-float-btn {
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  flex-shrink: 0;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  background: #20ba56;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulseWave 2s infinite;
}

@keyframes pulseWave {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@keyframes floatTooltipFade {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 600px) {
  .whatsapp-float-container {
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-float-tooltip {
    display: none;
  }
  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
  }
}
