/* ==========================================================================
   ResearchChem Peptide - Comprehensive E-Commerce Stylesheet
   ========================================================================== */

/* --- 1. CSS Variables & Design Tokens --- */
:root {
  --color-primary-navy: #091b33;
  --color-dark-navy: #061324;
  --color-navy-card: #081d38;
  --color-subnav-navy: #0a1f3c;
  --color-brand-blue: #1652d8;
  --color-brand-blue-hover: #1241b0;
  --color-brand-blue-light: #edf4fe;
  --color-brand-blue-subtle: #f0f6ff;
  
  --color-text-main: #0b1f3b;
  --color-text-muted: #576b85;
  --color-text-light: #899bb3;
  --color-border: #e2e8f0;
  --color-border-card: #e5ebf3;
  --color-bg-light: #f8fafc;
  --color-bg-slate: #f1f5f9;
  --color-white: #ffffff;
  
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(11, 31, 59, 0.06);
  --shadow-lg: 0 12px 28px rgba(11, 31, 59, 0.10);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;
}

/* --- 2. Global Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family-base);
  color: var(--color-text-main);
  background-color: var(--color-white);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--transition-fast);
}

input, button, select, textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.text-center {
  text-align: center;
}

/* --- 3. Top Utility Bar --- */
.top-bar {
  background-color: #f8fafd;
  border-bottom: 1px solid #e5eaf2;
  font-size: 0.75rem; /* 12px */
  color: var(--color-text-muted);
  padding: 6px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.disclaimer-badge {
  display: flex;
  align-items: center;
  gap: 7px;
}

.icon-shield-check {
  width: 15px;
  height: 15px;
  color: #10b981;
}

.disclaimer-badge strong {
  color: #0f274a;
  font-weight: 700;
}

.age-requirement-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  cursor: pointer;
}

.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid #64748b;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  color: #1e293b;
}

.chevron-mini {
  width: 11px;
  height: 11px;
  color: #64748b;
}

/* --- 4. Main Header --- */
.main-header {
  background-color: var(--color-white);
  padding: 14px 0;
  position: relative;
  z-index: 40;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-size: 1.125rem; /* 18px */
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--color-text-main);
}

.logo-subtitle {
  font-size: 0.8125rem; /* 13px */
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-brand-blue);
}

/* Header Search */
.header-search {
  flex: 1;
  max-width: 440px;
}

.header-search form {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search input {
  width: 100%;
  height: 42px;
  padding: 0 46px 0 16px;
  font-size: 0.84rem;
  color: var(--color-text-main);
  background-color: var(--color-white);
  border: 1px solid #d6dfea;
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
}

.header-search input:focus {
  border-color: var(--color-brand-blue);
  box-shadow: 0 0 0 3px rgba(22, 82, 216, 0.12);
}

.header-search input::placeholder {
  color: #94a3b8;
}

.header-search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  border: none;
  background: none;
  padding: 0;
}

.header-search button:hover {
  color: var(--color-brand-blue);
}

/* Actions & Nav */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover {
  color: var(--color-brand-blue);
}

.chevron-down {
  width: 12px;
  height: 12px;
  margin-top: 1px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.action-btn svg {
  width: 20px;
  height: 20px;
  color: #475569;
}

.action-btn:hover {
  color: var(--color-brand-blue);
}

.action-btn:hover svg {
  color: var(--color-brand-blue);
}

.cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--color-brand-blue);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-white);
  transition: transform var(--transition-fast);
}

.cart-badge.bump {
  animation: badgePop 0.3s ease-in-out;
}

@keyframes badgePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 19px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: #0b1f3b;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --- 5. Secondary Navigation Bar (Navy) --- */
.sub-nav {
  background-color: var(--color-primary-navy);
  color: var(--color-white);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.sub-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
}

.sub-nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.categories-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

.categories-btn svg {
  width: 16px;
  height: 16px;
}

.sub-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.sub-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.sub-nav-link:hover, .sub-nav-link.active {
  color: var(--color-white);
}

.sub-nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.trust-perk {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.5px;
}

.trust-perk svg {
  width: 15px;
  height: 15px;
  color: #60a5fa;
}

