/* ===== CertPeptides — Custom Styles ===== */
:root {
  --primary: #003087;
  --primary-dark: #001f5c;
  --accent: #00A4FF;
  --accent-light: #e6f6ff;
  --white: #FFFFFF;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

/* BASE */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

/* AGE GATE */
.age-gate {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0, 20, 60, 0.97);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.age-gate-box {
  background: var(--primary-dark);
  border: 2px solid var(--accent);
  border-radius: var(--radius-xl);
  max-width: 560px; width: 100%;
  padding: 3rem 2.5rem;
  text-align: center; color: var(--white);
  box-shadow: 0 0 60px rgba(0, 164, 255, 0.2);
}
.age-gate-box h1 {
  font-size: 1.75rem; font-weight: 800; margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.age-gate-box p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.75rem; color: #c8d6e5; }
.age-gate-box ul { text-align: left; margin: 1rem 0 1.5rem 1.25rem; color: #c8d6e5; font-size: 0.93rem; line-height: 1.8; }
.age-gate-box ul li { margin-bottom: 0.25rem; }
.age-gate-buttons { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.btn-agree {
  background: var(--success); color: var(--white);
  padding: 0.875rem 2.25rem; border: none; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-agree:hover { background: #15803d; transform: translateY(-1px); }
.btn-exit {
  background: var(--danger); color: var(--white);
  padding: 0.875rem 2.25rem; border: none; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-exit:hover { background: #b91c1c; transform: translateY(-1px); }

/* ANNOUNCEMENT BAR */
.announcement-bar {
  background: var(--primary); color: var(--white);
  text-align: center; padding: 0.5rem 1rem;
  font-size: 0.813rem; font-weight: 500; letter-spacing: 0.03em;
}

/* NAVBAR */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 56px;
}
.logo {
  font-size: 1.5rem; font-weight: 800; color: var(--primary);
  letter-spacing: -0.03em; display: flex; align-items: center; gap: 0.5rem;
  margin-left: -0.5rem;
  margin-right: 3rem;
}
.logo-video {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-links a {
  color: var(--gray-700); font-size: 0.875rem; font-weight: 500;
  padding: 0.5rem 0.75rem; border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--accent-light); color: var(--primary);
}
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-cart {
  position: relative; color: var(--gray-700); cursor: pointer;
  padding: 0.5rem; border-radius: 50%; transition: background 0.2s;
}
.nav-cart:hover { background: var(--gray-100); }
.cart-badge {
  position: absolute; top: -2px; right: -2px;
  background: var(--danger); color: white;
  font-size: 0.625rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.5rem; color: var(--gray-700);
}
.mobile-menu {
  display: none; background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 1rem 1.5rem;
}
.mobile-menu a {
  display: block; padding: 0.75rem 0; color: var(--gray-700);
  font-size: 0.95rem; font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu.open { display: block; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #001a4d 60%, #000d33 100%);
  color: var(--white); padding: 5rem 1.5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300A4FF' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero h1 {
  font-size: 2.75rem; font-weight: 800; line-height: 1.15;
  letter-spacing: -0.03em; margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.1rem; color: #a8c4e0; margin-bottom: 2rem; line-height: 1.7; }
.hero-badges {
  display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.hero-badge {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
}
.hero-badge svg { width: 20px; height: 20px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: var(--white);
  padding: 0.875rem 2rem; border: none; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 700; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none;
}
.btn-primary:hover { background: #0090e0; transform: translateY(-1px); box-shadow: var(--shadow-lg); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--white);
  padding: 0.875rem 2rem; border: 2px solid rgba(255,255,255,0.3); border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.hero-image {
  display: flex; align-items: center; justify-content: center;
}
.hero-image-placeholder {
  width: 100%; max-width: 480px; aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(0,164,255,0.15), rgba(0,48,135,0.3));
  border-radius: var(--radius-xl); border: 2px solid rgba(0,164,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: rgba(0,164,255,0.4);
}
.hero-video {
  width: 100%; max-width: 403px;
  border-radius: var(--radius-xl);
  display: block;
  object-fit: contain;
}
@media (max-width: 768px) {
  .hero { padding: 3rem 1.5rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2rem; }
  .hero-badges { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-image { display: none; }
}

/* SECTIONS */
.section {
  padding: 5rem 1.5rem;
  max-width: 1280px; margin: 0 auto;
}
.section-alt { background: var(--gray-50); }
.section-blue { background: var(--primary); color: var(--white); }
.section-title {
  font-size: 2rem; font-weight: 800; color: var(--primary);
  letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.section-blue .section-title { color: var(--white); }
.section-subtitle {
  color: var(--gray-500); font-size: 1.05rem; margin-bottom: 3rem;
}
.section-blue .section-subtitle { color: #a8c4e0; }
.text-center { text-align: center; }

/* PRODUCT CARDS */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  background: var(--accent); color: var(--white);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  padding: 0.25rem 0.625rem; border-radius: 999px; letter-spacing: 0.05em;
}
.product-image {
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--gray-300); position: relative;
}
.product-image .quick-view {
  position: absolute; inset: 0;
  background: rgba(0,48,135,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.product-card:hover .quick-view { opacity: 1; }
.product-main-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  margin: 0 auto;
}
.quick-view span {
  background: var(--white); color: var(--primary);
  padding: 0.5rem 1.25rem; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 600;
}
.product-info { padding: 1.25rem; }
.product-info h3 {
  font-size: 1rem; font-weight: 700; color: var(--gray-800);
  margin-bottom: 0.25rem;
}
.product-info .product-cat {
  font-size: 0.75rem; color: var(--accent); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.product-info .product-desc {
  font-size: 0.85rem; color: var(--gray-500); margin-bottom: 0.75rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-price {
  font-size: 1.125rem; font-weight: 800; color: var(--primary);
}
.product-price .from { font-size: 0.8rem; font-weight: 500; color: var(--gray-500); }
.product-actions { padding: 0 1.25rem 1.25rem; display: flex; gap: 0.5rem; }
.btn-add-cart {
  flex: 1; background: var(--primary); color: var(--white);
  border: none; padding: 0.625rem; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s;
}
.btn-add-cart:hover { background: var(--primary-dark); }

/* CATEGORIES GRID */
.categories-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.category-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg); padding: 2rem 1.5rem;
  color: var(--white); text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none; display: block;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); color: var(--white); }
.category-card .cat-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.category-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.category-card p { font-size: 0.85rem; color: #a8c4e0; }

/* WHY CHOOSE US */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.feature-card {
  text-align: center; padding: 2rem 1.5rem;
}
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 1.25rem;
  background: var(--accent-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.5rem;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-800); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--gray-500); }

/* TESTIMONIALS */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: var(--warning); margin-bottom: 0.75rem; font-size: 1rem; letter-spacing: 0.1em; }
.testimonial-card p { font-size: 0.93rem; color: var(--gray-600); margin-bottom: 1rem; font-style: italic; line-height: 1.7; }
.testimonial-author { font-size: 0.85rem; font-weight: 700; color: var(--gray-800); }
.testimonial-role { font-size: 0.8rem; color: var(--gray-400); }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white); padding: 4rem 1.5rem; text-align: center;
}
.cta-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.cta-banner p { font-size: 1.05rem; color: #a8c4e0; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* FOOTER */
.footer {
  background: var(--gray-900); color: var(--gray-400);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1rem; }
.footer h4 {
  color: var(--white); font-size: 0.875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { color: var(--gray-400); font-size: 0.875rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1280px; margin: 2rem auto 0;
  padding-top: 2rem; border-top: 1px solid var(--gray-800);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: 0.8rem;
}
.payment-icons { display: flex; gap: 0.75rem; align-items: center; }
.payment-icons span {
  background: var(--gray-800); padding: 0.35rem 0.75rem;
  border-radius: var(--radius); font-size: 0.7rem; font-weight: 600; color: var(--gray-400);
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white); padding: 3.5rem 1.5rem; text-align: center;
}
.page-header h1 { font-size: 2.25rem; font-weight: 800; margin-bottom: 0.5rem; }
.page-header p { font-size: 1rem; color: #a8c4e0; }
.breadcrumb {
  display: flex; gap: 0.5rem; justify-content: center; align-items: center;
  font-size: 0.85rem; margin-bottom: 1rem; color: #a8c4e0;
}
.breadcrumb a { color: var(--accent); }

/* PRODUCT DETAIL */
.product-detail {
  max-width: 1280px; margin: 0 auto; padding: 3rem 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}
.product-gallery {
  background: var(--gray-50); border-radius: var(--radius-lg);
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: var(--gray-300); border: 1px solid var(--gray-200);
}
.product-detail-info h1 { font-size: 1.75rem; font-weight: 800; color: var(--gray-900); margin-bottom: 0.5rem; }
.product-detail-info .detail-cat {
  font-size: 0.8rem; color: var(--accent); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem;
}
.product-detail-info .detail-price {
  font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 1.5rem;
}
.product-detail-info .detail-desc { color: var(--gray-600); line-height: 1.8; margin-bottom: 1.5rem; }
.detail-meta { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.detail-meta span { font-size: 0.875rem; color: var(--gray-500); display: flex; align-items: center; gap: 0.5rem; }
.detail-meta span svg { color: var(--success); }
.quantity-selector {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem;
}
.quantity-selector button {
  width: 40px; height: 40px; border: 1px solid var(--gray-300);
  background: var(--white); border-radius: var(--radius); cursor: pointer;
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
}
.quantity-selector input {
  width: 60px; height: 40px; text-align: center; border: 1px solid var(--gray-300);
  border-radius: var(--radius); font-size: 1rem; font-weight: 600;
}
.btn-add-cart-lg {
  background: var(--primary); color: var(--white);
  padding: 1rem 2.5rem; border: none; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: background 0.2s; width: 100%;
}
.btn-add-cart-lg:hover { background: var(--primary-dark); }
.product-tabs { margin-top: 2rem; }
.tabs-nav { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); }
.tabs-nav button {
  padding: 0.75rem 1.5rem; background: none; border: none;
  font-size: 0.9rem; font-weight: 600; color: var(--gray-500);
  cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: all 0.2s;
}
.tabs-nav button.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { padding: 1.5rem 0; color: var(--gray-600); line-height: 1.8; display: none; }
.tab-panel.active { display: block; }
@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; }
}

/* FORMS */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.875rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 0.375rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  font-size: 0.95rem; font-family: inherit; color: var(--gray-800);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,164,255,0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-success {
  background: #dcfce7; border: 1px solid #86efac; color: #166534;
  padding: 1rem 1.25rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem; display: none;
}
.form-success.show { display: block; }

/* CONTENT PAGE */
.content-page {
  max-width: 860px; margin: 0 auto; padding: 3rem 1.5rem;
}
.content-page h2 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin: 2rem 0 0.75rem; }
.content-page h3 { font-size: 1.2rem; font-weight: 700; color: var(--gray-800); margin: 1.5rem 0 0.5rem; }
.content-page p { color: var(--gray-600); line-height: 1.8; margin-bottom: 1rem; }
.content-page ul, .content-page ol { margin: 0.5rem 0 1rem 1.5rem; color: var(--gray-600); }
.content-page li { margin-bottom: 0.5rem; line-height: 1.7; }
.content-page table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
}
.content-page th, .content-page td {
  padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--gray-200);
}
.content-page th { font-weight: 700; color: var(--gray-800); background: var(--gray-50); }

/* BLOG CARDS */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.blog-image {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-300); font-size: 2rem;
}
.blog-content { padding: 1.5rem; }
.blog-meta { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 0.5rem; }
.blog-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 0.5rem; }
.blog-content p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 1rem; }
.blog-link { font-size: 0.875rem; font-weight: 600; color: var(--accent); }

/* COA TABLE */
.coa-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.coa-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  transition: box-shadow 0.2s;
}
.coa-card:hover { box-shadow: var(--shadow-md); }
.coa-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--accent-light); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.coa-info h3 { font-size: 0.95rem; font-weight: 700; color: var(--gray-800); }
.coa-info p { font-size: 0.8rem; color: var(--gray-500); }
.coa-info a { font-size: 0.85rem; font-weight: 600; }

