/* ============ Shared additions ============ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt { margin-top: 18px; }
body.no-scroll { overflow: hidden; }
.cart-count[hidden] { display: none; }
.fav-btn { position: relative; }
.fav-btn .cart-count { background: var(--sale); }

.stars { color: var(--gold); letter-spacing: 1px; white-space: nowrap; }
.stars__off { color: var(--sand-2); }
.badge--best { background: var(--gold); color: var(--brown-3); }
.badge--lg { font-size: 0.8rem; padding: 6px 12px; top: 18px; left: 18px; border-radius: 8px; }

.card__link { display: block; height: 100%; }
.card__name a { transition: color 0.2s; }
.card__name a:hover { color: var(--brown-2); text-decoration: underline; text-underline-offset: 3px; }
.card__rating { display: flex; align-items: center; gap: 6px; }
.card__rating span:last-child { color: var(--muted); letter-spacing: 0; }

.post__img { display: block; position: relative; }
.post__cat {
  position: absolute; top: 16px; left: 16px; background: rgba(255, 250, 244, 0.92); color: var(--brown);
  padding: 5px 12px; border-radius: 99px; font-size: 0.74rem; font-weight: 600; backdrop-filter: blur(6px);
}
.post h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }

.dropdown__all { border-top: 1px solid var(--line); margin-top: 4px; font-weight: 600; color: var(--brown); }
.search-all { display: block; padding: 10px 8px; font-weight: 600; color: var(--brown); font-size: 0.9rem; }
.search-all:hover { text-decoration: underline; }

.line__opt { display: inline-block; font-size: 0.75rem; color: var(--muted); background: var(--sand); padding: 2px 8px; border-radius: 6px; margin-bottom: 8px; }
.line a:hover b { text-decoration: underline; }
.drawer__empty .btn { margin-top: 20px; }
.is-disabled { opacity: 0.45; pointer-events: none; }

.toast { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 12px; }
.toast img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.toast svg { font-size: 1.1rem; }
.toast span { overflow: hidden; text-overflow: ellipsis; }
.toast button { background: var(--cream); color: var(--brown); border-radius: 99px; padding: 6px 14px; font-weight: 600; font-size: 0.8rem; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream); color: var(--brown); box-shadow: var(--shadow); display: grid; place-items: center;
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: all 0.4s var(--ease);
}
.to-top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brown); color: var(--cream); }
.to-top svg { font-size: 1.2rem; }

.btn--lg { padding: 18px 28px; font-size: 1rem; }
.btn.btn--sm { margin-top: 0; }
.center > .btn--sm, #viewAll { margin-top: 48px; }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.84rem; color: var(--muted); padding: 22px 0; }
.crumbs a:hover { color: var(--brown); text-decoration: underline; }
.crumbs b { color: var(--ink); font-weight: 500; }

/* Pills, chips, fields */
.pill { display: inline-block; background: var(--brown); color: var(--cream); padding: 6px 14px; border-radius: 99px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; flex: 1; min-width: 0; }
.field > span { font-size: 0.82rem; font-weight: 600; }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 16px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brown); box-shadow: 0 0 0 4px rgba(74, 38, 34, 0.08); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--sale); background: #fff4f2; }
.field-row { display: flex; gap: 14px; }

.icon-btn--outline { width: 54px; height: 54px; border: 1.5px solid var(--line); color: var(--brown); flex: 0 0 auto; }
.icon-btn--outline.is-on { color: var(--sale); border-color: var(--sale); }
.icon-btn--outline.is-on svg { fill: currentColor; }

.share-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px;
  border: 1px solid var(--line); font-size: 0.82rem; font-weight: 500; transition: all 0.2s;
}
.share-btn:hover { background: var(--brown); border-color: var(--brown); color: var(--cream); }

