/* =============================================
   Modern Peptides-inspired design
   Clean white · Professional · Minimal
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a[href^="mailto:"] { font-weight: 700; }
html, body { overflow-x: hidden; max-width: 100%; }

:root {
  --blue:        #003A96;
  --blue-dark:   #001D4B;
  --blue-light:  #dde5f7;
  --accent:      #003A96;
  --orange:      #FD962E;
  --green:       #16B159;
  --red:         #FA5039;
  --text:        #1a1a1a;
  --text-mid:    #555555;
  --text-light:  #888888;
  --border:      #dddddd;
  --border-dark: #cccccc;
  --bg:          #ffffff;
  --bg-gray:     #f5f5f5;
  --bg-light:    #fafafa;
  --radius:      3px;
  --radius-md:   6px;
  --shadow:      0 1px 4px rgba(0,0,0,.10);
  --shadow-md:   0 4px 16px rgba(0,0,0,.12);
  --transition:  all .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding-top: 130px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* =============================================
   Announcement Bar
   ============================================= */
.announcement-bar {
  background: linear-gradient(90deg, #0088CB 0%, #003A96 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .3px;
  overflow: hidden;
  height: 42px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 101;
}

.announcement-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  padding-left: 100%;
}

.announcement-track .sep { opacity: .4; padding: 0 28px; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   Header
   ============================================= */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e2e2e2;
  position: fixed;
  top: 42px;
  left: 0; right: 0;
  z-index: 100;
  transition: box-shadow .2s;
  overflow: visible;
}

.header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.08); }

