:root {
  --brand: #00a348;
  --brand-dark: #008a3c;
  --brand-deep: #012615;
  --brand-light: #e8f8ee;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f5f7f6;
  --card: #ffffff;
  --warn: #e53935;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(1, 38, 21, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-dark); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.ico { display: inline-block; vertical-align: -3px; flex-shrink: 0; }
.ico.sm { width: 16px; height: 16px; }

/* Premium trust ribbon — hidden (removed from header) */
.trust-premium,
.trust-top { display: none !important; }

/* Header */
.top { background: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 var(--line); }
.bar { display: flex; align-items: center; gap: 18px; padding: 14px 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--ink); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff; font-weight: 900; font-size: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(0,163,72,.28);
}
.logo-text { line-height: 1.05; }
.logo-text strong { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.logo-text strong span { color: var(--brand); }
.logo-text small { display: block; font-size: 10px; font-weight: 600; color: var(--brand); margin-top: 2px; }
.search { flex: 1; display: flex; max-width: 560px; background: #fff; border: 1.5px solid #d1d5db; border-radius: 999px; overflow: hidden; }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,163,72,.15); }
.search input { flex: 1; border: 0; outline: none; padding: 11px 18px; font-size: 14px; background: transparent; }
.search button { border: 0; background: var(--brand); color: #fff; width: 48px; cursor: pointer; display: grid; place-items: center; }
.search button:hover { background: var(--brand-dark); }
.nav { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 13px; }
.nav a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.nav a:hover { color: var(--brand); }
.cart {
  position: relative; width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); background: #f3f4f6; text-decoration: none !important;
}
.cart em {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px;
  border-radius: 99px; background: var(--brand); color: #fff;
  font-style: normal; font-size: 10px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* Sub nav */
.subnav,
.subnav-inner,
.btn-cats,
.sub-links { display: none !important; }
.btn-cats {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff !important; font-weight: 700; font-size: 13px;
  border-radius: 8px; padding: 10px 14px; white-space: nowrap; text-decoration: none !important;
}
.btn-cats:hover { background: var(--brand-dark); }
.sub-links { display: flex; gap: 4px; align-items: center; }
.sub-links a {
  color: var(--ink); font-weight: 600; font-size: 13px; padding: 8px 12px;
  border-radius: 8px; text-decoration: none; white-space: nowrap;
}
.sub-links a:hover, .sub-links a.active { color: var(--brand); background: var(--brand-light); }

/* Hero — flash deals slider */
.hero-banner {
  margin: 16px 0 10px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(110deg, #012615 0%, #064e3b 45%, #0a7a42 100%);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.75fr);
  gap: 0;
  min-height: 240px;
  position: relative;
  box-shadow: var(--shadow);
}
.hero-banner.flash-deals { align-items: stretch; }
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(0,163,72,.35), transparent 50%);
  pointer-events: none;
}
.flash-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #111;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .03em;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  line-height: 1.2;
}
.hero-slides {
  position: relative;
  z-index: 1;
  min-height: 240px;
  grid-column: 1;
  min-width: 0;
}
.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.2fr) minmax(120px, 0.8fr);
  gap: 8px;
  align-items: center;
  height: 100%;
  animation: flashFade .4s ease;
}
.hero-slide.is-active { display: grid; }
@keyframes flashFade {
  from { opacity: .4; }
  to { opacity: 1; }
}
.hero-left {
  position: relative;
  z-index: 1;
  padding: 28px 20px 36px 28px;
  min-width: 0;
}
.hero-mid {
  position: relative;
  z-index: 1;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mid img {
  display: block;
  width: 130px;
  height: 130px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.28));
}
.hero-kicker {
  color: #86efac;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-left h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  font-weight: 900;
}
.hero-left p {
  margin: 0 0 16px;
  color: #bbf7d0;
  max-width: 340px;
  font-size: 13px;
  line-height: 1.45;
}
.btn-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 800;
  padding: 11px 16px;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.btn-shop:hover { background: #12b955; }
.hero-right {
  display: grid;
  gap: 10px;
  align-content: center;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  padding: 24px 20px 24px 8px;
}
.usp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(134,239,172,.25);
  border-radius: 10px;
  padding: 9px 11px;
}
.usp .ico { color: #86efac; width: 16px; height: 16px; flex-shrink: 0; }
.flash-dots {
  position: absolute;
  left: 28px;
  bottom: 14px;
  z-index: 6;
  display: flex;
  gap: 7px;
}
.flash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
}
.flash-dot.is-active {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.22);
}
.flash-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255,255,255,.12);
  z-index: 6;
}
.flash-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: #86efac;
}

