/* Style changes GK approved after the Shopify export. Loaded after the theme's own CSS. */

/* 12 Oct 2026, "shouldn't see horizontal bar": the UNESCO slideshow (ai_gen_block_6b2843e) is
   100vw wide, which includes the scrollbar on Windows, so the page scrolled sideways.
   clip (not hidden) keeps the sticky header working. */
html,
body {
  overflow-x: clip;
}

/* 12 Oct 2026: the "Subscribe and save" banner was removed (no subscriptions); GK kept its
   coffee-cup image as the footer background. The footer section has no image setting. */
#shopify-section-sections--kama__footer_4iyhwC .section-background {
  /* cream wash keeps the footer text readable over the cup and chocolate; WebP copy made by render.mjs (525 KB PNG) */
  background:
    linear-gradient(rgb(242 229 204 / 0.55), rgb(242 229 204 / 0.55)),
    url('/images/webp/Gemini_Generated_Image_6qzui06qzui06qzu.webp') center / cover no-repeat;
}

/* In-page anchors (e.g. footer "Wholesale" → /collections/all#wholesale) land below the sticky header. */
.gk-anchor {
  display: block;
  scroll-margin-top: 100px;
}

/* ---- Font system (12 Oct 2026, GK's font audit) ----
   Reference: "Grown in a UNESCO biodiversity hotspot", Cormorant Bold. Every heading matches it;
   menu and buttons use Cormorant SemiBold (Regular is too thin at 16-20px); paragraphs stay Lato.
   !important is needed because theme text blocks set their font per block, inline. */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-accent--family), serif !important;
  font-weight: 700 !important;
}
:is(h1, h2, h3, h4, h5, h6) :is(strong, b) {
  font-weight: inherit; /* "Responsibly Sourced" was the only band heading wrapped in bold */
}
.button,
.button-secondary,
button.button,
.email-signup__button,
.menu-list__link,
.menu-list__link-title,
summary.menu__heading,
.accordion summary,
details > summary {
  font-family: var(--font-accent--family), serif !important;
  font-weight: 600 !important;
}

/* The wholesale section (a Shopify AI-generated block) hard-codes Arial on its accordion questions and
   its Send button; bring both into the system, and make Send look like the theme's other buttons. */
[class*='ai-wholesale-accordion-button-'] {
  font-family: var(--font-accent--family), serif !important;
  font-weight: 600 !important;
  font-size: 1.15rem !important;
}
[class*='ai-wholesale-form-submit-'] {
  font-family: var(--font-accent--family), serif !important;
  font-weight: 600 !important;
  font-size: 1.05rem !important;
  color: var(--color-primary-button-text) !important;
  background: var(--color-primary-button-background) !important;
  border: 0 !important;
  border-radius: 50px !important;
}
[class*='ai-wholesale-form-submit-']:hover {
  background: #103f3f !important;
}

/* Footer menu links use the theme's h5 preset, so the heading rule made them bold.
   SemiBold, slightly larger, reads better at footer scale. */
#shopify-section-sections--kama__footer_4iyhwC .menu a {
  font-weight: 600 !important;
  font-size: 1.0625rem;
}

/* 12 Oct 2026: paragraphs justified (GK). Only left-aligned text blocks and product descriptions;
   centred lines (banner subtitles, band captions) stay centred. Hyphenation keeps word gaps even. */
.text-block--align-left p,
.product-details .rte p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  /* the theme's "balance" wrap shortens lines on purpose; justified, that opened huge word gaps */
  text-wrap: wrap !important;
}

/* About page fade-up as sections scroll in (classes added by gk-edits.js). */
.gk-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.gk-reveal--in {
  opacity: 1;
  transform: none;
}

/* 18 Oct 2026 (GK): header menu was big and crowded. Smaller text (render.mjs), more room each side,
   and a thin divider between items. The overflow "More" item (slot="more") gets no divider. */
.menu-list__link-title {
  padding-inline: calc(var(--gap-xl) / 2 * 1.6);
}
.menu-list__link-title { position: relative; }
header .menu-list__list-item:not([slot='more']) + .menu-list__list-item:not([slot='more']) .menu-list__link-title::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 0.9em; transform: translateY(-50%);
  background: currentColor; opacity: 0.3;
}