/* --- 6. Hero Section (Unified Full-Width Banner with Integrated Laboratory & Molecule Visuals) --- */
.hero-section {
  position: relative;
  background-color: #f0f6fd;
  background-image: url('../assets/images/hero-banner.jpg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0 28px;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(240, 246, 253, 0.97) 0%,
    rgba(240, 246, 253, 0.94) 50%,
    rgba(240, 246, 253, 0.80) 75%,
    rgba(240, 246, 253, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 30px;
  margin-bottom: 32px;
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-size: 2.85rem; /* ~45px */
  font-weight: 800;
  line-height: 1.12;
  color: var(--color-text-main);
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.hero-highlight {
  color: var(--color-brand-blue);
}

.hero-description {
  font-size: 1.0625rem; /* 17px */
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 28px;
}

/* Feature Badges Trio */
.hero-badges {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 34px;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-icon-box {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-blue);
  flex-shrink: 0;
}

.badge-icon-box svg {
  width: 26px;
  height: 26px;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.badge-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.badge-text span {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.badge-text small {
  font-size: 0.68rem;
  color: #64748b;
}

/* Hero Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem; /* 13px */
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  padding: 12px 26px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--color-brand-blue);
  color: var(--color-white);
  border: 1.5px solid var(--color-brand-blue);
}

.btn-primary:hover {
  background-color: var(--color-brand-blue-hover);
  border-color: var(--color-brand-blue-hover);
  box-shadow: 0 4px 14px rgba(22, 82, 216, 0.25);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-brand-blue);
  border: 1.5px solid #bfdbfe;
}

.btn-secondary:hover {
  background-color: #f0f7ff;
  border-color: var(--color-brand-blue);
  color: var(--color-brand-blue-hover);
}

.hero-right-space {
  min-height: 280px;
}

/* Age Verification Strip */
.age-banner-container {
  position: relative;
  z-index: 5;
}

.age-banner {
  background-color: #0b213f;
  border-radius: var(--radius-md);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 20px rgba(7, 20, 38, 0.18);
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease;
  max-height: 120px;
}

.age-banner.dismissed {
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.age-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.age-shield-icon {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}

.age-shield-icon svg {
  width: 100%;
  height: 100%;
  color: #38bdf8;
}

.shield-number {
  position: absolute;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-white);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: -1px;
}

.age-banner-text {
  color: var(--color-white);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.4;
}

.btn-agree {
  background-color: var(--color-white);
  color: #091b33;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-agree:hover {
  background-color: #f1f5f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- 7. Shop by Category Section --- */
.category-section {
  padding: 56px 0 48px;
  background-color: var(--color-white);
}

.section-title {
  font-size: 1.75rem; /* 28px */
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.4px;
  margin-bottom: 36px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.category-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  padding: 24px 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
}

.category-card:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.category-icon-box {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-icon-box svg {
  width: 38px;
  height: 38px;
  transition: transform var(--transition-normal);
}

.category-card:hover .category-icon-box svg {
  transform: scale(1.08);
}

.category-title {
  font-size: 0.95rem; /* ~15px */
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.category-desc {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.35;
  min-height: 32px;
}

.category-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.category-link .arrow {
  transition: transform var(--transition-fast);
}

.category-card:hover .category-link .arrow {
  transform: translateX(4px);
}

/* Reduce card padding on mobile */
@media (max-width: 768px) {
  .category-section {
    padding: 36px 0 32px;
  }
  .category-card {
    padding: 18px 10px 16px;
  }
  .category-desc {
    font-size: 0.68rem;
    min-height: 28px;
  }
}

@media (max-width: 480px) {
  .category-card {
    padding: 16px 8px 14px;
  }
  .category-icon-box {
    margin-bottom: 10px;
  }
}

/* --- 8. Value Proposition Trust Bar (Navy) --- */
.trust-bar-section {
  background-color: var(--color-primary-navy);
  color: var(--color-white);
  padding: 30px 0;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 28px;
  height: 28px;
}

.trust-content h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 2px;
}

.trust-content p {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* --- 9. Featured Peptides Section --- */
.featured-section {
  padding: 56px 0 42px;
  background-color: var(--color-white);
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
}

.section-header-flex .section-title {
  margin-bottom: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.view-all-link {
  margin-left: auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.view-all-link .arrow {
  transition: transform var(--transition-fast);
}

.view-all-link:hover .arrow {
  transform: translateX(4px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-image-container {
  width: 100%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #fbfcfd;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  text-align: center;
}

.product-image-container > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.product-img {
  max-height: 145px;
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.vial-label-overlay {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(22, 82, 216, 0.2);
  border-radius: 12px;
  padding: 2px 8px;
  pointer-events: none;
}

.vial-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-brand-blue);
  letter-spacing: 0.3px;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 2px;
}

.product-spec {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 1px;
}

.product-dosage {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 8px;
}

.product-price {
  font-size: 1.0625rem; /* 17px */
  font-weight: 800;
  color: var(--color-brand-blue);
  margin-bottom: 10px;
}

.btn-add-cart {
  width: 100%;
  padding: 8px 10px;
  background-color: var(--color-brand-blue);
  color: var(--color-white);
  border: 1.5px solid var(--color-brand-blue);
  border-radius: var(--radius-md);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  transition: all var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
}

.btn-add-cart svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.btn-add-cart:hover {
  background-color: #0f3fa8;
  border-color: #0f3fa8;
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(22, 82, 216, 0.3);
}

.btn-add-cart:active {
  transform: scale(0.97);
}

/* --- 10. Promotional Feature Strip (Contained inside .container) --- */
.promo-strip-section {
  width: 100%;
  background-color: var(--color-white);
  padding: 10px 0 60px;
}

.promo-strip-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(11, 31, 59, 0.05);
  background-color: #f0f4f9;
}

.promo-strip-col {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 36px;
  gap: 16px;
  position: relative;
}

/* Col 1: Solid Dark Navy with rounded top-right corner */
.promo-strip-col.promo-navy {
  background-color: #081d38;
  color: var(--color-white);
  border-top-right-radius: 8px;
  z-index: 2;
}

.promo-navy .promo-heading {
  color: var(--color-white);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
}

.promo-navy .promo-sub {
  color: #9cb2cc;
  font-size: 0.77rem;
  line-height: 1.35;
  margin-bottom: 18px;
}

/* Royal Blue text on solid white button */
.btn-quote {
  background-color: var(--color-white);
  color: #1652d8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 8px 18px;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-fast);
}

.btn-quote:hover {
  background-color: #f8fafc;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

/* Col 2 & 3: Soft Slate Blue-Gray with white separator */
.promo-strip-col.promo-light {
  background-color: #f0f4f9;
  color: var(--color-text-main);
  border-left: 6px solid #ffffff;
}

.promo-light .promo-heading {
  color: #0b1f3b;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
}

.promo-light .promo-sub {
  color: #55687f;
  font-size: 0.77rem;
  line-height: 1.35;
  margin-bottom: 18px;
}

/* Royal blue border and text on white button */
.btn-explore, .btn-contact {
  background-color: var(--color-white);
  color: #1652d8;
  border: 1.5px solid #1652d8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 7px 18px;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
}

.btn-explore:hover, .btn-contact:hover {
  background-color: #1652d8;
  color: var(--color-white);
  box-shadow: 0 4px 10px rgba(22, 82, 216, 0.2);
  transform: translateY(-1px);
}

.promo-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.promo-graphic-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.graphic-peptide {
  width: 120px;
  height: 95px;
}

.graphic-book {
  width: 110px;
  height: 80px;
}

.graphic-headset {
  width: 85px;
  height: 75px;
}

/* --- 11. Category Listing Page Specific Styles --- */

/* Breadcrumbs */
.category-header-section {
  background-color: #f8fafc;
  border-bottom: 1px solid #e6ecf3;
  padding: 20px 0 28px;
}

.breadcrumb-nav {
  margin-bottom: 16px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.76rem;
  color: #64748b;
}

.breadcrumb-item a {
  color: #64748b;
}

.breadcrumb-item a:hover {
  color: var(--color-brand-blue);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #cbd5e1;
}

.breadcrumb-item.active {
  color: var(--color-brand-blue);
  font-weight: 600;
}

/* Category Hero Box */
.category-banner-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-title-flex {
  display: flex;
  align-items: center;
  gap: 14px;
}

.category-main-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.6px;
  line-height: 1.15;
}

.category-count-badge {
  background-color: var(--color-brand-blue-light);
  color: var(--color-brand-blue);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(22, 82, 216, 0.2);
}

.category-description {
  font-size: 0.88rem;
  color: #556982;
  max-width: 820px;
  line-height: 1.5;
}

/* Quick Filter Pills */
.quick-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.pill-btn {
  background-color: var(--color-white);
  color: #475569;
  border: 1px solid #d4deea;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pill-btn:hover {
  border-color: var(--color-brand-blue);
  color: var(--color-brand-blue);
  background-color: #f0f6ff;
}

.pill-btn.active {
  background-color: var(--color-brand-blue);
  color: var(--color-white);
  border-color: var(--color-brand-blue);
  box-shadow: 0 2px 8px rgba(22, 82, 216, 0.25);
}

/* Catalog 2-Column Main Layout */
.catalog-main-section {
  padding: 36px 0 40px;
  background-color: var(--color-white);
}

.catalog-layout-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* Mobile Filter Bar */
.mobile-filter-bar {
  display: none;
  margin-bottom: 20px;
}

.btn-mobile-filter {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--color-text-main);
}

.btn-mobile-filter svg {
  width: 18px;
  height: 18px;
}

/* Sidebar Styles */
.catalog-sidebar {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 16px;
}

.sidebar-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-title-wrap svg {
  width: 18px;
  height: 18px;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.btn-clear-filters {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-brand-blue);
  cursor: pointer;
}

.btn-clear-filters:hover {
  text-decoration: underline;
}

.mobile-filter-close {
  display: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
}

/* Filter Groups */
.filter-group {
  padding: 14px 0;
  border-bottom: 1px solid #edf2f7;
}

.filter-group:last-of-type {
  border-bottom: none;
}

.filter-group-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-checkbox-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-size: 0.78rem;
  color: #475569;
  position: relative;
  padding-left: 24px;
}

.filter-checkbox-item input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-check {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 16px;
  width: 16px;
  background-color: var(--color-white);
  border: 1.5px solid #cbd5e1;
  border-radius: 3px;
  transition: all var(--transition-fast);
}

.filter-checkbox-item:hover input ~ .custom-check {
  border-color: var(--color-brand-blue);
}

.filter-checkbox-item input:checked ~ .custom-check {
  background-color: var(--color-brand-blue);
  border-color: var(--color-brand-blue);
}

.custom-check::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-checkbox-item input:checked ~ .custom-check::after {
  display: block;
}

.filter-label {
  flex: 1;
  font-weight: 500;
}

.filter-count {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-left: 4px;
}

/* Sidebar Quality Trust Card */
.sidebar-quality-box {
  margin-top: 20px;
  background: linear-gradient(145deg, #f0f6ff, #f8fafd);
  border: 1px solid #d8e5fb;
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  gap: 10px;
}

.quality-box-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-brand-blue);
}

.quality-box-icon svg {
  width: 100%;
  height: 100%;
}

.quality-box-text h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0b2447;
  margin-bottom: 2px;
}

.quality-box-text p {
  font-size: 0.7rem;
  color: #4b6282;
  line-height: 1.35;
}

/* Catalog Toolbar */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: #f8fafd;
  border: 1px solid #e2eaf4;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  gap: 16px;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.results-count {
  font-size: 0.78rem;
  color: #475569;
}

.results-count strong {
  color: var(--color-text-main);
  font-weight: 700;
}

.active-filters-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--color-white);
  border: 1px solid #cbd5e1;
  padding: 3px 8px;
  border-radius: 14px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.active-filter-chip button {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1;
}

.active-filter-chip button:hover {
  color: #ef4444;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #475569;
}

.catalog-select {
  height: 34px;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-main);
  background-color: var(--color-white);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
}

.catalog-select:focus {
  border-color: var(--color-brand-blue);
}

/* View Switcher */
.view-switcher {
  display: flex;
  align-items: center;
  background-color: #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 2px;
}

.view-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: #64748b;
  transition: all var(--transition-fast);
}

.view-btn svg {
  width: 16px;
  height: 16px;
}

