/*
Theme Name: Peptide Zone Custom Theme
Theme URI: https://peptide-zone.ro
Author: Peptide Zone Team
Author URI: https://peptide-zone.ro
Description: Custom premium theme for Peptide Zone Shop featuring dynamic parallax scrolling, floating molecules, interactive HPLC graph, and peptide reconstitution calculator.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: peptide-zone
*/
/* 
   PEPTIDE SHOP PREMIUM - STYLESHEET (MULTI-PAGE & RESPONSIVE EXTENDED)
   Medical-Luxury Theme (White background, light/clean colors, smooth parallax & animations)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* --- DESIGN TOKENS --- */
:root {
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  
  /* Color Palette (Clean Medical-Luxury - Light Mode) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  
  --text-main: #0f172a;       /* Slate 900 */
  --text-muted: #475569;      /* Slate 600 */
  --text-light: #94a3b8;      /* Slate 400 */
  
  --color-primary: #0ea5e9;    /* Cyan 500 */
  --color-primary-light: #e0f2fe; /* Cyan 100 */
  --color-primary-dark: #0284c7;  /* Cyan 600 */
  
  --color-secondary: #10b981;  /* Emerald 500 */
  --color-secondary-light: #d1fae5; /* Emerald 100 */
  
  --color-accent: #a855f7;     /* Purple */
  --color-accent-light: #f3e8ff;
  
  --color-warning: #f97316;    /* Orange */
  --color-warning-light: #ffedd5;
  
  --border-color: rgba(15, 23, 42, 0.06);
  --border-color-focus: rgba(14, 165, 233, 0.4);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  --shadow-glass: 0 8px 32px 0 rgba(15, 23, 42, 0.05);
  
  /* Layout */
  --header-height: 80px;
  --container-max-width: 1280px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

/* Smooth custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-light);
}

/* --- TYPOGRAPHY & UTILITIES --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
}

.font-serif {
  font-family: var(--font-secondary);
  font-weight: 400;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-main) 30%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan-emerald {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-bounce);
}

.btn-icon:hover {
  background: var(--bg-tertiary);
  transform: scale(1.05);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.logo span {
  font-weight: 300;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  width: 100%;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-smooth);
}

/* Cart Button */
.cart-trigger {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
  animation: pulse 2s infinite;
}

/* --- INNER PAGE HEADER --- */
.page-hero {
  padding: 140px 0 60px 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- HERO SECTION WITH PARALLAX --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background-color: var(--bg-primary);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 10;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(14, 165, 233, 0.15);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

/* Hero Image & Parallax Card */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-img {
  width: 80%;
  max-width: 380px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 50px rgba(15, 23, 42, 0.15));
  animation: float 6s ease-in-out infinite;
}

.hero-bg-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(16, 185, 129, 0.05) 50%, rgba(255,255,255,0) 70%);
  z-index: 1;
}

/* Floating Parallax Cards */
.parallax-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.1s ease-out;
}

.card-1 {
  top: 10%;
  left: -5%;
}

.card-2 {
  bottom: 15%;
  right: -5%;
}

.card-3 {
  bottom: 45%;
  left: 65%;
}

.parallax-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-1 .parallax-card-icon { background: var(--color-primary-light); color: var(--color-primary-dark); }
.card-2 .parallax-card-icon { background: var(--color-secondary-light); color: var(--color-secondary); }
.card-3 .parallax-card-icon { background: var(--color-accent-light); color: var(--color-accent); }

.parallax-card-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
}

.parallax-card-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Floating Shapes in Hero Background */
.bg-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  transition: transform 0.2s ease-out;
}

.shape-1 {
  top: 15%;
  right: 10%;
  width: 80px;
  height: 80px;
  background: radial-gradient(var(--color-primary-light) 0%, transparent 70%);
  border-radius: 50%;
}

.shape-2 {
  bottom: 10%;
  left: 5%;
  width: 150px;
  height: 150px;
  border: 2px dashed rgba(16, 185, 129, 0.2);
  border-radius: 50%;
}