/* 12 Oct 2026: menu links turn the palette green (#103f3f, the theme's primary button colour) on hover.
   The theme's own hover keeps the same colour, which read as "nothing happened". */
header .menu-list__link:hover,
header .menu-list__link:focus-visible,
header .menu-list__link:hover .menu-list__link-title {
  color: #103f3f !important;
  opacity: 1 !important;
}

/* 12 Oct 2026: green-page banner buttons. The theme's teal and near-black disappeared into the forest photo.
   6 Dec 2026 (button audit): gold became a third button colour, so the banner follows the dark-section rule
   instead: a solid cream main button and, GK 7 Dec 2026, a gold secondary, both teal on hover. */
#shopify-section-template--kama__hero .button {
  --button-color: #103f3f;
  --button-background-color: #f6eddd;
  --button-border-color: #f6eddd;
  color: #103f3f;
  background-color: #f6eddd;
  border-color: #f6eddd;
}
#shopify-section-template--kama__hero .button-secondary {
  --button-color: #3e160a;
  --button-background-color: #c5972d;
  --button-border-color: #c5972d;
  color: #3e160a;
  background-color: #c5972d;
  border-color: #c5972d;
}
#shopify-section-template--kama__hero .button:hover,
#shopify-section-template--kama__hero .button-secondary:hover {
  --button-color: #f6eddd;
  --button-background-color: #103f3f;
  --button-border-color: #103f3f;
  color: #f6eddd;
  background-color: #103f3f;
  border-color: #103f3f;
}

/* ---- Phone tap targets (12 Oct 2026). Fingers need about 44px; these were 10 to 32px. ---- */
@media (max-width: 749px) {
  /* footer menu links were 22px tall: make each 44px, eating into the list's own 10px gaps so the list grows less */
  #shopify-section-sections--kama__footer_4iyhwC li.menu__item > a {
    display: inline-block;
    padding-block: 11px;
    margin-block: -5px;
  }
}
/* Small links and buttons get a bigger invisible hit area; the visible size and layout stay the same. */
.footer-utilities__text a,
.social-icons__icon-wrapper a,
[class*='ai-slideshow-nav-button-'],
[class*='ai-slideshow-dot-'] {
  position: relative;
}
.footer-utilities__text a::after,
.social-icons__icon-wrapper a::after,
[class*='ai-slideshow-nav-button-']::after,
[class*='ai-slideshow-dot-']::after {
  content: '';
  position: absolute;
  inset: -10px;
}
/* slideshow dots sit 10px apart, so their hit areas stop where the next dot's begins */
[class*='ai-slideshow-dot-']::after {
  inset: -14px -6px;
}
/* these clip their own overflow, so padding (cancelled by a negative margin) enlarges them instead */
button.policy-list-trigger,
button.facets-toggle__button {
  padding-block: 14px;
  margin-block: -14px;
}

/* GK, 18 Nov 2026: Rainforest Alliance line in the green page's estate section. A hairline above sets it
   apart from the story; the seal keeps its own colours (RA rules) and multiply drops its white square. */
.kama-cert {
  display: flex; align-items: center; gap: 18px;
  margin-top: 28px !important; padding-top: 22px;
  border-top: 1px solid rgb(var(--color-foreground-rgb) / 0.15);
  text-align: left !important;
}
.kama-cert img { flex: none; width: 88px; height: auto; mix-blend-mode: multiply; }
.kama-cert strong { font-weight: 600; }
@media (max-width: 749px) { .kama-cert img { width: 72px; } }

/* GK, 5 Dec 2026: coffee pages (added-templates/coffee-buy.html, coffee-sections.html). A coffee that is not on
   sale yet hides the theme's price, options and Add to cart, and shows its date and a "Tell me" button instead. */
