/* Kopoi — the shared design layer (D-034).
 *
 * Loaded LAST on every page: index.html (after styles.css) and every page
 * build.py writes (after the template's own <style>). So at equal specificity
 * these rules win, and the brand reads the same everywhere — one header, one
 * footer, one product card, one set of type sizes.
 *
 * The brand is unchanged: near-black, cream, gold, teal; Cormorant Garamond
 * for display, Jost for text. What changed is legibility — text at 14–16px in
 * sentence case instead of 10–11px spaced capitals, body weight 400 not 300 —
 * and fewer competing elements per screen.
 *
 * cart.js still owns the bag drawer, the bag button and the add-button states.
 */

:root {
  --kp-ink: #0a0908;
  --kp-ink-2: #16130f;
  --kp-cream: #f4efe6;
  --kp-cream-2: #ebe3d5;
  --kp-card: #fffdf9;
  --kp-gold: #b8943a;
  --kp-gold-lt: #d4ae62;
  --kp-teal: #2abfbf;
  --kp-muted: #5f584d;      /* darker than the old #7a7469, for contrast on cream */
  --kp-line: rgba(10, 9, 8, 0.12);
  --kp-display: 'Cormorant Garamond', Georgia, serif;
  --kp-text: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --kp-gutter: 32px;
}
@media (max-width: 860px) { :root { --kp-gutter: 16px; } }

body { font-family: var(--kp-text); font-weight: 400; font-size: 16px; line-height: 1.6; color: var(--kp-ink); }
:focus-visible { outline: 2px solid var(--kp-teal); outline-offset: 2px; }

/* ── announcement + header ─────────────────────────────────────────────── */

/* Safari (D-035): behind the bar, the page edge is black, not cream, so a
   pull-down or bounce never shows a cream strip above it; the bar itself is
   solid, because a translucent blurred bar renders as a floating glass panel. */
html { background-color: var(--kp-ink); }
/* D-036: fixed, not sticky — iOS 26 Safari only matches the strip behind the
   clock to a FIXED element at the top edge. The spacer below holds its height;
   build.py's inline script sets --kp-top-h exactly, these are the no-JS guesses. */
