/* VSP Botanics: shopping pages (shop, product, bag, checkout, order confirmed).
   Loaded after styles.css and built on its tokens, buttons and product card. */

/* ---------- Shared ---------- */
.btn--outline { border: 1.5px solid var(--forest); color: var(--forest); background: transparent; font-weight: 600; }
.btn--outline:hover { background: var(--forest); color: var(--paper); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.crumbs { padding-top: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--text-muted); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line); }
.crumbs a { color: var(--text-muted); padding: 10px 0; }
.crumbs a:hover { color: var(--moss); }
.crumbs [aria-current] { color: var(--forest); font-weight: 600; }

.shop-head { padding-top: 28px; }
.cart-head { padding-top: 28px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.shop-head__title { font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.015em; }
.shop-head__lede { margin-top: 12px; font-size: 17px; color: var(--text-muted); max-width: 620px; }
.cart-head .shop-head__lede { margin-top: 0; }

.panel { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 28px; margin: 0; min-width: 0; }
.panel__title { font-size: 19px; font-weight: 700; padding: 0; margin-bottom: 18px; float: left; width: 100%; }
.panel__title + * { clear: both; }

/* quantity stepper */
.qty { display: inline-flex; align-items: center; height: 52px; border: 1.5px solid var(--forest); border-radius: var(--r-sm); overflow: hidden; }
.qty__btn { width: 44px; height: 100%; border: 0; background: transparent; color: var(--forest); font-size: 20px; line-height: 1; }
.qty__btn:hover { background: var(--sage); }
.qty__input { width: 44px; height: 100%; border: 0; background: transparent; text-align: center; font-weight: 700; font-size: 16px; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* form fields */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--half { grid-column: span 1; }
.field label, .coupon label { font-size: 14px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea, .coupon input, .filter__price input {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--white); font: 500 16px var(--font-body); color: var(--forest);
}
.field textarea { padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .coupon input:focus, .filter__price input:focus { border-color: var(--forest); outline: none; }
.check { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; min-height: 40px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--forest); margin: 0; }
.check small { font-size: 13px; color: var(--text-subtle); }
.check--plain { grid-template-columns: 22px 1fr; margin-top: 16px; }

/* ---------- Shop listing ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 600; font-size: 15px;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.chip span { font-weight: 500; font-size: 13px; color: var(--text-subtle); }
.chip:hover { border-color: var(--forest); color: var(--forest); }
.chip.is-on { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.chip.is-on span { color: var(--mist); }

.shop { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 36px; padding-bottom: var(--section-gap); }
.shop__side { position: sticky; top: calc(var(--header-h, 93px) + 20px); max-height: calc(100vh - var(--header-h, 93px) - 40px); overflow-y: auto; padding-right: 4px; }
.shop__filters-toggle { display: none; }
.filter { border-top: 1px solid var(--line); }
.filter:last-of-type { border-bottom: 1px solid var(--line); }
.filter summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; }
.filter summary::-webkit-details-marker { display: none; }
.filter summary svg { transition: transform 0.25s ease; }
.filter[open] summary svg { transform: rotate(180deg); }
.filter__body { padding-bottom: 14px; }
.filter__price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filter__price label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-muted); }
.filter__price input { min-height: 44px; padding: 0 12px; font-size: 15px; }
.filters__actions { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.filters__actions .btn { height: 46px; padding: 0 22px; }
.filters__clear { border: 0; border-bottom: 1.5px solid var(--leaf); background: none; padding: 0 0 4px; color: var(--forest); }

.shop__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.shop__count { font-size: 15px; color: var(--text-muted); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.sort span { color: var(--text-muted); }
.sort select { height: 44px; padding: 0 36px 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--white); font: 600 15px var(--font-body); color: var(--forest); }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 44px; }
.pager__n { min-width: 44px; height: 44px; padding: 0 8px; border-radius: var(--r-sm); display: grid; place-items: center; font-weight: 600; border: 1.5px solid transparent; }
.pager__n:hover { border-color: var(--line); color: var(--forest); }
.pager__n.is-on { background: var(--forest); color: var(--paper); }
.pager__next { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; margin-left: 8px; font-weight: 600; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: 24px; }
.pdp__gallery { position: sticky; top: calc(var(--header-h, 93px) + 20px); display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
.pdp__stage { position: relative; grid-column: 2; grid-row: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--tile); aspect-ratio: 4 / 5; }
.pdp__stage img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.pdp__thumb { padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: var(--tile); aspect-ratio: 4 / 5; transition: border-color 0.2s ease; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb:hover { border-color: var(--line); }
.pdp__thumb.is-on { border-color: var(--forest); }

.pdp__info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pdp__cat { font-size: 14px; color: var(--text-muted); }
.pdp__cat a { color: var(--text-muted); padding: 8px 0; }
.pdp__cat a:hover { color: var(--moss); }
.pdp__title { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -0.015em; }
.pdp__rating { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; align-self: flex-start; padding: 6px 0; }
.pdp__rating-n { font-weight: 500; color: var(--text-muted); border-bottom: 1px solid var(--line); }
.pdp__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 4px; }
.pdp__now { font-size: 30px; font-weight: 700; }
.pdp__price s { font-size: 17px; color: var(--text-strike); }
.pdp__off { height: 28px; padding: 0 10px; border-radius: 8px; display: inline-flex; align-items: center; background: var(--leaf); color: var(--forest-deep); font-size: 13px; font-weight: 700; align-self: center; }
.pdp__lede { font-size: 18px; line-height: 1.6; color: var(--text-body-on-sage); }
.pdp__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.pdp__points li { display: flex; align-items: center; gap: 10px; }
.pdp__points svg { color: var(--moss); flex: none; }
.pdp__buy { display: flex; flex-direction: column; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 6px; }
.pdp__row { display: flex; align-items: center; gap: 14px; }
.pdp__label { font-weight: 700; font-size: 15px; }
.pill { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; }
.pill.is-on { border-color: var(--forest); background: var(--sage); }
.pdp__actions { display: flex; gap: 10px; }
.pdp__add { flex: 1; justify-content: center; }
.pdp__wish { width: 52px; height: 52px; flex: none; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--white); color: var(--forest); display: grid; place-items: center; }
.pdp__wish:hover { border-color: var(--forest); color: var(--moss); }
.pdp__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--text-muted); }
.pdp__notes strong { color: var(--moss); }

.accs { margin-top: 8px; border-bottom: 1px solid var(--line); }
.acc { border-top: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; min-height: 58px; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { transition: transform 0.25s ease; }
.acc[open] summary svg { transform: rotate(180deg); }
.acc__body { padding-bottom: 20px; color: var(--text-body-on-sage); line-height: 1.65; max-width: 62ch; }
.acc__body p + p { margin-top: 10px; }
.acc__body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

.pdp-reviews__sum { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--text-muted); }
.pdp-reviews__sum strong { color: var(--forest); font-size: 20px; }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { background: var(--white); border: 1px solid var(--line-soft); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review__text { font-size: 16px; line-height: 1.6; flex: 1; }
.review__by { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.review__by span { color: var(--text-muted); }
.pdp-reviews__more { margin-top: 28px; }

.buybar { display: none; }

/* ---------- Bag ---------- */
.cart, .checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-top: 28px; }
.checkout { padding-bottom: var(--section-gap); }
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto 110px 44px; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line__img { display: block; border-radius: var(--r-md); overflow: hidden; background: var(--tile); aspect-ratio: 1 / 1; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__cat { font-size: 13px; color: var(--text-subtle); }
.line__name { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 2px 0 6px; }
.line__name a:hover { color: var(--moss); }
.line__each { font-size: 14px; color: var(--text-muted); }
.line__each s { color: var(--text-strike); margin-left: 6px; }
.line .qty { height: 46px; }
.line__total { font-size: 17px; font-weight: 700; text-align: right; }
.line__remove { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--text-muted); display: grid; place-items: center; }
.line__remove:hover { background: var(--sage); color: var(--forest); }
.cart__empty { padding: 32px 0; font-size: 17px; }
.coupon { margin-top: 28px; max-width: 420px; display: flex; flex-direction: column; gap: 8px; }
.coupon__row { display: flex; gap: 10px; }
.coupon__row .btn { height: 50px; padding: 0 22px; }
.cart__back { display: inline-block; margin-top: 28px; }

.summary { position: sticky; top: calc(var(--header-h, 93px) + 20px); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 28px; }
.summary__title { font-size: 19px; font-weight: 700; margin-bottom: 16px; }
.summary__rows { margin: 0; display: grid; gap: 12px; font-size: 15px; }
.summary__rows > div { display: flex; justify-content: space-between; gap: 16px; }
.summary__rows dt { color: var(--text-muted); }
.summary__rows dd { margin: 0; font-weight: 600; text-align: right; }
.summary__save { color: var(--moss); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 700; }
.summary__total strong { font-size: 24px; }
.summary__cta { width: 100%; justify-content: center; margin-top: 22px; }
.summary__note { margin-top: 12px; font-size: 13px; color: var(--text-muted); text-align: center; }
.summary__note a { border-bottom: 1px solid var(--line); }

/* ---------- Checkout ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-subtle); }
.steps li + li::before { content: ""; display: inline-block; width: 28px; height: 1.5px; background: var(--line); margin-right: 10px; vertical-align: middle; }
.steps a { padding: 10px 0; }
.steps .is-done { color: var(--moss); }
.steps .is-on { color: var(--forest); }
.checkout__main { display: grid; gap: 20px; min-width: 0; }
.options { display: grid; gap: 10px; }
.option { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); border: 1.5px solid var(--line); cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease; }
.option:hover { border-color: var(--forest-outline); }
.option:has(input:checked) { border-color: var(--forest); background: var(--sage); }
.option input { width: 20px; height: 20px; accent-color: var(--forest); margin: 0; }
.option__main { display: flex; flex-direction: column; gap: 2px; }
.option__main small { font-size: 14px; color: var(--text-muted); }
.option__price { font-weight: 700; }
.minis { list-style: none; margin: 0 0 18px; padding: 0 0 18px; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.mini { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 14px; font-size: 15px; }
.mini__img { position: relative; display: block; width: 60px; height: 60px; }
.mini__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; background: var(--tile); }
.mini__q { position: absolute; right: -8px; top: -8px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--forest); color: var(--paper); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.mini__name { font-weight: 600; line-height: 1.3; }
.mini__price { font-weight: 700; }

/* ---------- Order confirmed ---------- */
.done { padding-top: 56px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.done .shop-head__lede { margin-inline: auto; }
.done__mark { width: 72px; height: 72px; border-radius: 50%; background: var(--leaf); color: var(--forest-deep); display: grid; place-items: center; margin-bottom: 24px; }
.done__facts { margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, auto); gap: 0; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--white); overflow: hidden; }
.done__facts > div { padding: 18px 28px; border-left: 1px solid var(--line-soft); text-align: left; }
.done__facts > div:first-child { border-left: 0; }
.done__facts dt { font-size: 13px; color: var(--text-muted); }
.done__facts dd { margin: 4px 0 0; font-weight: 700; }
.done-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 40px; padding-bottom: var(--section-gap); align-items: start; }
.done-grid .panel__title { float: none; }
.done__address { line-height: 1.7; color: var(--text-body-on-sage); }
.done__next { margin-top: 28px; }
.done__steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text-body-on-sage); }
.done__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Search ---------- */
.searchbar { display: flex; align-items: center; gap: 12px; margin-top: 22px; max-width: 720px; height: 60px; padding: 0 6px 0 20px; border-radius: var(--r-md); border: 1.5px solid var(--forest); background: var(--white); }
.searchbar svg { flex: none; color: var(--text-muted); }
.searchbar input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 500 17px var(--font-body); color: var(--forest); outline: none; }
.searchbar .btn { height: 46px; padding: 0 24px; flex: none; }
.searchbar:focus-within { outline: 2px solid var(--moss); outline-offset: 2px; }
.results { padding-top: 36px; }
.noresults__panel > p { color: var(--text-muted); clear: both; }
.noresults__state { margin-top: 20px; padding: 28px; border-radius: var(--r-md); background: var(--paper); border: 1px dashed var(--line); }
.noresults__msg { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.noresults__state > p:not(.noresults__msg) { color: var(--text-muted); }

/* ---------- Sign in / register ---------- */
.auth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; padding-top: 32px; padding-bottom: var(--section-gap); }
.auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 16px; }
.auth__row .check { margin-top: 0; }
.auth__cta { margin-top: 22px; }
.auth__hint { margin-top: 8px; font-size: 14px; color: var(--text-muted); }
.auth__legal { text-align: left; }

