:root {
  --accent: #f04e23;
  --accent-dark: #d03d15;
  --accent-light: #ff6a40;
  --navy: #1a2744;
  --navy-dark: #111d36;
  --navy-light: #243260;
  --white: #ffffff;
  --bg: #f5f6f8;
  --bg-2: #eef0f3;
  --text: #222222;
  --text-muted: #666666;
  --text-light: #999999;
  --border: #e2e5ea;
  --border-dark: #c8cdd6;
  --red: #cc0000;
  --red-dark: #a30000;
  --red-light: #e03535;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 6px;
  --transition: all 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }

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

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

/* ── Layout ────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ── Announcement bar ──────────────────── */
.announce-bar {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.announce-bar a { color: #fff; text-decoration: underline; }

/* ── Navbar ────────────────────────────── */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  height: 68px;
  max-width: 1240px;
  margin: 0 auto;
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: #ffffff;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.navbar-brand span { color: var(--accent); }
.navbar-logo { height: 40px; width: auto; display: block; }

/* Research badge — replaces search bar */
.navbar-research-badge {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(224,53,53,0.10);
  border: 1px solid rgba(224,53,53,0.28);
  border-radius: 30px;
  padding: 8px 20px;
  color: #ff7a7a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.navbar-research-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(224,53,53,0.06) 50%, transparent 100%);
  animation: research-shimmer 3s infinite;
}
@keyframes research-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.research-icon { font-size: 1rem; }
.research-pulse {
  width: 8px;
  height: 8px;
  background: #e03535;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 1.8s infinite;
  box-shadow: 0 0 0 0 rgba(224,53,53,0.5);
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(224,53,53,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(224,53,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,53,53,0); }
}

/* Mobile nav research notice */
.mobile-nav-research {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(224,53,53,0.08);
  border-bottom: 1px solid rgba(224,53,53,0.2);
  color: #e03535;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  position: relative;
}
.mobile-nav-research .research-pulse { width: 7px; height: 7px; }

.navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.navbar-age-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar-account-btn {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 7px 14px;
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
  text-decoration: none;
}
.navbar-account-btn:hover {
  background: rgba(255,255,255,0.15);
  color: #fff !important;
}
.navbar-account-btn svg { flex-shrink: 0; }

.navbar-right a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.navbar-right a:hover { color: #fff; }

.cart-btn {
  position: relative;
  color: rgba(255,255,255,0.9) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 7px 12px;
  transition: background 0.2s;
}
.cart-btn:hover { background: rgba(255,255,255,0.15); color: #fff !important; }

.cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  background: #fff;
  color: var(--red);
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy);
  padding: 0 2px;
  line-height: 1;
}

/* ── Category nav bar ──────────────────── */
.cat-nav {
  background: #f8f9fb;
  border-bottom: 1px solid var(--border);
}
.cat-nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-inner a {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 14px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.cat-nav-inner a:hover, .cat-nav-inner a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 8px 9px;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.16); }
.hamburger span { display: block; height: 2px; border-radius: 2px; transition: width 0.2s; }
.hamburger span:nth-child(1) { width: 20px; background: #fff; }
.hamburger span:nth-child(2) { width: 14px; background: var(--accent); }
.hamburger span:nth-child(3) { width: 20px; background: #fff; }
.hamburger:hover span:nth-child(2) { width: 20px; }

/* ── Announcement Bar ───────────────────── */
.announcement-bar {
  background: var(--accent);
  color: #fff;
  height: 38px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.announcement-track-wrapper {
  overflow: hidden;
  width: 100%;
}
.announcement-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}
.announcement-track span {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 24px;
}
.announcement-dot {
  opacity: 0.5;
  padding: 0 !important;
}
.announcement-research {
  background: rgba(0,0,0,0.25);
  border-radius: 4px;
  padding: 2px 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  color: #ffd0d0 !important;
}
.announcement-age {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 2px 10px !important;
  font-weight: 900 !important;
  letter-spacing: 1.5px !important;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Value Props Bar ────────────────────── */
.value-props-bar {
  background: var(--navy);
  border-bottom: 3px solid var(--accent);
  padding: 13px 0;
  color: #fff;
}
.value-props-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.vp-divider {
  color: var(--accent);
  font-weight: 400;
  opacity: 0.8;
}

/* ── Hero ──────────────────────────────── */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background: var(--bg-2);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  opacity: 1;
  filter: brightness(1.10);
  transform: scale(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.10);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 60px 40px;
}

.hero-research-badge {
  display: inline-block;
  background: rgba(224,53,53,0.15);
  border: 1px solid rgba(224,53,53,0.4);
  color: #ff9090;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.0;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.hero h1 em {
  color: #e03535;
  font-style: normal;
  display: inline;
  font-weight: 900;
  letter-spacing: inherit;
  text-shadow: 0 2px 18px rgba(224,53,53,0.35);
}

.hero-ellipsis {
  color: var(--red);
  letter-spacing: 4px;
}

.hero-tagline {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #e6a817;
  margin-bottom: 16px;
  display: block;
  font-weight: 400;
}

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 0.97rem;
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 460px;
}

.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.btn-hero-contact {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
  letter-spacing: 0.3px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-hero-contact:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

/* ── Buttons ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(240,78,35,0.35); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border-dark);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(240,78,35,0.04); }

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-dark); color: #fff; }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; }

.btn-sm { padding: 6px 16px; font-size: 0.82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Section headers ───────────────────── */
.section { padding: 60px 0; }
.section-header { margin-bottom: 32px; }
.section-header h2 { font-size: 1.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text); }
.section-header p { color: var(--text-muted); margin-top: 6px; }
.section-divider {
  width: 48px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 8px 0 0;
}

.navbar-links a:hover { color: var(--white); }

.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  position: relative;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9) !important;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}