:root { --kp-top-h: 69px; }
@media (max-width: 860px) { :root { --kp-top-h: 101px; } }
html { scroll-padding-top: var(--kp-top-h); }
.kp-top { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.kp-top-space { height: var(--kp-top-h); }
.kp-header {
  position: static;
  background: var(--kp-ink);
  border-bottom: 1px solid rgba(184, 148, 58, 0.25);
}
.kp-hbar {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--kp-gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 68px; gap: 16px;
}
.kp-logo {
  justify-self: start; color: var(--kp-cream); text-decoration: none;
  font-family: var(--kp-display); font-weight: 600; font-size: 26px; letter-spacing: 0.24em;
}
.kp-hright { justify-self: end; display: flex; align-items: center; }

/* The category strip, inside the header: plain text links on desktop. */
.kp-header .cat-strip { padding: 0; margin: 0; overflow: visible; display: block; }
.kp-header .cat-strip-label { display: none; }
.kp-header .cat-strip ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.kp-header .cat-strip a {
  display: block; padding: 6px 0; border: 0; border-bottom: 1px solid transparent; border-radius: 0;
  background: none; color: rgba(244, 239, 230, 0.78);
  font-size: 14px; letter-spacing: 0.03em; text-transform: none; white-space: nowrap;
}
.kp-header .cat-strip a:hover { color: var(--kp-cream); border-color: rgba(184, 148, 58, 0.6); background: none; }
.kp-header .cat-strip a[aria-current="page"] { color: var(--kp-cream); border-color: var(--kp-gold); background: none; }

@media (max-width: 1000px) { .kp-header .cat-strip ul { gap: 18px; } }
/* Phones: wordmark and bag on one row, the categories scrolling beneath. */
@media (max-width: 860px) {
  .kp-hbar { grid-template-columns: 1fr auto; min-height: 0; padding-top: 10px; row-gap: 6px; }
  .kp-logo { font-size: 22px; grid-column: 1; grid-row: 1; }
  .kp-hright { grid-column: 2; grid-row: 1; }
  .kp-header .cat-strip {
    grid-column: 1 / -1; grid-row: 2; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(-1 * var(--kp-gutter)); padding: 0 var(--kp-gutter) 12px;
  }
  .kp-header .cat-strip::-webkit-scrollbar { display: none; }
  .kp-header .cat-strip ul { gap: 8px; }
  .kp-header .cat-strip a {
    padding: 6px 14px; border: 1px solid rgba(244, 239, 230, 0.25); border-radius: 999px;
    color: rgba(244, 239, 230, 0.88);
  }
  .kp-header .cat-strip a[aria-current="page"] { background: var(--kp-cream); color: var(--kp-ink); border-color: var(--kp-cream); }
}

/* ── footer ─────────────────────────────────────────────────────────────── */
footer.kp-footer {
  display: block; text-align: left; background: var(--kp-ink); border-top: 0;
  color: rgba(244, 239, 230, 0.75); font-size: 14px; letter-spacing: 0; line-height: 1.6;
  padding: 0;
}
.kp-fgrid {
  max-width: 1320px; margin: 0 auto; padding: 56px var(--kp-gutter) 32px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px;
}
.kp-footer .footer-brand {
  display: block; margin: 0 0 10px; font-family: var(--kp-display); font-size: 24px;
  letter-spacing: 0.22em; color: var(--kp-cream);
}
.kp-fbrand p { margin: 0; max-width: 36ch; }
.kp-fh { margin: 0 0 12px; font-family: var(--kp-display); font-size: 20px; color: var(--kp-cream); }
.kp-flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kp-footer a { color: rgba(244, 239, 230, 0.78); text-decoration: none; }
.kp-footer a:hover { color: var(--kp-cream); text-decoration: underline; text-underline-offset: 3px; }
.kp-flegal {
  max-width: 1320px; margin: 0 auto; padding: 20px var(--kp-gutter);
  border-top: 1px solid rgba(244, 239, 230, 0.12); display: grid; gap: 12px;
}
.kp-flegal .footer-links {
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-start;
  list-style: none; margin: 0; padding: 0;
}
.kp-flegal .footer-links a { font-size: 14px; letter-spacing: 0; text-transform: none; color: rgba(244, 239, 230, 0.78); }
.kp-footer .footer-seller { font-size: 13px; color: rgba(244, 239, 230, 0.6); line-height: 1.7; }
.kp-footer .footer-copy {
  display: block; max-width: 1320px; margin: 0 auto; padding: 0 var(--kp-gutter) 28px;
  font-size: 13px; letter-spacing: 0; color: rgba(244, 239, 230, 0.5);
}
@media (max-width: 720px) { .kp-fgrid { grid-template-columns: 1fr 1fr; } .kp-fbrand { grid-column: 1 / -1; } }

/* ── product card: homepage grid and category pages ────────────────────── */
.product-grid, .kp-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px;
  background: none; border: 0;
}
.product-grid { max-width: 1320px; margin: 0 auto; padding: 0 var(--kp-gutter); }
@media (max-width: 1100px) { .product-grid, .kp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .product-grid, .kp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } }

