/* =====================================================
  NOVA PODS — muhamedsofficial.com inspired
  ===================================================== */

:root {
  --red:        #dd3333;
  --red-dark:   #bb2020;
  --red-light:  #f04444;
  --teal:       #007784;
  --gold:       #dd9933;
  --bg:         #f5f5f5;
  --bg-white:   #ffffff;
  --bg-dark:    #111111;
  --bg-footer:  #1a1a1a;
  --bg-header:  #0d0d0d;
  --text:       #222222;
  --text-muted: #666666;
  --text-light: #cccccc;
  --text-white: #ffffff;
  --border:     #e0e0e0;
  --border-dark: #2a2a2a;
  --radius:     4px;
  --radius-lg:  8px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.18);
  --font:       'Montserrat', sans-serif;
  --font-script:'Dancing Script', cursive;
  --transition: 0.2s ease;
  --max-w:      1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font); }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   TOP ANNOUNCEMENT BAR
   ===================================================== */
.top-banner {
  background: var(--bg-dark);
  color: #aaa;
  text-align: center;
  padding: 9px 16px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-bottom: 1px solid #2a2a2a;
}
.top-banner strong { color: var(--gold); }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-container {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}

/* Logo */
.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-svg { width: 36px; height: 36px; }
.logo-text-block { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.logo-main-text {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.logo-sep-line { display: block; height: 1px; background: var(--gold); opacity: 0.5; }
.logo-sub-text {
  font-size: 0.45rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ccc;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-links a.active { color: var(--red); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.search-form { display: flex; align-items: center; }
.search-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  width: 170px;
  font-family: var(--font);
  transition: all var(--transition);
}
.search-input:focus { outline: none; border-color: var(--red); width: 210px; background: rgba(255,255,255,0.12); }
.search-input::placeholder { color: #666; }

.cart-link {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  transition: all var(--transition);
}
.cart-link:hover { border-color: var(--red); color: var(--red); }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--red); color: #fff;
  font-size: 0.6rem; font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-header);
}

/* User menu */
.user-menu { position: relative; cursor: pointer; }
.user-name {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 1px;
  color: #ccc; border: 1px solid rgba(255,255,255,0.15);
  padding: 7px 14px; border-radius: 20px;
  transition: all var(--transition);
}
.user-menu:hover .user-name { color: #fff; border-color: var(--red); }
.user-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: #1a1a1a; border: 1px solid #333;
  border-radius: var(--radius-lg); min-width: 170px; z-index: 200;
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.user-dropdown.open { display: block; }
.user-dropdown a {
  display: block; padding: 11px 18px; font-size: 0.8rem; font-weight: 500;
  color: #aaa; border-bottom: 1px solid #2a2a2a;
  transition: all var(--transition);
}
.user-dropdown a:last-child { border-bottom: none; }
.user-dropdown a:hover { background: #222; color: #fff; }

.nav-logout-btn {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: #888; border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 14px; border-radius: 20px; transition: all var(--transition);
}
.nav-logout-btn:hover { border-color: var(--red); color: var(--red); }

.mobile-toggle {
  display: none; background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; padding: 7px 11px;
  border-radius: var(--radius); font-size: 1.1rem;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; font-family: var(--font); font-size: 0.75rem;
  font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.btn-primary, .btn.btn-primary {
  background: var(--red); color: #fff; border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(221,51,51,0.4); }

.btn-outline {
  background: transparent; color: var(--red); border-color: var(--red);
}
.btn-outline:hover { background: var(--red); color: #fff; }

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

.btn-teal {
  background: var(--teal); color: #fff; border-color: var(--teal);
}
.btn-teal:hover { background: #006070; }

.btn-danger {
  background: #b71c1c;
  color: #fff;
  border-color: #b71c1c;
}
.btn-danger:hover {
  background: #8e1515;
  border-color: #8e1515;
}

.btn-block {
  display: inline-flex;
  width: 100%;
}

.btn-sm { padding: 7px 16px; font-size: 0.68rem; letter-spacing: 1px; }
.btn-lg { padding: 13px 32px; font-size: 0.82rem; }
.btn-xl { padding: 16px 40px; font-size: 0.88rem; letter-spacing: 2px; }

.btn-cart, .btn-cart.add-to-cart-btn {
  width: 100%; background: var(--red); color: #fff;
  border: none; padding: 11px;
  font-family: var(--font); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: all var(--transition);
}
.btn-cart:hover, .btn-cart.add-to-cart-btn:hover { background: var(--red-dark); }
.btn-success { background: #1a6b3a !important; border-color: #1a6b3a !important; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 60%, #0d0d0d 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23dd3333' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(221,51,51,0.12) 0%, transparent 65%);
  pointer-events: none;
}
/* Reuse old class */
.hero-white-bg { display: none; }

.hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 60px;
  padding: 80px 0; width: 100%;
}
.hero-text { flex: 1 1 50%; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 28px; height: 2px; background: var(--gold);
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.hero-text h1 .red {
  color: var(--red);
  display: block;
}
.hero-script {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  color: var(--gold);
  font-weight: 400;
  display: block;
  margin-bottom: 20px;
  letter-spacing: 0;
}
.hero-text p {
  font-size: 0.95rem;
  color: #aaa;
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.8;
  font-weight: 400;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Old hero-cta-btn compatibility */
.hero-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-family: var(--font);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  background: var(--red); color: #fff;
  border: 2px solid var(--red); border-radius: var(--radius);
  transition: all var(--transition); cursor: pointer;
}
.hero-cta-btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(221,51,51,0.4); }
.hero-cta-btn.outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.3);
}
.hero-cta-btn.outline:hover { border-color: var(--red); color: var(--red); transform: none; box-shadow: none; }

.hero-products {
  flex: 1 1 45%; display: flex; align-items: center;
  justify-content: center; gap: 16px; position: relative;
  max-width: 100%; overflow: visible;
}
.hero-vial {
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(221,51,51,0.3));
  transition: transform 0.4s ease;
  background: transparent;
  mix-blend-mode: lighten;
  flex-shrink: 1;
  min-width: 0;
}
.hero-vial-1 { width: 180px; max-width: 28%; transform: translateY(20px); }
.hero-vial-2 { width: 240px; max-width: 38%; }
.hero-vial-3 { width: 180px; max-width: 28%; transform: translateY(20px); }
.hero-vial:hover { transform: translateY(-8px) !important; }

/* Hero badges */
.hero-badges {
  display: flex; gap: 20px; margin-top: 32px; flex-wrap: wrap;
}
.hero-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px; color: #888;
}
.hero-badge-icon { color: var(--red); font-size: 1rem; }

/* =====================================================
   DIVIDER LINE
   ===================================================== */
.section-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold) 50%, var(--red) 100%);
}

