/* =========================================================================
   Site styles. Colours are set once here, so they're easy to change.
   ========================================================================= */
:root {
  --green-900: #1f3d2b;
  --green-700: #2e5e3e;
  --green-600: #3b7350;
  --green-100: #e5efe6;
  --green-50:  #f1f6f1;
  --wood:      #8b5a2b;
  --wood-100:  #f3e8d8;
  --cream:     #fbf8f2;
  --paper:     #ffffff;
  --ink:       #1e1e1c;
  --muted:     #57594f;
  --line:      #ddd5c6;
  --gold:      #c77d14;
  --error:     #a8321e;
  --error-bg:  #fbeae6;
  --info-bg:   #eef3f8;
  --info:      #24486b;
  --focus:     #f2b01e;
  --radius:    12px;
  --shadow:    0 1px 2px rgba(40, 30, 10, .06), 0 6px 18px rgba(40, 30, 10, .06);
  --serif:     Georgia, Cambria, "Times New Roman", serif;
  --sans:      system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); line-height: 1.6; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: .15em; }
a:hover { color: var(--green-900); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--green-900); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green-100); }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.narrow-wide { max-width: 900px; }
.page-pad { padding-top: 32px; padding-bottom: 56px; }
.lead { font-size: 1.15rem; color: #34362f; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--paper); padding: 10px 16px; z-index: 100; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; vertical-align: -.2em; }
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 2rem; height: 2rem; color: var(--green-700); }
.icon-xl { width: 3rem; height: 3rem; color: var(--green-700); }

