/* Evergreen Foods — Production Static CSS
   Pixel-polished, framework-free. UK £ currency.
   Design source: fresh-pack-deals.lovable.app
*/

:root {
  /* Colors from original (oklch approximated to hex for compatibility) */
  --primary: #2d5a3d;
  --primary-hover: #244a32;
  --primary-foreground: #faf9f5;
  --deep: #1a2e22;
  --background: #faf9f5;
  --card: #ffffff;
  --muted: #f2f0e9;
  --muted-foreground: #6b6558;
  --border: #e5e1d6;
  --sun: #d4a84b;
  --sun-dark: #b8902f;
  --promo: #c45c26;
  --accent: #e8f0e9;
  --text: #2c2a24;
  --text-light: #5c574c;
  --success: #2d5a3d;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
  --header-h: 76px;
  --topbar-h: 36px;
  --container: 1280px;
  --font-sans: "Trebuchet MS", "Segoe UI", Verdana, Geneva, sans-serif;
  --font-display: "Trebuchet MS", "Segoe UI", Verdana, Geneva, sans-serif;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* Typography */
.font-display { font-family: var(--font-display); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.text-sun { color: var(--sun); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* Top bar */
.topbar {
  background: var(--deep);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}
.topbar span { margin: 0 0.35rem; }
.topbar .sep { opacity: 0.4; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,249,245,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 0.9;
  font-weight: 600;
}
.logo-text small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  margin-top: 4px;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 15px;
  font-weight: 600;
}
.nav-desktop a {
  transition: color var(--transition);
  position: relative;
}
.nav-desktop a:hover,
.nav-desktop a.active { color: var(--primary); }
.nav-desktop a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.icon-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.icon-btn:hover { background: var(--muted); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.avatar-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  flex: none;
}
.avatar-lg { width: 46px; height: 46px; font-size: 19px; }

/* Account portal */
.portal { display: grid; gap: 1.25rem; }
@media (min-width: 900px) {
  .portal { grid-template-columns: 264px minmax(0, 1fr); align-items: start; }
}
.portal-side {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
@media (min-width: 900px) {
  .portal-side { position: sticky; top: calc(var(--header-h) + 1rem); }
}
.portal-user { display: flex; align-items: center; gap: 0.75rem; }
.portal-user strong { display: block; }
.portal-points {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--primary);
  font-size: 14px;
}
.portal-points svg { width: 18px; height: 18px; }
.portal-nav { display: flex; gap: 0.25rem; margin-top: 1rem; }
@media (min-width: 900px) {
  .portal-nav { flex-direction: column; }
}
@media (max-width: 899px) {
  .portal-nav { flex-direction: row; overflow-x: auto; }
  .portal-nav .portal-link { white-space: nowrap; }
}
.portal-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.portal-link svg { width: 18px; height: 18px; flex: none; }
.portal-link:hover { background: var(--muted); }
.portal-link.active { background: var(--primary); color: #fff; }
.portal-signout { margin: 0; }
.portal-main { min-width: 0; }
.portal-main .auth-card { margin: 0; }

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: var(--muted);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.cart-btn:hover { background: var(--border); }
.cart-btn svg { width: 18px; height: 18px; }

.mobile-menu-btn { display: flex; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .mobile-menu-btn { display: none; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}
.mobile-nav.open {
  pointer-events: auto;
  visibility: visible;
}
.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-nav.open .mobile-nav-overlay { opacity: 1; }
.mobile-nav-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--background);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.mobile-nav-links a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--sun);
  color: var(--deep);
  border-color: var(--sun);
}
.btn-primary:hover {
  background: var(--sun-dark);
  border-color: var(--sun-dark);
}
.btn-outline {
  background: transparent;
  color: var(--primary-foreground);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.btn-dark {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.btn-dark:hover {
  background: var(--primary-hover);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--muted); }
.btn-sm { padding: 0.5rem 1rem; font-size: 13px; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,46,34,0.92) 0%, rgba(26,46,34,0.7) 45%, rgba(26,46,34,0.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  max-width: 560px;
  color: #fff;
}
.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--sun); }
.hero p {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 420px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--sun);
  line-height: 1.1;
}
.hero-stat span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Trust bar */
.trust-bar {
  background: var(--muted);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.trust-item span {
  font-size: 13px;
  color: var(--muted-foreground);
}

/* Section common */
.section {
  padding: 4rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.section-desc {
  color: var(--muted-foreground);
  max-width: 480px;
  margin: 0 auto;
}

/* Category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(6, 1fr); }
}
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--muted);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: #fff;
}
.cat-card-label {
  font-size: 11px;
  opacity: 0.85;
  margin-bottom: 0.2rem;
}
.cat-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}
.cat-card-cta {
  font-size: 12px;
  font-weight: 600;
  margin-top: 0.35rem;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s;
}
.cat-card:hover .cat-card-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
.product-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-fav {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), transform var(--transition);
}
.product-fav:hover { transform: scale(1.08); color: var(--promo); }
.product-fav svg { width: 18px; height: 18px; }
.product-fav.active { color: var(--promo); border-color: var(--promo); }
.product-fav.active svg { fill: var(--promo); }
.product-fav-inline { position: static; flex: none; margin-top: 0.35rem; }
.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--muted);
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  z-index: 2;
}
.badge-bestseller { background: var(--primary); color: #fff; }
.badge-sale { background: var(--promo); color: #fff; }
.badge-bogo { background: #16a34a; color: #fff; }
.badge-bundle { background: #1d4ed8; color: #fff; }
.badge-flash { background: #b91c1c; color: #fff; }
.bogo-panel { border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 12px; padding: .8rem 1rem; margin-top: 1rem; font-size: 14px; }
.bogo-panel strong { color: #166534; }
.promo-tag { display: inline-block; background: #dcfce7; color: #166534; border-radius: 999px; padding: .1rem .6rem; font-size: 12px; font-weight: 700; }
.product-diets { display: flex; gap: .3rem; flex-wrap: wrap; margin-top: .3rem; }
.diet-tag { font-size: 11px; color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 999px; padding: 0 .5rem; }
.product-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}
.product-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 13px;
  color: var(--muted-foreground);
}
.product-rating svg { width: 14px; height: 14px; fill: var(--sun); stroke: none; }
.product-pack {
  margin-top: 0.35rem;
}
.product-pack select {
  width: 100%;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  font-size: 13px;
  cursor: pointer;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.5rem;
  min-height: 1.75rem;
}
.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}
.product-price-old {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}
.product-actions {
  margin-top: auto;
  padding-top: 0.75rem;
}
.product-actions .btn {
  width: 100%;
  padding: 0.6rem;
  font-size: 13px;
}

/* Page header (inner pages) */
.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}
.page-hero .section-label { margin-bottom: 0.5rem; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}
.page-hero p {
  color: var(--muted-foreground);
  max-width: 480px;
  margin: 0 auto;
}

/* Filters / shop tools */
.shop-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cat-pill {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.cat-pill:hover, .cat-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.shop-search {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  max-width: 320px;
}
.shop-search input {
  flex: 1;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--card);
  font-size: 14px;
}
.shop-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,90,61,0.12);
}
.sort-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.child-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -0.75rem 0 1.5rem;
}
.child-chip {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  border: 1px dashed var(--border);
  background: var(--card);
  cursor: pointer;
  transition: all var(--transition);
}
.child-chip:hover, .child-chip.active {
  background: var(--accent);
  border-color: var(--primary);
  border-style: solid;
  color: var(--primary);
}
.load-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.price-slider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.price-cap {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-foreground);
  white-space: nowrap;
}
.price-mid { min-width: 10rem; }
.price-now {
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2px;
}
.price-track { position: relative; width: 11rem; max-width: 38vw; height: 22px; }
.price-rail {
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--border);
}
.price-fill {
  position: absolute;
  top: 9px;
  height: 4px;
  border-radius: 999px;
  background: var(--primary);
}
.price-track input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
}
.price-track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--primary);
  cursor: pointer;
}
.price-track input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--primary);
  cursor: pointer;
}
.price-track input[type="range"]::-moz-range-track { background: transparent; }
.price-track input[type="range"][data-price-hi] { z-index: 2; }

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2rem 0 4rem;
}
@media (min-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
}
.product-gallery {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.product-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--muted);
  aspect-ratio: 1;
}
.product-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-info .breadcrumb {
  font-size: 13px;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}