.shape-3 {
  top: 40%;
  left: 45%;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(168, 85, 247, 0.2);
  transform: rotate(45deg);
}

/* --- BENEFITS SECTION --- */
.benefits {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header .tag {
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 1.1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.benefit-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-md);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-primary-dark);
  transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon-box {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.benefit-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- CATALOG / SHOP PAGE STYLES --- */
.shop-layout {
  padding: 60px 0 100px 0;
}

.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

/* Filter Buttons */
.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary-dark);
  color: #ffffff;
  border-color: var(--color-primary-dark);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

/* Search and Checkbox */
.shop-search-filters {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.search-wrapper {
  position: relative;
  width: 280px;
}

.search-input {
  width: 100%;
  padding: 12px 20px 12px 46px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: var(--color-primary-dark);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

/* --- PRODUCT CARD STYLES & BADGES --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image-container {
  background: var(--bg-secondary);
  padding: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 320px;
}

.product-img {
  height: 100%;
  width: auto;
  object-fit: contain;
  transition: var(--transition-bounce);
  filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.08));
}

.product-card:hover .product-img {
  transform: scale(1.08) rotate(2deg);
}

.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  z-index: 5;
}

.brand-badge {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-color: rgba(14, 165, 233, 0.1);
}

.in-stock-badge {
  background: var(--color-secondary-light);
  color: var(--color-secondary);
  border-color: rgba(16, 185, 129, 0.1);
  left: auto;
  right: 20px;
}

.out-stock-badge {
  background: var(--color-warning-light);
  color: var(--color-warning);
  border-color: rgba(249, 115, 22, 0.1);
  left: auto;
  right: 20px;
}

.out-of-stock-card {
  border-color: rgba(15, 23, 42, 0.04);
}

.out-of-stock-card:hover {
  border-color: rgba(249, 115, 22, 0.15);
}

.product-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.product-purity-label {
  font-size: 0.8rem;
  color: var(--color-primary-dark);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: auto;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
}

.product-actions {
  display: flex;
  gap: 10px;
}

/* --- QUALITY & SCIENCE SECTION --- */
.science-quality {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.science-content .tag {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
}

.science-content h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.science-content p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.science-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.science-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.list-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-secondary-light);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.list-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.list-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Certificate Display Card */
.cert-card-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.cert-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 5;
  width: 90%;
  max-width: 440px;
  overflow: hidden;
}

.cert-header {
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.cert-stamp {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-weight: 800;
  font-size: 0.8rem;
  margin: 0 auto 16px auto;
  transform: rotate(-10deg);
}

.cert-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.cert-row .label {
  color: var(--text-muted);
}

.cert-row .val {
  font-weight: 600;
}

.cert-row .val.green {
  color: var(--color-secondary);
}

.cert-footer {
  text-align: center;
  margin-top: 30px;
}

/* --- BLOG PAGE LAYOUT --- */
.blog-layout {
  padding: 80px 0 120px 0;
}

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

.blog-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-img-container {
  height: 240px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.blog-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.blog-category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  z-index: 5;
}

.blog-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  font-weight: 500;
}

.blog-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-info h3 a:hover {
  color: var(--color-primary-dark);
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-readmore {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-readmore:hover {
  color: var(--text-main);
  gap: 10px;
}

/* --- CONTACT & FAQ FORM STYLES --- */
.contact-layout {
  padding: 80px 0 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-column h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.contact-info-column p {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-method-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-method-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-method-details p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-method-details a:hover {
  color: var(--color-primary-dark);
}

/* Contact Form Card */
.contact-form-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  border-radius: var(--border-radius-lg);
}

.contact-form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-form-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-item label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input-field {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input-field:focus {
  border-color: var(--color-primary-dark);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

textarea.form-input-field {
  resize: vertical;
  min-height: 120px;
}

/* FAQ Section In Contact */
.faq-section-contact {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

/* --- TESTIMONIALS --- */
.testimonials {
  padding: 120px 0;
}

.testimonials-slider {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 calc(50% - 16px);
  scroll-snap-align: start;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  flex-grow: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

.user-info p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --- FAQ ACCORDION --- */
.faq {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  font-weight: 300;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active {
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--color-primary-dark);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding-bottom: 24px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* --- DISCLAIMER PAGE STYLE --- */
.disclaimer-layout {
  padding: 80px 0 100px 0;
}

.disclaimer-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.disclaimer-card h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.disclaimer-card h3 {
  font-size: 1.3rem;
  margin: 28px 0 12px 0;
}

.disclaimer-card p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.disclaimer-alert-box {
  background: var(--color-primary-light);
  border-left: 4px solid var(--color-primary);
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 30px;
}

.disclaimer-alert-box p {
  color: var(--color-primary-dark);
  font-weight: 600;
  margin-bottom: 0;
}

/* --- FOOTER --- */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-col.about {
  padding-right: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-primary-dark);
  transform: translateX(5px);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group {
  position: relative;
  display: flex;
}

.newsletter-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.newsletter-input:focus {
  border-color: var(--color-primary);
}

.newsletter-submit {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary-dark);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.newsletter-submit:hover {
  background: var(--text-main);
}

.medical-disclaimer {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 12px;
}

/* --- CART DRAWER --- */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--bg-primary);
  z-index: 160;
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.15);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

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

.cart-drawer-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.cart-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.cart-drawer-close:hover {
  background: var(--bg-tertiary);
  color: var(--text-main);
}

.cart-items-container {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 80%;
  color: var(--text-muted);
  text-align: center;
}

.cart-item {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-sm);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 0.8rem;
}

.cart-item-remove:hover {
  color: #ef4444;
}

.cart-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 2px;
}

.qty-btn {
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.qty-btn:hover {
  background: var(--bg-tertiary);
}

.qty-val {
  padding: 0 8px;
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-price {
  font-weight: 700;
  font-size: 0.95rem;
}

.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cart-total-row span:last-child {
  color: var(--color-primary-dark);
}

.btn-checkout {
  width: 100%;
}

/* --- QUICK VIEW MODAL --- */
.quickview-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.quickview-modal {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 900px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.quickview-overlay.open .quickview-modal {
  transform: scale(1);
  opacity: 1;
}

.quickview-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-bounce);
}

.quickview-close:hover {
  transform: scale(1.08) rotate(90deg);
  background: var(--bg-tertiary);
}

.quickview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
}

.qv-gallery {
  background: var(--bg-secondary);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qv-gallery img {
  max-height: 350px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(15, 23, 42, 0.1));
}

.qv-content {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.qv-purity {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.qv-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.qv-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
}

.qv-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.qv-meta-box {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: var(--border-radius-md);
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.qv-meta-item h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.qv-meta-item p {
  font-size: 0.9rem;
  font-weight: 600;
}

.qv-actions {
  display: flex;
  gap: 16px;
}

.qv-actions .quantity-controls {
  padding: 4px 8px;
}

.qv-actions .qty-btn {
  width: 32px;
  height: 32px;
}

.qv-actions .qty-val {
  font-size: 1rem;
  min-width: 30px;
}

/* --- ANIMATION KEYFRAMES --- */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(14, 165, 233, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- RESPONSIVE DESIGN (MOBILE & TABLET TESTED) --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .benefits-grid, .products-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  /* Navigation */
  .mobile-toggle {
    display: flex;
    z-index: 110;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-primary);
    box-shadow: -5px 0 30px rgba(15, 23, 42, 0.1);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
  }
  
  .nav-menu.open {
    transform: translateX(0);
  }
  
  .mobile-menu-active .mobile-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-menu-active .mobile-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-active .mobile-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    margin-top: 40px;
  }
  
  .parallax-card {
    display: none; /* Hide floating cards on smaller screens for cleaner view & battery life */
  }
  
  /* Benefits & Products & Blog */
  .benefits-grid, .products-grid, .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .shop-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .shop-search-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-wrapper {
    width: 100%;
  }
  
  /* Science / Lab */
  .science-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .science-content {
    text-align: center;
  }
  
  .science-list {
    text-align: left;
  }
  
  /* Testimonial slider */
  .testimonial-card {
    flex: 0 0 100%;
  }
  
  /* Quickview modal */
  .quickview-modal {
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .quickview-grid {
    grid-template-columns: 1fr;
  }
  
  .qv-gallery {
    padding: 30px;
  }
  
  .qv-content {
    padding: 30px;
  }
  
  .disclaimer-card {
    padding: 30px 20px;
  }
  
  .contact-form-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --- AMBIENT ANIME BACKGROUND & NEON GLOWS --- */
.glow-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  animation: float-glow 20s infinite alternate ease-in-out;
}
.glow-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(168, 85, 247, 0.05) 100%);
  top: 10%;
  left: -10%;
}
.glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(14, 165, 233, 0.05) 100%);
  bottom: 20%;
  right: -10%;
}
@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 30px) scale(1.1); }
}