/* FILTER BAR */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem;
}
.filter-bar select {
  padding: 0.5rem 1rem; border: 1px solid var(--gray-300);
  border-radius: var(--radius); font-size: 0.875rem;
  color: var(--gray-700); background: var(--white);
}
.result-count { font-size: 0.9rem; color: var(--gray-500); }

/* NOTIFICATION TOAST */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: var(--primary); color: var(--white);
  padding: 1rem 1.5rem; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600;
  box-shadow: var(--shadow-xl);
  transform: translateY(100px); opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* SCROLL TO TOP */
.scroll-top {
  position: fixed; bottom: 2rem; left: 2rem; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  border: none; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  box-shadow: var(--shadow-lg);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: scale(1.1); }

/* SCHEMA / SEO HIDDEN */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ANIMATIONS */
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.5s ease-out both; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* UTILITY */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; } }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* NAV ACCOUNT ICON */
.nav-account {
  color: var(--gray-700); padding: 0.5rem; border-radius: 50%;
  transition: background 0.2s, color 0.2s; display: flex; align-items: center;
}
.nav-account:hover, .nav-account.active {
  background: var(--accent-light); color: var(--primary);
}

/* ACCOUNT PAGE */
.account-container {
  max-width: 520px; margin: 0 auto;
}
.account-tabs {
  display: flex; border-bottom: 2px solid var(--gray-200); margin-bottom: 2rem;
}
.account-tab {
  flex: 1; padding: 0.875rem 1rem; background: none; border: none;
  font-size: 0.95rem; font-weight: 600; color: var(--gray-500);
  cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: all 0.2s; text-align: center;
}
.account-tab:hover { color: var(--gray-700); }
.account-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.account-panel { display: none; }
.account-panel.active { display: block; }
.checkbox-label {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.875rem; color: var(--gray-600); cursor: pointer; line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--primary);
}
.forgot-link {
  font-size: 0.85rem; color: var(--accent); font-weight: 500;
}
.forgot-link:hover { color: var(--primary); }
.account-benefits {
  margin-top: 2.5rem; padding: 2rem; background: var(--gray-50);
  border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
}
.account-benefits h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--gray-800);
  margin-bottom: 1rem;
}
.account-benefits ul { list-style: none; }
.account-benefits li {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 0; font-size: 0.9rem; color: var(--gray-600);
}
.account-benefits li svg { color: var(--accent); flex-shrink: 0; }

