.cta-band::before {
  content: ""; position: absolute; inset: -2%; z-index: 0;
  background: url(../../img/bg/0b0d7f1e-2a8e-4ff7-9ee4-483e7e6979cf.jpg) center 32% / cover no-repeat;
  transform-origin: 68% 34%;
  animation: ctaZoom 26s ease-in-out infinite alternate;
  will-change: transform;
}

/* ============================================================
   COFFEE LADY — Category / Listing page
   Extends jura.css (same palette, type, buttons, nav, footer).
   Sections: category browser (IKEA-style), consultation band,
   product listing, pagination, "how to choose", FAQ reuse.
   ============================================================ */

/* striped placeholder (mirrors home.css) */
.ph-img {
  background:
    repeating-linear-gradient(45deg, var(--cream-2), var(--cream-2) 11px, var(--cream) 11px, var(--cream) 22px);
  display: grid; place-items: center; text-align: center;
}

.ph-img span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px; letter-spacing: .04em; color: var(--ink-faint);
  background: rgba(253,248,242,.82); padding: 4px 9px; border-radius: 6px;
  border: 1px solid var(--line);
}

/* ============================================================
   PAGE HEAD — slim breadcrumb + title, barista photo backdrop
   ============================================================ */
.page-head { background: var(--paper); }

.page-head .wrap { max-width: 1600px; padding: 18px 48px 6px; }

@media (max-width: 700px){ .page-head .wrap { padding: 16px 22px 6px; } }

.page-head .breadcrumb {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-faint); margin: 0; font-weight: 500;
}

.page-head .breadcrumb a { color: var(--ink-soft); }

.page-head .breadcrumb a:hover { color: var(--red); }

.page-head .breadcrumb .sep { opacity: .5; }

.page-head .breadcrumb .here { color: var(--ink); font-weight: 600; }

/* ============================================================
   CATEGORY BROWSER — IKEA-style tabbed tiles (SEO hero)
   ============================================================ */
.catbrowse { background: var(--paper); }

.catbrowse .wrap { padding-top: 38px; padding-bottom: 56px; }

/* tab bar — clean underline tabs (no pills) */
.cb-tabbar { margin-bottom: 32px; }

.cb-tabs { display: flex; border-bottom: 1px solid var(--line); }

.cb-tab {
  flex: 1; font-family: inherit; text-align: center;
  font-size: clamp(15px, 1.5vw, 18px); font-weight: 600; color: var(--ink);
  padding: 6px 12px 16px; background: none; border: none; position: relative;
  transition: color .16s ease;
}

.cb-tab:hover { color: var(--terracotta-deep); }

.cb-tab.active { color: var(--terracotta-deep); }

.cb-tab::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px;
  background: var(--terracotta-deep); transform: scaleX(0); transform-origin: center;
  transition: transform .2s ease;
}

.cb-tab.active::after { transform: scaleX(1); }

@media (max-width: 620px){
  .cb-tabs { overflow-x: auto; scrollbar-width: none; }
  .cb-tabs::-webkit-scrollbar { display: none; }
  .cb-tab { flex: 0 0 auto; white-space: nowrap; padding: 6px 16px 14px; }
}

/* slider arrows — overlay the tile row, shown only when it overflows */
.cb-slider { position: relative; }

.cb-arrows.hidden { display: none; }

.cb-arrow {
  position: absolute; top: 64px; z-index: 4;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft);
  display: grid; place-items: center; box-shadow: var(--shadow-card);
  transition: all .15s ease;
}

.cb-arrow[data-dir="prev"] { left: -14px; }

.cb-arrow[data-dir="next"] { right: -14px; }

.cb-arrow:hover:not(:disabled) { border-color: var(--terracotta-deep); color: var(--terracotta-deep); }

.cb-arrow:disabled { opacity: 0; pointer-events: none; }

.cb-panel { display: none; }

.cb-panel.active { display: block; animation: cbFade .3s ease; }

@keyframes cbFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce){ .cb-panel.active { animation: none; } }

/* single-row horizontal slider — never wraps to a second row */
.cb-grid {
  display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x proximity; padding-bottom: 6px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}

.cb-grid::-webkit-scrollbar { height: 8px; }

.cb-grid::-webkit-scrollbar-track { background: transparent; }

.cb-grid::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }

.cb-grid::-webkit-scrollbar-thumb:hover { background: var(--line); }