.product-info .breadcrumb a:hover { color: var(--primary); }
.product-info .meta-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.product-info h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.product-info .rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 14px;
}
.product-info .rating svg { width: 16px; height: 16px; fill: var(--sun); }
.product-info .desc {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.pack-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.pack-opt {
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.pack-opt:hover { border-color: var(--primary); }
.pack-opt.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.price-block {
  margin-bottom: 1.5rem;
}
.price-block .current {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}
.price-block .old {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
  margin-left: 0.5rem;
}
.price-block .save {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 12px;
  font-weight: 700;
  color: var(--promo);
  text-transform: uppercase;
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-control button {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-control button:hover { background: var(--border); }
.qty-control span {
  width: 48px;
  text-align: center;
  font-weight: 600;
}
.add-to-bag {
  width: 100%;
  max-width: 320px;
  padding: 0.9rem;
  font-size: 15px;
}
.buy-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  margin-bottom: 1.25rem;
}
.buy-row .qty-control { flex: 0 0 auto; }
.buy-row .add-to-bag {
  flex: 1;
  max-width: none;
  margin: 0;
}
.btn.is-added {
  background: #1e3d29;
  border-color: #1e3d29;
  color: #fff;
}
@media (max-width: 420px) {
  .buy-row { flex-direction: column; }
}
.delivery-notes {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.delivery-notes div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 14px;
  color: var(--text-light);
}
.delivery-notes svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

/* Cart */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0 4rem;
}
@media (min-width: 900px) {
  .cart-layout { grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
}
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--muted);
}
.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.cart-item-meta {
  font-size: 13px;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}
.cart-item-price {
  font-weight: 700;
  color: var(--primary);
}
.cart-summary {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.cart-summary h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 14px;
}
.summary-row.total {
  font-size: 1.15rem;
  font-weight: 700;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}
.summary-row.total span:last-child { color: var(--primary); }

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,90,61,0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* Footer */
.site-footer {
  background: var(--deep);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 0;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 2rem; }
}
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text small { color: rgba(255,255,255,0.5); }
.footer-brand p {
  margin-top: 1rem;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.75;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: #fff;
}
.footer-col a {
  display: block;
  font-size: 14px;
  padding: 0.3rem 0;
  opacity: 0.75;
  transition: opacity var(--transition);
}
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 13px;
  opacity: 0.6;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.hidden { display: none !important; }

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--deep);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.3s ease;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
}
.empty-state h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.empty-state p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* Checkout payment method cards */
.pay-grid {
  display: grid;
  gap: 0.7rem;
}
.pay-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md, 12px);
  padding: 0.9rem 1rem;
  cursor: pointer;
  background: var(--card);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.pay-card:hover {
  border-color: var(--primary, #1A2E22);
  transform: translateY(-1px);
}
.pay-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pay-card:has(input:checked) {
  border-color: var(--primary, #1A2E22);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary, #1A2E22) 14%, transparent);
  background: color-mix(in srgb, var(--primary, #1A2E22) 4%, var(--card));
}
.pay-card:has(input:focus-visible) {
  outline: 2px solid var(--primary, #1A2E22);
  outline-offset: 2px;
}
.pay-card-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary, #1A2E22) 9%, transparent);
  color: var(--primary, #1A2E22);
}
.pay-card-icon svg {
  width: 24px;
  height: 24px;
}
.pay-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1 1 auto;
}
.pay-card-text strong {
  font-size: 0.98rem;
}
.pay-card-text .text-muted {
  font-size: 0.82rem;
}
.pay-card-tick {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.18s ease;
}
.pay-card-tick svg {
  width: 13px;
  height: 13px;
}
.pay-card:has(input:checked) .pay-card-tick {
  background: var(--primary, #1A2E22);
  border-color: var(--primary, #1A2E22);
  color: #fff;
}
.pay-card-flag {
  position: absolute;
  top: -9px;
  right: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--primary, #1A2E22);
  color: #fff;
  border-radius: 999px;
  padding: 1px 9px;
  display: none;
}
.pay-card:has(input:checked) .pay-card-flag {
  display: block;
}
.pay-card-off { opacity: 0.65; cursor: not-allowed; }
.pay-card-off .pay-card-flag { display: block; background: var(--muted-foreground); }
.paypal-mark {
  font-style: normal;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
  gap: 0;
}
.paypal-mark em {
  font-style: normal;
  color: #003087;
}
.paypal-mark strong {
  color: #0079C1;
}
/* Legacy inline pay options (kept for compatibility) */
.pay-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  cursor: pointer;
}
.pay-option input { margin-top: 0.25rem; }
.pay-option.pay-disabled { opacity: 0.65; cursor: not-allowed; }
.status-pill {
  display: inline-block;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #1A2E2215;
  color: #1A2E22;
  border: 1px solid #1A2E2255;
  white-space: nowrap;
}

/* Auth pages */
.auth-wrap {
  max-width: 420px;
  margin: 3rem auto 4rem;
  padding: 0 1.25rem;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.auth-card h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.auth-card .sub {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 14px;
  margin-bottom: 1.75rem;
}
.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 14px;
  color: var(--muted-foreground);
}
.auth-footer a {
  color: var(--primary);
  font-weight: 600;
}

/* Responsive refinements */
@media (max-width: 639px) {
  .hero { min-height: 480px; }
  .hero-content { padding: 3rem 0; }
  .hero-stats { gap: 1.25rem; }
  .product-name { min-height: auto; }
  .cart-item {
    grid-template-columns: 80px 1fr;
  }
  .cart-item-actions { grid-column: 1 / -1; }
}

/* ============================================================
   FINAL POLISH — logo, hero slider, search overlay
   ============================================================ */

/* ---- Real logo image ---- */
.logo-img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
.logo { gap: 0.65rem; }
.logo-text small { white-space: nowrap; }
.site-header.scrolled .logo-img { height: 65px; }
.footer-brand .logo-img { filter: brightness(0) invert(1); opacity: 0.95; }
.mobile-nav-header .logo-img { height: 44px; }
@media (max-width: 900px) {
  .logo-img { height: 44px; max-width: 190px; }
  .logo .logo-text { display: none; }
}
@media (max-width: 420px) {
  .logo-img { height: 38px; max-width: 160px; }
}

/* ---- Hero slider ---- */
.hero-slider { position: relative; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(.4,0,.2,1), visibility 1s;
  z-index: 1;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide .hero-bg img {
  transform: scale(1.08);
  transition: transform 7s ease-out;
}
.hero-slide.active .hero-bg img { transform: scale(1); }
.hero-slide-inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-slider .hero-content > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.hero-slide.active .hero-content > * { opacity: 1; transform: none; }
.hero-slide.active .hero-content > *:nth-child(1) { transition-delay: .12s; }
.hero-slide.active .hero-content > *:nth-child(2) { transition-delay: .22s; }
.hero-slide.active .hero-content > *:nth-child(3) { transition-delay: .32s; }
.hero-slide.active .hero-content > *:nth-child(4) { transition-delay: .42s; }
.hero-slide-spacer { visibility: hidden; pointer-events: none; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(20,32,24,0.28);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.hero-arrow:hover { background: rgba(20,32,24,0.55); border-color: rgba(255,255,255,0.7); }
.hero-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }

.hero-dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 26px;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dot {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255,255,255,0.35);
  overflow: hidden;
  position: relative;
  transition: background .3s ease, width .3s ease;
}
.hero-dot.active { width: 56px; background: rgba(255,255,255,0.28); }
.hero-dot.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  animation: heroDot 6s linear forwards;
}
.hero-slider.paused .hero-dot.active::after { animation-play-state: paused; }
@keyframes heroDot { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 760px) {
  .hero-arrow { display: none; }
  .hero-dots { bottom: 18px; }
}

/* ---- Search overlay ---- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18,26,20,0.55);
  backdrop-filter: blur(6px);
}
.search-panel {
  position: relative;
  width: 100%;
  max-height: 74vh;
  overflow-y: auto;
  background: var(--bg, #fff);
  background: #fffdf9;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 24px 60px rgba(20,32,24,0.18);
  transform: translateY(-26px);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  padding: 1.1rem 0 1.5rem;
}
.search-overlay.open .search-panel { transform: none; }
.search-field {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 2px solid rgba(20,50,30,0.14);
  padding-bottom: 0.6rem;
}
.search-field svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; opacity: .55; flex: none; }
.search-field input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: clamp(17px, 2.2vw, 22px);
  padding: 0.2rem 0;
}
.search-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .6;
}
.search-close:hover { opacity: 1; }
.search-hint {
  margin-top: 0.9rem;
  font-size: 13px;
  opacity: .6;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.search-chip {
  border: 1px solid rgba(20,50,30,0.16);
  background: transparent;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.search-chip:hover { background: rgba(20,50,30,0.06); border-color: rgba(20,50,30,0.4); }
.search-count { margin: 1rem 0 0.75rem; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.search-results { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.search-results > * { flex: 1 1 170px; max-width: 260px; }
.search-empty { padding: 2rem 0 1rem; }
.search-empty h3 { margin: 0 0 .4rem; }
.search-empty p { margin: 0; opacity: .65; font-size: 14px; }
.search-more { flex: 1 1 100%; text-align: center; padding: 0.5rem 0 1rem; }
.search-more a { color: var(--primary); font-weight: 700; font-size: 14px; }

/* Footer socials */
.social-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }
.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.85;
  transition: background var(--transition), border-color var(--transition), opacity var(--transition);
}
.social-row a:hover { background: var(--primary); border-color: var(--primary); opacity: 1; }
.social-row svg { width: 18px; height: 18px; }

/* Contact page + map */
.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.25fr; align-items: start; }
}
.info-row { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.55rem 0; font-size: 15px; }
.info-row svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--primary); }
.map-embed iframe { width: 100%; height: 380px; border: 0; border-radius: 12px; display: block; }