.cart-btn:hover { background: rgba(255,255,255,0.18); color: #fff !important; }

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 8px 9px;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.16); }
.hamburger span { display: block; height: 2px; border-radius: 2px; transition: width 0.2s; }
.hamburger span:nth-child(1) { width: 20px; background: #fff; }
.hamburger span:nth-child(2) { width: 14px; background: var(--accent); }
.hamburger span:nth-child(3) { width: 20px; background: #fff; }
.hamburger:hover span:nth-child(2) { width: 20px; }

/* ── Hero ──────────────────────────────── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--black-3);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  opacity: 1;
  filter: brightness(1.10);
  transform: scale(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.10);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 60px 40px;
}

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero h1 em { color: var(--red-light); font-style: normal; }

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* ── Buttons ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-dark);
}
.btn-outline:hover { border-color: var(--red); color: var(--red-light); background: rgba(204,0,0,0.05); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c02020; }

.btn-sm { padding: 6px 14px; font-size: 0.82rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Section headers ───────────────────── */
.section { padding: 60px 0; }
.section-header { margin-bottom: 36px; }
.section-header h2 { font-size: 1.8rem; }
.section-header p { color: var(--text-muted); margin-top: 8px; }
.section-divider {
  width: 48px; height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 10px 0 0;
}

/* ── Product card ──────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--border-dark);
}

.product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img img { transform: scale(1.04); }

.product-card-img .no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 2.5rem;
}

/* Orange accent line at bottom of image */
.product-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.product-card:hover .product-card-img::after { transform: scaleX(1); }

/* Sale badge — top left corner flag */
.sale-badge {
  position: absolute;
  top: 10px;
  left: 0;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px 4px 8px;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  letter-spacing: 0.3px;
  z-index: 2;
}

.stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}
.stock-badge.in_stock { background: rgba(22,163,74,0.1); color: var(--success); border: 1px solid rgba(22,163,74,0.25); }
.stock-badge.out_of_stock { background: rgba(220,38,38,0.1); color: var(--danger); border: 1px solid rgba(220,38,38,0.25); }
.stock-badge.limited { background: rgba(217,119,6,0.1); color: var(--warning); border: 1px solid rgba(217,119,6,0.25); }

.product-card-body { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; }

.product-card-category {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 4px;
}

.product-card-name {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-card-brand {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.product-card-dosage {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(240,78,35,0.08);
  border: 1px solid rgba(240,78,35,0.2);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.product-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.product-price .price { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.product-price .original-price { font-size: 0.8rem; color: var(--text-light); text-decoration: line-through; }

/* ── Product Detail ────────────────────── */
.product-detail { padding: 48px 0; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-detail-img {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-meta { display: flex; flex-direction: column; gap: 16px; }
.product-meta-badges { display: flex; gap: 8px; flex-wrap: wrap; }

.meta-badge {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
}
.product-detail-original { text-decoration: line-through; color: var(--text-light); font-size: 1.1rem; margin-left: 10px; }

.qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.qty-input {
  width: 56px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  padding: 6px;
}

/* ── Filters ───────────────────────────── */
.filters-bar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 28px;
}

.filter-group { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 160px; }
.filter-group label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Forms ─────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 6px; font-size: 0.88rem; font-weight: 600; color: var(--text); }
.form-label .required { color: var(--accent); }

.form-control {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 10px 14px;
  font-size: 0.93rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240,78,35,0.1);
}

.form-control::placeholder { color: var(--text-light); }

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

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

/* ── Cards ─────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
  gap: 8px;
}

/* ── Table ─────────────────────────────── */
.table-wrapper { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: var(--bg);
  white-space: nowrap;
}

td { font-size: 0.9rem; color: var(--text); }

tr:hover td { background: rgba(240,78,35,0.02); }

/* ── Status badges ─────────────────────── */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.status-pending_payment { background: rgba(234,179,8,0.15); color: var(--warning); border: 1px solid rgba(234,179,8,0.3); }
.status-payment_submitted { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.status-payment_confirmed { background: rgba(34,197,94,0.15); color: var(--success); border: 1px solid rgba(34,197,94,0.3); }
.status-shipped { background: rgba(168,85,247,0.15); color: #c084fc; border: 1px solid rgba(168,85,247,0.3); }
.status-delivered { background: rgba(34,197,94,0.25); color: #4ade80; border: 1px solid rgba(34,197,94,0.4); }
.status-cancelled { background: rgba(239,68,68,0.15); color: var(--danger); border: 1px solid rgba(239,68,68,0.3); }

/* ── Alerts ────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success { background: rgba(22,163,74,0.08); border: 1px solid rgba(22,163,74,0.25); color: var(--success); }
.alert-danger { background: rgba(220,38,38,0.08); border: 1px solid rgba(220,38,38,0.25); color: var(--danger); }
.alert-warning { background: rgba(217,119,6,0.08); border: 1px solid rgba(217,119,6,0.25); color: var(--warning); }
.alert-info { background: rgba(26,39,68,0.06); border: 1px solid rgba(26,39,68,0.2); color: var(--navy); }

/* ── Cart page ─────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
}

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

.cart-item-name { font-weight: 600; color: var(--text); }
.cart-item-price { color: var(--text-muted); font-size: 0.88rem; }

.order-summary { position: sticky; top: 80px; }

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

/* ── Checkout ──────────────────────────── */
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }

/* ── Payment ───────────────────────────── */
.payment-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.crypto-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.crypto-tab {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.crypto-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.wallet-address-box {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: monospace;
  font-size: 0.88rem;
  word-break: break-all;
  color: var(--text);
  margin: 12px 0;
  cursor: pointer;
  position: relative;
}

.wallet-address-box::after {
  content: 'Click to copy';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: var(--accent);
  font-family: sans-serif;
}

.countdown {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  text-align: center;
  padding: 12px;
  background: rgba(240,78,35,0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(240,78,35,0.2);
  margin-bottom: 16px;
}

/* ── Footer ────────────────────────────── */
footer {
  background: var(--navy);
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand { font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 10px; }
.footer-brand span { color: var(--accent); }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 0.88rem; }

.footer-nav h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.45); margin-bottom: 14px; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-nav ul a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-nav ul a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ── About Page ──────────────────────── */
.about-hero {
  background: var(--navy);
  border-bottom: 3px solid var(--accent);
  padding: 64px 0 52px;
  color: #fff;
}
.about-hero-sub {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}
.about-hero h1 {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 14px;
  color: #fff;
}
.about-hero-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
}
.about-section {
  padding: 64px 0 80px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.about-story h2, .about-promises h2 {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}
.about-story p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 14px;
}
.about-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.about-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  margin-top: 1px;
}
.about-checklist strong { color: var(--text); }
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-hero h1 { font-size: 1.6rem; }
}

/* ── Auth pages ────────────────────────── */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 40px 20px;
  background: var(--bg);
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow);
}

.auth-logo { font-size: 1.5rem; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.auth-logo span { color: var(--accent); }
.auth-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }

/* ── Crypto selector ───────────────────── */
.crypto-selector { display: flex; gap: 10px; }
.crypto-option { display: none; }
.crypto-label {
  flex: 1;
  padding: 12px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.crypto-option:checked + .crypto-label {
  background: rgba(240,78,35,0.07);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Page breadcrumb ───────────────────── */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--text-light); }
.breadcrumb .current { color: var(--text); font-weight: 600; }

/* ── Page header ───────────────────────── */
.page-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
  margin-bottom: 36px;
}
.page-header h1 { font-size: 1.8rem; font-weight: 800; color: var(--text); }
.page-header p { color: var(--text-muted); margin-top: 6px; }

/* ── Shop Page ─────────────────────────── */
.shop-page-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.shop-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  color: var(--text-muted);
}
.shop-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.shop-breadcrumb a:hover { color: var(--accent); }
.shop-breadcrumb span:last-child { color: var(--text); font-weight: 500; }

