/* Surdeep Online Store — E-commerce theme (Hathi Masala inspired) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --store-green: #2e7d32;
  --store-green-dark: #1b5e20;
  --store-green-light: #e8f5e9;
  --store-brown: #5d4037;
  --store-brown-light: #8d6e63;
  --store-orange: #e65100;
  --store-orange-light: #fff3e0;
  --store-red: #c62828;
  --store-gold: #f9a825;
  --store-cream: #faf6f1;
  --store-text: #212121;
  --store-muted: #757575;
  --store-bg: #f5f5f5;
  --store-white: #ffffff;
  --store-border: #e0e0e0;
  --store-shadow: 0 2px 12px rgba(0,0,0,0.08);
  --store-radius: 4px;
  --store-font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--store-font); color: var(--store-text); background: var(--store-bg); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: min(1200px, 94vw); margin: 0 auto; }

/* Promo ticker — Nutraj top bar */
.promo-ticker {
  background: #1a1a1a;
  color: #fff;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 9px 0;
  letter-spacing: 0.02em;
}
.promo-track {
  display: flex;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.promo-track span { padding: 0 56px; }
.promo-track strong { color: var(--store-gold); margin-right: 6px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Store header */
.store-header {
  background: var(--store-white);
  border-bottom: 1px solid var(--store-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.store-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}
.store-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.store-logo img { height: 44px; }
.store-logo span { font-weight: 800; font-size: 1.1rem; color: var(--store-green-dark); }
.store-logo small { display: block; font-size: 0.62rem; font-weight: 600; color: var(--store-orange); letter-spacing: 0.1em; text-transform: uppercase; }

.store-search {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  background: var(--store-bg);
  border: 1.5px solid var(--store-border);
  border-radius: 50px;
  padding: 10px 20px;
  gap: 10px;
}
.store-search input {
  flex: 1; border: none; background: none; outline: none;
  font-family: var(--store-font); font-size: 0.9rem;
}
.store-search button {
  background: var(--store-green); color: #fff; border: none;
  padding: 6px 16px; border-radius: 50px; cursor: pointer;
  font-size: 0.82rem; font-weight: 600;
}

.store-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.store-action {
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 14px; border-radius: 8px; font-size: 0.72rem;
  font-weight: 600; color: var(--store-muted); transition: 0.2s;
  position: relative; cursor: pointer; background: none; border: none;
  font-family: var(--store-font);
}
.store-action:hover { background: var(--store-green-light); color: var(--store-green-dark); }
.store-action .icon { font-size: 1.3rem; margin-bottom: 2px; }
.cart-badge {
  position: absolute; top: 0; right: 6px;
  background: var(--store-red); color: #fff;
  font-size: 0.62rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.store-nav {
  background: var(--store-white);
  border-bottom: 1px solid var(--store-border);
}
.store-nav .container {
  display: flex; gap: 4px; overflow-x: auto;
  padding: 0; scrollbar-width: none;
}
.store-nav a {
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--store-muted);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: 0.2s;
}
.store-nav a:hover, .store-nav a.active {
  color: var(--store-green-dark);
  border-bottom-color: var(--store-green);
}

/* ─── Nutraj-style Hero Carousel ─── */
.nutraj-hero { background: #111; }
.hero-carousel { position: relative; overflow: hidden; }
.hero-track { position: relative; width: 100%; }
.hero-slide {
  display: none;
  position: relative;
  min-height: clamp(280px, 42vw, 480px);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}
.hero-slide.active { display: block; }
.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.15) 100%);
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: clamp(280px, 42vw, 480px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 0;
  max-width: 520px;
}
.hero-badge {
  display: inline-block;
  background: var(--store-red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-slide-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-slide-content p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.5;
}
.hero-cta {
  display: inline-block;
  background: #fff;
  color: var(--store-text);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 28px;
  letter-spacing: 0.02em;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.92);
  border: none;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--store-text);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: 0.2s;
}
.hero-arrow:hover { background: #fff; }
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.hero-dots button.active { background: #fff; border-color: #fff; }

/* Deal strip */
.deal-strip {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 14px 0;
  transition: filter 0.2s;
}
.deal-strip:hover { filter: brightness(1.08); }
.deal-strip-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.deal-strip-badge {
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.deal-strip-text { flex: 1; min-width: 200px; }
.deal-strip-text strong { display: block; font-size: 0.95rem; font-weight: 700; }
.deal-strip-text span { font-size: 0.82rem; opacity: 0.85; }
.deal-strip-arrow { font-size: 1.2rem; font-weight: 700; }

/* Promo tile grids */
.ad-grid-triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 28px 0;
}
.ad-grid-double {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 8px 0 32px;
}
.ad-promo-tile {
  display: block;
  background: var(--store-white);
  border: 1px solid var(--store-border);
  overflow: hidden;
  text-decoration: none;
  color: var(--store-text);
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
}
.ad-promo-tile:hover { box-shadow: var(--store-shadow); transform: translateY(-3px); }
.ad-promo-tile::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--tile-accent, var(--store-green));
}
.ad-promo-img { height: 160px; overflow: hidden; background: var(--store-cream); }
.ad-promo-img img { width: 100%; height: 100%; object-fit: cover; }
.ad-promo-body { padding: 18px 20px; }
.ad-promo-badge {
  display: inline-block;
  background: var(--store-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ad-promo-body h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.ad-promo-body p { font-size: 0.82rem; color: var(--store-muted); }

/* Brand showcase — Nutraj "Our Brands" */
.brand-showcase-section {
  padding: 48px 0;
  background: var(--store-white);
  border-top: 1px solid var(--store-border);
  border-bottom: 1px solid var(--store-border);
}
.section-head { margin-bottom: 28px; }
.section-head.compact { margin-bottom: 20px; }
.section-head h2 { font-size: 1.45rem; font-weight: 800; color: var(--store-text); margin-bottom: 6px; }
.section-head p { font-size: 0.9rem; color: var(--store-muted); }
.section-head.compact h2 { font-size: 1.2rem; margin-bottom: 0; }
.bestsellers-section .section-head,
.catalog-section .section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
.section-link { color: var(--store-green-dark); font-weight: 700; font-size: 0.88rem; white-space: nowrap; }

.brand-scroll-wrap { position: relative; }
.brand-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 0 12px;
}
.brand-scroll::-webkit-scrollbar { display: none; }
.brand-card {
  flex: 0 0 min(280px, 78vw);
  background: var(--store-cream);
  border: 1px solid var(--store-border);
  overflow: hidden;
  text-decoration: none;
  color: var(--store-text);
  transition: box-shadow 0.25s;
}
.brand-card:hover { box-shadow: var(--store-shadow); }
.brand-card-img {
  height: 140px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-bottom: 1px solid var(--store-border);
}
.brand-card-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.brand-card-body { padding: 20px; }
.brand-card-body h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.brand-card-body p { font-size: 0.82rem; color: var(--store-muted); line-height: 1.55; margin-bottom: 12px; }
.brand-link { font-size: 0.82rem; font-weight: 700; color: var(--store-green-dark); }
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px; height: 36px;
  border: 1px solid var(--store-border);
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: var(--store-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-left { left: -12px; }
.scroll-right { right: -12px; }

/* Full-width banners */
.full-banner-section { padding: 0; }
.full-banner {
  display: block;
  position: relative;
  min-height: 200px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}
.full-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.full-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75), rgba(0,0,0,0.3));
}
.full-banner-content {
  position: relative;
  z-index: 2;
  padding: 48px 0;
  max-width: 560px;
}
.full-banner-badge {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.full-banner-content h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800; margin-bottom: 8px; }
.full-banner-content p { font-size: 0.92rem; opacity: 0.88; }