/* ------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .65em 1.25em; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { min-height: 40px; padding: .45em 1em; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: .8em 1.6em; font-size: 1.08rem; }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-900); color: #fff; }
.btn-secondary { background: var(--paper); color: var(--green-700); border-color: var(--green-700); }
.btn-secondary:hover { background: var(--green-50); color: var(--green-900); }
.btn-free { background: #f5c451; color: #3d2c00; }
.btn-free:hover { background: #eab12c; color: #2b1f00; }
.btn-ghost { background: transparent; color: var(--green-700); padding-left: .6em; padding-right: .6em; }
.btn-ghost:hover { background: var(--green-50); }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--wood-100); color: var(--green-900); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-disabled { background: #ece7dd; color: #6b6a63; cursor: default; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.inline-form { display: inline; margin: 0; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--green-700); text-decoration: underline; cursor: pointer; }
.text-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ------------------------------------------------------------- Header */
.test-banner { background: #fff1c2; color: #5c4400; text-align: center; padding: 6px 12px; font-size: .9rem; }
.preview-banner { background: #dbeafe; color: #1e3a5f; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900);
  font-family: var(--serif); font-weight: 700; font-size: 1.45rem; }
.brand:hover { color: var(--green-700); }
.brand-logo { width: 44px; height: 44px; }
.basket-link { display: inline-flex; align-items: center; gap: .45em; padding: .55em 1em; min-height: 48px;
  border: 2px solid var(--green-700); border-radius: 10px; text-decoration: none; color: var(--green-700); font-weight: 700; }
.basket-link:hover, .basket-link[aria-current] { background: var(--green-50); }
.basket-link.has-items { background: var(--green-700); color: #fff; }
.basket-link.has-items:hover { background: var(--green-900); color: #fff; }
.basket-count { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 .35em; border-radius: 999px;
  background: var(--green-100); color: var(--green-900); font-size: .85rem; }
.basket-link.has-items .basket-count { background: #fff; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 10px; }
.main-nav a { display: block; padding: .45em .85em; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.main-nav a:hover { background: var(--green-50); color: var(--green-900); }
.main-nav a[aria-current="page"] { background: var(--green-100); color: var(--green-900); }

.flashes { padding-top: 20px; }

/* ------------------------------------------------------------- Notices */
.notice { display: block; padding: 14px 18px; border-radius: 10px; margin: 0 0 16px;
  background: var(--info-bg); color: var(--info); border-left: 5px solid var(--info); }
.notice p:last-child { margin-bottom: 0; }
.notice a { color: inherit; font-weight: 700; }
.notice-success { background: var(--green-50); color: var(--green-900); border-color: var(--green-600); }
.notice-error { background: var(--error-bg); color: var(--error); border-color: var(--error); }
.notice-tip { display: flex; gap: .6em; align-items: flex-start; background: var(--wood-100); color: #4a3214; border-color: var(--wood); }
.notice-tip p { margin-bottom: .6em; }
.notice-tip > div { flex: 1; }
.notice > .icon:first-child { margin-right: .35em; }
.notice-tip > .icon:first-child { margin: .2em 0 0; }

/* ------------------------------------------------------------- Hero & sections */
.hero { background: linear-gradient(135deg, var(--green-900), var(--green-600)); color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); }
.hero .lead { color: #e7f0e8; font-size: 1.2rem; }
.hero-art img { border-radius: 20px; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.section { padding: 56px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-title { margin-bottom: .4em; }
.section-intro { font-size: 1.1rem; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step-num { display: inline-grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%;
  background: var(--green-700); color: #fff; font-weight: 800; margin-bottom: 10px; }
.step-num.small { width: 1.7em; height: 1.7em; font-size: .85rem; margin: 0 .3em 0 0; vertical-align: .1em; font-family: var(--sans); }

.includes-grid { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px 32px; }
.includes-grid li { display: flex; gap: 16px; align-items: flex-start; }
.includes-grid h3 { margin-bottom: .2em; font-size: 1.1rem; }
.includes-grid p { margin: 0; color: var(--muted); }

.why-cheap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.price-examples { display: grid; gap: 12px; }
.price-example { display: flex; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.price-example:hover { border-color: var(--green-600); }
.price-example .price { min-width: 3.2em; }

/* ------------------------------------------------------------- Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--wood-100); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.card-title { margin: 4px 0 0; font-size: 1.25rem; }
.card-title a { color: var(--green-900); text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-summary { color: var(--muted); margin: 0 0 6px; }
.card-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.badge { display: inline-block; padding: .15em .65em; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: var(--green-100); color: var(--green-900); }
.badge-plain { background: #f0ece4; color: #4a4a43; }
.badge-free { background: #fbe3a0; color: #5a4100; }
.badge-bundle { background: var(--wood-100); color: #5d3a15; }
.badge-save { background: #fde2c7; color: #7a3d00; }

.price-wrap { display: flex; flex-direction: column; gap: 2px; }
.price { font-size: 1.6rem; font-weight: 800; color: var(--green-900); line-height: 1.1; }
.price-free { color: #7a5700; }
.price-compare { font-size: .92rem; color: var(--muted); font-style: italic; }
.price-was { font-size: .92rem; color: var(--muted); }

.bundle-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--wood-100); }
.bundle-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bundle-stack { display: grid; gap: 24px; margin-top: 24px; }
.bundle-card-full { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; scroll-margin-top: 20px; }
.bundle-card-full .bundle-thumbs { grid-template-columns: 1fr 1fr; align-content: start; height: 100%; }
.bundle-card-full .bundle-thumbs img:first-child { grid-column: 1 / -1; }
.bundle-card-full:target { outline: 3px solid var(--focus); }
.bundle-list { columns: 2; column-gap: 24px; margin: 0 0 8px; }
.bundle-list li { break-inside: avoid; }

/* ------------------------------------------------------------- Filters */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 24px 0 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pills a { display: inline-block; padding: .45em 1em; border-radius: 999px; border: 2px solid var(--line); background: var(--paper);
  text-decoration: none; color: var(--ink); font-weight: 600; }
.pills a:hover { border-color: var(--green-600); }
.pills a[aria-current="page"] { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.search-form { display: flex; gap: 8px; }
.search-form input { min-width: 220px; }
.result-count { margin-bottom: 12px; }
.filter-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 24px; }
.filter-inline select { width: auto; }

.empty-state { text-align: center; background: var(--paper); border: 2px dashed var(--line); border-radius: var(--radius); padding: 40px 20px; margin: 24px 0; }
.empty-state .icon-xl { margin: 0 auto 12px; }
.empty-state .button-row { justify-content: center; }

.callout { display: flex; gap: 18px; align-items: flex-start; background: var(--green-50); border: 1px solid #cfe0d1;
  border-radius: var(--radius); padding: 22px 24px; margin: 40px 0 0; }
.callout h2 { font-size: 1.3rem; }
.callout p:last-child { margin-bottom: 0; }

.sharing-note { display: flex; gap: 18px; align-items: flex-start; background: var(--wood-100); border-radius: var(--radius); padding: 22px 24px; margin: 32px 0; }
.sharing-note h2 { font-size: 1.25rem; }
.sharing-note p { margin: 0; }
.sharing-note .icon-lg { color: var(--wood); }

/* ------------------------------------------------------------- Plan page */
.breadcrumbs { font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.plan-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.plan-main-img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--wood-100); aspect-ratio: 4 / 3; object-fit: cover; }
.plan-thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.plan-thumbs img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.plan-buy h1 { margin-top: 8px; }
.rating-line { display: flex; align-items: center; gap: 8px; }
.buy-box { background: var(--paper); border: 2px solid var(--green-100); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin: 16px 0; }
.buy-box .price { font-size: 2.2rem; }
.buy-box-actions { margin: 16px 0; }
.buy-box-actions .btn, .buy-box-actions form, .buy-box-actions form .btn { width: 100%; display: flex; }
.buy-points { list-style: none; padding: 0; margin: 0 0 8px; }
.buy-points li { display: flex; align-items: center; gap: .5em; padding: 3px 0; }
.buy-points .icon { color: var(--green-600); }
.bundle-hint { display: flex; gap: 12px; align-items: flex-start; background: var(--wood-100); border-radius: 10px; padding: 12px 16px; margin-bottom: 12px; }
.bundle-hint p { margin: 0; }
.bundle-hint .icon { color: var(--wood); margin-top: .25em; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0 0; }
.facts div { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.facts dt { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: .4em; }
.facts dd { margin: 0; font-weight: 700; }
.plan-details { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-top: 48px; align-items: start; }
.plan-includes { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.includes-list { list-style: none; padding: 0; margin: 0 0 12px; }
.includes-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee7da; }
.includes-list li:last-child { border-bottom: 0; }
.includes-list .icon { color: var(--green-700); margin-top: .2em; }
.includes-list strong { display: block; }
.includes-list span { color: var(--muted); font-size: .92rem; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 24px; }
.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 1.6em; margin-bottom: .45em; }
.tick-list li::before { content: ""; position: absolute; left: .2em; top: .5em; width: .45em; height: .8em;
  border: solid var(--green-600); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.plan-reviews, .related { margin-top: 48px; }

/* ------------------------------------------------------------- Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.reviews-list { grid-template-columns: 1fr; max-width: 820px; }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.review blockquote { margin: 10px 0 12px; font-size: 1.05rem; }
.review figcaption { font-size: .95rem; }
.review-meta { color: var(--muted); font-size: .88rem; }
.verified { display: inline-flex; align-items: center; gap: .25em; color: var(--green-700); font-weight: 700; }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star { width: 1.2em; height: 1.2em; fill: #e3ddd1; }
.star.on { fill: var(--gold); }
.rating-summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.1rem; }

/* ------------------------------------------------------------- Forms */
.form { margin-top: 24px; }
.field { margin: 0 0 22px; border: 0; padding: 0; }
label, legend { display: block; font-weight: 700; margin-bottom: 6px; }
.field-help { color: var(--muted); font-size: .92rem; margin: -2px 0 8px; }
.field-error { color: var(--error); font-weight: 700; margin: 6px 0 0; }
.has-error input, .has-error textarea, .has-error select { border-color: var(--error); }
input[type="text"], input[type="email"], input[type="search"], input[type="password"], textarea, select {
  width: 100%; font: inherit; font-size: 1rem; padding: .7em .85em; border: 2px solid #b9b09f; border-radius: 8px; background: #fff; color: var(--ink); }
input:focus, textarea:focus, select:focus { border-color: var(--green-700); }
textarea { resize: vertical; }
.checkbox-row { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer;
  background: var(--paper); border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.checkbox-row input { width: 1.5em; height: 1.5em; margin-top: .15em; flex-shrink: 0; accent-color: var(--green-700); }
.rating-options { display: grid; gap: 8px; }
.rating-option { display: flex; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; margin: 0;
  background: var(--paper); border: 2px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.rating-option:hover { border-color: var(--green-600); }
.rating-option input { width: 1.4em; height: 1.4em; accent-color: var(--green-700); }
.rating-option:has(input:checked) { border-color: var(--green-700); background: var(--green-50); }
.rating-option span { display: inline-flex; align-items: center; gap: 10px; }

/* ------------------------------------------------------------- Basket */
.basket-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; margin-top: 16px; }
.basket-lines { list-style: none; padding: 0; margin: 0 0 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.basket-line { display: grid; grid-template-columns: 96px 1fr auto auto; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid #eee7da; }
.basket-line:last-child { border-bottom: 0; }
.basket-thumb { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; }
.basket-line-name { font-weight: 700; font-size: 1.1rem; }
.basket-line-main p { margin: 2px 0 0; }
.basket-line-price { font-weight: 800; font-size: 1.15rem; }
.btn-remove { display: inline-flex; align-items: center; gap: .3em; background: none; border: 2px solid transparent; border-radius: 8px;
  color: var(--error); font: inherit; font-size: .9rem; font-weight: 600; padding: .4em .6em; cursor: pointer; min-height: 40px; }
.btn-remove:hover { border-color: var(--error-bg); background: var(--error-bg); }
.basket-continue { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.basket-summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 16px; }
.totals { margin: 0 0 8px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.totals dt, .totals dd { margin: 0; }
.totals .saving { color: var(--green-700); font-weight: 700; }
.totals .grand { border-top: 2px solid var(--green-900); margin-top: 6px; padding-top: 12px; font-size: 1.35rem; font-weight: 800; }
.checkout h3 { font-family: var(--sans); font-size: 1.05rem; margin: 24px 0 10px; }
.checkout-message:empty { display: none; }
#paypal-buttons { min-height: 50px; margin-top: 8px; }
.pay-note { display: flex; gap: .5em; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-top: 12px; }
.pay-note .icon { color: var(--green-700); margin-top: .2em; }

/* ------------------------------------------------------------- Order / downloads */
.success-banner { display: flex; gap: 18px; align-items: flex-start; background: var(--green-50); border: 2px solid #bcd6c0;
  border-radius: var(--radius); padding: 24px; margin-bottom: 28px; }
.success-banner h1, .success-banner h2 { margin-bottom: .3em; }
.success-banner p:last-child { margin-bottom: 0; }
.download-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.download-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); scroll-margin-top: 20px; }
.download-item:target { outline: 3px solid var(--focus); }
.download-item img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; }
.download-item h2 { font-size: 1.25rem; margin: 0; }
.download-item p { margin: 4px 0 0; }
.download-action { max-width: 280px; }
.tips-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.tips-box h2 { font-size: 1.25rem; }
.feedback-cta { display: flex; gap: 18px; align-items: flex-start; background: var(--green-50); border-radius: var(--radius); padding: 22px 24px; margin: 24px 0; }
.feedback-cta h2 { font-size: 1.25rem; }
.receipt { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin-top: 24px; }
.receipt summary { cursor: pointer; font-weight: 700; }
.receipt-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.receipt-table td, .receipt-table th { text-align: left; padding: 6px 0; border-bottom: 1px solid #eee7da; }
.receipt-table .num { text-align: right; }

/* ------------------------------------------------------------- FAQ & prose */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; scroll-margin-top: 20px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--green-700); }
.faq details[open] summary::after { content: "–"; }
.faq-answer { padding: 0 20px 6px; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.about-photo { border-radius: var(--radius); margin: 8px 0 24px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 24px 0; }

/* ------------------------------------------------------------- Footer */
.trust-strip { background: var(--green-50); border-top: 1px solid #cfe0d1; padding: 22px 0; }
.trust-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.trust-items div { display: flex; gap: 10px; align-items: flex-start; }
.trust-items .icon { color: var(--green-700); width: 1.6em; height: 1.6em; }
.site-footer { background: var(--green-900); color: #dfe9e1; padding: 40px 0 20px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand { font-family: var(--serif); font-size: 1.35rem; color: #fff; font-weight: 700; margin-bottom: .3em; }
.site-footer h2 { font-family: var(--sans); font-size: 1rem; color: #fff; text-transform: uppercase; letter-spacing: .05em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 16px; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------- Admin */
.admin { background: #f5f3ee; }
.admin-header { background: var(--green-900); color: #fff; }
.admin-header .brand { color: #fff; font-size: 1.2rem; }
.admin-header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0; align-items: center; }
.admin-nav a, .admin-nav .link-button { display: block; color: #fff; text-decoration: none; padding: .4em .8em; border-radius: 8px; font-weight: 600; }
.admin-nav a:hover, .admin-nav a[aria-current] { background: rgba(255,255,255,.15); }
.pill { display: inline-block; background: var(--focus); color: #222; border-radius: 999px; padding: 0 .5em; font-size: .8rem; }
.admin-main { padding-top: 28px; padding-bottom: 60px; }
.admin h1 { font-size: 1.8rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 16px 0 28px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat strong { display: block; font-size: 1.7rem; color: var(--green-900); }
.stat span { color: var(--muted); font-size: .9rem; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 24px; overflow-x: auto; }
.panel h2 { font-size: 1.3rem; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid #ebe5d9; vertical-align: top; }
.table th { background: #f8f5ef; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.table .num { text-align: right; white-space: nowrap; }
.table tr:hover td { background: #fcfbf8; }
.status { display: inline-block; padding: .1em .6em; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.status-ok { background: var(--green-100); color: var(--green-900); }
.status-warn { background: #fdeccb; color: #6b4500; }
.status-bad { background: var(--error-bg); color: var(--error); }
.status-muted { background: #eee; color: #555; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f0ebe1; }
.checklist .ok { color: var(--green-700); font-weight: 800; }
.checklist .todo { color: #b06a00; font-weight: 800; }
.admin-form-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 16px; }
.admin-form-row .field { margin: 0; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.code-box { font-family: Consolas, Menlo, monospace; font-size: .9rem; background: #1f2421; color: #e9f2ea; padding: 14px; border-radius: 8px; word-break: break-all; user-select: all; }
.event-log td { font-family: Consolas, Menlo, monospace; font-size: .82rem; }
.check-grid { columns: 2; column-gap: 24px; }
.check-grid label { font-weight: 400; display: flex; gap: 8px; align-items: center; break-inside: avoid; }

/* ------------------------------------------------------------- Responsive */
@media (max-width: 900px) {
  .hero-inner, .why-cheap, .plan-top, .plan-details, .basket-layout { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .basket-summary { position: static; }
  .bundle-card-full { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  html { font-size: 106.25%; }
  .header-inner { padding-top: 10px; }
  .brand { font-size: 1.2rem; }
  .brand-logo { width: 36px; height: 36px; }
  .header-inner { flex-wrap: wrap; }
  .main-nav ul { gap: 2px; }
  .main-nav a { padding: .4em .6em; }
  .basket-line { grid-template-columns: 72px 1fr; }
  .basket-line-price { grid-column: 2; }
  .basket-line form { grid-column: 2; }
  .download-item { grid-template-columns: 1fr; }
  .download-item img { display: none; }
  .download-action { max-width: none; }
  .download-action .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-form { width: 100%; }
  .search-form input { min-width: 0; }
  .bundle-list, .check-grid { columns: 1; }
  .section { padding: 40px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .main-nav, .trust-strip, .site-footer, .test-banner, .btn, form { display: none !important; }
  body { background: #fff; }
}