.shop-layout-section { padding: 28px 0 56px; }

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

/* Sidebar */
.shop-sidebar { display: flex; flex-direction: column; gap: 0; }

.sidebar-block {
  border: 1px solid var(--border);
  border-bottom: none;
  background: var(--white);
}
.sidebar-block:last-of-type { border-bottom: 1px solid var(--border); }

.sidebar-block-header {
  background: var(--navy, #1a2340);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 12px 16px;
  letter-spacing: 0.5px;
}

.sidebar-block-title {
  background: var(--navy, #1a2340);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 10px 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sidebar-options {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text);
}
.sidebar-checkbox input[type="radio"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
  cursor: pointer;
}
.sidebar-checkbox:hover span { color: var(--accent); }

.sidebar-clear-cat {
  font-size: 0.78rem;
  color: var(--accent);
  text-decoration: none;
  margin-top: 4px;
}

.sidebar-price { padding: 14px 16px; }
.price-slider {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}
.price-range-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 8px;
  text-align: center;
}

.sidebar-apply { margin-top: 16px; }

/* Shop Main */
.shop-main { display: flex; flex-direction: column; gap: 20px; }

.shop-main-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.shop-main-title h1 {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text);
  background: var(--navy, #1a2340);
  color: #fff;
  padding: 12px 20px;
  letter-spacing: 1px;
  margin: 0;
}
.shop-result-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
  margin-top: 6px;
  padding-left: 2px;
}

