:root{--bg:#f4efe7;--paper:#fffdf9;--ink:#3b2a20;--muted:#746d64;--line:#ded6ca;--accent:#3e342a;--accent2:#8b5e3c;--soft:#ece3d7;--radius:22px;--shadow:0 18px 50px rgba(48,38,28,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit}.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:18px 5vw;background:rgba(244,239,231,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(80,60,40,.08)}.topbar .brand{font-weight:800;letter-spacing:-.03em}.topbar nav{display:flex;gap:24px;font-size:14px}.topbar nav a{text-decoration:none}.topbar nav span{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:10px;background:var(--ink);color:#fff;font-size:11px;margin-left:3px}.hero{max-width:1200px;margin:auto;padding:78px 5vw 58px;display:grid;grid-template-columns:1.05fr .95fr;gap:50px;align-items:center}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.16em;color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(44px,6vw,78px);line-height:.98;letter-spacing:-.065em;margin:18px 0 24px}h1 em{font-family:Georgia,serif;font-weight:400}.hero p{font-size:19px;color:var(--muted);max-width:650px}.button{border:0;border-radius:999px;padding:15px 25px;text-decoration:none;font-weight:750;display:inline-flex;align-items:center;justify-content:center}.button.primary{background:var(--ink);color:#fff}.button.secondary{background:transparent;border:1px solid var(--line)}.hero-note{font-size:13px;color:var(--muted);margin-left:14px}.hero-card{color:var(--ink);text-decoration:none;display:block;background:var(--paper);border:1px solid var(--line);border-radius:32px;padding:26px;box-shadow:var(--shadow)}.hero-visual-copy{display:flex;justify-content:space-between;gap:20px}.hero-visual-copy strong{max-width:280px;font-size:19px}.hero-machine{height:310px;display:grid;place-items:center;overflow:hidden}.hero-machine img{max-height:290px;max-width:85%;object-fit:contain}.hero-match-row{display:flex;justify-content:space-between;align-items:end;border-top:1px solid var(--line);padding-top:16px}.hero-match-row span{display:block;color:var(--muted);font-size:12px}.hero-match-row strong{font-size:34px}.chips{display:flex;gap:6px;flex-wrap:wrap}.chips span,.tag{background:var(--soft);border-radius:999px;padding:6px 9px;font-size:11px}.section{max-width:1200px;margin:auto;padding:65px 5vw}.quick-start{padding-top:35px}.quick-start-head,.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:24px}.section-head h2,.quick-start h2{font-size:38px;letter-spacing:-.045em;margin:8px 0}.section-intro{color:var(--muted)}.text-button{background:none;border:0;padding:0;font-weight:750}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.quick-card{border:1px solid var(--line);background:var(--paper);border-radius:20px;padding:20px;text-align:left;min-height:190px;display:flex;flex-direction:column;align-items:flex-start;transition:.2s}.quick-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.quick-card strong{font-size:17px;margin:8px 0 6px}.quick-card small{color:var(--muted);line-height:1.4}.quick-card>span:last-child{margin-top:auto;font-weight:750;font-size:13px}.quick-kicker{font-size:10px;font-weight:850;letter-spacing:.14em;color:var(--muted);text-transform:uppercase}.trust-strip{max-width:1200px;margin:0 auto;padding:18px 5vw;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.trust-strip span{position:relative;padding-left:12px}.trust-strip span:before{content:"";position:absolute;left:0;top:.62em;width:4px;height:4px;border-radius:50%;background:var(--accent2)}.finder{background:var(--paper);border:1px solid var(--line);border-radius:30px;margin-top:30px}.finder-actions{display:flex;justify-content:space-between;margin-top:28px}.finder-option-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.finder-option{border:1px solid var(--line);background:#fff;border-radius:18px;padding:20px;text-align:left;min-height:110px}.finder-option.selected{border-color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}.finder-option strong,.finder-option small{display:block}.finder-option small{color:var(--muted);margin-top:5px}.hidden{display:none!important}.profile{color:var(--muted)}#profile{padding:15px 18px;background:var(--soft);border-radius:16px;margin-bottom:22px}.dna-panel,.simulator-panel{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:24px;margin:24px 0}.dna-bars{display:grid;gap:13px}.dna-row{display:grid;grid-template-columns:150px 1fr 40px;gap:14px;align-items:center;font-size:13px}.dna-row>div{height:8px;background:var(--soft);border-radius:99px;overflow:hidden}.dna-row i{display:block;height:100%;background:var(--ink);border-radius:99px}.decision-head{display:flex;justify-content:space-between;align-items:end;margin:34px 0 12px}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.product-card{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:18px;min-width:0}.product-top{display:flex;justify-content:space-between;gap:8px;align-items:start}.type{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.rec-label{font-size:9px;font-weight:900;letter-spacing:.08em;background:var(--ink);color:#fff;border-radius:999px;padding:5px 7px}.product-image{height:150px;margin:12px 0;display:grid;place-items:center;border-radius:15px;background:linear-gradient(135deg,#eee5da,#faf7f1);font-size:45px;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain}.product-image.large{height:150px}.brand{font-size:12px;color:var(--muted)}.product-card h3{font-size:22px;letter-spacing:-.03em;margin:3px 0}.match{font-weight:800;margin:6px 0}.price{font-weight:850;font-size:18px;margin:8px 0}.card-copy{color:var(--muted);font-size:13px;min-height:58px}.card-bottom{display:flex;gap:5px;flex-wrap:wrap;margin:13px 0}.card-actions{display:flex;gap:7px}.mini-button{flex:1;border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 10px;font-size:12px;font-weight:750}.filters{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:10px;margin-bottom:18px}.filters input,.filters select{width:100%;border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:12px 13px;color:var(--ink)}.simulator-panel{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:25px;align-items:center}.simulator-label{display:flex;justify-content:space-between}.simulator-control input{width:100%}.range-labels{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.simulator-result{display:grid;gap:5px;padding:16px;background:var(--soft);border-radius:16px}.simulator-result small{color:var(--muted)}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.guide-card{display:grid;gap:7px;text-decoration:none;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:20px}.guide-card span{color:var(--muted);font-size:13px}.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.faq-grid details{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:17px}.faq-grid summary{font-weight:750;cursor:pointer}.faq-grid p{color:var(--muted);margin:12px 0 0}.compare-wrap{overflow:auto}.compare-table{width:100%;border-collapse:collapse;background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden}.compare-table th,.compare-table td{padding:13px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.compare-table th{background:var(--soft)}.tradeoff-box{margin-top:12px;padding:16px;background:var(--soft);border-radius:16px}.empty{padding:28px;background:var(--paper);border:1px dashed var(--line);border-radius:18px;color:var(--muted)}.affiliate-note{background:var(--soft);padding:14px 16px;border-radius:14px;font-size:12px;color:var(--muted);margin-bottom:20px}.affiliate-note a{font-weight:750}.product-modal{position:fixed;inset:0;z-index:50}.modal-backdrop{position:absolute;inset:0;background:rgba(20,16,12,.55);display:grid;place-items:center;padding:20px}.modal-card{position:relative;max-width:700px;width:100%;max-height:90vh;overflow:auto;background:var(--paper);border-radius:25px;padding:28px;box-shadow:0 30px 80px rgba(0,0,0,.25)}.modal-close{position:absolute;right:15px;top:12px;border:0;background:none;font-size:30px}.modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.modal-grid li{margin-bottom:6px}.editorial-note{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:14px}footer{display:flex;gap:22px;flex-wrap:wrap;align-items:center;padding:35px 5vw;border-top:1px solid var(--line);color:var(--muted);font-size:12px}footer strong{color:var(--ink)}
@media(max-width:900px){.hero{grid-template-columns:1fr}.quick-grid,.product-grid{grid-template-columns:repeat(2,1fr)}.trust-strip{grid-template-columns:repeat(2,1fr)}.simulator-panel{grid-template-columns:1fr}.guide-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.hero-visual-copy{flex-direction:column;gap:8px}.hero-visual-copy strong{max-width:100%}.decision-map{height:300px}}\n@media(max-width:560px){.topbar{padding:14px 4vw}.topbar nav{gap:10px;font-size:12px;white-space:nowrap}.hero,.section{padding-left:4vw;padding-right:4vw}.hero{padding-top:45px}.quick-grid,.product-grid,.guide-grid,.faq-grid,.finder-option-grid{grid-template-columns:1fr}.trust-strip{grid-template-columns:1fr}.filters{grid-template-columns:1fr}.hero-note{display:block;margin:12px 0 0}.hero-card{padding:20px}.hero-machine{height:260px}.hero-machine img{max-height:245px}.section-head,.quick-start-head,.decision-head{align-items:flex-start;flex-direction:column}.dna-row{grid-template-columns:110px 1fr 35px}.modal-grid{grid-template-columns:1fr}h1{font-size:48px}}
.finder-progress{height:5px;background:var(--soft);border-radius:999px;overflow:hidden;margin:-8px 0 24px}.finder-progress i{display:block;height:100%;width:25%;background:var(--ink);border-radius:inherit;transition:width .25s ease}.affiliate-disclosure{margin-top:22px;background:var(--soft);border-radius:14px;padding:13px 16px;color:var(--muted);font-size:12px}.affiliate-disclosure summary{cursor:pointer;font-weight:750;color:var(--ink)}.affiliate-disclosure p{max-width:800px;margin:10px 0}.affiliate-disclosure a{font-weight:750}.guide-featured{grid-column:span 2;background:var(--ink);color:#fff;border-color:var(--ink);min-height:210px}.guide-featured span{color:rgba(255,255,255,.72)}.guide-featured strong{font-size:26px;letter-spacing:-.035em}.guide-featured b{font-size:13px}.guide-kicker{font-size:10px!important;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.recommendation-reason{font-size:12px;color:var(--muted);margin:2px 0 6px}.product-card .match{font-size:13px}.product-card .price{margin-top:5px}@media(max-width:900px){.guide-featured{grid-column:span 2}}@media(max-width:560px){.guide-featured{grid-column:span 1}}.match-summary{margin:16px 0 26px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:#fff}.match-summary p{margin:7px 0 0;max-width:760px;color:var(--muted);line-height:1.6}.match-summary strong{color:var(--ink)}.article-page{max-width:820px}.article-page h1{max-width:760px}.article-page h2{margin-top:44px}.article-page p{max-width:760px;line-height:1.75}.article-page .lead{font-size:20px;color:var(--muted);line-height:1.6}.article-callout{margin:38px 0;padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff}.guide-depth{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.guide-deep{background:#fffdf9}.guide-deep .guide-kicker{color:var(--muted)}@media(max-width:700px){.guide-depth{grid-template-columns:1fr}.decision-map{min-height:440px}.decision-quadrant{padding:14px}.decision-pill span{max-width:150px}}
.match-summary small{display:block;color:var(--muted);font-size:12px;margin-top:6px}


.price-meta{display:block;margin-top:-2px;margin-bottom:12px;color:var(--muted);font-size:11px;line-height:1.4}
.hero-card{transition:transform .2s ease,box-shadow .2s ease}.hero-card:hover{transform:translateY(-2px);box-shadow:0 22px 55px rgba(48,38,28,.11)}
.recommendation-heading{margin-top:34px}.recommendation-heading .section-intro{max-width:620px;margin:6px 0 0}.recommendation-grid{position:relative}.recommendation-grid .product-card:first-child{border-color:var(--accent2);box-shadow:0 12px 32px rgba(48,38,28,.1)}.recommendation-grid .product-card:first-child .rec-label{background:var(--accent2)}.recommendation-grid .product-card:nth-child(3){border-color:var(--line);background:linear-gradient(180deg,#fffdf9,#faf4eb)}.recommendation-grid .product-card:nth-child(3) .rec-label{background:var(--accent2)}
/* V1 polish: clearer hierarchy and commercial readiness */
.hero-lead{font-size:18px;color:var(--muted);max-width:640px;margin:0 0 24px;line-height:1.6}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.button.ghost{background:transparent;border:1px solid var(--line);color:var(--ink)}
.hero-note{display:block;margin:12px 0 0}
.section-intro{max-width:720px;margin:5px 0 0;color:var(--muted);line-height:1.55}
.product-image{position:relative}
.image-placeholder{display:grid;place-items:center;text-align:center;color:var(--muted);font-size:15px;line-height:1.35;padding:20px}
.image-placeholder small{font-size:10px;max-width:160px}
.card-buy{margin-top:10px}
.buy-button{display:flex;align-items:center;justify-content:center;width:100%;background:var(--ink);color:#fff;text-decoration:none;border-radius:999px;padding:11px 14px;font-size:12px;font-weight:800}
.buy-button:hover{opacity:.9}
.affiliate-pending{display:block;padding:9px 2px;color:var(--muted);font-size:10px;line-height:1.35}
.product-card{height:100%;display:flex;flex-direction:column}
.product-card .card-actions{margin-top:auto}
@media(max-width:560px){.hero-actions{flex-direction:column;align-items:stretch}.hero-actions .button{width:100%}.hero-lead{font-size:16px}}

.dna-head h3{font-size:22px;margin:6px 0 18px}.dna-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.dna-item{background:var(--soft);border-radius:15px;padding:14px 15px}.dna-item span{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.dna-item strong{font-size:14px}@media(max-width:700px){.dna-grid{grid-template-columns:1fr 1fr}}@media(max-width:420px){.dna-grid{grid-template-columns:1fr}}
.simulator-control input[type="range"]{appearance:none;-webkit-appearance:none;height:6px;background:var(--line);border-radius:999px;outline:none}
.simulator-control input[type="range"]::-webkit-slider-runnable-track{height:6px;background:var(--line);border-radius:999px}
.simulator-control input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;margin-top:-6px;border-radius:50%;background:var(--accent2);border:2px solid var(--paper);box-shadow:0 1px 4px rgba(48,38,28,.18)}
.simulator-control input[type="range"]::-moz-range-track{height:6px;background:var(--line);border-radius:999px}
.simulator-control input[type="range"]::-moz-range-progress{height:6px;background:var(--accent2);border-radius:999px}
.simulator-control input[type="range"]::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:var(--accent2);border:2px solid var(--paper);box-shadow:0 1px 4px rgba(48,38,28,.18)}
.simulator-result{display:grid;gap:7px}
.sim-option{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;background:var(--paper);border:1px solid var(--line);border-radius:12px}
.sim-option div{min-width:0}
.sim-option strong,.sim-option span{display:block}
.sim-option strong{font-size:13px}
.sim-option span{font-size:11px;color:var(--muted);margin-top:2px}
.sim-option>b{font-size:13px;white-space:nowrap}

/* Guide pages: keep the same centered reading width as the rest of the site */
.info-page{max-width:820px;margin:0 auto;padding:65px 5vw}
.info-page h1{max-width:760px}
.info-page .lead{font-size:20px;color:var(--muted);line-height:1.6;max-width:760px}
.info-page h2{margin-top:42px}
.info-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:22px 24px;margin:20px 0}
.info-card p:last-child{margin-bottom:0}
.info-page .related-guides{padding-left:0;padding-right:0}
@media(max-width:560px){.info-page{padding-left:4vw;padding-right:4vw;padding-top:45px}}

/* Main guide redesign */
.machine-guide{max-width:1000px}
.guide-hero{padding:55px 0 45px}
.guide-hero h1{max-width:900px}
.guide-hero .lead{max-width:760px}
.guide-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.guide-section{padding:58px 0;border-top:1px solid var(--line)}
.guide-section>h2{font-size:40px;letter-spacing:-.045em;margin:8px 0 12px}
.machine-type-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:28px}
.machine-type-card{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:23px;box-shadow:0 8px 28px rgba(48,38,28,.04)}
.machine-type-card:last-child{grid-column:span 2}
.machine-number{font-size:10px;font-weight:850;letter-spacing:.14em;color:var(--accent2)}
.machine-type-card h3{font-size:25px;letter-spacing:-.03em;margin:7px 0}
.machine-type-lead{font-size:15px;color:var(--muted);min-height:46px}
.machine-type-card dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}
.machine-type-card dl div{background:var(--soft);border-radius:12px;padding:10px}
.machine-type-card dt{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.machine-type-card dd{margin:2px 0 0;font-weight:750;font-size:13px}
.machine-type-card>p:not(.machine-type-lead){color:var(--muted);font-size:14px}
.machine-type-card>strong{font-size:13px}
.comparison-scroll{overflow-x:auto;margin-top:25px}
.guide-table{width:100%;min-width:720px;border-collapse:collapse;background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden}
.guide-table th,.guide-table td{padding:14px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}
.guide-table thead th{background:var(--soft);font-weight:800}
.guide-table tbody th{font-weight:750}
.guide-table tr:last-child th,.guide-table tr:last-child td{border-bottom:0}
.component-flow{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:22px 0 8px}
.component-flow>b{color:var(--muted);flex:0 0 auto}
.component-node{flex:1 0 145px;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:15px}
.component-node span{display:block;font-size:10px;font-weight:850;letter-spacing:.1em;color:var(--accent2)}
.component-node strong{display:block;font-size:15px;margin:4px 0}
.component-node small{display:block;color:var(--muted);font-size:11px;line-height:1.35}
.component-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px}
.component-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:20px}
.component-card h3{font-size:18px;margin-bottom:7px}
.component-card p{font-size:13px;color:var(--muted);line-height:1.65;margin-bottom:0}
.guide-callout{background:var(--ink);color:#fff;border-radius:24px;padding:32px}
.guide-callout h2{font-size:32px;letter-spacing:-.04em;max-width:720px;margin:8px 0 14px}
.guide-callout p{max-width:760px;color:rgba(255,255,255,.78);line-height:1.65}
.guide-callout strong{color:#fff}
.choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:24px}
.choice-grid a{display:grid;gap:8px;text-decoration:none;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:20px}
.choice-grid strong{font-size:16px}
.choice-grid span{font-size:13px;color:var(--muted);line-height:1.5}
.final-cta{padding-bottom:80px}
@media(max-width:700px){
  .machine-type-grid,.component-grid,.choice-grid{grid-template-columns:1fr}
  .machine-type-card:last-child{grid-column:span 1}
  .guide-section>h2{font-size:34px}
  .machine-type-card dl{grid-template-columns:1fr 1fr 1fr}
}
@media(max-width:560px){
  .guide-hero{padding-top:35px}
  .machine-type-card dl{grid-template-columns:1fr}
  .guide-callout{padding:24px}
  .guide-callout h2{font-size:27px}
}

/* Guide interaction + visual polish */
.guide-nav{position:sticky;top:0;z-index:20;display:flex;gap:7px;flex-wrap:wrap;padding:11px 0;background:rgba(244,239,231,.94);backdrop-filter:blur(12px);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.guide-nav a{font-size:11px;font-weight:750;color:var(--muted);text-decoration:none;border:1px solid var(--line);background:rgba(255,253,249,.72);padding:8px 11px;border-radius:999px}
.guide-nav a:hover{color:var(--ink);border-color:#c9bdae;background:var(--paper)}
.quick-answer{border-top:0;padding-top:24px}
.quick-answer-box{background:var(--soft);border-radius:22px;padding:26px 28px}
.quick-answer-box h2{font-size:28px;margin:6px 0 8px;letter-spacing:-.035em}
.quick-answer-box p{max-width:820px;margin:0;color:var(--muted);line-height:1.65}
.machine-type-card{transition:transform .18s ease,box-shadow .18s ease}
.machine-type-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(48,38,28,.08)}
.machine-type-card strong{display:block;margin-top:16px}
.espresso-diagram{margin:28px 0 8px;padding:22px 20px 16px;background:var(--paper);border:1px solid var(--line);border-radius:22px}
.espresso-diagram svg{display:block;width:100%;height:auto;max-height:380px}
.diagram-legend{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:10px;padding-top:14px;color:var(--muted);font-size:11px}
.diagram-legend b{display:inline-grid;place-items:center;width:20px;height:20px;margin-right:4px;border-radius:50%;background:var(--accent2);color:#fff}
.component-card{margin:0}
.component-card summary,.spec-accordions summary{list-style:none;cursor:pointer;font-size:17px;font-weight:800;display:flex;align-items:center;justify-content:space-between;gap:12px}
.component-card summary::-webkit-details-marker,.spec-accordions summary::-webkit-details-marker{display:none}
.component-card summary:after,.spec-accordions summary:after{content:"+";font-size:21px;font-weight:500;color:var(--muted)}
.component-card[open] summary:after,.spec-accordions details[open] summary:after{content:"−"}
.component-card[open] summary{margin-bottom:8px}
.component-card p{margin-top:0}
.spec-accordions{display:grid;gap:7px;margin-top:24px}
.spec-accordions details{background:rgba(255,253,249,.09);border:1px solid rgba(255,255,255,.16);border-radius:12px;padding:13px 15px}
.spec-accordions summary{font-size:13px;color:#fff}
.spec-accordions summary:after{color:rgba(255,255,255,.7)}
.spec-accordions p{font-size:12px;margin:9px 0 0;color:rgba(255,255,255,.72);line-height:1.55}
@media(max-width:700px){
  .guide-nav{top:0;flex-wrap:nowrap;overflow-x:auto;padding-left:1px;padding-right:1px}
  .guide-nav a{white-space:nowrap}
  .quick-answer-box{padding:22px}
  .espresso-diagram{padding:12px 8px}
  .diagram-legend{justify-content:flex-start}
}


/* Editorial guide polish */
.machine-guide{
  max-width:980px;
  padding-top:20px;
}
.machine-guide .guide-hero{
  padding:72px 0 76px;
}
.machine-guide .guide-hero h1{
  max-width:860px;
  margin-bottom:22px;
}
.machine-guide .guide-hero .lead{
  max-width:720px;
  font-size:20px;
  line-height:1.65;
}
.machine-guide .guide-hero-actions{
  margin-top:30px;
}
.machine-guide .guide-section{
  padding:78px 0;
  border-top:1px solid rgba(80,60,40,.10);
}
.machine-guide .guide-section:first-of-type{
  border-top:0;
}
.machine-guide .guide-section>h2{
  font-size:42px;
  line-height:1.08;
  margin:8px 0 16px;
}
.machine-guide .section-intro{
  max-width:720px;
  font-size:16px;
  line-height:1.7;
  margin-bottom:34px;
}
.machine-type-grid{
  gap:22px;
  margin-top:38px;
}
.machine-type-card{
  padding:30px 30px 28px;
  border-radius:22px;
  box-shadow:none;
}
.machine-type-card:hover{
  transform:none;
  box-shadow:0 12px 32px rgba(48,38,28,.06);
}
.machine-type-card h3{
  font-size:27px;
  margin:8px 0 10px;
}
.machine-type-lead{
  font-size:16px;
  line-height:1.55;
  min-height:0;
  margin-bottom:22px;
}
.machine-type-card>p:not(.machine-type-lead){
  font-size:15px;
  line-height:1.72;
  max-width:680px;
}
.machine-type-card>strong{
  margin-top:24px;
}
.machine-type-card dl{
  gap:10px;
  margin:24px 0;
}
.machine-type-card dl div{
  padding:12px 13px;
  border-radius:13px;
}
.comparison-scroll{
  margin-top:32px;
}
.guide-table{
  border-radius:20px;
}
.guide-table th,.guide-table td{
  padding:16px 17px;
  font-size:13px;
}
.component-grid{
  gap:20px;
  margin-top:30px;
}
.component-card{
  padding:25px 26px;
  border-radius:20px;
}
.component-card h3{
  font-size:19px;
  margin-bottom:9px;
}
.component-card p{
  font-size:14px;
  line-height:1.7;
}
.guide-callout{
  margin-top:36px;
  border-radius:22px;
  padding:34px 36px;
}
.guide-callout h2{
  font-size:34px;
}
.machine-guide .guide-section#valet p{
  max-width:740px;
  font-size:16px;
  line-height:1.75;
  margin-bottom:18px;
}
.machine-guide .guide-section:last-child{
  padding-top:64px;
  padding-bottom:90px;
}
.machine-guide .guide-section:last-child .guide-grid{
  margin-top:26px;
  gap:18px;
}
.machine-guide .guide-section:last-child .guide-card{
  padding:23px 24px;
  border-radius:20px;
}
.machine-guide .guide-section:last-child .guide-hero-actions{
  margin-top:28px;
}
@media(max-width:700px){
  .machine-guide{
    padding-top:0;
  }
  .machine-guide .guide-hero{
    padding:48px 0 52px;
  }
  .machine-guide .guide-section{
    padding:58px 0;
  }
  .machine-guide .guide-section>h2{
    font-size:34px;
  }
  .machine-type-grid,
  .component-grid{
    gap:16px;
  }
  .machine-type-card{
    padding:25px 23px;
  }
  .guide-callout{
    padding:27px 25px;
  }
}


/* Final guide spacing pass */
.machine-guide .machine-type-grid{
  column-gap:24px;
  row-gap:32px;
}
.machine-guide .machine-type-card{
  background:rgba(255,253,249,.92);
  border-color:#d8cfc2;
}
@media(max-width:700px){
  .machine-guide .machine-type-grid{
    row-gap:28px;
  }
}


/* Kaffemaskin guide — editorial layout */
.machine-guide{max-width:1000px}
.machine-guide .machine-types{padding-top:64px}
.machine-guide .section-heading{max-width:760px}
.machine-guide .machine-type-list{margin-top:58px}
.machine-guide .machine-type-card{
  display:grid;
  grid-template-columns:72px minmax(0,720px);
  column-gap:34px;
  align-items:start;
  margin:0;
  padding:48px 0 52px;
  background:transparent;
  border:0;
  border-top:1px solid rgba(80,60,40,.14);
  border-radius:0;
  box-shadow:none!important;
  transition:none;
}
.machine-guide .machine-type-card:last-child{border-bottom:1px solid rgba(80,60,40,.14)}
.machine-guide .machine-number{
  padding-top:8px;
  font-size:11px;
  letter-spacing:.16em;
  color:var(--accent2);
}
.machine-guide .machine-type-content h3{
  font-size:34px;
  line-height:1.05;
  letter-spacing:-.045em;
  margin:0 0 7px;
}
.machine-guide .machine-type-lead{
  font-size:18px;
  line-height:1.45;
  color:var(--ink);
  margin:0 0 25px;
}
.machine-guide .machine-type-content>p:not(.machine-type-lead){
  max-width:700px;
  font-size:15px;
  line-height:1.78;
  color:var(--muted);
  margin-bottom:17px;
}
.machine-guide .machine-tradeoffs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  margin-top:31px;
  max-width:700px;
}
.machine-guide .machine-tradeoffs>div{
  padding:15px 28px 0 0;
}
.machine-guide .machine-tradeoffs>div+div{
  border-left:1px solid var(--line);
  padding-left:28px;
}
.machine-guide .machine-tradeoffs span{
  display:block;
  margin-bottom:5px;
  font-size:10px;
  font-weight:850;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--accent2);
}
.machine-guide .machine-tradeoffs p{
  margin:0;
  color:var(--ink);
  font-size:14px;
  line-height:1.55;
}
.machine-guide .guide-section>h2{
  max-width:760px;
}
.machine-guide .comparison-scroll{margin-top:34px}
.machine-guide .guide-table{
  border:0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:transparent;
}
.machine-guide .guide-table th,
.machine-guide .guide-table td{
  padding:15px 18px;
  border-bottom:1px solid var(--line);
  background:transparent;
}
.machine-guide .guide-table thead th{
  background:transparent;
  color:var(--muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.machine-guide .guide-table tbody th{font-weight:750}
.machine-guide .guide-table tr:last-child th,
.machine-guide .guide-table tr:last-child td{border-bottom:0}
.machine-guide .component-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  margin-top:34px;
  border-top:1px solid var(--line);
}
.machine-guide .component-card{
  display:grid;
  grid-template-columns:36px 1fr;
  gap:14px;
  padding:25px 26px 25px 0;
  background:transparent;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
}
.machine-guide .component-card:nth-child(even){
  padding-left:26px;
  border-left:1px solid var(--line);
}
.machine-guide .component-card>span{
  padding-top:4px;
  color:var(--accent2);
  font-size:10px;
  font-weight:850;
  letter-spacing:.12em;
}
.machine-guide .component-card h3{
  font-size:18px;
  margin:0 0 7px;
}
.machine-guide .component-card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
}
.machine-guide .guide-callout{
  margin-top:46px;
  border-radius:0;
  padding:40px 44px;
}
.machine-guide .choice-copy{
  max-width:760px;
  margin-top:30px;
}
.machine-guide .choice-copy p{
  padding:0 0 22px;
  margin:0 0 22px;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  font-size:16px;
  line-height:1.75;
}
.machine-guide .choice-copy p:last-child{margin-bottom:0}
.machine-guide .choice-copy strong{color:var(--ink)}
@media(max-width:700px){
  .machine-guide .machine-type-card{
    grid-template-columns:38px minmax(0,1fr);
    column-gap:18px;
    padding:38px 0 42px;
  }
  .machine-guide .machine-type-content h3{font-size:29px}
  .machine-guide .machine-type-lead{font-size:17px}
  .machine-guide .machine-tradeoffs{grid-template-columns:1fr;margin-top:27px}
  .machine-guide .machine-tradeoffs>div{padding:13px 0}
  .machine-guide .machine-tradeoffs>div+div{
    border-left:0;
    border-top:1px solid var(--line);
    padding:20px 0 0;
    margin-top:6px;
  }
  .machine-guide .component-list{grid-template-columns:1fr}
  .machine-guide .component-card,
  .machine-guide .component-card:nth-child(even){
    padding:22px 0;
    border-left:0;
  }
  .machine-guide .guide-callout{padding:30px 26px}
}
@media(max-width:560px){
  .machine-guide .machine-types{padding-top:48px}
  .machine-guide .machine-type-list{margin-top:40px}
  .machine-guide .guide-section{padding:54px 0}
  .machine-guide .guide-table{min-width:680px}
}

/* Kaffedrycker — editorial guide */
.drink-guide{max-width:1000px;margin:0 auto;padding:0 5vw}
.drink-hero{padding:72px 0 66px}
.drink-hero h1{max-width:900px;margin:18px 0 22px}
.drink-hero .lead{max-width:760px;font-size:20px;line-height:1.65;color:var(--muted)}
.drink-hero-note{font-size:14px;color:var(--muted);margin-top:20px}
.drink-nav{position:sticky;top:0;z-index:20;display:flex;gap:7px;flex-wrap:nowrap;overflow-x:auto;padding:11px 0;background:rgba(244,239,231,.94);backdrop-filter:blur(12px);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.drink-nav a{white-space:nowrap;font-size:11px;font-weight:750;color:var(--muted);text-decoration:none;border:1px solid var(--line);background:rgba(255,253,249,.72);padding:8px 12px;border-radius:999px}
.drink-nav a:hover{color:var(--ink);border-color:#c9bdae;background:var(--paper)}
.drink-map{padding:58px 0 72px}
.drink-map h2,.drink-section-heading h2,.drink-cheatsheet h2,.drink-final h2{font-size:42px;line-height:1.08;letter-spacing:-.045em;margin:8px 0 14px}
.drink-map .section-intro{max-width:730px;font-size:16px;line-height:1.7}
.drink-family{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:36px}
.drink-family a{padding:22px 20px;text-decoration:none;min-height:145px}
.drink-family a+a{border-left:1px solid var(--line)}
.drink-family strong{display:block;font-size:18px;margin-bottom:12px}
.drink-family span{display:block;color:var(--muted);font-size:12px;line-height:1.6}
.drink-section{padding:76px 0;border-top:1px solid rgba(80,60,40,.10)}
.drink-section-heading{max-width:760px;margin-bottom:26px}
.drink-section-heading p{color:var(--muted);font-size:16px;line-height:1.7}
.drink-entry{display:grid;grid-template-columns:72px minmax(0,720px);column-gap:34px;margin:0;padding:46px 0 50px;border-top:1px solid rgba(80,60,40,.14)}
.drink-entry:last-child{border-bottom:1px solid rgba(80,60,40,.14)}
.drink-number{padding-top:8px;color:var(--accent2);font-size:11px;font-weight:850;letter-spacing:.16em}
.drink-content h3{font-size:34px;line-height:1.05;letter-spacing:-.045em;margin:0 0 7px}
.drink-lead{font-size:18px;line-height:1.45;margin:0 0 24px}
.drink-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0 0 24px;max-width:720px}
.drink-facts span{padding:13px 18px 13px 0;border-top:1px solid var(--line);font-size:12px;color:var(--muted);line-height:1.5}
.drink-facts span+span{padding-left:18px;border-left:1px solid var(--line)}
.drink-facts b{display:block;color:var(--ink);font-size:10px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:3px}
.drink-content>p:not(.drink-lead):not(.drink-aside){max-width:700px;color:var(--muted);font-size:15px;line-height:1.78;margin-bottom:16px}
.drink-content .drink-aside{max-width:700px;margin:24px 0 0;padding:18px 20px;background:var(--soft);border-radius:14px;color:var(--ink);font-size:13px;line-height:1.65}
.drink-cheatsheet{padding:78px 0}
.drink-cheatsheet-inner{background:var(--ink);color:#fff;padding:38px 42px}
.drink-cheatsheet h2{font-size:34px}
.cheatsheet-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0;margin-top:28px;border-top:1px solid rgba(255,255,255,.18)}
.cheatsheet-grid a{display:grid;gap:5px;text-decoration:none;padding:22px 24px 22px 0;border-bottom:1px solid rgba(255,255,255,.18)}
.cheatsheet-grid a:nth-child(even){padding-left:24px;border-left:1px solid rgba(255,255,255,.18)}
.cheatsheet-grid strong{font-size:15px}
.cheatsheet-grid span{font-size:12px;color:rgba(255,255,255,.68);line-height:1.55}
.drink-final{padding:58px 0 90px}
.drink-final h2{font-size:44px}
.drink-final-links{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:30px}
.drink-final-links a{display:grid;gap:7px;text-decoration:none;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:21px}
.drink-final-links strong{font-size:15px}
.drink-final-links span{color:var(--muted);font-size:12px;line-height:1.55}
@media(max-width:800px){
  .drink-family{grid-template-columns:repeat(2,1fr)}
  .drink-family a:nth-child(3){border-left:0;border-top:1px solid var(--line)}
  .drink-family a:nth-child(4){border-top:1px solid var(--line)}
  .drink-entry{grid-template-columns:38px minmax(0,1fr);column-gap:18px}
  .drink-facts{grid-template-columns:1fr}
  .drink-facts span+span{padding-left:0;border-left:0}
  .drink-facts span{padding:12px 0}
  .drink-final-links{grid-template-columns:1fr}
}
@media(max-width:560px){
  .drink-guide{padding:0 4vw}
  .drink-hero{padding:48px 0 50px}
  .drink-map,.drink-section{padding:54px 0}
  .drink-map h2,.drink-section-heading h2{font-size:34px}
  .drink-family{grid-template-columns:1fr}
  .drink-family a,.drink-family a:nth-child(3),.drink-family a:nth-child(4){border-left:0;border-top:1px solid var(--line)}
  .drink-family a:first-child{border-top:0}
  .drink-entry{padding:38px 0 42px}
  .drink-content h3{font-size:29px}
  .drink-lead{font-size:17px}
  .drink-cheatsheet-inner{padding:28px 24px}
  .cheatsheet-grid{grid-template-columns:1fr}
  .cheatsheet-grid a:nth-child(even){padding-left:0;border-left:0}
  .drink-final h2{font-size:36px}
}

/* Guide overview — three core guides + two deep dives */
.guide-grid{grid-template-columns:repeat(3,1fr)}
.guide-depth{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.guide-card.guide-deep{background:var(--ink);border-color:var(--ink);color:#fff}
.guide-card.guide-deep span{color:rgba(255,255,255,.72)}
.guide-card.guide-deep:hover{background:#2f2119;border-color:#2f2119}
@media(max-width:800px){
  .guide-grid{grid-template-columns:1fr 1fr}
  .guide-depth{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .guide-grid,.guide-depth{grid-template-columns:1fr}
}

/* Bönor — editorial guide */
.bean-guide{max-width:1000px;margin:0 auto;padding:0 5vw}.bean-hero{padding:72px 0 66px}.bean-hero h1{max-width:900px;margin:18px 0 22px}.bean-hero .lead{max-width:780px;font-size:20px;line-height:1.65;color:var(--muted)}.bean-nav{position:sticky;top:0;z-index:20;display:flex;gap:7px;overflow-x:auto;padding:11px 0;background:rgba(244,239,231,.94);backdrop-filter:blur(12px);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.bean-nav a{white-space:nowrap;font-size:11px;font-weight:750;color:var(--muted);text-decoration:none;border:1px solid var(--line);background:rgba(255,253,249,.72);padding:8px 12px;border-radius:999px}.bean-nav a:hover{color:var(--ink);background:var(--paper)}.bean-section{padding:76px 0;border-top:1px solid rgba(80,60,40,.10)}.bean-heading{max-width:760px;margin-bottom:30px}.bean-heading h2{font-size:42px;line-height:1.08;letter-spacing:-.045em;margin:8px 0 14px}.bean-heading>p{color:var(--muted);font-size:16px;line-height:1.7}.bean-split{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.bean-split>div{padding:28px 30px 30px 0}.bean-split>div+div{padding-left:30px;border-left:1px solid var(--line)}.bean-split h3,.bean-grid-3 h3,.bean-process h3,.bean-fresh strong,.bean-choice h3{font-size:21px;letter-spacing:-.025em;margin:0 0 8px}.bean-split p,.bean-grid-3 p,.bean-process p,.bean-fresh p,.bean-choice p{color:var(--muted);font-size:14px;line-height:1.7;margin:0}.bean-note{margin:24px 0 0;max-width:760px;color:var(--muted);font-size:13px;line-height:1.65}.bean-grid-3{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.bean-grid-3 article{padding:25px 22px 28px 0}.bean-grid-3 article+article{padding-left:22px;border-left:1px solid var(--line)}.bean-index,.bean-fresh span,.bean-choice span{display:block;font-size:10px;font-weight:850;letter-spacing:.12em;color:var(--accent2);margin-bottom:9px}.bean-process{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.bean-process article{display:grid;grid-template-columns:54px 1fr;gap:22px;padding:25px 0;border-bottom:1px solid var(--line)}.bean-process article:last-child{border-bottom:0}.bean-process-no{font-size:11px;font-weight:850;letter-spacing:.12em;color:var(--accent2);padding-top:4px}.bean-callout{margin-top:24px;padding:18px 20px;background:var(--soft);border-radius:14px;font-size:13px;line-height:1.65}.roast-scale{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.roast-scale>div{padding:27px 22px 28px 0}.roast-scale>div+div{padding-left:22px;border-left:1px solid var(--line)}.roast-scale span{display:block;font-size:10px;font-weight:850;letter-spacing:.12em;color:var(--accent2);margin-bottom:12px}.roast-scale h3{font-size:21px;margin:0 0 8px;letter-spacing:-.025em}.roast-scale p{color:var(--muted);font-size:14px;line-height:1.65;margin:0}.bean-fresh{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.bean-fresh>div{padding:26px 22px 28px 0}.bean-fresh>div+div{padding-left:22px;border-left:1px solid var(--line)}.bean-choice{display:grid;grid-template-columns:1fr 1fr;gap:14px}.bean-choice article{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:22px}.bean-choice h3{font-size:19px}.bean-final{padding-bottom:90px}.bean-final h2{font-size:42px;line-height:1.08;letter-spacing:-.045em;margin:8px 0 28px}.bean-rules{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.bean-rules div{display:flex;gap:14px;padding:18px 22px 18px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.5}.bean-rules div:nth-child(even){padding-left:22px;border-left:1px solid var(--line)}.bean-rules div:nth-last-child(-n+2){border-bottom:0}.bean-rules b{color:var(--accent2)}@media(max-width:800px){.bean-grid-3,.roast-scale,.bean-fresh{grid-template-columns:1fr}.bean-grid-3 article+article,.roast-scale>div+div,.bean-fresh>div+div{padding-left:0;border-left:0;border-top:1px solid var(--line)}.bean-choice{grid-template-columns:1fr}}@media(max-width:560px){.bean-guide{padding:0 4vw}.bean-hero{padding:48px 0 50px}.bean-section{padding:54px 0}.bean-heading h2{font-size:34px}.bean-split{grid-template-columns:1fr}.bean-split>div,.bean-split>div+div{padding:23px 0;border-left:0}.bean-split>div+div{border-top:1px solid var(--line)}.bean-rules{grid-template-columns:1fr}.bean-rules div:nth-child(even){padding-left:0;border-left:0}.bean-rules div:nth-last-child(-n+2){border-bottom:1px solid var(--line)}.bean-rules div:last-child{border-bottom:0}}

/* Deep-dive guide cards — explicit contrast */
.guide-depth .guide-card.guide-deep{background:var(--ink)!important;border-color:var(--ink)!important;color:#fff!important}
.guide-depth .guide-card.guide-deep strong{color:#fff!important}
.guide-depth .guide-card.guide-deep span{color:rgba(255,255,255,.74)!important}
.guide-depth .guide-card.guide-deep:hover{background:var(--accent2)!important;border-color:var(--accent2)!important}

/* Bönor — align page geometry with the main editorial guides */
.bean-guide .bean-section.section{max-width:none;margin:0;padding-left:0;padding-right:0}
.bean-guide .bean-hero{max-width:none}
.bean-guide .bean-nav{max-width:none}
.bean-guide .bean-heading{max-width:760px}
.bean-guide .bean-split,.bean-guide .bean-grid-3,.bean-guide .bean-process,.bean-guide .roast-scale,.bean-guide .bean-fresh,.bean-guide .bean-choice,.bean-guide .bean-rules{max-width:760px}
.bean-guide .bean-section{scroll-margin-top:58px}

/* Hero — secondary path to coffee knowledge */
.hero-guide-link{display:inline-block;margin-top:17px;color:var(--muted);font-size:13px;font-weight:750;text-decoration:none;border-bottom:1px solid var(--line);padding-bottom:3px;transition:.2s}
.hero-guide-link:hover{color:var(--ink);border-color:var(--ink)}
.hero-actions{margin-bottom:0}
@media(max-width:800px){.hero-guide-link{margin-top:14px}}

/* Primary site destinations */
.hero-routes{display:grid;gap:10px;margin-top:24px;max-width:560px}
.hero-route{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:15px 18px;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);text-decoration:none;transition:.2s}
.hero-route strong{font-size:16px;white-space:nowrap}
.hero-route span{color:var(--muted);font-size:13px;text-align:right}
.hero-route:hover{transform:translateY(-1px);border-color:var(--ink);box-shadow:var(--shadow)}
@media(max-width:560px){.hero-route{display:block}.hero-route span{display:block;text-align:left;margin-top:4px}}

/* Homepage hero routes — editorial navigation */
.hero-routes{display:flex;flex-direction:column;margin-top:30px;max-width:560px;border-top:1px solid var(--line)}
.hero-route{display:grid;grid-template-columns:38px 1fr 30px;align-items:center;gap:14px;padding:15px 4px;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-decoration:none;transition:padding .22s ease,background .22s ease}
.hero-route:hover{padding-left:12px;padding-right:12px;background:rgba(255,253,249,.62)}
.hero-route-no{font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--accent2);align-self:start;padding-top:4px}
.hero-route-copy{display:flex;align-items:baseline;gap:14px;min-width:0}
.hero-route-copy strong{font-size:16px;line-height:1.2;white-space:nowrap}
.hero-route-copy small{font-size:13px;color:var(--muted);line-height:1.45}
.hero-route-arrow{font-size:20px;line-height:1;text-align:right;transition:transform .22s ease}
.hero-route:hover .hero-route-arrow{transform:translate(3px,-3px)}
@media(max-width:560px){
.hero-routes{margin-top:24px}
.hero-route{grid-template-columns:30px 1fr 24px;gap:10px}
.hero-route-copy{display:block}
.hero-route-copy small{display:block;margin-top:3px}
.hero-route:hover{padding-left:8px;padding-right:8px}
}



/* Compare count — coffee cup badge centered on the number */
#compareCount{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position:relative;
  width:23px;
  height:16px;
  margin-left:6px;
  margin-right:1px;
  background:var(--ink);
  color:#fff;
  font-size:10px;
  font-weight:750;
  line-height:1;
  border-radius:2px 2px 5px 5px;
  vertical-align:baseline;
  transform:translateY(-1px);
}
#compareCount::before{
  content:"";
  position:absolute;
  width:6px;
  height:7px;
  right:-5px;
  top:4px;
  border:2px solid var(--ink);
  border-left:0;
  border-radius:0 6px 6px 0;
}
#compareCount::after{
  content:"";
  position:absolute;
  width:12px;
  height:2px;
  left:5px;
  bottom:-2px;
  background:var(--ink);
  border-radius:0 0 3px 3px;
}

/* Affiliate offers — one product can have multiple merchant links */
.offer-list{display:grid;gap:7px;margin-top:4px}
.offer-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;align-items:center;padding:9px 0;border-top:1px solid var(--line)}
.offer-row:first-child{border-top:0}
.offer-merchant{font-size:11px;font-weight:750;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.offer-price{font-size:12px;font-weight:850;white-space:nowrap}
.offer-row .buy-button{grid-column:1 / -1;padding:9px 12px;font-size:11px}
.modal-card .offer-list{margin:14px 0 20px;padding-top:2px}
@media(min-width:700px){.product-card>.offer-list .offer-row{grid-template-columns:1fr auto auto}.product-card>.offer-list .offer-row .buy-button{grid-column:auto;min-width:92px}}


/* Product imagery — portrait product frame, matching the editorial image review */
.product-image{height:auto;aspect-ratio:4/5}
.product-image.large{height:auto;aspect-ratio:4/5}

.detail-lead{font-size:18px;line-height:1.45;margin:24px 0 12px}
.detail-tags{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 26px}
.detail-section{border-top:1px solid var(--line);padding-top:22px;margin-top:22px}
.detail-section h3{font-size:22px;letter-spacing:-.03em;margin-bottom:14px}
.detail-facts{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.detail-fact{padding:14px 15px;background:var(--paper)}
.detail-fact:nth-child(odd){border-right:1px solid var(--line)}
.detail-fact:nth-child(n+3){border-top:1px solid var(--line)}
.detail-fact span{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}
.detail-fact strong{font-size:14px}
.detail-section .modal-grid{margin-top:0}
.detail-section h4{font-size:18px;margin:0 0 10px}

.detail-scores{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.detail-score{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:10px 12px;background:var(--soft);border-radius:12px;font-size:13px}
.detail-score span{color:var(--muted)}
.detail-score div{letter-spacing:.08em;white-space:nowrap}
.detail-source{font-size:11px;color:var(--muted);margin:18px 0 0}
.detail-source a{font-weight:700}
@media(max-width:560px){.detail-scores{grid-template-columns:1fr}.detail-facts{grid-template-columns:1fr}.detail-fact:nth-child(odd){border-right:0}.detail-fact:nth-child(n+2){border-top:1px solid var(--line)}}


/* Deep nerd guides */
.article-page{padding-bottom:90px}
.article-page .lead{font-size:21px;line-height:1.7;max-width:760px}
.article-page h2{font-size:30px;line-height:1.15;margin-top:58px;letter-spacing:-.035em}
.article-page h3{font-size:19px;line-height:1.3;margin-top:32px;margin-bottom:10px}
.article-page p,.article-page li{font-size:16px;line-height:1.82}
.article-page ul{padding-left:22px;max-width:750px}
.article-page li{margin:7px 0}
.article-map{display:flex;flex-wrap:wrap;gap:7px;margin:34px 0 44px;padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--soft)}
.article-map strong{width:100%;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:3px}
.article-map a{font-size:12px;text-decoration:none;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:7px 10px}
.article-map a:hover{border-color:var(--accent2)}
.article-callout{margin:34px 0;padding:23px 24px;border:1px solid var(--line);border-radius:18px;background:var(--soft)}
.article-callout strong{display:block;margin-bottom:6px}
.article-callout p{margin:0}
.article-formula{margin:28px 0;padding:22px 24px;border-left:3px solid var(--accent2);background:var(--soft)}
.article-formula strong{font-size:14px}
.article-formula p{margin:8px 0 0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px}
.article-table-wrap{overflow-x:auto;margin:30px 0}
.article-table{width:100%;border-collapse:collapse;font-size:13px;background:var(--paper)}
.article-table th,.article-table td{padding:12px 13px;border:1px solid var(--line);text-align:left;vertical-align:top}
.article-table th{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);background:var(--soft)}
.article-recipe,.article-log{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:28px 0}
.article-recipe div,.article-log div{padding:13px 12px;background:var(--soft);border-radius:13px}
.article-recipe span,.article-log span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:5px}
.article-recipe strong,.article-log strong{font-size:14px}
.source-list{margin-top:12px}
.source-list a{overflow-wrap:anywhere}
.article-end{padding-top:28px;margin-top:46px;border-top:1px solid var(--line)}
@media(max-width:700px){
 .article-page .lead{font-size:18px}
 .article-page h2{font-size:26px;margin-top:46px}
 .article-page p,.article-page li{font-size:15px;line-height:1.75}
 .article-recipe,.article-log{grid-template-columns:1fr 1fr}
}
@media(max-width:420px){
 .article-recipe,.article-log{grid-template-columns:1fr}
}

.guide-distinction{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:32px 0 42px}
.guide-distinction>div{padding:18px 19px;border:1px solid var(--line);border-radius:16px;background:var(--soft)}
.guide-distinction span{display:block;font-size:10px;letter-spacing:.1em;font-weight:800;color:var(--muted);margin-bottom:7px}
.guide-distinction strong{display:block;font-size:20px;letter-spacing:-.02em}
.guide-distinction p{font-size:13px!important;line-height:1.55!important;margin:7px 0 0}
.guide-distinction a{display:inline-block;margin-top:10px;font-size:12px;font-weight:800}
@media(max-width:600px){.guide-distinction{grid-template-columns:1fr}}


/* Maskinparken — richer filtering and sorting */
.filters{display:block;margin-bottom:10px}
.filter-search{margin-bottom:10px}
.filter-search input{font-size:14px;padding:13px 15px}
.filter-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 1.25fr auto;gap:8px;align-items:center}
.filter-controls select{min-width:0}
.filter-controls select,.filter-search input{width:100%;border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:12px 13px;color:var(--ink)}
.filter-clear{border:0;background:transparent;color:var(--muted);font-size:12px;font-weight:750;padding:10px 4px;white-space:nowrap;cursor:pointer}
.filter-clear:hover{color:var(--ink)}
.filter-status{min-height:24px;margin:-2px 0 16px;color:var(--muted);font-size:12px}
@media(max-width:1000px){
 .filter-controls{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
 .filter-controls{grid-template-columns:1fr 1fr}
 .filter-clear{justify-self:start;padding-left:2px}
}
@media(max-width:460px){
 .filter-controls{grid-template-columns:1fr}
}

/* Maskinparken — visual product pass */
#products .section-head{margin-bottom:18px}
#products .section-head>span:last-child{font-size:12px;color:var(--muted)}
#products .filters{
  padding:12px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,253,249,.58);
  box-shadow:0 8px 28px rgba(48,38,28,.035);
}
#products .filter-search{margin-bottom:9px}
#products .filter-search input{background:var(--paper);font-size:14px;padding:13px 15px}
#products .filter-controls select{background:var(--paper);font-size:12px}
.product-card{
  position:relative;
  overflow:hidden;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.product-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 36px rgba(48,38,28,.08);
  border-color:#cfc3b5;
}
.product-card .product-image{
  margin:13px 0 15px;
  aspect-ratio:4/5;
  background:linear-gradient(145deg,#eee5da 0%,#faf7f1 72%);
}
.product-card .product-image img{transition:transform .3s ease}
.product-card:hover .product-image img{transform:scale(1.025)}
.product-card h3{line-height:1.12;margin:4px 0 2px}
.product-quickfacts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  margin:14px 0 11px;
}
.product-quickfacts span{
  min-width:0;
  padding:9px 8px;
  background:var(--soft);
  border-radius:10px;
}
.product-quickfacts small{
  display:block;
  color:var(--muted);
  font-size:9px;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:3px;
}
.product-quickfacts strong{
  display:block;
  font-size:10px;
  line-height:1.25;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.product-card .card-copy{
  min-height:0;
  line-height:1.5;
  margin-bottom:1px;
}
.product-card .card-actions{gap:8px;margin-top:16px}
.product-card .detail-button{background:var(--ink);color:#fff;border-color:var(--ink)}
.product-card .compare-button.is-active{
  background:var(--soft);
  border-color:var(--accent2);
  color:var(--ink);
}
.product-card .offer-list{margin-top:14px}
@media(max-width:700px){
  .product-quickfacts span{padding:8px 7px}
  .product-quickfacts strong{font-size:9px}
}
@media(max-width:420px){
  .product-quickfacts{grid-template-columns:1fr 1fr}
  .product-quickfacts span:last-child{grid-column:1 / -1}
}

/* Kaffeakademin — clearer learning path */
.academy-group{margin-top:28px}
.academy-group:first-of-type{margin-top:0}
.academy-group-label{display:block;margin-bottom:11px;font-size:10px;font-weight:850;letter-spacing:.14em;color:var(--muted)}
.academy-deep-group{margin-top:34px;padding-top:26px;border-top:1px solid var(--line)}
.academy-deep-group .guide-depth{margin-top:0}
.academy-deep-group .guide-deep{
  background:linear-gradient(180deg,var(--paper),#f8f1e8);
  border-color:#d6c9ba;
}
.academy-deep-group .guide-deep:first-child{border-top:2px solid var(--accent2)}
@media(max-width:560px){.academy-group{margin-top:24px}.academy-deep-group{margin-top:28px;padding-top:22px}}

/* Compare — more useful side-by-side view */
.compare-section .section-head{align-items:end}
.compare-section .section-intro{margin-top:5px}
.compare-product-name{display:grid;gap:4px;min-width:150px}
.compare-product-name strong{font-size:15px;line-height:1.2;white-space:normal}
.compare-remove{justify-self:start;border:0;background:none;padding:0;color:var(--muted);font-size:10px;font-weight:750;cursor:pointer}
.compare-remove:hover{color:var(--ink)}
.compare-table th:first-child,.compare-table td:first-child{position:sticky;left:0;z-index:2;background:var(--paper);font-weight:750}
.compare-table thead th:first-child{background:var(--soft)}
.compare-table tbody tr:nth-child(even) td,.compare-table tbody tr:nth-child(even) th{background:#faf6f0}
.compare-table td{min-width:150px}
.compare-table tbody td{font-size:13px}
@media(max-width:560px){
 .compare-section .section-head{align-items:flex-start}
 .compare-product-name{min-width:125px}
 .compare-table td{min-width:125px}
}

/* Maskinparken — visual polish */
#products .section-head{margin-bottom:18px}
#products .filters{
  padding:12px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,253,249,.62);
  box-shadow:0 8px 28px rgba(48,38,28,.035);
}
#products .filters input:focus,#products .filters select:focus{
  outline:none;
  border-color:var(--accent2);
  box-shadow:0 0 0 3px rgba(139,94,60,.10);
}
.product-card{
  position:relative;
  overflow:hidden;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.product-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 36px rgba(48,38,28,.08);
  border-color:#cfc3b5;
}
.product-card .product-image{
  margin:13px 0 15px;
  aspect-ratio:4/5;
  height:auto;
  min-height:210px;
  background:linear-gradient(145deg,#eee5da 0%,#faf7f1 72%);
}
.product-card .product-image img{transition:transform .3s ease}
.product-card:hover .product-image img{transform:scale(1.025)}
.product-card h3{line-height:1.12;margin:4px 0 2px}
.product-card .brand{text-transform:none;font-weight:650}
.product-card .match{margin:7px 0 2px;color:var(--accent2)}
.product-card .price{font-size:20px;letter-spacing:-.02em}
.product-card .card-copy{line-height:1.55;min-height:60px}
.product-quickfacts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  margin:14px 0 11px;
}
.product-quickfacts span{
  min-width:0;
  padding:9px 9px 8px;
  border-radius:12px;
  background:var(--soft);
}
.product-quickfacts small{
  display:block;
  color:var(--muted);
  font-size:9px;
  line-height:1.1;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.product-quickfacts strong{
  display:block;
  margin-top:3px;
  font-size:11px;
  line-height:1.25;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.product-card .card-bottom{min-height:25px}
.product-card .mini-button{transition:.16s ease}
.product-card .mini-button:hover{border-color:#bcae9f;background:var(--soft)}
.product-card .compare-button.is-active{background:var(--ink);color:#fff;border-color:var(--ink)}
.product-card .offer-list{margin-top:11px}
@media(max-width:900px){
  .product-card .product-image{min-height:190px}
}
@media(max-width:560px){
  .product-card .product-image{min-height:240px}
  .product-quickfacts span{padding:8px 7px}
  .product-quickfacts strong{font-size:10px}
}


/* Product detail — clearer hierarchy between overview and deep data */
.modal-card{
  max-width:820px;
  padding:34px;
  border-radius:26px;
}
.modal-card>.eyebrow{
  display:inline-flex;
  margin-bottom:6px;
}
.modal-card>.product-image.large{
  margin:13px auto 15px;
  width:82%;
  height:auto;
  min-height:0;
  max-height:none;
  aspect-ratio:4/5;
  background:linear-gradient(145deg,#eee5da 0%,#faf7f1 72%);
  border-radius:18px;
}
.modal-card>.product-image.large img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.modal-card>.brand{
  margin-top:2px;
  font-weight:700;
}
.modal-card>h2{
  font-size:34px;
  line-height:1.08;
  letter-spacing:-.035em;
  margin:4px 0 6px;
  max-width:650px;
}
.modal-card>.price{
  font-size:22px;
  margin-top:7px;
}
.modal-card>.detail-lead{
  max-width:690px;
  margin-top:26px;
  font-size:17px;
  line-height:1.62;
}
.detail-section{
  margin-top:30px;
  padding-top:26px;
}
.detail-section h3{
  font-size:20px;
  margin-bottom:13px;
}
.detail-facts{
  grid-template-columns:repeat(2,minmax(0,1fr));
  border-radius:14px;
}
.detail-fact{
  min-height:66px;
  padding:12px 14px;
  background:var(--paper);
}
.detail-fact:nth-child(odd){border-right:1px solid var(--line)}
.detail-fact:nth-child(n+3){border-top:1px solid var(--line)}
.detail-fact span{
  font-size:9px;
  letter-spacing:.09em;
}
.detail-fact strong{
  font-size:13px;
  line-height:1.35;
}
.detail-scores{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.detail-score{
  min-height:48px;
  padding:9px 11px;
  font-size:12px;
}
.detail-score div{
  font-size:12px;
}
.modal-card .tradeoff-box{
  margin-top:30px;
  padding:18px 19px;
  border-radius:15px;
}
.modal-card .modal-grid{
  gap:28px;
}
.modal-card .modal-grid h4{
  font-size:15px;
  margin-bottom:8px;
}
.modal-card .modal-grid ul{
  margin:0;
  padding-left:18px;
}
.modal-card .modal-grid li{
  font-size:13px;
  line-height:1.55;
  margin-bottom:8px;
}
.modal-card .editorial-note{
  margin-top:28px;
}
@media(max-width:700px){
  .modal-card{padding:26px 22px;border-radius:22px}
  .modal-card>.product-image.large{
    width:min(100%,380px);
    min-height:260px;
    max-height:360px;
  }
  .modal-card>h2{font-size:29px}
  .detail-scores{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .modal-backdrop{padding:10px}
  .modal-card{padding:23px 17px;border-radius:19px;max-height:94vh}
  .modal-card>.product-image.large{
    width:100%;
    min-height:230px;
    max-height:320px;
    margin-bottom:20px;
  }
  .modal-card>.detail-lead{font-size:16px;line-height:1.58}
  .detail-facts{grid-template-columns:1fr}
  .detail-fact:nth-child(odd){border-right:0}
  .detail-fact:nth-child(n+2){border-top:1px solid var(--line)}
  .detail-scores{grid-template-columns:1fr}
}


/* Maskinparken — quick filter chips */
.filter-chips{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 10px;
}
.filter-chip{
  border:1px solid var(--line);
  background:var(--paper);
  color:var(--muted);
  border-radius:999px;
  padding:7px 11px;
  font-size:11px;
  font-weight:750;
  line-height:1;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.filter-chip:hover{
  border-color:#bcae9f;
  color:var(--ink);
  transform:translateY(-1px);
}
.filter-chip.is-active{
  background:var(--ink);
  border-color:var(--ink);
  color:#fff;
}
@media(max-width:560px){
  .filter-chips{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:3px;
    scrollbar-width:none;
  }
  .filter-chips::-webkit-scrollbar{display:none}
  .filter-chip{flex:0 0 auto}
}

/* Maskinparken — editorial entry points */
.machine-intents{
  margin:2px 0 16px;
  padding:17px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,253,249,.48);
}
.machine-intents-label{
  display:block;
  margin-bottom:10px;
  color:var(--muted);
  font-size:10px;
  font-weight:850;
  letter-spacing:.14em;
}
.machine-intent-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.machine-intent{
  min-width:0;
  min-height:116px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--paper);
  color:var(--ink);
  padding:14px;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.machine-intent:hover{
  transform:translateY(-2px);
  border-color:#bcae9f;
  box-shadow:0 10px 24px rgba(48,38,28,.06);
}
.machine-intent.is-active{
  border-color:var(--accent2);
  box-shadow:inset 0 0 0 1px var(--accent2);
  background:#fffaf4;
}
.machine-intent strong{
  font-size:14px;
  line-height:1.25;
  letter-spacing:-.01em;
}
.machine-intent span{
  margin-top:5px;
  color:var(--muted);
  font-size:11px;
  line-height:1.4;
}
.machine-intent::after{
  content:"";
  margin-top:auto;
  padding-top:10px;
  font-size:14px;
}
@media(max-width:900px){
  .machine-intent-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .machine-intents{padding:13px}
  .machine-intent-grid{display:flex;overflow-x:auto;gap:8px;scrollbar-width:none}
  .machine-intent-grid::-webkit-scrollbar{display:none}
  .machine-intent{flex:0 0 210px;min-height:125px}
}

/* Maskinparken — fixed card rhythm */
#productGrid{align-items:stretch}
#productGrid .product-card{display:flex;flex-direction:column;height:100%}
#productGrid .product-top{min-height:18px}
#productGrid .product-image{flex:0 0 auto;width:82%;height:auto;min-height:0;aspect-ratio:4/5;margin:13px auto 15px}
#productGrid .brand{min-height:18px}
#productGrid .product-card h3{min-height:50px;max-height:50px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
#productGrid .product-card .match{min-height:20px}
#productGrid .product-card .price{min-height:30px;margin-bottom:0}
#productGrid .product-card .price-meta{min-height:28px;margin-bottom:0}
#productGrid .product-quickfacts{min-height:62px;margin-top:12px}
#productGrid .product-quickfacts span{height:62px}
#productGrid .product-card .card-copy{height:63px;min-height:63px;max-height:63px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin-top:2px}
#productGrid .product-card .card-bottom{min-height:39px;max-height:39px;overflow:hidden;align-content:flex-start;margin:11px 0 0}
#productGrid .product-card .card-actions{flex:0 0 43px;min-height:43px;margin-top:auto}
#productGrid .product-card .offer-list{flex:0 0 48px;min-height:48px;margin-top:11px}
#productGrid .product-card .offer-row{min-height:43px}
#productGrid .product-card .offer-row .buy-button{white-space:nowrap}
@media(max-width:900px){}
@media(max-width:560px){#productGrid .product-image{width:82%;height:auto;min-height:0;aspect-ratio:4/5}#productGrid .product-card h3{min-height:48px;max-height:48px}}

/* Product images — show the complete product without visual cropping */
#productGrid .product-image img{width:100%;height:100%;object-fit:contain;object-position:center;transform:none}
#productGrid .product-card:hover .product-image img{transform:none}


/* Homepage hero — full-bleed video */
.hero.hero-video{
  position:relative;
  width:100%;
  max-width:none;
  min-height:calc(100svh - 72px);
  margin:0;
  padding:0 5vw;
  display:flex;
  align-items:center;
  overflow:hidden;
  isolation:isolate;
  background:#2b211a;
}
.hero-video-bg{
  position:absolute;
  inset:0;
  z-index:-3;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.hero-video-overlay{
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(20,13,9,.72) 0%,rgba(20,13,9,.48) 34%,rgba(20,13,9,.08) 70%,rgba(20,13,9,.05) 100%),
    linear-gradient(180deg,rgba(20,13,9,.12) 0%,rgba(20,13,9,.06) 55%,rgba(20,13,9,.18) 100%);
}
.hero-video-content{
  width:min(1400px,100%);
  margin:0 auto;
  padding:8vh 0;
  color:#fff;
}
.hero-video-content .eyebrow{
  color:rgba(255,255,255,.78);
}
.hero-video-content h1{
  max-width:none;
  margin:18px 0 24px;
  color:#fff;
  font-size:clamp(56px,6.5vw,100px);
  line-height:.96;
  text-shadow:0 3px 28px rgba(0,0,0,.18);
}
.hero-video-content h1 em{
  display:block;
  max-width:760px;
  margin-top:10px;
  color:#f4efe7;
  font-size:.72em;
  line-height:.94;
}
.hero-video-content .hero-lead{
  max-width:620px;
  margin:0;
  color:rgba(255,255,255,.88);
  font-size:19px;
  line-height:1.55;
  text-shadow:0 2px 16px rgba(0,0,0,.18);
}
@media(max-width:700px){
  .hero.hero-video{
    min-height:calc(100svh - 64px);
    padding:0 6vw;
  }
  .hero-video-bg{
    object-position:center center;
  }
  .hero-video-overlay{
    background:
      linear-gradient(90deg,rgba(20,13,9,.68) 0%,rgba(20,13,9,.40) 68%,rgba(20,13,9,.12) 100%),
      linear-gradient(180deg,rgba(20,13,9,.16) 0%,rgba(20,13,9,.06) 55%,rgba(20,13,9,.22) 100%);
  }
  .hero-video-content{
    padding:7vh 0;
  }
  .hero-video-content h1{
    font-size:clamp(42px,12vw,64px);
    margin:14px 0 20px;
  }
  .hero-video-content .hero-lead{
    max-width:560px;
    font-size:16px;
    line-height:1.5;
  }
}


/* Homepage — three entry points */
.home-doors{
  max-width:none;
  padding:clamp(52px,6vw,82px) 5vw;
  background:var(--paper);
}
.home-door-grid{
  width:1200px;
  max-width:calc(100% - 10vw);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(16px,2vw,26px);
}
.home-door{
  position:relative;
  min-height:390px;
  display:flex;
  align-items:stretch;
  justify-content:flex-start;
  padding:0;
  border:1px solid #c7b7a7;
  border-radius:32px;
  color:var(--ink);
  text-decoration:none;
  overflow:hidden;
  isolation:isolate;
  box-shadow:0 10px 30px rgba(48,38,28,.045);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.home-door:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background-position:center;
  background-size:cover;
  transition:transform .35s ease;
}
.home-door:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(250,244,236,.99) 0%,rgba(250,244,236,.95) 34%,rgba(250,244,236,.72) 53%,rgba(250,244,236,.18) 78%,rgba(250,244,236,.03) 100%);
}
.home-door-machine:before{background-image:url("https://images.unsplash.com/photo-1769970631282-703328b5998a?auto=format&fit=crop&fm=jpg&q=78&w=1600");background-position:68% center}
.home-door-academy{color:#fff;border-color:#74513a;background:#2e1c12}
.home-door-academy:before{background-image:url("https://images.unsplash.com/photo-1643148636637-58b3eb95cdad?auto=format&fit=crop&fm=jpg&q=78&w=1600");background-position:center}
.home-door-academy:after{background:linear-gradient(90deg,rgba(43,27,18,.99) 0%,rgba(43,27,18,.94) 34%,rgba(43,27,18,.72) 54%,rgba(43,27,18,.22) 79%,rgba(43,27,18,.05) 100%)}
.home-door-match:before{background-image:url("https://images.unsplash.com/photo-1771764753575-54dbd0ae8bf8?auto=format&fit=crop&fm=jpg&q=78&w=1600");background-position:center}
.home-door-match:after{background:linear-gradient(90deg,rgba(249,243,235,.99) 0%,rgba(249,243,235,.94) 34%,rgba(249,243,235,.68) 54%,rgba(249,243,235,.16) 79%,rgba(249,243,235,.03) 100%)}
.home-door:hover{transform:translateY(-5px);box-shadow:0 20px 46px rgba(48,38,28,.11);border-color:#9b8067}
.home-door:hover:before{transform:scale(1.035)}
.home-door-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:62%;min-height:100%;padding:48px 22px 52px 34px;position:relative;z-index:1}


.home-door-kicker{margin-bottom:16px;padding-top:0;font-size:clamp(24px,2.1vw,31px);line-height:1.02;font-weight:850;letter-spacing:-.045em}
.home-door strong{max-width:330px;font-size:clamp(15px,1.3vw,18px);line-height:1.48;letter-spacing:-.012em;font-weight:600}
.home-door-note{max-width:270px;margin-top:20px;color:var(--muted);font-size:13px;line-height:1.45;font-style:italic}
.home-door-academy .home-door-note{color:rgba(255,255,255,.7)}
.home-door-arrow{position:absolute;right:20px;bottom:20px;width:50px;height:50px;display:grid;place-items:center;border-radius:50%;background:rgba(74,46,30,.9);color:#fff;font-size:27px;line-height:1;z-index:3;box-shadow:0 5px 16px rgba(48,38,28,.16)}
.home-door-match .home-door-arrow{background:rgba(255,253,249,.9);color:var(--ink);border:1px solid rgba(112,82,58,.16)}
@media(max-width:900px){
  .home-door-grid{grid-template-columns:1fr;max-width:760px}
  .home-door{min-height:300px}
  .home-door-copy{width:66%;padding-top:38px}
}
@media(max-width:560px){
  .home-doors{padding:42px 5vw}
  .home-door{min-height:290px;border-radius:26px}
  .home-door-copy{width:78%;padding:34px 24px 45px 26px}
  .home-door-kicker{font-size:25px}
  .home-door strong{font-size:17px}
  .home-door-arrow{right:16px;bottom:16px;width:46px;height:46px}
}

.home-doors{
  max-width:none;
  padding:clamp(56px,7vw,92px) 5vw;
  background:var(--paper);
}



/* Commercial hub — make the product section a clear part of the site's conversion path */
.products-section{
  max-width:none;
  padding-left:5vw;
  padding-right:5vw;
  background:#eee6dc;
  border-top:1px solid #ded2c5;
  border-bottom:1px solid #ded2c5;
}
.products-section>.section-head,
.products-section>.machine-intents,
.products-section>.filters,
.products-section>.filter-status,
.products-section>#productGrid{
  width:1200px;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
}
.products-section>.section-head{
  padding-top:4px;
  margin-bottom:28px;
}
.products-section>.section-head h2{
  font-size:clamp(38px,4vw,52px);
  letter-spacing:-.055em;
}
.products-section>.section-head .eyebrow{
  color:var(--accent2);
}
.products-section>.section-head>span:last-child{
  font-weight:750;
}
.products-section .machine-intents{
  margin-bottom:20px;
}
.products-section .machine-intent-grid{
  gap:10px;
}
.products-section .machine-intent{
  background:rgba(255,253,249,.82);
}
.products-section .filters{
  background:rgba(255,253,249,.72);
}
.products-section #productGrid{
  padding-bottom:4px;
}
@media(max-width:560px){
  .products-section{
    padding-left:4vw;
    padding-right:4vw;
  }
  .products-section>.section-head h2{
    font-size:36px;
  }
}


/* Maskinparken — focused filter panel */
.products-section .filters{
  padding:18px;
}
.filter-heading-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:4px 0 9px;
}
.filter-section-label{
  color:var(--muted);
  font-size:10px;
  font-weight:850;
  letter-spacing:.14em;
}
.filter-field{
  display:grid;
  gap:5px;
  min-width:0;
}
.filter-field>span{
  color:var(--muted);
  font-size:10px;
  font-weight:750;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.filter-controls{
  grid-template-columns:repeat(4,minmax(0,1fr)) 1.15fr;
  gap:10px;
}
.filter-controls select{
  min-height:43px;
}
.filter-status{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:25px;
  margin:11px 1px 0;
}
#filterSummary{
  color:var(--ink);
  font-weight:750;
}
#activeFilterSummary{
  color:var(--muted);
  font-size:11px;
  text-align:right;
}
@media(max-width:1000px){
  .filter-controls{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
  .filter-controls{grid-template-columns:1fr 1fr}
  .filter-status{align-items:flex-start;flex-direction:column;gap:3px}
  #activeFilterSummary{text-align:left}
}
@media(max-width:460px){
  .filter-controls{grid-template-columns:1fr}
}


/* Academy guides — contextual affiliate product blocks */
.guide-product-slot{
  grid-column:2;
  width:100%;
  max-width:700px;
  margin:38px 0 8px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#eee6dc;
}
.guide-product-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:16px;
}
.guide-product-head .eyebrow{margin:0;color:var(--accent2)}
.guide-product-head p{
  max-width:520px;
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.guide-product-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.guide-product{
  display:grid;
  grid-template-columns:105px minmax(0,1fr);
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--paper);
}
.guide-product-image{
  min-height:145px;
  display:grid;
  place-items:center;
  padding:12px;
  background:#f7f2eb;
}
.guide-product-image img{
  width:100%;
  height:100%;
  max-height:145px;
  object-fit:contain;
}
.guide-product-body{
  min-width:0;
  display:flex;
  flex-direction:column;
  padding:15px 16px 14px;
}
.guide-product-label{
  color:var(--muted);
  font-size:9px;
  font-weight:850;
  letter-spacing:.13em;
}
.guide-product h3{
  margin:6px 0 0;
  font-size:15px;
  line-height:1.15;
  letter-spacing:-.02em;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}
/* Kaffemaskin guide — keep contextual product titles compact */
.machine-guide .guide-product h3{
  margin:6px 0 0 !important;
  font-size:15px !important;
  line-height:1.15 !important;
  letter-spacing:-.02em !important;
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:3 !important;
  overflow:hidden !important;
}

.guide-product-meta{
  margin:6px 0 0;
  color:var(--muted);
  font-size:11px;
  line-height:1.35;
}
.guide-product-bottom{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:8px;
  margin-top:auto;
  padding-top:10px;
}
.guide-product-bottom strong{
  font-size:16px;
  line-height:1.15;
  letter-spacing:-.02em;
}
.guide-product-bottom a{
  color:var(--ink);
  font-size:11px;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
}
.guide-product-bottom a:hover{text-decoration:underline}
@media(max-width:700px){
  .guide-product-slot{margin-top:30px;padding:17px}
  .guide-product-head{display:block}
  .guide-product-head p{margin-top:7px}
  .guide-product-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
  .guide-product{grid-template-columns:96px minmax(0,1fr)}
  .guide-product-image{min-height:125px}
  .guide-product-image img{max-height:125px}
  .guide-product-body{padding:13px}
  .guide-product-bottom{align-items:flex-end}
}

.guide-hub{max-width:1200px;margin:auto}.guide-hub-hero{padding:78px 5vw 55px;max-width:980px}.guide-hub-lead{font-size:20px;color:var(--muted);max-width:760px;line-height:1.6}.guide-hub-section{padding:55px 5vw;border-top:1px solid var(--line)}.guide-hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.guide-hub-grid-two{grid-template-columns:repeat(2,1fr)}.guide-hub-card{display:grid;gap:7px;text-decoration:none;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:22px;min-height:190px;transition:.2s}.guide-hub-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.guide-hub-card>span{font-size:10px;font-weight:850;letter-spacing:.14em;color:var(--muted)}.guide-hub-card h3{font-size:22px;letter-spacing:-.035em;margin:4px 0}.guide-hub-card p{color:var(--muted);font-size:14px;margin:0}.guide-hub-card.featured{grid-column:span 2;background:var(--ink);color:#fff;border-color:var(--ink);min-height:220px}.guide-hub-card.featured>span{color:rgba(255,255,255,.7)}.guide-hub-card.featured p{color:rgba(255,255,255,.75)}.guide-hub-card.deep{background:var(--ink);color:#fff;border-color:var(--ink)}.guide-hub-card.deep>span{color:rgba(255,255,255,.7)}.guide-hub-card.deep p{color:rgba(255,255,255,.75)}.guide-hub-cta{margin:55px 5vw 75px;padding:35px;border-radius:24px;background:var(--soft);border:1px solid var(--line)}.guide-hub-cta h2{font-size:34px;letter-spacing:-.04em;margin:8px 0}.guide-hub-cta p{color:var(--muted);max-width:650px}.guide-hub-strip{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-top:22px;padding:22px;background:var(--soft);border:1px solid var(--line);border-radius:20px}.guide-hub-strip>div{display:grid;gap:4px}.guide-hub-strip strong{font-size:18px}.guide-hub-strip span:not(.eyebrow){font-size:13px;color:var(--muted)}@media(max-width:900px){.guide-hub-grid{grid-template-columns:repeat(2,1fr)}.guide-hub-card.featured{grid-column:span 2}}@media(max-width:560px){.guide-hub-hero{padding-top:45px}.guide-hub-grid,.guide-hub-grid-two{grid-template-columns:1fr}.guide-hub-card.featured{grid-column:span 1}.guide-hub-strip{align-items:flex-start;flex-direction:column}}

.guide-entry-intro{max-width:720px;color:var(--muted);line-height:1.6;margin:10px 0 18px}.guide-entry-links{display:flex;flex-wrap:wrap;gap:8px}.guide-entry-links a,.guide-intent-links a{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:inherit;border:1px solid var(--line);background:var(--paper);border-radius:999px;padding:11px 14px;font-size:13px;font-weight:700;transition:.2s}.guide-entry-links a:hover,.guide-intent-links a:hover{transform:translateY(-1px);box-shadow:var(--shadow)}.guide-intent-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.guide-intent-links a{justify-content:space-between;border-radius:14px;padding:15px 16px}.guide-intent-section{padding-top:45px;padding-bottom:45px}@media(max-width:560px){.guide-intent-links{grid-template-columns:1fr}.guide-entry-links a{width:100%;justify-content:space-between}}
.guide-next-step{margin:55px 0 10px;padding:30px 0 5px;border-top:1px solid var(--line)}.guide-next-step h2{font-size:34px;letter-spacing:-.04em;margin:8px 0}.guide-next-step p{max-width:700px;color:var(--muted);line-height:1.65}.guide-next-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
