:root {
  --herb: #2f5d3a;
  --herb-dark: #1f4128;
  --herb-soft: #e7efe5;
  --gold: #b8892f;
  --gold-soft: #f5ecd9;
  --cream: #fbf8f2;
  --ink: #2a2a24;
  --muted: #6b6a60;
  --line: #e6e0d3;
  --danger: #a33a2c;
  /* The beheth kade's colours: warm spice browns beside the medicines' herb greens. */
  --spice: #7d521a;
  --spice-dark: #5e3c10;
  --spice-soft: #f6ead7;
  --radius: 14px;
  --bs-body-font-family: "Inter", "Noto Sans Sinhala", "Noto Sans Tamil", system-ui, sans-serif;
  --bs-link-color: var(--herb);
  --bs-link-hover-color: var(--herb-dark);
  --bs-link-color-rgb: 47, 93, 58;
  --bs-link-hover-color-rgb: 31, 65, 40;
}

html { font-size: 15px; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--bs-body-font-family);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }

h1, h2, h3, .display-font {
  font-family: "Cormorant Garamond", "Noto Sans Sinhala", "Noto Sans Tamil", Georgia, serif;
  font-weight: 600;
  letter-spacing: .01em;
}
:lang(si) h1, :lang(si) h2, :lang(si) h3, :lang(ta) h1, :lang(ta) h2, :lang(ta) h3 {
  font-family: "Noto Sans Sinhala", "Noto Sans Tamil", sans-serif;
}

a { text-decoration: none; }

