/* ==========================================================================
   EG Labs - Luxury Boutique Peptide Storefront Stylesheet
   Soft Feminine Pastels + Crisp Apothecary Luxury + ZERO Horizontal Scroll
   ========================================================================== */

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

:root {
  --font-heading: 'Fredoka', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Refined Clean Luxury Palette */
  --bg-blush: #faf8f9;
  --bg-cream: #ffffff;
  --bg-surface: #ffffff;
  
  --primary-pink: #f472b6;
  --primary-deep-pink: #db2777;
  --accent-rose: #f43f5e;
  --accent-soft-pink: #fdf2f6;
  --accent-pastel-pink: #fff5f8;
  --accent-lavender: #f5f3ff;
  --accent-mint: #ecfdf5;
  
  --text-main: #18181b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-dark: #18181b;
  --border-subtle: #f1e4ea;
  
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0,0,0,0.02);
  --shadow-hover: 0 10px 28px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(244, 114, 182, 0.12);
  --shadow-card: 2px 2px 0px #18181b;

  --radius-badge: 9999px;
  --radius-card: 16px;
  --radius-btn: 10px;
}

/* ==========================================================================
   Zero Horizontal Scroll Base Rules
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  font-family: var(--font-body);
  background-color: var(--bg-blush);
  background-image: linear-gradient(180deg, #ffffff 0%, #faf8f9 160px, #faf8f9 100%);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

h1, h2, h3, h4, h5, p, span, a, td, th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

a {
  color: #db2777;
  text-decoration: none;
  transition: all 0.15s ease;
}
a:hover {
  color: var(--primary-deep-pink);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   Announcement Top Bar (Clean Single Line • Zero Repetition • Zero Stacking)
   ========================================================================== */
.top-notice-bar {
  background: #18181b;
  color: #fff0f5;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 12px;
  border-bottom: 2px solid var(--primary-pink);
  text-align: center;
  overflow: hidden;
  user-select: none;
  width: 100%;
  box-sizing: border-box;
}
.notice-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 1200px;
  margin: 0 auto;
}
.notice-perk {
  display: inline-block;
}
.dot-separator {
  color: #f472b6;
}
@media (max-width: 580px) {
  .dot-hide-mobile,
  .notice-hide-mobile {
    display: none !important;
  }
  .top-notice-bar {
    font-size: 0.72rem;
    padding: 5px 6px;
  }
  .notice-inner {
    gap: 6px;
  }
}

/* ==========================================================================
   Header & Brand Lockup (Mobile-First Precision Alignment)
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--border-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-emblem-img {
  height: 38px;
  width: auto;
  max-width: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  color: #111113;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.58rem;
  font-weight: 700;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-lookup {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1.5px solid var(--border-dark);
  color: var(--text-main);
  box-shadow: var(--shadow-card);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.btn-lookup:hover {
  background: var(--accent-pastel-pink);
  transform: translate(-1px, -1px);
}

.cart-toggle-btn {
  font-family: var(--font-heading);
  background: #f472b6;
  color: #18181b;
  border: 1.5px solid var(--border-dark);
  box-shadow: var(--shadow-card);
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.cart-toggle-btn:hover {
  background: #fb7185;
  transform: translate(-1px, -1px);
}

.cart-count-badge {
  background: #18181b;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: var(--radius-badge);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Mobile Header Precision Alignment (<= 480px) */
@media (max-width: 480px) {
  .header-inner {
    padding: 6px 10px;
  }
  .brand-emblem-img {
    height: 32px;
    max-width: 36px;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .brand-tagline {
    display: none; /* Hide tagline on narrow mobile to leave ample breathing room for right buttons */
  }
  .btn-lookup {
    padding: 5px 8px;
    font-size: 0.75rem;
    gap: 3px;
  }
  .cart-toggle-btn {
    padding: 5px 9px;
    font-size: 0.78rem;
    gap: 4px;
  }
  .cart-count-badge {
    min-width: 18px;
    height: 18px;
    font-size: 0.68rem;
    padding: 0 4px;
  }
}
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-badge);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 24px 0 16px;
}

.hero-card {
  background: #ffffff;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft-pink);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-badge);
  padding: 4px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  align-self: flex-start;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.15;
  color: #111113;
  margin-top: 4px;
}
.hero-title span.cute-highlight {
  color: var(--primary-deep-pink);
  position: relative;
  display: inline-block;
}
.hero-title span.cute-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: #fbcfe8;
  z-index: -1;
  border-radius: 4px;
}

.hero-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
  margin-top: 8px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.feature-tag {
  background: var(--accent-pastel-pink);
  border: 1px solid #fbcfe8;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #18181b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-cta-group {
  margin-top: 8px;
}