/* Search dropdown */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: transparent;
  pointer-events: none;
}
.search-overlay.open { pointer-events: all; }
.search-overlay-box {
  position: fixed;
  top: 130px;
  right: max(calc((100vw - 1200px) / 2 + 24px), 24px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  width: min(400px, calc(100vw - 32px)); /* overridden by JS on open */
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.search-overlay.open .search-overlay-box {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.search-overlay-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-bottom: 1px solid #E5F0FE;
}
.search-overlay-icon { color: #888888; font-size: 17px; flex-shrink: 0; }
.search-overlay-input {
  flex: 1; border: none; outline: none;
  font-size: 14px; font-family: inherit; color: var(--text);
  background: transparent;
}
.search-overlay-input::placeholder { color: #c0c4d6; }
.search-overlay-clear {
  background: none; border: none; cursor: pointer;
  color: #888888; font-size: 15px; padding: 6px 8px;
  border-radius: 8px; transition: var(--transition); flex-shrink: 0;
}
.search-overlay-clear:hover { color: var(--text); background: #E5F0FE; }
.search-overlay-close {
  background: none; border: none; cursor: pointer; flex-shrink: 0;
  color: #0088CB; font-size: 17px; padding: 4px 6px;
  border-radius: 8px; transition: var(--transition);
}
.search-overlay-close:hover { background: #E5F0FE; }
.search-overlay-results { max-height: 380px; overflow-y: auto; }
.search-result-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px; cursor: pointer;
  transition: background .12s;
  text-decoration: none; color: inherit;
}
.search-result-item:hover { background: #f5f5f5; }
.search-result-thumb {
  width: 44px; height: 44px; border-radius: 8px;
  border: 1px solid #dddddd; object-fit: contain;
  background: #f5f5f5; flex-shrink: 0;
}
.search-result-thumb-placeholder {
  width: 44px; height: 44px; border-radius: 8px;
  border: 1px solid #dddddd; background: #E5F0FE;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #0088CB; font-size: 18px;
}
.search-result-name { font-size: 14px; font-weight: 500; color: #1a1a1a; }
.search-result-name mark { background: none; color: #0088CB; font-weight: 700; }
.search-result-price { font-size: 13px; color: #888888; margin-top: 2px; }
.search-result-all {
  display: block; text-align: right; padding: 12px 20px;
  font-size: 12px; font-weight: 700; color: #0088CB;
  text-transform: uppercase; letter-spacing: .06em;
  border-top: 1px solid #eeeeee; cursor: pointer;
  background: none; width: 100%;
  transition: background .12s;
}
.search-result-all:hover { background: #E5F0FE; }
.search-result-empty { padding: 20px 20px 24px; text-align: left; }

.header-inner {
  display: flex;
  align-items: center;
  height: 88px;
  gap: 40px;
}

.logo { display: flex; flex-direction: column; align-items: center; gap: 2px; flex-shrink: 0; text-align: center; padding-top: 4px; }

.logo-icon {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}

.logo-icon svg { width: 22px; height: 22px; }

.logo-text { font-size: 16px; font-weight: 600; letter-spacing: 2px; color: #3AC0E2; font-family: 'Exo 2', sans-serif; text-transform: uppercase; }
.logo-text strong { font-weight: 800; -webkit-text-fill-color: inherit; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }

/* Mobile-only nav links — hidden on desktop, visible in hamburger dropdown */
.nav-mobile-only { display: none; }
.nav-mobile-divider { display: none; }

.nav-link {
  font-size: 13px; font-weight: 600;
  color: #1a1a1a;
  padding: 6px 14px;
  border-radius: var(--radius);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}
.nav-link:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #0088CB;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav-link:not(.btn-nav):hover::after,
.nav-link:not(.btn-nav).active::after { transform: scaleX(1); }

.nav-link:hover, .nav-link.active { color: #0088CB; }

.nav-link.btn-nav {
  background: linear-gradient(to right, #3AC0E2, #0088CB); color: #fff !important;
  padding: 6px 16px;
  border-radius: 24px;
  letter-spacing: 0.03em;
  text-transform: none;
  white-space: nowrap;
}

.nav-link.btn-nav:hover { background: linear-gradient(to right, #2dafd9, #0073b0); color: #fff !important; }

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

/* =============================================
   Language Switcher
   ============================================= */
.lang-sw { position: relative; }
.lang-sw-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 7px; border-radius: 8px;
  background: transparent; border: 1px solid #e8edf8;
  cursor: pointer; font-size: 12px; font-weight: 600;
  color: #374151; transition: background .15s, border-color .15s;
  font-family: inherit;
}
.lang-sw-btn:hover, .lang-sw-btn.open { background: #f0f4ff; border-color: #003A96; color: #003A96; }
.lang-sw-chev { font-size: 9px; transition: transform .2s; }
.lang-sw-btn.open .lang-sw-chev { transform: rotate(180deg); }
.lang-sw-label { font-size: 12px; }
.lang-sw-drop {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1px solid #e8edf8; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,58,150,0.12); min-width: 180px;
  z-index: 9000; overflow: hidden; padding: 4px 0;
}
.lang-sw-drop.open { display: block; }
.lang-sw-opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 11px 16px; background: none; border: none;
  cursor: pointer; font-size: 13px; color: #374151;
  text-align: left; transition: background .15s; font-family: inherit;
}
.lang-sw-opt:hover { background: #f0f4ff; color: #003A96; }
.lang-sw-opt.active { background: #eef2ff; color: #003A96; font-weight: 600; }
.lang-sw-tag { margin-left: auto; font-size: 11px; color: #9ca3af; font-weight: 400; }
.lang-sw-label { display: none; }
@media (max-width: 600px) { .lang-sw-label { display: none; } }


.btn-icon {
  background: none; border: none; cursor: pointer;
  color: var(--text-mid); padding: 8px;
  border-radius: var(--radius); font-size: 16px;
  position: relative; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}

.btn-icon:hover { color: var(--blue); background: var(--bg-gray); }
.account-btn--guest { gap: 6px; padding: 6px 12px; border-radius: 10px; background: linear-gradient(to right, #3AC0E2, #0088CB); color: #fff !important; white-space: nowrap; }
.account-btn--guest:hover { background: linear-gradient(to right, #2dafd9, #0073b0) !important; }
.account-btn-auth { font-size: 13px; font-weight: 600; }
.account-btn-auth-short { display: none; font-size: 13px; font-weight: 600; }

.cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--blue); color: #fff;
  font-size: 10px; font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: none; align-items: center; justify-content: center;
}

.cart-count.show { display: flex; }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 8px; width: 36px; height: 36px;
}

.menu-toggle span {
  display: block; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent;
  transition: var(--transition); white-space: nowrap;
}

.btn-primary { background: linear-gradient(to right, #3AC0E2, #0088CB); color: #fff; border: none; }
.btn-primary:hover { background: linear-gradient(to right, #2dafd9, #0073b0); border: none; }

.btn-ghost { background: linear-gradient(to right, #3AC0E2, #0088CB); color: #fff; border: none; border-radius: 10px; }
.btn-ghost:hover { background: linear-gradient(to right, #2dafd9, #0073b0); border: none; }

.btn-full { width: 100%; justify-content: center; }

/* =============================================
   Hero + Trust viewport fill
   ============================================= */
.hero-trust-wrap {
  min-height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
}
.hero-trust-wrap .hero { flex: 1; }

/* =============================================
   Hero
   ============================================= */
.hero {
  background: #ffffff;
  border-bottom: none;
  padding: 48px 0 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: #ffffff;
  opacity: 1;
}

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

.hero-content { position: relative; }

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

@media (max-width: 768px) {
  .hero-row { grid-template-columns: 1fr; gap: 0; }
  .hero-image { display: flex; }
  .hero-img { max-width: 320px; margin: 0 auto; }
  .hero-trust-wrap { min-height: unset; height: auto; }
  .hero-trust-wrap .hero { flex: none; }
  .hero { min-height: unset; height: auto; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light); color: var(--blue);
  font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 20px;
  margin-bottom: 20px; border: 1px solid rgba(0,136,203,0.3);
}

.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; line-height: 1.15;
  color: var(--text); margin-bottom: 18px;
  letter-spacing: -.5px;
}

.gradient-text { color: #003A96; }

.hero-subtitle {
  font-size: 16px; color: var(--text-mid);
  margin-bottom: 32px; line-height: 1.7; max-width: 500px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.hero-stat strong { display: block; font-size: 22px; font-weight: 700; color: var(--text); }
.hero-stat span { font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; }
.hero-stat-div { width: 1px; height: 36px; background: var(--border); }

/* =============================================
   Trust Section
   ============================================= */
.trust-section {
  background: linear-gradient(135deg, #003A96 0%, #001D4B 100%);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cdefs%3E%3Cstyle%3Eline%7Bstroke:rgba(255,255,255,0.12);stroke-width:1%7D circle%7Bfill:rgba(255,255,255,0.10);stroke:rgba(255,255,255,0.18);stroke-width:1%7D polygon%7Bfill:none;stroke:rgba(255,255,255,0.08);stroke-width:1%7D%3C/style%3E%3C/defs%3E%3Cpolygon points='100,10 155,40 155,100 100,130 45,100 45,40'/%3E%3Cpolygon points='0,70 45,40 45,100 0,130'/%3E%3Cpolygon points='155,40 200,10 200,70 155,100'/%3E%3Cpolygon points='100,130 155,100 155,160 100,190 45,160 45,100'/%3E%3Cpolygon points='0,130 45,100 45,160 0,190'/%3E%3Cpolygon points='155,100 200,70 200,130 155,160'/%3E%3Ccircle cx='100' cy='10' r='3'/%3E%3Ccircle cx='155' cy='40' r='3'/%3E%3Ccircle cx='155' cy='100' r='3'/%3E%3Ccircle cx='100' cy='130' r='3'/%3E%3Ccircle cx='45' cy='100' r='3'/%3E%3Ccircle cx='45' cy='40' r='3'/%3E%3Ccircle cx='100' cy='70' r='4'/%3E%3Cline x1='100' y1='10' x2='100' y2='70'/%3E%3Cline x1='155' y1='40' x2='100' y2='70'/%3E%3Cline x1='155' y1='100' x2='100' y2='70'/%3E%3Cline x1='100' y1='130' x2='100' y2='70'/%3E%3Cline x1='45' y1='100' x2='100' y2='70'/%3E%3Cline x1='45' y1='40' x2='100' y2='70'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  pointer-events: none;
  opacity: 0.25;
}

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }

.trust-item {
  display: flex; align-items: center;
  gap: 16px; padding: 10px 28px;
  border-right: none;
}

.trust-item:last-child { border-right: none; }

.trust-icon {
  width: 93px; height: 93px; flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #3AC0E2;
  display: flex; align-items: center; justify-content: center;
}
.trust-icon i { font-size: 36px; color: #3AC0E2; }
.trust-item span { font-size: 15px; color: #fff; line-height: 1.6; }

/* =============================================
   Products Section
   ============================================= */
.products-section { padding: 60px 0; background: #ffffff; scroll-margin-top: 112px; }

.section-header { margin-bottom: 32px; }

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700; color: var(--text);
  margin-bottom: 8px; letter-spacing: -.3px;
}

.section-subtitle { font-size: 14px; color: var(--text-light); }

.category-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.filter-btn {
  padding: 7px 16px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--border); background: #ffffff;
  color: var(--text-mid); border-radius: var(--radius);
  cursor: pointer; transition: var(--transition);
}

.filter-btn:hover { border-color: #003A96; color: #003A96; }

.filter-btn.active { background: #003A96; border-color: #003A96; color: #fff; }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Product Card */
.product-card {
  background: #ffffff;
  border: 1.5px solid #dddddd;
  border-radius: 16px;
  overflow: hidden;
  cursor: default;
  transition: border-color .2s, box-shadow .2s, opacity .5s ease, transform .5s ease;
  opacity: 0;
  transform: translateY(18px);
}

.product-card:hover {
  border-color: #003A96;
  box-shadow: var(--shadow-md);
}

.product-image {
  position: relative; aspect-ratio: 1;
  background: var(--bg-gray);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border); overflow: hidden;
  cursor: pointer;
}

.product-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--radius);
  color: #fff; background: var(--blue); z-index: 1;
}

.badge-hot         { background: var(--red); }
.badge-new         { background: var(--green); }
.badge-popular     { background: var(--accent); }
.badge-best-seller { background: var(--orange); }

.product-image-inner {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
}

.product-vial {
  width: 52px; height: 88px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.12));
}

.product-tag {
  font-size: 11px; font-weight: 600;
  color: var(--text-mid); letter-spacing: .3px;
  background: rgba(255,255,255,.9);
  padding: 3px 8px; border-radius: var(--radius);
  border: 1px solid var(--border);
}

.product-info { padding: 14px 16px; }

.product-name { font-size: 14px; font-weight: 700; color: #003A96; margin-bottom: 3px; user-select: text; cursor: pointer; }
.product-variant {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: #fff;
  background: #22c55e;
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 10px;
}
.product-variant-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.variant-pill {
  font-size: 12px; font-weight: 600;
  padding: 3px 12px; border-radius: 20px;
  border: 1.5px solid #22c55e; color: #22c55e;
  cursor: pointer; user-select: none;
  transition: background .15s, color .15s;
}
.variant-pill.active, .variant-pill:hover { background: #22c55e; color: #fff; }

.product-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }

.product-purity {
  font-size: 11px; font-weight: 600; color: var(--green);
  background: rgba(22,177,89,0.1); border: 1px solid #bbf7d0;
  padding: 2px 7px; border-radius: var(--radius);
}

.product-rating { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-light); }
.product-rating i { color: #f59e0b; font-size: 10px; }

.product-pricing { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.product-price { font-size: 17px; font-weight: 700; color: #003A96; }

.product-old-price { font-size: 13px; color: var(--text-light); text-decoration: line-through; margin-left: 5px; }

.product-discount-ribbon {
  position: absolute;
  top: 0; right: 0;
  width: 64px; height: 64px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.product-discount-ribbon span {
  position: absolute;
  top: 14px; right: -18px;
  width: 80px;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 3px 0;
  transform: rotate(45deg);
  letter-spacing: .3px;
}

.product-add-btn {
  background: linear-gradient(to right, #3AC0E2, #0088CB); color: #fff;
  border: none;
  padding: 0 14px; height: 36px; font-size: 13px; font-weight: 600;
  border-radius: var(--radius); cursor: pointer;
  transition: var(--transition); white-space: nowrap;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}

.product-add-btn:hover { background: linear-gradient(to right, #2dafd9, #0073b0); color: #fff; transform: scale(1.05); box-shadow: 0 4px 12px rgba(0,136,203,0.45); }
.product-add-btn.added { background: rgba(22,177,89,0.1); color: var(--green); border-color: #bbf7d0; }


/* =============================================
   Features Section
   ============================================= */
.features-section {
  background: var(--bg-gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}

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

.section-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--blue); background: var(--blue-light);
  border: 1px solid rgba(0,58,150,0.25);
  padding: 5px 12px; border-radius: var(--radius); margin-bottom: 16px;
}

.features-desc { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 28px; }

.features-list { display: flex; flex-direction: column; gap: 18px; }

.feature-item {
  display: flex; align-items: flex-start; gap: 14px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}

.feature-icon {
  width: 36px; height: 36px;
  background: var(--blue-light); border: 1px solid rgba(29,175,197,0.3);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 14px; flex-shrink: 0;
}

.feature-item strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.feature-item span { font-size: 13px; color: var(--text-light); }

.features-visual { display: flex; flex-direction: column; gap: 16px; }

.visual-card {
  background: #fafafa; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow);
}

.visual-icon {
  width: 44px; height: 44px; background: var(--blue-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 18px; margin-bottom: 12px;
}

.visual-card strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.visual-card span { font-size: 13px; color: var(--text-light); }

.visual-badge {
  display: inline-block; margin-top: 12px;
  background: rgba(22,177,89,0.1); color: var(--green);
  border: 1px solid #bbf7d0;
  font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: var(--radius);
}

.purity-circle { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 0; }
.purity-num { font-size: 36px; font-weight: 700; color: var(--blue); line-height: 1; }
.purity-label { font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }

/* =============================================
   Newsletter
   ============================================= */
.newsletter-section {
  background: linear-gradient(135deg, #003A96 0%, #001D4B 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cdefs%3E%3Cstyle%3Eline%7Bstroke:rgba(255,255,255,0.12);stroke-width:1%7D circle%7Bfill:rgba(255,255,255,0.10);stroke:rgba(255,255,255,0.18);stroke-width:1%7D polygon%7Bfill:none;stroke:rgba(255,255,255,0.08);stroke-width:1%7D%3C/style%3E%3C/defs%3E%3Cpolygon points='100,10 155,40 155,100 100,130 45,100 45,40'/%3E%3Cpolygon points='0,70 45,40 45,100 0,130'/%3E%3Cpolygon points='155,40 200,10 200,70 155,100'/%3E%3Cpolygon points='100,130 155,100 155,160 100,190 45,160 45,100'/%3E%3Cpolygon points='0,130 45,100 45,160 0,190'/%3E%3Cpolygon points='155,100 200,70 200,130 155,160'/%3E%3Ccircle cx='100' cy='10' r='3'/%3E%3Ccircle cx='155' cy='40' r='3'/%3E%3Ccircle cx='155' cy='100' r='3'/%3E%3Ccircle cx='100' cy='130' r='3'/%3E%3Ccircle cx='45' cy='100' r='3'/%3E%3Ccircle cx='45' cy='40' r='3'/%3E%3Ccircle cx='100' cy='70' r='4'/%3E%3Cline x1='100' y1='10' x2='100' y2='70'/%3E%3Cline x1='155' y1='40' x2='100' y2='70'/%3E%3Cline x1='155' y1='100' x2='100' y2='70'/%3E%3Cline x1='100' y1='130' x2='100' y2='70'/%3E%3Cline x1='45' y1='100' x2='100' y2='70'/%3E%3Cline x1='45' y1='40' x2='100' y2='70'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  pointer-events: none;
  opacity: 0.25;
}
.products-section + .newsletter-section { padding: 64px 0; }

.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }

.newsletter-content h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.newsletter-content p { font-size: 14px; color: rgba(255,255,255,.75); }

.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }

.newsletter-form input {
  padding: 11px 16px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.15); color: #fff;
  border-radius: var(--radius); font-size: 14px; width: 260px; outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-form input:focus { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.2); }

.newsletter-form .btn-primary { background: linear-gradient(to right, #3AC0E2, #0088CB); color: #fff; border-color: transparent; }
.newsletter-form .btn-primary:hover { background: linear-gradient(to right, #2dafd9, #0073b0); }

/* =============================================
   Footer
   ============================================= */
.footer { background: #0a0a0a; color: #cccccc; padding: 56px 0 0; }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
}


.footer .logo-icon { background: #0088CB; }

.footer-brand .logo { flex-direction: column; align-items: center; display: inline-flex; }
.footer-tagline { font-size: 13px; color: #aaaaaa; margin: 14px 0 20px; line-height: 1.6; }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 34px; height: 34px; background: #222222; color: #3AC0E2;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: var(--transition);
}

.footer-social a:hover { background: #3AC0E2; color: #fff; }

.footer-links h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: #3AC0E2; margin-bottom: 16px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 14px; color: #cccccc; transition: var(--transition); }
.footer-links a[href^="mailto:"] { background: linear-gradient(to right, #3AC0E2, #0088CB); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-links a:hover { color: #3AC0E2; }

.footer-bottom { background: linear-gradient(90deg, #0088CB 0%, #003A96 100%); border-top: none; padding: 10px 0 14px; }
.footer-copy { font-size: 10px; color: #ffffff; margin-bottom: 4px; }
.footer-disclaimer-text { font-size: 9px; color: rgba(255,255,255,0.75); line-height: 1.5; margin-top: 3px; }

/* =============================================
   Cart Drawer
   ============================================= */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity .25s;
}

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

.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: 380px; max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #ffffff; z-index: 201;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  border-left: 1px solid var(--border);
}

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

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

.cart-header h3 { font-size: 16px; font-weight: 700; }
.cart-count-inline { font-size: 12px; font-weight: 400; color: var(--text-light); margin-left: 6px; }

.cart-close {
  background: none; border: none; cursor: pointer;
  color: var(--text-light); font-size: 16px; padding: 6px;
  border-radius: var(--radius); transition: var(--transition);
}

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

.cart-body { flex: 1; overflow-y: auto; padding: 16px; }

.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; height: 200px; color: var(--text-light);
}

.cart-empty i { font-size: 36px; opacity: .3; }
.cart-empty p { font-size: 14px; }

.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); cursor: default; }
.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--bg-gray); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}

.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-sub { font-size: 11px; color: var(--text-light); margin-bottom: 4px; }
.cart-item-price { font-size: 14px; font-weight: 700; color: var(--text); }

.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }

.qty-controls { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

.qty-btn {
  background: var(--bg-gray); border: none;
  width: 28px; height: 28px; font-size: 14px;
  cursor: pointer; transition: var(--transition); color: var(--text);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}

.qty-btn:hover { background: var(--border); }
.qty-num { width: 30px; text-align: center; font-size: 13px; font-weight: 600; }

.cart-remove {
  background: none; border: none; cursor: pointer;
  font-size: 11px; color: var(--text-light);
  display: flex; align-items: center; gap: 4px;
  transition: var(--transition); padding: 2px 0;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}

.cart-remove:hover { color: var(--red); }

.cart-footer { padding: 16px; padding-bottom: max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--bg-light); }

.cart-totals { margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }

.cart-total-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-mid); }

.cart-total-final {
  font-size: 15px; font-weight: 700; color: var(--text);
  padding-top: 8px; border-top: 1px solid var(--border); margin-top: 4px;
}

.cart-disclaimer { font-size: 11px; color: var(--text-light); text-align: center; margin-top: 10px; }

/* =============================================
   Checkout Modal
   ============================================= */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: #ffffff; border-radius: var(--radius-md);
  width: 100%; max-width: 520px; max-height: 90vh;
  overflow-y: auto; padding: 32px; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  font-size: 16px; color: var(--text-light); padding: 6px;
  border-radius: var(--radius); transition: var(--transition);
}

.modal-close:hover { background: var(--bg-gray); color: var(--text); }

.checkout-steps {
  display: flex; align-items: center;
  margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.checkout-step {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--text-light);
}

.checkout-step.active { color: var(--blue); }
.checkout-step.done { color: var(--green); }

.step-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg-gray); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}

.checkout-step.active .step-num { background: var(--blue); border-color: var(--blue); color: #fff; }
.checkout-step.done .step-num { background: var(--green); border-color: var(--green); color: #fff; }

.checkout-step-div { flex: 1; height: 1px; background: var(--border); margin: 0 8px; }

.checkout-panel { display: none; }
.checkout-panel.active { display: block; }
.checkout-panel h3 { font-size: 17px; font-weight: 700; margin-bottom: 20px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.form-full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--text-mid); }

.form-group input,
.form-group select {
  padding: 10px 12px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 14px;
  color: var(--text); background: #ffffff; outline: none; transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,175,197,.1); }

.shipping-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.shipping-option {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); cursor: pointer;
  font-size: 13px; transition: var(--transition);
}

.shipping-option:hover { border-color: var(--blue); }
.shipping-option input { margin: 0; accent-color: var(--blue); }

.payment-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.payment-method {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); cursor: pointer;
  font-size: 13px; transition: var(--transition);
}

.payment-method:hover { border-color: var(--blue); }
.payment-method input { margin: 0; accent-color: var(--blue); }
.payment-method i { color: var(--blue); font-size: 16px; }

.payment-secure { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-light); margin-bottom: 20px; }
.payment-secure i { color: var(--green); }

.checkout-nav { display: flex; gap: 10px; justify-content: flex-end; }

.order-review { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }

.order-review-item {
  display: flex; justify-content: space-between; font-size: 13px;
  padding: 10px 12px; background: var(--bg-gray); border-radius: var(--radius);
}

.order-total-summary { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

.research-agreement {
  padding: 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 20px;
}
.research-agreement.input-error {
  border-color: var(--red) !important;
  background: rgba(250,80,57,0.08);
}

.discount-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.discount-row input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  letter-spacing: .05em;
}
.discount-row input:focus {
  outline: none;
  border-color: var(--brand);
}
#discount-status {
  font-size: 13px;
  min-height: 20px;
  margin-bottom: 12px;
}
#discount-status.success { color: #16a34a; }
#discount-status.error   { color: var(--red); }

.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-mid); cursor: pointer;
}

.checkbox-label input { margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }

.order-success { text-align: center; padding: 20px 0; }

.success-icon {
  width: 64px; height: 64px; background: rgba(22,177,89,0.1);
  border: 2px solid #bbf7d0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 24px; color: var(--green);
}

.order-success h3 { font-size: 22px; margin-bottom: 10px; }
.order-success p { font-size: 14px; color: var(--text-mid); margin-bottom: 8px; }
.order-number { font-weight: 700; color: var(--blue); }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-right: none; border-top: 1px solid rgba(255,255,255,0.25); grid-column: span 2; }
  .trust-item:nth-child(1) { border-right: 1px solid #cccccc; }
}

@media (max-width: 768px) {
  .nav {
    display: none; position: absolute;
    top: 80px; left: 0; right: 0;
    background: #ffffff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch;
    padding: 8px 16px 16px; gap: 2px; box-shadow: var(--shadow-md);
  }
  .nav.open { display: flex; }
  .nav-link { padding: 10px 14px; }
  .nav-mobile-only { display: flex; }
  .nav-mobile-divider { display: block; height: 1px; background: #e5e7eb; margin: 4px 14px; }
  .menu-toggle { display: flex; }
  .header-inner { position: relative; gap: 8px; justify-content: space-between; }
  .header-actions { gap: 4px; }
  .btn-icon { padding: 6px; }
  .lang-sw-label { display: none !important; }
  .account-btn--guest { padding: 5px 10px; font-size: 12px; gap: 4px; }
  .logo-text { font-size: 11px; letter-spacing: 0.5px; }
  .hero { padding: 48px 0; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-inner { flex-direction: column; }
  .newsletter-form input { width: 100%; }
  /* Show short "Sign In" on mobile instead of full text */
  .account-btn-auth { display: none; }
  .account-btn-auth-short { display: inline; }
  .account-btn--guest { padding: 6px 10px; }
  /* Trust section: single column stacked, centred */
  .trust-section { padding: 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { flex-direction: row; align-items: center; text-align: left; padding: 14px 20px; gap: 14px; border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .trust-item:last-child { border-bottom: none; }
  .trust-item:nth-child(3) { grid-column: span 1; border-top: none; }
  .trust-icon { width: 52px; height: 52px; flex-shrink: 0; }
  .trust-icon i { font-size: 22px; }
  .trust-item span { font-size: 13px; }
}

@media (max-width: 400px) {
  #search-btn { display: none; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: auto; align-self: flex-start; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .trust-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-drawer { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
}

/* =============================================
   Auth Modal
   ============================================= */
.auth-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-modal-overlay.open { display: flex; }

.auth-modal {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: var(--shadow-md);
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px 8px;
}
.auth-modal-close:hover { color: var(--text); }

.auth-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.auth-tab-btn {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  margin-bottom: -1px;
  transition: var(--transition);
}
.auth-tab-btn.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  font-weight: 600;
}

.auth-field {
  margin-bottom: 14px;
  flex: 1;
}
.auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.auth-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  background: #ffffff;
  color: #1a1a1a;
}
.auth-field input:focus { border-color: var(--blue); }

.auth-field-row {
  display: flex;
  gap: 12px;
}

.auth-error {
  background: rgba(250,80,57,0.1);
  border: 1px solid #fca5a5;
  color: var(--red);
  font-size: 13px;
  padding: 9px 12px;
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.auth-submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  transition: background .2s;
}
.auth-submit-btn:hover { background: var(--blue-dark); }
.auth-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 16px;
}
.auth-switch a { color: var(--blue); font-weight: 600; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  color: var(--text-mid);
  font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.google-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
.google-auth-btn img { width: 18px; height: 18px; }
.google-auth-btn:hover { background: #f5f5f5; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.google-auth-btn:disabled { opacity: .6; cursor: not-allowed; }

/* Account dropdown */
.account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  z-index: 500;
  padding: 12px 0 8px;
}
.account-dropdown-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 0 16px 2px;
}
.account-dropdown-email {
  font-size: 12px;
  color: var(--text-light);
  padding: 0 16px 8px;
}
.account-dropdown-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 6px;
}
.account-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 16px;
  background: none;
  border: none;
  font-size: 13px;
  color: var(--text-mid);
  cursor: pointer;
  text-align: left;
  transition: background .15s;
}
.account-dropdown-item:hover { background: var(--bg-gray); color: var(--text); }
.account-dropdown-item--danger { color: var(--red) !important; }
.account-dropdown-item--danger:hover { background: rgba(250,80,57,0.1); }

/* =============================================
   Checkout Validation
   ============================================= */
.req { color: var(--red); }
.field-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
  display: none;
}
.input-error {
  border-color: var(--red) !important;
  background: rgba(250,80,57,0.08);
}
.checkout-step-error {
  font-size: 13px;
  color: var(--red);
  background: rgba(250,80,57,0.08);
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  padding: 9px 12px;
  margin-bottom: 12px;
  display: none;
}

/* =============================================
   Payment Panels
   ============================================= */
.pay-panel { margin-top: 20px; }

.pay-amount-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blue-light);
  border: 1px solid rgba(0,58,150,0.25);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.pay-amount-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  flex-shrink: 0;
}
.pay-amount-label i { margin-right: 5px; }
.pay-amount-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.3px;
}
.pay-amount-rate {
  font-size: 11px;
  color: var(--text-light);
  margin-left: auto;
}
.pay-amount-box.green {
  background: #f0fdf4;
  border-color: #86efac;
}
.pay-amount-box.green .pay-amount-label { color: #15803d; }
.pay-amount-box.green .pay-amount-val   { color: #16a34a; }
.pay-amount-box.green .pay-amount-rate  { color: #16a34a; font-size: 22px; font-weight: 700; letter-spacing: -0.3px; }

.pay-qr-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.pay-qr-placeholder {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  border: 2px dashed var(--border-dark);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f5f5f5;
  color: var(--text-light);
  font-size: 12px;
  text-align: center;
  padding: 10px;
}
.pay-qr-placeholder i { font-size: 36px; color: var(--border-dark); }
.pay-qr-placeholder small { font-size: 10px; color: #c0c4d6; }

.pay-qr-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
}
.pay-qr-info p { margin: 0; }
.pay-account { color: var(--text); font-size: 14px; }
.pay-note {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  gap: 6px;
  align-items: flex-start;
  line-height: 1.5;
}
.pay-note i { color: var(--blue); margin-top: 2px; flex-shrink: 0; }

.pay-wallet-address {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f5;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-family: monospace;
  font-size: 12px;
  word-break: break-all;
}
.pay-wallet-address span { flex: 1; color: var(--text); }
.copy-btn {
  flex-shrink: 0;
  background: var(--blue-light);
  border: 1px solid rgba(0,58,150,0.25);
  border-radius: var(--radius);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.copy-btn:hover { background: var(--blue); color: #ffffff; }

.pay-crypto-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.crypto-tab-btn {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
}
.crypto-tab-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

@media (max-width: 560px) {
  .pay-qr-box { flex-direction: column; align-items: center; }
  .pay-wallet-address { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   Saved Address Picker (checkout step 1)
   ============================================= */
.saved-addr-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}
.saved-addr-card {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
}
.saved-addr-card:hover  { border-color: var(--blue); background: #E5F0FE; }
.saved-addr-card.selected { border-color: var(--blue); background: #E5F0FE; }
.saved-addr-card.selected::after {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 12px; right: 14px;
  color: var(--blue);
  font-size: 16px;
}
.saved-addr-card-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.saved-addr-card-line  { font-size: 13px; color: var(--text-mid); line-height: 1.4; }
.addr-default-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: .02em;
}
.saved-addr-heading {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.saved-addr-or {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin: 14px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.saved-addr-or::before,
.saved-addr-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.tng-icon {
  background: #1B3FA0;
  color: #FFD700;
  font-size: 11px;
  font-weight: 700;
  padding: 0 10px;
  border-radius: 4px;
  letter-spacing: .3px;
  flex-shrink: 0;
  height: 28px;
  min-width: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.crypto-icon {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f7931a, #627eea);
  border-radius: 4px;
  padding: 0 10px;
  height: 28px;
  min-width: 80px;
  justify-content: center;
}
.crypto-icon i { font-size: 11px; color: #fff; }

/* =============================================
   Floating Cart Button
   ============================================= */
.fab-cart {
  position: fixed;
  bottom: 40px;
  right: 32px;
  z-index: 900;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 24px rgba(37,99,235,.55), 0 2px 8px rgba(0,0,0,.18);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.fab-cart:hover {
  background: var(--blue-dark);
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,99,235,.65), 0 2px 8px rgba(0,0,0,.2);
}
.fab-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  padding: 0 5px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  line-height: 1;
}
.fab-cart-badge.show { display: flex; }
@media (max-width: 640px) {
  .fab-cart { bottom: 28px; right: 20px; width: 60px; height: 60px; font-size: 24px; }
}
/* =============================================
   Age Gate Overlay
   ============================================= */
#age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 24px;
}
#age-gate-overlay.visible { display: flex; }

.age-gate-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px 36px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.age-gate-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #003A96;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.age-gate-icon svg {
  width: 36px;
  height: 36px;
  fill: #fff;
}

.age-gate-title {
  font-size: 22px;
  font-weight: 800;
  color: #003A96;
  margin-bottom: 14px;
  line-height: 1.3;
}

.age-gate-body {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 28px;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
}

.age-gate-btn-enter {
  flex: 1;
  padding: 14px 10px;
  background: #003A96;
  color: #fff;
  border: 2px solid #003A96;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.age-gate-btn-enter:hover { background: #046AA5; border-color: #046AA5; }

.age-gate-btn-exit {
  flex: 1;
  padding: 14px 10px;
  background: #fff;
  color: #1a1a1a;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.age-gate-btn-exit:hover { border-color: #999; background: #f5f5f5; }

@media (max-width: 480px) {
  .age-gate-card { padding: 32px 20px 28px; }
  .age-gate-actions { flex-direction: column; }
}
