/* Fonts are served with the site (both SIL Open Font Licence) and preloaded, so text does not jump when they arrive. */
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Young Serif"; src: url("../fonts/young-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* The Plants: shop template. Concrete, ink navy and Haworthia green, with mustard used only where something is hand-painted. */
:root {
	--plaster: #ecebe6;
	--concrete: #cfd1cc;
	--stone: #a9ada8;
	--ink: #1d2a3a;
	--ink-soft: #4a5566;
	--leaf: #2f6b3a;
	--leaf-deep: #1f4a29;
	--leaf-light: #5fa66c;
	--blush: #f2dfd9;
	--paint: #e3a82b;
	--white: #fbfbf8;

	--serif: "Young Serif", Georgia, serif;
	--sans: "Schibsted Grotesk", system-ui, sans-serif;

	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.3125rem;
	--step-2: 1.75rem;
	--step-3: 2.5rem;
	--step-4: clamp(2.6rem, 6.2vw, 4.75rem);

	--gutter: clamp(16px, 4vw, 48px);
	--max: 1240px;
	--radius-pot: 4px 4px 22px 22px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0; background: var(--plaster); color: var(--ink);
	font: 400 var(--step-0)/1.6 var(--sans);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); 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; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; }
p { margin: 0 0 1em; }

/* Items still to be confirmed by the client. Visible in the prototype, hidden with body.clean. */
.tbc { color: var(--ink) !important;
	background: #fff3cf; outline: 1.5px dashed #c58b00; outline-offset: 2px; border-radius: 3px;
	padding: 0 .2em; color: inherit;
}
body.clean .tbc { color: inherit !important; background: none; outline: 0; padding: 0; }
body.clean .img-tbc { display: none; }
.proto-bar {
	min-height: 40px;
	background: var(--ink); color: #dfe4ea; font-size: var(--step--1); padding: 8px var(--gutter);
	display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center;
}
.proto-bar button { background: var(--paint); color: var(--ink); border: 0; border-radius: 99px; padding: 3px 12px; cursor: pointer; font-weight: 600; }