/* MORE INFO SECTION (Product Pages) */
.more-info-section { padding: 0; }
.more-info-section h2 {
  font-size: 1.5rem; font-weight: 800; color: var(--primary);
  margin-bottom: 1.5rem; text-align: center;
}
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}
.info-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
}
.info-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.info-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; }
.info-card ul {
  list-style: disc; padding-left: 1.25rem;
  font-size: 0.9rem; color: var(--gray-600); line-height: 1.8;
}
.info-card.important-card {
  background: #fef3c7; border-color: #f59e0b;
}
.info-card.important-card h3 { color: #92400e; }
.info-card.important-card p { color: #78350f; font-weight: 500; }

/* MORE INFO LINK (Product Cards) */
.more-info-link {
  display: inline-block; font-size: 0.82rem; font-weight: 600;
  color: var(--accent); margin-bottom: 0.35rem;
  transition: color 0.2s;
}
.more-info-link:hover { color: var(--primary); }

/* Quick-view as link (More Info overlay) */
a.quick-view { text-decoration: none; }

/* ═══════════════════════════════════════════
   SHOPPING CART DRAWER
   ═══════════════════════════════════════════ */

/* Overlay */
.cart-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.3s ease;
}
.cart-overlay.active {
  background: rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}

/* Drawer */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 92vw;
  z-index: 10001;
  background: var(--white);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.active { transform: translateX(0); }

/* Header */
.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.cart-drawer-header h3 {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.1rem; font-weight: 700; color: var(--gray-900);
  margin: 0;
}
.cart-drawer-close {
  background: none; border: none; color: var(--gray-500);
  cursor: pointer; padding: 0.35rem; border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.cart-drawer-close:hover { background: var(--gray-200); color: var(--gray-900); }

/* Body */
.cart-drawer-body {
  flex: 1; overflow-y: auto; padding: 0;
}

/* Empty state */
.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  padding: 3rem 2rem; height: 100%;
}
.cart-empty p {
  font-size: 1rem; color: var(--gray-500); margin-bottom: 1.25rem;
}
.btn-continue-shopping {
  display: inline-block; padding: 0.65rem 1.75rem;
  background: var(--primary); color: var(--white);
  border-radius: var(--radius); font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: background 0.2s;
}
.btn-continue-shopping:hover { background: var(--primary-dark); color: var(--white); }

/* Cart items */
.cart-item {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.15s;
}
.cart-item:hover { background: var(--gray-50); }
.cart-item-img {
  width: 68px; height: 68px; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name {
  display: block; font-size: 0.88rem; font-weight: 600;
  color: var(--gray-800); text-decoration: none;
  line-height: 1.3; margin-bottom: 0.2rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-item-name:hover { color: var(--accent); }
.cart-item-price { font-size: 0.8rem; color: var(--gray-500); margin-bottom: 0.4rem; }
.cart-item-qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden;
}
.cart-qty-btn {
  background: none; border: none; cursor: pointer;
  padding: 0.25rem 0.6rem; font-size: 0.95rem; font-weight: 700;
  color: var(--gray-600); transition: background 0.15s;
}
.cart-qty-btn:hover { background: var(--gray-100); }
.cart-qty-val {
  padding: 0.2rem 0.5rem; font-size: 0.85rem; font-weight: 600;
  color: var(--gray-800); min-width: 1.75rem; text-align: center;
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
}
.cart-item-right {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 0.5rem; flex-shrink: 0;
}
.cart-item-total {
  font-size: 0.9rem; font-weight: 700; color: var(--gray-900);
}
.cart-item-remove {
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); padding: 0.2rem;
  border-radius: var(--radius); transition: color 0.2s, background 0.2s;
}
.cart-item-remove:hover { color: var(--danger); background: #fef2f2; }

/* Footer */
.cart-drawer-footer {
  border-top: 1px solid var(--gray-200);
  padding: 1rem 1.5rem 1.25rem;
  background: var(--gray-50);
}
.cart-ship-bar {
  height: 4px; background: var(--gray-200); border-radius: 2px;
  margin-bottom: 0.4rem; overflow: hidden;
}
.cart-ship-progress {
  height: 100%; background: var(--accent);
  border-radius: 2px; transition: width 0.4s ease;
}
.cart-ship-msg {
  font-size: 0.78rem; color: var(--gray-500);
  text-align: center; margin-bottom: 0.75rem;
}
.cart-ship-free { color: var(--success); font-weight: 600; }
.cart-subtotal-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.85rem;
}
.cart-subtotal-row span:first-child {
  font-size: 0.95rem; font-weight: 600; color: var(--gray-700);
}
.cart-subtotal-val {
  font-size: 1.15rem; font-weight: 800; color: var(--gray-900);
}
.btn-view-cart {
  display: block; text-align: center;
  padding: 0.7rem; margin-bottom: 0.5rem;
  border: 2px solid var(--primary); border-radius: var(--radius);
  color: var(--primary); font-weight: 700; font-size: 0.9rem;
  text-decoration: none; transition: all 0.2s;
}
.btn-view-cart:hover {
  background: var(--primary); color: var(--white);
}
.btn-checkout {
  display: block; text-align: center;
  padding: 0.75rem; margin-bottom: 0.5rem;
  background: var(--primary); border-radius: var(--radius);
  color: var(--white); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; transition: background 0.2s;
}
.btn-checkout:hover { background: var(--primary-dark); color: var(--white); }
.btn-continue-link {
  display: block; text-align: center;
  font-size: 0.82rem; color: var(--gray-500);
  text-decoration: none; transition: color 0.2s;
}
.btn-continue-link:hover { color: var(--primary); }

/* ═══════════ Cart Toast ═══════════ */
.cart-toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  z-index: 10002;
  background: var(--gray-900); color: var(--white);
  padding: 0.85rem 1.25rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex; align-items: center; gap: 0.65rem;
  transform: translateY(1rem); opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-size: 0.88rem; font-weight: 500;
}
.cart-toast.show { transform: translateY(0); opacity: 1; }
.cart-toast-btn {
  background: none; border: none; cursor: pointer;
  color: var(--accent); font-weight: 700; font-size: 0.85rem;
  white-space: nowrap; padding: 0; margin-left: 0.25rem;
  text-decoration: underline;
}
.cart-toast-btn:hover { color: #fff; }

/* ═══════════ Add-to-Cart Button Animation ═══════════ */
.btn-add-cart { transition: background 0.3s, transform 0.15s; }
.btn-add-cart:active { transform: scale(0.96); }
.btn-add-cart.btn-added {
  background: var(--success) !important;
  color: var(--white) !important;
  pointer-events: none;
}

/* ═══════════ Cart Badge ═══════════ */
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--danger); color: var(--white);
  font-size: 0.65rem; font-weight: 800;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  line-height: 1;
}