/* --- AGE / RESEARCH GATE (ENTRY POPUP) --- */
.entry-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.entry-gate.open {
  opacity: 1;
  pointer-events: auto;
}
.gate-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  max-width: 550px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.entry-gate.open .gate-card {
  transform: translateY(0);
}
.gate-logo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.gate-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.gate-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 32px;
}
.gate-btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* --- RECONSTITUTION CALCULATOR --- */
.calc-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}
.calc-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.calc-card p {
  color: var(--text-muted);
  margin-bottom: 28px;
}
.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.calc-results-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  text-align: center;
}
.calc-results-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.calc-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}
.calc-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* --- INTERACTIVE CHROMATOGRAM GRAPH --- */
.chromato-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.chromato-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.chromato-modal {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  max-width: 700px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  padding: 40px;
  position: relative;
  transform: scale(0.9);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.chromato-modal-overlay.open .chromato-modal {
  transform: scale(1);
}
.chromato-header {
  margin-bottom: 24px;
}
.chromato-header h3 {
  font-size: 1.5rem;
}
.chromato-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
}
.chromato-graph-box {
  background: #fafafa;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 20px;
  margin-bottom: 24px;
}
.chromato-svg {
  width: 100%;
  height: 250px;
}
.chromato-peak {
  stroke: var(--color-primary);
  stroke-width: 3;
  fill: rgba(14, 165, 233, 0.05);
  animation: draw-graph 2s ease-out forwards;
}
@keyframes draw-graph {
  0% { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
  100% { stroke-dasharray: 1000; stroke-dashoffset: 0; }
}

/* --- ADVANCED SHIMMER EFFECT HOVER CARD --- */
.product-card {
  position: relative;
}
.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 0 0 1px transparent;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 6;
}
.product-card:hover::after {
  box-shadow: 0 0 0 2px var(--color-primary-dark);
}