.shop-search-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  max-width: 380px;
}
.shop-search-bar .form-control { flex: 1; }

@media (max-width: 768px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { flex-direction: row; flex-wrap: wrap; }
  .sidebar-block { flex: 1; min-width: 160px; border-bottom: 1px solid var(--border); }
  .shop-main-header { flex-direction: column; }
  .shop-search-bar { max-width: 100%; }
}

/* ── Contact ───────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-handle { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-handle-icon { width: 36px; height: 36px; border-radius: var(--radius); background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: #fff; font-weight: 700; flex-shrink: 0; }
.contact-handle-info { flex: 1; }
.contact-handle-label { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.contact-handle-val { font-weight: 600; color: var(--text); }

/* ── QR code ───────────────────────────── */
.qr-img { width: 120px; height: 120px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; padding: 4px; }
.qr-img img { width: 100%; height: 100%; object-fit: contain; }

/* ── Empty states ──────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.3; }
.empty-state h3 { color: var(--text); margin-bottom: 8px; }

/* ── Utility ───────────────────────────── */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.w-full { width: 100%; }
.d-none { display: none; }

/* ── Mobile Nav Drawer ─────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1998;
}
.mobile-nav-overlay.open { display: block; }

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--navy);
  z-index: 1999;
  display: flex;
  flex-direction: column;
  transition: right 0.28s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-nav-drawer.open { right: 0; }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 4px;
}
.mobile-nav-close:hover { background: rgba(255,255,255,0.1); }

.mobile-nav-search {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-search form {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
}
.mobile-nav-search input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: 15px;
  outline: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.mobile-nav-search input::placeholder { color: rgba(255,255,255,0.45); }
.mobile-nav-search button {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
  font-size: 1rem;
}

.mobile-nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.mobile-nav-links a, .mobile-nav-links button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: rgba(255,255,255,0.85);
  font-size: 0.97rem;
  font-weight: 600;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: background 0.15s;
}
.mobile-nav-links a:hover, .mobile-nav-links button:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.mobile-nav-links .mobile-nav-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 6px 0;
}

/* ── Responsive ────────────────────────── */
@media (max-width: 900px) {
  .hero-bg { inset: 0; transform: none; background-size: cover; filter: brightness(1.10); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .cart-layout, .checkout-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}

/* ── Order status progress bar (scrollable on mobile) ── */
.order-status-bar {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
  border-radius: 6px;
}
.order-status-bar > div { min-width: 380px; }

@media (max-width: 768px) {
  /* === Navbar === */
  .cat-nav { display: none; }
  .hamburger { display: flex; }
  .navbar-research-badge { display: none; }
  .navbar-age-badge { display: none; }
  .navbar-inner { height: 58px; padding: 0 14px; gap: 6px; }
  .navbar-brand { max-width: 44vw; overflow: hidden; }
  .navbar-logo { height: 32px; width: auto; max-width: 100%; display: block; }
  .navbar-account-btn > span { display: none; }
  .navbar-right { gap: 6px; flex-shrink: 0; }
  .cart-btn { padding: 6px 8px; }
  .cart-btn svg { width: 22px; height: 22px; display: block; flex-shrink: 0; }
  .hamburger { flex-shrink: 0; }

  /* === Hero === */
  .hero { min-height: 280px; }
  .hero-content { padding: 32px 20px; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero-tagline { font-size: 1.1rem; }
  .hero p { font-size: 0.88rem; margin-bottom: 20px; }

  /* === Page header === */
  .page-header { padding: 20px 0; margin-bottom: 20px; }
  .page-header h1 { font-size: 1.35rem; }
  .page-header p { font-size: 0.88rem; }

  /* === Section === */
  .section { padding: 28px 0; }

  /* === Forms — prevents iOS auto-zoom === */
  .form-control,
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select,
  textarea { font-size: 16px !important; }
  .form-group { margin-bottom: 14px; }

  /* === Buttons — tap-friendly 44px min === */
  .btn:not(.btn-sm) { min-height: 44px; }
  .btn-sm { min-height: 38px; }

  /* === Cards === */
  .card { padding: 16px; }

  /* === Products grid === */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* === Product detail === */
  .product-detail { padding: 24px 0; }
  .product-detail-price { font-size: 1.6rem; }

  /* === Cart === */
  .cart-item { grid-template-columns: 64px 1fr; gap: 12px; }
  .cart-item > div:last-child { grid-column: 2; justify-self: start; display: flex; align-items: center; gap: 12px; flex-direction: row-reverse; }
  .cart-item-img { width: 64px; height: 64px; }

  /* === Checkout === */
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .crypto-selector { flex-wrap: wrap; }
  .crypto-label { flex: 1; min-width: calc(50% - 5px); font-size: 0.88rem; padding: 10px 8px; }

  /* === Payment page === */
  .payment-box { padding: 16px; }
  .crypto-tabs { gap: 6px; }
  .crypto-tab { padding: 8px 4px; font-size: 0.8rem; }

  /* === Account orders table → scrollable === */
  .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 6px; }
  table { min-width: 480px; }
  th, td { padding: 10px 10px; font-size: 0.82rem; white-space: nowrap; }
  td:last-child { white-space: nowrap; }

  /* === Contact grid === */
  .contact-grid { grid-template-columns: 1fr; gap: 0; }

  /* === Footer === */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; font-size: 0.8rem; }
  .footer-bottom span { word-break: break-word; }
  footer { padding: 32px 0 20px; }

  /* === Status badge === */
  .status-badge { font-size: 0.72rem; padding: 3px 8px; white-space: nowrap; }

  /* === Auth pages === */
  .auth-card { padding: 24px 20px; }

  /* === Shop layout === */
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { flex-direction: row; flex-wrap: wrap; }
  .sidebar-block { flex: 1; min-width: 150px; border-bottom: 1px solid var(--border); }
  .shop-main-header { flex-direction: column; }
  .shop-search-bar { max-width: 100%; }

  /* === Special Offer section === */
  .special-offer-content h2 { font-size: 1.4rem; }
}