/* Buttons */
.btn-primary {
  --bs-btn-bg: var(--herb); --bs-btn-border-color: var(--herb);
  --bs-btn-hover-bg: var(--herb-dark); --bs-btn-hover-border-color: var(--herb-dark);
  --bs-btn-active-bg: var(--herb-dark); --bs-btn-active-border-color: var(--herb-dark);
  --bs-btn-disabled-bg: #8aa592; --bs-btn-disabled-border-color: #8aa592;
}
.btn-outline-primary {
  --bs-btn-color: var(--herb); --bs-btn-border-color: var(--herb);
  --bs-btn-hover-bg: var(--herb); --bs-btn-hover-border-color: var(--herb);
  --bs-btn-active-bg: var(--herb-dark);
}
.btn-gold {
  background: var(--gold); color: #fff; border: 0;
}
.btn-gold:hover { background: #9c7426; color: #fff; }
.btn-icon {
  border: 0; background: transparent; color: var(--ink);
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.btn-icon:hover { background: var(--herb-soft); color: var(--herb); }
.btn-icon.dropdown-toggle::after { display: none; }
.form-control:focus, .form-select:focus { border-color: var(--herb); box-shadow: 0 0 0 .2rem rgba(47, 93, 58, .15); }

/* Header */
.topbar { background: var(--herb-dark); color: #dfe8dc; font-size: .82rem; padding: .35rem 0; }
.topbar a { color: #fff; }
.lang-switch a { padding: 0 .35rem; opacity: .75; }
.lang-switch a.active { opacity: 1; font-weight: 600; text-decoration: underline; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1020; }
.navbar-brand { display: flex; align-items: center; gap: .5rem; font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 1.5rem; color: var(--herb-dark) !important; }
.brand-logo { height: 38px; width: auto; display: block; flex-shrink: 0; }
/* Laptops: the menu, two shop menus and the search need the room, so the logo stands alone (the name returns on wide screens and phones). */
@media (min-width: 992px) and (max-width: 1399.98px) { .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.navbar .nav-link { color: var(--ink); font-weight: 500; }
.navbar .nav-link:hover { color: var(--herb); }
/* Header search: a bright streak of light runs round a green ring; faster and brighter while typing */
@property --search-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes search-turn { to { --search-angle: 360deg; } }
.nav-search { width: 270px; flex-shrink: 0; }
@media (min-width: 1400px) { .nav-search { width: 340px; } }
.search-glow {
  position: relative; isolation: isolate; padding: 2.5px; border-radius: 999px;
  background: conic-gradient(from var(--search-angle),
    #2f6b40 0deg, #2f6b40 190deg, #7fd39a 240deg, #f4c24f 285deg, #fff6d6 310deg, #f4c24f 330deg, #2f6b40 360deg);
  animation: search-turn 3.2s linear infinite;
}
.search-glow::after {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: inherit;
  filter: blur(9px); opacity: .9; transition: opacity .25s, filter .25s, inset .25s;
  /* Its own layer, so Safari repaints the whole soft glow and doesn't cut it off at one side. */
  transform: translateZ(0); will-change: filter;
}
.search-glow:hover::after { opacity: 1; }
.search-glow:focus-within { animation-duration: 1.6s; }
.search-glow:focus-within::after { opacity: 1; filter: blur(16px); inset: -3px; }
.search-field {
  display: flex; align-items: center; height: 44px; padding-left: .95rem; border-radius: 999px; background: #fff;
}
.search-icon { color: var(--herb); flex-shrink: 0; }
.search-input {
  flex: 1; min-width: 0; height: 100%; padding: 0 .6rem; border: 0; outline: 0; background: transparent;
  font-size: 1rem; color: var(--ink);
}
.search-input::placeholder { color: #85847a; transition: opacity .3s; }
.search-input.placeholder-fade::placeholder { opacity: 0; }
.search-go {
  width: 36px; height: 36px; margin-right: 4px; flex-shrink: 0; border: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--herb); color: #fff; transition: background .15s, transform .15s;
}
.search-go:hover { background: var(--herb-dark); transform: translateX(1px); }
.search-go:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .search-glow, .search-glow:focus-within { animation: none; }
}
.mobile-search { padding: .1rem 0 .8rem; }
.mobile-search .nav-search { width: 100%; }
.search-note { margin: -.25rem 0 1rem; color: var(--muted); font-size: .95rem; }

/* Search suggestions while typing */
.suggest-host { position: relative; }
.suggest-list {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 1060; width: max(100%, 360px); max-width: calc(100vw - 32px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(42, 42, 36, .14);
  padding: .35rem; text-align: left;
}
.nav-search .suggest-list { left: auto; right: 0; }
.suggest-item {
  display: grid; grid-template-columns: 44px 1fr auto; gap: .65rem; align-items: center;
  padding: .4rem .5rem; border-radius: 10px; color: var(--ink); text-decoration: none;
}
.suggest-item:hover { background: var(--cream); color: var(--ink); }
.suggest-item.active { background: var(--herb-soft); color: var(--ink); }
.suggest-thumb { width: 44px; height: 44px; border-radius: 8px; background: var(--herb-soft); overflow: hidden; }
.suggest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.suggest-text { min-width: 0; }
.suggest-name { font-weight: 500; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.suggest-detail { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-price { font-size: .9rem; font-weight: 600; color: var(--herb-dark); white-space: nowrap; }
.suggest-note { padding: .45rem .6rem; font-size: .88rem; color: var(--muted); }
.suggest-note strong { color: var(--ink); }
.suggest-all {
  display: block; margin-top: .25rem; padding: .55rem .6rem; border-top: 1px solid var(--line);
  font-size: .9rem; font-weight: 600; color: var(--herb); text-decoration: none;
}
.suggest-all:hover { text-decoration: underline; }
.suggest-all.active { background: var(--herb-soft); }
.suggest-category {
  display: flex; justify-content: space-between; align-items: baseline; gap: .75rem;
  padding: .45rem .6rem; border-radius: 10px; color: var(--herb-dark); text-decoration: none;
}
.suggest-category .suggest-name::before { content: "▸ "; color: var(--gold); }
.suggest-category.active, .suggest-category:hover { background: var(--herb-soft); color: var(--herb-dark); }
.suggest-head {
  display: flex; justify-content: space-between; align-items: center; padding: .45rem .6rem .25rem;
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.suggest-clear { border: 0; background: none; padding: 0; font-size: .75rem; color: var(--herb); text-transform: none; letter-spacing: 0; }
.suggest-clear:hover { text-decoration: underline; }
.suggest-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: .2rem .6rem .55rem; }
.suggest-chip {
  padding: .25rem .7rem; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem;
  color: var(--ink); text-decoration: none; background: #fff;
}
.suggest-chip.active, .suggest-chip:hover { border-color: var(--herb); background: var(--herb-soft); color: var(--herb-dark); }
@media (max-width: 991.98px) {
  .nav-search .suggest-list { left: 0; right: 0; width: auto; }
}
.search-note strong { color: var(--ink, #222); }
.cart-badge {
  position: absolute; top: 2px; right: 0; background: var(--gold); color: #fff;
  font-size: .7rem; font-weight: 600; min-width: 18px; height: 18px; line-height: 18px;
  border-radius: 9px; text-align: center; padding: 0 4px;
}
@media (max-width: 991.98px) {
  .nav-search-desktop { display: none; }
}

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--gold); }

/* Home page: a promise strip, one tile per shop, then products straight away */
.home-trust { background: #fff; border-bottom: 1px solid var(--line); }
/* The strip of cards: all side by side when they fit, else a row that slides (site.js) and can be swiped. */
.strip { position: relative; }
.strip-track {
  list-style: none; margin: 0; padding: .85rem 0; display: flex; gap: 1.25rem; overflow-x: auto; position: relative;
  scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.strip-track::-webkit-scrollbar { display: none; }
.strip-card { flex: 1 0 245px; min-width: 0; scroll-snap-align: start; }
.strip-card.strip-banner { flex: 0 0 auto; }
.strip-inner { display: flex; align-items: center; gap: .7rem; height: 100%; color: inherit; border-radius: 12px; }
a.strip-inner:hover strong { color: var(--herb); text-decoration: underline; text-underline-offset: 3px; }
a.strip-inner:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.strip-text { min-width: 0; }
.trust-icon {
  flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--herb-soft); color: var(--herb);
  display: flex; align-items: center; justify-content: center;
}
.strip-photo { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--herb-soft); }
img.strip-banner { display: block; height: 64px; width: auto; aspect-ratio: 16 / 5; border-radius: 10px; object-fit: cover; }
.strip-card strong { display: block; font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.trust-sub { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; }
/* While it moves: a soft fade on the right says there is more, and round arrows for mouse users. */
.strip.is-moving .strip-track { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.strip-arrow {
  display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--herb-dark); align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.strip-arrow:hover { background: var(--herb-soft); }
.strip-prev { left: -4px; }
.strip-next { right: -4px; }
@media (min-width: 992px) {
  .strip.is-moving .strip-arrow { display: inline-flex; }
  .strip.is-moving .strip-track { padding-left: 2rem; padding-right: 2rem; scroll-padding-left: 2rem; }
}
/* Tablets and phones: three cards across, icon or photo above a short title. */
@media (max-width: 991.98px) {
  .strip-track { gap: .5rem; padding: .7rem 0; }
  .strip-card { flex: 0 0 calc((100% - 1rem) / 3); }
  .strip-card.strip-banner { flex: 0 0 calc((100% - 1rem) / 3 * 2 + .5rem); }
  .strip-inner { flex-direction: column; justify-content: center; text-align: center; gap: .35rem; }
  .trust-icon { flex: 0 0 auto; width: 34px; height: 34px; }
  .trust-icon svg { width: 18px; height: 18px; }
  .strip-photo { flex: 0 0 auto; width: 38px; height: 38px; }
  img.strip-banner { width: 100%; height: auto; }
  .strip-card strong { font-size: .8rem; }
  .trust-sub { display: none; }
  .tile-eyebrow { display: none; }
}
@media (max-width: 575.98px) {
  .strip-card strong { font-size: .76rem; }
}

.home-shops { padding: 1.25rem 0 0; }
.shop-tiles { display: flex; gap: 1rem; }
.shop-tile {
  flex: 1 1 0; min-width: 0; position: relative; overflow: hidden; display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; border-radius: 18px; color: #fff; transition: transform .2s, box-shadow .2s;
}
a.shop-tile:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .16); }
.shop-tile.shop-medicines { background: linear-gradient(140deg, #24492d 0%, #2f5d3a 60%, #3d6f47 100%); }
.shop-tile.shop-beheth-kade { background: linear-gradient(140deg, #5e3c10 0%, #7d521a 60%, #946524 100%); }
.tile-art { position: absolute; right: 2.5rem; bottom: -38px; opacity: .09; pointer-events: none; }
.tile-icon {
  flex: 0 0 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .25); color: #e8c983;
}
.tile-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .1rem; position: relative; }
.tile-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 600; color: #e8c983; }
.tile-title { font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 1.6rem; line-height: 1.1; }
.tile-blurb { font-size: .85rem; color: rgba(255, 255, 255, .82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; margin-top: .3rem; font-size: .82rem; color: rgba(255, 255, 255, .8); }
.tile-soon { background: #e8c983; color: var(--spice-dark); font-weight: 600; border-radius: 999px; padding: .15rem .65rem; font-size: .75rem; white-space: nowrap; }
.tile-preview { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-size: .78rem; }
.tile-arrow {
  flex: 0 0 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--herb-dark);
  display: flex; align-items: center; justify-content: center; position: relative; transition: transform .2s;
}
.shop-beheth-kade .tile-arrow { color: var(--spice-dark); }
a.shop-tile:hover .tile-arrow { transform: translateX(3px); }
.home-first { padding-top: 2rem; }
@media (max-width: 767.98px) {
  .home-shops { padding-top: .9rem; }
  .shop-tiles { gap: .6rem; }
  .shop-tile { padding: .8rem .9rem; border-radius: 14px; align-items: stretch; }
  .tile-icon, .tile-arrow, .tile-eyebrow, .tile-blurb { display: none; }
  .tile-art { right: -22px; bottom: -30px; }
  .tile-art svg { width: 96px; height: 96px; }
  .tile-title { font-size: 1.2rem; }
  .tile-meta { margin-top: .35rem; font-size: .78rem; }
  .home-first { padding-top: 1.5rem; }
  .home-first .section-title { margin-bottom: 1rem; }
  .home-first .section-title h2 { font-size: 1.6rem; }
}
.section { padding: 3.5rem 0; }

/* Home page slider: one full-width banner at a time (16:7), arrows on the sides, dots underneath */
/* Edge to edge on every screen. At the top it sits straight under the header; at the bottom, with space around it. */
.home-banners { padding: 2rem 0; }
.home-banners.is-top { padding: 0 0 .5rem; }
.slider { position: relative; }
.slider-track {
  list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.banner-link { display: block; position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: var(--herb-soft); container-type: inline-size; }
/* Words on a banner. Sizes follow the banner's width (cqw), so they look the same on every screen and in the admin preview. */
.banner-text { position: absolute; inset: 0; display: flex; padding: 5.5cqw 6cqw; pointer-events: none; isolation: isolate; }
.banner-text[class*="pos-top"] { align-items: flex-start; }
.banner-text[class*="pos-middle"] { align-items: center; }
.banner-text[class*="pos-bottom"] { align-items: flex-end; }
.banner-text[class*="-left"] { justify-content: flex-start; text-align: left; }
.banner-text[class*="-center"] { justify-content: center; text-align: center; }
.banner-text[class*="-right"] { justify-content: flex-end; text-align: right; }
.banner-text-inner { display: flex; flex-direction: column; gap: 1.1cqw; max-width: 52%; }
.banner-text[class*="-left"] .banner-text-inner { align-items: flex-start; }
.banner-text[class*="-center"] .banner-text-inner { align-items: center; max-width: 72%; }
.banner-text[class*="-right"] .banner-text-inner { align-items: flex-end; }
.banner-headline { margin: 0; font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: clamp(1.05rem, 4.6cqw, 4.2rem); line-height: 1.05; color: inherit; }
.banner-sub { margin: 0; font-size: clamp(.72rem, 1.65cqw, 1.4rem); line-height: 1.35; }
.banner-button {
  display: inline-flex; align-items: center; gap: .4em; margin-top: .4cqw; padding: .55em 1.2em; border-radius: 999px;
  font-weight: 600; font-size: clamp(.7rem, 1.35cqw, 1.15rem); background: #fff; color: var(--herb-dark); text-shadow: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18); transition: transform .2s;
}
a.banner-link:hover .banner-button { transform: translateX(3px); }
.banner-text.is-light { color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.banner-text.is-dark { color: var(--ink); }
.banner-text.is-dark .banner-button { background: var(--herb-dark); color: #fff; }
/* The shade: darker (or lighter, for dark words) on the side the words are on. */
.banner-text.has-shade::before { content: ""; position: absolute; inset: 0; z-index: -1; --shade: rgba(0, 0, 0, .55); --shade-soft: rgba(0, 0, 0, .22); }
.banner-text.has-shade.is-dark::before { --shade: rgba(255, 255, 255, .78); --shade-soft: rgba(255, 255, 255, .35); }
.banner-text.has-shade[class*="-left"]::before { background: linear-gradient(90deg, var(--shade) 0%, var(--shade-soft) 45%, transparent 75%); }
.banner-text.has-shade[class*="-right"]::before { background: linear-gradient(270deg, var(--shade) 0%, var(--shade-soft) 45%, transparent 75%); }
.banner-text.has-shade.pos-top-center::before { background: linear-gradient(180deg, var(--shade) 0%, var(--shade-soft) 40%, transparent 75%); }
.banner-text.has-shade.pos-bottom-center::before { background: linear-gradient(0deg, var(--shade) 0%, var(--shade-soft) 40%, transparent 75%); }
.banner-text.has-shade.pos-middle-center::before { background: radial-gradient(ellipse at center, var(--shade) 0%, var(--shade-soft) 45%, transparent 75%); }
@container (max-width: 480px) {
  .banner-text-inner { max-width: 62%; gap: .35rem; }
  .banner-text[class*="-center"] .banner-text-inner { max-width: 88%; }
  .banner-sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
.banner-media { display: block; width: 100%; height: 100%; object-fit: cover; }
a.banner-link:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.slider-arrow {
  position: absolute; top: calc(50% - 1rem); transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); color: var(--herb-dark); display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15); transition: background .15s, transform .15s;
}
.slider-arrow:hover { background: #fff; }
.slider-arrow:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots { display: flex; justify-content: center; gap: .1rem; padding-top: .6rem; }
.slider-dots button { border: 0; background: none; padding: 8px 4px; line-height: 0; }
.slider-dots span { display: block; width: 8px; height: 8px; border-radius: 999px; background: #cfc9b8; transition: width .25s, background .25s; }
.slider-dots button[aria-current="true"] span { width: 24px; background: var(--herb); }
.slider-dots button:focus-visible { outline: 2px solid var(--gold); border-radius: 6px; }
@media (max-width: 575.98px) {
  .home-banners { padding: 1.25rem 0; }
  .home-banners.is-top { padding: 0 0 .25rem; }
  .slider-arrow { width: 32px; height: 32px; }
  .slider-arrow svg { width: 16px; height: 16px; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
}
.home-strip-bottom .home-trust { border-top: 1px solid var(--line); }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.section-title h2 { margin: 0; font-size: 2rem; }

/* Shop colours used across the site */
.shop-eyebrow {
  display: flex; align-items: center; gap: .4rem; margin-bottom: .35rem;
  text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; color: var(--herb);
}
.shop-beheth-kade .shop-eyebrow, .shop-beheth-kade.shop-eyebrow { color: var(--spice); }
.shop-head.shop-beheth-kade h1 { color: var(--spice-dark); }
.shop-head.shop-medicines h1 { color: var(--herb-dark); }
.shop-showcase.shop-beheth-kade { background: var(--spice-soft); }
.shop-showcase.shop-beheth-kade .btn-outline-primary {
  --bs-btn-color: var(--spice); --bs-btn-border-color: var(--spice);
  --bs-btn-hover-bg: var(--spice); --bs-btn-hover-border-color: var(--spice); --bs-btn-active-bg: var(--spice-dark);
}

/* Header: one menu per shop, and a two-tab switcher on phones */
.nav-shop .nav-link { display: inline-flex; align-items: center; gap: .35rem; }
.navbar .nav-link { white-space: nowrap; }
/* Small laptops and landscape tablets: two shop menus leave little room, so the logo stands in for "Home". */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-brand { font-size: 1.3rem; }
  .navbar-nav > .nav-item:first-child { display: none; }
  .navbar .navbar-nav .nav-link { padding-left: .4rem; padding-right: .4rem; }
  .nav-search { width: 180px; }
  .nav-search .search-field { padding-left: .7rem; }
  .nav-search .search-input { font-size: .92rem; padding: 0 .45rem; }
}
.nav-shop.shop-medicines .nav-link svg { color: var(--herb); }
.nav-shop.shop-beheth-kade .nav-link svg { color: var(--spice); }
.nav-shop.shop-medicines .nav-link.active { color: var(--herb-dark); font-weight: 600; }
.nav-shop.shop-beheth-kade .nav-link.active { color: var(--spice-dark); font-weight: 600; }
.shop-switch { background: #fff; border-bottom: 1px solid var(--line); }
.shop-switch .container { display: flex; }
.shop-switch a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .6rem .5rem; font-size: .9rem; font-weight: 500; color: var(--muted); border-bottom: 3px solid transparent;
}
.shop-switch a.shop-medicines.active { color: var(--herb-dark); border-color: var(--herb); font-weight: 600; }
.shop-switch a.shop-beheth-kade.active { color: var(--spice-dark); border-color: var(--spice); font-weight: 600; }

/* Product card */
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .15s;
}
.product-card:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .07); }
.product-card .thumb { aspect-ratio: 1 / 1; background: var(--herb-soft); display: block; position: relative; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-card .category { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 600; }
.product-card .title { font-weight: 600; color: var(--ink); line-height: 1.3; }
.product-card .title:hover { color: var(--herb); }
.product-card .desc { color: var(--muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding-top: .5rem; }
.product-card .foot form { margin-left: auto; }
.product-card .foot .btn { white-space: nowrap; }
.price { font-weight: 600; color: var(--herb-dark); white-space: nowrap; }
.price-was { color: var(--muted); text-decoration: line-through; font-size: .85em; margin-left: .35rem; font-weight: 400; }
.badge-soft { background: var(--gold-soft); color: #7a5a1c; font-weight: 600; font-size: .72rem; border-radius: 999px; padding: .25rem .6rem; }
.badge-out { background: #f3e1de; color: var(--danger); }
.thumb .badge-soft { position: absolute; top: .6rem; left: .6rem; }
.own-badge {
  position: absolute; left: .6rem; bottom: .6rem; display: inline-flex; align-items: center; gap: .25rem;
  background: rgba(255, 255, 255, .94); color: var(--herb-dark); font-size: .72rem; font-weight: 600;
  border-radius: 999px; padding: .2rem .6rem .2rem .45rem; box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}
.own-badge svg { color: var(--herb); }
.own-pill {
  display: inline-flex; align-items: center; gap: .35rem; flex-wrap: wrap; background: var(--herb-soft); color: var(--herb-dark);
  font-weight: 600; font-size: .85rem; border-radius: 999px; padding: .3rem .85rem .3rem .6rem; margin-bottom: .75rem;
}
.own-pill span { font-weight: 400; }
.placeholder-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--herb); opacity: .5; }

/* Catalog */
.filter-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.filter-panel a { display: block; padding: .3rem 0; color: var(--ink); }
.filter-panel a.active { color: var(--herb); font-weight: 600; }
.filter-panel .sub { padding-left: 1rem; font-size: .92rem; }
.filter-group + .filter-group { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.filter-shop {
  display: flex; align-items: center; gap: .4rem; margin-bottom: .4rem;
  text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; font-weight: 600; color: var(--herb);
}
.filter-group.shop-beheth-kade .filter-shop { color: var(--spice); }
.filter-group.shop-beheth-kade a.active { color: var(--spice-dark); }
.shop-crosslink {
  display: flex !important; align-items: center; gap: .65rem; margin-top: 1.25rem; padding: .75rem .9rem !important;
  border-radius: 12px; color: #fff !important; font-weight: 600; line-height: 1.25;
}
.shop-crosslink small { display: block; font-weight: 400; opacity: .8; font-size: .75rem; }
.shop-crosslink.shop-medicines { background: var(--herb); }
.shop-crosslink.shop-beheth-kade { background: var(--spice); }
.shop-crosslink:hover { filter: brightness(1.1); }
/* On phones the categories become compact chips so products start higher up; the shop tabs replace the cross-link. */
@media (max-width: 991.98px) {
  .filter-panel { padding: .9rem 1rem; }
  .filter-group { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
  .filter-group .filter-shop { width: 100%; margin-bottom: .1rem; }
  .filter-panel .filter-group a { padding: .3rem .75rem; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; }
  .filter-panel .filter-group a.active { border-color: var(--herb); background: var(--herb-soft); }
  .filter-panel .filter-group.shop-beheth-kade a.active { border-color: var(--spice); background: var(--spice-soft); }
  .shop-crosslink, .filter-all { display: none !important; }
}
.page-head { padding: 2.25rem 0 1rem; }
.page-head h1 { font-size: 2.4rem; margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: .35rem; }

/* Product detail */
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1 / 1; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
button.gallery-main { display: block; width: 100%; padding: 0; position: relative; cursor: zoom-in; }
button.gallery-main:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.zoom-badge {
  position: absolute; right: .75rem; bottom: .75rem; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--herb-dark); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12); transition: transform .15s;
}
button.gallery-main:hover .zoom-badge { transform: scale(1.08); }
/* Horizontal finger moves go to the swipe code; vertical ones still scroll the page. */
button.gallery-main.swipeable { touch-action: pan-y pinch-zoom; }
.gallery-dots { position: absolute; left: 0; right: 0; bottom: .9rem; display: none; justify-content: center; gap: 6px; pointer-events: none; }
.gallery-dots span { width: 7px; height: 7px; border-radius: 4px; background: rgba(0, 0, 0, .22); transition: width .2s, background-color .2s; }
.gallery-dots span.active { width: 18px; background: var(--herb); }
@media (max-width: 767.98px) { .gallery-dots { display: flex; } }

/* Full-screen photo viewer */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: #0e1811; color: #fff; display: flex; flex-direction: column; }
.lightbox[hidden] { display: none; }
.lb-top { display: flex; align-items: center; gap: 1rem; padding: .6rem 1rem; }
.lb-counter { font-weight: 600; min-width: 3.5rem; }
.lb-hint { flex: 1; text-align: center; font-size: .8rem; color: #b9c8b5; }
.lb-tools { display: flex; gap: .4rem; }
.lb-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; transition: background .15s;
}
.lb-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .25); }
.lb-btn:disabled { opacity: .3; }
.lb-btn:focus-visible { outline: 2px solid #e8c983; outline-offset: 2px; }
.lb-btn[hidden] { display: none; }
.lb-stage {
  flex: 1; min-height: 0; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
  touch-action: none; cursor: zoom-in; user-select: none;
}
.lb-stage.zoomed { cursor: grab; }
.lb-stage.zoomed:active { cursor: grabbing; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; will-change: transform; -webkit-user-drag: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-thumbs { display: flex; gap: .5rem; justify-content: center; padding: .6rem 1rem 1rem; overflow-x: auto; }
.lb-thumbs[hidden] { display: none; }
.lb-thumbs button { flex: 0 0 auto; width: 56px; height: 56px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: none; opacity: .55; }
.lb-thumbs button.active { border-color: #e8c983; opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575.98px) {
  .lb-hint, .lb-nav { display: none; }
  .lb-top { padding: .5rem .75rem; }
  .lb-btn { width: 40px; height: 40px; }
}

.gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.gallery-thumbs button { border: 1px solid var(--line); border-radius: 10px; padding: 0; width: 72px; height: 72px; overflow: hidden; background: #fff; }
.gallery-thumbs button.active { border-color: var(--herb); box-shadow: 0 0 0 2px var(--herb-soft); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-price { font-size: 1.8rem; font-weight: 600; color: var(--herb-dark); }
.meta-list { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; font-size: .9rem; color: var(--muted); }
.meta-list dt { font-weight: 500; }
.meta-list dd { margin: 0; color: var(--ink); }
.qty-input { max-width: 90px; }
.info-tabs .nav-link { color: var(--muted); font-weight: 500; }
.info-tabs .nav-link.active { color: var(--herb); }
.info-panel { background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 1.5rem; }

/* Cart & checkout */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line .img { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--herb-soft); }
.cart-line .img img { width: 100%; height: 100%; object-fit: cover; }
.summary-row { display: flex; justify-content: space-between; padding: .35rem 0; }
.summary-total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .75rem; font-weight: 600; font-size: 1.15rem; }
.pay-option { display: block; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; cursor: pointer; margin-bottom: .6rem; }
.pay-option:has(input:checked) { border-color: var(--herb); background: var(--herb-soft); }
.content-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.content-body img { max-width: 100%; height: auto; }

/* Feature strip */

/* Footer */
.site-footer { background: #1d3524; color: #c9d6c6; padding: 3rem 0 1.5rem; margin-top: 3rem; font-size: .92rem; }
.site-footer a { color: #e9f0e6; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h6 { color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; margin-bottom: 1rem; }
.footer-brand { display: flex; align-items: center; gap: .75rem; font-family: "Cormorant Garamond", serif; font-size: 1.6rem; color: #fff; font-weight: 700; margin-bottom: .75rem; }
.footer-brand img { height: 44px; width: auto; }
.footer-note { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2rem; padding-top: 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .8rem; color: #9fb19b; }

/* "Ask us" chat button and panel, bottom right on every page */
.chat-widget { position: fixed; right: 18px; bottom: 18px; z-index: 1040; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.chat-fab {
  height: 56px; min-width: 56px; padding: 0 1.15rem 0 1rem; border: 0; border-radius: 999px;
  background: var(--herb); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; box-shadow: 0 8px 22px rgba(31, 65, 40, .35); transition: transform .15s, background .15s;
}
.chat-fab:hover { background: var(--herb-dark); transform: translateY(-1px); }
.chat-fab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.chat-fab-close { display: none; }
.chat-widget.open .chat-fab-open, .chat-widget.open .chat-fab-label { display: none; }
.chat-widget.open .chat-fab-close { display: block; }
.chat-widget.open .chat-fab { padding: 0; width: 56px; }
.chat-panel {
  width: 360px; max-width: calc(100vw - 32px); max-height: calc(100vh - 110px); overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 48px rgba(42, 42, 36, .22);
}
.chat-head { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.1rem .9rem; background: var(--herb); color: #fff; border-radius: 17px 17px 0 0; }
.chat-head h2 { font-size: 1.1rem; margin: 0 0 .2rem; color: #fff; }
.chat-head p { font-size: .85rem; margin: 0; color: #dfe9dc; }
.chat-close { margin-left: auto; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-close:hover { background: rgba(255, 255, 255, .25); }
.chat-body { padding: 1rem 1.1rem 1.1rem; }
.chat-wa { width: 100%; background: #25d366; color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 10px; }
.chat-wa:hover { background: #1ebe5a; color: #fff; }
.chat-or { display: flex; align-items: center; gap: .6rem; margin: .9rem 0; color: var(--muted); font-size: .8rem; }
.chat-or::before, .chat-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.chat-form { display: grid; gap: .5rem; }
.chat-form .form-control { font-size: .92rem; }
.chat-about { font-size: .85rem; color: var(--muted); margin: 0 0 .1rem; }
.chat-error { color: var(--danger); font-size: .85rem; margin: 0; }
.chat-done { text-align: center; padding: 1rem .5rem .5rem; color: var(--herb); }
.chat-done p { color: var(--ink); margin: .75rem 0 0; }
@media (max-width: 575.98px) {
  .chat-widget { right: 14px; bottom: 14px; }
  .chat-fab { width: 56px; padding: 0; }
  .chat-fab-label { display: none; }
}

.pagination { --bs-pagination-color: var(--herb); --bs-pagination-active-bg: var(--herb); --bs-pagination-active-border-color: var(--herb); }

/* Quantity stepper */
.qty-stepper {
  display: inline-flex; align-items: stretch; height: 48px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.qty-stepper:focus-within { border-color: var(--herb); box-shadow: 0 0 0 .2rem rgba(47, 93, 58, .15); }
.qty-btn {
  width: 46px; border: 0; background: transparent; color: var(--herb-dark);
  display: inline-flex; align-items: center; justify-content: center; transition: background .15s;
}
.qty-btn:hover:not(:disabled) { background: var(--herb-soft); }
.qty-btn:active:not(:disabled) { background: #d6e4d3; }
.qty-btn:disabled { color: #c3c1b8; cursor: not-allowed; }
.qty-stepper input {
  width: 48px; border: 0; text-align: center; font-weight: 600; font-size: 1.05rem; color: var(--ink);
  background: transparent; -moz-appearance: textfield; appearance: textfield;
}
.qty-stepper input:focus { outline: none; }
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper-sm .qty-stepper { height: 36px; }
.qty-stepper-sm .qty-btn { width: 34px; }
.qty-stepper-sm .qty-stepper input { width: 38px; font-size: .95rem; }

/* Product page buy box */
.buy-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.buy-qty { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: 1rem; }
.buy-qty label { font-weight: 500; color: var(--muted); }
.buy-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; }
.buy-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; border-radius: 999px; padding-top: .7rem; padding-bottom: .7rem; }
.buy-actions .btn-outline-primary { border-width: 2px; }
.buy-note { margin: .75rem 0 0; font-size: .82rem; color: var(--muted); text-align: center; }

/* Favourites heart */
.fav-form { margin: 0; }
.fav-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  transition: transform .15s, color .15s;
}
.fav-btn svg { fill: transparent; transition: fill .15s; }
.fav-btn:hover { color: #c8443a; transform: scale(1.06); }
.fav-btn.is-saved { color: #d64545; }
.fav-btn.is-saved svg { fill: currentColor; }
.fav-btn.pop svg { animation: fav-pop .35s ease; }
@keyframes fav-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.product-card { position: relative; }
.product-card > .fav-form { position: absolute; top: .55rem; right: .55rem; z-index: 2; }
.fav-detail .fav-btn { width: 48px; height: 48px; border: 1px solid var(--line); box-shadow: none; background: #fff; }
.fav-detail .fav-btn svg { width: 24px; height: 24px; }
@media (prefers-reduced-motion: reduce) { .fav-btn.pop svg { animation: none; } }

/* Pop-up message */
.toast-msg {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); z-index: 1060;
  background: var(--herb-dark); color: #fff; padding: .65rem 1.1rem; border-radius: 999px;
  font-size: .9rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); opacity: 0; transition: opacity .2s, transform .2s;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast-msg.show { opacity: 1; transform: translate(-50%, 0); }

/* Keep the logo and header icons on one line on phones */
@media (max-width: 575.98px) {
  .navbar-brand { font-size: 1.25rem; gap: .35rem; margin-right: .25rem; }
  .brand-logo { height: 30px; }
  .btn-icon { width: 36px; height: 40px; }
}
.buy-actions .btn { white-space: nowrap; }
@media (max-width: 575.98px) {
  .buy-actions { grid-template-columns: 1fr; }
}

/* Account pages (ASP.NET Identity's built-in UI) */
#download-data { margin-bottom: .75rem; }
.nav-pills .nav-link { color: var(--herb); }
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { background-color: var(--herb); color: #fff; }

/* Photo credits */
.photo-credit { font-size: .75rem; color: var(--muted); margin: .5rem 0 0; }
.photo-credit a { color: inherit; }
.credit-list { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; gap: .75rem; }
.credit-list li { display: flex; gap: .9rem; align-items: center; font-size: .875rem; }
.credit-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.credit-list strong { display: block; }
.credit-list span { color: var(--muted); word-break: break-word; }

/* Facebook / Instagram links (footer and contact page) */
.social-links { display: flex; gap: .75rem; margin-top: .75rem; }
.social-links a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid currentColor; opacity: .85; }
.social-links a:hover { opacity: 1; }
.meta-list dd p { margin-bottom: 0; }

/* Questions and back-in-stock forms */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.question-form textarea { resize: vertical; }
.ask-panel summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; gap: .5rem; }
.ask-panel summary::-webkit-details-marker { display: none; }
.ask-panel summary::after { content: "+"; margin-left: auto; font-size: 1.25rem; color: var(--herb); }
.ask-panel[open] summary::after { content: "−"; }
.notify-box { border: 1px dashed var(--line); border-radius: var(--radius); padding: 1rem; background: #fff; }
.notify-box h2 { font-size: 1.05rem; margin-bottom: .25rem; }
.product-card .btn-notify { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }

/* Question box heading */
.ask-icon {
  width: 34px; height: 34px; border-radius: 50%; background: var(--herb-soft); color: var(--herb);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* Product cards: price, then "add to cart" and "buy now" */
.product-card .body { container-type: inline-size; }
.product-card .foot { flex-direction: column; align-items: stretch; gap: .55rem; }
.product-card .foot form { margin-left: 0; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .4rem; row-gap: .1rem; }
.price-line .price-was { margin-left: 0; }
.price-off {
  font-size: .72rem; font-weight: 700; color: #9b2c1f; background: #fbe9e5; border-radius: 999px; padding: .1rem .45rem;
  white-space: nowrap; align-self: center;
}
.card-actions { display: flex; gap: .4rem; }
.card-actions .btn-cart { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; padding-inline: .55rem; }
.card-actions .btn-cart-text { display: none; }
.card-actions .btn-buy { flex: 1; }
@container (min-width: 250px) {
  .card-actions .btn-cart-text { display: inline; }
  .card-actions .btn-cart, .card-actions .btn-buy { flex: 1; }
}
.thumb .badge-sale { background: #b2392a; color: #fff; font-size: .8rem; }
.doctor-tag {
  display: inline-flex; align-items: center; gap: .3rem; align-self: flex-start; margin: .15rem 0 0;
  font-size: .75rem; font-weight: 600; color: #8a4b0f; background: #fdf1e1; border-radius: 999px; padding: .15rem .55rem;
}

/* Product page */
.detail-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .6rem; }
.detail-price .price-was { font-size: 1.05rem; margin-left: 0; }
.detail-price .price-off { font-size: .85rem; align-self: center; }
.sale-note { flex-basis: 100%; font-size: .9rem; font-weight: 500; color: #9b2c1f; margin-top: .15rem; }
.doctor-alert {
  display: flex; gap: .75rem; align-items: flex-start; margin: 0 0 1.25rem; padding: .9rem 1rem;
  background: #fdf1e1; border: 1px solid #f0cf9f; border-left: 4px solid #c97a1c; border-radius: 12px; color: #5c3610;
}
.doctor-alert .doctor-icon { width: 22px; height: 22px; flex-shrink: 0; margin-top: .1rem; color: #c97a1c; }
.doctor-alert strong { display: block; margin-bottom: .1rem; }
.doctor-confirm-text { background: #fdf1e1; border-left: 4px solid #c97a1c; border-radius: 8px; padding: .75rem .9rem; color: #5c3610; }

/* Cookie notice for visitor statistics (Google Analytics / Clarity) */
.cookie-notice {
  position: fixed; left: 16px; bottom: 16px; z-index: 1050; max-width: 380px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); font-size: .9rem;
}
.cookie-notice p { margin-bottom: .75rem; }
@media (max-width: 575.98px) {
  /* Leave room for the chat button on the right. */
  .cookie-notice { right: 84px; max-width: none; }
}

/* Home page: products on offer */
.offers-showcase { background: linear-gradient(180deg, #fff6f3 0%, #fff 100%); }
.offers-eyebrow { color: #b2392a; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }

/* Buying by amount (250 g, 1.5 l…) */
.measure-amount .qty-stepper input { width: 64px; }
.qty-stepper-sm.measure-amount .qty-stepper input { width: 56px; }
.measure-unit { width: auto; height: 48px; border-radius: 999px; padding-left: 1rem; font-weight: 600; }
.measure-total { font-weight: 600; color: var(--herb-dark); }
.measure-hint { width: 100%; font-size: .82rem; color: var(--muted); }
.price-unit { font-size: .6em; font-weight: 500; color: var(--muted); margin-left: .15em; }
.price-line .price-unit { font-size: .8em; }

/* Delivery charge on the product page */
.delivery-line { display: flex; gap: .6rem; align-items: flex-start; margin: .9rem 0 0; font-size: .88rem; color: var(--ink); }
.delivery-line svg { flex: none; color: var(--herb); margin-top: .1rem; }
.delivery-line .text-muted { display: block; font-size: .82rem; }

/* Sizes / options of a product (10 g, 50 g, 100 g…): each opens that product's page. */
.variant-name { font-size: .95rem; margin-bottom: .5rem; color: var(--muted); }
.variant-name strong { color: var(--ink); }
.variant-choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-chip {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem;
    min-width: 4.75rem; min-height: 3rem; padding: .4rem .8rem; border: 1.5px solid var(--line); border-radius: .6rem;
    background: #fff; color: inherit; text-decoration: none; line-height: 1.2; transition: border-color .15s, box-shadow .15s;
}
.variant-chip:hover { border-color: var(--herb); color: inherit; }
.variant-chip.is-current { border-color: var(--herb); box-shadow: 0 0 0 1px var(--herb) inset; font-weight: 600; }
.variant-chip .variant-label { font-size: .95rem; }
.variant-chip .variant-price { font-size: .78rem; color: var(--muted); font-weight: 400; }
.variant-chip.is-out { border-style: dashed; color: var(--muted); }
.variant-chip.is-out .variant-label { text-decoration: line-through; }
.price-from { font-size: .7em; font-weight: 500; color: var(--muted); margin-right: .15em; }
