/*
Theme Name: healingunlimited_V1
Theme URI: https://christianscience.org
Version: 1
Date Launched: --
Last Edit: 10-04-2026
Author: Jeremy Ryan Palmer
Author URI: https://plainfieldcs.com
Description: Classic theme for Healing Unlimited (christianscience.org): a Christian Science bookstore on WooCommerce plus a free article library. Based on the approved mockups (old-site/docs/mockups/src/style.css).
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: healingunlimited_V1
*/

/* ==========================================================================
   Contents
   1. Colours and base
   2. Header, menu, footer
   3. Buttons, covers, cards, badges
   4. Home page
   5. Store: main store, category pages, filters, authors
   6. Store item page (generated Store_pages/*.php)
   7. Articles, pages, search, resources
   8. WooCommerce: notices, basket, checkout, account
   9. Responsive: 1024, 768, 480
   10. Print
   ========================================================================== */


/* 1. Colours and base
   ========================================================================== */

:root {
	--ink: #231c2f; --ink-2: #4a4256; --muted: #7a7186;
	--paper: #fbf8f2; --cream: #f4eee2; --card: #ffffff; --line: #e6dfcf;
	--purple: #4a2a78; --purple-2: #6a42a3; --purple-soft: #efe8f7;
	--gold: #c49a3a; --gold-soft: #f5ebcf; --green: #2e6b4d; --green-soft: #e3f1e8; --red: #a33a2c;
	--r: 10px; --shadow: 0 1px 2px rgba(35,28,47,.06), 0 6px 20px rgba(35,28,47,.06);
	--gutter: 32px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', system-ui, sans-serif; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
h1, h2, h3, h4, .serif { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--purple-2); outline-offset: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.lede { font-size: 17px; color: var(--ink-2); max-width: 680px; margin-top: 6px; }
.lede a, .prose a, .inquire-note a, .want-box a, .phone-order a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }
.block { margin-top: 56px; }
.block-sm { margin-top: 32px; }
.site-main { display: block; min-height: 50vh; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: 6px; box-shadow: var(--shadow); }

.crumbs { font-size: 14px; color: var(--muted); padding: 18px 0; }
.crumbs a:hover { color: var(--purple); text-decoration: underline; }
.crumbs b { color: var(--ink); font-weight: 600; }


/* 2. Header, menu, footer
   ========================================================================== */

