/* Nostro Coffee Roasters — site styles. Matches the look of the previous site: Barlow Condensed
   uppercase headings, Verdana body, slate #454A60 with warm neutrals. No build step. */

@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-300.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
    --slate: #454a60;
    --slate-dark: #373b4d;
    --sand: #cbc6c0;
    --cream: #f3ede5;
    --mist: #efeae7;
    --white: #ffffff;
    --gold: #c6aa5c;
    --ink: #454a60;
    --heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --body: Verdana, Geneva, sans-serif;
    --wrap: 1180px;
    --gutter: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.6 var(--body); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 400; text-transform: uppercase; line-height: 1.05; margin: 0 0 .4em; letter-spacing: .01em; }
h1 { font-size: clamp(44px, 7vw, 96px); font-weight: 300; }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: clamp(24px, 2.6vw, 32px); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* Buttons */
.btn { display: inline-block; font: 500 18px/1 var(--heading); text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
       padding: 13px 24px; border: 2px solid var(--slate); background: var(--slate); color: var(--white); transition: background .2s, color .2s; }
.btn:hover, .btn:focus-visible { background: var(--slate-dark); border-color: var(--slate-dark); }
.btn--outline { background: transparent; color: var(--slate); }
.btn--outline:hover { background: var(--slate); color: var(--white); }
.btn--light { background: transparent; border-color: var(--white); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--slate); }
.buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
/* Colours picked in the editor (ButtonColour): each one set adds a has-* class; empty ones keep the Nostro style */
.btn.btn--custom.has-bg { background: var(--btn-bg); }
.btn.btn--custom.has-border { border-color: var(--btn-border); }
.btn.btn--custom.has-text { color: var(--btn-text); }
.btn.btn--custom.has-hbg:is(:hover, :focus-visible) { background: var(--btn-hbg); }
.btn.btn--custom.has-hborder:is(:hover, :focus-visible) { border-color: var(--btn-hborder); }
.btn.btn--custom.has-htext:is(:hover, :focus-visible) { color: var(--btn-htext); }
/* No hover colour chosen: keep the chosen colour and darken it slightly */
.btn.btn--custom.has-bg:not(.has-hbg):is(:hover, :focus-visible) { background: var(--btn-bg); filter: brightness(.9); }
.btn.btn--custom.has-border:not(.has-hborder):is(:hover, :focus-visible) { border-color: var(--btn-border); }
.btn.btn--custom.has-text:not(.has-htext):is(:hover, :focus-visible) { color: var(--btn-text); }
.align-center .buttons { justify-content: center; }

/* Section backgrounds */
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.bg-cream { background: var(--cream); }
.bg-mist { background: var(--mist); }
.bg-slate { background: var(--slate); color: var(--cream); }
.bg-slate h2, .bg-slate h3 { color: var(--white); }
.bg-slate .btn { background: transparent; border-color: var(--white); color: var(--white); }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.align-center { text-align: center; }
.eyebrow { font: 500 18px/1.2 var(--heading); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 8px; opacity: .85; }
.lead { font: 400 clamp(22px, 2.4vw, 30px)/1.2 var(--heading); text-transform: uppercase; }
.prose { max-width: 720px; }
.align-center .prose { margin-left: auto; margin-right: auto; }
.prose strong { font-weight: bold; }