/* --- PREMIUM PEPTIDE SELECTOR WIDGET --- */
.peptide-selector-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}
.peptide-selector-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.selector-card {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  position: relative;
  z-index: 2;
}
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-glass);
}
.selector-step {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}
.selector-step.active {
  display: block;
}
.step-progress {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.step-title {
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-family: var(--font-primary);
  color: var(--text-main);
}
.selector-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}
@media (min-width: 640px) {
  .selector-options {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}
.selector-option {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--border-radius-md);
  padding: 24px;
  cursor: pointer;
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.selector-option:hover {
  background: rgba(14, 165, 233, 0.04);
  border-color: rgba(14, 165, 233, 0.3);
  transform: translateY(-5px);
}
.selector-option.selected {
  background: rgba(14, 165, 233, 0.08);
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
}
.option-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.option-content h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--text-main);
}
.option-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.btn-back {
  padding: 10px 20px;
  font-size: 0.85rem;
  margin-right: 10px;
  border-radius: var(--border-radius-sm);
}

/* --- SELECTOR RECOMMENDATION LAYOUT --- */
.recommendation-box {
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--border-radius-md);
  padding: 30px;
  margin-top: 20px;
  text-align: center;
}
.recom-product-card {
  display: flex;
  align-items: center;
  gap: 30px;
  text-align: left;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.05);
  padding: 20px;
  border-radius: var(--border-radius-md);
  margin: 20px 0;
}
@media (max-width: 640px) {
  .recom-product-card {
    flex-direction: column;
    text-align: center;
  }
}
.recom-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.recom-details h4 {
  font-size: 1.3rem;
  color: var(--text-main);
}
.recom-brand {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
}
.recom-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 8px;
}

