/* Self-hosted Lora + Inter (prod CSP blocks Google Fonts; font-src 'self') */
@font-face{font-family:'Lora';font-style:italic;font-weight:500;font-display:optional;src:url('/assets/fonts/lora-500i.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Lora';font-style:italic;font-weight:600;font-display:optional;src:url('/assets/fonts/lora-600i.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Lora';font-style:normal;font-weight:600;font-display:optional;src:url('/assets/fonts/lora-600.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Lora';font-style:normal;font-weight:700;font-display:optional;src:url('/assets/fonts/lora-700.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:optional;src:url('/assets/fonts/inter-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:optional;src:url('/assets/fonts/inter-500.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:optional;src:url('/assets/fonts/inter-600.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:optional;src:url('/assets/fonts/inter-700.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Coffee Lens theme - classy specialty-roaster look: cream + espresso palette, Lora serif display,
   Inter body, full-bleed illustrated hero. Overrides base prism.css for the coffeelens site only
   (body.theme-coffeelens). Renamed from the old BeanBadger theme 2026-08-19. */
.theme-coffeelens{
  --cream:#f7f1e6; --cream2:#fbf7ef; --card:#fffdf9; --ink:#2c2117; --muted:#8a7c6d;
  --line:#e8dcc8; --espresso:#2a1e15; --accent:#b07a46; --accent-d:#8f6236; --gold:#d99a2b;
  background:var(--cream); color:var(--ink);
  font-family:'Inter','Segoe UI',system-ui,sans-serif;
}
.theme-coffeelens .wrap{max-width:1180px;margin:0 auto;padding:0 22px}

/* header - clean cream bar, serif wordmark + aperture-bean mark */
.theme-coffeelens .cl-head{background:var(--cream2);border-bottom:1px solid var(--line);padding:5px 0;position:relative;z-index:3}
.theme-coffeelens .cl-head-in{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.theme-coffeelens .cl-brand{display:flex;align-items:center;gap:11px;text-decoration:none;flex:none}
.theme-coffeelens .cl-mark{height:34px;width:34px;display:block}
.theme-coffeelens .cl-wm{font-family:'Lora',Georgia,serif;font-weight:600;font-size:25px;color:var(--ink);letter-spacing:.2px;line-height:1}
.theme-coffeelens .cl-wm i{font-style:italic;font-weight:500}
.theme-coffeelens .cl-nav{display:flex;align-items:center;gap:18px;flex:none}
.theme-coffeelens .cl-nav a{color:var(--ink);font-weight:500;font-size:15px;text-decoration:none;opacity:.86}
.theme-coffeelens .cl-nav a:hover{opacity:1;color:var(--accent-d)}
.theme-coffeelens .cl-nav a.acct{color:var(--accent-d);font-weight:600;opacity:1}
/* masthead search: sits in the MIDDLE of the header on desktop (logo left, search flex, nav right - the
   BrickTurtle pattern), and wraps to a full-width second row on mobile (see the max-width:900px block).
   Search is a key feature, so it's promoted to the header bar (Adam 2026-09-09). */
.theme-coffeelens .cl-search{display:flex;align-items:stretch;flex:1 1 0;max-width:440px;min-width:210px;
  background:#fff;border:1px solid var(--line);border-radius:999px;overflow:hidden}
.theme-coffeelens .cl-search input{flex:1;min-width:0;border:0;background:transparent;outline:none;
  padding:9px 16px;font-size:15px;color:var(--ink)}
.theme-coffeelens .cl-search input::placeholder{color:#a99a86}
.theme-coffeelens .cl-search button{flex:none;border:0;cursor:pointer;background:var(--accent);color:#fff;
  font-weight:600;font-size:14px;padding:0 18px}
.theme-coffeelens .cl-search button:hover{background:var(--accent-d)}
/* mid widths (small laptop/tablet, ~901-1100px): logo + full category nav + auth link don't leave room for
   an inline search, so drop search to a full-width second row while KEEPING the category links on row 1.
   Below 900px the mobile block takes over (category links collapse). NOTE: the inline search above uses
   flex-basis 0 (not auto) so it grows into the free space instead of claiming its content width and forcing
   the nav to wrap over the hero - the signed-in "Account" bug (Adam 2026-10-11). */
@media(max-width:1100px){
  .theme-coffeelens .cl-search{order:3;flex:1 1 100%;max-width:none;min-width:0}
  .theme-coffeelens .cl-nav{margin-left:auto}
  /* slight gap so the full-width search sits apart from the hero, not flush against it (Adam 2026-09-27) */
  .theme-coffeelens .cl-hero{margin-top:12px}
}

/* FUNCTIONAL hero - illustration backdrop with the headline, an embedded search, category chips and live
   trust counts overlaid on the darker left/centre (Fable hero review, Adam 2026-09-09). Shorter than the old
   452px poster so real content sits above the fold; gradient extended right so the wider search/chips stay
   legible over the artwork. */
.theme-coffeelens .cl-hero{position:relative;z-index:2;min-height:372px;display:flex;align-items:center;
  padding:34px 0;background:url('/assets/img/coffeelens-hero.webp?v=5') center/cover no-repeat;background-color:#2a1c12}
.theme-coffeelens .cl-hero::before{content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(33,20,12,.84) 30%,rgba(33,20,12,.45) 66%,rgba(33,20,12,0) 92%)}
.theme-coffeelens .cl-hero-in{position:relative;color:#fff;width:100%}
.theme-coffeelens .cl-hero h1{font-family:'Lora',Georgia,serif;font-size:42px;line-height:1.08;font-weight:600;
  letter-spacing:-.3px;max-width:560px;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.theme-coffeelens .cl-hero p{margin:12px 0 20px;font-size:17px;font-weight:400;max-width:520px;color:#f1e7d8;text-shadow:0 1px 6px rgba(0,0,0,.35)}
/* embedded hero search (DESKTOP only - hidden on mobile in the max-width:900 block, where the header search
   on its own row already covers it) - a bigger sibling of the header search */
.theme-coffeelens .cl-hero-search{display:flex;align-items:stretch;max-width:580px;width:100%;
  background:#fff;border-radius:999px;overflow:hidden;box-shadow:0 6px 22px rgba(0,0,0,.22)}
.theme-coffeelens .cl-hero-search input{flex:1;min-width:0;border:0;background:transparent;outline:none;
  padding:15px 22px;font-size:16px;color:var(--ink)}
.theme-coffeelens .cl-hero-search input::placeholder{color:#a99a86}
.theme-coffeelens .cl-hero-search button{flex:none;border:0;cursor:pointer;background:var(--accent);color:#fff;
  font-weight:600;font-size:15px;padding:0 26px;transition:background .15s}
.theme-coffeelens .cl-hero-search button:hover{background:var(--accent-d)}
/* category chips - the quick "know your type" entry points, replacing the old browse-by-type tile band */
.theme-coffeelens .cl-hero-chips{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:16px}
.theme-coffeelens .cl-chip-label{font-size:14px;color:#e8dcc9;opacity:.9;margin-right:2px;text-shadow:0 1px 5px rgba(0,0,0,.4)}
.theme-coffeelens .cl-hero-chips a{display:inline-block;padding:8px 16px;border-radius:999px;font-size:14px;font-weight:500;
  text-decoration:none;color:#fff;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.34);
  backdrop-filter:blur(2px);transition:background .15s,border-color .15s}
.theme-coffeelens .cl-hero-chips a:hover{background:rgba(255,255,255,.26);border-color:#fff}
/* variant (colour) selector: coffee colour names run long ("Brushed Stainless Steel", "an Aboriginal
   Culinary Journey"), so shrink the label a touch on Coffee Lens only (base is 17px) - Adam 2026-09-09 */
.theme-coffeelens .variant-val{font-size:14px;line-height:1.2}

/* Price-check verdict colours - override the base blue-heavy defaults so the label harmonises with the
   warm cream/espresso palette (Adam flagged the blue #2f7fbf as clashing). Same semantics: good/great are
   positive (earthy greens that read positive on cream), avg = caution amber, wait = terracotta. Beats the
   base inline .pc-* (single-class) via the .theme-coffeelens scope. */
.theme-coffeelens .pc-good{color:#5f7d4e}   /* muted sage green - the recoloured positive (was blue) */
.theme-coffeelens .pc-great{color:#3f7d54}  /* deeper forest green - softer than the base #1e9e5a on cream */
.theme-coffeelens .pc-avg{color:#a9781b}    /* warm amber, tuned to the --gold family */
.theme-coffeelens .pc-wait{color:#b8532c}   /* terracotta caution, sits with the espresso/accent tones */

/* sections + headings */
.theme-coffeelens main{padding-top:0}
.theme-coffeelens .cl-hero+.band{padding-top:34px}
.theme-coffeelens .band{padding:22px 0}
.theme-coffeelens h2{font-family:'Lora',Georgia,serif;font-size:29px;font-weight:600;color:var(--ink);margin-bottom:18px}
.theme-coffeelens .band:not(.rail):not(.prose) h2{text-align:left}
/* article prose: headings left-aligned (the band-centre rule above is for homepage sections, not articles) */
.theme-coffeelens .prose .body h2,.theme-coffeelens .prose .body h3{text-align:left}
/* per-product image in article prose: a tidy, constrained, left-aligned thumbnail card */
.theme-coffeelens .prose .body .art-img-link{display:block;width:auto;max-width:280px;margin:16px 0;padding:12px;background:#fff;border:1px solid var(--line);border-radius:12px}
.theme-coffeelens .prose .body .art-img-link .art-img{max-height:220px}

/* browse-by-type tiles - clean bordered cards */
.theme-coffeelens .tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.theme-coffeelens .tile{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:26px 18px;
  font-weight:500;font-size:16px;color:var(--ink);text-decoration:none;text-align:center;transition:border-color .15s,transform .15s}
.theme-coffeelens .tile:hover{border-color:var(--accent);transform:translateY(-2px)}

/* rails + product cards */
.theme-coffeelens .rail-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
/* blurb now sits UNDER the heading, left-aligned, reading as a subtitle (not floated beside it) */
.theme-coffeelens .rail-blurb{color:var(--muted);font-size:14px;font-weight:400;max-width:640px;margin:2px 0 16px}
.theme-coffeelens .rail-more{background:var(--card);border:1px solid var(--line);border-radius:999px;padding:8px 16px;
  font-weight:600;font-size:14px;color:var(--accent-d);text-decoration:none;white-space:nowrap}
/* keep-browsing footer band: browse-by-type + our guides (Adam 2026-09-13) */
.theme-coffeelens .cl-keep{background:var(--cream2);border-top:1px solid var(--line)}
.theme-coffeelens .cl-keep-in{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.theme-coffeelens .cl-keep-col .rail-head{display:block}
.theme-coffeelens .cl-keep-col .rail-head h2{text-align:left}
.theme-coffeelens .cl-keep-col p{color:var(--muted);font-size:15px;line-height:1.6;margin:6px 0 14px}
.theme-coffeelens .cl-type-links{display:flex;flex-wrap:wrap;gap:9px}
.theme-coffeelens .cl-type-links a{display:inline-block;padding:8px 16px;border-radius:999px;font-size:14px;font-weight:600;
  background:var(--card);border:1px solid var(--line);color:var(--accent-d);text-decoration:none;transition:border-color .15s,background .15s}
.theme-coffeelens .cl-type-links a:hover{background:#fff;border-color:var(--accent)}
.theme-coffeelens .cl-guide-links{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.theme-coffeelens .cl-guide-links a{color:var(--ink);font-weight:600;font-size:15px;line-height:1.4;text-decoration:none;
  border-bottom:1px solid var(--line);padding-bottom:10px;display:block}
.theme-coffeelens .cl-guide-links li:last-child a{border-bottom:0}
.theme-coffeelens .cl-guide-links a:hover{color:var(--accent-d)}
@media(max-width:720px){.theme-coffeelens .cl-keep-in{grid-template-columns:1fr;gap:26px}}
.theme-coffeelens .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.theme-coffeelens .card{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;
  text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:box-shadow .15s,transform .15s}
.theme-coffeelens .card:hover{box-shadow:0 8px 24px rgba(44,33,23,.10);transform:translateY(-2px)}
.theme-coffeelens .card>img,.theme-coffeelens .card .noimg{background:#fff;padding:14px;height:170px;object-fit:contain;width:100%;box-sizing:border-box;border-bottom:1px solid var(--line)}
.theme-coffeelens .card-b{padding:14px 15px 15px;display:flex;flex-direction:column;gap:7px;flex:1}
.theme-coffeelens .card .t{font-weight:600;font-size:15px;color:var(--ink);line-height:1.3}
.theme-coffeelens .card .p{color:var(--ink);font-weight:700;font-size:19px}
.theme-coffeelens .card .p-oos{color:var(--muted)}
.theme-coffeelens .card .was{color:var(--muted)}
.theme-coffeelens .card-rating{display:flex;align-items:center;gap:2px;font-size:13px;color:var(--muted)}
.theme-coffeelens .card-rating .on{color:var(--gold)}.theme-coffeelens .card-rating .off{color:#dcd2c2}
.theme-coffeelens .card-rating .cr-num{color:var(--ink);margin-left:3px}
.theme-coffeelens .card-rating em{margin-left:2px;font-style:normal}
.theme-coffeelens .rlogos{display:flex;align-items:center;gap:5px}
.theme-coffeelens .rlogos img{border-radius:4px}
.theme-coffeelens .rlogos .more,.theme-coffeelens .stores{color:var(--muted);font-size:12px;font-weight:500}
.theme-coffeelens .off-badge{background:var(--gold);color:var(--espresso);font-weight:800;border-radius:999px;font-size:16px;padding:5px 13px;letter-spacing:.2px}
.theme-coffeelens .oos-badge{background:#8a7c6d;color:#fff;font-weight:600;border-radius:999px;font-size:12px;padding:3px 9px}
.theme-coffeelens .view-deal{background:var(--espresso);color:#fff;text-align:center;font-weight:600;font-size:14px;
  padding:11px;border-radius:8px;margin-top:auto;transition:background .15s}
.theme-coffeelens .card:hover .view-deal{background:#3d2c1f}

/* card fixes (Adam mobile review 2026-08-29): discount pill = corner OVERLAY on the image (not a
   full-width bar pushing the image down); titles clamp to a fixed 3-line box so the meta rows (rating,
   price, logos, button) line up across side-by-side cards; review count drops to its own line; the
   Compare-prices label stays on ONE line. */
.theme-coffeelens .card{position:relative}
.theme-coffeelens .off-badge,.theme-coffeelens .oos-badge{position:absolute;top:10px;right:10px;z-index:2;
  box-shadow:0 1px 4px rgba(44,33,23,.20)}
.theme-coffeelens .card .t{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;
  overflow:hidden;min-height:calc(1.3em * 3)}
.theme-coffeelens .card-rating{flex-wrap:wrap;row-gap:1px}
.theme-coffeelens .card-rating .cr-count{display:block;width:100%;font-style:normal;color:var(--muted);
  font-size:0;margin-top:1px}
.theme-coffeelens .card-rating .cr-count::before{content:"from " attr(data-count) " reviews";font-size:12px}
.theme-coffeelens .view-deal{white-space:nowrap}
/* keep the product article's side padding: .band's `padding:22px 0` shorthand zeroes left/right, which
   flushed the PDP breadcrumb/title/image to the screen edge on mobile. */
.theme-coffeelens .wrap.band{padding-left:22px;padding-right:22px}

/* footer */
.theme-coffeelens .site-foot{background:var(--espresso);color:#c6b7a5;padding:30px 0;margin-top:30px;font-size:14px;line-height:1.6}
.theme-coffeelens .site-foot .foot-wm{font-family:'Lora',Georgia,serif;font-size:22px;font-weight:600;color:#f4ece0;display:block;margin-bottom:8px}
.theme-coffeelens .site-foot .foot-wm i{font-style:italic;font-weight:500}
.theme-coffeelens .site-foot a{color:#e2cfb6;font-weight:500;text-decoration:none}
.theme-coffeelens .site-foot a:hover{color:#fff}
/* grinder cross-sell block on semi-auto machine pages (Adam 2026-08-29) */
.theme-coffeelens .grinder-xsell{margin:26px 0 6px}
.theme-coffeelens .grinder-xsell h2{margin-bottom:4px}
.theme-coffeelens .grinder-xsell .muted{margin:0 0 14px}
/* align-items:start so a tier's variable-length "why" text below the card doesn't stretch the card; each
   card box is a uniform fixed height (Adam 2026-09-27: cards should be the same height, and the why-length
   must not push others). */
.theme-coffeelens .gx-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:14px;align-items:start}
.theme-coffeelens .gx-card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px;
  display:flex;flex-direction:column;gap:7px;text-decoration:none;color:inherit;transition:border-color .15s,transform .15s;
  min-height:250px}
.theme-coffeelens .gx-card:hover{border-color:var(--accent);transform:translateY(-2px)}
.theme-coffeelens .gx-card>img,.theme-coffeelens .gx-noimg{background:#fff;height:120px;object-fit:contain;width:100%;border-radius:8px}
/* reserve 2 title lines so a 1-line title doesn't shift the price row up out of alignment */
.theme-coffeelens .gx-t{font-weight:600;font-size:14px;line-height:1.3;min-height:2.6em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.theme-coffeelens .gx-r{font-size:12px;letter-spacing:1px;min-height:1em}
.theme-coffeelens .gx-r .on{color:var(--gold)}.theme-coffeelens .gx-r .off{color:#dcd2c2}
.theme-coffeelens .gx-p{font-weight:700;font-size:16px;color:var(--ink);margin-top:auto}
.theme-coffeelens .gx-tier{display:flex;flex-direction:column;gap:8px}
.theme-coffeelens .gx-tag{align-self:flex-start;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--accent);background:color-mix(in srgb, var(--accent) 12%, transparent);border:1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius:999px;padding:3px 10px}
.theme-coffeelens .gx-top .gx-card{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.theme-coffeelens .gx-tag-top{color:#fff;background:var(--accent);border-color:var(--accent)}
.theme-coffeelens .gx-why{margin:0;font-size:13px;line-height:1.55;color:#5d6067}
.theme-coffeelens .gx-nomatch{margin:0;font-size:14px;line-height:1.6;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px 16px}
@media(max-width:640px){.theme-coffeelens .gx-grid{grid-template-columns:1fr;gap:24px}.theme-coffeelens .gx-card{flex-direction:row;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;min-height:0;padding:10px;gap:3px 10px}.theme-coffeelens .gx-card>img,.theme-coffeelens .gx-noimg{width:64px;height:64px;flex:none}.theme-coffeelens .gx-t,.theme-coffeelens .gx-r,.theme-coffeelens .gx-p{flex-basis:calc(100% - 74px)}.theme-coffeelens .gx-t{min-height:0;-webkit-line-clamp:1}.theme-coffeelens .gx-p{margin-top:0}.theme-coffeelens .gx-tier{gap:6px}}

/* distinct multi-column footer (Adam 2026-08-29: not a carbon copy of the other sites' one-line footer) */
.theme-coffeelens .cl-foot{padding-top:34px}
.theme-coffeelens .cl-foot-in{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:34px;align-items:start}
.theme-coffeelens .cl-foot-brand .foot-wm{margin-bottom:10px}
.theme-coffeelens .cl-foot-blurb{margin:0;max-width:340px;color:#c6b7a5;font-size:14px;line-height:1.6}
.theme-coffeelens .cl-foot-col h4{font-family:'Lora',Georgia,serif;color:#f4ece0;font-size:15px;font-weight:600;margin:2px 0 10px}
.theme-coffeelens .cl-foot-col a{display:block;padding:4px 0;color:#d8c6ae;font-weight:500}
.theme-coffeelens .cl-foot-base{margin-top:18px;font-size:12.5px;color:#a99a86}
@media(max-width:900px){
  .theme-coffeelens .cl-foot-in{grid-template-columns:1fr 1fr;gap:20px 24px}
  .theme-coffeelens .cl-foot-brand{grid-column:1 / -1}
}

@media(max-width:900px){
  .theme-coffeelens .grid{grid-template-columns:repeat(2,1fr)}
  .theme-coffeelens .tiles{grid-template-columns:1fr}
  .theme-coffeelens .cl-hero h1{font-size:32px}
  /* hide the hero search on mobile - the header search (full-width 2nd row) already covers it and the two
     stacked read as redundant (Adam 2026-09-09). Chips remain as the hero's browse affordance. */
  .theme-coffeelens .cl-hero-search{display:none}
  /* shift the illustration right so the espresso machine (on the right of the artwork) is in frame on a
     narrow viewport instead of cropping to the empty middle. */
  .theme-coffeelens .cl-hero{min-height:360px;background-position:82% center}
  .theme-coffeelens .cl-nav{gap:16px}
  .theme-coffeelens .cl-nav a:not(.acct){display:none}
  /* logo + Sign in on row 1; search wraps to a full-width second row (mirrors BrickTurtle mobile) */
  .theme-coffeelens .cl-head-in{flex-wrap:wrap;gap:10px 16px}
  /* Vertically centre the logo against the (absolute) hamburger so it doesn't sit pushed-up (Adam 2026-09-27).
     The burger is position:absolute (top:8px, 42px tall, centre at y~29), so row 1 - which holds only the logo
     once the nav is hidden - collapses to the 34px logo height and the logo rides high. Give row 1 the burger's
     height + matching head padding so both centre on the same line. No visible container needed. */
  .theme-coffeelens .cl-head{padding:8px 0}
  .theme-coffeelens .cl-brand{min-height:42px}
  .theme-coffeelens .cl-nav{margin-left:auto}
  .theme-coffeelens .cl-search{display:flex;order:3;flex:1 1 100%;max-width:none}
  /* rail header: heading + View-all stack on a narrow screen; blurb (now a sibling below rail-head)
     reads as the subtitle underneath */
  .theme-coffeelens .rail-head{flex-direction:column;align-items:flex-start;gap:6px}
  .theme-coffeelens .rail-head h2{margin-bottom:0}
  .theme-coffeelens .rail-blurb{margin:8px 0 14px}
  /* keep "Compare prices" on one line inside the narrow 2-col card */
  .theme-coffeelens .view-deal{font-size:13px;padding:10px 8px;letter-spacing:-.1px}
  .theme-coffeelens .card-b{padding:13px 12px 13px}
}

/* mobile hamburger drawer (CSS checkbox toggle, no JS). Desktop hides it; on phone the inline .cl-nav is
   replaced by the burger + slide-in drawer so categories/guides/account stay reachable on deep pages. */
.theme-coffeelens .cl-burger,.theme-coffeelens .cl-scrim,.theme-coffeelens .cl-drawer{display:none}
@media(max-width:900px){
  .theme-coffeelens .cl-nav{display:none}
  .theme-coffeelens .cl-burger{display:flex;flex-direction:column;justify-content:center;gap:5px;position:absolute;top:8px;right:12px;width:42px;height:42px;padding:10px;background:none;cursor:pointer;z-index:30}
  .theme-coffeelens .cl-burger span{display:block;height:2.5px;background:var(--ink);border-radius:2px}
  .theme-coffeelens .cl-scrim{display:block;position:fixed;inset:0;background:rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:opacity .2s;z-index:40}
  .theme-coffeelens .cl-drawer-toggle:checked ~ .cl-scrim{opacity:1;pointer-events:auto}
  .theme-coffeelens .cl-drawer{display:block;position:fixed;top:0;right:0;height:100%;width:80%;max-width:320px;background:var(--cream);box-shadow:-8px 0 24px rgba(0,0,0,.25);padding:54px 20px 30px;overflow-y:auto;transform:translateX(100%);transition:transform .22s ease;z-index:50}
  .theme-coffeelens .cl-drawer-toggle:checked ~ .cl-drawer{transform:translateX(0)}
  .theme-coffeelens .cl-drawer-x{position:absolute;top:8px;right:16px;font-size:32px;line-height:1;color:var(--ink);cursor:pointer;text-decoration:none}
  .theme-coffeelens .cl-drawer .cl-dh{margin:20px 0 8px;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--accent-d);opacity:.9}
  .theme-coffeelens .cl-drawer .cl-dh:first-of-type{margin-top:0}
  .theme-coffeelens .cl-drawer a{display:block;padding:10px 0;font-weight:600;color:var(--ink);border-bottom:1px solid var(--line);text-decoration:none}
}