.btn-primary {
  font-family: var(--font-heading);
  background: #18181b;
  color: #ffffff;
  border: 1.5px solid var(--border-dark);
  box-shadow: var(--shadow-card);
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-primary:hover {
  background: #f472b6;
  color: #18181b;
  transform: translate(-1px, -1px);
}

.hero-luxury-showcase {
  background: radial-gradient(circle, #fff1f5 0%, #ffffff 80%);
  border: 1.5px solid #fbcfe8;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-showcase-vial-img {
  max-height: 135px;
  width: auto;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}
.hero-luxury-showcase:hover .hero-showcase-vial-img {
  transform: translateY(-4px) scale(1.03);
}

.hero-showcase-badge {
  background: #18181b;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-badge);
  letter-spacing: 0.4px;
}

/* ==========================================================================
   Flourish Divider
   ========================================================================== */
.flourish-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 16px;
}
.flourish-divider .line {
  flex: 1;
  max-width: 80px;
  height: 1.5px;
  background: #27272a;
}
.flourish-divider .center-symbol {
  font-size: 1rem;
  color: var(--primary-deep-pink);
}

/* ==========================================================================
   Catalog Section & Category Tabs
   ========================================================================== */
.catalog-header {
  text-align: center;
  margin-bottom: 18px;
}

.catalog-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #18181b;
}

.catalog-sub {
  color: #64748b;
  font-size: 0.85rem;
  max-width: 500px;
  margin: 4px auto 14px;
}

/* ==========================================================================
   Cute Boutique Category Dropdown (Fits Site Style • Zero Horizontal Scroll)
   ========================================================================== */
.boutique-category-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px auto 22px;
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 40;
}

.boutique-dropdown {
  position: relative;
  width: 100%;
}

.boutique-dropdown-trigger {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #18181b;
  box-shadow: 2px 2px 0px #18181b;
  border-radius: 9999px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-heading);
  user-select: none;
}
.boutique-dropdown-trigger:hover,
.boutique-dropdown-trigger.open {
  background: #fff0f5;
  border-color: #ec4899;
  box-shadow: 2px 2px 0px #ec4899;
}

.trigger-icon {
  font-size: 1.1rem;
  margin-right: 8px;
}

.trigger-text {
  flex: 1;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 800;
  color: #18181b;
}

.trigger-caret {
  font-size: 0.8rem;
  color: #db2777;
  font-weight: 900;
  transition: transform 0.2s ease;
  margin-left: 8px;
}
.boutique-dropdown-trigger.open .trigger-caret {
  transform: rotate(180deg);
}

.boutique-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid #18181b;
  box-shadow: 0 10px 25px rgba(244, 114, 182, 0.2), 2px 2px 0px #18181b;
  border-radius: 16px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 3px;
  z-index: 50;
  animation: dropdownPop 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}
.boutique-dropdown-menu.open {
  display: flex;
}