/* Empty states */
.empty-page { text-align: center; padding: 120px 0 80px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty-page h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--brown); }
.empty-page .btn { margin-top: 10px; }
.empty-page__emoji { font-size: 3.6rem; line-height: 1; animation: float 3s ease-in-out infinite; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 70px 20px; background: var(--sand); border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty-state h3 { color: var(--brown); font-size: 1.4rem; }
.empty-state .btn { margin-top: 8px; }

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--mini { grid-template-columns: repeat(4, 1fr); }

/* Page hero (shop / blog) */
.page-hero { background: var(--sand); position: relative; padding: 10px 0 90px; }
.page-hero__title { font-size: clamp(2.2rem, 4.4vw, 3.6rem); color: var(--brown); margin: 14px 0 14px; max-width: 18ch; }
.page-hero__text { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.page-hero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; }

/* ============ Product page ============ */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; padding-bottom: 80px; }
.pdp__gallery { position: sticky; top: 100px; display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.pdp__main { grid-column: 2; grid-row: 1; position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand-2); cursor: zoom-in; }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease), opacity 0.18s; }
.pdp__main img.is-swapping { opacity: 0; }
.pdp__main.is-zoomed img { transform: scale(1.9); }
.pdp__zoom-hint {
  position: absolute; bottom: 16px; right: 16px; display: flex; align-items: center; gap: 6px;
  background: rgba(255, 250, 244, 0.9); padding: 6px 12px; border-radius: 99px; font-size: 0.75rem; font-weight: 500;
  transition: opacity 0.3s;
}
.pdp__main.is-zoomed .pdp__zoom-hint { opacity: 0; }
@media (hover: none) { .pdp__zoom-hint { display: none; } .pdp__main { cursor: default; } }
.pdp__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 12px; }
.pdp__thumb { aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; opacity: 0.65; transition: all 0.25s; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb:hover { opacity: 1; }
.pdp__thumb.is-active { border-color: var(--brown); opacity: 1; }

.pdp__cat { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; color: var(--brown-2); }
.pdp__title { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--brown); margin: 10px 0 12px; }
.pdp__rating { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.pdp__rating:hover .muted { text-decoration: underline; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin: 20px 0 16px; flex-wrap: wrap; }
.pdp__price strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--brown); font-weight: 600; }
.pdp__price s { color: var(--muted); font-size: 1.1rem; }
.pdp__save { background: #fde7e5; color: var(--sale); font-weight: 700; font-size: 0.78rem; padding: 4px 10px; border-radius: 6px; }
.pdp__short { color: var(--muted); font-size: 1.02rem; }
.pdp__info .ticks { margin: 20px 0 26px; }

.pdp__opt { margin-bottom: 24px; }
.pdp__opt-head { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-width: 92px; padding: 10px 16px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; font-size: 0.9rem;
  transition: all 0.2s;
}
.chip small { font-weight: 500; font-size: 0.72rem; color: var(--muted); }
.chip:hover { border-color: var(--brown); }
.chip.is-active { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.chip.is-active small { color: rgba(255, 250, 244, 0.7); }

.pdp__buy { display: flex; gap: 12px; margin-bottom: 12px; }
.qty--lg { height: 54px; flex: 0 0 auto; }
.pdp__add { flex: 1; padding-inline: 18px; white-space: nowrap; }
.pdp__delivery {
  display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; padding: 14px 18px; border-radius: 14px;
  background: #eef5ec; color: #2d5a35; font-size: 0.9rem;
}
.pdp__delivery svg { font-size: 1.3rem; flex: 0 0 auto; margin-top: 1px; }
.pdp__perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.pdp__perks li { display: flex; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.pdp__perks svg { font-size: 1.4rem; color: var(--brown); flex: 0 0 auto; }
.pdp__perks b { display: block; color: var(--ink); font-size: 0.85rem; }
.pdp__share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 20px; font-size: 0.85rem; }

.pdp-tabs { padding-bottom: 90px; scroll-margin-top: 100px; }
.tabs--line { border-bottom: 1px solid var(--line); gap: 0; margin-bottom: 36px; overflow-x: auto; flex-wrap: nowrap; }
.tabs--line .tab {
  border-radius: 0; background: none !important; color: var(--muted); padding: 14px 22px; position: relative; white-space: nowrap;
  text-transform: none; letter-spacing: 0; font-size: 0.98rem;
}
.tabs--line .tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brown); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.tabs--line .tab.is-active { color: var(--brown); }
.tabs--line .tab.is-active::after { transform: scaleX(1); }
.tab-panel { display: none; animation: cardIn 0.5s var(--ease); max-width: 980px; }
.tab-panel.is-active { display: block; }
.tab-panel h2 { color: var(--brown); font-size: 1.6rem; margin-bottom: 14px; }
.tab-panel h3 { color: var(--brown); font-size: 1.1rem; margin-bottom: 10px; }
.tab-panel p { color: var(--muted); line-height: 1.75; }
.pdp-desc { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; }
.tip { background: var(--sand); border-radius: var(--radius); padding: 24px; border-left: 4px solid var(--brown); }
.tip__label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; color: var(--brown-2); display: block; margin-bottom: 8px; }
.allergens { display: flex; flex-wrap: wrap; gap: 8px; }
.allergens span { background: #fde7e5; color: #a3261f; padding: 6px 14px; border-radius: 99px; font-size: 0.82rem; font-weight: 600; }
.spec { border-collapse: collapse; width: 100%; max-width: 640px; }
.spec th, .spec td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; vertical-align: top; }
.spec th { width: 34%; font-weight: 600; }
.spec td { color: var(--muted); }