/* Checkout */
.co-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-right: 0.6rem;
  vertical-align: 2px;
}
.coupon-box { margin-bottom: 0.5rem; }
.coupon-row { display: flex; gap: 0.5rem; }
.coupon-row input {
  flex: 1;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 14px;
  text-transform: uppercase;
  min-width: 0;
}
.coupon-msg { font-size: 13px; margin-top: 0.4rem; }
.co-line img.co-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  flex: none;
  background: var(--muted);
}
/* Payment tiles */
.pay-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.pay-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.8rem 0.4rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  cursor: pointer;
  text-align: center;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.pay-tile input { position: absolute; opacity: 0; pointer-events: none; }
.pay-tile:has(input:checked) {
  border-color: var(--primary);
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.12);
}
.pay-tile-icon { display: flex; align-items: center; justify-content: center; height: 26px; }
.pay-tile-icon svg { width: 24px; height: 24px; }
.pay-tile strong { font-size: 13px; }
.pay-tile .text-muted { font-size: 11px; }
.pay-tile .pay-tick {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}
.pay-tile .pay-tick svg { width: 11px; height: 11px; }
.pay-tile:has(input:checked) .pay-tick { background: var(--primary); border-color: var(--primary); color: #fff; }
.pay-tile-off { opacity: 0.6; cursor: not-allowed; }
/* Selectable check/radio rows (checkout options, consent) */
label.pick-row { position: relative; display: flex; align-items: center; gap: 0.7rem; font-weight: 500; font-size: 14px; line-height: 1.4; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 0.65rem 0.8rem; margin: 0; cursor: pointer; transition: border-color var(--transition), background var(--transition), box-shadow var(--transition); }
label.pick-row input { position: absolute; opacity: 0; pointer-events: none; }
.pick-box { position: relative; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #c9c4b4; background: #fff; display: flex; align-items: center; justify-content: center; color: transparent; flex: none; transition: background var(--transition), border-color var(--transition), color var(--transition); }
.pick-box svg { width: 13px; height: 13px; }
label.pick-row input[type="radio"] + .pick-box { border-radius: 50%; }
label.pick-row:has(input:checked) { border-color: var(--primary); background: var(--accent); box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.10); }
label.pick-row:has(input:checked) .pick-box { background: var(--primary); border-color: var(--primary); color: #fff; }
label.pick-row:has(input[type="radio"]:checked) .pick-box::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
label.pick-row:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
/* Compact layouts: tiles side-by-side, single checks inline */
.pick-grid { display: grid; gap: 0.55rem; grid-template-columns: 1fr; margin-top: 0.4rem; }
@media (min-width: 640px) { .pick-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.pick-grid label.pick-row { height: 100%; font-size: 13.5px; padding: 0.6rem 0.7rem; }
label.pick-row.is-inline { display: inline-flex; width: auto; }
/* Privacy consent */
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 13px;
  margin: 1rem 0;
  cursor: pointer;
}
.privacy-check input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: var(--primary); }

/* Auth split-screen */
.auth-split { display: grid; gap: 1.25rem; }
@media (min-width: 900px) {
  .auth-split { grid-template-columns: 1fr 1fr; align-items: stretch; max-width: 1020px; margin: 0 auto; }
}
.auth-side {
  background: var(--deep);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}
.auth-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--promo);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.25rem;
}
.auth-side h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 0.6rem; }
.auth-side > p { color: rgba(255, 255, 255, 0.75); font-size: 14px; margin-bottom: 1.25rem; }
.auth-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.6rem;
}
.auth-benefit-icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.auth-benefit-icon svg { width: 20px; height: 20px; }
.auth-benefit > span:nth-child(2) { flex: 1; min-width: 0; }
.auth-benefit strong { display: block; font-size: 14px; }
.auth-benefit strong + span { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.65); }
.auth-benefit em {
  flex: none;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
}
.auth-fine { margin-top: 1rem; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.auth-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
}
.auth-form h1 { margin-bottom: 0.35rem; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 2.75rem; }
.pw-eye {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--muted-foreground);
  display: inline-flex;
  padding: 0.35rem;
}
.pw-eye svg { width: 19px; height: 19px; }
.pw-eye .pw-eye-off { display: none; }
@media (max-width: 899px) {
  .auth-side { display: none; }
  .auth-form { padding: 1.5rem; }
}