/* Top bar + header */
.topbar { background: var(--slate); color: var(--white); font: 400 15px/1 var(--heading); letter-spacing: .14em; text-transform: uppercase; }
.topbar .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 44px; gap: 16px; }
.topbar__social { display: flex; gap: 14px; }
.topbar__social a { display: inline-flex; width: 18px; height: 18px; }
.topbar__social svg { width: 18px; height: 18px; fill: currentColor; }
.topbar__msg { text-align: center; }
.topbar__msg strong { font-weight: 500; }
.topbar__cta { justify-self: end; }
.topbar__cta .btn { font-size: 15px; padding: 8px 18px; }
.site-header { background: var(--white); border-bottom: 1px solid #ece8e3; position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 24px; }
.logo img { width: 220px; }
.nav { display: flex; align-items: center; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; gap: 28px; }
.nav li { position: relative; }
.nav a { font: 400 15px/1 var(--heading); text-transform: uppercase; letter-spacing: .12em; text-decoration: none; padding: 10px 0; display: block; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav__heading { font: 400 15px/1 var(--heading); text-transform: uppercase; letter-spacing: .12em; padding: 10px 0; display: block; background: none; border: 0; color: inherit; cursor: pointer; }
.nav__heading:hover, .nav li:focus-within > .nav__heading { color: var(--gold); }
.nav li li ul { position: static; display: block; min-width: 0; box-shadow: none; padding: 0 0 4px 12px; }
.nav li ul { position: absolute; left: -16px; top: 100%; background: var(--white); min-width: 220px; padding: 10px 16px; box-shadow: 0 8px 24px rgba(0,0,0,.08); display: none; }
.nav li:hover > ul, .nav li:focus-within > ul { display: block; }
.nav li ul a { font-size: 14px; padding: 8px 0; }
.nav__caret { width: 10px; height: 10px; margin-left: 5px; vertical-align: 1px; }
.header-icons { display: flex; align-items: center; gap: 18px; order: 3; }
.header-icons a { display: flex; position: relative; text-decoration: none; }
.header-icons svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-icons a:hover { color: var(--gold); }
.nav-toggle { display: none; }

@media (max-width: 1024px) {
    .topbar .wrap { grid-template-columns: auto 1fr; }
    .topbar__msg { text-align: right; font-size: 13px; letter-spacing: .08em; }
    .topbar__cta { display: none; }
    .logo img { width: 170px; }
    .nav-toggle { display: block; order: 4; }
    .header-icons { margin-left: auto; gap: 14px; }
    .nav-toggle summary { list-style: none; cursor: pointer; font: 500 17px var(--heading); text-transform: uppercase; letter-spacing: .12em; padding: 10px 0; }
    .nav-toggle summary::-webkit-details-marker { display: none; }
    .nav-toggle[open] .nav { display: block; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); padding: 8px var(--gutter) 24px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
    .nav > ul { flex-direction: column; gap: 0; }
    .nav li ul { position: static; display: block; box-shadow: none; padding: 0 0 8px 16px; }
    .nav > ul > li { border-bottom: 1px solid #ece8e3; }
    .nav--desktop { display: none; }
}
@media (min-width: 1025px) { .nav-toggle { display: none; } }
@media (max-width: 480px) { .site-header .wrap { gap: 12px; } .logo img { width: 136px; } .header-icons { gap: 12px; } .header-icons svg { width: 22px; height: 22px; } }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: 72vh; color: var(--white); background: var(--slate) center/cover no-repeat; }
.hero--full { min-height: calc(100vh - 136px); }
.hero--medium { min-height: 52vh; }
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(30, 32, 44, var(--overlay, .25)); }
.hero .wrap { position: relative; width: 100%; }
.hero__inner { max-width: 760px; }
.hero.align-center .hero__inner { margin: 0 auto; }
.hero h1 { margin-bottom: 12px; }
.hero__sub { font: 300 clamp(22px, 2.6vw, 30px)/1.15 var(--heading); text-transform: uppercase; max-width: 520px; }
.hero.align-center .hero__sub { margin: 0 auto; }
/* A banner further down the page: smaller text, buttons set apart. */
.hero--medium:not(:first-child) h1 { font-size: clamp(34px, 4.6vw, 60px); text-wrap: balance; margin-bottom: 14px; }
.hero--medium:not(:first-child) .hero__sub { font-size: clamp(17px, 1.7vw, 22px); max-width: 640px; }
.hero--medium:not(:first-child) .buttons { margin-top: 44px; }
.hero .btn { background: transparent; border-color: var(--white); color: var(--white); }
.hero .btn:hover { background: var(--white); color: var(--slate); }

/* Split: image + text */
.split .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--image-right .split__media { order: 2; }
.split__media img { width: 100%; object-fit: cover; }
.split--contain .split__media img { max-height: 520px; object-fit: contain; }
.split--cover .split__media { align-self: stretch; }
.split--cover .split__media img { height: 100%; min-height: 360px; }
@media (max-width: 860px) { .split .wrap { grid-template-columns: 1fr; } .split--image-right .split__media { order: 0; } .split--contain .split__media img { max-height: 340px; margin: 0 auto; } }
/* Section with columns: free layouts built from widgets */
.layout--space-small { padding: clamp(24px, 3.5vw, 48px) 0; }
.layout--space-large { padding: clamp(64px, 10vw, 140px) 0; }
.layout--narrow { max-width: 800px; }
.layout--full { max-width: none; }
.layout__grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
.layout__grid--1 { grid-template-columns: minmax(0, 1fr); }
.layout__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.layout__grid--2.layout__grid--wide-left { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.layout__grid--2.layout__grid--wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.layout__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.layout__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.layout__grid--center { align-items: center; }
.layout__col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.layout__col > .widget { margin: 0; }
.layout__col .buttons { margin-top: 0; }
.layout__col h2, .layout__col h3, .layout__col .eyebrow { margin-bottom: 0; }
.widget--heading { display: grid; gap: 8px; }
.widget--image img { display: block; width: 100%; height: auto; }
.widget--image figcaption { font-size: 13px; opacity: .75; margin-top: 8px; }
.widget--gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.widget--gallery-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.widget--gallery-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.widget--gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.widget--spacer-small { height: 8px; }
.widget--spacer-medium { height: 32px; }
.widget--spacer-large { height: 72px; }
.align-center .layout__col { align-items: center; }
.align-center .widget--image, .align-center .widget--gallery { align-self: stretch; }
@media (max-width: 960px) { .layout__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
    .layout__grid--2, .layout__grid--3, .layout__grid--2.layout__grid--wide-left, .layout__grid--2.layout__grid--wide-right { grid-template-columns: minmax(0, 1fr); }
    .layout__grid--reverse { display: flex; flex-direction: column-reverse; }
    .layout__grid--reverse > .layout__col { width: 100%; }
}
@media (max-width: 600px) {
    .layout__grid--4 { grid-template-columns: minmax(0, 1fr); }
    .widget--gallery-3, .widget--gallery-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Text block */
.text-block h2 { margin-bottom: 16px; }

/* Feature grid */
.features__grid { display: grid; gap: 32px; margin-top: 40px; grid-template-columns: repeat(var(--cols, 4), 1fr); }
.feature img { width: 96px; height: 96px; object-fit: contain; margin-bottom: 20px; }
.align-center .feature img { margin-left: auto; margin-right: auto; }
.feature h3 { font-size: 30px; }
.feature p { font-size: 14px; }
@media (max-width: 960px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features__grid { grid-template-columns: 1fr; } }

/* List block (items with title + text, optional numbering and image) */
.list .wrap { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
.list--with-image .wrap { grid-template-columns: 1fr 1fr; }
.list--image-right .list__media { order: 2; }
.list__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.list__items { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.list__items h3 { font-size: 24px; margin: 0 0 4px; }
.list__items p { margin: 0; font-size: 14px; }
.list--numbered .list__items { counter-reset: step; }
.list--numbered .list__items li { counter-increment: step; }
.list--numbered .list__items h3::before { content: counter(step) '. '; color: var(--gold); }
@media (max-width: 860px) { .list--with-image .wrap { grid-template-columns: 1fr; } .list--image-right .list__media { order: 0; } }

/* Cards (courses, business models) */
.cards__grid { display: grid; gap: 28px; margin-top: 40px; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.card { background: var(--white); display: flex; flex-direction: column; }
.bg-white .card { background: var(--cream); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card__eyebrow { font: 500 16px var(--heading); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 4px; color: var(--gold); }
.card h3 { font-size: 30px; margin-bottom: 8px; }
.card__meta { font-size: 13px; margin: 0 0 16px; }
.card .buttons { margin-top: auto; padding-top: 12px; }
.card .btn { font-size: 15px; padding: 10px 16px; }
@media (max-width: 960px) { .cards__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards__grid { grid-template-columns: 1fr; } }

/* Image tiles */
.tiles { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.tile { position: relative; display: block; aspect-ratio: 1 / 1.05; overflow: hidden; color: var(--white); text-decoration: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,22,32,.55), rgba(20,22,32,0) 55%); }
.tile:hover img { transform: scale(1.04); }
.tile span { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 1; text-align: center; font: 400 clamp(30px, 3.2vw, 46px)/1 var(--heading); text-transform: uppercase; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 3; } }

/* Products */
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 32px; }
.product-card { text-align: center; text-decoration: none; }
.product-card img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; margin-bottom: 14px; background: var(--mist); }
.product-card h3 { font-size: 22px; margin-bottom: 4px; }
.product-card .price { font-size: 14px; }
@media (max-width: 860px) { .products__grid { grid-template-columns: repeat(2, 1fr); } }

/* Testimonials */
.testimonials__stars { letter-spacing: .3em; color: var(--slate); margin: 0 0 24px; }
.testimonials__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; text-align: left; margin-top: 16px; }
.testimonial { background: rgba(255,255,255,.55); padding: 28px; margin: 0; }
.testimonial blockquote { margin: 0 0 16px; font-size: 14px; }
.testimonial figcaption { font: 500 18px var(--heading); text-transform: uppercase; letter-spacing: .1em; }

/* Banner */
.banner { height: var(--h, 420px); background: center/cover no-repeat; }
@media (max-width: 760px) { .banner { height: 260px; } }

/* Forms */
.form-block .wrap { max-width: 820px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; text-align: left; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label:not(.sr-only) { display: block; font-size: 14px; margin-bottom: 6px; }
.form-grid input, .form-grid textarea { width: 100%; border: 0; border-radius: 0; background: var(--white); color: #2b2b2b; font: 15px/1.4 var(--body); padding: 13px 16px; }
.bg-white .form-grid input, .bg-white .form-grid textarea { background: var(--mist); }
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus { outline: 2px solid var(--slate); outline-offset: 2px; }
.form-legal { font-size: 11px; opacity: .8; margin-top: 16px; text-align: left; }
.form-errors { background: #fff4f2; border-left: 4px solid #c2412d; padding: 12px 16px; margin-top: 16px; text-align: left; color: #6b2015; }
.form-errors p { margin: 0; }
.form-thanks { padding: 24px; background: rgba(255,255,255,.6); margin-top: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--slate); color: var(--cream); padding: 64px 0 28px; }
.site-footer .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.site-footer h2 { font-size: 22px; letter-spacing: .14em; color: var(--white); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0 0 24px; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { font: 400 16px var(--heading); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer address { font: 400 16px/1.7 var(--heading); text-transform: uppercase; letter-spacing: .08em; font-style: normal; }
.site-footer__base { grid-column: 1 / -1; text-align: center; border-top: 1px solid rgba(239,233,230,.2); padding-top: 24px; font-size: 12px; opacity: .8; }
.site-footer__base img { width: 160px; margin: 0 auto 14px; opacity: .9; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Shop: breadcrumbs, cards, product page, category page */
.breadcrumbs { background: var(--white); border-bottom: 1px solid #ece8e3; font-size: 12px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; padding-bottom: 12px; margin: 0 auto; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.product-card { display: block; color: inherit; }
.product-card__noimg { display: block; aspect-ratio: 1; background: var(--mist); margin-bottom: 14px; }
.product-card img { aspect-ratio: 1; }
.product-card .price s, .product__price s { opacity: .55; margin-right: 6px; }
.product-card__stock { font: 500 14px var(--heading); text-transform: uppercase; letter-spacing: .1em; color: #a0522d; margin: 0; }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); padding-top: 40px; padding-bottom: 64px; align-items: start; }
.product__main { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--mist); }
.product__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.product__thumbs img { aspect-ratio: 1; object-fit: cover; }
.product__info h1 { font-size: clamp(36px, 4.2vw, 56px); font-weight: 400; }
.product__price { font: 500 30px var(--heading); margin: 0 0 20px; }
.product__price small { font: 400 14px var(--body); opacity: .7; margin-left: 6px; }
.product__summary { margin-bottom: 20px; }
.product__buy { display: grid; gap: 14px; max-width: 420px; }
.product__buy label { font: 500 16px var(--heading); text-transform: uppercase; letter-spacing: .1em; }
.product__buy select, .product__buy input[type=number] { width: 100%; font: 15px var(--body); padding: 12px 14px; border: 1px solid var(--sand); background: var(--white); color: var(--ink); border-radius: 0; }
.product__qty input { max-width: 110px; }
.product__buy .btn { justify-self: start; }
.product__soldout { font: 500 18px var(--heading); text-transform: uppercase; }
.product__description { max-width: 820px; }
.notice { background: var(--cream); border-left: 4px solid var(--gold); padding: 12px 16px; font-size: 14px; }
.collection-head h1 { font-size: clamp(40px, 5vw, 64px); }
.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips a { display: inline-block; font: 500 15px var(--heading); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; border: 1px solid var(--slate); padding: 8px 14px; }
.chips a:hover { background: var(--slate); color: var(--white); }
.pagination { display: flex; justify-content: center; gap: 24px; margin-top: 40px; font: 500 16px var(--heading); text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; padding-top: 24px; } }

/* Long-form text (legal pages, descriptions) */
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 22px; margin: 1.4em 0 .4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--slate); text-decoration: underline; text-underline-offset: 2px; }
.text-block .prose { max-width: 820px; }
.text-block.align-center .lead { max-width: 620px; margin-inline: auto; text-wrap: balance; }

/* Blog */
.card__title { font-size: 28px; margin: 0 0 8px; }
.card__title a { text-decoration: none; }
.post .wrap { max-width: 820px; }
.post h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 400; }
.post__image { width: 100%; margin: 24px 0 32px; }
.post .prose { max-width: none; }
.post .prose img { margin: 24px auto; }
.post-links { list-style: none; padding: 0; display: grid; gap: 10px; }
.post-links a { font: 400 22px var(--heading); text-transform: uppercase; text-decoration: none; }

/* Basket and checkout */
.basket-link span { position: absolute; top: -7px; right: -10px; min-width: 18px; padding: 1px 5px; background: var(--slate); color: var(--white); border-radius: 9px; font: 11px/16px var(--body); text-align: center; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--slate); text-decoration: underline; cursor: pointer; font-size: 13px; }
.checkout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 24px; }
.basket { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.basket th { text-align: left; font: 500 15px var(--heading); text-transform: uppercase; letter-spacing: .1em; border-bottom: 1px solid var(--sand); padding: 8px 6px; }
.basket td { border-bottom: 1px solid #ece8e3; padding: 14px 6px; vertical-align: top; font-size: 14px; }
.basket__product { display: flex; gap: 14px; align-items: flex-start; }
.basket__product small, .summary__lines small { display: block; opacity: .75; font-size: 12px; }
.basket__qty { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.basket__qty input { width: 64px; padding: 6px 8px; border: 1px solid var(--sand); }
.summary { background: var(--cream); padding: 24px; }
.summary h2 { font-size: 26px; }
.summary__lines { list-style: none; padding: 0; margin: 0 0 16px; font-size: 13px; }
.summary__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--mist); }
.summary__totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; font-size: 14px; }
.summary__totals dd { margin: 0; text-align: right; }
.summary__total { font: 500 22px var(--heading); text-transform: uppercase; }
.summary__tax { font-size: 12px; opacity: .7; margin: 8px 0 0; }
.btn--block { display: block; text-align: center; margin-top: 16px; }
.steps { list-style: none; display: flex; gap: 20px; padding: 0; margin: 0 0 8px; font: 500 15px var(--heading); text-transform: uppercase; letter-spacing: .1em; opacity: .55; }
.steps li[aria-current] { opacity: 1; color: var(--slate); text-decoration: underline; text-underline-offset: 6px; }
.checkout__form fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.checkout__form legend { font: 500 22px var(--heading); text-transform: uppercase; margin-bottom: 8px; }
.checkout__form label { display: block; font-size: 12px; margin-bottom: 4px; }
.checkout__form .form-grid { margin-top: 0; }
.checkout__form .form-grid input, .checkout__form .form-grid select, .checkout__form .form-grid textarea { background: var(--mist); width: 100%; border: 0; padding: 12px 14px; font: 15px var(--body); color: #2b2b2b; }
.checkout__address { background: var(--mist); padding: 14px 16px; font-size: 14px; }
#payment-element { margin: 20px 0; }
.confirmation { max-width: 760px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .basket thead { display: none; } .basket td { display: block; border: 0; padding: 6px 0; } .basket tr { display: block; border-bottom: 1px solid #ece8e3; padding: 10px 0; } }

/* Account */
.account-card { max-width: 480px; background: var(--white); padding: 32px; }
.account-card h1 { font-size: 40px; }
.stack { display: grid; gap: 8px; }
.stack label { font-size: 12px; margin-top: 6px; }
.stack input:not([type=checkbox]) { width: 100%; border: 1px solid var(--sand); padding: 11px 13px; font: 15px var(--body); }
.stack .btn { justify-self: start; margin-top: 12px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 13px !important; }
.account-links { font-size: 13px; margin-top: 18px; }
.account-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.coupon { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 8px 0 12px; } .coupon label { width: 100%; font-size: 12px; } .coupon input { padding: 10px 12px; border: 1px solid var(--sand); text-transform: uppercase; } .coupon .btn { padding: 10px 16px; font-size: 15px; }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 720px; margin: 0 auto; background: var(--white); box-shadow: 0 8px 32px rgba(0,0,0,.18); padding: 18px 20px; font-size: 13px; } .cookie-banner__choices { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .cookie-banner__choices label { display: flex; gap: 6px; align-items: center; } .cookie-banner .btn { font-size: 14px; padding: 9px 14px; }
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 20px auto 0; } .search-form input { flex: 1; padding: 12px 14px; border: 1px solid var(--sand); font: 15px var(--body); }