.view-btn.active {
  background-color: var(--color-white);
  color: var(--color-brand-blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Catalog Product Grid (3 Columns) */
.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Product Card Badges */
.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 3px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

.badge-bestseller {
  background-color: #0b1f3b;
  color: #ffffff;
}

.badge-popular {
  background-color: #1652d8;
  color: #ffffff;
}

.badge-purity {
  background-color: #059669;
  color: #ffffff;
}

.badge-featured {
  background-color: #e0f2fe;
  color: #0369a1;
}

.product-sequence {
  font-family: monospace;
  font-size: 0.65rem;
  color: #64748b;
  background-color: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 3px;
  padding: 2px 6px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card Bottom Flex (Price + Quantity Selector) */
.card-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-bottom-flex .product-price {
  margin-bottom: 0;
}

.quantity-picker {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  overflow: hidden;
}

.qty-btn {
  width: 24px;
  height: 24px;
  background-color: #f1f5f9;
  color: #334155;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.qty-btn:hover {
  background-color: #e2e8f0;
  color: var(--color-brand-blue);
}

.qty-input {
  width: 28px;
  height: 24px;
  border: none;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-main);
  background-color: var(--color-white);
  outline: none;
}

/* List View Layout Overrides */
.catalog-product-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog-product-grid.list-view .catalog-card {
  display: grid;
  grid-template-columns: 200px 1fr 180px;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
}

.catalog-product-grid.list-view .product-image-container {
  height: 150px;
  margin-bottom: 0;
}

.catalog-product-grid.list-view .card-bottom-flex {
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}

.catalog-product-grid.list-view .btn-add-cart {
  margin-top: 0;
}

/* Pagination Bar */
.catalog-pagination {
  width: 100%;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.catalog-pagination-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

@media (min-width: 640px) {
  .catalog-pagination-nav {
    flex-direction: row;
    align-items: center;
  }
}

.pagination-info p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

.pagination-info p span,
.pagination-info p .font-semibold {
  font-weight: 700;
  color: #0c1e36;
}

.pagination-buttons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1.5px solid #cbd5e1;
  background-color: #ffffff;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.page-btn svg {
  width: 14px;
  height: 14px;
  display: block;
}

.page-btn:hover:not(.disabled):not(.active):not(.dots) {
  border-color: var(--color-brand-blue);
  color: var(--color-brand-blue);
  background-color: #eff6ff;
}

.page-btn.active {
  background-color: var(--color-brand-blue);
  border-color: var(--color-brand-blue);
  color: #ffffff;
  font-weight: 700;
  cursor: default;
}

.page-btn.disabled {
  color: #94a3b8;
  background-color: #f8fafc;
  border-color: #e2e8f0;
  cursor: not-allowed;
  opacity: 0.65;
}

.page-btn.dots {
  border: none;
  background: transparent;
  cursor: default;
  color: #64748b;
  min-width: 24px;
  padding: 0 4px;
}

/* --- 12. Footer --- */
.site-footer {
  background-color: #061426;
  color: #94a3b8;
  padding-top: 56px;
  font-size: 0.8125rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr 1.3fr;
  gap: 32px;
  padding-bottom: 48px;
}

/* Brand Column */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.logo-icon-small {
  width: 30px;
  height: 30px;
}

.logo-icon-small svg {
  width: 100%;
  height: 100%;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.foot-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.3px;
}

.foot-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #60a5fa;
}

.footer-about {
  font-size: 0.77rem;
  line-height: 1.5;
  color: #8397b2;
  margin-bottom: 20px;
  max-width: 260px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #0e223b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all var(--transition-fast);
}

.social-icon svg {
  width: 15px;
  height: 15px;
}

.social-icon:hover {
  background-color: var(--color-brand-blue);
  color: var(--color-white);
}

/* Link Columns */
.footer-col-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #8397b2;
  font-size: 0.78rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
}