/* FAQ accordion */
.faq-group { font-size: 1.1rem; margin: 2rem 0 0.75rem; }
.faq-group:first-of-type { margin-top: 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  margin-bottom: 0.6rem;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--primary); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q svg { width: 20px; height: 20px; flex: none; color: var(--primary); transition: transform var(--transition); }
.faq-item[open] .faq-q svg { transform: rotate(180deg); }
.faq-a { padding: 0 1.2rem 1.1rem; color: var(--muted-foreground); line-height: 1.65; }
.faq-a p { margin: 0; }

/* Cookie consent */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner > div { display: flex; gap: 0.5rem; flex: none; }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner > div { justify-content: center; }
}

/* Gallery lightbox */
.cat-card[data-gallery-item] { cursor: zoom-in; }
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 26, 20, 0.88);
}
.lb-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(92vw, 1100px);
  text-align: center;
}
.lb-img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--muted);
}
.lb-cap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
  color: #fff;
  font-size: 14px;
}
.lb-cap [data-lb-count] { opacity: 0.65; font-size: 13px; }
.lb-btn {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(20, 32, 24, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lb-btn:hover { background: rgba(20, 32, 24, 0.85); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
body.search-open { overflow: hidden; }

/* Logo image already contains the wordmark — hide duplicate text */
.logo .logo-img ~ .logo-text { display: none; }
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(20,32,24,0.08); }

/* Overlay panel should hug its content */
.search-overlay { align-items: flex-start; }
.search-panel { max-height: 74vh; }

/* Hero controls grouped bottom-right so they never sit over the copy */
.hero-arrow { top: auto; transform: none; bottom: 22px; width: 44px; height: 44px; }
.hero-arrow.prev { left: auto; right: 84px; }
.hero-arrow.next { right: 28px; }
.hero-dots { justify-content: flex-start; left: max(24px, calc((100vw - 1200px) / 2 + 24px)); right: auto; bottom: 38px; }
@media (max-width: 760px) {
  .hero-dots { left: 0; right: 0; justify-content: center; bottom: 20px; }
}

/* Pretty selects — progressive enhancement over native <select>.
   The native select stays in the DOM (synced + focusable) so forms,
   change handlers and validation keep working untouched. */
.egf-select { position: relative; display: block; width: 100%; }
.shop-tools .egf-select { width: auto; min-width: 11rem; max-width: 15rem; }
/* Layout classes copied onto the wrapper must not paint twice — the button owns the chrome. */
.egf-select.sort-select { padding: 0; border: 0; background: transparent; }
.egf-select > select.egf-select-native {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.egf-select-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.egf-select-btn > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.egf-select-btn::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted-foreground);
  border-bottom: 2px solid var(--muted-foreground);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}
.egf-select.open .egf-select-btn::after { transform: rotate(225deg) translateY(-2px); }
.egf-select-btn:hover { border-color: var(--primary); }
.egf-select-btn:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,90,61,0.12);
}
.egf-select-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  display: none;
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 0.35rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.egf-select.open .egf-select-list { display: block; }
.egf-select-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}
.egf-select-opt:hover { background: var(--muted); }
.egf-select-opt.selected { color: var(--primary); font-weight: 700; }
.egf-select-opt.selected::after { content: "✓"; font-weight: 700; }
.egf-select-opt.disabled { opacity: 0.45; cursor: not-allowed; }
/* Let an open list float over neighbouring cards instead of being
   clipped by the card's rounded-corner overflow. */