.cb-tile { flex: 0 0 calc((100% - 4 * 16px) / 5); min-width: 0; scroll-snap-align: start; }

@media (max-width: 1000px){ .cb-tile { flex-basis: calc((100% - 2 * 16px) / 3); } }

@media (max-width: 620px){ .cb-tile { flex-basis: calc((100% - 16px) / 2); } }

/* airy, borderless tiles — just an image panel + centred label */
.cb-tile {
  display: flex; flex-direction: column;
  background: transparent; border: none;
  transition: transform .18s ease;
}

.cb-tile:hover { transform: translateY(-4px); }

.cb-media {
  height: 168px; position: relative; overflow: hidden;
  background: transparent;
  border-radius: var(--radius);
  display: grid; place-items: center; padding: 20px;
}

.cb-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.34,1.4,.64,1); }

.cb-tile:hover .cb-media img { transform: scale(1.05); }

.cb-media.is-logo { background: transparent; padding: 26px; }

.cb-media.is-logo img { max-width: 80%; max-height: 64px; opacity: .9; }

.cb-tile:hover .cb-media.is-logo img { transform: none; opacity: 1; }

.cb-media.is-photo { padding: 0; background: var(--cream); border-radius: 16px; }

.cb-media.is-photo img { object-fit: cover; border-radius: 16px; }

.cb-label {
  padding: 13px 6px 0; display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center;
}

.cb-label .t { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; letter-spacing: -0.01em; }

.cb-tile:hover .cb-label .t { color: var(--terracotta-deep); }

.cb-label .go { display: none; }

/* ============================================================
   CONSULTATION BAND
   ============================================================ */
.consult { background: var(--paper); }

.consult .wrap { padding-top: 26px; padding-bottom: 52px; }

.consult-inner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(100deg, var(--burgundy), var(--red-dark));
  border-radius: var(--radius); padding: 14px 24px; color: #fff;
  box-shadow: var(--shadow-soft);
}

.consult-inner .ic {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26);
  display: grid; place-items: center; color: #fff;
}

.consult-inner .ct { flex: 1; min-width: 220px; }

.consult-inner .ct h3 { color: #fff; font-size: 17px; margin-bottom: 2px; }

.consult-inner .ct p { color: rgba(255,255,255,.9); font-size: 13.5px; font-weight: 400; }

.consult-inner .btn-light { flex-shrink: 0; }

@media (max-width: 620px){
  .consult .wrap { padding-top: 22px; padding-bottom: 40px; }
  .consult-inner { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 16px; text-align: left; }
  .consult-inner .ic { width: 40px; height: 40px; }
  .consult-inner .ct { flex: 1; min-width: 150px; }
  .consult-inner .btn { width: auto; margin: 2px auto 0; }
}

/* ============================================================
   PRODUCT LISTING
   ============================================================ */
.listing { background: var(--cream); }

.listing-head { margin-bottom: 10px; }

.listing-head h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 13px; }

.listing-head h1 .h-accent { color: var(--red); }

.listing-head h2 { margin-bottom: 12px; }

.listing-head .lead { margin: 0; max-width: 74ch; }

.listing-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 16px 0 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line);
}

.listing-count { font-size: 14px; color: var(--ink-soft); font-weight: 500; }

.listing-count b { color: var(--ink); font-weight: 700; }

.listing-sort { display: flex; align-items: center; gap: 10px; }

.listing-sort label { font-size: 13.5px; color: var(--ink-faint); font-weight: 500; }

.listing-sort select {
  appearance: none; -webkit-appearance: none; font-family: inherit;
  font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 10px 38px 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23756860' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color .15s ease;
}

.listing-sort select:hover { border-color: var(--terracotta); }

.listing-sort select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(191,56,38,.12); }