/* Newsletter Column */
.footer-newsletter-desc {
  font-size: 0.77rem;
  color: #8397b2;
  line-height: 1.4;
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.newsletter-form input {
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #1e3553;
  background-color: #0c1e36;
  color: var(--color-white);
  font-size: 0.78rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: #556d8a;
}

.newsletter-form input:focus {
  border-color: var(--color-brand-blue);
}

.btn-subscribe {
  height: 38px;
  background-color: var(--color-brand-blue);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  border-radius: var(--radius-sm);
}

.btn-subscribe:hover {
  background-color: var(--color-brand-blue-hover);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid #0d213b;
  padding: 18px 0;
  background-color: #040c18;
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.copyright-text {
  font-size: 0.72rem;
  color: #647b99;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pay-badge {
  background-color: #ffffff;
  border-radius: 4px;
  height: 22px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}

.pay-badge.visa {
  color: #1a1f71;
  font-style: italic;
  font-family: serif;
}

.pay-badge.mastercard {
  position: relative;
  width: 36px;
  padding: 0;
}

.mc-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.mc-red {
  background-color: #eb001b;
  margin-right: -5px;
  z-index: 1;
}

.mc-orange {
  background-color: #f79e1b;
  z-index: 2;
  opacity: 0.9;
}

.pay-badge.amex {
  background-color: #006fcf;
  color: #ffffff;
  font-size: 0.58rem;
}

.pay-badge.discover {
  color: #f47216;
  font-size: 0.58rem;
}

.pay-badge.applepay {
  background-color: #ffffff;
  color: #000000;
  gap: 3px;
  font-weight: 600;
  font-size: 0.68rem;
}

/* --- 13. Floating Toast Notification --- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background-color: #091b33;
  color: var(--color-white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  font-size: 0.8125rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--color-brand-blue);
  animation: slideInToast 0.3s ease-out forwards;
  pointer-events: auto;
}

.toast svg {
  width: 18px;
  height: 18px;
  color: #38bdf8;
  flex-shrink: 0;
}

@keyframes slideInToast {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast.fade-out {
  animation: slideOutToast 0.3s ease-in forwards;
}

@keyframes slideOutToast {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* --- 14. Responsive Media Queries --- */

/* Laptops & Desktops (max 1080px) */
@media (max-width: 1080px) {
  .hero-section::before {
    width: 70%;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-right-space {
    display: none;
  }


  /* category-grid uses auto-fill minmax — no fixed col override needed here */

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Catalog Page Responsive */
  .catalog-layout-container {
    grid-template-columns: 1fr;
  }

  .mobile-filter-bar {
    display: block;
  }

  .catalog-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    z-index: 9999;
    border-radius: 0;
    overflow-y: auto;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.25);
    background-color: var(--color-white);
  }

  .catalog-sidebar.mobile-active {
    display: block;
  }

  .mobile-filter-close {
    display: block;
  }

  .promo-strip-container {
    grid-template-columns: 1fr;
  }

  .promo-strip-col.promo-light {
    border-left: none;
    border-top: 4px solid #ffffff;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-col.newsletter-col {
    grid-column: span 2;
  }
}

/* Tablets & Mobile (max 768px) */
@media (max-width: 768px) {
  /* ── Top Bar ── */
  .top-bar {
    display: none !important;
  }

  /* ── Main Header ── */
  .main-header {
    padding: 10px 0;
  }

  /* Wrap into two rows: [logo + cart + burger] / [search] */
  .header-container {
    flex-wrap: wrap;
    gap: 0;
    row-gap: 10px;
    align-items: center;
  }

  .brand-logo {
    flex: 1;
    min-width: 0;
  }

  .header-actions {
    flex-shrink: 0;
    gap: 4px;
  }

  /* Hide text labels inside action buttons (keep icons) */
  .action-btn span:not(.cart-badge) {
    display: none;
  }

  /* Hide desktop nav links & account button */
  .header-actions .nav-link,
  .header-actions .account-btn {
    display: none;
  }

  /* Always show cart icon */
  .header-actions .cart-btn {
    display: flex;
  }

  /* Full-width search bar on second row */
  .header-search {
    order: 3;
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  .header-search input {
    height: 40px;
    font-size: 0.82rem;
  }

  /* ── Hamburger Button ── */
  .mobile-nav-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f1f5f9;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
  }

  .mobile-nav-toggle span {
    width: 20px;
    height: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  /* Burger → X animation */
  .mobile-nav-toggle.nav-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-nav-toggle.nav-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .mobile-nav-toggle.nav-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ── Mobile Nav Drawer ── */
  .sub-nav {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s ease;
    background-color: #0b1f3b;
  }

  .sub-nav.mobile-open {
    max-height: 700px;
  }

  .sub-nav-container {
    flex-direction: column;
    height: auto;
    padding: 0 0 16px;
    gap: 0;
  }

  /* ── Inline nav links inside drawer (Resources, Articles, About, Contact) ── */
  .mobile-header-nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 4px;
    margin-bottom: 4px;
  }

  .mobile-header-nav-links a {
    display: block;
    padding: 11px 20px;
    color: rgba(255,255,255,0.88);
    font-size: 0.88rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .mobile-header-nav-links a:hover {
    background: rgba(255,255,255,0.07);
    color: #fff;
  }

  /* ── Categories section ── */
  .sub-nav-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    height: auto;
  }

  .categories-dropdown-wrap {
    width: 100%;
    height: auto;
  }

  .categories-btn {
    width: 100%;
    height: auto;
    padding: 12px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    justify-content: space-between;
  }

  /* Categories dropdown: static inline in the drawer */
  .categories-dropdown-menu {
    position: static !important;
    display: none !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    flex-direction: column !important;
  }

  .categories-dropdown-wrap.open .categories-dropdown-menu {
    display: flex !important;
  }

  /* ── Sub-nav links ── */
  .sub-nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 4px 0;
  }

  .sub-nav-link {
    display: block;
    width: 100%;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.83rem;
  }

  .sub-nav-item-wrap {
    width: 100%;
  }

  /* Sub-dropdowns: slide inline, not absolute */
  .sub-dropdown-menu {
    position: static !important;
    background: rgba(0,0,0,0.18) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    display: none;
    padding: 4px 0 !important;
  }

  .sub-nav-item-wrap.open .sub-dropdown-menu {
    display: block;
  }

  .sub-dropdown-menu a {
    padding: 9px 32px !important;
    font-size: 0.79rem !important;
  }

  /* ── Trust perks row ── */
  .sub-nav-right {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 12px 20px 4px;
    margin-top: 4px;
  }

  .trust-perk {
    font-size: 0.7rem;
  }


  .hero-section {
    background-position: 70% center;
    padding: 40px 0 20px;
  }

  .hero-section::before {
    width: 100%;
    background: linear-gradient(
      to bottom,
      rgba(240, 246, 253, 0.95) 0%,
      rgba(240, 246, 253, 0.88) 100%
    );
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-badges {
    flex-direction: column;
    gap: 14px;
  }

  .age-banner {
    flex-direction: column;
    text-align: center;
    max-height: 200px;
  }

  .age-banner-left {
    flex-direction: column;
    gap: 10px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-product-grid.list-view .catalog-card {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .toolbar-right {
    width: 100%;
    justify-content: space-between;
  }

  .section-header-flex {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .section-header-flex .section-title {
    position: static;
    transform: none;
  }

  .view-all-link {
    margin-left: 0;
  }

  .promo-strip-col {
    padding: 24px 20px;
  }
}

/* Mobile Phones (max 480px) */
@media (max-width: 480px) {
  /* Slightly smaller logo on tiny phones */
  .logo-icon {
    width: 30px;
    height: 30px;
  }
  .logo-title {
    font-size: 0.95rem;
  }
  .logo-subtitle {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-bar-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .catalog-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card, .catalog-card {
    padding: 12px 10px;
  }

  .product-image-container, .catalog-card .product-image-container {
    height: 130px;
    margin-bottom: 8px;
  }

  .product-img {
    max-height: 110px;
  }

  .product-title, .catalog-card .product-title {
    font-size: 0.84rem;
  }

  .product-price, .catalog-card .product-price {
    font-size: 1.05rem !important;
    margin: 4px 0 8px !important;
  }

  .btn-add-cart {
    padding: 7px 6px;
    font-size: 0.68rem;
    gap: 4px;
  }

  .promo-strip-col {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .promo-graphic-wrap {
    align-self: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-col.newsletter-col {
    grid-column: span 1;
  }

  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================================================
   15. Product Details Page Specific Styles
   ========================================================================== */

.product-breadcrumb-wrap {
  background-color: #f8fafc;
  border-bottom: 1px solid #e6ecf3;
  padding: 12px 0;
}

.product-showcase-section {
  padding: 40px 0 56px;
  background-color: var(--color-white);
}

.product-showcase-container {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 48px;
  align-items: start;
}

/* Left: Gallery Column */
.product-gallery-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-main-image-box {
  width: 100%;
  min-height: 380px;
  background-color: #fbfcfd;
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.gallery-badge-purity {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: #059669;
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 5;
}

.gallery-main-img {
  max-height: 280px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.product-main-image-box:hover .gallery-main-img {
  transform: scale(1.04);
}

.regulatory-stamp {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.64rem;
  font-weight: 800;
  color: #e11d48;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.regulatory-stamp svg {
  width: 13px;
  height: 13px;
}

/* Thumbnail Strip */
.product-thumbnails-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.thumb-btn {
  height: 74px;
  background-color: var(--color-white);
  border: 1.5px solid #d6dfea;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.thumb-btn img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.thumb-chromatogram-preview {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-chromatogram-preview svg {
  width: 50px;
  height: 32px;
}

.thumb-btn span {
  font-size: 0.65rem;
  font-weight: 700;
  color: #475569;
}

.thumb-btn:hover {
  border-color: var(--color-brand-blue);
}

.thumb-btn.active {
  border-color: var(--color-brand-blue);
  background-color: #f0f6ff;
  box-shadow: 0 0 0 2px rgba(22, 82, 216, 0.2);
}

.thumb-btn.active span {
  color: var(--color-brand-blue);
}

/* COA Banner */
.coa-download-banner {
  background: linear-gradient(135deg, #f0f6ff, #f8fafd);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.coa-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coa-info svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.coa-info div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.coa-info strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0b2447;
}

.coa-info span {
  font-size: 0.7rem;
  color: #576d8a;
}

.btn-download-coa {
  background-color: var(--color-white);
  color: var(--color-brand-blue);
  border: 1.5px solid var(--color-brand-blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-download-coa:hover {
  background-color: var(--color-brand-blue);
  color: var(--color-white);
}

/* Right: Product Purchase Column */
.product-purchase-column {
  display: flex;
  flex-direction: column;
}

.product-brand-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-brand-blue);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-main-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-rating .stars {
  color: #f59e0b;
  font-size: 0.95rem;
}

.rating-text {
  font-weight: 700;
  color: var(--color-text-main);
}

.review-count {
  color: var(--color-brand-blue);
}

.review-count:hover {
  text-decoration: underline;
}

.meta-divider {
  color: #cbd5e1;
}

.cas-number strong {
  color: var(--color-text-main);
}

.stock-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.stock-status.in-stock {
  color: #059669;
}

.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
}

/* Chemical Specs Box */
.chem-formula-box {
  display: flex;
  align-items: center;
  gap: 24px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-bottom: 14px;
  font-size: 0.78rem;
}

.chem-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chem-label {
  color: #64748b;
  font-weight: 500;
}

.chem-val {
  color: var(--color-text-main);
  font-weight: 700;
}

/* Sequence Viewer */
.sequence-viewer-box {
  background-color: #f8fafd;
  border: 1px solid #d6dfea;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
}

.sequence-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.seq-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.btn-copy-seq {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-brand-blue);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 3px;
}

.btn-copy-seq svg {
  width: 13px;
  height: 13px;
}

.btn-copy-seq:hover {
  background-color: var(--color-brand-blue-light);
}

.sequence-code {
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0c1e36;
  word-break: break-all;
  line-height: 1.4;
}

/* Price Display */
.price-display-wrapper {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.current-price {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--color-brand-blue);
  letter-spacing: -0.5px;
}

.price-dosage-unit {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

/* Volume Discount Table */
.volume-discount-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.discount-col {
  background-color: var(--color-white);
  border: 1.5px solid #d6dfea;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.discount-col:hover {
  border-color: var(--color-brand-blue);
}

.discount-col.active {
  border-color: var(--color-brand-blue);
  background-color: #f0f6ff;
}

.tier-qty {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 2px;
}

.tier-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-brand-blue);
}

.tier-save {
  font-size: 0.65rem;
  font-weight: 700;
  color: #059669;
}

/* Variant Buttons */
.variant-selection-group {
  margin-bottom: 22px;
}

.variant-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.variant-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.variant-btn {
  background-color: var(--color-white);
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.variant-btn .v-badge {
  position: absolute;
  top: -8px;
  right: -4px;
  background-color: #059669;
  color: var(--color-white);
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
}

.variant-btn .v-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.variant-btn .v-price {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}

.variant-btn:hover {
  border-color: var(--color-brand-blue);
}

.variant-btn.active {
  border-color: var(--color-brand-blue);
  background-color: #f0f6ff;
}

.variant-btn.active .v-title,
.variant-btn.active .v-price {
  color: var(--color-brand-blue);
}

/* Purchase Actions Row */
.purchase-actions-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 18px;
}

.product-detail-qty-picker {
  display: flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  overflow: hidden;
  height: 48px;
  flex-shrink: 0;
}

.product-detail-qty-picker .qty-btn {
  width: 36px;
  height: 100%;
  background-color: #f1f5f9;
  font-size: 1rem;
}

.product-detail-qty-picker .qty-input {
  width: 44px;
  height: 100%;
  font-size: 0.95rem;
  font-weight: 800;
}

.btn-detail-add-cart {
  flex: 1;
  height: 48px;
  background-color: var(--color-brand-blue);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-detail-add-cart svg {
  width: 18px;
  height: 18px;
}

.btn-detail-add-cart:hover {
  background-color: var(--color-brand-blue-hover);
  box-shadow: 0 4px 14px rgba(22, 82, 216, 0.28);
  transform: translateY(-1px);
}

.btn-detail-add-cart:active {
  transform: scale(0.98);
}

/* Secondary Actions */
.secondary-actions-wrap {
  margin-bottom: 22px;
}

.btn-custom-quote {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  background-color: #f8fafc;
  border: 1px dashed #cbd5e1;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.btn-custom-quote svg {
  width: 15px;
  height: 15px;
  color: var(--color-brand-blue);
  flex-shrink: 0;
}

.btn-custom-quote:hover {
  border-color: var(--color-brand-blue);
  color: var(--color-brand-blue);
}

/* Perks Grid */
.product-perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-top: 1px solid #edf2f7;
  padding-top: 18px;
}

.perk-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.perk-box svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.perk-box div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.perk-box strong {
  font-size: 0.78rem;
  color: var(--color-text-main);
  font-weight: 700;
}

.perk-box span {
  font-size: 0.68rem;
  color: #64748b;
}

/* --- 16. Scientific Tabs Section --- */
.scientific-tabs-section {
  padding: 48px 0 54px;
  background-color: #fafbfd;
  border-top: 1px solid #e5ebf2;
  border-bottom: 1px solid #e5ebf2;
}

.tabs-nav-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 28px;
  overflow-x: auto;
}

.tab-btn {
  padding: 12px 20px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--color-brand-blue);
}

.tab-btn.active {
  color: var(--color-brand-blue);
  border-bottom-color: var(--color-brand-blue);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeInPane 0.25s ease-in;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Specs Table */
.specs-table-container {
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.scientific-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.scientific-table th, 
.scientific-table td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid #edf2f7;
}

.scientific-table tr:last-child th,
.scientific-table tr:last-child td {
  border-bottom: none;
}

.scientific-table th {
  width: 280px;
  background-color: #f8fafd;
  color: #475569;
  font-weight: 700;
}

.scientific-table td {
  color: var(--color-text-main);
  font-weight: 500;
}

/* COA Analytical Panel */
.coa-panel-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}

.coa-graph-card, .coa-details-card {
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 20px;
}

.coa-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.coa-card-header h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.badge-coa-pass {
  background-color: #dcfce7;
  color: #15803d;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.chromatogram-box {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 10px;
  margin-bottom: 12px;
}

.hplc-chart-svg {
  width: 100%;
  height: 170px;
}

.hplc-summary-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748b;
}

.ms-peak-box {
  background-color: #f8fafd;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.ms-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.ms-label {
  color: #64748b;
  font-weight: 500;
}

.ms-val {
  font-weight: 700;
  color: var(--color-text-main);
}

.text-success {
  color: #059669 !important;
}

/* Reconstitution Step Cards */
.reconstitution-guide h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.reconstitution-guide p {
  font-size: 0.84rem;
  color: #64748b;
  margin-bottom: 24px;
}

.reconstitution-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-brand-blue);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.75rem;
  color: #556982;
  line-height: 1.45;
  margin-bottom: 0;
}

/* Scientific Literature List */
.literature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.literature-item {
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.literature-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-brand-blue);
  margin-bottom: 4px;
}

.lit-authors {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 6px;
}

.lit-abstract {
  font-size: 0.78rem;
  color: #334155;
  line-height: 1.45;
}

/* Related Products Section */
.related-products-section {
  padding: 56px 0 50px;
  background-color: var(--color-white);
}

/* Responsive adjustments for Product Details Page */
@media (max-width: 1080px) {
  .product-showcase-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-main-image-box {
    min-height: 320px;
  }

  .coa-panel-layout {
    grid-template-columns: 1fr;
  }

  .reconstitution-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-thumbnails-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .variant-options {
    grid-template-columns: 1fr;
  }

  .volume-discount-table {
    grid-template-columns: 1fr;
  }

  .purchase-actions-row {
    flex-direction: column;
  }

  .product-detail-qty-picker {
    width: 100%;
    justify-content: center;
  }

  .scientific-table th, 
  .scientific-table td {
    padding: 10px 12px;
    font-size: 0.75rem;
  }

  .scientific-table th {
    width: 140px;
  }

  .reconstitution-steps {
    grid-template-columns: 1fr;
  }

  .product-perks-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   17. Cart & Checkout Page Specific Styles
   ========================================================================== */

/* Progress Stepper */
.checkout-stepper-wrap {
  background-color: #f8fafd;
  border-bottom: 1px solid #e2eaf4;
  padding: 16px 0;
}

.stepper-track {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 680px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 600;
}

.step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #e2e8f0;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.step-line {
  flex: 1;
  height: 2px;
  background-color: #e2e8f0;
  margin: 0 14px;
}

.step-item.active {
  color: var(--color-brand-blue);
}

.step-item.active .step-circle {
  background-color: var(--color-brand-blue);
  color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(22, 82, 216, 0.2);
}

.step-item.completed {
  color: #059669;
}

.step-item.completed .step-circle {
  background-color: #059669;
  color: var(--color-white);
}

.step-line.completed {
  background-color: #059669;
}

/* Cart Page Layout */
.cart-page-main {
  padding: 40px 0 60px;
  background-color: var(--color-white);
}

.cart-layout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

.cart-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cart-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.3px;
}

.btn-clear-cart {
  font-size: 0.76rem;
  color: #ef4444;
  font-weight: 600;
  cursor: pointer;
}

.btn-clear-cart:hover {
  text-decoration: underline;
}

/* Cart Table */
.cart-table-wrapper {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.cart-table thead {
  background-color: #f8fafc;
  border-bottom: 1px solid var(--color-border);
}

.cart-table th {
  padding: 12px 18px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.cart-table td {
  padding: 18px;
  border-bottom: 1px solid #edf2f7;
  vertical-align: middle;
}

.cart-table tr:last-child td {
  border-bottom: none;
}

.col-product {
  width: 48%;
}

.col-price, .col-total {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.col-total {
  color: var(--color-brand-blue);
}

.cart-product-flex {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-product-thumb {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background-color: #f8fafd;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 4px;
  flex-shrink: 0;
}

.cart-product-details {
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.25;
  margin-bottom: 2px;
}

.cart-item-title:hover {
  color: var(--color-brand-blue);
}

.cart-item-meta {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 2px;
}

.cart-item-batch {
  font-size: 0.65rem;
  font-weight: 600;
  color: #059669;
}

.btn-remove-item {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.btn-remove-item svg {
  width: 17px;
  height: 17px;
}

.btn-remove-item:hover {
  color: #ef4444;
  background-color: #fef2f2;
}

/* Coupon & Continue Shopping */
.cart-actions-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.coupon-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coupon-box input {
  height: 40px;
  padding: 0 14px;
  font-size: 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  outline: none;
  width: 220px;
}

.coupon-box input:focus {
  border-color: var(--color-brand-blue);
}

.btn-apply-coupon {
  height: 40px;
  background-color: #0c1e36;
  color: var(--color-white);
  padding: 0 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-apply-coupon:hover {
  background-color: var(--color-brand-blue);
}

.btn-continue-shopping {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-brand-blue);
}

.btn-continue-shopping:hover {
  text-decoration: underline;
}

/* Compliance Box */
.compliance-agreement-box {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 16px;
}

.compliance-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.compliance-checkbox-label input {
  margin-top: 3px;
  accent-color: var(--color-brand-blue);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.compliance-text {
  font-size: 0.78rem;
  color: #92400e;
  line-height: 1.4;
}

/* Summary Card */
.summary-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.summary-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #475569;
  margin-bottom: 12px;
}

.summary-val {
  font-weight: 700;
  color: var(--color-text-main);
}

.discount-val {
  color: #059669;
}

.summary-divider {
  height: 1px;
  background-color: #e2e8f0;
  margin: 16px 0;
}

.total-line {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 20px;
}

.total-line .total-val {
  font-size: 1.35rem;
  color: var(--color-brand-blue);
}

/* Shipping Radios in Cart */
.shipping-selection-box {
  margin: 16px 0;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.shipping-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.shipping-radio-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shipping-radio-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-white);
  border: 1px solid #d6dfea;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.76rem;
  transition: all var(--transition-fast);
}

.shipping-radio-item:hover {
  border-color: var(--color-brand-blue);
}

.shipping-radio-item input {
  margin-right: 8px;
  accent-color: var(--color-brand-blue);
}

.shipping-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.25;
}

.shipping-text strong {
  color: var(--color-text-main);
}

.shipping-text small {
  color: #64748b;
}

.shipping-cost {
  font-weight: 700;
  color: var(--color-brand-blue);
}

.btn-proceed-checkout {
  width: 100%;
  height: 48px;
  background-color: var(--color-brand-blue);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 18px;
}

.btn-proceed-checkout svg {
  width: 18px;
  height: 18px;
}

.btn-proceed-checkout:hover {
  background-color: var(--color-brand-blue-hover);
  box-shadow: 0 4px 14px rgba(22, 82, 216, 0.28);
  transform: translateY(-1px);
}

.summary-trust-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
}

.trust-perk-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: #475569;
}

.trust-perk-row svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   Checkout Page Specific Styles
   ========================================================================== */

.checkout-page-body {
  background-color: #f8fafc;
}

.checkout-header {
  background-color: var(--color-white);
  border-bottom: 1px solid #e2eaf4;
  padding: 14px 0;
}

.checkout-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-secure-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #059669;
}

.checkout-secure-badge svg {
  width: 18px;
  height: 18px;
}

.btn-return-cart {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.btn-return-cart:hover {
  color: var(--color-brand-blue);
}

.checkout-main-section {
  padding: 36px 0 60px;
}

.checkout-layout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 36px;
  align-items: start;
}

.checkout-form-card {
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.card-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f7;
}

.step-pill {
  background-color: var(--color-brand-blue);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.card-step-header h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
}

.form-group input, .form-group select {
  height: 42px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  outline: none;
  background-color: var(--color-white);
}

.form-group input:focus {
  border-color: var(--color-brand-blue);
  box-shadow: 0 0 0 3px rgba(22, 82, 216, 0.12);
}

.full-width { grid-column: span 6; }
.half-width { grid-column: span 3; }
.one-third { grid-column: span 2; }

.input-with-cards {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-cards input {
  width: 100%;
  padding-right: 120px;
}

.card-mini-icons {
  position: absolute;
  right: 10px;
  display: flex;
  gap: 4px;
}

.c-badge {
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 2px 4px;
  border-radius: 2px;
  color: #334155;
}

.subsection-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 18px 0 10px;
}

/* Payment Tabs */
.payment-tabs-header {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
}

.pay-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
}

.pay-tab-btn svg {
  width: 16px;
  height: 16px;
}

.pay-tab-btn:hover {
  color: var(--color-brand-blue);
}

.pay-tab-btn.active {
  color: var(--color-brand-blue);
  border-bottom-color: var(--color-brand-blue);
}

.pay-pane {
  display: none;
}

.pay-pane.active {
  display: block;
  animation: fadeInPane 0.25s ease-in;
}

.crypto-pay-box, .wire-pay-box {
  background-color: #f8fafd;
  border: 1px solid #d6dfea;
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.8rem;
  color: #334155;
}

.crypto-badge {
  display: inline-block;
  background-color: #dcfce7;
  color: #15803d;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.crypto-currencies-list {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.crypto-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* Compliance Card */
.compliance-card {
  background-color: #fffdf5;
  border-color: #fef3c7;
}

.compliance-heading {
  font-size: 0.9rem;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 12px;
}

.chk-compliance-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.76rem;
  color: #78350f;
  margin-bottom: 10px;
  cursor: pointer;
  line-height: 1.35;
}

.chk-compliance-item input {
  margin-top: 2px;
  accent-color: var(--color-brand-blue);
}

.btn-complete-order {
  width: 100%;
  height: 52px;
  background-color: #059669;
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
}

.btn-complete-order svg {
  width: 20px;
  height: 20px;
}

.btn-complete-order:hover {
  background-color: #047857;
  transform: translateY(-1px);
}

/* Sticky Mini Summary */
.sticky-order-box {
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 22px;
  position: sticky;
  top: 20px;
}

.order-summary-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f7;
}