/* ═══════════ Nav Cart cursor ═══════════ */
.nav-cart { cursor: pointer; position: relative; }

/* ═══════════ Cart Page ═══════════ */
.cart-page { padding: 2rem 0 5rem; }
.cart-page .container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* Empty state */
.cart-empty-page {
  text-align: center; padding: 5rem 2rem;
}
.cart-empty-page svg { display: block; margin: 0 auto 1.25rem; }
.cart-empty-page h2 { font-size: 1.5rem; font-weight: 700; color: var(--gray-800); margin-bottom: 0.5rem; }
.cart-empty-page p { color: var(--gray-500); font-size: 1.05rem; margin-bottom: 1.5rem; }

/* Layout: items + summary side-by-side */
.cart-page-layout {
  display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start;
}

/* Items Column */
.cart-page-items { min-width: 0; }

.cart-page-header-row {
  display: grid; grid-template-columns: 1fr 90px 100px 90px 40px;
  gap: 1rem; align-items: center;
  padding: 0.75rem 0; border-bottom: 2px solid var(--gray-200);
  font-size: 0.8rem; font-weight: 600; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: 0.04em;
}

.cart-page-item {
  display: grid; grid-template-columns: 1fr 90px 100px 90px 40px;
  gap: 1rem; align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.15s;
}
.cart-page-item:hover { background: var(--gray-50); }

