/* ==== APOTHECARY GUERNSEY: DARK THEME ==== */
:root {
  color-scheme: dark;
  --bg: #1E211D; --surface: #272B25; --surface-2: #2E332C; --alt: #242822;
  --ink: #E4E2DA; --muted: #A9BAC3; --heading: #BFD3BD; --line: rgba(191,211,189,.14);
  --forest: #2F4A3A; --sage: #8FA98F; --sky: #A9C4D2; --cream: #F7F5EF; --white: #FFFFFF;
  --radius: 14px; --max: 1150px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito Sans', sans-serif; background: var(--bg); color: var(--ink); line-height: 1.7; font-size: 1.05rem; }
h1, h2, h3, legend { font-family: 'Cormorant Garamond', serif; color: var(--heading); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .5rem; }
h3 { font-size: 1.6rem; }
a { color: var(--sky); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--forest); color: var(--white); padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
.intro { max-width: 640px; color: var(--muted); margin-bottom: 2rem; }
.center { text-align: center; }
.center .intro { margin-left: auto; margin-right: auto; }
.alt { background: var(--alt); }

/* Botanical sprig above headings */
.sprig { display: block; width: 110px; height: 22px; color: var(--sage); margin-bottom: .6rem; }
.center .sprig { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-block; background: var(--forest); color: var(--white); text-decoration: none; padding: .8rem 1.6rem; border-radius: 999px; font-weight: 700; border: 2px solid var(--forest); cursor: pointer; font-size: 1rem; font-family: inherit; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:active { transform: scale(.97); }
.btn.light { background: transparent; color: var(--heading); border-color: var(--sage); }
.btn.full { width: 100%; text-align: center; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }

/* Header (scrolls away normally) */
header { position: relative; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; gap: 1rem; }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav > a:not(.logo) { white-space: nowrap; }
.logo { display: flex; align-items: center; gap: .6rem; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--heading); text-decoration: none; }
.logo .logo-text { color: var(--heading); white-space: nowrap; }
.logo .logo-text span { color: var(--sage); }
nav ul { list-style: none; display: flex; gap: 1.6rem; }
nav a { text-decoration: none; color: var(--ink); font-weight: 600; position: relative; }
nav a::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 100%; height: 2px; background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform .25s; }

/* Hamburger menu button (mobile only) */
.menu-btn { display: none; flex-shrink: 0; width: 44px; height: 40px; padding: 0; background: none; border: 2px solid var(--sage); border-radius: 10px; position: relative; cursor: pointer; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--heading); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-btn span:nth-child(1) { top: 13px; }
.menu-btn span:nth-child(2) { top: 19px; }
.menu-btn span:nth-child(3) { top: 25px; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Floating basket button (bottom right) */
.cart-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: var(--forest); color: var(--white); border: 2px solid var(--sage); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: transform .2s; }
.cart-fab .bag { width: 24px; height: 24px; }
.count { position: absolute; top: -4px; right: -4px; display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--sage); color: var(--bg); font-size: .78rem; font-weight: 700; line-height: 1; }
.count.zero { display: none; }
.count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* Photos & placeholders */
.photo { background: linear-gradient(135deg, var(--sage), var(--sky)); border-radius: var(--radius); min-height: 220px; }
  .img-wrap { position: relative; overflow: hidden; }
.img-wrap .photo { border-radius: 0; height: 240px; min-height: 0; }
.card-img { width: 100%; height: 240px; object-fit: cover; transition: transform .6s ease; }
.feature-img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }

/* Hero & ethos */
.hero { padding: 4rem 0 5rem; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero p { font-size: 1.2rem; color: var(--muted); margin: 1.2rem 0 2rem; max-width: 520px; }
.hero .photo { min-height: 420px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.ethos { background: var(--forest); color: var(--cream); padding: 3rem 0; }
.ethos .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.ethos h2 { color: var(--cream); font-size: 1.6rem; margin-bottom: .3rem; }

/* Shop tabs */
.tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.tab { background: var(--surface); border: 1.5px solid rgba(143,169,143,.5); color: var(--heading); padding: .5rem 1.2rem; border-radius: 999px; font-weight: 700; cursor: pointer; font-family: inherit; font-size: .95rem; transition: background .2s, color .2s; }
.tab[aria-pressed="true"] { background: var(--forest); border-color: var(--sage); color: var(--white); }
.show-all-wrap { text-align: center; margin-top: 2rem; }

/* Reserve space for content loaded from the catalog (prevents layout jumps) */
#tabs { min-height: 44px; }
#products { min-height: 440px; }
#events, #posts { min-height: 420px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 2rem; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.25); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.alt .card { background: var(--surface-2); }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card-body p { color: var(--muted); font-size: .98rem; }
.meta { font-size: .92rem; color: var(--heading); font-weight: 600; }
.buy { margin-top: auto; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.buy label { font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: .4rem; }
.price { font-weight: 700; font-size: 1.2rem; color: var(--heading); }
.tag { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--sage); }
.soon { font-size: .92rem; font-style: italic; color: var(--muted); }
.coming { margin-top: 3rem; background: #2C3A40; border-radius: var(--radius); padding: 2rem; text-align: center; }
.favours { margin-top: 2rem; }

/* Short descriptions on cards (full text on the product page) */
.card-body p.desc { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more-link { font-size: .92rem; font-weight: 600; text-decoration: none; }
.more-link:hover { text-decoration: underline; }

/* Ingredients on product pages */
.ingredients { background: var(--surface); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 0 0 1.5rem; }
.ingredients h2 { font-size: 1.3rem; margin: 0 0 .3rem; }
.ingredients p { color: var(--muted); margin: 0; }

/* Herbal disclaimers */
.disclaimer { font-size: .88rem; color: var(--muted); border-left: 3px solid var(--sage); padding: .2rem 0 .2rem .9rem; margin: 1rem 0; }

/* Sold out / fully booked / places left */
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--bg); color: var(--heading); border: 1px solid var(--sage); padding: .25rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.card.is-soldout .card-img { filter: grayscale(.7); opacity: .6; }
.places { font-size: .9rem; font-weight: 700; color: var(--sage); }

/* Loading placeholders */
.skeleton { pointer-events: none; }
.sk-img, .sk-line, .sk-btn, .sk-tab {
  background: linear-gradient(90deg, var(--surface-2) 0%, #384036 50%, var(--surface-2) 100%);
  background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; border-radius: 8px;
}
.sk-img { height: 240px; border-radius: 0; }
.sk-line { height: 14px; width: 100%; }
.sk-line.w60 { width: 60%; height: 22px; }
.sk-line.w80 { width: 80%; }
.sk-btn { height: 44px; width: 150px; border-radius: 999px; margin-top: auto; }
.sk-tab { display: inline-block; height: 38px; width: 110px; border-radius: 999px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.quote { background: var(--surface); border-radius: var(--radius); padding: 2.2rem 2rem 1.8rem; box-shadow: 0 4px 20px rgba(0,0,0,.25); position: relative; }
.quote::before { content: '\201C'; position: absolute; top: -.2rem; left: 1.2rem; font-family: 'Cormorant Garamond', serif; font-size: 5rem; line-height: 1; color: var(--sage); opacity: .5; }
.quote p { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.4rem; line-height: 1.4; color: var(--heading); position: relative; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 700; font-size: .92rem; color: var(--muted); }
.quote p { overflow-wrap: anywhere; }
.review-box { max-width: 640px; margin: 3rem auto 0; background: var(--surface); border-radius: var(--radius); padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.review-box h3 { margin-bottom: .3rem; }
.review-box > p { color: var(--muted); margin-bottom: 1.2rem; }
.review-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-note { color: var(--muted); font-weight: 400; font-size: .9rem; }
@media (max-width: 560px) { .review-row { grid-template-columns: 1fr; } .review-box { padding: 1.4rem; } }

/* Forms */
form { display: grid; gap: 1rem; }
form label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: .2rem; }
select, input, textarea { padding: .7rem; border: 1.5px solid rgba(143,169,143,.5); border-radius: 8px; font: inherit; background: var(--surface); color: var(--ink); }
form input, form textarea, form select { width: 100%; }
.buy select { padding: .45rem; width: auto; }
textarea { min-height: 130px; resize: vertical; }
.status { color: var(--heading); font-weight: 600; min-height: 1.5em; }
.msg { color: #E8A0A0; font-weight: 600; min-height: 1.5em; }
.msg.ok { color: var(--heading); }

/* Mailing list */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.newsletter-form { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr auto; gap: .8rem; align-items: start; }
.newsletter-form .status { grid-column: 1 / -1; text-align: center; }
form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .95rem; color: var(--muted); margin-top: .6rem; cursor: pointer; }
form .check input { width: auto; margin-top: .3rem; accent-color: var(--sage); }
@media (max-width: 700px) {
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form .btn { width: 100%; }
}

/* Wholesale & about */
.wholesale .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.wholesale p { margin-bottom: 1rem; }
.about .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.about .photo { min-height: 380px; }
.about .feature-img { height: 380px; }
.about p { margin-bottom: 1rem; }

/* Private blends */
.private-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem; }
.private-panel p { margin-bottom: 1rem; }
@media (max-width: 860px) {
  .private-panel { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }
}

/* Scroll animations (only when JavaScript is running) */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
html.js .card.reveal.visible { transition: opacity .8s ease, transform .25s ease, box-shadow .25s ease; }

/* Basket drawer */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--bg); z-index: 100; transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; box-shadow: -8px 0 30px rgba(0,0,0,.4); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.8rem; margin: 0; }
.close { background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--heading); line-height: 1; }
#cart-lines { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.line { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.line-name { font-weight: 700; }
.line-sub { font-size: .88rem; color: var(--muted); }
.qty { display: flex; align-items: center; gap: .4rem; margin-top: .4rem; }
.qty button:not(.remove) { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--sage); background: var(--surface); cursor: pointer; font-weight: 700; color: var(--heading); }
.remove { background: none; border: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .85rem; margin-left: .5rem; font-family: inherit; }
.drawer-foot { padding: 1.2rem 1.5rem; border-top: 1px solid var(--line); }
.subtotal { display: flex; justify-content: space-between; font-size: 1.1rem; }
.note { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.empty { color: var(--muted); padding: 2rem 0; text-align: center; }

/* Checkout */
.checkout { padding: 3rem 1.5rem 5rem; }
.checkout h1 { font-size: 2.6rem; margin-bottom: 1.5rem; }
.co-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
fieldset { border: none; display: grid; gap: .5rem; margin-bottom: 1rem; }
legend { font-size: 1.6rem; margin-bottom: .5rem; }
.summary { background: var(--surface); border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 4px 20px rgba(0,0,0,.25); position: sticky; top: 20px; }
.summary h2 { font-size: 1.8rem; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; }
.sum-total { border-top: 1px solid var(--line); margin-top: .6rem; padding-top: .8rem; font-weight: 700; font-size: 1.2rem; color: var(--heading); }
#sumup-card { margin-top: 1rem; }
.thanks { text-align: center; padding: 6rem 1.5rem; display: grid; justify-items: center; gap: 1.2rem; }

/* Delivery options */
.radios { display: grid; gap: .6rem; }
form .radio { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem 1rem; border: 1.5px solid rgba(143,169,143,.5); border-radius: 10px; cursor: pointer; font-weight: 700; margin: 0; }
form .radio input { width: auto; margin-top: .35rem; accent-color: var(--sage); }
form .radio small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
form .radio:has(input:checked) { border-color: var(--sage); background: var(--surface-2); }
.delivery-details { color: var(--muted); font-size: .95rem; }
.delivery-details:empty { display: none; }

/* Payment pop-up */
.pay-modal { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.65); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.pay-box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); width: min(520px, 100%); max-height: 92vh; overflow-y: auto; padding: 1.5rem; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.pay-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .3rem; }
.pay-head h2 { font-size: 1.8rem; margin: 0; }
.pay-total { color: var(--muted); margin-bottom: 1rem; }
.pay-total strong { color: var(--heading); font-size: 1.2rem; }
.pay-secure { font-size: .85rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.pay-status { text-align: center; padding: 2.5rem 1rem 1.5rem; display: grid; justify-items: center; gap: .6rem; }
.pay-status p { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--heading); line-height: 1.2; margin-top: .6rem; }
.pay-status small { font-size: 1rem; color: var(--muted); max-width: 360px; }
.pay-status .btn { margin-top: 1rem; }
.spinner { width: 60px; height: 60px; border: 4px solid var(--surface-2); border-top-color: var(--sage); border-radius: 50%; animation: spin .9s linear infinite; }
.pay-tick { width: 60px; height: 60px; border-radius: 50%; background: var(--forest); border: 2px solid var(--sage); color: var(--white); font-size: 2rem; line-height: 56px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .pay-modal { align-items: flex-end; padding: 0; }
  .pay-box { width: 100%; max-height: 94vh; border-radius: 18px 18px 0 0; }
}