/* --- PREMIUM SYRINGE WIDGET STYLE --- */
.syringe-visualizer {
  position: relative;
  width: 100%;
  height: 80px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--border-radius-sm);
  margin-top: 20px;
  padding: 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.syringe-body {
  position: relative;
  width: calc(100% - 40px);
  height: 24px;
  background: rgba(15, 23, 42, 0.05);
  border: 2px solid rgba(15, 23, 42, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
}
.syringe-fluid {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.4) 0%, rgba(14, 165, 233, 0.2) 100%);
  width: 0%; /* Dynamic width based on calculation */
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px 0 0 2px;
}
.syringe-plunger {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 4px;
  background: #ef4444; /* red indicator */
  left: 0%; /* Dynamic position based on calculation */
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.syringe-scale {
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  font-size: 0.65rem;
  color: var(--text-light);
}

/* --- CHECKOUT WIZARD FLOW --- */
.checkout-wizard-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 12, 20, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.checkout-wizard-overlay.open {
  display: flex;
}
.checkout-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 600px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.checkout-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.checkout-steps-bar {
  display: flex;
  gap: 10px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.01);
}
.step-dot {
  flex: 1;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}
.step-dot.active {
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
}
.checkout-body {
  padding: 30px 24px;
  max-height: 60vh;
  overflow-y: auto;
}
.checkout-step-panel {
  display: none;
}
.checkout-step-panel.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}
.checkout-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.01);
}

/* Animations */
@keyframes modalSlideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.report-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 768px) {
  .report-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

/* ==========================================================================
   WOOCOMMERCE INTEGRATION & RESPONSIVE DESIGN ADJUSTMENTS
   ========================================================================== */

/* Responsive: Hide 'Buy Now' button in header on mobile */
@media (max-width: 768px) {
  .header-buy-btn {
    display: none !important;
  }
}

/* Custom Single Product page styling */
.product-detail-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

@media (max-width: 991px) {
  .product-detail-card {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    padding: 20px !important;
  }
  
  .product-info-col h1 {
    font-size: 1.8rem !important;
  }
  
  .product-info-col .product-meta-row {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}

/* Calculator grid responsive layout */
@media (max-width: 576px) {
  .calc-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .calculator-card, .reports-box {
    padding: 20px !important;
  }
  
  .reports-box h3, .calculator-card h3 {
    font-size: 1.2rem !important;
  }
}

/* Product cards responsive adjustments */
.product-card-img-link img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ==========================================================================
   WOOCOMMERCE CART & CHECKOUT PAGE PREMIUM STYLING
   ========================================================================== */

.woocommerce, .woocommerce-page, .woocommerce-checkout {
  font-family: var(--font-primary), sans-serif !important;
  color: var(--text-main);
}

.woocommerce h1, .woocommerce h2, .woocommerce h3, 
.woocommerce-page h1, .woocommerce-page h2, .woocommerce-page h3 {
  font-family: var(--font-primary), sans-serif !important;
  font-weight: 800;
  color: var(--text-main);
}

/* Style default WooCommerce buttons to match our premium UI */
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button, 
.woocommerce #respond input#submit,
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt, 
.woocommerce #respond input#submit.alt {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 30px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-transform: none !important;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.15) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.25) !important;
  opacity: 0.95 !important;
}

/* Clean up checkout tables, reviews and billing forms */
.woocommerce-billing-fields__field-wrapper p.form-row,
.woocommerce-shipping-fields__field-wrapper p.form-row,
.woocommerce-additional-fields__field-wrapper p.form-row {
  margin-bottom: 20px !important;
}

.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single {
  width: 100% !important;
  height: 46px !important;
  background: var(--bg-primary) !important;
  border: 1px solid var(--bg-tertiary) !important;
  border-radius: 8px !important;
  padding: 0 16px !important;
  color: var(--text-main) !important;
  font-family: var(--font-primary), sans-serif !important;
  font-size: 0.95rem !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.woocommerce form .form-row textarea {
  height: 120px !important;
  padding: 12px 16px !important;
}

.woocommerce form .form-row input.input-text:focus, 
.woocommerce form .form-row textarea:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1) !important;
  outline: none !important;
}