@keyframes dropdownPop {
  0% { opacity: 0; transform: translateY(-4px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.boutique-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: #1f2937;
  transition: all 0.12s ease;
  user-select: none;
}
.boutique-dropdown-item:hover {
  background: #fff1f5;
  color: #be185d;
  transform: translateX(2px);
}
.boutique-dropdown-item.active {
  background: #fff0f5;
  color: #be185d;
  border: 1px solid #fbcfe8;
  font-weight: 800;
}

.item-icon {
  font-size: 1rem;
}
.item-name {
  flex: 1;
}
.item-badge {
  background: #18181b;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 9999px;
}
.boutique-dropdown-item.active .item-badge {
  background: #db2777;
}

/* ==========================================================================
   Product Grid & Cards (Clean & Refined)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.product-card {
  background: #ffffff;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.card-top-badges {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 8px;
  gap: 6px;
}

.scallop-badge {
  background: #18181b;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
}

.tag-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-badge);
  border: 1px solid var(--border-dark);
}
.badge-pink { background: #ffe4ec; color: #9d174d; }
.badge-lavender { background: #f3e8ff; color: #6b21a8; }
.badge-mint { background: #dcfce7; color: #166534; }
.badge-dark { background: #f4f4f5; color: #18181b; }

.product-vial-art {
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 10px;
  background: radial-gradient(circle, #fff1f5 0%, #ffffff 70%);
  border-radius: 10px;
}
.product-vial-art img {
  max-height: 115px;
  width: auto;
}

.product-purity-pill {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: #ffffff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-badge);
  padding: 1px 6px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #18181b;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #18181b;
  line-height: 1.2;
}

.product-form-type {
  font-size: 0.68rem;
  font-weight: 700;
  color: #ec4899;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 2px 0 4px;
}

.product-desc {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 8px;
  line-height: 1.4;
  flex: 1;
}

.card-meta-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.72rem;
  margin-top: 6px;
  margin-bottom: 4px;
}
.btn-specs-link {
  background: none;
  border: none;
  color: #71717a;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.72rem;
  transition: color 0.15s ease;
}
.btn-specs-link:hover {
  color: var(--primary-deep-pink);
  text-decoration: underline;
}

/* Dosage Variant Selector Pills ("Less is more") */
.dosage-selector {
  margin: 8px 0 10px;
  background: #fdfafb;
  border: 1px solid #f1e4ea;
  border-radius: 10px;
  padding: 8px 10px;
}
.dosage-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}
.dosage-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dose-btn {
  font-family: var(--font-heading);
  background: #ffffff;
  border: 1.5px solid #27272a;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #18181b;
  cursor: pointer;
  transition: all 0.12s ease;
  box-shadow: 1.5px 1.5px 0px #18181b;
}
.dose-btn:hover {
  background: #ffe4ec;
  transform: translate(-0.5px, -0.5px);
}
.dose-btn.active {
  background: #18181b;
  color: #ffffff;
  border-color: #18181b;
  box-shadow: 1.5px 1.5px 0px var(--primary-pink);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed #f1e4ea;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #18181b;
}

.btn-add-cart {
  font-family: var(--font-heading);
  background: #f472b6;
  color: #18181b;
  border: 1.5px solid var(--border-dark);
  box-shadow: 1.5px 1.5px 0px #18181b;
  border-radius: var(--radius-btn);
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}
.btn-add-cart:hover {
  background: #fb7185;
}

/* ==========================================================================
   How It Works (Clean & Simple)
   ========================================================================== */
.how-it-works-card {
  background: #ffffff;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 20px 16px;
  margin-bottom: 30px;
}

.how-header {
  text-align: center;
  margin-bottom: 16px;
}
.how-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
}
.how-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.step-item {
  background: var(--bg-blush);
  border: 1px solid #fbcfe8;
  border-radius: 12px;
  padding: 12px;
}
.step-num {
  width: 26px;
  height: 26px;
  background: #18181b;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  font-size: 0.8rem;
}
.step-item h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.step-item p {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}

/* ==========================================================================
   Slide-in Cart Drawer
   ========================================================================== */
.cart-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24, 24, 27, 0.45);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  border-left: 2px solid var(--border-dark);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  z-index: 250;
  display: flex;
  flex-direction: column;
  transition: right 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overscroll-behavior: contain;
}
.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 14px 16px;
  border-bottom: 1.5px solid var(--border-dark);
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-close-cart {
  background: #fff0f5;
  border: 1.5px solid var(--border-dark);
  box-shadow: 1.5px 1.5px 0px #18181b;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  min-width: 36px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #18181b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  padding: 0;
  flex-shrink: 0;
}
.btn-close-cart:hover,
.btn-close-cart:active {
  background: #f43f5e;
  color: #ffffff;
  transform: scale(1.05);
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item-card {
  background: var(--bg-blush);
  border: 1px solid #fbcfe8;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  position: relative;
}
.cart-item-img {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid #fbcfe8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-img img { max-height: 40px; }
.cart-item-details { flex: 1; padding-right: 28px; }
.cart-item-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
}
.cart-item-dose {
  font-size: 0.72rem;
  color: #64748b;
}
.cart-item-price {
  font-weight: 800;
  font-size: 0.92rem;
}
.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.btn-qty {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: #ffffff;
  border: 1.5px solid var(--border-dark);
  box-shadow: 1px 1px 0px #18181b;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #18181b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.btn-qty:hover,
.btn-qty:active {
  background: #f472b6;
  color: #ffffff;
  transform: translate(-0.5px, -0.5px);
}
.qty-num {
  font-size: 0.95rem;
  font-weight: 800;
  min-width: 22px;
  text-align: center;
}
.btn-item-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fee2e2;
  border: 1.5px solid #ef4444;
  box-shadow: 1px 1px 0px #b91c1c;
  color: #b91c1c;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  min-width: 30px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.15s ease;
  z-index: 2;
}
.btn-item-remove:hover,
.btn-item-remove:active {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.08);
}

.cart-footer {
  padding: 12px 14px;
  border-top: 1.5px solid var(--border-dark);
  background: #ffffff;
}

.cart-calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 3px;
  color: #64748b;
}
.cart-calc-row.total-row {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #18181b;
  padding-top: 6px;
  border-top: 1px dashed #fbcfe8;
  margin-top: 4px;
}