.mini-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf2f7;
}

.mini-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini-item-img-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-item-img-wrap img {
  max-height: 38px;
  width: auto;
}

.mini-qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: #475569;
  color: var(--color-white);
  font-size: 0.6rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-item-info {
  flex: 1;
  line-height: 1.25;
}

.mini-item-info h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.mini-item-info span {
  font-size: 0.68rem;
  color: #64748b;
}

.mini-item-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.mini-pricing-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  color: #475569;
  margin-bottom: 18px;
}

.mini-line {
  display: flex;
  justify-content: space-between;
}

.mini-line.total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text-main);
  padding-top: 10px;
  border-top: 1px solid #edf2f7;
}

.checkout-guarantee-card {
  background-color: #f0f6ff;
  border: 1px solid #d8e5fb;
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  gap: 10px;
}

.checkout-guarantee-card svg {
  width: 20px;
  height: 20px;
  color: var(--color-brand-blue);
  flex-shrink: 0;
}

.checkout-guarantee-card strong {
  display: block;
  font-size: 0.74rem;
  color: #0b2447;
  margin-bottom: 2px;
}

.checkout-guarantee-card p {
  font-size: 0.68rem;
  color: #556982;
  line-height: 1.3;
}

/* Order Confirmation Modal */
.order-success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(6, 19, 36, 0.75);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.order-success-modal-overlay.active {
  display: flex;
  animation: fadeInModal 0.3s ease-out;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.order-success-modal {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.success-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.success-icon-box svg {
  width: 36px;
  height: 36px;
}

.order-success-modal h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.order-id-tag {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 12px;
}

.order-desc {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 20px;
}

.confirmed-summary-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  text-align: left;
  font-size: 0.78rem;
}

.confirmed-row {
  display: flex;
  justify-content: space-between;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.modal-actions .btn {
  flex: 1;
}

/* Responsive adjustments for Cart & Checkout */
@media (max-width: 1080px) {
  .cart-layout-grid, .checkout-layout-grid {
    grid-template-columns: 1fr;
  }

  .sticky-order-box {
    position: static;
  }
}

@media (max-width: 768px) {
  .cart-table thead {
    display: none;
  }

  .cart-item-row {
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    border-bottom: 1px solid #edf2f7;
    position: relative;
  }

  .col-product, .col-price, .col-qty, .col-total, .col-action {
    width: 100%;
    padding: 4px 0;
  }

  .col-action {
    position: absolute;
    top: 14px;
    right: 12px;
    width: auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .full-width, .half-width, .one-third {
    grid-column: span 1;
  }

  .payment-tabs-header {
    flex-direction: column;
    border-bottom: none;
  }

  .pay-tab-btn {
    border-bottom: none;
    border-left: 2px solid transparent;
    justify-content: flex-start;
  }

  .pay-tab-btn.active {
    border-left-color: var(--color-brand-blue);
    background-color: #f0f6ff;
  }
}


/* ==========================================================================
   18. About Us & Contact Us Specific Styles
   ========================================================================== */

.page-breadcrumb-wrap {
  background-color: #f8fafc;
  border-bottom: 1px solid #e6ecf3;
  padding: 12px 0;
}

.active-nav {
  color: var(--color-brand-blue) !important;
  font-weight: 700;
}

/* About Hero Section */
.about-hero-section {
  padding: 54px 0 42px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
  border-bottom: 1px solid #e6ecf3;
}

.about-hero-content {
  max-width: 820px;
  margin: 0 auto 46px;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--color-brand-blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.about-hero-sub {
  font-size: 0.95rem;
  color: #576d8a;
  line-height: 1.65;
}

/* Metrics Grid */
.about-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background-color: var(--color-white);
  border: 1px solid #d6dfea;
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(11, 36, 71, 0.05);
}

.metric-card {
  text-align: center;
  border-right: 1px solid #edf2f7;
  padding: 0 12px;
}

.metric-card:last-child {
  border-right: none;
}

.metric-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-brand-blue);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
}

/* Scientific Pillars Grid */
.about-pillars-section {
  padding: 60px 0;
  background-color: var(--color-white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 6px 20px rgba(22, 82, 216, 0.06);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: #e0ecff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 14px 0 8px;
}

.pillar-card p {
  font-size: 0.82rem;
  color: #556982;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Synthesis Lifecycle */
.lifecycle-section {
  padding: 60px 0;
  background-color: #f8fafd;
  border-top: 1px solid #e6ecf3;
  border-bottom: 1px solid #e6ecf3;
}

.lifecycle-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.lifecycle-step-card {
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.step-badge {
  display: inline-block;
  align-self: flex-start;
  background-color: #0c1e36;
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.lifecycle-step-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.lifecycle-step-card p {
  font-size: 0.78rem;
  color: #556982;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Regulatory Callout */
.regulatory-section {
  padding: 40px 0 60px;
  background-color: var(--color-white);
}

.regulatory-callout-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #fff1f2;
  border: 1.5px solid #fecdd3;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.reg-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.reg-icon svg {
  width: 100%;
  height: 100%;
}

.reg-content h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #be123c;
  margin-bottom: 6px;
}

.reg-content p {
  font-size: 0.82rem;
  color: #881337;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   Contact Us Page Specific Styles
   ========================================================================== */

.contact-hero-section {
  padding: 48px 0 32px;
  background-color: #f8fafd;
  border-bottom: 1px solid #e6ecf3;
}

.contact-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.contact-hero-sub {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.92rem;
  color: #576d8a;
  line-height: 1.6;
}

.contact-page-main {
  padding: 48px 0 64px;
  background-color: var(--color-white);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
  align-items: start;
}

.contact-card {
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 30px;
}

.contact-card-header {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf2f7;
}

.contact-card-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.contact-card-header p {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0;
}

.contact-card textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.84rem;
  outline: none;
  resize: vertical;
}

.contact-card textarea:focus {
  border-color: var(--color-brand-blue);
  box-shadow: 0 0 0 3px rgba(22, 82, 216, 0.12);
}

.contact-compliance-row {
  margin: 18px 0 20px;
}

.btn-submit-inquiry {
  width: 100%;
  height: 48px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit-inquiry svg {
  width: 18px;
  height: 18px;
}

/* Contact Info Column */
.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.info-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.channel-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.channel-row:last-child {
  margin-bottom: 0;
}

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #e0ecff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon svg {
  width: 20px;
  height: 20px;
}

.channel-detail {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.channel-detail strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.channel-detail a, .channel-detail span {
  font-size: 0.82rem;
  color: var(--color-brand-blue);
}

.channel-detail a:hover {
  text-decoration: underline;
}

.channel-detail small {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 2px;
}

/* FAQ Accordions */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid #d6dfea;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-brand-blue);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-icon {
  font-size: 1.15rem;
  color: var(--color-brand-blue);
  transition: transform var(--transition-fast);
}

.faq-answer-content {
  display: none;
  padding: 0 16px 14px;
  font-size: 0.78rem;
  color: #556982;
  line-height: 1.5;
}

.faq-item.active .faq-answer-content {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Responsive adjustments for About & Contact */
@media (max-width: 1080px) {
  .about-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-card:nth-child(2) {
    border-right: none;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .lifecycle-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero-title, .contact-hero-title {
    font-size: 1.85rem;
  }

  .about-metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    border-right: none;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .metric-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .lifecycle-steps-grid {
    grid-template-columns: 1fr;
  }

  .regulatory-callout-box {
    flex-direction: column;
  }
}


/* ==========================================================================
   19. Home Page New Sections: Authority Content, Testimonials & FAQ
   ========================================================================== */

/* 1. Scientific Authority Content Section */
.home-authority-section {
  padding: 64px 0;
  background-color: var(--color-white);
  border-top: 1px solid #e6ecf3;
  border-bottom: 1px solid #e6ecf3;
}

.authority-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
}

.authority-lead {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
}

.authority-features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.auth-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.auth-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: #eef4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.auth-feature-info h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.auth-feature-info p {
  font-size: 0.8rem;
  color: #556982;
  line-height: 1.45;
  margin-bottom: 0;
}

.authority-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Right Column Quality Card Display */
.quality-card-display {
  background-color: #f8fafd;
  border: 1.5px solid #d6dfea;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(12, 30, 54, 0.06);
}

.qc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.qc-badge-pill {
  background-color: #059669;
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
}

.qc-lot {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
}

.qc-visual-preview {
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 18px;
}

.qc-svg-chart {
  width: 100%;
  height: 110px;
}

.qc-card-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: var(--color-white);
  border: 1px solid #edf2f7;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.qc-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}

.qc-spec-row span {
  color: #64748b;
}

.qc-spec-row strong {
  color: var(--color-text-main);
  font-weight: 700;
}

.qc-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #059669;
}

.qc-card-footer svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* 2. Testimonials Section */
.testimonials-section {
  padding: 64px 0;
  background: linear-gradient(180deg, #f8fafd 0%, #ffffff 100%);
  border-bottom: 1px solid #e6ecf3;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.testimonial-card {
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(11, 36, 71, 0.04);
  transition: all var(--transition-fast);
}

.testimonial-card:hover {
  border-color: var(--color-brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 82, 216, 0.08);
}

.stars-row {
  color: #f59e0b;
  font-size: 1.05rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #0c1e36;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-info h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 2px;
}

.reviewer-info p {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 3px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #059669;
}

.verified-badge svg {
  width: 12px;
  height: 12px;
}

.trust-summary-strip {
  background-color: #f0f6ff;
  border: 1px solid #d6e4fc;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.trust-summary-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.84rem;
  color: #1e3a8a;
  flex-wrap: wrap;
}

.strip-stars {
  color: #f59e0b;
  font-size: 1rem;
}

/* 3. Home FAQ Section */
.home-faq-section {
  padding: 64px 0 72px;
  background-color: var(--color-white);
}

.home-faq-accordion {
  max-width: 840px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-bottom-cta {
  max-width: 580px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
}

.faq-bottom-cta p {
  font-size: 0.84rem;
  color: #475569;
  margin-bottom: 12px;
}

/* Responsive adjustments for Home New Sections */
@media (max-width: 1080px) {
  .authority-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .authority-actions {
    flex-direction: column;
  }

  .authority-actions .btn {
    width: 100%;
  }

  .trust-summary-content {
    flex-direction: column;
    gap: 6px;
  }
}


/* ==========================================================================
   20. Dropdown & Mega Menu System
   ========================================================================== */

/* Dropdown Wrappers */
.nav-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.dropdown-toggle .chevron-down {
  transition: transform var(--transition-fast);
}

.nav-dropdown-wrap.open .chevron-down,
.categories-dropdown-wrap.open .cat-chevron,
.sub-nav-item-wrap.open .chevron-down {
  transform: rotate(180deg);
}

/* Header Dropdown Menus */
.header-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  background-color: var(--color-white);
  border: 1px solid #d6dfea;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px rgba(11, 36, 71, 0.16);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
  animation: dropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 24px;
  width: 12px;
  height: 12px;
  background-color: var(--color-white);
  border-left: 1px solid #d6dfea;
  border-top: 1px solid #d6dfea;
  transform: rotate(45deg);
}

.nav-dropdown-wrap.open .header-dropdown-menu {
  display: flex;
}

@media (hover: hover) and (min-width: 1024px) {
  .nav-dropdown-wrap:hover .header-dropdown-menu {
    display: flex;
  }
  .nav-dropdown-wrap:hover .chevron-down {
    transform: rotate(180deg);
  }
}

.header-dropdown-menu .dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.header-dropdown-menu .dropdown-item:hover {
  background-color: #f0f6ff;
  color: var(--color-brand-blue);
}

.dd-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: #eef4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-brand-blue);
}

.dd-item-icon svg {
  width: 18px;
  height: 18px;
}

.dd-item-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.dd-item-text strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.dd-item-text span {
  font-size: 0.7rem;
  color: #64748b;
}

.account-dropdown-menu {
  width: 280px;
}

.account-menu-header {
  padding: 8px 12px 10px;
  border-bottom: 1px solid #edf2f7;
  margin-bottom: 6px;
}

.account-menu-header strong {
  display: block;
  font-size: 0.84rem;
  color: var(--color-text-main);
}

.account-menu-header span {
  font-size: 0.68rem;
  color: #64748b;
}

/* ==========================================================================
   Categories Mega Dropdown
   ========================================================================== */

.categories-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.categories-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--color-white);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.categories-btn .cat-chevron {
  width: 13px;
  height: 13px;
  margin-left: 2px;
  transition: transform var(--transition-fast);
}

.categories-dropdown-wrap.open .categories-btn,
.categories-btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.categories-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 880px;
  background-color: var(--color-white);
  border: 1px solid #d6dfea;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 18px 40px rgba(8, 29, 56, 0.22);
  padding: 24px;
  display: none;
  z-index: 10000;
  animation: dropdownFade 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.categories-dropdown-wrap.open .categories-mega-menu {
  display: block;
}

@media (hover: hover) and (min-width: 1024px) {
  .categories-dropdown-wrap:hover .categories-mega-menu {
    display: block;
  }
  .categories-dropdown-wrap:hover .cat-chevron {
    transform: rotate(180deg);
  }
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1.15fr 1fr;
  gap: 24px;
}

.mega-menu-col {
  display: flex;
  flex-direction: column;
}

.mega-col-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0c1e36;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #edf2f7;
  letter-spacing: 0.2px;
}

.mega-col-title a {
  color: inherit;
  transition: color var(--transition-fast);
}

.mega-col-title a:hover {
  color: var(--color-brand-blue);
}

.mega-links-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-links-list li a {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 500;
  line-height: 1.35;
  transition: all var(--transition-fast);
  display: inline-block;
}

.mega-links-list li a:hover {
  color: var(--color-brand-blue);
  transform: translateX(3px);
}

.mega-view-all {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  color: var(--color-brand-blue) !important;
  margin-top: 4px;
}

/* Spotlight Card in Mega Menu */
.mega-spotlight-col {
  background-color: #f8fafd;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px;
}

.spotlight-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.spotlight-badge {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--color-brand-blue);
  color: var(--color-white);
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
}