/* =====================================================
   MARQUEE / TICKER
   ===================================================== */
.ticker-bar {
  background: var(--red);
  padding: 10px 0; overflow: hidden; white-space: nowrap;
}
.ticker-inner {
  display: inline-flex; gap: 60px;
  animation: ticker 28s linear infinite;
}
.ticker-item {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.9);
  display: flex; align-items: center; gap: 12px;
}
.ticker-item::before {
  content: '★'; color: rgba(255,255,255,0.6); font-size: 0.6rem;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================================================
   SECTION BASE
   ===================================================== */
.section { padding: 70px 0; }
.section-white { background: var(--bg-white); }
.section-light { background: var(--bg); }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title .overline {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.5px; color: var(--text);
  text-transform: uppercase;
}
.section-title p { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; }

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px; gap: 16px;
}
.section-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.5px;
}
.section-label {
  display: block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 6px;
}
.section-sub { color: var(--text-muted); font-size: 0.88rem; margin-top: 4px; }

/* =====================================================
   PRODUCT GRID
   ===================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  background: #f0f0f0;
  aspect-ratio: 1;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-image img, .vial-image {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .vial-image { transform: scale(1.06); }

.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--red); color: #fff;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px;
}

.product-info {
  padding: 14px 16px 10px;
  flex: 1; display: flex; flex-direction: column; gap: 4px;
}
.product-category {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red);
}
.product-name {
  font-size: 0.88rem; font-weight: 700; color: var(--text);
  line-height: 1.3; margin-top: 2px;
}
.star-rating { font-size: 0.74rem; color: var(--gold); }
.rating-val { color: var(--text-muted); font-size: 0.72rem; }
.product-dosage { font-size: 0.76rem; color: var(--text-muted); }
.product-pricing { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.product-price { font-size: 1.05rem; font-weight: 800; color: var(--text); }
.product-original { font-size: 0.82rem; color: #aaa; text-decoration: line-through; }
.product-save { font-size: 0.68rem; font-weight: 700; color: var(--red); }

/* =====================================================
   EMPTY STATE
   ===================================================== */
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.3; }
.empty-state h3 { font-size: 1.2rem; font-weight: 800; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.empty-state p { font-size: 0.88rem; color: #aaa; }

/* =====================================================
   FEATURED SECTION
   ===================================================== */
.featured-section { background: var(--bg-white); }

/* =====================================================
   WHY SECTION
   ===================================================== */
.why-section { padding: 70px 0; background: var(--bg-dark); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-text h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; text-transform: uppercase; margin-bottom: 14px; color: #fff; }
.why-text p { color: #888; line-height: 1.8; margin-bottom: 20px; font-size: 0.9rem; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.why-list li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: #999; }
.why-check { color: var(--red); font-weight: 900; flex-shrink: 0; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-box { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: var(--radius-lg); padding: 26px 18px; text-align: center; transition: border-color var(--transition); }
.stat-box:hover { border-color: var(--red); }
.stat-num { display: block; font-size: 1.8rem; font-weight: 800; color: var(--red); }
.stat-lbl { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #666; margin-top: 4px; }

/* =====================================================
   FEATURES BAR
   ===================================================== */
.features { padding: 50px 0; background: var(--bg-dark); border-top: 1px solid #1e1e1e; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #1e1e1e; }
.feature-card { display: flex; align-items: flex-start; gap: 14px; padding: 28px; background: var(--bg-dark); transition: background var(--transition); }
.feature-card:hover { background: #161616; }
.feature-icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1; }
.feature-card h3 { font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin-bottom: 5px; }
.feature-card p { font-size: 0.82rem; color: #777; line-height: 1.6; }
.feature-card a { color: var(--red); }

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  padding: 80px 0;
  background: var(--red);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  top: -50%; left: -10%;
  width: 120%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 900; text-transform: uppercase; color: #fff; margin-bottom: 12px; letter-spacing: -0.5px; }
.cta-content p { color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto 32px; line-height: 1.7; font-size: 0.92rem; }

/* =====================================================
   SHOP / PRODUCTS PAGE
   ===================================================== */
.page-header {
  background: var(--bg-dark);
  padding: 48px 0;
  border-bottom: 3px solid var(--red);
}
.page-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900; text-transform: uppercase; color: #fff; letter-spacing: -0.5px;
}
.page-header p { color: #888; margin-top: 6px; font-size: 0.88rem; }

.shop-layout { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; padding-top: 36px; padding-bottom: 60px; }
.shop-sidebar { position: sticky; top: 80px; background: var(--bg-white); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.filter-group { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: none; }
.filter-group h3 { font-size: 0.65rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.filter-link { display: block; font-size: 0.84rem; font-weight: 500; color: var(--text-muted); padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.04); transition: color var(--transition); }
.filter-link:last-child { border-bottom: none; }
.filter-link:hover, .filter-link.active { color: var(--red); font-weight: 700; }

.search-results-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 10px 16px; margin-bottom: 20px;
  font-size: 0.88rem; color: var(--text-muted);
}

/* =====================================================
   PRODUCT DETAIL
   ===================================================== */
.product-detail-wrap { padding: 48px 0 64px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.product-detail-image {
  position: sticky; top: 80px;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); aspect-ratio: 1; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info { display: flex; flex-direction: column; gap: 16px; }
.product-detail-category { font-size: 0.65rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--red); }
.product-detail-name { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.5px; line-height: 1.2; }
.product-detail-price { font-size: 1.8rem; font-weight: 900; color: var(--text); }
.product-detail-price del { font-size: 1.1rem; color: #aaa; margin-left: 12px; font-weight: 400; }
.product-detail-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.8; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; }
.qty-selector { display: flex; align-items: center; width: fit-content; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-btn { background: var(--bg); border: none; color: var(--text); width: 40px; height: 40px; font-size: 1.1rem; font-weight: 700; transition: background var(--transition); }
.qty-btn:hover { background: var(--border); }
.qty-input { background: #fff; border: none; color: var(--text); width: 50px; height: 40px; text-align: center; font-family: var(--font); font-size: 0.9rem; font-weight: 700; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.qty-input:focus { outline: none; }
.add-to-cart-detail { width: 100%; padding: 14px; background: var(--red); color: #fff; border: none; font-family: var(--font); font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border-radius: var(--radius); transition: all var(--transition); }
.add-to-cart-detail:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(221,51,51,0.4); }
.product-meta { font-size: 0.84rem; color: var(--text-muted); display: flex; flex-direction: column; gap: 8px; background: var(--bg); border-radius: var(--radius); padding: 14px; }
.product-meta span { display: flex; align-items: center; gap: 8px; }
.related-section { padding: 50px 0; border-top: 1px solid var(--border); }
.related-section h2 { font-size: 1.3rem; font-weight: 900; text-transform: uppercase; margin-bottom: 28px; }

/* =====================================================
   CART
   ===================================================== */
.cart-wrap { padding: 48px 0; }
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.cart-items { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.cart-item {
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 14px; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-image { flex-shrink: 0; }
.cart-item-image img { width: 60px; height: 80px; object-fit: contain; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); }
.cart-item-img { width: 80px; height: 80px; object-fit: cover; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); }
.cart-item-details { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-item-name { font-size: 0.86rem; font-weight: 700; color: var(--text); text-decoration: none; line-height: 1.3; }
.cart-item-name:hover { color: var(--red); }
.cart-item-dosage { font-size: 0.72rem; color: var(--text-muted); }
.cart-item-price { font-size: 0.82rem; color: var(--text-muted); }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item-total { font-size: 1rem; font-weight: 800; color: var(--text); text-align: right; }

/* Quantity selector */
.quantity-selector {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--bg-white);
}
.quantity-selector .qty-btn {
  background: var(--bg); border: none; color: var(--text);
  width: 36px; height: 36px;
  font-size: 1rem; font-weight: 700; font-family: var(--font);
  cursor: pointer; transition: background var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.quantity-selector .qty-btn:hover { background: var(--border); }
.quantity-selector .qty-display {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; font-weight: 700; color: var(--text);
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  background: var(--bg-white);
}
.quantity-selector.small .qty-btn { width: 32px; height: 32px; font-size: 0.9rem; }
.quantity-selector.small .qty-display { width: 32px; height: 32px; font-size: 0.82rem; }
.cart-qty-form { margin: 0; }

/* Remove button */
.btn-remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: transparent; border: 1.5px solid var(--border);
  border-radius: var(--radius); color: var(--text-muted);
  font-size: 0.72rem; cursor: pointer;
  transition: all var(--transition);
}
.btn-remove:hover { background: rgba(221,51,51,0.08); border-color: var(--red); color: var(--red); }

/* Summary */
.cart-summary { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; position: sticky; top: 80px; }
.cart-summary h2, .cart-summary h3 { font-size: 0.88rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; font-size: 0.86rem; color: var(--text-muted); padding: 5px 0; }
.summary-row.total { font-size: 1.1rem; font-weight: 800; color: var(--text); border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; }
.summary-total { font-size: 1.1rem; font-weight: 800; color: var(--text); border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; }
.shipping-note { font-size: 0.78rem; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); margin: 10px 0; color: var(--text-muted); line-height: 1.5; }
.crypto-note { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-muted); margin: 14px 0; }

/* =====================================================
   FORMS (auth, contact, checkout)
   ===================================================== */
.form-page { max-width: 520px; margin: 60px auto; padding: 0 20px; }
.form-page h1 { font-size: 1.8rem; font-weight: 900; text-transform: uppercase; margin-bottom: 28px; letter-spacing: -0.5px; }
.form-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 7px; }
.form-input { width: 100%; background: var(--bg); border: 1.5px solid var(--border); color: var(--text); padding: 10px 14px; border-radius: var(--radius); font-size: 0.88rem; font-family: var(--font); transition: border-color var(--transition); }
.form-input:focus { outline: none; border-color: var(--red); background: #fff; }
.form-input::placeholder { color: #bbb; }
select.form-input option { background: #fff; }
.form-textarea { resize: vertical; min-height: 110px; }
.form-link { font-size: 0.84rem; color: var(--text-muted); }
.form-link a { color: var(--red); font-weight: 600; }
.alert { padding: 11px 16px; border-radius: var(--radius); font-size: 0.86rem; margin-bottom: 18px; border: 1.5px solid; }
.alert-error  { background: rgba(221,51,51,0.06); border-color: rgba(221,51,51,0.3); color: #c0392b; }
.alert-success { background: rgba(39,174,96,0.06); border-color: rgba(39,174,96,0.3); color: #1a7a44; }

/* =====================================================
   PAGE HERO (about, faq)
   ===================================================== */
.page-hero, .about-hero {
  background: var(--bg-dark);
  border-bottom: 3px solid var(--red);
  padding: 64px 0; text-align: center;
}
.page-hero h1, .about-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900; text-transform: uppercase; color: #fff;
  letter-spacing: -0.5px; margin-bottom: 10px;
}
.page-hero p, .about-hero p { color: #888; max-width: 480px; margin: 0 auto; font-size: 0.9rem; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--bg-dark); border-top: 3px solid var(--red); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px;
  padding: 52px 0 40px; border-bottom: 1px solid var(--border-dark);
}
.footer-col h4 {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 0.84rem; color: #777; padding: 4px 0; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-desc { font-size: 0.84rem; color: #555; line-height: 1.75; margin-top: 12px; }
.crypto-icons { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.crypto-badge { font-size: 0.62rem; font-weight: 700; letter-spacing: 1px; padding: 4px 10px; border: 1px solid #333; border-radius: 20px; color: #888; }
.footer-bottom { padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 0.76rem; color: #444; margin-bottom: 4px; }
.disclaimer { font-size: 0.7rem; color: #3a3a3a; max-width: 700px; margin: 0 auto 8px; line-height: 1.6; }

/* =====================================================
   ADMIN LAYOUT (sidebar + content)
   ===================================================== */
body.is-admin { background: #0d0d0d; overflow-y: auto; }
body.is-admin main.admin-wrap { min-height: 100vh; overflow: visible; }
.admin-wrap {
  display: flex;
  min-height: 100vh;
}
.admin-sidenav {
  width: 220px; flex-shrink: 0;
  background: #111; border-right: 1px solid #1e1e1e;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidenav-logo {
  padding: 22px 20px 18px;
  border-bottom: 1px solid #1e1e1e;
}
.admin-sidenav-links {
  flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 2px;
}
.admin-sidenav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 6px;
  font-size: 0.84rem; font-weight: 600; color: #888;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.admin-sidenav-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.admin-sidenav-link:hover { background: #1a1a1a; color: #fff; }
.admin-sidenav-link.active { background: var(--red); color: #fff; }
.admin-sidenav-divider { height: 1px; background: #1e1e1e; margin: 8px 0; }
.admin-nav-badge {
  margin-left: auto; background: var(--red); color: #fff;
  border-radius: 10px; font-size: 0.6rem; font-weight: 800;
  padding: 2px 6px; min-width: 18px; text-align: center;
}
.admin-sidenav-footer {
  padding: 12px 10px; border-top: 1px solid #1e1e1e;
  display: flex; flex-direction: column; gap: 2px;
}
.admin-content {
  flex: 1;
  min-width: 0;
  padding: 36px 40px;
  background: var(--bg);
  min-height: 100vh;
  overflow-y: auto;
}
.admin-page-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 28px;
  padding-bottom: 18px; border-bottom: 2px solid var(--border);
}
.admin-page-header h1 {
  font-size: 1.4rem; font-weight: 900; text-transform: uppercase; letter-spacing: -0.5px;
}

@media (max-width: 1024px) {
  .admin-wrap {
    flex-direction: column;
    min-height: auto;
  }

  .admin-sidenav {
    width: 100%;
    height: auto;
    max-height: none;
    position: static;
    overflow-y: visible;
    border-right: none;
    border-bottom: 1px solid #1e1e1e;
  }

  .admin-content {
    min-height: auto;
    overflow-y: visible;
    padding: 24px 18px;
  }
}

/* =====================================================
   ADMIN PANEL
   ===================================================== */
.admin-section { padding: 36px 0; }
.admin-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 2px solid var(--border); }
.admin-header h1 { font-size: 1.4rem; font-weight: 900; text-transform: uppercase; letter-spacing: -0.5px; }
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-bottom: 36px; }
.stat-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; text-align: center; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition); }
.stat-card:hover, .stat-card.highlight { box-shadow: var(--shadow-md); border-color: var(--red); }
.stat-value { font-size: 1.5rem; font-weight: 900; color: var(--red); }
.stat-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }
.admin-table-section h2 { font-size: 0.95rem; font-weight: 900; text-transform: uppercase; margin-bottom: 14px; }
.table-responsive { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.admin-table th { font-size: 0.62rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--border); }
.admin-table td { padding: 10px 12px; color: var(--text); border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:hover td { background: var(--bg); }
.status-badge { font-size: 0.6rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; border: 1.5px solid; }
.status-badge.pending_payment { border-color: #f59e0b; color: #f59e0b; background: rgba(245,158,11,0.08); }
.status-badge.paid, .status-badge.confirmed { border-color: #27ae60; color: #27ae60; background: rgba(39,174,96,0.08); }
.status-badge.shipped { border-color: var(--teal); color: var(--teal); background: rgba(0,119,132,0.08); }
.status-badge.delivered { border-color: #2980b9; color: #2980b9; }
.status-badge.cancelled { border-color: var(--red); color: var(--red); background: rgba(221,51,51,0.08); }
.admin-form { max-width: 820px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.empty-text { color: var(--text-muted); font-size: 0.88rem; }

/* =====================================================
   PRODUCT LIMIT BADGE
   ===================================================== */
.product-limit-bar {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 14px 20px;
  margin-bottom: 20px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
}
.product-limit-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.product-limit-track {
  flex: 1; height: 6px; background: var(--border);
  border-radius: 10px; overflow: hidden; max-width: 200px;
}
.product-limit-fill {
  height: 100%; background: var(--red); border-radius: 10px;
  transition: width 0.3s ease;
}
.product-limit-count { font-size: 0.88rem; font-weight: 800; color: var(--text); white-space: nowrap; }

/* =====================================================
   CONTACT PAGE  (mobile-first)
   ===================================================== */
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 32px;
}
.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); border-color: var(--red); }
.contact-card h3 {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text); margin-bottom: 8px;
}
.contact-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.contact-card a { color: var(--red); font-weight: 600; }
.contact-card a:hover { color: var(--red-dark); }
.contact-card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--red); border-radius: 50%;
  margin: 0 auto 10px; color: #fff;
}
.contact-card-icon svg { width: 20px; height: 20px; }
.qr-placeholder {
  width: 100px; height: 100px;
  background: var(--bg); border: 2px dashed var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto; font-size: 0.72rem; color: var(--text-muted);
  text-align: center; padding: 8px; line-height: 1.4;
}

.contact-layout {
  display: grid; grid-template-columns: 1fr;
  gap: 24px; align-items: start; margin-bottom: 40px;
}
.contact-info-text h2 {
  font-size: 1.2rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.5px; margin-bottom: 10px;
}
.contact-info-text p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.7; margin-bottom: 16px; }
.contact-topics { display: flex; flex-direction: column; gap: 8px; }
.contact-topics li {
  font-size: 0.82rem; color: var(--text); padding: 8px 12px;
  background: var(--bg-white); border: 1px solid var(--border);
  border-left: 3px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 600;
}
.contact-form-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 16px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 {
  font-size: 1rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

/* FAQ Section */
.faq-section {
  background: var(--bg-white); border-top: 1px solid var(--border);
  padding: 64px 0 80px;
}
.faq-section-header { text-align: center; margin-bottom: 40px; }
.faq-section-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.5px; margin-bottom: 8px;
}
.faq-section-header p { color: var(--text-muted); font-size: 0.9rem; }
.faq-list-wrap { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bg-white);
}
.faq-item + .faq-item { margin-top: 8px; }
.faq-question {
  width: 100%; background: none; border: none; padding: 18px 20px;
  font-family: var(--font); font-size: 0.9rem; font-weight: 700;
  color: var(--text); text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg); }
.faq-item.open .faq-question { color: var(--red); background: rgba(221,51,51,0.03); }
.faq-arrow { font-size: 0.8rem; color: var(--text-muted); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--red); }
.faq-answer {
  display: none; padding: 0 20px 18px;
  border-top: 1px solid var(--border); background: var(--bg);
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; padding-top: 14px; }
.faq-answer a { color: var(--red); font-weight: 600; }

/* =====================================================
   UTILITIES
   ===================================================== */
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* =====================================================
   RESPONSIVE — MOBILE-FIRST
   ===================================================== */

/* ---- Base: Mobile (< 481px) ---- */
.container { padding: 0 16px; }

/* Nav – mobile */
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0; gap: 0; flex-wrap: nowrap;
  position: relative;
}
.nav-actions {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
  width: auto;
}
.nav-links {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #0d0d0d; border-bottom: 3px solid var(--gold);
  flex-direction: column; align-items: stretch;
  padding: 8px 0; gap: 0; z-index: 999;
}
.nav-links a { width: 100%; padding: 14px 20px; border-bottom: 1px solid #1a1a1a; font-size: 0.82rem; }
.nav-links.mobile-open { display: flex; }
.mobile-toggle {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 40px;
  margin-left: 4px;
}
.search-form { display: none; }

/* Mobile nav button sizes */
.nav-actions .btn-sm { padding: 8px 14px; font-size: 0.68rem; min-height: 36px; }
.nav-actions .cart-link { width: 36px; height: 36px; font-size: 0.9rem; }
.nav-actions .user-name { padding: 6px 10px; font-size: 0.68rem; }
.nav-actions .nav-logout-btn { padding: 6px 10px; font-size: 0.65rem; }

/* Logo – mobile */
.logo-svg { width: 30px; height: 30px; }
.logo-brand { gap: 8px; }

/* Hero – mobile */
.hero { min-height: auto; }
.hero-inner { flex-direction: column; text-align: center; padding: 48px 0; gap: 24px; }
.hero-text { width: 100%; }
.hero-text h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
.hero-text p { margin-left: auto; margin-right: auto; margin-bottom: 24px; font-size: 0.88rem; }
.hero-btns { justify-content: center; flex-direction: column; align-items: stretch; }
.hero-cta-btn { justify-content: center; width: 100%; padding: 16px 24px; font-size: 0.82rem; }
.hero-products { display: none; }
.hero-badges { justify-content: center; gap: 12px; }

/* Sections – mobile */
.section { padding: 44px 0; }
.section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
.top-banner { font-size: 0.62rem; letter-spacing: 1px; padding: 8px 12px; }
.logo-main-text { font-size: 0.95rem; letter-spacing: 1.2px; }
.logo-sub-text { font-size: 0.42rem; letter-spacing: 2px; }

/* Grids – mobile: single column */
.product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.shop-layout { grid-template-columns: 1fr; }
.shop-sidebar { position: static; }
.cart-layout { grid-template-columns: 1fr; }
.product-detail-grid { grid-template-columns: 1fr; }
.footer-grid { grid-template-columns: 1fr; gap: 28px; }
.why-grid { grid-template-columns: 1fr; gap: 32px; }
.why-stats { grid-template-columns: 1fr 1fr; }
.features-grid { grid-template-columns: 1fr; }
.form-grid { grid-template-columns: 1fr; }
.stats-grid { grid-template-columns: repeat(2, 1fr); }

/* Product cards – mobile optimisations */
.product-card { border-radius: var(--radius); }
.product-info { padding: 10px 12px 8px; }
.product-name { font-size: 0.8rem; }
.product-price { font-size: 0.92rem; }
.product-category { font-size: 0.58rem; }
.product-dosage { font-size: 0.7rem; }
.star-rating { font-size: 0.68rem; }

/* Cart – mobile */
.cart-item { grid-template-columns: 50px 1fr; gap: 10px; padding: 14px 12px; }
.cart-item-image img { width: 50px; height: 65px; }
.cart-item-img { width: 50px; height: 65px; }
.cart-item-actions { flex-direction: row; align-items: center; gap: 10px; width: 100%; grid-column: 1 / -1; justify-content: space-between; }
.cart-item-total { font-size: 0.92rem; }
.quantity-selector .qty-btn { width: 36px; height: 36px; }
.quantity-selector .qty-display { width: 36px; height: 36px; }
.btn-remove { width: 32px; height: 32px; font-size: 0.78rem; }
.cart-summary { position: static; }

/* Product detail – mobile */
.product-detail-image { position: static; }

/* CTA – mobile */
.cta-section { padding: 56px 0; }
.cta-content h2 { font-size: clamp(1.4rem, 6vw, 2rem); }

/* Ticker – hide on small screens */
.ticker-bar { display: none; }

/* Touch targets: min 44px for all interactive elements */
.btn { min-height: 44px; }
.btn-sm { min-height: 40px; padding: 10px 16px; }
.form-input { min-height: 44px; padding: 12px 14px; font-size: 16px; }
.nav-links a { min-height: 44px; display: flex; align-items: center; }
.mobile-toggle { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.qty-btn { width: 44px; height: 44px; }
.qty-input { height: 44px; }
.faq-question { min-height: 48px; padding: 16px; }

/* ---- Small phones (≤ 359px) ---- */
@media (max-width: 359px) {
  .product-grid { grid-template-columns: 1fr; }
  .contact-cards-grid { grid-template-columns: 1fr; }
  .hero-badges { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ---- Larger phones / small tablets (≥ 481px) ---- */
@media (min-width: 481px) {
  .container { padding: 0 20px; }
  .hero-inner { padding: 56px 0; }
  .hero-text h1 { font-size: clamp(2rem, 6vw, 3rem); }
  .hero-btns { flex-direction: row; align-items: center; }
  .hero-cta-btn { width: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-info { padding: 12px 14px 10px; }
  .product-name { font-size: 0.86rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .contact-form-card { padding: 24px 20px; }
  .section { padding: 52px 0; }
  .ticker-bar { display: block; }
  .cart-item { grid-template-columns: 60px 1fr auto; gap: 14px; padding: 16px 16px; }
  .cart-item-image img { width: 60px; height: 80px; }
  .cart-item-img { width: 60px; height: 80px; }
  .cart-item-actions { flex-direction: column; align-items: flex-end; width: auto; grid-column: auto; }
}

/* ---- Tablets (≥ 769px) ---- */
@media (min-width: 769px) {
  .container { padding: 0 24px; }

  /* Nav – desktop */
  .nav-container { display: flex; align-items: center; height: 72px; gap: 32px; flex-wrap: nowrap; padding: 0; }
  .nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; width: auto; }
  .nav-actions .btn-sm { padding: 7px 16px; font-size: 0.68rem; min-height: auto; }
  .nav-actions .cart-link { width: 40px; height: 40px; font-size: 1rem; }
  .nav-actions .user-name { padding: 7px 14px; font-size: 0.72rem; }
  .nav-actions .nav-logout-btn { padding: 7px 14px; font-size: 0.7rem; }
  .nav-links {
    display: flex; position: static; background: transparent;
    border-bottom: none; flex-direction: row; align-items: center;
    padding: 0; gap: 2px; flex: 1;
  }
  .nav-links a { width: auto; padding: 8px 14px; border-bottom: none; min-height: auto; font-size: 0.72rem; }
  .mobile-toggle { display: none; }
  .search-form { display: flex; align-items: center; }
  .top-banner { font-size: 0.72rem; letter-spacing: 1.5px; }
  .logo-main-text { font-size: 1.15rem; letter-spacing: 2px; }
  .logo-sub-text { font-size: 0.45rem; letter-spacing: 3px; }
  .logo-svg { width: 36px; height: 36px; }
  .logo-brand { gap: 10px; }

  /* Hero – desktop */
  .hero { min-height: 85vh; }
  .hero-inner { flex-direction: row; text-align: left; padding: 80px 0; gap: 60px; }
  .hero-text { flex: 1 1 50%; width: auto; }
  .hero-text h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); }
  .hero-text p { margin-left: 0; margin-right: 0; margin-bottom: 36px; font-size: 0.95rem; }
  .hero-btns { justify-content: flex-start; flex-direction: row; }
  .hero-cta-btn { width: auto; padding: 14px 32px; font-size: 0.78rem; }
  .hero-products { display: flex; }
  .hero-badges { justify-content: flex-start; gap: 20px; }

  /* Sections – desktop */
  .section { padding: 70px 0; }
  .section-header { flex-direction: row; align-items: flex-end; }

  /* Grids – desktop */
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
  .shop-layout { grid-template-columns: 200px 1fr; }
  .cart-layout { grid-template-columns: 1fr 320px; }
  .product-detail-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .contact-layout { grid-template-columns: 1fr 1.6fr; gap: 40px; margin-bottom: 60px; }
  .contact-card { padding: 24px 20px; }
  .contact-card h3 { font-size: 0.82rem; }
  .contact-card p { font-size: 0.84rem; }
  .contact-card-icon { width: 50px; height: 50px; }
  .contact-card-icon svg { width: 22px; height: 22px; }
  .contact-cards-grid { margin-bottom: 48px; }
  .contact-info-text h2 { font-size: 1.5rem; margin-bottom: 14px; }
  .contact-info-text p { font-size: 0.9rem; margin-bottom: 20px; }
  .contact-form-card { padding: 32px; }
  .form-grid { grid-template-columns: 1fr 1fr; }

  /* Product cards – desktop */
  .product-card { border-radius: var(--radius-lg); }
  .product-info { padding: 14px 16px 10px; }
  .product-name { font-size: 0.88rem; }
  .product-price { font-size: 1.05rem; }
  .product-category { font-size: 0.62rem; }
  .product-dosage { font-size: 0.76rem; }
  .star-rating { font-size: 0.74rem; }

  /* Cart/detail sticky */
  .cart-summary { position: sticky; top: 80px; }
  .product-detail-image { position: sticky; top: 80px; }

  /* Touch targets can be smaller on desktop */
  .form-input { min-height: auto; padding: 10px 14px; font-size: 0.88rem; }
}

/* ---- Large tablets / small desktops (≥ 1025px) ---- */
@media (min-width: 1025px) {
  .container { padding: 0 20px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .contact-cards-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