.product-card { background: none; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.product-card .card-image-wrap {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 4px; background: var(--kp-cream-2);
}
.product-card .card-img, .product-card .card-img-hover {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.4s ease, transform 0.6s ease;
}
.product-card .card-img-hover { opacity: 0; }
.product-card:hover .card-img-hover { opacity: 1; }
.product-card:hover .card-img { transform: scale(1.03); }
.product-card .card-noimg { position: absolute; inset: 0; }
.card-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(255, 253, 249, 0.92); color: var(--kp-ink);
  font-size: 12px; letter-spacing: 0.03em; padding: 3px 10px; border-radius: 999px;
}
.product-card .sold-out-overlay {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center;
  background: rgba(244, 239, 230, 0.7);
}
.product-card .sold-out-label {
  font-size: 13px; letter-spacing: 0.04em; text-transform: none; color: var(--kp-ink);
  border: 1px solid var(--kp-ink); padding: 6px 14px; border-radius: 999px; background: var(--kp-card);
}
.product-card .card-body { padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .card-name {
  margin: 0; font-family: var(--kp-display); font-weight: 600; font-size: 21px; line-height: 1.2; letter-spacing: 0;
}
.product-card .card-name a { color: inherit; text-decoration: none; }
.product-card .card-name a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.product-card .card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; }
.product-card .card-price {
  font-family: var(--kp-text); font-size: 16px; font-weight: 500; color: var(--kp-ink);
  font-variant-numeric: tabular-nums; letter-spacing: 0;
}
.card-dots { display: flex; gap: 4px; }
.card-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(10, 9, 8, 0.25); }
.product-card .size-hint { min-height: 0; font-size: 13px; color: #8c2f2f; letter-spacing: 0; text-transform: none; }
.product-card .size-hint:empty { display: none; }
/* The add button sits at the bottom of every card, so a row's buttons line up
   even when one name wraps to two lines. */
.product-card .add-btn, .product-card .kp-choose { margin-top: auto; }
.kp-choose {
  display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 999px;
  border: 1px solid var(--kp-ink); color: var(--kp-ink); text-decoration: none; font-size: 15px; font-weight: 500;
}
.kp-choose:hover { background: var(--kp-ink); color: var(--kp-cream); }
@media (max-width: 760px) {
  .product-card .card-name { font-size: 18px; }
  .product-card .card-price { font-size: 15px; }
}

/* ── homepage ───────────────────────────────────────────────────────────── */
#hero { padding-top: 0; min-height: min(86svh, 760px); }
.hero-title { font-weight: 400; line-height: 1.04; }
.hero-title em { font-weight: 400; }
.hero-eyebrow { font-size: 13px; letter-spacing: 0.18em; }
.hero-sub { font-size: 17px; line-height: 1.65; color: rgba(244, 239, 230, 0.8); max-width: 42ch; }
.hero-actions { flex-wrap: wrap; gap: 14px 24px; }
.btn-primary {
  border-radius: 999px; height: 52px; padding: 0 28px; font-size: 15px; font-weight: 500;
  letter-spacing: 0.02em; text-transform: none; display: inline-flex; align-items: center; gap: 10px;
}
.btn-ghost {
  font-size: 15px; letter-spacing: 0.02em; text-transform: none; color: rgba(244, 239, 230, 0.85);
  border-bottom-color: rgba(244, 239, 230, 0.4);
}
@media (max-width: 768px) {
  #hero { min-height: 0; }
  .hero-text { padding: 36px var(--kp-gutter) 44px; }
  .hero-title { font-size: 44px; margin-bottom: 1.2rem; }
  .hero-sub { font-size: 16px; margin-bottom: 1.8rem; }
}

.kp-trust { background: var(--kp-card); border-bottom: 1px solid var(--kp-line); }
.kp-trust-list {
  max-width: 1320px; margin: 0 auto; padding: 18px var(--kp-gutter); list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px;
}
.kp-trust-list li { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 15px; }
.kp-trust-list svg { color: var(--kp-gold); flex: none; }
@media (max-width: 760px) {
  .kp-trust-list { grid-template-columns: 1fr; padding-top: 16px; padding-bottom: 16px; }
  .kp-trust-list li { justify-content: flex-start; }
}

#catalog { padding: 56px 0 72px; }
.section-header {
  max-width: 1320px; margin: 0 auto 8px; padding: 0 var(--kp-gutter) 12px; border-bottom: 0;
}
.section-title { font-size: clamp(34px, 4vw, 48px); font-weight: 400; letter-spacing: 0; }
#catalog > .cat-strip { max-width: 1320px; margin: 0 auto 28px; padding: 0 var(--kp-gutter); }
#catalog .cat-strip-label { display: none; }
#catalog .cat-strip a {
  font-size: 14px; letter-spacing: 0.01em; padding: 8px 16px; color: var(--kp-ink);
  border-color: var(--kp-line);
}
#catalog .cat-strip a[aria-current="page"] { background: var(--kp-ink); color: var(--kp-cream); border-color: var(--kp-ink); }

.kp-about { background: var(--kp-ink); color: var(--kp-cream); padding: 80px var(--kp-gutter); }
.kp-about-inner { max-width: 720px; margin: 0 auto; text-align: center; display: grid; gap: 16px; }
.kp-eyebrow { margin: 0; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--kp-teal); }
.kp-about h2 { margin: 0 0 8px; font-family: var(--kp-display); font-weight: 400; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.15; }
.kp-about h2 em { color: var(--kp-gold-lt); }
.kp-about p:not(.kp-eyebrow) { margin: 0; font-size: 16.5px; line-height: 1.75; color: rgba(244, 239, 230, 0.75); }

.delivery-subtext { font-size: 16px; line-height: 1.7; color: rgba(244, 239, 230, 0.75); }
.zone-chip { font-size: 13px; letter-spacing: 0.02em; text-transform: none; color: rgba(244, 239, 230, 0.85); border-color: rgba(244, 239, 230, 0.25); padding: 5px 12px; }
.d-feat-icon { color: var(--kp-gold-lt); font-size: 0; margin-bottom: 12px; }
.d-feat-title { font-size: 15px; letter-spacing: 0.02em; text-transform: none; color: var(--kp-cream); font-weight: 500; }
.d-feat-desc { font-size: 14.5px; line-height: 1.6; color: rgba(244, 239, 230, 0.72); }