.spotlight-img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
  margin: 10px 0 8px;
}

.spotlight-card h5 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 2px;
}

.spotlight-purity {
  font-size: 0.68rem;
  font-weight: 700;
  color: #059669;
  margin-bottom: 4px;
}

.spotlight-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-brand-blue);
  margin-bottom: 10px;
}

.spotlight-btn {
  width: 100%;
  font-size: 0.68rem;
  padding: 6px 10px;
}

/* Sub-Nav Item Dropdowns (Research Peptides, Custom Synthesis, Resources) */
.sub-nav-item-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.sub-nav-item-wrap .sub-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 14px 16px;
  cursor: pointer;
}

.sub-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background-color: var(--color-white);
  border: 1px solid #d6dfea;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 12px 30px rgba(8, 29, 56, 0.18);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 10000;
  animation: dropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sub-nav-item-wrap.open .sub-dropdown-menu {
  display: flex;
}

@media (hover: hover) and (min-width: 1024px) {
  .sub-nav-item-wrap:hover .sub-dropdown-menu {
    display: flex;
  }
  .sub-nav-item-wrap:hover .chevron-down {
    transform: rotate(180deg);
  }
}

.sub-dropdown-menu a {
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.sub-dropdown-menu a:hover {
  background-color: #f0f6ff;
  color: var(--color-brand-blue);
  transform: translateX(3px);
}

.sub-dropdown-menu .sub-dd-all {
  font-weight: 700;
  color: var(--color-brand-blue);
  border-top: 1px solid #edf2f7;
  margin-top: 4px;
  padding-top: 8px;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments for Mega Menu */
@media (max-width: 1100px) {
  .categories-mega-menu {
    width: 680px;
  }
  .mega-menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mega-spotlight-col {
    display: none;
  }
}

@media (max-width: 768px) {
  .categories-mega-menu {
    width: 100%;
    position: static;
    border-radius: 0;
    box-shadow: none;
  }
  .mega-menu-grid {
    grid-template-columns: 1fr;
  }
  .sub-dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    background-color: #f8fafc;
  }
}


/* ==========================================================================
   21. Scientific Blog & Articles Module
   ========================================================================== */

/* Homepage Blog Section */
.home-blog-section {
  padding: 80px 0;
  background-color: #f8fafd;
  border-top: 1px solid #e2e8f0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.blog-card {
  background: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(11, 36, 71, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 36, 71, 0.1);
  border-color: #cbd5e1;
}

.blog-card-media {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8, 29, 56, 0.9);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.blog-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-text-main);
  margin-bottom: 10px;
}