.cart-col-product { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.cart-page-item-img {
  width: 72px; height: 72px; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.cart-page-item-info { min-width: 0; }
.cart-page-item-name {
  display: block; font-weight: 600; font-size: 0.95rem; color: var(--gray-800);
  text-decoration: none; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cart-page-item-name:hover { color: var(--accent); }
.cart-page-item-id {
  font-size: 0.75rem; color: var(--gray-400); margin-top: 0.15rem; display: block;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.cart-col-price { font-size: 0.95rem; color: var(--gray-600); text-align: center; }
.cart-col-total { font-weight: 700; font-size: 1rem; color: var(--gray-900); text-align: center; }
.cart-col-remove { text-align: center; }

/* Qty controls */
.cart-page-qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden;
}
.cart-page-qty-btn {
  background: none; border: none; cursor: pointer;
  padding: 0.4rem 0.65rem; font-weight: 700; font-size: 1rem;
  color: var(--gray-600); transition: background 0.15s;
}
.cart-page-qty-btn:hover { background: var(--gray-100); }
.cart-page-qty-val {
  padding: 0.3rem 0.6rem; font-weight: 600; font-size: 0.9rem;
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  min-width: 2rem; text-align: center;
}

/* Remove button */
.cart-page-remove {
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); padding: 0.25rem;
  border-radius: var(--radius); transition: color 0.15s, background 0.15s;
}
.cart-page-remove:hover { color: var(--danger); background: rgba(239,68,68,0.08); }

/* Actions row */
.cart-page-actions {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; gap: 1rem;
}
.btn-clear-cart {
  background: none; border: 1px solid var(--gray-200); color: var(--gray-500);
  padding: 0.5rem 1rem; border-radius: var(--radius); font-size: 0.85rem;
  font-weight: 600; cursor: pointer; transition: all 0.15s;
}
.btn-clear-cart:hover { border-color: var(--danger); color: var(--danger); }

/* Summary Column */
.cart-summary {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 1.75rem;
  position: sticky; top: 6rem;
}
.cart-summary h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--gray-800);
  margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--gray-200);
}
.cart-summary .cart-ship-bar { margin-bottom: 0.5rem; }
.cart-summary .cart-ship-msg { margin-bottom: 1rem; }
.cart-summary-row {
  display: flex; justify-content: space-between;
  padding: 0.5rem 0; font-size: 0.95rem; color: var(--gray-600);
}
.cart-summary-total {
  border-top: 2px solid var(--gray-200);
  margin-top: 0.5rem; padding-top: 0.75rem;
  font-size: 1.2rem; font-weight: 800; color: var(--gray-900);
}
.btn-checkout-page {
  display: block; width: 100%; margin-top: 1.25rem; padding: 0.9rem;
  background: var(--accent); color: #fff; border: none; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-checkout-page:hover { background: var(--accent-hover); transform: translateY(-1px); }
.cart-summary-note {
  display: flex; align-items: center; gap: 0.4rem; justify-content: center;
  margin-top: 1rem; font-size: 0.78rem; color: var(--gray-400);
}

/* ── Discount ── */
.cart-discount-row {
  color: var(--success); font-weight: 500;
}
.cart-discount-row .discount-amount {
  color: var(--success); font-weight: 700;
}
.discount-badge {
  display: inline-block; background: var(--success); color: #fff;
  font-size: 0.68rem; padding: 2px 7px; border-radius: 3px;
  font-weight: 700; letter-spacing: 0.5px; vertical-align: middle;
  margin-right: 0.15rem;
}
.cart-discount-note {
  text-align: center; font-size: 0.82rem; font-weight: 600;
  color: var(--success); margin-top: 0.75rem;
  padding: 0.5rem; background: rgba(22,163,74,0.08);
  border-radius: var(--radius); border: 1px solid rgba(22,163,74,0.2);
}
.cart-discount-hint {
  font-size: 0.8rem; color: var(--success); font-weight: 500;
  margin: 0.5rem 0 0.25rem;
}

/* ── Shipping Method Selector ── */
.ship-select-label {
  font-size: 0.85rem; font-weight: 700; color: var(--gray-700);
  margin: 1rem 0 0.5rem; padding-top: 0.75rem;
  border-top: 1px solid var(--gray-200);
}
.ship-options {
  display: flex; flex-direction: column; gap: 0.4rem;
  margin-bottom: 1rem;
}
.ship-option {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.75rem; border-radius: var(--radius);
  border: 1.5px solid var(--gray-200); background: var(--white);
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.ship-option:hover { border-color: var(--accent); }
.ship-option-active {
  border-color: var(--accent); background: rgba(0,164,255,0.04);
}
.ship-option input[type="radio"] {
  accent-color: var(--accent); width: 16px; height: 16px;
  margin: 0; flex-shrink: 0;
}
.ship-option-info {
  flex: 1; display: flex; flex-direction: column; line-height: 1.3;
}
.ship-option-name {
  font-size: 0.82rem; font-weight: 600; color: var(--gray-800);
}
.ship-option-est {
  font-size: 0.72rem; color: var(--gray-400);
}
.ship-option-cost {
  font-size: 0.85rem; font-weight: 700; color: var(--gray-700);
  white-space: nowrap;
}
.ship-free-tag {
  color: var(--success); font-weight: 700; font-size: 0.82rem;
}
.cart-ship-options-hint {
  font-size: 0.72rem; color: var(--gray-400); margin-top: 0.25rem;
}

/* Mobile responsive */
@media (max-width: 900px) {
  .cart-page-layout { grid-template-columns: 1fr; gap: 2rem; }
  .cart-summary { position: static; max-width: 100%; }
}
@media (max-width: 640px) {
  .cart-drawer { width: 100%; max-width: 100%; }
  .cart-page-header-row { display: none; }
  .cart-page-item {
    grid-template-columns: 60px 1fr auto;
    gap: 0.75rem;
  }
  .cart-col-price { display: none; }
  .cart-col-qty { grid-column: 2; }
  .cart-col-total { text-align: right; }
  .cart-col-remove { grid-row: 1; grid-column: 3; }
  .cart-page-item-img { width: 60px; height: 60px; }
}

/* ═══════════════════════════════════════════
   X / TWITTER SOCIAL PRESENCE
   ═══════════════════════════════════════════ */

/* ── Announcement Bar X Link ── */
.announcement-x {
  color: var(--white) !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,0.12);
  padding: 0.12rem 0.65rem;
  border-radius: 1rem;
  transition: background 0.2s;
  vertical-align: middle;
}
.announcement-x:hover { background: rgba(255,255,255,0.25); color: var(--white) !important; }
.announcement-x svg { flex-shrink: 0; fill: currentColor; }

/* ── Navbar X Icon ── */
.nav-x {
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600);
  padding: 0.5rem; border-radius: 50%;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.nav-x:hover { color: var(--gray-900); background: var(--gray-100); transform: scale(1.1); }

/* ── Mobile Menu Social Link ── */
.mobile-social-link {
  display: flex !important; align-items: center; gap: 0.5rem;
  padding: 0.75rem 0 !important;
  color: var(--accent) !important;
  font-weight: 600 !important;
  border-top: 1px solid var(--gray-200) !important;
  border-bottom: none !important;
  margin-top: 0.5rem;
}
.mobile-social-link svg { flex-shrink: 0; fill: currentColor; }

/* ── Footer Social ── */
.footer-social { margin-top: 1.25rem; }
.footer-x-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--white); fill: var(--white);
  background: rgba(255,255,255,0.07);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-x-link:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.footer-x-link svg { flex-shrink: 0; fill: currentColor; }