/* Checkout layout columns */
.woocommerce-checkout .col2-set {
  float: none !important;
  width: 100% !important;
  margin-right: 0 !important;
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 991px) {
  .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr !important;
  }
}

/* Order review container */
#order_review_heading {
  margin-top: 40px !important;
}

.woocommerce-checkout-review-order {
  background: var(--bg-primary) !important;
  border: 1px solid var(--bg-tertiary) !important;
  border-radius: 16px !important;
  padding: 30px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02) !important;
}

/* Make tables fully responsive on mobile */
@media (max-width: 768px) {
  /* Cart page tables */
  .woocommerce table.shop_table, 
  .woocommerce-page table.shop_table {
    display: block !important;
    width: 100% !important;
    border: none !important;
  }
  
  .woocommerce table.shop_table thead, 
  .woocommerce-page table.shop_table thead {
    display: none !important;
  }
  
  .woocommerce table.shop_table tbody, 
  .woocommerce-page table.shop_table tbody {
    display: block !important;
    width: 100% !important;
  }
  
  .woocommerce table.shop_table tr, 
  .woocommerce-page table.shop_table tr {
    display: block !important;
    width: 100% !important;
    background: var(--bg-primary) !important;
    border: 1px solid var(--bg-tertiary) !important;
    border-radius: 12px !important;
    margin-bottom: 16px !important;
    padding: 15px !important;
    box-sizing: border-box !important;
  }
  
  .woocommerce table.shop_table td, 
  .woocommerce-page table.shop_table td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    border: none !important;
    padding: 8px 0 !important;
    text-align: right !important;
    box-sizing: border-box !important;
  }
  
  .woocommerce table.shop_table td::before, 
  .woocommerce-page table.shop_table td::before {
    content: attr(data-title) ": ";
    font-weight: 700;
    text-align: left;
    color: var(--text-muted);
  }
  
  .woocommerce table.shop_table td.product-remove, 
  .woocommerce-page table.shop_table td.product-remove {
    justify-content: flex-end !important;
  }
  
  .woocommerce table.shop_table td.product-remove::before, 
  .woocommerce-page table.shop_table td.product-remove::before {
    display: none !important;
  }
  
  .woocommerce table.shop_table td.actions, 
  .woocommerce-page table.shop_table td.actions {
    display: block !important;
  }
  
  .woocommerce table.shop_table td.actions .coupon, 
  .woocommerce-page table.shop_table td.actions .coupon {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
}

/* Glassmorphism checkout notices */
.woocommerce-error, .woocommerce-info, .woocommerce-message {
  background: var(--bg-primary) !important;
  border-radius: 8px !important;
  border: 1px solid var(--bg-tertiary) !important;
  color: var(--text-main) !important;
  padding: 16px 24px !important;
  font-weight: 500 !important;
}

.woocommerce-message {
  border-left: 4px solid var(--color-success) !important;
}
.woocommerce-info {
  border-left: 4px solid var(--color-primary) !important;
}
.woocommerce-error {
  border-left: 4px solid #ef4444 !important;
}