/* Header */
.site-head, #site-head { min-height: 73px; }
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--plaster) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid #0000; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: #d6d5cf; }
.head-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 34px; height: 34px; }
.logo b { font: 500 1.35rem/1 var(--sans); letter-spacing: -0.01em; }
.logo small { display: block; font-size: 11px; letter-spacing: .26em; color: var(--leaf); margin-top: 3px; font-weight: 600; white-space: nowrap; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--leaf-light); }
.head-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
	position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid #d3d2cb; background: var(--white); cursor: pointer; text-decoration: none;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .count {
	position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--leaf);
	color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 5px;
	transform: scale(0); transition: transform .25s cubic-bezier(.3,1.6,.5,1);
}
.icon-btn .count.on { transform: scale(1); }
.menu-btn { display: none; }
@media (max-width: 900px) {
	.nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--plaster); flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid #d6d5cf; }
	.nav.open { display: flex; }
	.nav a { padding: 12px 0; font-size: 18px; }
	.menu-btn { display: inline-grid; }
	.head-actions { margin-left: auto; }
}

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
	border-radius: 99px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--white);
	font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .15s;
}
.btn:hover { background: var(--leaf-deep); border-color: var(--leaf-deep); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.btn.wa { background: #17703c; border-color: #17703c; }
.btn.wa:hover { background: #105a2f; border-color: #105a2f; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Hero */
.hero { position: relative; padding: clamp(28px, 6vw, 72px) 0 clamp(40px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: var(--step-4); max-width: 11ch; }
.hero .lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 34ch; margin: 22px 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; aspect-ratio: 400 / 460; max-width: 520px; width: 100%; justify-self: center; }
.hero-art::before {
	content: ""; position: absolute; inset: 6% 2% 4%; border-radius: 50% 50% 46% 54% / 58% 52% 48% 42%;
	background: var(--blush); z-index: 0;
}
.hero-art svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.hero-tag {
	position: absolute; z-index: 2; right: 0; top: 14%; background: var(--white); border-radius: 6px 6px 6px 6px;
	padding: 10px 14px 10px 22px; font-size: 14px; line-height: 1.35; box-shadow: 0 12px 28px -18px #1d2a3a99;
	clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
	transform: rotate(4deg);
}
.hero-tag i { font-family: var(--serif); font-style: italic; display: block; font-size: 15px; }
.hero-tag span { color: var(--ink-soft); font-size: 13px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 22px; border-top: 1px solid #d3d2cb; font-size: 15px; color: var(--ink-soft); }
.hero-facts strong { color: var(--ink); display: block; font-weight: 600; }
@media (max-width: 820px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-art { max-width: 360px; order: -1; }
	.hero h1 { max-width: none; }
}

/* Rosette animation */
.ro-grow { transform-box: view-box; transform-origin: var(--ox) var(--oy); animation: grow 1.2s cubic-bezier(.2,.9,.25,1.08) var(--d) both; }
@keyframes grow { from { transform: scale(0); opacity: 0; } 25% { opacity: 1; } to { transform: none; } }
.ro-pebbles { animation: rise .8s cubic-bezier(.2,.9,.3,1) both; }
/* The pot carries the grain and paint filters, so it does not move: animating it repaints the filters every frame. */
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.ro-sway { transition: transform .1s linear; }

/* Sections */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { color: var(--ink-soft); max-width: 46ch; margin: 10px 0 0; }

/* Plant finder */
.finder { background: var(--ink); color: var(--white); border-radius: 28px; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.finder h2 { font-size: var(--step-3); }
.finder > div > p { color: #c4ccd6; margin-top: 12px; }
.finder-q { margin-bottom: 22px; }
.finder-q > span { display: block; font-weight: 600; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid #7d8ba0; background: transparent; color: var(--white); border-radius: 99px; padding: 9px 16px; cursor: pointer; font-size: 15px; transition: background .15s, border-color .15s; }
.chip:hover { border-color: var(--leaf-light); }
.chip[aria-pressed="true"] { background: var(--leaf-light); border-color: var(--leaf-light); color: var(--ink); font-weight: 600; }
.finder-result { margin-top: 6px; font-size: 15px; color: #c4ccd6; min-height: 1.6em; }
.finder-result strong { color: var(--white); }
@media (max-width: 820px) { .finder { grid-template-columns: 1fr; } }

/* Product grid */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters .chip { color: var(--ink); border-color: #7a7d77; }
.filters .chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.card { position: relative; display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card-img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: var(--blush); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 14px 2px 0; display: grid; gap: 2px; }
.card h3 { font-size: 1.2rem; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .latin { color: var(--ink-soft); font-style: italic; font-size: 14px; }
.card .meta { font-size: 14px; color: var(--ink-soft); }
.card .price { order: 4; font-weight: 700; margin-top: 6px; }
.card .add { position: absolute; z-index: 2; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 16px -8px #1d2a3a88; transition: transform .2s, background .2s; }
.card .add:hover { transform: scale(1.08); background: var(--leaf-light); }
.card .add svg { width: 20px; height: 20px; }
.badge { position: absolute; z-index: 2; left: 12px; top: 12px; background: var(--paint); color: var(--ink); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.badge.pet { background: var(--white); color: var(--leaf-deep); }

/* Custom pots */
.custom { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.custom-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.custom-photos img { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 0 0 1px #d6d5cf; }
.custom-photos img:nth-child(2) { margin-top: 48px; }
.steps { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--paint); display: grid; place-items: center; font-family: var(--serif); color: var(--ink); background: #fbecc8; }
.steps strong { display: block; }
.steps span { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 820px) { .custom { grid-template-columns: 1fr; } }

/* Gifting band */
.gifting { background: var(--leaf-deep); color: var(--white); border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; }
.gifting-text { padding: clamp(28px, 5vw, 60px); }
.gifting-text p { color: #cfe0d1; max-width: 44ch; }
.gifting ul { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.gifting li { padding-left: 28px; position: relative; }
.gifting li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 10px; border-radius: 0 100% 0 100%; background: var(--leaf-light); }
.gifting img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.gifting .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.gifting .btn:hover { background: var(--blush); }
@media (max-width: 820px) { .gifting { grid-template-columns: 1fr; } .gifting img { max-height: 360px; } }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.story img { border-radius: 200px 200px 18px 18px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; max-width: 440px; }
.story blockquote { margin: 0 0 22px; font-family: var(--serif); font-size: var(--step-2); line-height: 1.25; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } .story img { max-width: 320px; } }

/* Care card */
.care { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.care-item { background: var(--white); border-radius: 18px; padding: 24px; }
.care-item svg { width: 36px; height: 36px; margin-bottom: 14px; }
.care-item p { color: var(--ink-soft); font-size: 15px; margin: 6px 0 0; }

/* Review */
.review { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--blush); border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
.review img { width: 160px; border-radius: 14px; aspect-ratio: 9 / 14; object-fit: cover; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: var(--step-2); line-height: 1.3; }
.review cite { display: block; margin-top: 14px; font: 500 15px/1.6 var(--sans); color: var(--ink-soft); font-style: normal; }
@media (max-width: 620px) { .review { grid-template-columns: 1fr; } .review img { width: 120px; } }

/* Footer */
.site-foot { background: var(--ink); color: #c4ccd6; padding: 64px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h3 { color: var(--white); font: 600 15px var(--sans); margin-bottom: 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--white); text-decoration: underline; }
.site-foot .logo b { color: var(--white); }
.site-foot .logo small { color: #8fc79a; }
.site-foot a mark { white-space: nowrap; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid #344257; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Cart drawer */
.drawer-bg { position: fixed; inset: 0; background: #1d2a3a66; z-index: 40; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; z-index: 41; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--white); transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.cart-open .drawer { transform: none; }
.cart-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid #e4e3dd; }
.drawer-head h2 { font-size: var(--step-1); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #eeede8; }
.line img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; }
.line small { color: var(--ink-soft); display: block; }
.qty { display: inline-flex; align-items: center; border: 1px solid #d3d2cb; border-radius: 99px; margin-top: 6px; }
.qty button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; font-size: 16px; }
.empty { text-align: center; padding: 48px 8px; color: var(--ink-soft); }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid #e4e3dd; display: grid; gap: 10px; }
.total { display: flex; justify-content: space-between; font-weight: 700; font-size: var(--step-1); }
.drawer-foot small { color: var(--ink-soft); }

/* Delivery block on product pages */
.deliver { margin-top: 26px; background: var(--white); border-radius: 18px; padding: 20px 22px; }
.deliver h2 { font-size: var(--step-1); margin-bottom: 10px; }
.deliver p { display: grid; gap: 2px; margin: 0; padding: 10px 0; border-top: 1px solid #eeede8; font-size: 15px; }
.deliver p:first-of-type { border-top: 0; }
.deliver span { color: var(--ink-soft); }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); padding-top: 28px; }
.pdp-img { border-radius: 24px; overflow: hidden; background: var(--blush); aspect-ratio: 4 / 5; position: sticky; top: 112px; }
.pdp-img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.pdp h1 { font-size: var(--step-3); }
.pdp .latin { font-style: italic; color: var(--ink-soft); margin: 8px 0 18px; }
.pdp .price { font-size: var(--step-2); font-weight: 700; margin-bottom: 18px; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 22px 0; padding: 18px 0; border-top: 1px solid #d3d2cb; border-bottom: 1px solid #d3d2cb; font-size: 15px; }
.spec dt { color: var(--ink-soft); }
.spec dd { margin: 0; }
.gift-opt { display: flex; gap: 10px; align-items: start; margin: 0 0 20px; font-size: 15px; }
.gift-opt input { flex: none; width: 20px; height: 20px; accent-color: var(--leaf); margin-top: 2px; }
.gift-note { display: none; width: 100%; border: 1px solid #c9c8c1; border-radius: 12px; padding: 12px; font: inherit; margin-bottom: 18px; min-height: 90px; background: var(--white); }
.gift-note.on { display: block; }
.buy { display: grid; gap: 10px; }
.reassure { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-size: 15px; }
.reassure li { display: flex; gap: 10px; align-items: start; }
.reassure svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--leaf); }
@media (max-width: 820px) { .pdp { grid-template-columns: 1fr; } .pdp-img { position: relative; top: auto; } }

.toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 99px; font-weight: 500; transition: transform .3s, opacity .3s; pointer-events: none; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; }
	html { scroll-behavior: auto; }
}

/* Page heads for inner pages */
.page-head { padding: clamp(32px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: var(--step-4); max-width: 16ch; }
.page-head p { font-size: var(--step-1); color: var(--ink-soft); max-width: 40ch; margin: 18px 0 0; line-height: 1.5; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.select { min-height: 44px; border: 1.5px solid #7a7d77; border-radius: 99px; padding: 0 16px; background: var(--white); font: inherit; font-size: 15px; color: var(--ink); }
.count-note { color: var(--ink-soft); font-size: 15px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field > span { font-weight: 600; font-size: 15px; }
.field small { color: var(--ink-soft); font-size: 13px; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; border: 1.5px solid #7a7d77; border-radius: 12px; padding: 12px 14px;
	font: inherit; color: var(--ink); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px #5fa66c40; }
.field.error input, .field.error select, .field.error textarea { border-color: #b3261e; }
.field .err { color: #b3261e; font-size: 13px; display: none; }
.field.error .err { display: block; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.option {
	display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px;
	border: 1.5px solid #7a7d77; border-radius: 14px; background: var(--white); cursor: pointer;
}
.option:has(input:checked) { border-color: var(--leaf); box-shadow: 0 0 0 3px #5fa66c30; }
.option input { width: 20px; height: 20px; accent-color: var(--leaf); }
.option small { display: block; color: var(--ink-soft); font-size: 14px; }
.option b { white-space: nowrap; }
.panel { background: var(--white); border-radius: 22px; padding: clamp(20px, 3vw, 32px); }
.panel h2 { font-size: var(--step-2); margin-bottom: 18px; }
.sent { display: none; text-align: center; padding: 32px 12px; }
.sent.on { display: block; }
.sent svg { width: 56px; height: 56px; color: var(--leaf); margin: 0 auto 12px; }
.sent h3 { font-size: var(--step-2); margin-bottom: 10px; }
form.done { display: none; }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; padding-bottom: 40px; }
.summary { position: sticky; top: 112px; }
.summary .line { grid-template-columns: 56px 1fr auto; }
.summary .line img { width: 56px; height: 70px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.sum-row.total { font-size: var(--step-1); font-weight: 700; border-top: 1px solid #e4e3dd; margin-top: 8px; padding-top: 14px; }
.sum-row.discount { color: var(--leaf); }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }
.confirm { max-width: 640px; margin: 0 auto; text-align: center; padding: 40px 0 20px; }
.confirm .rosette-small { width: 180px; margin: 0 auto 10px; }
.confirm h1 { font-size: var(--step-3); margin-bottom: 14px; }
.confirm .ref { display: inline-block; background: var(--white); border-radius: 99px; padding: 6px 16px; font-weight: 600; margin: 8px 0 20px; }

/* Cards of text: gifts, care, delivery */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile { background: var(--white); border-radius: 18px; padding: 24px; text-decoration: none; display: block; }
a.tile:hover { box-shadow: 0 0 0 2px var(--leaf-light); }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.tile .price-band { font-family: var(--serif); font-size: var(--step-2); color: var(--leaf); display: block; margin-bottom: 4px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.prose h2 { font-size: var(--step-2); margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.faq details { border-top: 1px solid #d3d2cb; padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid #d3d2cb; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--leaf); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }
.guide { display: grid; grid-template-columns: 200px 1fr; gap: 24px; background: var(--white); border-radius: 22px; padding: 20px; align-items: center; }
.guide img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.guide dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 12px 0 0; font-size: 15px; }
.guide dt { font-weight: 600; }
.guide dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 620px) { .guide { grid-template-columns: 1fr; } .guide img { max-width: 200px; } }

/* Product details: personalisation price, quantity picker, basket line extras */
.price-note { font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.card .price small { font-weight: 500; color: var(--ink-soft); font-size: 13px; }
.line-extra { font-size: 13px; color: var(--leaf-deep) !important; }
.qty-pick { display: inline-flex; align-items: center; border: 1.5px solid #7a7d77; border-radius: 99px; height: 50px; }
.qty-pick button { width: 46px; height: 46px; border: 0; background: none; font-size: 20px; cursor: pointer; border-radius: 50%; }
.qty-pick output { min-width: 28px; text-align: center; font-weight: 600; }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn { flex: 1; }
.img-tbc { position: absolute; z-index: 2; left: 12px; bottom: 12px; font-size: 13px; font-weight: 600; }

/* Shop filter status */
.link-btn { background: none; border: 0; padding: 0; color: var(--leaf-deep); text-decoration: underline; cursor: pointer; font: inherit; }
.filter-note { margin: -8px 0 22px; font-size: 15px; color: var(--ink-soft); }
.filter-note p { margin: 0; }

/* Inner page heads with their own drawing, picture tiles, the grain on the blush disc */
.page-head.with-art .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.page-head .head-art { max-width: 300px; width: 100%; justify-self: center; position: relative; aspect-ratio: 400 / 460; }
.page-head .head-art::before { content: ""; position: absolute; inset: 8% 4% 4%; border-radius: 50% 50% 46% 54% / 58% 52% 48% 42%; background: var(--blush); }
.page-head .head-art svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.hero-art::before, .page-head .head-art::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .35 0 0 0 0 .3 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.tile.pic { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; }
.tile.pic img { width: 72px; height: 90px; object-fit: cover; border-radius: 10px; }
.tile.pic h3 { font-size: 1.1rem; overflow-wrap: anywhere; hyphens: auto; }
.gifting-text { display: flex; flex-direction: column; justify-content: center; }
.side-photo { width: 100%; max-width: 360px; border-radius: 18px; margin-top: 20px; }
.painted-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.painted-strip img { border-radius: 14px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 0 0 1px #d6d5cf; }
.painted-strip figcaption { grid-column: 1 / -1; font-size: 14px; color: var(--ink-soft); }
.lede-muted { color: var(--ink-soft); }
.page-intro { color: var(--ink-soft); margin: 6px 0 0; }
.story-cite { display: block; margin: -10px 0 18px; font-size: 14px; color: var(--ink-soft); }

/* Light focus ring on dark and green panels */
.site-foot :focus-visible, .finder :focus-visible, .proto-bar :focus-visible, .gifting :focus-visible { outline-color: #f4f5ef; }

/* Day, month and year pickers (dates are always shown the British way round) */
.dmy { display: grid; grid-template-columns: 0.8fr 1.4fr 1fr; gap: 8px; }
.dmy select { width: 100%; min-height: 50px; border: 1.5px solid #7a7d77; border-radius: 12px; padding: 0 10px; font: inherit; color: var(--ink); background: var(--white); }
.field.error .dmy select { border-color: #b3261e; }

/* File input */
input[type=file] { padding: 8px; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); border-radius: 99px; padding: 8px 16px; margin-right: 12px; cursor: pointer; }

/* Space reserved for content the scripts fill in, so nothing jumps on load */
#pdp { min-height: 640px; }
#grid { min-height: 60vh; }
.checkout-wrap { min-height: 100vh; }

/* Phones and small phones */
@media (max-width: 820px) {
	#pdp { min-height: 1100px; }
	.hero-art { order: -1; max-width: 250px; margin-bottom: -8px; }
	.hero-tag { display: none; }
	.page-head.with-art .wrap { grid-template-columns: 1fr; }
	.page-head .head-art { max-width: 200px; justify-self: center; order: -1; }
}
@media (max-width: 600px) {
	.tile.pic { grid-template-columns: 56px 1fr; gap: 12px; padding: 18px; }
	.tile.pic img { width: 56px; height: 70px; }
	.tile .price-band { font-size: 1.3rem; white-space: nowrap; }
	.grid { grid-template-columns: 1fr 1fr; gap: 14px; }
	.card h3 { font-size: 1rem; }
	.card .latin { display: none; }
	.card .meta, .card .price { font-size: 13px; }
	.badge { font-size: 11px; padding: 3px 8px; left: 8px; top: 8px; }
	.card .add { width: 38px; height: 38px; right: 8px; top: 8px; }
	.card-img { border-radius: 14px; }
	.care { grid-template-columns: 1fr 1fr; gap: 12px; }
	.care-item { padding: 16px; }
	.care-item h3 { font-size: 1.1rem; }
}
@media (max-width: 480px) {
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.foot-grid > div:first-child, .foot-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
	.head-in { gap: 8px; }
	.head-actions { gap: 6px; }
	.icon-btn { width: 40px; height: 40px; }
	.site-head .logo b { font-size: 1.1rem; }
	.site-head .logo small { display: none; }
	.site-head .logo svg { width: 30px; height: 30px; }
}
@media (max-width: 340px) { .head-actions a.icon-btn { display: none; } }

/* Skip link */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* Small layout helpers used in the page markup */
.flush-top { padding-top: 0; }
.band-white { background: var(--white); }
.band-plaster { background: var(--plaster); }
.m0 { margin: 0; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 16px; }
.mt-l { margin-top: 28px; }
.mt-xl { margin-top: 56px; }
.mb-m { margin-bottom: 18px; }
.pb-s { padding-bottom: 20px; }
.small-muted { font-size: 14px; color: var(--ink-soft); }
.block-muted { display: block; color: var(--ink-soft); }
.btn-wide { width: 100%; min-height: 58px; font-size: 1.05rem; }
.confirm-lines { text-align: left; margin: 8px 0 22px; }
.short-area { min-height: 80px; }
.foot-blurb { margin-top: 16px; max-width: 30ch; }
.center-row { justify-content: center; margin-top: 20px; }
.one-col { grid-template-columns: 1fr; }
.stack { display: grid; gap: 16px; }
.form-row .field:has(.dmy) { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field-legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 6px; }
@media (max-width: 600px) { .painted-strip { grid-template-columns: 1fr 1fr; margin-left: 0; margin-right: 0; } }
.painted-strip { margin: 24px 0 0; padding: 0; }
.band-white .tile { background: var(--plaster); }
.form-row:has(.dmy) > .field { grid-column: 1 / -1; }
.foot-base { align-items: center; }
.foot-base .nx-credit:hover, .foot-base .nx-credit:focus-visible { color: var(--white); }
.nx-credit{display:inline-flex;align-items:center;gap:5px;min-height:44px;color:inherit;text-decoration:none;transition:color .25s}.nx-credit span:first-child{letter-spacing:.08em;text-transform:uppercase;font-weight:600;font-size:.86em}.nx-credit svg{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.4;opacity:.6;transition:transform .3s ease,opacity .25s}.nx-credit:hover svg,.nx-credit:focus-visible svg{opacity:1;transform:translate(2px,-2px)}.nx-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media (prefers-reduced-motion:reduce){.nx-credit svg{transition:none;transform:none!important}}

/* Preview bar link */
.proto-bar a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }

/* Our story, rebuilt from Shafaq's answers (15/10/2026) */
.eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); margin: 0 0 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; background: var(--ink); color: var(--white); border-radius: 28px; overflow: hidden; }
.stats > div { padding: clamp(20px, 3vw, 36px) clamp(16px, 2.4vw, 32px); border-left: 1px solid #ffffff1f; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.stats > div:first-child { border-left: 0; }
.stats dd { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; color: #bfe3c6; }
.stats dt { font-size: 15px; color: #c4ccd6; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(3) { border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid #ffffff1f; } }
.chapters { display: grid; gap: clamp(48px, 8vw, 112px); }
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.chapter.flip > img { order: 2; }
.chapter > img { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px 18px 18px; justify-self: center; }
.chapter > img.chapter-logo { aspect-ratio: 1; object-fit: contain; background: #f7f7f7; border-radius: 28px; padding: 20px; max-width: 340px; box-shadow: 0 0 0 10px var(--plaster); transform: rotate(-2deg); }
.chapter h2 { margin: 6px 0 18px; }
.chapter p { max-width: 54ch; color: var(--ink-soft); font-size: var(--step-0); line-height: 1.65; }
.chapter-when { display: inline-block; font-family: var(--serif); font-size: var(--step-1); color: var(--leaf); border-bottom: 2px solid var(--leaf-light); padding-bottom: 2px; }
@media (max-width: 820px) { .chapter { grid-template-columns: 1fr; } .chapter.flip > img { order: 0; } .chapter > img { max-width: 300px; justify-self: start; } .chapter > img.chapter-logo { max-width: 220px; padding: 18px; } }
.why21 { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 5vw, 72px); align-items: center; }
.why21-num { margin: 0; font-family: var(--serif); font-size: clamp(7rem, 22vw, 15rem); line-height: .8; color: var(--leaf); letter-spacing: -0.04em; }
.why21-line { font-family: var(--serif); font-size: var(--step-2); line-height: 1.25; margin: 14px 0 12px; }
.why21 .lede-muted { max-width: 48ch; }
@media (max-width: 620px) { .why21 { grid-template-columns: 1fr; } }
.promise { background: var(--leaf-deep); color: var(--white); border-radius: 28px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: clamp(20px, 4vw, 56px); align-items: center; }
.promise p { color: #dcebdf; max-width: 52ch; margin: 16px 0 0; font-size: var(--step-0); line-height: 1.6; }
.promise-cta { display: flex; flex-direction: column; gap: 12px; }
.promise .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.promise .btn.ghost { background: transparent; color: var(--white); border-color: #ffffff80; }
.promise :focus-visible { outline-color: #f4f5ef; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; } .promise-cta { flex-direction: row; flex-wrap: wrap; } }
.story-hero .hero-art { max-width: 460px; justify-self: center; width: 100%; }

/* Shop: the things from the farm that are not in the catalogue yet */
.extras { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; background: var(--white); border-radius: 22px; padding: clamp(20px, 3vw, 32px); }
.extras h2 { font-size: var(--step-2); }
.extras p { margin: 10px 0 0; max-width: 60ch; color: var(--ink-soft); }

/* Checkout: the single delivery rate shown as a settled choice */
.option.static { grid-template-columns: 1fr auto; cursor: default; border-color: var(--leaf); }

/* Changes from Shafaq's notes of 19/10/2026: her own logo, the pots gallery, sale prices, the Gifts hero photo. */
.logo img { height: 84px; width: auto; display: block; margin: 4px 0; }
.site-head.scrolled .logo img { height: 60px; }
.logo img { transition: height .25s ease; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
@media (max-width: 520px) { .hero-facts { grid-template-columns: 1fr 1fr; } }
.site-foot .logo img { height: 92px; }
/* Shafaq, 22/10/2026: the footer logo keeps its own black lines, so it sits on a cream tile rather than being recoloured. */
.site-foot .logo { display: inline-flex; background: #f7f3ea; border-radius: 18px; padding: 10px 14px; }
@media (max-width: 620px) { .site-head .logo img, .site-head.scrolled .logo img { height: 56px; } }
/* Live site, 22/10/2026: without the preview bar above it, the 84px logo needs a header tall enough to hold it. */
.head-in { height: 96px; }
#site-head { min-height: 97px; }
html { scroll-padding-top: 112px; }
@media (max-width: 900px) { .nav { top: 100%; } }
@media (max-width: 620px) { .head-in { height: 72px; } #site-head { min-height: 73px; } html { scroll-padding-top: 90px; } }
.card .price s, .pdp .price s { color: var(--ink-soft); font-weight: 500; margin-left: 6px; }
.pdp-media { display: grid; gap: 14px; align-self: start; position: sticky; top: 112px; }
.pdp-media .pdp-img { position: relative; top: auto; }
.pdp-img2 { aspect-ratio: 1; max-width: 50%; }
@media (max-width: 820px) { .pdp-media { position: relative; top: auto; } }
.page-head .head-photo { max-width: 340px; width: 100%; justify-self: center; }
.page-head .head-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 200px 200px 22px 22px; }
@media (max-width: 760px) { .page-head .head-photo { max-width: 240px; order: -1; } }
.pots { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
.pot { margin: 0; }
.pot img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: var(--blush); }
.pot figcaption { margin-top: 8px; font-size: 15px; }
.pot strong { display: block; }
.pot span { color: var(--ink-soft); }
.guide-art { width: 100%; height: auto; border-radius: 14px; }
@media (max-width: 620px) { .guide-art { max-width: 200px; } }
.stats-words dd { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.story-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); max-width: 15ch; }

/* Checkout: why the shop turned an order down, and a field only bots fill in. */
.place-err { color: #b3261e; font-weight: 600; margin: 0 0 12px; }
.place-err:focus { outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#place:disabled { opacity: .7; cursor: progress; }