/* ── X CTA Section (Homepage) ── */
.x-cta-section {
  background: linear-gradient(135deg, var(--gray-900) 0%, #0a1628 40%, var(--primary-dark) 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.x-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,164,255,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.x-cta-inner {
  max-width: 640px; margin: 0 auto;
  position: relative; z-index: 1;
}
.x-cta-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 88px; height: 88px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.5rem;
  margin-bottom: 1.75rem;
  color: var(--white);
  transition: transform 0.3s;
}
.x-cta-section:hover .x-cta-icon { transform: scale(1.05); }
.x-cta-section h2 {
  font-size: 2.1rem; font-weight: 800; color: var(--white);
  margin-bottom: 1rem; letter-spacing: -0.02em;
}
.x-cta-section h2 strong { color: var(--accent); }
.x-cta-section p {
  font-size: 1.05rem; color: var(--gray-400);
  line-height: 1.75; margin-bottom: 2.25rem;
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.x-cta-btn {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: var(--white); color: var(--gray-900);
  padding: 0.95rem 2.25rem;
  border-radius: 2.5rem;
  font-size: 1.05rem; font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 40px rgba(255,255,255,0.08);
  text-decoration: none;
}
.x-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(255,255,255,0.15);
  color: var(--gray-900);
}
.x-cta-btn svg { flex-shrink: 0; fill: currentColor; }
.x-cta-note {
  display: block;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--gray-500);
}
@media (max-width: 768px) {
  .x-cta-section { padding: 3.5rem 1.5rem; }
  .x-cta-section h2 { font-size: 1.5rem; }
  .x-cta-icon { width: 72px; height: 72px; border-radius: 1.25rem; }
  .x-cta-icon svg { width: 32px; height: 32px; }
}