.reviews { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: start; }
.reviews__summary { background: var(--sand); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 100px; }
.reviews__summary > strong { font-family: var(--font-display); font-size: 3.4rem; color: var(--brown); line-height: 1; }
.reviews__summary > .stars { font-size: 1.2rem; }
.bars { margin: 18px 0; display: grid; gap: 8px; }
.bars__row { display: grid; grid-template-columns: 26px 1fr 36px; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.bars__bar { height: 7px; border-radius: 99px; background: var(--sand-2); overflow: hidden; }
.bars__bar i { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.review-list { display: grid; gap: 18px; }
.rev { padding: 22px 0; border-bottom: 1px solid var(--line); }
.rev__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rev__head > div { display: flex; flex-direction: column; flex: 1; }
.rev__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brown); color: var(--cream); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.rev h4 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 6px; }
.review-form { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 20px; animation: cardIn 0.4s var(--ease); }
.review-form h3 { margin-bottom: 12px; }
.rate-input { display: flex; gap: 4px; margin-bottom: 16px; }
.rate-input button { font-size: 1.8rem; color: var(--sand-2); transition: transform 0.2s, color 0.2s; line-height: 1; }
.rate-input button.is-on { color: var(--gold); }
.rate-input button:hover { transform: scale(1.15); }

/* Frequently bought together */
.fbt { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--cream); border-radius: var(--radius-lg); padding: 30px; margin-top: 36px; flex-wrap: wrap; }
.fbt__items { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fbt__plus { font-family: var(--font-display); font-size: 1.8rem; color: var(--muted); }
.fbt__item { display: flex; align-items: center; gap: 12px; cursor: pointer; max-width: 260px; }
.fbt__item input { accent-color: var(--brown); width: 18px; height: 18px; }
.fbt__item img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; }
.fbt__item span { font-size: 0.86rem; display: flex; flex-direction: column; color: var(--brown); font-weight: 600; }
.fbt__item b { color: var(--ink); font-weight: 500; }
.fbt__item a:hover { text-decoration: underline; }
.fbt__total { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.fbt__total strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--brown); }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; align-items: center; gap: 12px;
  background: rgba(255, 250, 244, 0.96); backdrop-filter: blur(12px); padding: 10px 16px; border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform 0.4s var(--ease);
}
.sticky-buy.is-show { transform: none; }
.sticky-buy img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.sticky-buy > div { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 0.85rem; }
.sticky-buy b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-buy span { color: var(--brown); font-weight: 600; }
.sticky-buy .btn { padding: 11px 20px; }

/* ============ Article page ============ */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; background: var(--gold); transform-origin: left; transform: scaleX(0); z-index: 80; }
.article-hero { background: var(--sand); padding-bottom: 140px; }
.article-hero__inner { max-width: 860px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.article-hero .crumbs { justify-content: center; }
.article-hero__title { font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--brown); margin: 20px 0 16px; }
.article-hero__excerpt { color: var(--muted); font-size: 1.12rem; max-width: 60ch; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 0.88rem; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.byline > div { display: flex; flex-direction: column; text-align: left; }
.byline b { color: var(--ink); }
.byline svg { vertical-align: -2px; }
.byline__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.byline--sm { justify-content: flex-start; margin: 18px 0; }
.byline--sm img { width: 38px; height: 38px; }

.article-cover { margin-top: -100px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 9; box-shadow: var(--shadow); padding: 0; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 70px; justify-content: center; padding: 70px 0 90px; }
.article-side { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 30px; }
.toc__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; color: var(--muted); display: block; margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: 0.88rem; color: var(--muted); transition: all 0.25s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--brown); border-color: var(--brown); font-weight: 600; }
.share-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