/* Trust bar */
.trust-bar {
  background: var(--store-white);
  border-bottom: 1px solid var(--store-border);
  padding: 14px 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-item {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--store-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-icon {
  width: 20px; height: 20px;
  background: var(--store-green-light);
  color: var(--store-green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}

/* Category icons — Nutraj style circles */
.cat-icon-circle {
  width: 72px; height: 72px;
  margin: 0 auto 10px;
  background: var(--store-cream);
  border: 2px solid var(--store-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: 0.2s;
}
.cat-icon-item:hover .cat-icon-circle,
.cat-icon-item.active .cat-icon-circle {
  border-color: var(--store-green);
  background: var(--store-green-light);
}
.cat-icon-item span { font-size: 0.78rem; font-weight: 600; color: var(--store-text); line-height: 1.3; }
.cat-icon-item.active span { color: var(--store-green-dark); }

.empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px;
  color: var(--store-muted);
}

.ad-bottom-section { background: var(--store-bg); padding-top: 8px; }

/* Legacy hero (removed from index but kept for compat) */
.hero-banner { display: none; }

/* Category icons row */
.cat-icons {
  padding: 32px 0;
  background: var(--store-white);
  border-bottom: 1px solid var(--store-border);
}
.cat-icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 16px;
  text-align: center;
}
.cat-icon-item {
  padding: 16px 8px;
  border-radius: var(--store-radius);
  transition: 0.2s;
  cursor: pointer;
}
.cat-icon-item:hover { background: var(--store-green-light); transform: translateY(-3px); }
.cat-icon-item .icon { font-size: 2rem; margin-bottom: 8px; }
.cat-icon-item span { font-size: 0.78rem; font-weight: 600; color: var(--store-text); }

/* Section titles */
.store-section { padding: 40px 0; }
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.section-title h2 { font-size: 1.4rem; font-weight: 800; }
.section-title a { color: var(--store-green); font-weight: 600; font-size: 0.88rem; }

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--store-white);
  border-radius: var(--store-radius);
  overflow: hidden;
  border: 1px solid var(--store-border);
  transition: 0.25s;
  cursor: pointer;
}
.product-card:hover { box-shadow: var(--store-shadow); transform: translateY(-4px); }
.product-card-img {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(145deg, var(--store-green-light), #fff);
  position: relative;
  overflow: hidden;
}
.product-card-img.has-photo { background: #fff; }
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  background: #fff;
}
.product-gallery.has-photo { background: #fff; }
.product-card-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--store-orange); color: #fff;
  font-size: 0.65rem; font-weight: 700;
  padding: 3px 10px; border-radius: 50px;
  text-transform: uppercase;
}
.product-card-body { padding: 16px; }
.product-card-cat { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--store-green); margin-bottom: 4px; }
.product-card-body h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.product-card-body .grade { font-size: 0.75rem; color: var(--store-muted); margin-bottom: 10px; }
.product-card-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-size: 1rem; font-weight: 800; color: var(--store-green-dark); }
.product-price.muted { font-size: 0.82rem; font-weight: 600; color: var(--store-muted); }
.btn-add {
  background: var(--store-green); color: #fff;
  border: none; padding: 8px 16px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700; cursor: pointer;
  font-family: var(--store-font); transition: 0.2s;
}
.btn-add:hover { background: var(--store-green-dark); }