@media (max-width: 540px) {
  /* === Orders table → card layout on phones === */
  .orders-table { min-width: unset !important; }
  .orders-table thead { display: none; }
  .orders-table tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 4px 0;
    background: var(--white);
  }
  .orders-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    border-bottom: 1px solid var(--bg);
    font-size: 0.88rem;
    white-space: normal !important;
  }
  .orders-table td:last-child { border-bottom: none; }
  .orders-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-right: 8px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  /* === Extra small screens === */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card { padding: 0; }
  .product-card-body { padding: 8px 10px 12px; }
  .product-card-name { font-size: 0.82rem; }
  .product-card-desc { display: none; }
  .product-price { flex-wrap: wrap; gap: 2px; }
  .product-price .price { font-size: 0.95rem; }
  .product-price .original-price { font-size: 0.72rem; }
  /* Stack price above button — prevents Add button clipping */
  .product-card-footer { flex-direction: column; align-items: stretch; gap: 6px; margin-top: 8px; }
  .product-card-footer .btn-sm { width: 100%; justify-content: center; padding: 7px 4px; font-size: 0.8rem; min-height: 36px; }

  /* === Shop sidebar — full-width blocks === */
  .sidebar-block { flex: 1 1 100% !important; min-width: 100% !important; }

  /* === Orders table action buttons === */
  .orders-table td > div { flex-direction: column; gap: 6px; }
  .orders-table td > div .btn { width: 100%; text-align: center; }

  /* === About grid === */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-hero h1 { font-size: 1.4rem; }

  /* === Auth === */
  .auth-card { padding: 20px 16px; }

  /* === Payment crypto tabs wrap === */
  .crypto-tabs { flex-wrap: wrap; }
  .crypto-tab { flex: 1; min-width: calc(33% - 4px); }
}