/* Info pages (delivery, returns, privacy) */
.page { padding: 4rem 1.5rem 5rem; max-width: 780px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 1rem; }
.page h2 { font-size: 1.8rem; margin: 2.2rem 0 .6rem; }
.page p, .page li { margin-bottom: .8rem; }
.page ul { padding-left: 1.3rem; }
.page table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.page th, .page td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.page th { background: var(--forest); color: var(--cream); font-weight: 700; }
.updated { color: var(--muted); font-size: .92rem; }

/* Footer */
footer { background: var(--forest); color: var(--cream); padding: 3.5rem 0 2rem; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
footer h3 { color: var(--cream); font-size: 1.3rem; margin-bottom: .6rem; }
footer p { margin-bottom: .6rem; }
footer a { color: var(--sky); text-decoration: none; display: block; margin-bottom: .3rem; }
.small { font-size: .85rem; opacity: .8; border-top: 1px solid rgba(247,245,239,.2); padding-top: 1.5rem; }

/* Gallery page */
.gallery-page { padding: 3rem 1.5rem 5rem; }
.gallery-page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: .5rem; }
.gallery { columns: 3 280px; column-gap: 1.2rem; }
.gallery-item { break-inside: avoid; margin: 0 0 1.2rem; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.gallery-open img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.gallery-item figcaption { font-size: .9rem; color: var(--muted); margin-top: .4rem; }

/* Full-size photo viewer */
.lightbox { border: 0; padding: 0; margin: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox figure { max-width: min(92vw, 1100px); text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: var(--radius); }
.lightbox figcaption { color: var(--cream); margin-top: .6rem; }
.lightbox .close { position: fixed; top: 1rem; right: 1.2rem; color: var(--cream); font-size: 2.6rem; z-index: 2; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.45); border: 1px solid var(--line); color: var(--cream); width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
@media (hover: hover) {
  .gallery-open:hover img { transform: scale(1.03); }
}

/* Journal pages */
.article { max-width: 780px; padding: 3rem 1.5rem 5rem; }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: .4rem 0 1rem; }
.lede { font-size: 1.2rem; color: var(--muted); margin-bottom: 2rem; }
.article-hero { width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2.5rem; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 2rem 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose h2 { font-size: 1.9rem; margin: 2.4rem 0 .8rem; }
.prose h3 { font-size: 1.5rem; margin: 2rem 0 .6rem; }
.prose p, .prose li { margin-bottom: 1rem; font-size: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; height: auto; }
.prose blockquote { border-left: 3px solid var(--sage); padding-left: 1.2rem; margin: 1.5rem 0; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.4rem; color: var(--heading); }
.more { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.more h2 { margin-bottom: 1.5rem; }
.back { margin-top: 3rem; }
.journal-list { padding: 3rem 1.5rem 5rem; }
.journal-list h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: .5rem; }
.post-card { text-decoration: none; color: inherit; }
.read-more { margin-top: auto; color: var(--sky); font-weight: 600; }

/* Workshop and product pages */
.item { padding: 2rem 1.5rem 5rem; }
.item .back { margin: 0 0 1.5rem; }
.item-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.item-img, .item-pic .photo { width: 100%; aspect-ratio: 4 / 3; min-height: 0; object-fit: cover; border-radius: var(--radius); }
.item h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin: .3rem 0 .8rem; }
.item-price { font-size: 1.5rem; font-weight: 700; color: var(--heading); margin: 1rem 0 .5rem; }
.item-price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.item-desc { font-size: 1.1rem; margin: 1rem 0 1.5rem; }
.item-desc p, .ingredients p + p { margin: 0 0 .8rem; }
.item-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }

/* Share buttons */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding-top: 1.5rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.share-label { font-weight: 700; color: var(--heading); margin-right: .3rem; }
.share-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.share-link { display: inline-block; background: var(--surface); border: 1.5px solid rgba(143,169,143,.5); color: var(--heading); padding: .45rem 1rem; border-radius: 999px; font: inherit; font-size: .92rem; font-weight: 700; text-decoration: none; cursor: pointer; }

/* Social links */
.card-link { color: inherit; text-decoration: none; }
.social img { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; margin-right: .45rem; }
.footer-social { display: flex; gap: 1.5rem; margin-bottom: 1rem; }
.footer-social a { display: inline-flex; align-items: center; }
.follow { margin-top: 1.5rem; display: grid; justify-items: center; gap: .8rem; }
.follow-links { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }

/* ==== Hover effects: only on devices with a mouse (stops "sticky" hovers on phones) ==== */
@media (hover: hover) {
  .btn:hover { background: transparent; color: var(--heading); border-color: var(--sage); }
  .btn.light:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
  nav a:hover::after { transform: scaleX(1); }
  .cart-fab:hover { transform: scale(1.06); }
  .tab:hover { background: var(--surface-2); }
  .tab[aria-pressed="true"]:hover { background: var(--forest); }
  .card:hover, html.js .card.reveal.visible:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.4); }
  .card:hover .card-img { transform: scale(1.05); }
  footer a:hover { text-decoration: underline; }
  .card-link:hover { text-decoration: underline; }
  .share-link:hover { background: var(--surface-2); }
}

/* ==== Tablet & mobile ==== */
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav-right { gap: .5rem; }
  .logo { font-size: 1.25rem; }
  nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 60; flex-direction: column; gap: 0; padding: .5rem 1.5rem 1rem; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.35); }
  nav ul.open { display: flex; }
  nav ul a { display: block; padding: .8rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  nav ul li:last-child a { border-bottom: none; }
  nav a::after { display: none; }
  .hero .wrap, .wholesale .wrap, .about .wrap, .ethos .wrap, footer .cols, .co-grid { grid-template-columns: 1fr; }
  .hero .photo { min-height: 280px; }
  .feature-img, .about .feature-img { height: 280px; }
  .summary { position: static; order: -1; }
  section { padding: 3.5rem 0; }
  .cart-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  footer { padding-bottom: 6rem; } /* room for the basket button */
  .item-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ==== Small phones ==== */
@media (max-width: 480px) {
  .logo { gap: .45rem; }
  .logo img { width: 36px; height: 36px; }
  .logo .logo-text { display: flex; flex-direction: column; font-size: 1.15rem; line-height: 1.05; }
  .nav > a:not(.logo) { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .count.bump { animation: none; }
  .sk-img, .sk-line, .sk-btn, .sk-tab { animation: none; }
}