/* Promo pamphlets / ads */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.promo-card {
  border-radius: var(--store-radius);
  padding: 28px 24px;
  color: #fff;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.promo-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.promo-card p { font-size: 0.82rem; opacity: 0.9; }
.promo-card:nth-child(1) { background: linear-gradient(135deg, #2e7d32, #1b5e20); }
.promo-card:nth-child(2) { background: linear-gradient(135deg, #e65100, #bf360c); }
.promo-card:nth-child(3) { background: linear-gradient(135deg, #1565c0, #0d47a1); }

/* Product detail page */
.product-page { padding: 32px 0 64px; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--store-white);
  border-radius: var(--store-radius);
  padding: 32px;
  border: 1px solid var(--store-border);
  margin-bottom: 40px;
}
.product-gallery {
  background: var(--store-green-light);
  border-radius: var(--store-radius);
  height: 360px;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  overflow: hidden;
}
.product-info h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.product-info .meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.product-info .meta span {
  font-size: 0.78rem; font-weight: 600;
  padding: 4px 12px; border-radius: 50px;
  background: var(--store-green-light); color: var(--store-green-dark);
}
.product-info .desc { color: var(--store-muted); margin-bottom: 24px; line-height: 1.7; }
.size-selector { margin-bottom: 24px; }
.size-selector label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 10px; }
.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  padding: 10px 20px; border: 2px solid var(--store-border);
  border-radius: 8px; background: #fff; cursor: pointer;
  font-family: var(--store-font); font-weight: 600; font-size: 0.88rem;
  transition: 0.2s;
}
.size-btn.active, .size-btn:hover { border-color: var(--store-green); background: var(--store-green-light); color: var(--store-green-dark); }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.qty-selector { display: flex; align-items: center; border: 2px solid var(--store-border); border-radius: 8px; }
.qty-selector button { width: 40px; height: 40px; border: none; background: none; cursor: pointer; font-size: 1.1rem; font-weight: 700; }
.qty-selector span { width: 40px; text-align: center; font-weight: 700; }
.btn-buy {
  flex: 1; padding: 14px 24px;
  background: var(--store-green); color: #fff;
  border: none; border-radius: 8px;
  font-family: var(--store-font); font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: 0.2s;
}
.btn-buy:hover { background: var(--store-green-dark); }
.btn-buy-outline {
  padding: 14px 24px; background: #fff;
  border: 2px solid var(--store-green); color: var(--store-green-dark);
  border-radius: 8px; font-family: var(--store-font);
  font-weight: 700; cursor: pointer;
}

.product-tabs { background: var(--store-white); border-radius: var(--store-radius); border: 1px solid var(--store-border); padding: 24px; }
.product-tabs h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: var(--store-green-dark); }

/* Cart page */
.cart-page { padding: 32px 0 64px; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; }
.cart-table { background: var(--store-white); border-radius: var(--store-radius); border: 1px solid var(--store-border); overflow: hidden; }
.cart-table table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 14px 20px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--store-muted); background: var(--store-bg); }
.cart-table td { padding: 16px 20px; border-top: 1px solid var(--store-border); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-product .emoji { font-size: 2rem; width: 52px; height: 52px; background: var(--store-green-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.cart-summary {
  background: var(--store-white); border-radius: var(--store-radius);
  border: 1px solid var(--store-border); padding: 24px;
  position: sticky; top: 120px;
}
.cart-summary h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.9rem; }
.summary-row.total { font-size: 1.15rem; font-weight: 800; padding-top: 12px; border-top: 2px solid var(--store-border); margin-top: 12px; }
.empty-cart { text-align: center; padding: 80px 24px; }
.empty-cart .icon { font-size: 4rem; margin-bottom: 16px; }

/* Auth pages */
.auth-page {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
}
.auth-card {
  background: var(--store-white);
  border-radius: var(--store-radius);
  border: 1px solid var(--store-border);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--store-shadow);
}
.auth-card h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.auth-card p { color: var(--store-muted); font-size: 0.9rem; margin-bottom: 28px; }
.auth-card .form-group { margin-bottom: 16px; }
.auth-card label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.auth-card input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--store-border); border-radius: 8px;
  font-family: var(--store-font); font-size: 0.92rem;
}
.auth-card input:focus { outline: none; border-color: var(--store-green); }
.password-field-wrap { position: relative; display: flex; align-items: stretch; }
.password-field-wrap input { flex: 1; padding-right: 72px; }
.password-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #f0f4f1;
  color: var(--store-green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--store-font);
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.password-toggle:hover { background: #e8f5e9; }
.auth-admin-hint {
  font-size: 0.78rem; color: var(--store-muted); margin: -8px 0 12px;
  background: #f1f8f4; padding: 8px 10px; border-radius: 8px; line-height: 1.45;
}
.auth-admin-hint code { font-size: 0.76rem; color: var(--store-green-dark); word-break: break-all; }
.auth-error { background: #ffebee; color: var(--store-red); padding: 10px; border-radius: 8px; font-size: 0.85rem; margin-bottom: 16px; display: none; }
.auth-error.show { display: block; }
.auth-success { background: #e8f5e9; color: var(--store-green-dark); padding: 10px; border-radius: 8px; font-size: 0.85rem; margin-bottom: 16px; display: none; }
.auth-success.show { display: block; }
.auth-forgot-wrap { text-align: right; margin: 8px 0 0; font-size: 0.85rem; }
.auth-forgot-wrap a { color: var(--store-green); font-weight: 600; text-decoration: none; }
.auth-forgot-wrap a:hover { text-decoration: underline; }
.auth-file-hint { background: #fff8e1; color: #8a6d00; padding: 10px 12px; border-radius: 8px; font-size: 0.82rem; margin-bottom: 14px; line-height: 1.45; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--store-muted); }
.auth-switch a { color: var(--store-green); font-weight: 600; }

/* Phone OTP login */
.phone-input-row {
  display: flex; align-items: stretch;
  border: 1.5px solid var(--store-border); border-radius: 8px; overflow: hidden;
}
.phone-prefix {
  display: flex; align-items: center; padding: 0 14px;
  background: #f5f5f5; font-weight: 700; color: #555; border-right: 1px solid var(--store-border);
}
.phone-input-row input { border: none !important; border-radius: 0 !important; }
.otp-input { letter-spacing: 0.35em; font-size: 1.25rem !important; text-align: center; font-weight: 700; }
.auth-card textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--store-border); border-radius: 8px;
  font-family: var(--store-font); font-size: 0.92rem; resize: vertical;
}
.auth-card textarea:focus { outline: none; border-color: var(--store-green); }
.auth-logo { height: 56px; margin: 0 auto 16px; display: block; }
.auth-tabs { display: flex; gap: 0; margin-bottom: 24px; border: 1.5px solid var(--store-border); border-radius: 8px; overflow: hidden; }
.auth-tab { flex: 1; padding: 10px; border: none; background: #f8f8f8; font-weight: 700; cursor: pointer; font-family: var(--store-font); }
.auth-tab.active { background: var(--store-green); color: #fff; }
.auth-submit { width: 100%; margin-top: 8px; }
.auth-legal-note {
  margin-top: 14px;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--store-muted, #888);
  text-align: center;
}
.auth-legal-note a {
  color: var(--store-green, #3d6b4f);
  font-weight: 600;
  text-decoration: none;
}
.auth-legal-note a:hover { text-decoration: underline; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; color: var(--store-muted); font-size: 0.82rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--store-border); }
.auth-social { display: flex; gap: 10px; flex-wrap: wrap; }
.auth-social-btn {
  flex: 1; min-width: 120px; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px; border: 1.5px solid var(--store-border); border-radius: 8px;
  background: #fff; cursor: pointer; font-weight: 600; font-family: var(--store-font); font-size: 0.88rem;
}
.auth-social-btn span { font-weight: 800; font-size: 1.1rem; }
.auth-social-btn.google span { color: #ea4335; }
.auth-social-btn:hover { border-color: var(--store-green); background: #fafafa; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .auth-card { padding: 24px 18px; margin: 0 12px; }
  .auth-page { padding: 24px 0 40px; }
  .auth-tab { min-height: 44px; }
  .auth-submit { min-height: 48px; }
  .auth-social-btn { min-height: 48px; flex: 1 1 100%; justify-content: center; }
}
.profile-setup-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.profile-setup-head h1 { margin-bottom: 4px; }
.profile-setup-head p { margin-bottom: 0; }

/* Account avatar (initial) */
.account-avatar, .nutraj-account-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--store-green); color: #fff;
  font-weight: 800; font-size: 0.95rem; line-height: 1;
  text-decoration: none !important;
}
.nutraj-account-avatar { border: 2px solid rgba(255,255,255,0.3); }
.account-avatar.lg { width: 64px; height: 64px; font-size: 1.6rem; flex-shrink: 0; }
.account-hero {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.account-hero-left { display: flex; align-items: center; gap: 16px; }
.account-hero h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; }
.account-meta { color: var(--store-muted); font-size: 0.9rem; }
.account-logout-btn {
  padding: 10px 20px; border: 1.5px solid var(--store-border);
  border-radius: 8px; background: #fff; cursor: pointer; font-weight: 600;
}
.account-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: start;
}
.account-panel {
  background: var(--store-white); border: 1px solid var(--store-border);
  border-radius: var(--store-radius); padding: 24px;
}
.account-panel h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; }
.order-status-pill {
  padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
  background: var(--store-green-light); color: var(--store-green-dark);
}
@media (max-width: 768px) {
  .account-grid { grid-template-columns: 1fr; }
}

/* Store footer */
.store-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
  margin-top: 40px;
}
.store-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.store-footer h4 { color: #fff; font-size: 0.9rem; margin-bottom: 14px; font-weight: 700; }
.store-footer a { display: block; font-size: 0.85rem; padding: 4px 0; opacity: 0.7; transition: 0.2s; }
.store-footer a:hover { opacity: 1; color: #a5d6a7; }
.store-footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; font-size: 0.8rem; opacity: 0.5; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--store-green-dark); color: #fff;
  padding: 14px 22px; border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2); z-index: 9999;
  transform: translateY(80px); opacity: 0; transition: 0.35s;
}
.toast.show { transform: translateY(0); opacity: 1; }

.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--store-muted); font-size: 0.88rem; font-weight: 600; margin-bottom: 20px; }
.back-link:hover { color: var(--store-green); }

@media (max-width: 768px) {
  .store-header .container { flex-wrap: wrap; }
  .store-search { order: 3; max-width: 100%; flex: 1 1 100%; }
  .product-detail-grid, .cart-layout, .ad-grid-triple, .ad-grid-double, .store-footer-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cart-table table { min-width: 520px; }
  .cart-page { padding: 20px 0 48px; }
  .cart-page h1 { font-size: 1.35rem; }
  .coupon-row { flex-wrap: wrap; }
  .hero-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }
  .scroll-btn { display: none; }
  .trust-bar-inner { justify-content: flex-start; }
}