@media (max-width: 375px) {
  .container { padding: 0 12px; }
  .navbar-logo { height: 26px; }
  .products-grid { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 1.1rem; }
  .card { padding: 14px; }
  .special-offer-content h2 { font-size: 1.2rem; }
  .hero h1 { font-size: clamp(1.4rem, 8vw, 2rem); }
}

/* ── Scrollbar ─────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Loading spinner ───────────────────── */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(240,78,35,0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Toast notification ────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: 0.9rem;
  color: var(--text);
  min-width: 240px;
  box-shadow: var(--shadow-hover);
  animation: slideIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ── Special Offer ──────────────────────── */
.why-choose-us {
  padding: 72px 0;
  background: #e03535;
}
.special-offer-content {
  text-align: center;
  color: #fff;
}
.special-offer-content h2 {
  font-size: 2.4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: #fff;
}
.special-offer-content > p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.special-offer-content ul {
  list-style: disc;
  display: inline-block;
  text-align: left;
  margin: 0 auto 32px;
  padding-left: 20px;
  font-size: 1rem;
  color: #fff;
  line-height: 2;
}
.special-offer-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background: #fff;
  color: #e03535;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 48px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.special-offer-btn:hover {
  background: #f5f5f5;
}
@media (max-width: 600px) {
  .special-offer-content h2 { font-size: 1.5rem; }
  .special-offer-btn { padding: 14px 32px; }
}

/* ── Age Verification Modal ─────────────── */
.age-verify-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.age-verify-box {
  background: #fff;
  border: 2px solid var(--red);
  border-radius: 12px;
  padding: 40px 36px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  color: var(--text);
}
.age-verify-box h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--red);
}
.age-verify-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.age-verify-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