/* ---------- Account ---------- */
.account { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 32px; padding-bottom: var(--section-gap); }
.account__nav { position: sticky; top: calc(var(--header-h, 93px) + 20px); display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.account__nav a { display: flex; align-items: center; min-height: 50px; padding: 0 4px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.account__nav a[aria-current] { color: var(--moss); }
.account__out { color: var(--text-muted); }
.account__main { display: grid; gap: 20px; min-width: 0; }
.account__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.panel__head .panel__title { float: none; width: auto; margin-bottom: 0; }
.orders { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.order { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto 110px auto; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.order:last-child { border-bottom: 0; padding-bottom: 0; }
.order__thumbs { display: flex; }
.order__thumbs img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; border: 2px solid var(--white); background: var(--tile); margin-left: -10px; }
.order__thumbs img:first-child { margin-left: 0; }
.order__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.order__main small { font-size: 14px; color: var(--text-muted); }
.order__total { font-weight: 700; text-align: right; }
.status { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.status--processing { background: #fbefd2; color: #6b4a08; }
.status--completed { background: var(--sage); color: #255c12; }

/* ---------- Content pages: services, journal, article, about, locator, FAQs, contact, terms ---------- */
.narrow { max-width: calc(820px + var(--gutter) * 2); }
.prose-lead { max-width: 760px; }
.prose-lead p { margin-top: 16px; font-size: 18px; line-height: 1.65; color: var(--text-body-on-sage); }
.supply { margin-top: 28px; padding: 20px 24px; border-radius: var(--r-md); border: 1.5px dashed #b99a3c; background: #fdf6df; color: #5c4508; }
.supply strong { display: block; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.supply p { font-size: 15px; line-height: 1.55; }

/* service hero */
.svc-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: 28px; }
.svc-hero__lede { margin-top: 16px; font-size: 20px; line-height: 1.55; color: var(--text-body-on-sage); max-width: 520px; }
.svc-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.svc-hero__media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3 / 2; background: var(--sage); }
.svc-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.facts3 { list-style: none; margin: 36px 0 0; padding: 22px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts3 li { display: flex; flex-direction: column; gap: 4px; padding: 0 24px; border-left: 1px solid var(--line); }
.facts3 li:first-child { padding-left: 0; border-left: 0; }
.facts3 strong { font-size: 17px; }
.facts3 span { font-size: 15px; color: var(--text-muted); }
.tile { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 30px; }
.tile__title { font-size: 26px; line-height: 1.15; margin-bottom: 10px; }
.tile p { color: var(--text-muted); line-height: 1.6; }

/* booking */
.book { scroll-margin-top: calc(var(--header-h, 93px) + 16px); }
.book__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.book__call { color: var(--text-muted); }
.book__call a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--forest); margin-left: 6px; padding: 10px 0; }
/* the live site's booking widget, in its own frame so its styles and ours never meet */
.book__frame { display: block; width: 100%; height: 600px; border: 0; background: transparent; color-scheme: light; }

/* journal */
.journal-lead { padding-top: 32px; }
.jlead { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl); background: var(--forest); color: var(--paper); }
.jlead:hover { color: var(--paper); }
.jlead .post__tag { color: var(--leaf-soft); }
.jlead .jpost__meta { color: var(--mist); }
.jlead__title { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; max-width: 18ch; }
.jlead__ex { font-size: 18px; line-height: 1.6; color: var(--mist); max-width: 60ch; }
.jpost__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--text-muted); }
.journal-list { padding-top: 20px; padding-bottom: var(--section-gap); }
.jgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.jpost { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 20px; background: var(--white); border: 1px solid var(--line-soft); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease; }
.jpost:hover { transform: translateY(-4px); box-shadow: 0 22px 36px -26px rgba(16, 38, 15, 0.4); color: var(--forest); }
.jpost__title { font-size: 23px; line-height: 1.25; }
.jpost__ex { color: var(--text-muted); font-size: 15px; line-height: 1.6; flex: 1; }
.jpost:hover .post__more svg { transform: translateX(4px); }

/* article + long text */
.article { max-width: calc(760px + var(--gutter) * 2); padding-top: 28px; }
.article__title { font-size: clamp(34px, 4vw, 54px); line-height: 1.08; letter-spacing: -0.015em; margin-top: 14px; }
.prose { margin-top: 32px; font-size: 18px; line-height: 1.75; color: var(--text-body-on-sage); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.2; color: var(--forest); margin-top: 44px; }
.prose h3 { font-size: 20px; line-height: 1.35; color: var(--forest); margin-top: 30px; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; }
.prose__note { padding: 16px 20px; border-radius: var(--r-md); background: var(--sage); }
.prose__note strong { margin-right: 4px; }
.prose--legal { font-size: 16px; line-height: 1.7; margin-top: 0; }
.prose--legal h2 { font-size: 24px; scroll-margin-top: calc(var(--header-h, 93px) + 16px); }
.prose__n { display: inline-block; min-width: 40px; font-weight: 700; color: var(--forest); }
.prose__sub { padding-left: 40px; margin-top: 8px !important; }
.article__cta { margin-top: 48px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: var(--forest); color: var(--paper); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.article__cta-title { font-size: 30px; line-height: 1.15; }
.article__cta p { color: var(--mist); font-size: 17px; margin-bottom: 8px; }
.legal { display: grid; gap: 32px; padding-top: 24px; }
.legal__toc { padding: 22px 26px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line-soft); }
.legal__toc p { font-weight: 700; margin-bottom: 8px; }
.legal__toc ol { margin: 0; padding-left: 20px; display: grid; gap: 2px; }
.legal__toc a { display: inline-block; padding: 8px 0; border-bottom: 1px solid var(--line); }

/* about */
.about-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 6vw, 96px); align-items: center; padding-top: 28px; }
.about-hero__title { font-size: clamp(40px, 5vw, 76px); line-height: 1.03; letter-spacing: -0.02em; }
.about-hero__media { border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 2 / 3; background: var(--sage); }
.about-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.team4 { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.team4 li { padding: 22px; border-radius: var(--r-md); background: var(--sage); font-weight: 700; font-size: 17px; }
.statement { padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl); background: var(--forest); color: var(--paper); }
.statement__title { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.1; max-width: 20ch; }
.statement p { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--mist); max-width: 62ch; }
.stands { margin: 0; border-top: 1px solid var(--line); }
.stands > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 16px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.stands dt { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.2; }
.stands dd { margin: 0; color: var(--text-body-on-sage); line-height: 1.65; max-width: 62ch; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--leaf); }
.cta-band__title { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; color: var(--forest-deep); }
.cta-band__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--outline { border-color: var(--forest-deep); color: var(--forest-deep); }
.cta-band .btn--outline:hover { background: var(--forest-deep); color: var(--paper); }
.cta-band--small { margin-top: 40px; }