/* ── product page ───────────────────────────────────────────────────────── */
.crumb { max-width: 1320px; margin: 0 auto; padding: 18px var(--kp-gutter) 0; font-size: 14px; letter-spacing: 0; color: var(--kp-muted); }
.crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.product {
  max-width: 1320px; padding: 20px var(--kp-gutter) 64px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 56px;
}
.product img { background: var(--kp-cream-2); }
.gallery-lead { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; position: sticky; top: calc(var(--kp-top-h) + 20px); }
.kp-main { grid-column: 2; grid-row: 1; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; }
.kp-main img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.kp-thumbs { grid-column: 1; grid-row: 1; display: grid; gap: 10px; align-content: start; }
.kp-thumb { display: block; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; border: 1px solid transparent; }
.kp-thumb[aria-current="true"] { border-color: var(--kp-ink); }
.kp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-lead:only-child, .gallery-lead:not(:has(.kp-thumbs)) { grid-template-columns: minmax(0, 1fr); }
.gallery-lead:not(:has(.kp-thumbs)) .kp-main { grid-column: 1; }

.info { top: calc(var(--kp-top-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.info > * { margin-bottom: 0; }
.info .tags { margin: 0; }
.info .tag {
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--kp-gold);
  background: none; border: 0; padding: 0;
}
.info h1 { font-family: var(--kp-display); font-weight: 600; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.08; margin: 0; }
.info .price { font-family: var(--kp-text); font-size: 24px; font-weight: 500; margin: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.kp-gst { font-size: 14px; font-weight: 400; color: var(--kp-muted); }
.info .desc { margin: 0; font-size: 16.5px; line-height: 1.7; color: #2c2823; max-width: 52ch; }
.opt-group { margin: 0; }
.opt-label { font-size: 14px; letter-spacing: 0.01em; text-transform: none; font-weight: 500; color: var(--kp-ink); margin-bottom: 10px; }
.swatch { width: 36px; height: 36px; border: 2px solid var(--kp-cream); box-shadow: 0 0 0 1px rgba(10, 9, 8, 0.3); outline: 0; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 1.5px var(--kp-ink); outline: 0; }
.size-btn {
  font-size: 15px; letter-spacing: 0; text-transform: none; height: 44px; min-width: 64px; padding: 0 16px;
  border-radius: 6px; border: 1px solid var(--kp-line); background: var(--kp-card); color: var(--kp-ink);
}
.size-btn[aria-pressed="true"] { background: var(--kp-card); color: var(--kp-ink); border-color: var(--kp-ink); box-shadow: inset 0 0 0 1px var(--kp-ink); }
.dimensions { font-size: 15px; }

/* The one main button. Filled on the product page; cart.js owns its states. */
.cta-wrap .add-btn { background: var(--kp-ink); color: var(--kp-cream); height: 56px; font-size: 15.5px; margin: 0; }
.cta-wrap .add-btn:hover { background: #2a2622; }
.kp-bar-price { display: none; }
.kp-soldout { margin: 0; padding: 14px 0; text-align: center; border: 1px solid var(--kp-line); border-radius: 999px; color: var(--kp-muted); }
.kp-ask { margin: 0; font-size: 15px; color: var(--kp-muted); }
.kp-ask-link { color: var(--kp-ink); text-decoration: underline; text-underline-offset: 3px; }
.kp-ask-link:hover { color: #128c3a; }
/* Without JavaScript there is no bag, so the WhatsApp link is the way to order. */
html:not(.cart-ready) .kp-ask { font-size: 16px; }

.ship {
  list-style: none; margin: 0; padding: 16px 18px; border: 1px solid var(--kp-line); border-radius: 8px;
  background: var(--kp-card); display: grid; gap: 12px; font-size: 15px; color: #2c2823;
}
.ship li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.ship svg { color: var(--kp-gold); flex: none; margin-top: 1px; }
.ship strong { font-weight: 500; }

/* Long copy folds away. */
.details { max-width: 780px; padding: 8px var(--kp-gutter) 0; }
.details details { border-top: 1px solid var(--kp-line); }
.details details:last-of-type { border-bottom: 1px solid var(--kp-line); }
.details summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: 24px; line-height: 1; font-weight: 300; color: var(--kp-muted); }
.details details[open] summary::after { content: "–"; }
.details summary h2, .details h2:first-child {
  margin: 0; font-family: var(--kp-text); font-size: 17px; font-weight: 500; letter-spacing: 0;
  text-transform: none; color: var(--kp-ink);
}
.details details > :not(summary) { margin-bottom: 14px; }
.details details > :last-child { margin-bottom: 20px; }
.details p, .details li { font-size: 16px; line-height: 1.75; color: #2c2823; }
.spec-table { font-size: 15px; }
.spec-table th { color: var(--kp-muted); font-weight: 400; }

.faq { max-width: 780px; padding: 0 var(--kp-gutter); }
.faq h2 { font-size: 30px; }
.faq-item h3 { font-size: 16px; }
.faq-item p { font-size: 15.5px; color: #2c2823; }

.related, .guides { max-width: 1320px; padding: 0 var(--kp-gutter) 56px; }
.related h2, .guides h2 { font-size: 30px; }
.related-grid { gap: 20px; }
.related-grid img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; background: var(--kp-cream-2); }
.related-name { font-family: var(--kp-display); font-size: 20px; font-weight: 600; line-height: 1.2; }
.related-price { font-family: var(--kp-text); font-size: 15px; font-weight: 500; color: var(--kp-ink); }
.related-more, .guides li { font-size: 15px; }

@media (max-width: 860px) {
  .product { grid-template-columns: minmax(0, 1fr); padding-top: 12px; }
  .gallery-lead { position: static; grid-template-columns: minmax(0, 1fr); }
  .kp-main { grid-column: 1; grid-row: 1; }
  .kp-thumbs { grid-column: 1; grid-row: 2; grid-template-columns: repeat(auto-fill, 64px); }
  .info { gap: 18px; }
  /* Without JavaScript nothing is pinned; with the bag ready, price and Add to
     bag pin to the bottom of the screen. */
  .cta-wrap { position: static; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body { padding-bottom: 0; }
  html.cart-ready .cta-wrap {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; align-items: center; gap: 14px;
    padding: 10px var(--kp-gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(244, 239, 230, 0.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--kp-line);
  }
  html.cart-ready .cta-wrap .kp-bar-price { display: block; flex: none; font-size: 18px; font-weight: 500; }
  html.cart-ready .cta-wrap .add-btn { flex: 1; height: 50px; }
  html.cart-ready body:has(.cta-wrap) { padding-bottom: 80px; }
}

/* ── category pages ─────────────────────────────────────────────────────── */
main.cat { max-width: 1320px; padding: 24px var(--kp-gutter) 72px; }
.cat-head { margin-bottom: 36px; }
.cat-head h1 { font-weight: 400; font-size: clamp(36px, 4.4vw, 52px); }
.cat-intro { font-size: 16.5px; color: #2c2823; }
.cat-count { font-size: 14px; letter-spacing: 0.01em; text-transform: none; color: var(--kp-muted); }
.cat-delivery { border-color: var(--kp-line); border-radius: 8px; background: var(--kp-card); font-size: 15.5px; color: #2c2823; }
.cat-siblings a { font-size: 14px; border-color: var(--kp-line); }

/* ── guides and policies ────────────────────────────────────────────────── */
.guide p, .guide li { font-size: 16.5px; line-height: 1.75; }

/* ── payment confirmation (thank-you.html) ──────────────────────────────── */
.t-eyebrow, .t-label { font-size: 13px; letter-spacing: 0.12em; }
.t-lede { font-size: 16.5px; }
.t-btn {
  border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: 0.02em;
  text-transform: none; padding: 14px 28px;
}

/* ── floating WhatsApp button (D-035) ───────────────────────────────────── */
.kp-wa {
  position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 95;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 8px 24px -8px rgba(10, 9, 8, 0.5);
  transition: transform 0.15s ease, background 0.2s;
}
.kp-wa:hover { background: #1ebe5a; transform: translateY(-2px); }
.kp-wa:focus-visible { outline: 2px solid var(--kp-ink); outline-offset: 3px; }
html.kc-open .kp-wa { display: none; }
@media (max-width: 860px) {
  .kp-wa { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  /* Product pages pin price + Add to bag to the bottom; sit above that bar. */
  html.cart-ready body:has(.cta-wrap) .kp-wa { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  /* Room so the button never covers the last line of the footer. */
  .kp-footer .footer-copy { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .kp-wa { transition: none; } }