.blog-card-title a {
  color: inherit;
  transition: color var(--transition-fast);
}

.blog-card-title a:hover {
  color: var(--color-brand-blue);
}

.blog-card-excerpt {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf2f7;
  padding-top: 16px;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 9px;
}

.blog-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0e7ff;
  color: var(--color-brand-blue);
  font-weight: 800;
  font-size: 0.74rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-author-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: #334155;
}

.blog-read-link {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}

.blog-read-link:hover {
  gap: 8px;
}

/* Blog Listing Page Hero & Featured Post */
.blog-hero-section {
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  padding: 50px 0 36px;
  text-align: center;
}

.blog-featured-banner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #081d38;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  box-shadow: 0 14px 34px rgba(8, 29, 56, 0.18);
  margin-bottom: 48px;
}

.blog-featured-text {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-visual {
  background-size: cover;
  background-position: center;
  min-height: 300px;
  position: relative;
}

.blog-featured-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #081d38 0%, transparent 60%);
}

/* Blog Detail Page */
.article-detail-header {
  margin-bottom: 32px;
}

.article-category-pill {
  display: inline-block;
  background: #eef4ff;
  color: var(--color-brand-blue);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.article-main-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.25;
  margin-bottom: 20px;
}

.article-byline-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
}

.article-featured-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid #e2e8f0;
}