/* ═══════════════════════════════════════════
   EMAIL NEWSLETTER SIGNUP
   ═══════════════════════════════════════════ */

/* ── Hero Newsletter Strip ── */
.hero-nl {
  background: linear-gradient(135deg, #020c1b 0%, var(--primary-dark) 70%);
  padding: 1.5rem 1.5rem;
}
.hero-nl-inner {
  max-width: 800px; margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; justify-content: center;
}
.hero-nl-icon {
  color: var(--accent); flex-shrink: 0;
}
.hero-nl-text {
  color: rgba(255,255,255,0.9); font-size: 0.92rem; margin: 0;
}
.hero-nl-text strong { color: var(--accent); }
.hero-nl-form {
  display: flex; gap: 0.5rem; flex: 1; min-width: 280px; max-width: 380px;
}
.hero-nl-form input {
  flex: 1; padding: 0.55rem 0.85rem; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08);
  color: #fff; font-size: 0.88rem;
}
.hero-nl-form input::placeholder { color: rgba(255,255,255,0.4); }
.hero-nl-form input:focus {
  outline: none; border-color: var(--accent);
  background: rgba(255,255,255,0.12);
}
.hero-nl-form .nl-btn {
  padding: 0.55rem 1.2rem; font-size: 0.85rem; white-space: nowrap;
}
.hero-nl .nl-success, .hero-nl .nl-error {
  width: 100%; text-align: center;
}
@media (max-width: 640px) {
  .hero-nl-inner { flex-direction: column; text-align: center; }
  .hero-nl-form { min-width: 100%; max-width: 100%; }
}
.hero-nl-confirmed {
  text-align: center; color: rgba(255,255,255,0.75); font-size: 0.82rem;
  margin: 0; padding: 0;
}
.hero-nl-confirmed strong { color: var(--accent); }
.hero-nl:has(.hero-nl-confirmed) { padding: 0.6rem 1.5rem; }