/* utility bar */
.util { background: var(--purple); color: #e9e1f5; font-size: 13.5px; }
.util .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.util b { color: #fff; font-weight: 600; }
.util .links { display: flex; gap: 22px; align-items: center; }
.util a:hover { color: #fff; text-decoration: underline; }

/* header */
header.site { background: var(--paper); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 32px; height: 84px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo .mark { width: 56px; height: auto; }
.logo .name { display: block; font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600; line-height: 1; color: var(--purple); }
.logo .name i { font-style: italic; color: var(--gold); font-weight: 500; }
.logo small { display: block; font-family: 'Source Sans 3', sans-serif; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.search { flex: 1; display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; height: 46px; padding: 0 5px 0 20px; color: var(--muted); }
.search:focus-within { border-color: var(--purple-2); }
.search-ico { margin-right: 10px; font-size: 15px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; height: 100%; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.search .go { background: var(--purple); color: #fff; border-radius: 999px; padding: 7px 18px; font-weight: 600; font-size: 14px; }
.search .go:hover { background: var(--purple-2); }

.hdr-actions { display: flex; gap: 22px; align-items: center; font-weight: 600; font-size: 15px; }
.cart-pill { background: var(--gold-soft); border: 1px solid #e7d49f; border-radius: 999px; padding: 8px 16px; display: flex; gap: 8px; align-items: center; font-weight: 600; white-space: nowrap; }
.cart-pill:hover { border-color: var(--gold); }
.cart-pill .n { background: var(--purple); color: #fff; border-radius: 999px; font-size: 12px; min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; }

.menu-toggle { display: none; width: 40px; height: 40px; position: relative; flex-shrink: 0; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { position: absolute; left: 9px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; }
.menu-toggle .bars { top: 19px; }
.menu-toggle .bars::before { top: -7px; left: 0; }
.menu-toggle .bars::after { top: 7px; left: 0; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* main menu */
nav.main { background: #fff; border-bottom: 1px solid var(--line); }
nav.main .wrap { display: flex; gap: 30px; height: 50px; align-items: center; font-weight: 600; font-size: 15px; color: var(--ink-2); }
nav.main .menu { display: flex; gap: 30px; align-items: center; height: 100%; }
nav.main .menu li { height: 100%; display: flex; align-items: center; }
nav.main .menu a { display: flex; align-items: center; height: 100%; }
nav.main .menu a:hover { color: var(--purple); }
nav.main a.on, nav.main .current-menu-item > a { color: var(--purple); box-shadow: inset 0 -3px 0 var(--gold); }
nav.main .sp { flex: 1; }
nav.main .free { color: var(--green); font-weight: 600; font-size: 14px; white-space: nowrap; }

/* footer */
footer.site { background: #1f1829; color: #cfc6db; margin-top: 64px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 52px; padding-bottom: 40px; }
footer.site h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
footer.site li { margin: 7px 0; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site .logo .name { color: #fff; font-size: 26px; }
footer.site .logo .name i { display: block; }
.footer-about p { margin-top: 14px; line-height: 1.6; }
footer.site .visit li { line-height: 1.5; }
footer.site .bottom { border-top: 1px solid #372d45; padding: 18px 0; font-size: 13px; color: #9a90a8; }
footer.site .bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pay-line { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* PayPal marks */
.pp { font-family: Verdana, Arial, sans-serif; font-style: italic; font-weight: 800; color: #003087; letter-spacing: -.02em; }
.pp i { color: #009cde; font-style: italic; }
.paymarks { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.paymarks span, .paymarks .pp { background: #fff; color: #1f1829; border-radius: 3px; padding: 1px 6px; font-size: 11px; font-weight: 700; }
.paymarks .pp { color: #003087; }


/* 3. Buttons, covers, cards, badges
   ========================================================================== */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; padding: 12px 22px; font-weight: 600; font-size: 15px; line-height: 1.2; border: 1.5px solid transparent; cursor: pointer; text-align: center; }
.btn.primary { background: var(--purple); color: #fff; }
.btn.primary:hover { background: var(--purple-2); }
.btn.gold { background: var(--gold); color: #241a07; }
.btn.gold:hover { background: #d4ab4c; }
.btn.ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn.ghost:hover, .btn.ghost.on { border-color: var(--purple); background: var(--purple-soft); }
.btn.block { width: 100%; }
.link-btn { color: var(--purple); text-decoration: underline; font-weight: 600; }

/* book cover placeholder (no image) */
.cover { container-type: inline-size; position: relative; aspect-ratio: 2/3; border-radius: 3px 6px 6px 3px; padding: 14% 12%; display: flex; flex-direction: column; justify-content: space-between; color: #fff; overflow: hidden; box-shadow: inset 6px 0 0 rgba(0,0,0,.12), 0 8px 18px rgba(35,28,47,.18); }
.cover::before { content: ""; position: absolute; inset: 7% 8%; border: 1px solid rgba(255,255,255,.35); }
.cover .t { font-family: 'Fraunces', serif; font-weight: 600; font-size: max(7px, 10cqw); line-height: 1.15; position: relative; overflow-wrap: anywhere; }
.cover .a { font-size: max(6px, 5.4cqw); letter-spacing: .12em; text-transform: uppercase; opacity: .85; position: relative; }
.cover .rule { width: 30px; height: 2px; background: var(--gold); position: relative; margin: 8px 0; }
.c1 { background: linear-gradient(160deg,#4a2a78,#2e1a4d); }
.c2 { background: linear-gradient(160deg,#1f4e5f,#12303b); }
.c3 { background: linear-gradient(160deg,#7a2e2a,#4d1b18); }
.c4 { background: linear-gradient(160deg,#2e5a3f,#1b3a28); }
.c5 { background: linear-gradient(160deg,#b98b2e,#7d5a17); }
.c6 { background: linear-gradient(160deg,#27324f,#161d31); }
.c7 { background: linear-gradient(160deg,#6b4a2b,#3f2a17); }
.c8 { background: linear-gradient(160deg,#5b2d5e,#381a3a); }

/* product cards */
.grid { display: grid; gap: 28px; }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; }
.grid.cards.five { grid-template-columns: repeat(5, 1fr); }
.grid.cards.four { grid-template-columns: repeat(4, 1fr); }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pcard .imgbox { background: var(--cream); border-radius: 8px; padding: 18px 26px; position: relative; display: block; }
.pcard .imgbox img.book { width: 100%; aspect-ratio: 2/3; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(35,28,47,.18)); }
.pcard .fmt { align-self: flex-start; }
.pcard .t { font-family: 'Fraunces', serif; font-weight: 600; font-size: 16px; line-height: 1.25; }
.pcard .t a:hover { color: var(--purple); }
.pcard .au { color: var(--muted); font-size: 14px; margin-top: 2px; }
.pcard .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.price { font-weight: 700; font-size: 17px; }
.price small { font-weight: 400; color: var(--muted); font-size: 13px; }
.price.ask { font-weight: 600; font-size: 14px; color: var(--muted); }
.price del, .price s { color: var(--muted); font-weight: 400; font-size: 14px; margin-right: 4px; display: block; }
.price ins { text-decoration: none; }
.add { white-space: nowrap; background: var(--purple); color: #fff; border-radius: 7px; padding: 7px 12px; font-size: 13.5px; font-weight: 600; border: 1.5px solid var(--purple); }
.add:hover { background: var(--purple-2); }
.add.alt { background: #fff; color: var(--purple); }
.add.alt:hover { background: var(--purple-soft); }
.add .add-short { display: none; }
.tag { z-index: 3; position: absolute; top: 10px; left: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 4px; padding: 3px 8px; }
.tag.rare { background: var(--gold); color: #241a07; }
.tag.new { background: var(--green); color: #fff; }
.tag.sale { background: var(--red); color: #fff; }
.tag.out { background: var(--ink-2); color: #fff; }
.fmt { display: inline-block; font-size: 12px; font-weight: 600; color: var(--purple); background: var(--purple-soft); border-radius: 4px; padding: 2px 8px; }
a.fmt:hover { background: #e2d6f2; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: 32px; margin-top: 6px; }
.section-head .more { color: var(--purple); font-weight: 600; white-space: nowrap; }
.section-head .more:hover { text-decoration: underline; }
.section-title { font-size: 24px; margin-bottom: 16px; }


/* 4. Home page
   ========================================================================== */

.hero { background: linear-gradient(180deg, var(--cream), var(--paper)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero-title { font-size: 54px; line-height: 1.06; margin: 14px 0 18px; color: var(--purple); }
.hero .lede { font-size: 19px; max-width: 540px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 28px; margin-top: 34px; color: var(--ink-2); font-size: 15px; flex-wrap: wrap; }
.hero-art { position: relative; height: 420px; }
.hero-book { position: absolute; display: block; }
.hero-book img { width: 100%; height: auto; box-shadow: 0 10px 24px rgba(35,28,47,.22); border-radius: 3px; }
.hero-book.b1 { left: 10px; top: 40px; width: 190px; transform: rotate(-6deg); }
.hero-book.b2 { left: 170px; top: 0; width: 220px; z-index: 2; }
.hero-book.b3 { left: 350px; top: 50px; width: 190px; transform: rotate(6deg); }
.rare-find { position: absolute; right: 0; bottom: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; box-shadow: var(--shadow); z-index: 3; font-size: 14px; max-width: 280px; display: flex; flex-direction: column; }
.rare-find b { font-size: 16px; }
.rare-find .rare-note { color: var(--gold); font-weight: 700; }
.rare-find:hover { border-color: var(--gold); }

.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 8px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.tile:hover { border-color: var(--purple); box-shadow: var(--shadow); }
.tile-ico { font-size: 26px; }
.tile-name { font-size: 16px; margin-top: 6px; line-height: 1.3; }
.tile-sub { color: var(--muted); font-size: 13px; }

.promos { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; }
.promo { border-radius: 14px; padding: 30px; }
.promo h3 { font-size: 23px; margin: 8px 0; }
.promo p { color: var(--ink-2); }
.promo .btn { margin-top: 16px; }
.promo-purple { background: var(--purple); color: #fff; padding: 34px; }
.promo-purple h3 { font-size: 28px; margin: 8px 0 10px; }
.promo-purple p { color: #ddd2ee; }
.promo-purple .btn { margin-top: 20px; }
.promo-gold { background: var(--gold-soft); }
.promo-gold .eyebrow { color: #8a6a1e; }
.promo-plain { background: #fff; border: 1px solid var(--line); }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-row .btn { margin-top: 16px; }


/* 5. Store: main store, category pages, filters, authors
   ========================================================================== */

.cat-head { margin-bottom: 26px; }
.page-title { font-size: 40px; line-height: 1.1; color: var(--purple); }
.cat-head .lede p + p { margin-top: 10px; }

.jump, .subcats, .author-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.jump .fmt, .subcats .fmt, .author-chips .fmt { font-size: 14px; padding: 7px 12px; }
.author-chips .muted { font-weight: 400; margin-left: 4px; }

.store-section { margin-top: 48px; scroll-margin-top: 16px; }
.store-section .section-head h2 { font-size: 28px; }
.store-section .section-head p { margin-top: 4px; }
.subject-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.subject { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.subject:hover { border-color: var(--purple); }
.subject .n, .cat-card .n { color: var(--muted); font-size: 13px; }

.want-box { background: var(--gold-soft); border-radius: 10px; padding: 16px; margin-top: 22px; font-size: 14.5px; }
.want-box b { display: block; font-size: 16px; margin-bottom: 2px; }
.want-box.wide { margin-top: 48px; padding: 20px 24px; font-size: 16px; }

.cat-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.filter-group { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.fg-title { font-weight: 700; margin-bottom: 8px; }
.fchk { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 15px; cursor: pointer; }
.fchk input { width: 16px; height: 16px; accent-color: var(--purple); flex-shrink: 0; }
.fchk .nm { flex: 1; }
.fchk .n { color: var(--muted); }
.fchk.extra { display: none; }
.filter-group.all .fchk.extra { display: flex; }
.fg-more { color: var(--purple); font-weight: 600; font-size: 14px; margin-top: 4px; }
.no-js .filter-group, .no-js .bar-tools { display: none; }

.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 15px; flex-wrap: wrap; }
.showing-wrap { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.showing { color: var(--muted); }
.chip { cursor: pointer; border: 0; }
.bar-tools { display: flex; gap: 10px; align-items: center; }
.sort { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.sort select { border: 1.5px solid var(--line); border-radius: 8px; background: #fff; padding: 7px 12px; color: var(--ink); font-weight: 600; }
.filter-toggle { display: none; padding: 7px 14px; }
.show-more { text-align: center; margin-top: 34px; }
.show-more .btn { padding: 11px 28px; }
.none { margin-top: 20px; color: var(--ink-2); }
.empty-note { margin: 10px 0 40px; }

/* authors A–Z */
.az { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 28px; position: sticky; top: 0; background: var(--paper); padding: 10px 0; z-index: 5; border-bottom: 1px solid var(--line); }
.az a, .az span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; font-weight: 600; }
.az a { color: var(--purple); background: var(--purple-soft); }
.az a:hover { background: var(--purple); color: #fff; }
.az span { color: #c8c0d2; }
.az-list { columns: 3 280px; column-gap: 40px; }
.az-group { break-inside: avoid; margin-bottom: 26px; scroll-margin-top: 70px; }
.az-group h2 { font-size: 26px; color: var(--purple); border-bottom: 2px solid var(--gold); margin-bottom: 8px; display: inline-block; padding-right: 10px; }
.az-group li { padding: 4px 0; display: flex; justify-content: space-between; gap: 10px; }
.az-group a { color: var(--ink); font-weight: 600; }
.az-group a:hover { color: var(--purple); text-decoration: underline; }
.az-group .n { color: var(--muted); font-size: 14px; white-space: nowrap; }


/* 6. Store item page (generated Store_pages/*.php)
   ========================================================================== */

.product { display: grid; grid-template-columns: 520px 1fr; gap: 64px; align-items: start; }
.gallery-main { background: var(--cream); border-radius: 14px; padding: 48px 110px; }
.gallery-main img { width: 100%; height: auto; margin: 0 auto; box-shadow: 0 10px 24px rgba(35,28,47,.2); border-radius: 3px; }
.thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.thumb { width: 78px; background: var(--cream); border-radius: 8px; padding: 10px 14px; display: block; }
.thumb img { width: 100%; aspect-ratio: 2/3; object-fit: contain; }
.thumb.on { outline: 2px solid var(--purple); }

.product-buy .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.product-buy h1 { font-size: 40px; line-height: 1.1; margin: 14px 0 8px; }
.product-buy .byline { font-size: 18px; color: var(--ink-2); }
.product-buy .byline a { text-decoration: underline; text-underline-offset: 3px; }
.product-buy .byline a:hover { color: var(--purple); }
.product-buy h2 { font-size: 22px; margin: 30px 0 10px; }
.product-buy .description { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.product-buy .description p + p, .product-buy .description ul, .product-buy .description ol { margin-top: 12px; }
.product-buy .description ul { list-style: disc; padding-left: 22px; }
.product-buy .description ol { list-style: decimal; padding-left: 22px; }
.product-buy .description a { color: var(--purple); text-decoration: underline; }
.product-buy .description.folded { max-height: 290px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.read-more { color: var(--purple); font-weight: 600; margin-top: 8px; }

.buybox { margin-top: 22px; }
.price-line { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 4px; }
.big-price { font-size: 34px; font-weight: 700; line-height: 1.2; }
.big-price del { color: var(--muted); font-weight: 400; font-size: 22px; margin-right: 8px; }
.big-price ins { text-decoration: none; }
.stock { font-weight: 600; }
.stock.in { color: var(--green); }
.stock.out { color: var(--red); }
.stock.ask { color: var(--gold); }
.paylater { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.ship-note { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

.editions { border: 0; margin: 22px 0 0; }
.editions legend { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.ed-list { display: flex; gap: 10px; flex-wrap: wrap; }
.ed { position: relative; cursor: pointer; }
.ed input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ed input:checked + .btn { border-color: var(--purple); background: var(--purple-soft); }
.ed input:focus-visible + .btn { outline: 2px solid var(--purple-2); outline-offset: 2px; }
.ed.is-out { cursor: default; }
.ed.is-out .btn { color: var(--muted); }
.ed.is-out .btn:hover { border-color: var(--line); background: #fff; }

.buy-row { display: flex; gap: 12px; margin-top: 24px; }
.buy-row .add-btn { flex: 1; }
.btn-price { display: none; }
.qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; }
.qty-stepper button { padding: 12px 16px; font-size: 16px; display: none; }
.js .qty-stepper button { display: block; }
.qty-stepper input { width: 52px; border: 0; text-align: center; font-weight: 700; background: transparent; -moz-appearance: textfield; appearance: textfield; padding: 12px 0; }
.js .qty-stepper input { width: 30px; }
.qty-stepper input::-webkit-outer-spin-button, .js .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.inquire-note { font-size: 14px; color: var(--muted); margin-top: 10px; }

dl.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); border: 1px solid var(--line); border-radius: 10px; margin-top: 22px; background: #fff; overflow: hidden; }
dl.facts > div { padding: 14px 16px; border-right: 1px solid var(--line); }
dl.facts > div:last-child { border-right: 0; }
dl.facts dt { color: var(--muted); font-size: 13px; }
dl.facts dd { font-weight: 700; }

.more-by { margin-top: 64px; }
.more-by h2 { font-size: 28px; }

/* hide any "price per unit" line a plugin may add */
.price-unit, .wc-gzd-additional-info, .woocommerce-unit-price { display: none !important; }


/* 7. Articles, pages, search, resources
   ========================================================================== */

.prose { max-width: 760px; }
.prose .page-title { margin-bottom: 20px; }
.prose .tags { margin-bottom: 10px; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose table, .prose figure, .prose pre { margin-bottom: 16px; }
.article-body, .prose > p { font-size: 17.5px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-size: 26px; margin: 32px 0 12px; color: var(--ink); }
.prose h3 { font-size: 21px; margin: 26px 0 10px; color: var(--ink); }
.prose h4 { font-size: 18px; margin: 22px 0 8px; }
.prose ul { list-style: disc; padding-left: 24px; }
.prose ol { list-style: decimal; padding-left: 24px; }
.prose li { margin: 4px 0; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 18px; font-style: italic; color: var(--ink-2); }
.prose img { border-radius: 6px; height: auto; }
.prose .alignleft { float: left; margin: 4px 20px 12px 0; }
.prose .alignright { float: right; margin: 4px 0 12px 20px; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose table { border-collapse: collapse; width: 100%; background: #fff; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.prose input[type="text"], .prose input[type="email"], .prose input[type="tel"], .prose input[type="number"], .prose textarea, .prose select { border: 1.5px solid var(--line); border-radius: 6px; background: #fff; padding: 10px 12px; width: 100%; max-width: 520px; }
.prose input[type="submit"], .prose button[type="submit"] { background: var(--purple); color: #fff; border: 0; border-radius: 8px; padding: 12px 22px; font-weight: 600; cursor: pointer; }
.article-image { margin: 0 0 24px; }
.article-tools { display: flex; gap: 22px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.article-tools a { color: var(--purple); font-weight: 600; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; font-weight: 600; color: var(--purple); }
.article-nav .next { text-align: right; margin-left: auto; }
.inquire-box { background: var(--gold-soft); border-radius: 10px; padding: 14px 18px; margin-bottom: 22px; }

.post-list { display: grid; gap: 14px; max-width: 860px; }
.post-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.post-item h2 { font-size: 21px; margin: 4px 0 6px; line-height: 1.25; }
.post-item h2 a:hover { color: var(--purple); }
.post-item p { color: var(--ink-2); }
.post-item .more { display: inline-block; margin-top: 8px; color: var(--purple); font-weight: 600; font-size: 14.5px; }

.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font-weight: 600; }
.pagination .page-numbers.current { background: var(--purple); color: #fff; border-color: var(--purple); }
.pagination a.page-numbers:hover { border-color: var(--purple); }

.search-again { max-width: 620px; margin-top: 16px; }
.notfound { margin: 40px 0; }
.notfound .search { margin: 24px 0; max-width: 620px; }
.link-list li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.link-list a { color: var(--purple); font-weight: 600; }
.link-list a:hover { text-decoration: underline; }

.resources-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.cat-card:hover { border-color: var(--purple); box-shadow: var(--shadow); }
.cat-card .serif { font-size: 18px; color: var(--purple); }
.cat-card .desc { color: var(--ink-2); font-size: 14px; }


/* 8. WooCommerce: notices, basket, checkout, account
   ========================================================================== */

.wc-page .page-title { color: var(--ink); margin: 36px 0 18px; }
.hu-notices { padding-top: 18px; }

/* notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { list-style: none; border-top: 3px solid var(--purple); background: #fff; padding: 14px 18px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 15px; box-shadow: var(--shadow); }
.woocommerce-message { border-top-color: var(--green); }
.woocommerce-message::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: -8px; }
.woocommerce-error { border-top-color: var(--red); display: block; }
.woocommerce-error li { margin: 2px 0; }
.woocommerce-info { color: var(--ink-2); }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a { color: var(--purple); text-decoration: underline; }
.woocommerce-notices-wrapper:empty { display: none; }

/* WooCommerce buttons and fields */
.woocommerce .button, .woocommerce button.button, .woocommerce input.button, .woocommerce a.button, .woocommerce-page .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; padding: 11px 20px; font-weight: 600; font-size: 15px; line-height: 1.2; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-align: center; }
.woocommerce .button:hover { border-color: var(--purple); background: var(--purple-soft); }
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce a.checkout-button, .woocommerce #place_order { background: var(--purple); color: #fff; border-color: var(--purple); }
.woocommerce .button.alt:hover, .woocommerce a.checkout-button:hover, .woocommerce #place_order:hover { background: var(--purple-2); border-color: var(--purple-2); }
.woocommerce .button:disabled, .woocommerce .button[disabled] { opacity: .55; cursor: default; }
.woocommerce input.input-text, .woocommerce textarea, .woocommerce select, .woocommerce .select2-container .select2-selection, .woocommerce-page input.input-text { border: 1.5px solid var(--line); border-radius: 6px; background: #fff; padding: 11px 13px; width: 100%; min-height: 46px; color: var(--ink); }
.woocommerce input.input-text:focus, .woocommerce textarea:focus, .woocommerce select:focus { border-color: var(--purple-2); outline: none; }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 22px; padding: 0; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { top: 10px; right: 8px; }
.woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row label { font-size: 14px; font-weight: 600; margin-bottom: 5px; display: block; }
.woocommerce form .form-row .required { color: var(--red); text-decoration: none; }
.woocommerce form .form-row .optional { color: var(--muted); font-weight: 400; }
.woocommerce form .form-row label.checkbox, .woocommerce form .form-row .woocommerce-form__label-for-checkbox { display: flex; gap: 8px; align-items: center; font-weight: 400; font-size: 15px; }
.woocommerce input[type="checkbox"], .woocommerce input[type="radio"] { accent-color: var(--purple); width: 16px; height: 16px; }

/* basket: two columns (items + donation | totals) */
.woocommerce-cart .wc-page .woocommerce { display: grid; grid-template-columns: 1fr 420px; column-gap: 44px; align-items: start; }
.woocommerce-cart .wc-page .woocommerce > * { grid-column: 1 / -1; }
.woocommerce-cart .wc-page .woocommerce > .woocommerce-cart-form { grid-column: 1; }
.woocommerce-cart .wc-page .woocommerce > .cart-collaterals { grid-column: 2; grid-row: span 2; width: auto; }
.woocommerce-cart .wc-page .woocommerce > .hu-donate { grid-column: 1; }

.fsbar { background: var(--gold-soft); border-radius: 10px; padding: 14px 18px; color: var(--ink); margin: 4px 0 22px; }
.fsbar .bar { height: 6px; background: #eadbb0; border-radius: 6px; margin-top: 10px; overflow: hidden; }
.fsbar .bar div { height: 6px; background: var(--gold); border-radius: 6px; }
.fsbar.ok { background: var(--green-soft); color: var(--green); }
.fsbar.ok .bar { background: #c8e2d2; }
.fsbar.ok .bar div { background: var(--green); }

table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 15.5px; }
table.shop_table th { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); font-weight: 600; }
table.shop_table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.shop_table tr:last-child td { border-bottom: 0; }
table.cart .product-remove { width: 40px; }
table.cart a.remove { color: var(--red) !important; font-size: 20px; width: 26px; height: 26px; border: 1.5px solid currentColor; border-radius: 50%; display: grid; place-items: center; line-height: 1; }
table.cart a.remove:hover { background: var(--red); color: #fff !important; }
table.cart .product-thumbnail { width: 76px; }
table.cart .product-thumbnail img { width: 52px; height: auto; box-shadow: 0 4px 10px rgba(35,28,47,.18); border-radius: 2px; }
table.cart .product-name a { font-family: 'Fraunces', serif; font-weight: 600; color: var(--purple); font-size: 16.5px; }
table.cart .product-name dl.variation { color: var(--muted); font-size: 14px; margin-top: 2px; display: flex; gap: 4px; }
table.cart .product-name dl.variation dd p { margin: 0; }
table.cart .product-subtotal { font-weight: 700; }
table.cart .quantity .qty { width: 64px; text-align: center; border: 1.5px solid var(--line); border-radius: 6px; padding: 8px 4px; background: #fff; }
table.cart td.actions { padding: 16px 0 0; background: var(--paper); }
table.cart td.actions .coupon { display: flex; gap: 8px; float: left; }
table.cart td.actions .coupon .input-text { width: 220px; }
table.cart td.actions > .button { float: right; }
table.cart td.actions::after { content: ""; display: block; clear: both; }
.woocommerce-cart-form table.shop_table { border-bottom-left-radius: 10px; }
.woocommerce-cart-form tr:has(td.actions) td { border-bottom: 0; }

.cart-collaterals .cart_totals, .wc-totals { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); width: 100% !important; float: none !important; }
.cart_totals h2 { font-size: 22px; margin-bottom: 12px; }
.cart_totals table.shop_table { border: 0; border-radius: 0; font-size: 15.5px; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 400; font-size: 15.5px; }
.cart_totals table.shop_table td { text-align: right; }
.cart_totals table.shop_table .order-total th, .cart_totals table.shop_table .order-total td { font-size: 20px; font-weight: 700; border-bottom: 0; }
#shipping_method { list-style: none; }
#shipping_method li { margin: 2px 0; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 13.5px; color: var(--muted); }
.shipping-calculator-button { color: var(--purple); text-decoration: underline; }
.wc-proceed-to-checkout { padding-top: 12px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; padding: 15px; font-size: 16px; }
.phone-order { color: var(--muted); font-size: 13.5px; text-align: center; margin-top: 14px; }
.cross-sells { margin-top: 24px; }

.hu-donate { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.hu-donate b.serif { font-size: 18px; }
.donate-amounts { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.donate-amounts > .btn { padding: 11px 20px; }
.donate-other summary { list-style: none; padding: 11px 20px; }
.donate-other summary::-webkit-details-marker { display: none; }
.donate-other[open] summary { border-color: var(--purple); background: var(--purple-soft); }
.donate-other form { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.donate-other label { display: flex; align-items: center; gap: 4px; font-weight: 600; }
.donate-other input { width: 100px; border: 1.5px solid var(--line); border-radius: 6px; padding: 9px 10px; background: #fff; }
.donate-other .btn { padding: 10px 16px; }
.hu-donate-page { justify-content: flex-start; }

.cart-empty { font-size: 18px; }
.return-to-shop { margin-top: 16px; }

/* checkout: two columns (details | your order) */
.woocommerce-checkout .wc-page form.checkout { display: grid; grid-template-columns: 1fr 470px; column-gap: 48px; align-items: start; margin-top: 22px; }
.woocommerce-checkout form.checkout > * { grid-column: 1; }
.woocommerce-checkout form.checkout #order_review_heading, .woocommerce-checkout form.checkout #order_review { grid-column: 2; }
.woocommerce-checkout form.checkout #customer_details { grid-row: 1 / span 3; }
.woocommerce-checkout form.checkout #order_review_heading { grid-row: 1; background: var(--cream); border-radius: 14px 14px 0 0; padding: 24px 24px 12px; font-size: 24px; }
.woocommerce-checkout form.checkout #order_review { grid-row: 2; background: var(--cream); border-radius: 0 0 14px 14px; padding: 0 24px 24px; }
.col2-set .col-1, .col2-set .col-2 { width: 100% !important; float: none !important; }
.col2-set .col-2 { margin-top: 12px; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 { font-size: 24px; margin-bottom: 16px; }
#ship-to-different-address { font-size: 20px; margin: 18px 0 10px; }
#ship-to-different-address label { display: flex; gap: 8px; align-items: center; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.woocommerce-billing-fields__field-wrapper > .form-row, .woocommerce-shipping-fields__field-wrapper > .form-row { grid-column: span 2; width: auto !important; float: none !important; }
.woocommerce-billing-fields__field-wrapper > .form-row-first, .woocommerce-billing-fields__field-wrapper > .form-row-last,
.woocommerce-shipping-fields__field-wrapper > .form-row-first, .woocommerce-shipping-fields__field-wrapper > .form-row-last { grid-column: span 1; }
.woocommerce-checkout-review-order-table { background: transparent !important; border: 0 !important; border-radius: 0 !important; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 12px 0 !important; font-size: 15px; color: var(--ink) !important; }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table th:last-child { text-align: right; }
.woocommerce-checkout-review-order-table thead th { color: var(--muted) !important; font-size: 14px; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 20px; font-weight: 700; }
.woocommerce-checkout-review-order-table tr td, .woocommerce-checkout-review-order-table tr th { border-bottom: 1px solid var(--line) !important; }
.woocommerce-checkout-review-order-table .product-quantity { font-weight: 700; }
#payment { background: #fff; border-radius: 10px; padding: 16px; margin-top: 16px; }
#payment ul.payment_methods { list-style: none; }
#payment ul.payment_methods > li { border-bottom: 1px solid var(--line); padding: 12px 4px; font-size: 15px; }
#payment ul.payment_methods > li > label { font-weight: 700; display: inline; }
#payment ul.payment_methods > li img { display: inline-block; vertical-align: middle; max-height: 24px; margin-left: 6px; }
#payment .payment_box { background: var(--purple-soft); border-radius: 6px; padding: 10px 12px; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
#payment .place-order { padding-top: 14px; }
#payment .woocommerce-privacy-policy-text { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
#payment .woocommerce-privacy-policy-text a { color: var(--purple); text-decoration: underline; }
#place_order { width: 100%; padding: 15px; font-size: 16px; }
.woocommerce-form-login-toggle .woocommerce-info, .woocommerce-form-coupon-toggle .woocommerce-info { display: block; }
form.checkout_coupon, form.woocommerce-form-login { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-bottom: 16px; }

/* order received */
.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; margin: 18px 0 28px; }
.woocommerce-order-overview li { padding: 14px 18px; border-right: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.woocommerce-order-overview li strong { display: block; color: var(--ink); font-size: 15px; }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 28px; }
.woocommerce-order-details h2, .woocommerce-customer-details h2, .woocommerce-column__title { font-size: 22px; margin-bottom: 12px; }
.woocommerce-customer-details address { font-style: normal; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }

/* my account */
.woocommerce-account .wc-page .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.woocommerce-account .wc-page .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { width: auto !important; float: none !important; }
.woocommerce-MyAccount-navigation ul { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 11px 16px; border-bottom: 1px solid var(--line); font-weight: 600; }
.woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: var(--purple-soft); color: var(--purple); }
.woocommerce-MyAccount-content p { margin-bottom: 12px; }
.woocommerce-MyAccount-content a:not(.button) { color: var(--purple); text-decoration: underline; }
.woocommerce-account:not(.logged-in) .wc-page .woocommerce { display: block; max-width: 900px; }
.u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.woocommerce-form-login, .woocommerce-form-register { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }


/* 9. Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	:root { --gutter: 24px; }
	header.site .wrap { gap: 20px; }
	.logo small { display: none; }
	.util .util-hours { display: none; }
	nav.main .wrap, nav.main .menu { gap: 20px; }
	nav.main .wrap { font-size: 14.5px; }

	.hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.hero-title { font-size: 42px; }
	.hero-art { height: 360px; transform: scale(.82); transform-origin: left center; }
	.tiles { grid-template-columns: repeat(3, 1fr); }
	.grid.cards.five { grid-template-columns: repeat(4, 1fr); }
	.grid.cards.five > :nth-child(5) { display: none; }
	.grid.cards.four { grid-template-columns: repeat(3, 1fr); }
	.promos { grid-template-columns: 1fr 1fr; }
	.promo-purple { grid-column: 1 / -1; }

	.product { grid-template-columns: 1fr 1fr; gap: 40px; }
	.gallery-main { padding: 32px 15%; }
	.cat-layout { grid-template-columns: 210px 1fr; gap: 28px; }
	.footer-grid { grid-template-columns: 1fr 1fr 1fr; }
	.footer-about { grid-column: 1 / -1; }

	.woocommerce-cart .wc-page .woocommerce { grid-template-columns: 1fr 340px; column-gap: 28px; }
	.woocommerce-checkout .wc-page form.checkout { grid-template-columns: 1fr 380px; column-gap: 28px; }
	.resources-layout { grid-template-columns: 1fr 260px; gap: 32px; }
}

@media (max-width: 768px) {
	:root { --gutter: 18px; }

	/* header: ☰ logo basket, then the search on its own row */
	.util .util-msg, .util .util-link { display: none; }
	.util .wrap { justify-content: center; }
	header.site .wrap { height: auto; flex-wrap: wrap; gap: 10px 12px; padding-top: 10px; padding-bottom: 12px; }
	.menu-toggle { display: block; margin-left: -8px; }
	.logo { flex: 1; justify-content: center; gap: 8px; }
	.logo .mark { width: 40px; }
	.logo .name { font-size: 20px; }
	.cart-pill { padding: 5px 10px; }
	.cart-pill .cart-word { display: none; }
	header.site .search { order: 3; flex-basis: 100%; height: 42px; font-size: 14px; }
	.search .go { padding: 6px 14px; }

	nav.main { display: none; }
	nav.main.open { display: block; }
	nav.main .wrap { flex-direction: column; align-items: stretch; height: auto; gap: 0; padding-top: 6px; padding-bottom: 10px; }
	nav.main .menu { flex-direction: column; align-items: stretch; gap: 0; }
	nav.main .menu li { height: auto; }
	nav.main .menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
	nav.main a.on { box-shadow: inset 3px 0 0 var(--gold); padding-left: 12px !important; }
	nav.main .sp { display: none; }
	nav.main .free { padding: 12px 0; }

	/* home: purple hero card, subject chips */
	.hero { background: none; }
	.hero-grid { display: block; padding-top: 16px; padding-bottom: 0; }
	.hero-text { background: linear-gradient(160deg, var(--purple), #2e1a4d); color: #fff; border-radius: 16px; padding: 22px; }
	.hero-title { font-size: 25px; line-height: 1.15; margin: 8px 0 14px; color: #fff; }
	.hero .lede { display: none; }
	.hero-ctas { margin-top: 0; }
	.hero-ctas .btn.primary { background: var(--gold); color: #241a07; padding: 9px 16px; }
	.hero-ctas .btn.ghost { display: none; }
	.hero-points { display: none; }
	.hero-art { display: none; }
	.tiles { display: flex; gap: 8px; overflow-x: auto; margin-top: 16px; padding-bottom: 4px; scrollbar-width: none; }
	.tiles::-webkit-scrollbar { display: none; }
	.tile { flex-shrink: 0; padding: 7px 12px; border: 0; background: var(--purple-soft); color: var(--purple); border-radius: 4px; }
	.tile-ico, .tile-sub { display: none; }
	.tile-name { font-family: 'Source Sans 3', sans-serif; font-size: 13px; font-weight: 600; margin: 0; white-space: nowrap; }
	.block { margin-top: 32px; }
	.section-head h2 { font-size: 22px; }
	.section-head .eyebrow { display: none; }
	.promos { grid-template-columns: 1fr; }
	.promo, .promo-purple { padding: 24px; }

	/* cards */
	.grid.cards, .grid.cards.five, .grid.cards.four { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
	.grid.cards.five > :nth-child(5) { display: flex; }
	.pcard { padding: 10px; gap: 8px; }
	.pcard .imgbox { padding: 10px 16px; }
	.pcard .t { font-size: 14px; }
	.pcard .au { font-size: 13px; }
	.price { font-size: 15px; }
	.add { padding: 5px 9px; }
	.add .add-long { display: none; }
	.add .add-short { display: inline; }
	.add.alt { font-size: 12.5px; }

	/* store pages */
	.page-title, .product-buy h1 { font-size: 28px; }
	.cat-layout { grid-template-columns: 1fr; }
	.filters { display: none; order: 2; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
	.filters.open { display: block; }
	.filters .want-box { display: none; }
	.results-bar { margin-top: 4px; }
	.js .filter-toggle { display: inline-flex; }
	.sort span { display: none; }
	.cat-layout { display: flex; flex-direction: column; }
	.cat-layout .results { order: 3; }
	.subcats, .jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.subcats .fmt, .jump .fmt { white-space: nowrap; }
	.az-list { columns: 1; }

	/* store item page, with the sticky Add to basket bar (mockup 06) */
	.crumbs { padding: 12px 0; font-size: 13px; }
	.product { grid-template-columns: 1fr; gap: 16px; }
	.gallery-main { padding: 22px 25%; }
	.thumbs { justify-content: center; }
	.product-buy .tags { display: none; }
	.product-buy h1 { font-size: 24px; line-height: 1.15; margin-top: 4px; }
	.product-buy .byline { font-size: 16px; }
	.price-line { justify-content: space-between; }
	.big-price { font-size: 26px; }
	.editions { margin-top: 14px; }
	.ed .btn { padding: 8px 12px; font-size: 14px; }
	.hu-store-item .buy-row { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; margin: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 18px rgba(35,28,47,.08); }
	.hu-store-item .btn-price { display: inline; }
	.hu-store-item footer.site { padding-bottom: 80px; }
	.product-buy .description { font-size: 15.5px; }
	.more-by { margin-top: 40px; }
	.more-by h2 { font-size: 22px; }

	/* articles */
	.article-body, .prose > p { font-size: 16.5px; }
	.resources-layout { grid-template-columns: 1fr; }

	/* footer */
	footer.site { margin-top: 48px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 36px; }

	/* basket (mockup 06, right): stacked items, totals below */
	.woocommerce-cart .wc-page .woocommerce { display: block; }
	.wc-page .page-title { font-size: 26px; margin: 18px 0 12px; }
	table.cart thead { display: none; }
	table.cart, table.cart tbody, table.cart tr, table.cart td { display: block; width: 100%; }
	.cart_totals table.shop_table td::before { display: none !important; }
	table.cart { background: transparent; border: 0; }
	table.cart tr.cart_item { display: grid; grid-template-columns: 64px 1fr auto; grid-template-areas: "img name name" "img qty total" "img rm rm"; column-gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
	table.cart tr.cart_item td { border: 0; padding: 0; text-align: left !important; }
	table.cart tr.cart_item td::before { display: none !important; }
	table.cart .product-thumbnail { grid-area: img; display: block !important; width: auto; }
	table.cart .product-thumbnail img { width: 56px; }
	table.cart .product-name { grid-area: name; }
	table.cart .product-name a { font-family: 'Source Sans 3', sans-serif; font-weight: 700; color: var(--ink); font-size: 15px; }
	table.cart .product-price { display: none !important; }
	table.cart .product-quantity { grid-area: qty; margin-top: 8px; }
	table.cart .product-subtotal { grid-area: total; margin-top: 8px; align-self: center; text-align: right !important; }
	table.cart .product-remove { grid-area: rm; margin-top: 4px; }
	table.cart a.remove { width: auto; height: auto; border: 0; font-size: 0; color: var(--muted) !important; display: inline; }
	table.cart a.remove::after { content: "ⓧ Remove"; font-size: 13px; white-space: nowrap; }
	table.cart a.remove:hover { background: none; color: var(--red) !important; }
	table.cart td.actions .coupon { float: none; margin-bottom: 10px; }
	table.cart td.actions .coupon .input-text { width: auto; flex: 1; }
	table.cart td.actions > .button { float: none; width: 100%; }
	.cart-collaterals { margin-top: 18px; }
	.hu-donate { flex-direction: column; align-items: flex-start; }
	.cart-collaterals .cart_totals { padding: 18px; }
	.woocommerce-message, .woocommerce-info { flex-direction: column; align-items: stretch; gap: 10px; }
	.woocommerce-message::before { display: none; }
	.woocommerce-message .button, .woocommerce-info .button { margin: 0; }

	/* checkout */
	.woocommerce-checkout .wc-page form.checkout { display: block; }
	.woocommerce-checkout form.checkout #order_review_heading { margin-top: 24px; }
	.woocommerce-account .wc-page .woocommerce { grid-template-columns: 1fr; gap: 20px; }
	.u-columns.col2-set { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
	:root { --gutter: 16px; }
	.grid.cards, .grid.cards.five, .grid.cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.page-title { font-size: 26px; }
	.section-head { flex-wrap: wrap; align-items: baseline; }
	.section-head .more { font-size: 14px; }
	.gallery-main { padding: 22px 22%; }
	.ed-list { gap: 8px; }
	.buy-row .qty-stepper button { padding: 10px 12px; }
	dl.facts { grid-template-columns: 1fr 1fr; }
	dl.facts > div { border-bottom: 1px solid var(--line); }
	.footer-grid { grid-template-columns: 1fr; }
	footer.site .bottom .wrap { flex-direction: column; }
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
	.woocommerce-billing-fields__field-wrapper > .form-row-first, .woocommerce-billing-fields__field-wrapper > .form-row-last,
	.woocommerce-shipping-fields__field-wrapper > .form-row-first, .woocommerce-shipping-fields__field-wrapper > .form-row-last { grid-column: span 1; }
	.woocommerce-checkout form.checkout #order_review_heading, .woocommerce-checkout form.checkout #order_review { padding-left: 16px; padding-right: 16px; }
	.hu-donate .donate-amounts > .btn, .donate-other summary { padding: 10px 14px; }
	.az a, .az span { width: 30px; height: 30px; }
}


/* 10. Print
   ========================================================================== */

@media print {
	.util, header.site, nav.main, footer.site, .no-print, .crumbs, .article-nav { display: none !important; }
	body { background: #fff; }
	.prose { max-width: none; }
}