.btn-checkout-drawer {
  width: 100%;
  font-family: var(--font-heading);
  background: #18181b;
  color: #ffffff;
  border: 1.5px solid var(--border-dark);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-btn);
  padding: 11px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   Checkout Modal & Form (Mobile-First Precision)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24, 24, 27, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: flex-end; /* Mobile: bottoms up sheet */
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overscroll-behavior: contain;
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  border: 2px solid var(--border-dark);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 100vw;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 20px 16px env(safe-area-inset-bottom, 20px);
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-backdrop.open .modal-box {
  transform: translateY(0);
}

@media (min-width: 560px) {
  .modal-backdrop {
    align-items: center;
    padding: 16px;
  }
  .modal-box {
    border-bottom: 2px solid var(--border-dark);
    border-radius: var(--radius-card);
    max-width: 520px;
    max-height: 88vh;
    max-height: 88dvh;
    padding: 22px 20px;
    transform: scale(0.96);
  }
  .modal-backdrop.open .modal-box {
    transform: scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px dashed #f1e4ea;
  position: sticky;
  top: -20px;
  background: #ffffff;
  z-index: 10;
  padding-top: 4px;
}
.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #18181b;
}

.form-group {
  margin-bottom: 12px;
}
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: #18181b;
  margin-bottom: 4px;
}
.form-control {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--border-dark);
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 16px; /* Strictly 16px to prevent iOS Safari auto-zoom */
  line-height: 1.35;
  outline: none;
  background: #ffffff;
  color: #18181b;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus {
  border-color: var(--primary-deep-pink);
  box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.25);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.cashapp-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.cashapp-symbol {
  position: absolute;
  left: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: #059669;
  pointer-events: none;
}
.form-control.input-cashtag {
  padding-left: 28px;
  font-weight: 700;
  color: #047857;
}

.checkout-summary-box {
  background: #fdf8fa;
  border: 1px solid #f1e4ea;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.research-disclaimer-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  background: #fff5f8;
  border: 1.5px solid #fbcfe8;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #831843;
}
.research-disclaimer-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #db2777;
  cursor: pointer;
  flex-shrink: 0;
}

/* ==========================================================================
   Receipt & Order Status
   ========================================================================== */
.receipt-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  padding: 0 12px;
}

.receipt-card {
  background: #ffffff;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 20px 16px;
}

.cashapp-payment-box {
  background: #f0fdf4;
  border: 1.5px solid #16a34a;
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 2px 2px 0px #16a34a;
  margin-bottom: 20px;
}

.cashapp-qr-img {
  width: 140px;
  height: 140px;
  background: #ffffff;
  border: 1px solid #16a34a;
  border-radius: 10px;
  padding: 4px;
  margin: 10px auto;
  display: block;
}

.cashtag-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid #16a34a;
  border-radius: var(--radius-badge);
  padding: 6px 12px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #15803d;
  cursor: pointer;
  margin-bottom: 8px;
}

.memo-callout {
  background: #ffffff;
  border: 1px dashed #16a34a;
  border-radius: 8px;
  padding: 8px;
  font-size: 0.82rem;
  color: #166534;
  font-weight: 700;
  margin-top: 8px;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 16px;
  right: 16px;
  left: 16px;
  max-width: 320px;
  margin: 0 auto;
  background: #18181b;
  color: #ffffff;
  border: 1.5px solid var(--primary-pink);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-btn);
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #18181b;
  color: #e4e4e7;
  border-top: 2px solid var(--primary-pink);
  padding: 28px 0 16px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 4px;
}
.footer-brand p {
  font-size: 0.8rem;
  color: #a1a1aa;
}
.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: #f472b6;
  margin-bottom: 6px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 5px;
  font-size: 0.8rem;
}
.footer-col ul li a {
  color: #d4d4d8;
}

.footer-research-disclaimer {
  background: #27272a;
  border-left: 3px solid #f472b6;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  color: #a1a1aa;
  line-height: 1.45;
  margin-bottom: 16px;
}

.footer-bottom {
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid #3f3f46;
  font-size: 0.72rem;
  color: #71717a;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (min-width: 520px) {
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
  .form-grid-3 { grid-template-columns: 2fr 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .hero-card {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    align-items: center;
    padding: 30px 26px;
  }
  .hero-title { font-size: 2.4rem; }
  .how-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .toast-notice {
    left: auto;
    right: 20px;
  }
}

@media (min-width: 992px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .how-steps-grid { grid-template-columns: repeat(4, 1fr); }
}