/* store locator */
.locator__search { margin-top: 22px; max-width: 560px; padding-right: 16px; cursor: text; }
.locator { display: grid; gap: 44px; padding-top: 40px; }
.stores[hidden], .store[hidden], .dist[hidden] { display: none; }
.stores__title { font-size: 30px; line-height: 1.15; margin-bottom: 18px; }
.stores__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.store { padding: 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 10px; }
.store__name { font-size: 18px; font-weight: 700; }
.store__addr, .store__tel { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.5; color: var(--text-body-on-sage); }
.store__addr svg, .store__tel svg { color: var(--moss); margin-top: 1px; }
.store__tel a { font-weight: 600; color: var(--forest); padding: 6px 0; }
.panel .store__addr, .panel .store__tel { clear: both; margin-top: 10px; }
.dists { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.dist { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.dist__place { font-weight: 700; }
.dist__name { color: var(--text-muted); }
.dist__tel { text-align: right; }
.dist__tel a { font-weight: 600; white-space: nowrap; padding: 8px 0; display: inline-block; }
/* region picker: stays under the header while the list scrolls */
.regionbar { position: sticky; top: var(--header-h, 72px); z-index: 20; margin-top: 28px; padding: 12px 0; background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.regionbar .chips { margin-top: 0; }
.region { display: grid; gap: 26px; scroll-margin-top: calc(var(--header-h, 72px) + 90px); }
.region[hidden], .region__part[hidden] { display: none; }
.region .stores__title { margin-bottom: 0; }
.region__sub { font-size: 15px; font-weight: 700; color: var(--text-muted); margin: 0 0 12px; }
.store__name { margin: 0; line-height: 1.3; }
.locator__none { font-size: 17px; }

/* FAQs + contact */
.faqs { padding-top: 28px; }
.acc--faq summary { font-size: 19px; min-height: 68px; }
.acc--faq .acc__body { font-size: 17px; }
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px; align-items: start; padding-top: 32px; }
.contact__side { display: grid; gap: 20px; }
.contact .panel__title { float: none; }
.quick { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.quick a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--line); font-weight: 600; }
.quick a:hover svg { transform: translateX(4px); }
.quick svg { transition: transform 0.25s ease; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .shop { grid-template-columns: 228px minmax(0, 1fr); gap: 28px; }
  .shop .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart, .checkout { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .line { grid-template-columns: 88px minmax(0, 1fr) auto 44px; }
  .line__total { grid-column: 2 / 4; grid-row: 2; text-align: left; }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; padding-top: 24px; }
  .shop__side { position: static; max-height: none; overflow: visible; padding: 0; }
  .shop__filters:not([open]) .filters { display: none; }
  .shop__filters-toggle {
    display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; cursor: pointer; list-style: none;
    border-radius: var(--r-sm); border: 1.5px solid var(--forest); font-weight: 600;
  }
  .shop__filters-toggle::-webkit-details-marker { display: none; }
  .shop__filters[open] .shop__filters-toggle { background: var(--forest); color: var(--paper); margin-bottom: 16px; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { position: static; grid-template-columns: 1fr; }
  .pdp__stage { grid-column: 1; }
  .pdp__thumbs { grid-column: 1; grid-row: 2; flex-direction: row; }
  .pdp__thumb { width: 76px; }
  .cart, .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .done__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .done__facts > div:nth-child(3) { border-left: 0; }
  .done__facts > div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .done-grid { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .svc-hero, .contact { grid-template-columns: 1fr; }
  .svc-hero__media { order: -1; }
  .about-hero { grid-template-columns: 1fr; }
  .about-hero__media { max-width: 300px; order: -1; aspect-ratio: 3 / 4; }
  .jgrid, .stores__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dists { grid-template-columns: 1fr; }
  .account { grid-template-columns: 1fr; gap: 24px; }
  .account__nav { position: static; flex-direction: row; overflow-x: auto; border-top: 0; gap: 8px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .account__nav::-webkit-scrollbar { display: none; }
  .account__nav a { flex: none; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font-size: 15px; white-space: nowrap; }
  .account__nav a[aria-current] { background: var(--forest); border-color: var(--forest); color: var(--paper); }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .crumbs { padding-top: 14px; }
  .crumbs ol { font-size: 13px; }
  .shop-head, .cart-head { padding-top: 18px; }
  .shop-head__lede { font-size: 16px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .shop .grid-3 { gap: 12px; }
  .shop__bar { margin-bottom: 14px; }
  .shop__count { font-size: 14px; }
  .sort span { display: none; }
  .panel, .summary { padding: 20px; border-radius: var(--r-md); }
  .fields { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .pdp__now { font-size: 26px; }
  .pdp__add { white-space: nowrap; padding: 0 16px; }
  .pdp__add svg { display: none; }
  .pdp__actions .qty__btn, .pdp__actions .qty__input { width: 38px; }
  .pdp__lede { font-size: 16px; }
  .reviews { grid-template-columns: 1fr; gap: 12px; }
  .review { padding: 20px; }
  /* bag lines: photo left, details right, stepper and total underneath */
  .line { grid-template-columns: 76px minmax(0, 1fr) 44px; gap: 10px 14px; align-items: start; padding: 16px 0; }
  .line__main { grid-column: 2; }
  .line__remove { grid-column: 3; grid-row: 1; }
  .line .qty { grid-column: 2; grid-row: 2; justify-self: start; height: 44px; }
  .line__total { grid-column: 3; grid-row: 2; align-self: center; text-align: right; white-space: nowrap; justify-self: end; }
  .line__name { font-size: 16px; }
  .coupon { max-width: none; }
  .svc-hero__lede { font-size: 18px; }
  .svc-hero__ctas .btn, .cta-band__ctas .btn { width: 100%; justify-content: center; }
  .cta-band__ctas { width: 100%; }
  .facts3 { grid-template-columns: 1fr; padding: 0; }
  .facts3 li, .facts3 li:first-child { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts3 li:first-child { border-top: 0; }
  .tile { padding: 22px; border-radius: var(--r-md); }
  .jgrid, .stores__grid { grid-template-columns: 1fr; }
  .jpost { padding: 22px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 26px; }
  .stands > div { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .stands dt { font-size: 22px; }
  .dist { grid-template-columns: minmax(0, 1fr) auto; }
  .dist__name { grid-column: 1; grid-row: 2; }
  .dist__tel { grid-column: 2; grid-row: 1 / 3; }
  .prose__sub { padding-left: 20px; }
  .searchbar { height: 54px; padding-left: 14px; gap: 8px; }
  .searchbar .btn { height: 42px; padding: 0 16px; }
  .account__pair { grid-template-columns: 1fr; }
  .order { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .order__thumbs { grid-column: 1 / -1; }
  .order__total { text-align: left; }
  .order .text-link { justify-self: end; }
  .done { padding-top: 36px; text-align: left; align-items: flex-start; }
  .done .shop-head__lede { margin-inline: 0; }
  .done__facts > div { padding: 14px 16px; }
  .done__ctas .btn { width: 100%; justify-content: center; }
  /* product page: a buy bar stays at the bottom of the screen */
  .page-product .buybar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 0.3s ease;
  }
  .page-product .buybar.is-on { transform: none; }
  .buybar__info { display: flex; flex-direction: column; min-width: 0; }
  .buybar__name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar__price { font-weight: 700; }
  .buybar .btn { height: 48px; padding: 0 22px; flex: none; }
  .page-product .site-footer { padding-bottom: 76px; }
}


/* =====================================================================
   Panels shared by every page: bag drawer, search overlay, phone menu
   ===================================================================== */
html.has-panel { overflow: hidden; }
.panelwrap { position: fixed; z-index: 100; inset: 0; }
.panelwrap[hidden] { display: none; }
.panelwrap__shade { position: absolute; inset: 0; background: rgba(16, 38, 15, 0.5); opacity: 0; transition: opacity 0.3s ease; }
.panelwrap.is-open .panelwrap__shade { opacity: 1; }
.drawer, .searchlay, .menu { position: absolute; background: var(--paper); transition: transform 0.34s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: transform; }

/* ---- Bag drawer ---- */
.drawer { top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; transform: translateX(100%); box-shadow: -24px 0 60px -30px rgba(16, 38, 15, 0.5); }
.panelwrap.is-open .drawer { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 16px 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__title { font-size: 20px; font-weight: 700; }
.drawer__title > span { font-weight: 500; color: var(--text-muted); }
.drawer__lines { list-style: none; margin: 0; padding: 0 24px; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.dline { display: grid; grid-template-columns: 84px minmax(0, 1fr) 44px; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dline__img { display: block; border-radius: 14px; overflow: hidden; background: var(--tile); aspect-ratio: 1 / 1; }
.dline__img img { width: 100%; height: 100%; object-fit: cover; }
.dline__name { font-size: 15px; font-weight: 700; line-height: 1.3; }
.dline__name a:hover { color: var(--moss); }
.dline__price { font-weight: 700; margin: 4px 0 10px; }
.dline .qty { height: 40px; }
.dline .qty__btn, .dline .qty__input { width: 36px; }
.dline .line__remove { margin-top: -8px; }
.drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 32px 24px; font-size: 17px; }
.drawer__empty[hidden], .drawer__foot[hidden], .drawer__lines[hidden] { display: none; }
.drawer__foot { padding: 18px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); display: grid; gap: 10px; }
.drawer__sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-weight: 600; }
.drawer__sum strong { font-size: 22px; }
.drawer__note { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.drawer__cta { width: 100%; justify-content: center; }

/* ---- Search overlay ---- */
.searchlay { top: 0; left: 0; right: 0; max-height: 100svh; overflow-y: auto; overscroll-behavior: contain; transform: translateY(-100%); padding: 22px 0 30px; box-shadow: 0 24px 60px -30px rgba(16, 38, 15, 0.5); }
.panelwrap.is-open .searchlay { transform: none; }
.searchlay__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; }
.searchlay__bar { margin-top: 0; max-width: none; }
.searchlay__close { width: 48px; height: 48px; }
.searchlay__idle, .searchlay__results, .searchlay__all { grid-column: 1 / -1; }
.searchlay__label, .menu__label { font-size: 13px; font-weight: 700; color: var(--text-muted); margin: 22px 0 0; }
.searchlay__idle .chips { margin-top: 10px; }
.searchlay__results { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.searchlay__results:empty { display: none; }
.sres { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sres img { width: 60px; height: 60px; object-fit: cover; border-radius: 12px; background: var(--tile); }
.sres__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sres__name { font-weight: 700; font-size: 15px; line-height: 1.3; }
.sres__cat { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sres__price { font-weight: 700; }
.sres:hover .sres__name { color: var(--moss); }
.sres-none { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; padding: 18px 0 6px; }
.sres-none span { color: var(--text-muted); }
.searchlay__all { display: inline-block; justify-self: start; margin-top: 20px; }
.searchlay__all[hidden] { display: none; }

/* ---- Phone menu ---- */
.menu { top: 0; left: 0; bottom: 0; width: min(420px, 100%); overflow-y: auto; overscroll-behavior: contain; transform: translateX(-100%); display: flex; flex-direction: column; padding: 0 20px calc(24px + env(safe-area-inset-bottom)); box-shadow: 24px 0 60px -30px rgba(16, 38, 15, 0.5); }
.panelwrap.is-open .menu { transform: none; }
.menu__head { display: flex; align-items: center; justify-content: space-between; height: 64px; flex: none; margin-right: -10px; }
.menu__head .brand img { width: 48px; height: auto; }
.menu__search { margin-top: 6px; height: 52px; padding: 0 16px; border-color: var(--line); flex: none; }
.menu__nav { display: flex; flex-direction: column; margin-top: 14px; }
.menu__link { display: flex; align-items: center; justify-content: space-between; min-height: 60px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: 28px; letter-spacing: -0.01em; }
.menu__link svg { color: var(--text-muted); transition: transform 0.25s ease; }
.menu__link:hover svg { transform: translateX(4px); }
.menu__cats { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu__cats .chip { height: 40px; padding: 0 16px; }
.menu__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin-top: 18px; }
.menu__more a { display: flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 16px; }
.menu__regions .chips { margin-top: 10px; }
.menu__regions .chip { height: 40px; padding: 0 14px; font-size: 14px; }
.menu__cta { margin-top: 26px; justify-content: center; flex: none; }

@media (max-width: 640px) {
  .drawer { width: 100%; }
  .drawer__head { padding-left: 16px; }
  .drawer__lines { padding: 0 16px; }
  .drawer__foot { padding-inline: 16px; }
  .searchlay { padding: 12px 0 24px; }
  .searchlay__in { gap: 0 4px; }
  .searchlay__bar .btn { display: none; }
  .searchlay__results { grid-template-columns: 1fr; }
  .menu { width: 100%; }

  /* ---- Phone header: menu left, logo centred, search and bag right ---- */
  .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; height: 78px; padding-top: 0; padding-bottom: 0; }
  .menu-toggle { display: grid; justify-self: start; margin-left: -10px; }
  .brand { justify-self: center; }
  .brand img { width: 54px; }
  .header-actions { justify-self: end; margin-right: -10px; gap: 0; }
  /* the bag becomes an icon with a count bubble */
  .bag, .bag:hover { position: relative; width: 44px; height: 44px; padding: 0; justify-content: center; background: transparent; color: var(--forest); border-radius: 50%; }
  .bag svg { width: 22px; height: 22px; }
  .bag__count-short {
    position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: var(--leaf); color: var(--forest-deep); font-size: 12px; font-weight: 700; line-height: 18px; text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .drawer, .searchlay, .menu, .panelwrap__shade { transition: none; }
}

/* ---------- Region switcher: which country store you are in, and the way to another ---------- */
.region-switch { position: relative; }
.region-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--forest); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .18s; }
.region-btn:hover, .region-btn[aria-expanded="true"] { background: var(--sage); }
.region-btn__caret { transition: transform .18s; }
.region-btn[aria-expanded="true"] .region-btn__caret { transform: rotate(180deg); }
.regionpop { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: 280px; padding: 18px 10px 14px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line-soft); box-shadow: 0 24px 48px -24px rgba(23, 53, 31, .4); }
.regionpop[hidden] { display: none; }
.regionpop__title { padding: 0 10px 8px; font-weight: 700; font-size: 15px; }
.regionpop ul { list-style: none; margin: 0; padding: 0; }
.regionpop a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 10px; border-radius: 10px; font-size: 15px; }
.regionpop a:hover { background: var(--sage); }
.regionpop__name { font-weight: 600; }
.regionpop__cur { color: var(--text-muted); font-size: 14px; }
.regionpop a[aria-current="true"] .regionpop__name::after { content: ""; display: inline-block; width: 7px; height: 12px; margin-left: 10px; border: solid var(--moss); border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.regionpop__note { margin: 10px 10px 0; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 13px; line-height: 1.45; color: var(--text-muted); }
@media (max-width: 640px) { .region-switch { display: none; } }
.flag { display: inline-block; margin-right: 8px; font-size: 1.15em; line-height: 1; vertical-align: -0.08em; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.region-btn .flag { margin-right: 0; }

/* ---------- Dropdowns: our own arrow and states in place of the browser's ---------- */
.sort select, .field select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%2317351f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
  padding-right: 44px; text-overflow: ellipsis;
  transition: border-color .18s, box-shadow .18s;
}
.sort select { height: 46px; padding-left: 18px; border-radius: 999px; }
.sort select:hover, .field select:hover { border-color: var(--forest); }
.sort select:focus-visible, .field select:focus-visible { border-color: var(--forest); outline: none; box-shadow: 0 0 0 3px rgba(140, 198, 63, .45); }

/* ---------- Category list in the shop sidebar ---------- */
.catlinks { display: grid; gap: 2px; }
.catlink { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 0 12px; border-radius: 10px; font-size: 15px; color: var(--forest); }
.catlink small { font-size: 13px; color: var(--text-subtle); }
.catlink:hover { background: var(--sage); }
.catlink[aria-current="true"] { background: var(--forest); color: var(--paper); font-weight: 700; }
.catlink[aria-current="true"] small { color: var(--mist); }