/* ── Homepage Section ── */
.nl-section {
  background: linear-gradient(135deg, #020c1b 0%, var(--primary-dark) 50%, #0a1e3d 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nl-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 30% 50%, rgba(0,164,255,0.08) 0%, transparent 100%),
    radial-gradient(ellipse 500px 300px at 70% 60%, rgba(0,48,135,0.12) 0%, transparent 100%);
  pointer-events: none;
}
.nl-inner {
  max-width: 580px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.nl-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  background: rgba(0,164,255,0.1);
  border: 1px solid rgba(0,164,255,0.2);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}
.nl-section h2 {
  font-size: 1.6rem; font-weight: 800; color: var(--white);
  letter-spacing: -0.02em; margin-bottom: 0.6rem; line-height: 1.3;
}
.nl-section h2 strong { color: var(--accent); }
.nl-section .nl-sub {
  font-size: 1rem; color: var(--gray-400); margin-bottom: 2rem; line-height: 1.7;
}

/* ── Shared form styles ── */
.nl-form {
  display: flex; gap: 0.5rem;
  max-width: 460px; margin: 0 auto;
}
.nl-form input[type="email"] {
  flex: 1;
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}
.nl-form input[type="email"]::placeholder { color: rgba(255,255,255,0.35); }
.nl-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,164,255,0.2);
}
.nl-btn {
  padding: 0.85rem 1.75rem;
  background: var(--accent);
  color: var(--white);
  border: none; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  font-family: inherit;
}
.nl-btn:hover { background: #0090e0; transform: translateY(-1px); }
.nl-btn:disabled {
  opacity: 0.6; cursor: not-allowed; transform: none;
}
.nl-disclaimer {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--gray-500);
}
.nl-success {
  display: none;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 0;
}
.nl-success.show { display: block; }
.nl-error {
  display: none;
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
.nl-error.show { display: block; }

@media (max-width: 520px) {
  .nl-form { flex-direction: column; }
  .nl-btn { width: 100%; }
  .nl-section { padding: 3.5rem 1.5rem; }
  .nl-section h2 { font-size: 1.3rem; }
}

/* ── Footer Newsletter ── */
.footer-nl {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-800);
}
.footer-nl p {
  font-size: 0.82rem !important;
  color: var(--gray-300) !important;
  font-weight: 600;
  margin-bottom: 0.6rem !important;
  line-height: 1.5 !important;
}
.footer-nl .nl-form { max-width: 100%; }
.footer-nl .nl-form input[type="email"] {
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.06);
  border-color: var(--gray-700);
}
.footer-nl .nl-btn {
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
}
.footer-nl .nl-disclaimer { font-size: 0.72rem; color: var(--gray-500); }
.footer-nl .nl-success { font-size: 0.85rem; }
.footer-nl .nl-error { font-size: 0.78rem; }

/* ── Exit-Intent Popup ── */
.nl-popup-overlay {
  position: fixed; inset: 0; z-index: 50000;
  background: rgba(0, 10, 30, 0.85);
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nl-popup-overlay.active {
  display: flex;
  opacity: 1;
}
.nl-popup {
  background: linear-gradient(160deg, #0a1628 0%, var(--primary-dark) 100%);
  border: 1px solid rgba(0,164,255,0.2);
  border-radius: var(--radius-xl);
  max-width: 480px; width: 100%;
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 0 25px 80px rgba(0,0,0,0.5), 0 0 60px rgba(0,164,255,0.1);
  text-align: center;
  animation: popupSlideIn 0.4s ease-out;
}
@keyframes popupSlideIn {
  from { transform: translateY(20px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.nl-popup-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: none; border: none; color: var(--gray-400);
  cursor: pointer; padding: 0.4rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  line-height: 0;
}
.nl-popup-close:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nl-popup .nl-icon { margin-bottom: 1.25rem; }
.nl-popup h3 {
  font-size: 1.35rem; font-weight: 800; color: var(--white);
  margin-bottom: 0.5rem; line-height: 1.3;
}
.nl-popup h3 strong { color: var(--accent); }
.nl-popup .nl-sub {
  font-size: 0.92rem; color: var(--gray-400);
  margin-bottom: 1.75rem; line-height: 1.65;
}
.nl-popup .nl-form { max-width: 100%; }
.nl-popup .nl-disclaimer { color: var(--gray-500); }
.nl-popup .nl-success { color: var(--accent); }
.nl-popup .nl-error { color: #f87171; }
@media (max-width: 520px) {
  .nl-popup { padding: 2rem 1.25rem; }
  .nl-popup h3 { font-size: 1.15rem; }
}