.prose { font-size: 1.08rem; line-height: 1.8; color: #4b3430; }
.prose > * + * { margin-top: 1.2em; }
.prose .lead { font-size: 1.28rem; line-height: 1.65; color: var(--ink); }
.prose .lead::first-letter { font-family: var(--font-display); font-size: 4.2rem; float: left; line-height: 0.85; padding: 6px 12px 0 0; color: var(--brown); font-weight: 600; }
.prose h2 { font-size: 1.8rem; color: var(--brown); margin-top: 2em; scroll-margin-top: 110px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--brown); }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: 2em 0; padding: 30px 34px; background: var(--sand); border-radius: var(--radius-lg); position: relative;
  font-family: var(--font-display); font-size: 1.4rem; line-height: 1.45; color: var(--brown); font-weight: 500;
}
.prose blockquote::before { content: "“"; position: absolute; top: -18px; left: 24px; font-size: 5rem; line-height: 1; color: var(--gold); }
.prose blockquote cite { display: block; margin-top: 14px; font-family: var(--font-body); font-size: 0.88rem; font-style: normal; color: var(--muted); font-weight: 500; }

.recipe { border: 2px dashed var(--sand-2); border-radius: var(--radius-lg); padding: 30px; margin-top: 2.4em !important; }
.recipe__head h2 { margin-top: 0; }
.recipe__meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.recipe__meta span { display: flex; flex-direction: column; background: var(--sand); padding: 12px 18px; border-radius: 12px; font-size: 0.78rem; color: var(--muted); line-height: 1.4; }
.recipe__meta svg { color: var(--brown); font-size: 1.1rem; margin-bottom: 4px; }
.recipe__meta b { color: var(--ink); font-size: 0.95rem; }
.recipe__body { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; margin: 26px 0; }
.recipe__body h3 { font-size: 1.15rem; color: var(--brown); margin-bottom: 10px; }
.checklist { list-style: none; padding: 0 !important; font-size: 0.95rem; }
.checklist label { display: flex; gap: 10px; cursor: pointer; }
.checklist input { accent-color: var(--brown); margin-top: 6px; }
.checklist input:checked + span { text-decoration: line-through; color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; font-size: 0.95rem; }
.steps li { counter-increment: s; position: relative; padding-left: 42px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--brown); color: var(--cream); display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 30px; border-top: 1px solid var(--line); margin-top: 3em !important; }
.tags a { background: var(--sand); padding: 6px 14px; border-radius: 99px; font-size: 0.85rem; transition: background 0.2s; }
.tags a:hover { background: var(--sand-2); }
.author-box { display: flex; gap: 20px; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.author-box h3 { font-size: 1.3rem; color: var(--brown); }
.author-box p { font-size: 0.94rem; color: var(--muted); line-height: 1.6; margin-top: 4px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav__link { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; color: var(--brown); line-height: 1.3; transition: all 0.3s var(--ease); }
.post-nav__link small { display: block; font-family: var(--font-body); color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.post-nav__link svg { flex: 0 0 auto; font-size: 1.2rem; }
.post-nav__link--next { text-align: right; justify-content: flex-end; }
.post-nav__link:hover { background: var(--sand); border-color: var(--sand); transform: translateY(-3px); }

/* ============ Blog index ============ */
.featured { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--cream); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-top: -40px; position: relative; z-index: 2; }
.featured__img { overflow: hidden; min-height: 380px; }
.featured__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.featured:hover .featured__img img { transform: scale(1.05); }
.featured__body { padding: 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.featured__body h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); color: var(--brown); margin: 16px 0 12px; }
.posts + .posts { margin-top: 26px; }
#postGrid { row-gap: 40px; }

/* ============ Shop ============ */
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 40px 0 100px; align-items: start; }
.filters { position: sticky; top: 100px; }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.filters__head h3 { font-size: 1.3rem; color: var(--brown); }
.filters__head .icon-btn { display: none; }
.filter-group { padding: 20px 0; border-bottom: 1px solid var(--line); }
.filter-group h4 { font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; display: flex; justify-content: space-between; }
.filter-group h4 b { color: var(--brown); letter-spacing: 0; }
.cat-list { display: grid; gap: 2px; }
.cat-list__item { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: 0.94rem; text-align: left; transition: background 0.2s; }
.cat-list__item em { font-style: normal; font-size: 0.75rem; background: var(--sand); color: var(--muted); padding: 2px 8px; border-radius: 99px; }
.cat-list__item:hover { background: var(--sand); }
.cat-list__item.is-active { background: var(--brown); color: var(--cream); }
.cat-list__item.is-active em { background: rgba(255, 250, 244, 0.18); color: var(--cream); }
input[type="range"] { width: 100%; accent-color: var(--brown); }
.range-ends { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); }
.switch { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 0.92rem; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 38px; height: 22px; border-radius: 99px; background: var(--sand-2); position: relative; transition: background 0.25s; flex: 0 0 auto; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: transform 0.3s var(--ease); }
.switch input:checked + span { background: var(--brown); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2px solid var(--brown); outline-offset: 2px; }
.filters > .btn { margin-top: 20px; }

.toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar__filters { display: none; }
.toolbar__search { display: flex; align-items: center; gap: 10px; background: var(--cream); border: 1.5px solid var(--line); border-radius: 99px; padding: 0 16px; height: 46px; flex: 1; min-width: 180px; max-width: 360px; transition: border-color 0.2s; }
.toolbar__search:focus-within { border-color: var(--brown); }
.toolbar__search svg { color: var(--muted); flex: 0 0 auto; }
.toolbar__search input { border: 0; background: none; outline: none; font: inherit; width: 100%; color: var(--ink); }
.toolbar__count { margin-left: auto; font-size: 0.88rem; }
.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; font: inherit; font-weight: 500; font-size: 0.9rem; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: 99px; height: 46px; padding: 0 42px 0 18px; cursor: pointer; outline: none; }
.select select:focus { border-color: var(--brown); }
.select svg { position: absolute; right: 16px; pointer-events: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; min-height: 4px; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; background: var(--sand); padding: 6px 10px 6px 14px; border-radius: 99px; font-size: 0.82rem; font-weight: 500; transition: background 0.2s; }
.active-filters button:hover { background: var(--sand-2); }
.active-filters svg { font-size: 0.85rem; }
#filtersOverlay { z-index: 95; }

/* ============ About ============ */
.about-hero { background: var(--sand); padding-bottom: 90px; }
.about-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.stats-row { display: flex; gap: 40px; margin-top: 36px; }
.stats-row strong { font-family: var(--font-display); font-size: 2.4rem; color: var(--brown); font-weight: 600; display: block; line-height: 1.1; }
.stats-row span { font-size: 0.85rem; color: var(--muted); }
.about-hero__media { position: relative; height: 520px; }
.about-hero__media img { position: absolute; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-hero__a { inset: 0 0 60px 60px; width: calc(100% - 60px); height: calc(100% - 60px); }
.about-hero__b { left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--sand); animation: float 5s ease-in-out infinite; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { background: var(--sand); border-radius: var(--radius-lg); padding: 34px; transition: transform 0.4s var(--ease); }
.value:hover { transform: translateY(-6px); }
.value svg { font-size: 2.2rem; color: var(--brown); stroke-width: 1.4; }
.value h3 { font-size: 1.35rem; color: var(--brown); margin: 16px 0 8px; }
.value p { color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 70px; top: 10px; bottom: 10px; width: 2px; background: var(--sand-2); }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 40px; padding: 18px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 64px; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: var(--brown); border: 3px solid var(--sand); }
.timeline__year { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--brown); padding-top: 4px; }
.timeline h3 { font-size: 1.3rem; color: var(--brown); margin-bottom: 4px; }
.timeline p { color: var(--muted); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { margin: 0; }
.member__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand-2); }
.member__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 0.8s var(--ease), filter 0.5s; }
.member:hover img { transform: scale(1.05); filter: none; }
.member figcaption { padding-top: 14px; display: flex; flex-direction: column; }
.member b { font-family: var(--font-display); font-size: 1.2rem; color: var(--brown); font-weight: 500; }
.member span { color: var(--muted); font-size: 0.88rem; }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--brown); font-weight: 500; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 30px; height: 30px; border-radius: 50%; background: var(--cream); position: relative; flex: 0 0 auto; transition: transform 0.35s var(--ease), background 0.3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--brown); transform: translate(-50%, -50%); border-radius: 2px; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.35s var(--ease); }
.faq__item[open] .faq__icon { background: var(--brown); }
.faq__item[open] .faq__icon::before { background: var(--cream); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); background: var(--cream); }
.faq__item p { color: var(--muted); padding: 0 50px 22px 0; animation: cardIn 0.4s var(--ease); }
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; }
.contact__list svg { font-size: 1.3rem; color: var(--brown); margin-top: 3px; flex: 0 0 auto; }
.contact__list div { display: flex; flex-direction: column; }
.contact__list span { color: var(--muted); font-size: 0.88rem; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 220px; }
.map svg { width: 100%; height: 100%; stroke-linecap: butt; }
.map__pin { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); background: var(--cream); padding: 8px 16px; border-radius: 99px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; color: var(--brown); }
.map__pin::after { content: ""; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); border: 8px solid transparent; border-top-color: var(--cream); border-bottom: 0; }
.map__pin .logo__mark { width: 22px; height: 22px; }
.contact__form { background: var(--sand); border-radius: var(--radius-lg); padding: 36px; }