.product-card:has(.egf-select.open) { overflow: visible; position: relative; z-index: 30; }

/* Mobile pass — stacks grids, widens tap targets, stops sideways scroll. */
@media (max-width: 640px) {
  .topbar { flex-wrap: wrap; height: auto; min-height: 36px; text-align: center; padding: 6px 12px; }
  .topbar span:nth-child(n+4) { display: none; }
  .auth-card { padding: 1.25rem; }
  .map-embed iframe { height: 260px; }
  .toast { left: 1rem; right: 1rem; text-align: center; }
}
@media (max-width: 600px) {
  .buy-row { flex-direction: column; }
  .portal-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .portal-signout { grid-column: 1 / -1; }
  .portal-link { min-height: 44px; }
}
@media (max-width: 520px) {
  .form-row[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .product-info dl { grid-template-columns: 1fr !important; }
  .product-info { min-width: 0; overflow-wrap: anywhere; }
  .product-info table { display: block; overflow-x: auto; }
  .product-info iframe { max-width: 100%; }
  .hero h1 { font-size: 2rem; }
  .product-info h1 { min-width: 0; overflow-wrap: anywhere; }
  .summary-row { gap: 0.75rem; }
  .summary-row > span:first-child { min-width: 0; overflow-wrap: anywhere; }
  .portal-main .summary-row { flex-direction: column; align-items: stretch; }
  .btn-block { white-space: normal; text-align: center; }
  .shop-tools .egf-select { min-width: 0; flex: 1; }
  .price-mid { min-width: 0; }
  .search-results > * { flex: 1 1 100%; max-width: 340px; }
  .cat-card-title { font-size: 1rem; }
  .cat-card-overlay { padding: 0.75rem; }
  .cat-card-cta { display: none; }
  #co-points-card { flex-wrap: wrap; }
  #co-points { flex: 1 1 100%; width: 100% !important; }
}
@media (max-width: 480px) {
  .header-inner { gap: 0.5rem; }
  .header-actions .icon-btn[aria-label="Favourites"] { display: none; }
  .form-group input, .form-group textarea, .form-group select,
  .shop-search input, .price-track { font-size: 16px; }
  .cat-pill, .child-chip, .pack-opt { min-height: 44px; }
  .qty-control button { width: 44px; height: 44px; }
  .product-actions .btn { min-height: 44px; }
}
@media (pointer: coarse) {
  .icon-btn, .product-fav { width: 44px; height: 44px; }
  .price-track input[type="range"]::-webkit-slider-thumb { width: 24px; height: 24px; }
  .price-track input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; }
  .price-track { height: 28px; }
  .hero-dot { padding: 10px 0; background-clip: content-box; }
  .search-chip { padding: 0.55rem 0.9rem; }
}
@media (max-width: 899px) {
  .cart-summary, .product-gallery { position: static; }
}
.cart-item-actions { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
/* Order journey stepper */
.journey-steps { display: flex; gap: .35rem; list-style: none; margin: 0 0 1rem; padding: 0; flex-wrap: wrap; }
.journey-step { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid #e5e7eb; border-radius: 999px; padding: .3rem .7rem .3rem .35rem; font-size: 13px; color: #6b7280; }
.journey-dot { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; background: #e5e7eb; color: #6b7280; font-size: 12px; font-weight: 700; }
.journey-step.done { border-color: #16a34a; color: #166534; }
.journey-step.done .journey-dot { background: #16a34a; color: #fff; }
.journey-step.now { border-color: #1a2e22; color: #1a2e22; font-weight: 700; }
.journey-step.now .journey-dot { background: #1a2e22; color: #fff; }
/* Product reviews */
.stars { display: inline-flex; align-items: center; gap: 2px; }
.stars .lucide-star { width: 16px; height: 16px; }
.star-on { color: #d97706; }
.star-on .lucide-star { fill: currentColor; }
.star-off { color: #d1d5db; }
.product-rating { display: inline-flex; align-items: center; gap: .35rem; font-size: 13px; color: var(--muted, #6b7280); }
.review-list { display: grid; gap: 1rem; margin-top: 1rem; }
.review-item { border: 1px solid #e9ecef; border-radius: 12px; padding: 1rem 1.1rem; background: #fff; }
.review-meta { display: flex; align-items: center; gap: .5rem; font-size: 13px; color: var(--muted, #6b7280); flex-wrap: wrap; }
.review-title { font-weight: 600; margin: .35rem 0 .25rem; }
.review-body { margin: 0; font-size: 14px; }
.review-form { margin-top: 1.25rem; border: 1px solid #e9ecef; border-radius: 12px; padding: 1rem 1.1rem; background: #fff; display: grid; gap: .7rem; max-width: 640px; }
.review-form input[type="text"], .review-form textarea { width: 100%; border: 1px solid #e2e8f0; border-radius: 8px; padding: .55rem .7rem; font: inherit; font-size: 14px; }
.review-stars-input { display: inline-flex; gap: 4px; }
.review-stars-input label { cursor: pointer; color: #d1d5db; }
.review-stars-input label .lucide-star { width: 26px; height: 26px; }
.review-stars-input input { position: absolute; opacity: 0; pointer-events: none; }
.review-stars-input label.picked { color: #d97706; }
.review-stars-input label.picked .lucide-star { fill: currentColor; }
.review-notice { font-size: 14px; }

/* Floating contact widget */
.float-contact { position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 150; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.float-main { width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); transition: transform var(--transition); }
.float-main:hover { transform: scale(1.06); }
.float-main svg { width: 26px; height: 26px; }
.float-panel { display: flex; flex-direction: column; gap: 0.5rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 0.6rem; box-shadow: var(--shadow-lg); min-width: 190px; }
.float-panel[hidden] { display: none; }
.float-link { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.6rem; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--color-gray-800); text-decoration: none; }
.float-link:hover { background: var(--muted); }
.float-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.float-link.is-wa svg { color: #25d366; }
.float-link.is-msgr svg { color: #0084ff; }
.float-link.is-call svg { color: var(--primary); }
/* Halal badge in topbar */
.halal-badge { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 700; color: #15803d; }
.halal-badge svg { width: 15px; height: 15px; }
/* Find-the-store section */
.store-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: stretch; }
@media (min-width: 900px) { .store-grid { grid-template-columns: 380px 1fr; } }
.store-card { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--deep) 0%, var(--primary) 130%); color: #f4f6f2; border: 0; border-radius: 16px; padding: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; box-shadow: var(--shadow-lg); }
.store-card::before { content: ""; position: absolute; width: 280px; height: 280px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(212,168,75,0.35) 0%, rgba(212,168,75,0) 70%); pointer-events: none; }
.store-card::after { content: ""; position: absolute; width: 200px; height: 200px; left: -70px; bottom: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 70%); pointer-events: none; }
.store-head { display: flex; flex-direction: column; gap: 0.15rem; }
.store-head strong { font-size: 1.35rem; letter-spacing: -0.01em; }
.store-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sun); }
.store-row { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 14px; }
.store-card .store-row svg { width: 34px; height: 34px; padding: 8px; flex-shrink: 0; color: var(--sun); background: rgba(255,255,255,0.10); border-radius: 50%; margin-top: 0; }
.store-row strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(244,246,242,0.65); margin-bottom: 0.15rem; }
.store-row a { color: #fff; font-weight: 600; }
.store-ctas { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; padding-top: 0.4rem; }
.store-btn { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 13.5px; font-weight: 700; color: #fff; border: 1px solid rgba(255,255,255,0.45); border-radius: 999px; padding: 0.55rem 1.05rem; text-decoration: none; transition: background var(--transition), transform var(--transition); }
.store-btn:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }
.store-btn svg { width: 16px; height: 16px; }
.store-btn.is-solid { background: #fff; border-color: #fff; color: var(--deep); }
.store-btn.is-solid:hover { background: var(--sun); border-color: var(--sun); color: var(--deep); }
/* Ratings strip */
.ratings-strip { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; }
.rating-pill { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 0.55rem 1.1rem; font-size: 14px; font-weight: 600; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
.rating-pill svg { width: 18px; height: 18px; }
.rating-pill.is-hygiene svg { color: #15803d; }
.rating-pill.is-google { color: #b45309; }
.rating-pill.is-google svg { color: #f59e0b; fill: currentColor; }
/* Category card short description */
.cat-card-desc { display: block; font-size: 12px; opacity: 0.85; margin-top: 0.2rem; }

/* Floating bag button (mobile, bottom-left) */
.float-bag { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 150; width: 56px; height: 56px; border-radius: 50%; background: var(--deep); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); text-decoration: none; }
.float-bag svg { width: 24px; height: 24px; }
.float-bag-count { position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px; border-radius: 999px; background: var(--sun); color: var(--deep); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 6px; }

/* Get-our-app cluster inside the topbar (no extra bar, no layout push) */
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.topbar-info { flex: 1; text-align: center; }
.topbar-app { display: flex; align-items: center; gap: 0.4rem; }
.topbar-app-label { font-weight: 700; white-space: nowrap; }
.app-btn { display: inline-flex; align-items: center; gap: 0.45rem; background: #fff; color: var(--deep); font-size: 0.82rem; font-weight: 700; padding: 0.45rem 0.9rem; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.app-btn svg { width: 16px; height: 16px; }
.app-btn:hover { background: var(--sun); }
.app-btn.is-mini { font-size: 11px; padding: 0.2rem 0.6rem; }
.app-btn.is-mini svg { width: 13px; height: 13px; }
.app-badges { margin-top: 1.1rem; }
.app-badges p { font-size: 0.85rem; font-weight: 700; margin: 0 0 0.5rem; }
.app-badges > div { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Testimonials carousel */
.tmn-slider { position: relative; max-width: 680px; margin: 0 auto; }
.tmn-slide { display: none; text-align: center; margin: 0; padding: 0 2.5rem; }
.tmn-slide.active { display: block; }
.tmn-stars { display: flex; justify-content: center; gap: 0.2rem; margin-bottom: 0.9rem; }
.tmn-stars svg { width: 18px; height: 18px; fill: var(--sun); stroke: var(--sun); }
.tmn-slide blockquote { font-size: 1.15rem; line-height: 1.6; margin: 0 0 1.2rem; font-style: italic; }
.tmn-slide figcaption { display: flex; align-items: center; justify-content: center; gap: 0.7rem; }
.tmn-slide figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.tmn-who { display: flex; flex-direction: column; text-align: left; }
.tmn-who span { font-size: 0.82rem; opacity: 0.65; }
.tmn-arrow { position: absolute; top: 35%; background: none; border: 1px solid #e2e2e2; border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--deep); }
.tmn-arrow:hover { background: var(--muted); }
.tmn-arrow.prev { left: 0; }
.tmn-arrow.next { right: 0; }
.tmn-arrow svg { width: 18px; height: 18px; }
.tmn-dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 1.2rem; }
.tmn-dot { width: 9px; height: 9px; border-radius: 999px; border: 0; background: #d5d5d5; cursor: pointer; padding: 0; }
.tmn-dot.active { background: var(--deep); }

/* Homepage gallery uses the gallery-page .cat-grid design (see above) */

@media (max-width: 640px) {
  .topbar-app-label { display: none; }
  .tmn-slide { padding: 0 0.5rem; }
  .tmn-arrow { display: none; }
  .tmn-slide blockquote { font-size: 1rem; }
}

/* FAQ category tabs */
.faq-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.faq-tab { border: 1px solid #e2e2e2; background: #fff; color: var(--deep); font-size: 0.85rem; font-weight: 700; padding: 0.5rem 1.1rem; border-radius: 999px; cursor: pointer; }
.faq-tab:hover { border-color: var(--deep); }
.faq-tab.active { background: var(--deep); border-color: var(--deep); color: #fff; }
.faq-panel.is-hidden { display: none; }

/* Collapsible shop filters (mobile) */
.shop-filters-toggle { display: none; width: 100%; align-items: center; gap: 0.5rem; justify-content: center; background: var(--deep); color: #fff; border: 0; border-radius: 12px; padding: 0.7rem 1rem; font-size: 0.9rem; font-weight: 700; cursor: pointer; margin-bottom: 1rem; }
.shop-filters-toggle svg { width: 18px; height: 18px; }
.shop-filters-count { background: var(--sun); color: var(--deep); font-size: 0.75rem; min-width: 22px; height: 22px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
@media (max-width: 640px) {
  .shop-filters-toggle { display: flex; }
  .shop-filters { display: none; }
  .shop-filters.open { display: block; }
}

/* Mobile shop tools: stacked, full-width, tappable */
@media (max-width: 640px) {
  .shop-tools { flex-direction: column; align-items: stretch; gap: 0.8rem; }
  .shop-search { max-width: none; width: 100%; }
  .shop-search input { font-size: 16px; }
  .price-slider { width: 100%; }
  .shop-tools .flex.items-center.gap-2 { display: flex; align-items: center; gap: 0.6rem; width: 100%; }
  .shop-tools .flex.items-center.gap-2 .text-muted { flex: 1; white-space: nowrap; }
  .shop-tools select { flex: 1; min-width: 0; max-width: none !important; font-size: 13px; }
}

/* Mobile price range: track takes the full row width */
@media (max-width: 640px) {
  .price-slider { width: 100%; }
  .price-mid { flex: 1; min-width: 0; }
  .price-track { width: 100%; max-width: none; }
  .price-cap { white-space: nowrap; }
}

/* Clear-all filters chip */
.child-chip.is-clear { border-style: solid; border-color: #c0392b; color: #c0392b; background: #fff; }
.child-chip.is-clear:hover { background: #c0392b; border-color: #c0392b; color: #fff; }