/* Brand strip */
.brand-strip { padding: 8px 0 4px; }
.brand-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 2px 12px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.brand-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  width: 76px;
  text-decoration: none !important;
  color: var(--ink);
}
.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.brand-chip:hover .brand-logo {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-light);
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-fallback {
  font-weight: 800;
  color: var(--brand);
  font-size: 16px;
}
.brand-label {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  max-width: 76px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Section */
.section { padding: 8px 0 20px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 14px; }
.section-head h2 { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.section-head .view-all { color: var(--brand); font-weight: 700; font-size: 13px; text-decoration: none; }
.section-head .view-all:hover { text-decoration: underline; }

/* Product grid — small Flipkart-style boxes (never stretch full width) */
.grid,
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, 168px);
  gap: 12px;
  justify-content: start;
  align-items: stretch;
}
.pcard {
  width: 168px;
  max-width: 168px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none !important;
  color: inherit;
  position: relative;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: transform .12s ease, box-shadow .12s ease;
  box-sizing: border-box;
}
.pcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(1, 38, 21, 0.1);
  border-color: #ccebd8;
}
.pcard-img-wrap {
  position: relative;
  background: #f5f6f5;
  border-radius: 8px;
  padding: 8px;
  height: 120px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pcard-img-wrap img {
  max-height: 104px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.off-badge {
  position: absolute; left: 6px; top: 6px; z-index: 2;
  background: var(--brand); color: #fff; font-size: 10px; font-weight: 800;
  padding: 2px 6px; border-radius: 4px;
}
.wish {
  position: absolute; right: 6px; top: 6px; z-index: 2;
  width: 26px; height: 26px; border-radius: 999px; border: 0; background: #fff;
  display: grid; place-items: center; cursor: pointer; color: #9ca3af;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.pcard h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  height: 2.7em;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard-meta { font-size: 10px; color: var(--muted); margin-top: -2px; }
.rating-row { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #9ca3af; }
.rating-pill {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 4px;
}
.price-row { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.price { font-weight: 800; font-size: 14px; color: #111827; letter-spacing: -.02em; }
.mrp { color: #9ca3af; text-decoration: line-through; font-size: 11px; }
.pcard-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none !important;
  color: inherit;
  flex: 1;
}
.pcard form { margin: 0; margin-top: auto; }
.btn-cart {
  width: 100%; border: 0; cursor: pointer;
  background: var(--brand) !important; color: #fff !important;
  font-weight: 800; font-size: 11px;
  padding: 8px 6px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  text-decoration: none !important;
}
.btn-cart:hover { background: var(--brand-dark) !important; }
.btn-cart .ico { color: #fff; width: 14px; height: 14px; }

/* Promo tiles */
.promo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 8px 0 24px; }
.promo {
  position: relative; border-radius: 16px; overflow: hidden; min-height: 160px;
  background: #064e3b; color: #fff; text-decoration: none !important;
  box-shadow: var(--shadow);
}
.promo img { width: 100%; height: 160px; object-fit: cover; opacity: .55; }
.promo .t { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; }
.promo .t strong { font-size: 1.05rem; font-weight: 800; }
.promo .t small { color: #bbf7d0; margin: 4px 0 10px; }
.promo .cta {
  align-self: flex-start; background: var(--brand); color: #fff; font-weight: 800;
  font-size: 12px; padding: 8px 12px; border-radius: 8px;
}

/* Footer */
.foot { background: var(--brand-deep); color: #a7f3d0; margin-top: 40px; font-size: .9rem; }
.foot a { color: #ecfdf5; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.15fr; gap: 28px; padding: 40px 16px 24px; }
.foot-brand p { margin: 12px 0 14px; color: #86efac; line-height: 1.55; font-size: 13px; max-width: 300px; }
.foot h4 { margin: 0 0 12px; color: #fff; font-size: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 8px; }
.foot-contact li { display: flex; align-items: center; gap: 8px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.foot-social a:hover { background: var(--brand); text-decoration: none; }
.newsletter { display: flex; gap: 0; margin-top: 8px; }
.newsletter input {
  flex: 1; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06);
  color: #fff; border-radius: 10px 0 0 10px; padding: 10px 12px; outline: none;
}
.newsletter button {
  border: 0; background: var(--brand); color: #fff; padding: 0 14px;
  border-radius: 0 10px 10px 0; cursor: pointer; font-weight: 800;
}
.foot-apps { background: rgba(0,0,0,.28); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-apps-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 16px; }
.foot-apps-title { margin: 0; color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.foot-apps-sub { margin: 4px 0 0; font-size: 12px; color: #86efac; }
.app-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.app-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px;
  color: #fff !important; text-decoration: none !important; font-weight: 700; min-width: 150px;
}
.app-btn small { display: block; font-size: 10px; font-weight: 500; opacity: .85; }
.app-btn.android { background: var(--brand); }
.app-btn.ios { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.foot-bottom { padding: 16px; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pay-row span {
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
  color: #d1fae5; border-radius: 6px; padding: 4px 10px; font-size: 11px; font-weight: 700;
}
.copy-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  color: #6ee7b7; font-size: 12px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px;
}
.copy-row .tag { color: #86efac; font-weight: 700; }

/* Forms / admin leftovers */
.form { background: #fff; max-width: 480px; margin: 24px auto; padding: 24px; border-radius: 12px; box-shadow: var(--shadow); }
.form label { display: block; font-size: .85rem; font-weight: 600; margin: 12px 0 4px; }
.form input, .form select, .form textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; }
.form .error { background: #fdecea; color: #b71c1c; padding: 8px 10px; border-radius: 8px; margin-bottom: 10px; }
.form input[type=file] { padding: 8px; border: 1px dashed #86efac; background: #f0fdf4; border-radius: 8px; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid #eee; text-align: left; font-size: .9rem; vertical-align: top; }
.table th { background: #f0fdf4; }
.admin-body { display: flex; min-height: 100vh; background: #f0f2f5; }
.admin-side {
  width: 248px; background: linear-gradient(180deg, #0b3d2a 0%, #14532d 55%, #166534 100%);
  color: #fff; padding: 18px 12px; display: flex; flex-direction: column; gap: 6px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-brand {
  display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1.15rem; padding: 10px 12px 18px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 8px;
}
.admin-brand span span { color: #86efac; }
.admin-brand-ico { color: #86efac; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.admin-side a {
  display: flex; align-items: center; gap: 10px; color: #bbf7d0; font-weight: 600;
  text-decoration: none; padding: 10px 12px; border-radius: 10px; font-size: .92rem;
}
.admin-side a:hover, .admin-side a.active { background: rgba(255,255,255,.12); color: #fff; }
.admin-side a .ico { opacity: .9; flex-shrink: 0; }
.admin-side-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 2px; }
.admin-main { flex: 1; padding: 20px 28px 40px; min-width: 0; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-top h1 { margin: 0; font-size: 1.55rem; }
.admin-top-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-sm { padding: 8px 12px; font-size: .85rem; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.admin-stat {
  background: #fff; border-radius: 14px; padding: 16px; display: flex; gap: 14px; align-items: center;
  border: 1px solid #e5e7eb; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.admin-stat.warn { border-color: #fde68a; background: #fffbeb; }
.admin-stat-ico {
  width: 44px; height: 44px; border-radius: 12px; background: #dcfce7; color: #166534;
  display: flex; align-items: center; justify-content: center;
}
.admin-stat-n { font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.admin-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.admin-quick-link {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e5e7eb;
  border-radius: 12px; padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .9rem;
}
.admin-quick-link:hover { border-color: var(--brand); color: var(--brand-dark); }
.admin-flash {
  background: #dcfce7; color: #14532d; border: 1px solid #86efac; padding: 10px 14px;
  border-radius: 10px; margin-bottom: 14px; font-weight: 600;
}
.admin-flash.warn { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.admin-panel {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px 22px; max-width: 820px;
}
.admin-panel h3 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.admin-panel label:not(.check-row) { display: block; font-size: .85rem; font-weight: 600; margin: 12px 0 4px; }
.admin-panel input[type=text], .admin-panel input[type=email], .admin-panel input[type=password], .admin-panel input:not([type]), .admin-panel select {
  width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px;
}
.check-row { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 8px 0; cursor: pointer; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.admin-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 16px;
  display: flex; gap: 12px; align-items: flex-start;
}
.admin-card.ok { border-color: #86efac; background: #f0fdf4; }
.admin-card-ico {
  width: 40px; height: 40px; border-radius: 10px; background: #dcfce7; color: #166534;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.admin-code {
  display: block; background: #0f172a; color: #86efac; padding: 10px 12px; border-radius: 8px;
  font-size: .8rem; overflow-x: auto; margin-top: 8px;
}
.admin-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.order-form { display: flex; flex-direction: column; gap: 4px; max-width: 260px; }
.order-form input, .order-form select { width: 100%; padding: 6px 8px; border: 1px solid #ddd; border-radius: 6px; font-size: .85rem; }
.pay-methods { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.pay-opt { cursor: pointer; }
.pay-opt input { display: none; }
.pay-opt-box {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid #e5e7eb;
  border-radius: 12px; background: #fff;
}
.pay-opt input:checked + .pay-opt-box { border-color: var(--brand); background: #f0fdf4; }
.admin-login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #0b3d2a, #166534 40%, #f0fdf4 40%);
  padding: 24px;
}
.admin-login-card { width: 100%; max-width: 400px; }
@media (max-width: 960px) {
  .admin-stats, .admin-cards, .grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .admin-body { flex-direction: column; }
  .admin-side { width: 100%; height: auto; position: relative; }
  .admin-stats, .admin-cards, .grid-2 { grid-template-columns: 1fr; }
}
.btn { display: inline-block; background: var(--warn); color: #fff; border: 0; padding: 12px 16px; border-radius: 12px; font-weight: 800; cursor: pointer; text-decoration: none; }
.btn.secondary { background: var(--brand); }
.btn.outline { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.muted { color: var(--muted); font-size: .9rem; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: .75rem; background: var(--brand-light); color: var(--brand-dark); font-weight: 700; }
.upload-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.upload-previews img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; }

/* PDP */
.crumb { font-size: 12px; color: var(--muted); padding: 12px 0 4px; text-transform: capitalize; }
.crumb a { color: var(--muted); }
.product-page { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; padding: 12px 0 32px; }
.gallery { position: relative; background: #fff; border-radius: 16px; padding: 20px; border: 1px solid var(--line); }
.gallery-main { width: 100%; max-height: 380px; object-fit: contain; margin: 0 auto; }
.off-ribbon { position: absolute; left: 0; top: 0; background: var(--brand); color: #fff; font-weight: 800; font-size: 12px; padding: 8px 12px; border-radius: 16px 0 12px 0; }
.trust-col { position: absolute; right: 12px; top: 56px; display: flex; flex-direction: column; gap: 8px; }
.trust-item { background: #fff; border: 1px solid #f3f4f6; border-radius: 10px; width: 68px; padding: 6px; text-align: center; font-size: 9px; font-weight: 600; color: var(--muted); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.trust-item .ok { color: var(--brand); font-weight: 800; font-size: 12px; display: block; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 0; }
.thumbs button { border: 2px solid transparent; border-radius: 10px; padding: 0; background: #f3f4f6; cursor: pointer; }
.thumbs button.active { border-color: var(--brand); }
.thumbs img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; }
.pdp-title { font-size: 1.5rem; font-weight: 800; margin: 0 0 8px; line-height: 1.25; }
.rating-badge { background: var(--brand); color: #fff; font-weight: 700; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 14px; }
.price-block .price { font-size: 1.85rem; }
.off-pill { background: var(--brand-light); color: var(--brand-dark); font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.save-line { color: var(--brand); font-weight: 700; margin-top: 4px; font-size: 14px; }
.opt-label { margin-top: 20px; font-size: 13px; color: var(--muted); }
.opt-label strong { color: var(--ink); }
.swatches { display: flex; gap: 12px; margin-top: 10px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #e5e7eb; cursor: pointer; padding: 0; }
.swatch.active { border-color: var(--brand); transform: scale(1.08); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand); }
.storage-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.storage-btn { border: 2px solid #e5e7eb; background: #fff; border-radius: 12px; padding: 10px 16px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--ink); }
.storage-btn.active { border-color: var(--brand); background: var(--brand-light); color: var(--brand-dark); }
.storage-btn small { display: block; font-weight: 600; color: var(--muted); margin-top: 2px; }
.storage-btn.active small { color: var(--brand-dark); }
.pdp-desc { margin-top: 18px; color: #4b5563; font-size: 14px; }
.pdp-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.pdp-actions .btn { flex: 1; text-align: center; min-width: 140px; }
.seo-blurb { margin-top: 28px; padding: 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; font-size: 13px; color: #4b5563; }

@media (max-width: 960px) {
  .hero-banner,
  .hero-banner.flash-deals {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-slides { min-height: 0; grid-column: auto; }
  .hero-right { display: none; }
  .hero-slide.is-active {
    grid-template-columns: 1fr 120px;
    gap: 4px;
  }
  .hero-left { padding: 22px 16px 34px 18px; }
  .hero-mid { padding: 16px 12px; }
  .hero-mid img { width: 100px; height: 100px; }
  .flash-dots { left: 18px; bottom: 12px; }
  .promo-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .bar { flex-wrap: wrap; }
  .search { order: 3; max-width: none; width: 100%; }
  .nav span.hide-sm { display: none; }
  .product-page { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .wrap { padding-left: 12px; padding-right: 12px; }

  .hero-banner,
  .hero-banner.flash-deals {
    margin: 10px 0 8px;
    border-radius: 14px;
  }
  .hero-slide.is-active {
    display: grid;
    grid-template-columns: 1fr 88px;
    align-items: center;
  }
  .hero-left {
    padding: 18px 8px 30px 14px;
  }
  .hero-left h2 { font-size: 1.25rem; margin: 6px 0 8px; }
  .hero-left p {
    font-size: 12px;
    margin: 0 0 12px;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-kicker { font-size: 10px; padding-right: 70px; }
  .btn-shop {
    padding: 9px 12px;
    font-size: 12px;
  }
  .hero-mid {
    padding: 12px 10px 28px 0;
  }
  .hero-mid img {
    width: 72px;
    height: 72px;
  }
  .hero-right { display: none !important; }
  .flash-badge { top: 8px; right: 8px; font-size: 8px; padding: 2px 6px; }
  .flash-dots { left: 14px; bottom: 10px; transform: none; }
  .flash-progress { height: 2px; }

  .brand-chip { width: 68px; }
  .brand-logo { width: 56px; height: 56px; border-radius: 12px; padding: 6px; }
  .brand-label { font-size: 10px; max-width: 68px; }

  .grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .pcard {
    width: 100%;
    max-width: none;
    padding: 8px;
    border-radius: 10px;
  }
  .pcard-img-wrap { height: 110px; min-height: 110px; padding: 6px; }
  .pcard-img-wrap img { max-height: 96px; max-width: 100%; }
  .pcard h3 { font-size: 11px; height: 2.7em; }
  .price { font-size: 13px; }
  .btn-cart { font-size: 11px; padding: 8px 4px; }
}
@media (min-width: 721px) and (max-width: 980px) {
  .grid,
  .product-grid {
    grid-template-columns: repeat(auto-fill, 160px);
  }
  .pcard { width: 160px; max-width: 160px; }
}
@media (max-width: 420px) {
  .hero-slide.is-active { grid-template-columns: 1fr 70px; }
  .hero-mid img { width: 60px; height: 60px; }
  .hero-left h2 { font-size: 1.15rem; }
}