.product-details:has(.kama-coffee-buy--coming) :is(product-price, .variant-picker, .buy-buttons-block),
.product-details:has(.kama-coffee-buy--sold-out) :is(product-price, .variant-picker, .buy-buttons-block),
body:has(.kama-coffee-buy--coming) sticky-add-to-cart,
body:has(.kama-coffee-buy--sold-out) sticky-add-to-cart { display: none !important; }
.kama-coffee-buy, .kama-coffee-buy__drink { display: grid; gap: var(--kama-buy-gap, 10px); } /* kama-experience.js 1b widens the gap */
.kama-coffee-buy p { margin: 0; }
.kama-coffee-buy__process { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.kama-coffee-buy__notes { font-family: var(--font-heading--family); font-size: 1.5rem; line-height: 1.25; }
.kama-coffee-buy__when { display: flex; align-items: center; gap: 10px; margin-top: 8px !important; font-weight: 600; }
.kama-coffee-buy__dot { width: 9px; height: 9px; border-radius: 50%; background: #3f6b3a; box-shadow: 0 0 0 4px rgb(63 107 58 / 0.18); }
.kama-coffee-buy__cta { justify-self: start; margin-bottom: 8px; }
/* GK, 5 Dec 2026: bag sizes, prices and grind on every coffee page. The theme's single price line goes, since the
   list shows both sizes; on a coffee on sale the theme's options and Add to cart stay below it. */
.product-details:has(.kama-coffee-buy) product-price { display: none !important; }
.kama-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.kama-sizes li { display: flex; align-items: baseline; gap: 10px; padding: 9px 16px; border-radius: 6px; border: 1px solid rgb(var(--color-foreground-rgb) / 0.25); }
.kama-sizes strong { font-size: 1.15rem; font-weight: 600; }
.kama-sizes .kama-sizes__grind { border: 0; padding-inline: 4px; opacity: 0.75; font-size: 0.95rem; }
.kama-coffee-buy--sold-out .kama-sizes { opacity: 0.6; }
/* GK, 5 Dec 2026: copy GK has not approved yet carries a small "Draft" tag (coffees.mjs DRAFT_COPY) */
.kama-draft { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 9px; border-radius: 40px; font-family: var(--font-body--family);
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; background: #a85a3b; color: #fff; }
/* the estate's own process notes, set apart from the story */
.kama-coffee__notes { margin: 20px 0 0; padding: 14px 0 0 18px; border-left: 2px solid rgb(var(--color-foreground-rgb) / 0.2); }
.kama-coffee__notes p:last-child { margin: 0; font-size: 0.98rem; }
/* brew guide: two numbered lines */
/* GK, 7 Dec 2026: no step numbers; an intro line above and GK's advice below */
.kama-brew ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 56px; margin: 0; padding: 0; list-style: none; }
.kama-brew li { padding: 16px 0 0; border-top: 1px solid rgb(var(--color-foreground-rgb) / 0.15); line-height: 1.6; }
.kama-brew__intro { margin: 0 0 14px; }
.kama-brew__outro { margin: 18px 0 0; font-family: var(--font-heading--family); font-size: 1.25rem; font-style: italic; }
@media (max-width: 749px) { .kama-brew ul { grid-template-columns: 1fr; } }
/* GK, 5 Dec 2026 (AEO): the answer block that opens each page, from the page's own description */
.kama-answer { padding-block: 40px 8px; }
/* 5 Dec 2026: the theme has no .page-width rule, so the block sat against the left edge; it now lines up with the sections. */
.kama-answer.page-width { box-sizing: border-box; padding-inline: var(--page-margin, 16px); }
.kama-answer__text { max-width: 62ch; margin: 0; font-size: 1.2rem; line-height: 1.6; }
.kama-answer--body { margin-bottom: 24px; }
.kama-coffee-answer { padding-top: 16px; border-top: 1px solid rgb(var(--color-foreground-rgb) / 0.15); line-height: 1.6; }

.kama-coffee { display: grid; gap: 72px; }
.kama-coffee h2 { margin: 0 0 16px; }
.kama-coffee__eyebrow { margin: 0 0 6px; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.kama-coffee__facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid rgb(var(--color-foreground-rgb) / 0.15); }
.kama-coffee__facts dl > div { padding: 18px 16px 18px 0; border-bottom: 1px solid rgb(var(--color-foreground-rgb) / 0.15); }
.kama-coffee dt { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.65; margin-bottom: 4px; }
.kama-coffee dd { margin: 0; font-size: 1.05rem; }
.kama-coffee__estate { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.kama-coffee__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.kama-coffee__text p { max-width: 52ch; line-height: 1.65; }
.kama-coffee__roasters { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 56px; padding: 40px; border-radius: 6px;
  background: rgb(var(--color-foreground-rgb) / 0.06); }
.kama-coffee__roasters p { margin: 0; max-width: 52ch; line-height: 1.6; }
.kama-coffee__lot { display: grid; gap: 0; margin: 0; align-self: start; }
.kama-coffee__lot > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgb(var(--color-foreground-rgb) / 0.15); }
.kama-coffee__lot dt { margin: 0; align-self: center; }
.kama-coffee__lot dd { text-align: right; }
.kama-coffee__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.kama-coffee__print { background: none; border: 0; padding: 8px 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: inherit; }
.kama-coffee__small { grid-column: 1 / -1; font-size: 0.85rem; opacity: 0.75; }
@media (max-width: 989px) {
  .kama-coffee__facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kama-coffee__estate, .kama-coffee__roasters { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 749px) {
  .kama-coffee { gap: 48px; }
  .kama-coffee__roasters { padding: 24px 20px; }
}
/* Print the lot sheet: only the facts and the green lot, on one page */
@media print {
  body:has(.kama-coffee) header, body:has(.kama-coffee) footer, body:has(.kama-coffee) .shopify-section:not(:has(.kama-coffee)):not(:has(.product-details)),
  .kama-coffee__estate .kama-coffee__photo, .kama-coffee__actions, .kama-coffee-buy__cta, .product-media-gallery, media-gallery { display: none !important; }
  .kama-coffee { gap: 24px; }
  .kama-coffee__roasters { background: none; border: 1px solid #999; }
}

.kama-coffee-answer--lead { border: 0; padding: 0; margin: 0 0 24px; max-width: 70ch; }
/* card of a coffee that is coming: the date badge reads as news, and the empty price line closes up */
product-card .price:empty, product-card .compare-at-price:empty { display: none; }

/* GK, 5 Dec 2026: "Questions roasters ask" on the green page. Plain details/summary, so it opens without scripts. */
.kama-faq { max-width: 860px; }
.kama-faq h2 { margin: 0 0 16px; }
.kama-faq details { border-bottom: 1px solid rgb(var(--color-foreground-rgb) / 0.15); }
.kama-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none;
  font-family: var(--font-heading--family); font-size: 1.2rem; }
.kama-faq summary::-webkit-details-marker { display: none; }
.kama-faq summary::after { content: '+'; font-family: var(--font-body--family); opacity: 0.6; }
.kama-faq details[open] summary::after { content: '\2212'; }
.kama-faq details p { margin: 0 0 20px; max-width: 68ch; line-height: 1.65; }

/* ---------- GK, 5 Dec 2026: experience layer (kama-experience.js). Each part reads correctly without the script. ---------- */
/* drink / roast switch */
.kama-switch { display: inline-flex; padding: 4px; border-radius: 40px; background: rgb(var(--color-foreground-rgb) / 0.08); justify-self: start; margin-bottom: 6px; }
.kama-switch button { border: 0; background: none; font: inherit; font-size: 0.9rem; padding: 8px 18px; border-radius: 40px; cursor: pointer; color: inherit; transition: background 0.2s, color 0.2s; }
.kama-switch button[aria-pressed='true'] { background: var(--color-primary-button-background); color: var(--color-primary-button-text); }
.kama-coffee-buy__roast { display: grid; gap: var(--kama-buy-gap, 10px); }
.kama-coffee-buy__roast[hidden], .kama-coffee-buy [hidden] { display: none !important; }
.kama-coffee-buy__price { font-size: 1.15rem; }
body.kama-mode-roast .product-details :is(product-price, .variant-picker, .buy-buttons-block), body.kama-mode-roast sticky-add-to-cart { display: none !important; }
/* score dial and note chips */
.kama-cup { display: grid; grid-template-columns: auto 1fr; gap: 24px 56px; align-items: center; }
.kama-dial { position: relative; width: 220px; text-align: center; }
.kama-dial svg { display: block; width: 100%; overflow: visible; }
.kama-dial path { fill: none; stroke-width: 7; stroke-linecap: round; }
.kama-dial__track { stroke: rgb(var(--color-foreground-rgb) / 0.12); }
.kama-dial__fill { stroke: #153d3f; stroke-dasharray: calc((var(--score) - 80) * 5) 100; }
.kama-dial__num { position: absolute; inset: 44px 0 auto; margin: 0; font-family: var(--font-heading--family); font-size: 3rem; line-height: 1; }
.kama-dial__label { margin: 8px auto 0; max-width: 20ch; font-size: 0.8rem; line-height: 1.35; opacity: 0.7; }
.kama-notes ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 14px; padding: 0; list-style: none; }
.kama-notes li { padding: 9px 20px; border-radius: 40px; border: 1px solid rgb(var(--color-foreground-rgb) / 0.3); font-family: var(--font-heading--family); font-size: 1.25rem; }
.kama-notes__process { margin: 0; opacity: 0.75; }
/* journey line */
.kama-journey ol { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; }
.kama-journey li { position: relative; display: grid; gap: 4px; padding: 26px 16px 0 0; font-size: 0.95rem; opacity: 0.55; }
.kama-journey li::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: rgb(var(--color-foreground-rgb) / 0.2); }
.kama-journey li:last-child::before { right: auto; width: 0; }
.kama-journey__dot { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--color-background, #f1e4cb); border: 2px solid rgb(var(--color-foreground-rgb) / 0.35); }
.kama-journey li span:last-child { font-size: 0.85rem; }
.kama-journey li.is-done { opacity: 0.85; }
.kama-journey li.is-done::before { background: #153d3f; }
.kama-journey li.is-done .kama-journey__dot { background: #153d3f; border-color: #153d3f; }
.kama-journey li.is-now { opacity: 1; }
.kama-journey li.is-now .kama-journey__dot { background: #a85a3b; border-color: #a85a3b; box-shadow: 0 0 0 5px rgb(168 90 59 / 0.22); }
/* estate walk */
.kama-walk { position: relative; margin: 0; }
.kama-walk img { display: block; width: 100%; height: auto; border-radius: 4px; }
.kama-walk ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 0.9rem; }
.kama-walk li button, .kama-walk figcaption { display: none; }
.kama-walk li p { margin: 0; }
.kama-walk.is-live ul { position: absolute; inset: 0; margin: 0; display: block; }
.kama-walk.is-live li { position: absolute; left: var(--x); top: var(--y); }
.kama-walk.is-live li button { display: block; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 2px solid #fff; background: rgb(168 90 59 / 0.9); cursor: pointer; box-shadow: 0 0 0 6px rgb(255 255 255 / 0.28); }
.kama-walk.is-live li button::after { content: '+'; color: #fff; font-size: 16px; line-height: 20px; }
.kama-walk.is-live li button[aria-expanded='true']::after { content: '\2212'; }
.kama-walk.is-live li p { display: none; position: absolute; z-index: 2; top: 20px; left: -13px; width: 230px; padding: 12px 14px; border-radius: 6px; background: #fff; color: #1d1d1d; box-shadow: 0 6px 24px rgb(0 0 0 / 0.25); line-height: 1.45; }
.kama-walk.is-live li p strong { display: block; }
.kama-walk.is-live li:last-child p { left: auto; right: -13px; }
.kama-walk.is-live li button[aria-expanded='true'] + p { display: block; }
.kama-walk.is-live figcaption { display: block; margin-top: 8px; font-size: 0.8rem; opacity: 0.65; }
/* flavour finder */
.kama-finder h2 { margin: 0 0 6px; }
.kama-finder__lede { margin: 0 0 22px; max-width: 56ch; }
.kama-finder__slider { display: none; max-width: 640px; margin-bottom: 30px; }
.kama-finder.is-live .kama-finder__slider { display: block; }
.kama-finder__ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.85rem; opacity: 0.75; }
.kama-finder input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; cursor: pointer;
  background: linear-gradient(90deg, #4a2c1a, #a85a3b 50%, #9b2d4f); }
.kama-finder input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #f1e4cb; border: 3px solid #153d3f; box-shadow: 0 2px 8px rgb(0 0 0 / 0.25); }
.kama-finder input[type='range']::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #f1e4cb; border: 3px solid #153d3f; }
.kama-finder__list { display: flex; gap: 14px; margin: 0; padding: 4px 0 12px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; }
.kama-finder__list li { flex: 1 0 165px; scroll-snap-align: start; transition: opacity 0.25s; }
.kama-finder.is-live .kama-finder__list li:not(.is-match) { opacity: 0.72; }
.kama-finder__list a { display: grid; gap: 6px; height: 100%; padding: 18px; border-radius: 6px; text-decoration: none; color: inherit; border: 1px solid rgb(var(--color-foreground-rgb) / 0.18); transition: border-color 0.25s, background 0.25s; }
.kama-finder__list li.is-match a { border-color: #153d3f; background: rgb(21 61 63 / 0.07); }
.kama-finder__name { font-family: var(--font-heading--family); font-size: 1.5rem; }
.kama-finder__notes { line-height: 1.4; }
.kama-finder__meta { font-size: 0.8rem; opacity: 0.7; margin-top: auto; }
.kama-finder__match { display: none; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #153d3f; font-weight: 600; }
.kama-finder.is-live li.is-match .kama-finder__match { display: block; }
/* order calculator */
.kama-calc { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 20px; margin-top: 32px; padding: 22px 24px; border-radius: 6px; background: rgb(var(--color-foreground-rgb) / 0.06); }
.kama-calc h3 { flex: 1 0 100%; margin: 0; font-size: 1.3rem; }
.kama-calc label { display: grid; gap: 6px; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
.kama-calc select, .kama-calc input { font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0; padding: 10px 12px; border: 1px solid rgb(var(--color-foreground-rgb) / 0.25); border-radius: 8px; background: #fff8ea; color: inherit; }
.kama-calc__bags { display: flex; gap: 6px; }
.kama-calc__bags input { width: 70px; text-align: center; }
.kama-calc__bags button { width: 42px; border-radius: 8px; border: 1px solid rgb(var(--color-foreground-rgb) / 0.25); background: none; font-size: 1.2rem; cursor: pointer; color: inherit; }
.kama-calc output { flex: 1 1 200px; font-size: 1.1rem; padding-bottom: 8px; }
.kama-calc output strong { font-family: var(--font-heading--family); font-size: 1.6rem; font-weight: 400; display: block; }
.kama-calc__note { flex: 1 0 100%; margin: 0; font-size: 0.8rem; opacity: 0.7; }
/* sample tray */
.kama-tray { position: fixed; z-index: 30; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 24px);
  padding: 10px 10px 10px 18px; border-radius: 60px; background: #153d3f; color: #f1e4cb; box-shadow: 0 8px 30px rgb(0 0 0 / 0.3); }
.kama-tray[hidden] { display: none; }
.kama-tray__label { font-size: 0.85rem; white-space: nowrap; }
.kama-tray__chips { display: flex; gap: 6px; overflow-x: auto; }
.kama-tray__chips button { white-space: nowrap; border: 1px solid rgb(241 228 203 / 0.5); background: none; color: inherit; font: inherit; font-size: 0.85rem; padding: 5px 12px; border-radius: 40px; cursor: pointer; }
.kama-tray__go { white-space: nowrap; padding: 10px 18px; border-radius: 40px; background: #f1e4cb; color: #153d3f; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
/* newsletter topics */
.kama-topics { border: 0; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.85rem; }
.kama-topics legend { padding: 0; margin-bottom: 4px; opacity: 0.8; }
.kama-topics label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.kama-topics input { accent-color: #153d3f; }
.kama-topics__status { margin: 8px 0 0; font-size: 0.85rem; min-height: 1.2em; }
@media (max-width: 989px) {
  .kama-cup { grid-template-columns: 1fr; justify-items: start; }
  .kama-journey ol { grid-template-columns: 1fr; }
  .kama-journey li { padding: 0 0 22px 30px; }
  .kama-journey li::before { left: 6px; right: auto; top: 14px; bottom: 0; width: 2px; height: auto; }
  .kama-journey li:last-child::before { display: none; }
  .kama-walk.is-live li p { width: 190px; }
  .kama-tray__label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .kama-finder__list li, .kama-finder__list a, .kama-switch button { transition: none; } }
.kama-calc[hidden] { display: none; }
.kama-coffee-buy .kama-offer__size { margin-left: 8px; padding: 1px 9px; border-radius: 40px; border: 1px solid rgb(var(--color-foreground-rgb) / 0.35); font-weight: 400; font-size: 0.8rem; }

/* GK, 5 Dec 2026 (CRO): the buy column, top right, holds the notes, score, date and the one action. */
.kama-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.kama-chips li { padding: 6px 16px; border-radius: 40px; border: 1px solid rgb(var(--color-foreground-rgb) / 0.3); font-family: var(--font-heading--family); font-size: 1.15rem; }
.kama-chips__score { background: #153d3f; color: #f1e4cb; border-color: #153d3f !important; }
.kama-chips__score strong { font-weight: 600; }
.kama-coffee-buy__drink { display: grid; gap: var(--kama-buy-gap, 10px); }
.kama-notify { display: flex; flex-wrap: wrap; gap: 8px; max-width: 460px; }
.kama-notify input[type='email'] { flex: 1 1 200px; min-width: 0; padding: 14px 18px; border: 1px solid rgb(var(--color-foreground-rgb) / 0.3); border-radius: 40px; background: #fff8ea; font: inherit; color: inherit; }
.kama-notify .button { flex: 0 0 auto; }
.kama-notify__status { flex: 1 0 100%; margin: 0; font-size: 0.9rem; min-height: 0; }
.kama-notify__status:empty { display: none; }
.kama-coffee-buy__trust { font-size: 0.85rem; opacity: 0.75; }
.kama-coffee__factrow { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: center; }
.kama-coffee__factrow > dl:only-child { grid-column: 1 / -1; }
@media (max-width: 989px) { .kama-coffee__factrow { grid-template-columns: 1fr; justify-items: start; } .kama-coffee__factrow dl { width: 100%; } }
@media (max-width: 749px) { .kama-notify .button { flex: 1 0 100%; } }

/* GK, 5 Dec 2026: the About paragraph in the buy column, spaced so the column fills the height beside the label */
.kama-coffee-about { margin-top: 24px; padding-top: 28px; border-top: 1px solid rgb(var(--color-foreground-rgb) / 0.15); }
.kama-coffee-about h2 { margin: 0 0 14px; }
.kama-coffee-about .kama-coffee-answer--lead { margin: 0; font-size: 1.1rem; line-height: 1.75; }
@media (max-width: 749px) { .kama-coffee-about { margin-top: 24px; padding-top: 24px; } }
.kama-journey__now { justify-self: start; padding: 1px 9px; border-radius: 40px; background: #a85a3b; color: #fff; font-style: normal; font-size: 0.75rem; letter-spacing: 0.04em; }

/* GK, 6 Dec 2026: the home answer line sits under "Our Selection" as its intro, in body text, not in a band. */
.kama-answer--inline { padding: 0; margin: 0; font-size: 1.1rem; line-height: 1.5; }

/* GK, 6 Dec 2026: "Header logo doesn't have enough padding". The theme's logo padding setting applies
   on desktop only, so phones get 10 px above and below the logo here. */
@media screen and (max-width: 749px) {
  header .header-logo { padding-block: 10px; }
}

/* GK, 6 Dec 2026 (button audit): the bean and size pickers drew the chosen option with a cream border
   on a cream page, so nothing showed which one was picked. Chosen: teal border and text. Others: a light outline. */
.variant-option__button-label {
  border: 1px solid rgba(61, 38, 25, 0.25) !important;
  background-color: transparent !important;
}
.variant-option__button-label:has(input:checked) {
  border: 2px solid #103f3f !important;
  color: #103f3f !important;
  background-color: rgba(16, 63, 63, 0.06) !important;
}

/* GK, 6 Dec 2026: each Size button shows its price (render.mjs fixBody) */
.variant-option__button-label__text strong { margin-left: 8px; font-weight: 600; }

/* GK, 6 Dec 2026: About under Add to cart on a coffee on sale (coffee-about.html) */
.kama-coffee-about--after { margin-top: 12px; }

/* GK, 6 Dec 2026: the basket panel (kama-cart.js), a drawer from the right on the site's cream */
.kama-basket { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(420px, 100vw); max-width: 100vw; padding: 24px;
  border: 0; background: #f2e5cc; color: #3d2619; display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; }
.kama-basket:not([open]) { display: none; }
.kama-basket::backdrop { background: rgb(0 0 0 / 0.4); }
.kama-basket__head { display: flex; justify-content: space-between; align-items: center; }
.kama-basket__head h2 { margin: 0; }
.kama-basket__close { border: 0; background: none; font-size: 2rem; line-height: 1; cursor: pointer; color: inherit; width: 44px; height: 44px; }
.kama-basket__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; overflow-y: auto; }
.kama-basket__items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding-bottom: 16px; border-bottom: 1px solid rgb(61 38 25 / 0.15); }
.kama-basket__items img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.kama-basket__name { margin: 0; font-family: var(--font-heading--family); font-size: 1.2rem; }
.kama-basket__opts { margin: 2px 0 8px; font-size: 0.9rem; opacity: 0.75; }
.kama-basket__qty { display: flex; align-items: center; gap: 8px; }
.kama-basket__qty [data-step] { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgb(61 38 25 / 0.3); background: none; cursor: pointer; color: inherit; font-size: 1.1rem; }
.kama-basket__remove { margin-left: 8px; border: 0; background: none; text-decoration: underline; cursor: pointer; color: inherit; font: inherit; font-size: 0.85rem; opacity: 0.75; }
.kama-basket__foot { margin-top: auto; display: grid; gap: 10px; }
.kama-basket__total { display: flex; justify-content: space-between; margin: 0; font-size: 1.15rem; }
.kama-basket__status { margin: 0; font-size: 0.9rem; }
.kama-basket__status:empty { display: none; }
.kama-basket__empty { margin: 0; }
.kama-basket [hidden] { display: none !important; }
/* GK, 6 Dec 2026: a bean or size option with no bag in stock (kama-cart.js) */
.variant-option__button-label.kama-option--out { opacity: 0.45; text-decoration: line-through; }
.kama-basket__foot .button { width: 100%; justify-content: center; }

/* GK, 7 Dec 2026: "There has to be a right and left arrow on the selection so people can scroll through."
   The theme showed its arrows only on mouse hover, and on top of the labels. kama-experience.js puts a pair of
   arrows above the row, right-aligned, on every screen size; the theme's own pair is hidden. An arrow at the end
   of the row fades. */
[id$='__product_list_4HyKBg'] slideshow-arrows, [id$='__product_list_4HyKBg'] .slideshow-control { display: none !important; }
.kama-rownav { display: flex; justify-content: flex-end; gap: 10px; margin: 0 0 14px; }
.kama-rownav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #103f3f; background: transparent; color: #103f3f;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.2rem; line-height: 1; transition: background 0.2s, color 0.2s; }
.kama-rownav button:hover:not([disabled]) { background: #103f3f; color: #f6eddd; }
.kama-rownav button[disabled] { opacity: 0.3; cursor: default; }
/* The cards' quick-add buttons need Shopify to answer; a card opens its coffee page instead. */
[id$='__product_list_4HyKBg'] .quick-add, .product-card .quick-add__button { display: none !important; }

/* GK, 7 Dec 2026 (common-sense sweep): the offer-list tick boxes and the newsletter choices were under 24 px,
   too small for a thumb. */
.kama-offer input[type='checkbox'] { width: 24px !important; height: 24px !important; }
.kama-topics input { width: 22px; height: 22px; }
.kama-topics label { padding-block: 6px; }
/* GK, 7 Dec 2026: the sticky bar showed an empty £0.00 compare-at price */
.sticky-add-to-cart .compare-at-price { display: none !important; }