.article-lead-excerpt {
  font-size: 1.12rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 32px;
  padding-left: 20px;
  border-left: 4px solid var(--color-brand-blue);
}

.article-body-content {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.8;
}

.article-body-content h2,
.article-body-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0c1e36;
  margin: 32px 0 14px;
}

.article-body-content p {
  margin-bottom: 18px;
}

.article-lab-cta {
  margin: 44px 0;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.article-author-bio {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 40px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-featured-banner {
    grid-template-columns: 1fr;
  }
  .blog-featured-visual {
    min-height: 200px;
  }
  .article-lab-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================================================
   Dropdown Hover Bridge & Zero-Gap Fix
   ========================================================================== */

.nav-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.header-dropdown-menu {
  top: 100% !important;
  margin-top: 4px !important;
}

/* Invisible hover bridge above header dropdown */
.header-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

/* Sub Navigation Full Height & Zero Gap */
.sub-nav-container {
  height: 44px;
}

.sub-nav-left {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.categories-dropdown-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.categories-btn {
  height: 100%;
  display: flex;
  align-items: center;
}

.categories-mega-menu {
  top: 100% !important;
  margin-top: 0 !important;
}

/* Invisible hover bridge above categories mega menu */
.categories-mega-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

.sub-nav-links {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.sub-nav-item-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.sub-nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 6px;
}

.sub-dropdown-menu {
  top: 100% !important;
  margin-top: 0 !important;
}

/* Invisible hover bridge above sub-dropdown menu */
.sub-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}


/* Dedicated Clean Categories Dropdown (Categories Only) */
.categories-dropdown-menu {
  position: absolute;
  top: 100% !important;
  left: 0;
  min-width: 290px;
  background-color: var(--color-white);
  border: 1px solid #d6dfea;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 14px 34px rgba(8, 29, 56, 0.18);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 10000;
  animation: dropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.categories-dropdown-wrap.open .categories-dropdown-menu {
  display: flex;
}

@media (hover: hover) and (min-width: 1024px) {
  .categories-dropdown-wrap:hover .categories-dropdown-menu {
    display: flex;
  }
}

.categories-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

.category-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.category-dropdown-item:hover {
  background-color: #f0f6ff;
  color: var(--color-brand-blue);
  padding-left: 18px;
}

.category-dropdown-item .cat-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-dropdown-item .cat-arrow {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.category-dropdown-item:hover .cat-arrow {
  color: var(--color-brand-blue);
  transform: translateX(3px);
}


/* ==========================================================================
   Bulletproof Dropdown Visibility & Display Rules
   ========================================================================== */

.categories-dropdown-wrap {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 100% !important;
}

.categories-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 100% !important;
  background: none !important;
  border: none !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  padding: 0 18px !important;
  cursor: pointer !important;
}

.categories-btn:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Category Dropdown Menu Container */
.categories-dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 280px !important;
  width: max-content !important;
  max-width: 360px !important;
  background-color: #ffffff !important;
  border: 1px solid #d6dfea !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 16px 36px rgba(8, 29, 56, 0.22) !important;
  padding: 8px !important;
  display: none !important;
  flex-direction: column !important;
  gap: 3px !important;
  z-index: 99999 !important;
}

/* Visible when opened via Click OR Hover */
.categories-dropdown-wrap.open .categories-dropdown-menu,
.categories-dropdown-wrap:hover .categories-dropdown-menu {
  display: flex !important;
}

.categories-dropdown-wrap.open .cat-chevron,
.categories-dropdown-wrap:hover .cat-chevron {
  transform: rotate(180deg) !important;
}

/* Invisible bridge so mouse never loses hover */
.categories-dropdown-menu::before {
  content: '' !important;
  position: absolute !important;
  top: -16px !important;
  left: 0 !important;
  right: 0 !important;
  height: 16px !important;
  background: transparent !important;
}

/* Items inside dropdown */
.category-dropdown-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 14px !important;
  border-radius: 6px !important;
  color: #0c1e36 !important;
  text-decoration: none !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  background-color: transparent !important;
  transition: background-color 0.15s ease, padding-left 0.15s ease, color 0.15s ease !important;
}

.category-dropdown-item:hover {
  background-color: #f0f6ff !important;
  color: #1652d8 !important;
  padding-left: 18px !important;
}

.category-dropdown-item .cat-item-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.category-dropdown-item .cat-arrow {
  color: #94a3b8 !important;
  font-size: 0.85rem !important;
  transition: transform 0.15s ease, color 0.15s ease !important;
}

.category-dropdown-item:hover .cat-arrow {
  color: #1652d8 !important;
  transform: translateX(4px) !important;
}

/* Sub-nav items hover and open */
.sub-nav-item-wrap.open .sub-dropdown-menu,
.sub-nav-item-wrap:hover .sub-dropdown-menu {
  display: flex !important;
}

.sub-nav-item-wrap.open .chevron-down,
.sub-nav-item-wrap:hover .chevron-down {
  transform: rotate(180deg) !important;
}


/* ==========================================================================
   Homepage Category Slider System (Activated when > 5 categories or overflow)
   ========================================================================== */

.category-slider-wrapper {
  position: relative;
  width: 100%;
}

.category-slider-track-wrap {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 2px 14px;
}

.category-slider-track-wrap::-webkit-scrollbar {
  display: none;
}

.category-slider-track {
  display: flex;
  gap: 16px;
}

.category-slide-item {
  flex: 0 0 calc(20% - 13px);
  min-width: 195px;
  scroll-snap-align: start;
  display: flex;
}

.category-slide-item .category-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  box-sizing: border-box;
}

/* Responsive slides */
@media (max-width: 1200px) {
  .category-slide-item {
    flex: 0 0 calc(25% - 12px);
    min-width: 185px;
  }
}

@media (max-width: 900px) {
  .category-slide-item {
    flex: 0 0 calc(33.333% - 11px);
    min-width: 175px;
  }
}

@media (max-width: 650px) {
  .category-slide-item {
    flex: 0 0 calc(50% - 8px);
    min-width: 155px;
  }
}

@media (max-width: 440px) {
  .category-slide-item {
    flex: 0 0 82%;
    min-width: 220px;
  }
}

/* Prev / Next Slider Arrows */
.cat-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0c1e36;
  z-index: 15;
  transition: all 0.2s ease;
}

.cat-slider-nav:hover {
  background-color: #1652d8;
  color: #ffffff;
  border-color: #1652d8;
  box-shadow: 0 6px 18px rgba(22, 82, 216, 0.28);
}

.cat-slider-prev {
  left: -22px;
}

.cat-slider-next {
  right: -22px;
}

.cat-slider-nav svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 850px) {
  .cat-slider-prev {
    left: 0;
  }
  .cat-slider-next {
    right: 0;
  }
  /* Give track extra side padding so first/last cards aren't under the arrows */
  .category-slider-track-wrap {
    padding-left: 52px;
    padding-right: 52px;
  }
}

@media (max-width: 600px) {
  /* Hide the absolute nav arrows on small screens — swipe/scroll is enough */
  .cat-slider-prev,
  .cat-slider-next {
    display: none;
  }
  .category-slider-track-wrap {
    padding-left: 4px;
    padding-right: 4px;
  }
  .category-section {
    padding: 32px 0 28px;
  }
}


/* Desktop Hero Banner Section Height: 600px Minimum */
@media (min-width: 1024px) {
  .hero-section {
    min-height: 600px !important;
    padding: 70px 0 36px !important;
  }
}