/* ============ Checkout ============ */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: start; padding-bottom: 100px; }
.checkout__title { font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--brown); }
.steps-bar { list-style: none; padding: 0; margin: 18px 0 30px; display: flex; gap: 10px; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.steps-bar li { display: flex; align-items: center; gap: 10px; }
.steps-bar li + li::before { content: ""; width: 30px; height: 1.5px; background: var(--line); }
.steps-bar .is-done { color: var(--brown); }
.steps-bar .is-active { color: var(--ink); }
.co-block { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin: 0 0 20px; background: var(--cream); }
.co-block legend { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--brown); padding: 0 8px; display: flex; align-items: center; gap: 10px; }
.co-block legend span { width: 28px; height: 28px; border-radius: 50%; background: var(--brown); color: var(--cream); display: grid; place-items: center; font-size: 0.85rem; }
.method { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.method__opt { cursor: pointer; }
.method__opt input { position: absolute; opacity: 0; }
.method__opt > span { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; height: 100%; transition: all 0.2s; }
.method__opt svg { font-size: 1.3rem; color: var(--brown); margin-bottom: 6px; }
.method__opt small { color: var(--muted); font-size: 0.8rem; }
.method__opt input:checked + span { border-color: var(--brown); background: var(--sand); box-shadow: inset 0 0 0 1px var(--brown); }
.method__opt input:focus-visible + span { outline: 2px solid var(--brown); outline-offset: 2px; }
.summary { position: sticky; top: 100px; background: var(--sand); border-radius: var(--radius-lg); padding: 30px; margin-top: 78px; }
.summary h2 { font-size: 1.4rem; color: var(--brown); margin-bottom: 18px; }
.summary__lines { display: grid; gap: 14px; max-height: 320px; overflow-y: auto; padding: 8px 4px 14px 0; border-bottom: 1px solid var(--line); }
.sum-line { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; font-size: 0.9rem; }
.sum-line__img { position: relative; }
.sum-line__img img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; }
.sum-line__img i { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 99px; background: var(--brown); color: var(--cream); font-style: normal; font-size: 0.72rem; font-weight: 700; display: grid; place-items: center; }
.sum-line > div { display: flex; flex-direction: column; }
.sum-line > span { font-weight: 600; }
.promo { display: flex; gap: 8px; margin-top: 18px; }
.promo input { flex: 1; min-width: 0; font: inherit; border: 1.5px solid var(--line); border-radius: 99px; padding: 0 16px; background: var(--cream); outline: none; text-transform: uppercase; }
.promo input:focus { border-color: var(--brown); }
.promo__hint { margin: 8px 0 0 6px; }
.totals { margin: 18px 0 0; display: grid; gap: 10px; }
.totals div { display: flex; justify-content: space-between; font-size: 0.94rem; }
.totals dd { margin: 0; font-weight: 600; }
.totals__disc { color: #2d7a3c; }
.totals__disc button { color: var(--muted); vertical-align: -2px; }
.totals__grand { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; font-size: 1.1rem !important; }
.totals__grand dd { font-family: var(--font-display); font-size: 1.6rem; color: var(--brown); }
.summary__trust { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 0.84rem; color: var(--muted); }
.summary__trust li { display: flex; gap: 10px; align-items: center; }
.summary__trust svg { color: var(--brown); font-size: 1.1rem; }
.confirm { max-width: 640px; text-align: center; padding: 80px 0 100px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.confirm__check { width: 84px; height: 84px; border-radius: 50%; background: #e3f2e3; color: #2d7a3c; display: grid; place-items: center; font-size: 2.4rem; animation: pop 0.6s var(--ease); }
.confirm__check svg { stroke-width: 2.4; }
@keyframes pop { 0% { transform: scale(0.3); opacity: 0; } 70% { transform: scale(1.1); } }
.confirm h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--brown); }
.confirm__card { width: 100%; text-align: left; background: var(--sand); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 14px; margin: 16px 0; }
.confirm__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pdp { gap: 40px; }
  .article-layout { grid-template-columns: minmax(0, 720px); }
  .article-side { position: static; flex-direction: row; flex-wrap: wrap; justify-content: space-between; background: var(--sand); padding: 22px; border-radius: var(--radius-lg); }
  .share-col { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .share-col .toc__label { margin: 0 6px 0 0; }
}

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { position: static; grid-template-columns: 1fr; }
  .pdp__main, .pdp__thumbs { grid-column: 1; }
  .pdp__thumbs { grid-row: 2; flex-direction: row; }
  .pdp__thumb { width: 72px; }
  .pdp-desc, .reviews { grid-template-columns: 1fr; }
  .reviews__summary { position: static; }
  .sticky-buy { display: flex; }
  .shop { grid-template-columns: 1fr; }
  .filters {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); z-index: 100; background: var(--light);
    padding: 22px 24px; overflow-y: auto; transform: translateX(-100%); transition: transform 0.5s var(--ease);
  }
  .filters.is-open { transform: none; }
  .filters__head .icon-btn { display: grid; }
  .toolbar__filters { display: inline-flex; }
  .featured { grid-template-columns: 1fr; }
  .featured__img { min-height: 260px; }
  .featured__body { padding: 30px; }
  .about-hero__grid, .faq-wrap, .contact, .checkout { grid-template-columns: 1fr; }
  .about-hero__media { height: 400px; }
  .values { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .summary { position: static; margin-top: 0; order: -1; }
  .grid--mini { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .pdp__buy { flex-wrap: wrap; }
  .pdp__add { order: 3; flex-basis: 100%; }
  .qty--lg { flex: 1; justify-content: space-between; }
  .pdp__perks { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; gap: 0; }
  .method { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .toolbar__search { max-width: none; order: 3; flex-basis: 100%; }
  .toolbar__count { margin-left: 0; }
  .post-nav { grid-template-columns: 1fr; }
  .article-cover { margin-top: -110px; aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .article-hero { padding-bottom: 130px; }
  .prose { font-size: 1rem; }
  .prose .lead { font-size: 1.12rem; }
  .prose blockquote { font-size: 1.15rem; padding: 26px 22px; }
  .recipe { padding: 20px; }
  .recipe__body { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; text-align: center; }
  .stats-row { gap: 22px; }
  .stats-row strong { font-size: 1.8rem; }
  .about-hero__media { height: 320px; }
  .timeline::before { left: 50px; }
  .timeline li { grid-template-columns: 50px 1fr; gap: 30px; }
  .timeline li::before { left: 44px; }
  .timeline__year { font-size: 1.05rem; }
  .fbt { padding: 20px; }
  .fbt__total { align-items: stretch; width: 100%; }
  .contact__form { padding: 24px; }
  .to-top { bottom: 80px; right: 16px; }
}

@media print {
  .announce, .header, .footer, .article-side, .read-progress, .tags, .author-box, .post-nav, .section, .to-top, .toast, .drawer, .overlay { display: none !important; }
  .article-cover { margin: 0; box-shadow: none; }
  .article-hero { padding-bottom: 20px; }
}