.plist {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

@media (max-width: 980px){ .plist { grid-template-columns: 1fr 1fr; } }

@media (max-width: 600px){ .plist { grid-template-columns: 1fr; } }

/* listing cards: taller product image + smaller spec-chip text */
.listing .card-media { padding: 8px 0; }

.listing .card-media img { height: 290px !important; }

.listing .spec-chip { padding: 9px 13px; }

.listing .spec-chip .v { font-size: 13px; }

.listing .spec-chip .k { font-size: 10.5px; }

/* textual "full specifications" CTA under the two main buttons */
.card-speclink {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 14px auto 0; font-family: inherit;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  background: none; cursor: pointer;
  transition: color .15s ease;
}

.card-foot .card-speclink { display: flex; justify-content: center; width: 100%; }

.pcard {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.pcard:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(42,34,30,.05), 0 26px 50px -30px rgba(42,34,30,.55); }

.pcard-media {
  position: relative; height: 250px;
  background: radial-gradient(120% 100% at 50% 36%, var(--cream-2), var(--cream) 84%);
  border-bottom: 1px solid var(--line-soft);
  display: grid; place-items: center; padding: 24px;
}

.pcard-media image-slot, .pcard-media .ph-img { width: 100%; height: 100%; border-radius: var(--radius-sm); }

.pcard-media img { width: 100%; height: 100%; object-fit: contain; }

.pcard-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); background: rgba(255,255,255,.92); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 999px;
}

.pcard-body { padding: 20px 22px 0; flex: 1; display: flex; flex-direction: column; }

.pcard-body h3 { font-size: 19px; margin-bottom: 7px; letter-spacing: -0.02em; }

.pcard-body .pc-tag { font-size: 13.5px; color: var(--ink-soft); font-weight: 400; line-height: 1.55; margin-bottom: 16px; min-height: 42px; }

.pc-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-bottom: 4px; }

.pc-chip {
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  background: var(--cream-2); border: 1px solid var(--line-soft);
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}

.pcard-foot { padding: 16px 22px 22px; }

.pc-price-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 14px 0 16px; margin-bottom: 14px; border-top: 1px solid var(--line-soft);
}

.pc-price { font-size: 23px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }

.pc-price .vat { font-size: 12px; font-weight: 500; color: var(--ink-faint); letter-spacing: 0; margin-left: 4px; }

.pc-price.poa { font-size: 18px; color: var(--terracotta-deep); }

.pc-finance { font-size: 12px; color: var(--ink-faint); font-weight: 500; }

.pcard-actions { display: flex; gap: 10px; }

.pcard-actions .btn { flex: 1; justify-content: center; }

.pcard-actions .btn-primary { box-shadow: 0 5px 14px -10px rgba(191,56,38,.5); }

.listing-note { font-size: 12.5px; color: var(--ink-faint); margin: 28px auto 0; font-weight: 400; max-width: 76ch; text-align: center; }

/* ---------- Pagination (modern pills) ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 44px; }

.pager button {
  min-width: 44px; height: 44px; padding: 0 14px; font-family: inherit;
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.pager button:hover:not(:disabled) { border-color: var(--terracotta-deep); color: var(--terracotta-deep); transform: translateY(-1px); }

.pager button.active { background: var(--terracotta-deep); border-color: var(--terracotta-deep); color: #fff; box-shadow: 0 10px 20px -12px rgba(194,94,56,.95); }

.pager button.active:hover { transform: none; color: #fff; }

.pager button:disabled { opacity: .4; cursor: default; }

.pager .pg-arrow { width: 44px; min-width: 44px; padding: 0; color: var(--ink); }

.pager .pg-arrow svg { display: block; }

/* ============================================================
   HOW TO CHOOSE — editorial guidance
   ============================================================ */
.howto { background: var(--paper); }

.howto-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 54px; align-items: start; }

@media (max-width: 900px){ .howto-grid { grid-template-columns: 1fr; gap: 30px; } }

.howto-copy { position: sticky; top: 100px; align-self: start; }

@media (max-width: 900px){ .howto-copy { position: static; top: auto; } }

.howto-copy h2 { margin-bottom: 16px; }

.howto-copy .lead { margin-bottom: 24px; }

.howto-copy .howto-cta { margin-top: 6px; }

.howto-points { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

@media (max-width: 560px){ .howto-points { grid-template-columns: 1fr; } }

/* feature cards — same as the product page .feat boxes */
.howto-pt {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: 0 3px 12px -10px rgba(42,34,30,.35);
}

.howto-pt .ic {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  background: var(--cream); border: 1px solid var(--line); color: var(--red);
  display: grid; place-items: center;
}

.howto-pt h4 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }

.howto-pt p { font-size: 14.5px; color: var(--ink-soft); font-weight: 400; line-height: 1.6; }

/* FAQ on this page sits on cream so it reads apart from the how-to section */
.faq { background: var(--cream); }
