/* Self-hosted fonts (OFL), latin subset, variable weight */
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/fredoka.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url('../fonts/nunito.woff2') format('woff2'); }
:root {
  --ground: #FFFBF5;
  --surface: #FFFFFF;
  --ink: #1F2A2E;
  --muted: #4C585B;
  --line: #EFE6D8;
  --line-strong: #E2D7C6;
  --teal: #0F5C5A;
  --teal-dark: #0A4241;
  --orange: #F08A24;
  --sand: #F2EADF;
  --radius: 24px;
  --display: 'Fredoka', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.15; }
.display { font-family: var(--display); font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .1s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #E07A14; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #33444A; color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-outline { background: var(--surface); color: var(--teal); border: 2px solid var(--teal); }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Announcement + header */
.announce { background: var(--teal); color: #fff; font-size: 14px; font-weight: 700; text-align: center; padding: 10px 16px; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--ground); border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 60px; height: 60px; flex: none; }
.logo-text { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -.3px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 0 20px; font-weight: 700; font-size: 15px; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.main-nav a:hover { color: var(--teal); }
.header-tools { flex: 1 1 260px; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.search { flex: 0 1 300px; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 999px; }
.search input { border: 0; outline: none; background: transparent; width: 100%; font-size: 15px; }
.cart-btn { height: 46px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.hero-copy { flex: 1 1 440px; min-width: 0; }
.badge { display: inline-block; margin: 0 0 16px; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; background: #FBE1DE; color: #A1261B; }
.hero h1 { margin: 0 0 18px; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -1px; }
.hero p.lead { margin: 0 0 28px; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { flex: 1 1 420px; min-width: 0; height: 440px; border-radius: 32px; background: #FDE7D2; color: #9A4A12; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hero-art .blob1 { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: #F9D3AE; right: -60px; top: -60px; }
.hero-art .blob2 { position: absolute; width: 200px; height: 200px; border-radius: 50%; background: #D9EEF5; left: -40px; bottom: -50px; }
.hero-art > svg, .hero-art > span { position: relative; }
.hero-art > span { font-weight: 800; font-size: 15px; }

/* Sections */
.section { padding-top: 40px; padding-bottom: 24px; }
.section h2 { margin: 0 0 6px; font-family: var(--display); font-weight: 600; font-size: 32px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head p { margin: 0; color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 20px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 88px; padding: 18px; border-radius: var(--radius); color: var(--ink); text-decoration: none; border: 0; text-align: left; }
.tile:hover { color: var(--ink); filter: brightness(.98); }
.tile-icon { width: 48px; height: 48px; flex: none; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; }
.tile-label { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.2; }
.tile-count { display: block; font-size: 14px; font-weight: 700; color: var(--muted); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); font-weight: 800; font-size: 14px; }
.pill[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card-media { aspect-ratio: 1 / 1; height: auto; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; overflow: hidden; border: 0; padding: 0; width: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media small { font-size: 12px; font-weight: 800; }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 0 4px; }
.card-cat { font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #5B6668; }
.card-title { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.3; }
.card-title button { all: unset; cursor: pointer; }
.card-title button:hover { color: var(--teal); }
.card-sub { font-size: 14px; color: #5B6668; }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px 4px; }
.price { font-family: var(--display); font-weight: 600; font-size: 22px; }
.aff-note { font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.35; }
.tag-slow { background: #FDE7D2; color: #9A4A12; }
.slow-note { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FDE7D2; color: #6B3410; font-size: 14px; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--sand); color: var(--muted); }

.empty { padding: 48px 24px; text-align: center; background: var(--surface); border: 1.5px dashed var(--line-strong); border-radius: var(--radius); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }
.feature strong { display: block; margin-bottom: 4px; }

.club { margin-top: 32px; margin-bottom: 64px; padding: 48px; border-radius: 32px; background: var(--teal); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.club h2 { margin: 0 0 10px; font-family: var(--display); font-weight: 600; font-size: 36px; }
.club p { margin: 0; color: #D6EBE9; font-size: 17px; max-width: 480px; }
.club form { flex: 1 1 360px; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.club label { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #D6EBE9; }
.club input { height: 50px; border-radius: 999px; border: 0; padding: 0 20px; color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #C9D2D3; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; padding-top: 48px; padding-bottom: 32px; font-size: 15px; }
.footer-grid h3 { margin: 0 0 8px; font-size: 16px; color: #fff; }
.footer-grid a { display: block; color: #C9D2D3; text-decoration: none; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.footer-brand { font-family: var(--display); font-weight: 700; font-size: 24px; color: #fff; margin: 0 0 8px; }
.footer-base { border-top: 1px solid #36454A; padding-top: 18px; padding-bottom: 28px; font-size: 13px; }

/* Drawer + modal */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(31,42,46,.45); display: none; }
.overlay.open { display: flex; }
.drawer-wrap { justify-content: flex-end; }
.drawer { width: 420px; max-width: 100%; height: 100%; background: var(--ground); display: flex; flex-direction: column; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 26px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sand); display: flex; align-items: center; justify-content: center; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 14px; }
.drawer-foot { padding: 20px 24px 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.line { display: flex; gap: 14px; align-items: center; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.line-thumb { width: 60px; height: 60px; flex: none; border-radius: 14px; overflow: hidden; }
.line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.line-name { font-weight: 800; font-size: 15px; line-height: 1.3; }
.line-meta { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 800; }
.qty span { min-width: 20px; text-align: center; font-weight: 800; }
.line-price { font-weight: 800; }
.total-row { display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; }
.note { margin: 0; font-size: 14px; color: var(--muted); }
.error { margin: 0; font-size: 14px; color: #A1261B; font-weight: 700; }

.modal-wrap { align-items: center; justify-content: center; padding: 16px; }
.modal { position: relative; width: 860px; max-width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--ground); border-radius: 28px; display: flex; flex-wrap: wrap; }
.modal-media { flex: 1 1 320px; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.modal-media { position: relative; }
.modal-media > img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.thumb { width: 54px; height: 54px; padding: 0; border: 2px solid #fff; border-radius: 12px; overflow: hidden; cursor: pointer; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); opacity: .8; }
.thumb.on { border-color: var(--orange); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.example-label { position: absolute; left: 14px; bottom: 14px; background: rgba(31,42,46,.75); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.modal-body { flex: 1 1 340px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.modal-body h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 30px; }
.modal-close { position: absolute; top: 14px; right: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.field select, .field input { height: 48px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; padding: 0 14px; font-weight: 600; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; font-weight: 700; padding: 14px 22px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.toast.show { opacity: 1; }

/* Content pages */
.page { max-width: 820px; padding-top: 48px; padding-bottom: 72px; }
/* h1 */ .page h1 { font-family: var(--display); font-weight: 700; font-size: 44px; margin: 0 0 16px; }
.page h2 { font-family: var(--display); font-weight: 600; font-size: 24px; margin: 32px 0 8px; }
.page table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.page th, .page td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.page th { background: var(--sand); }
.table-wrap { overflow-x: auto; }
.placeholder-note { background: #FFF3D6; border: 1px solid #F3D38A; padding: 12px 16px; border-radius: 14px; font-size: 14px; }

@media (max-width: 640px) {
  .site-header { position: static; }
  .header-tools { flex-basis: 100%; }
  .search { flex: 1 1 auto; }
  .hero-art { height: 300px; }
  .club { padding: 28px; }
  .modal-body { padding: 24px; }
}

/* designer */
.design-preview { margin: 6px 0 4px; }
.design-label { display:block; font-weight:800; font-size:14px; margin-bottom:6px; }
#pm-preview { background: repeating-conic-gradient(#f3eee6 0 25%, #fff 0 50%) 0 0/20px 20px; border-radius: 16px; padding: 10px; display:flex; justify-content:center; }
.design-canvas { max-width: 100%; max-height: 260px; height:auto; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
#pm-photo { padding: 10px; background:#fff; border:1.5px dashed var(--line, #ddd); border-radius: 12px; width:100%; }
/* Planner & health guides */
.lead-p { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.pl-form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pl-form .field .note { font-weight: 600; }
.pl-result, .pl-tracker { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pl-result h2, .pl-tracker h2 { margin-top: 0; }
.pl-result h3 { font-family: var(--display); font-weight: 600; font-size: 20px; margin: 24px 0 6px; }
.pl-sub { margin: -4px 0 16px; color: var(--muted); font-weight: 700; }
.pl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.pl-stats div { background: #DDF0EC; border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; }
.pl-stats span { font-size: 13px; font-weight: 800; color: var(--teal); text-transform: uppercase; letter-spacing: .4px; }
.pl-stats strong { font-family: var(--display); font-size: 26px; font-weight: 600; }
.pl-stats small { color: var(--muted); }
.pl-warn { background: #FFF0D9; border-left: 4px solid var(--orange); padding: 12px 14px; border-radius: 10px; font-weight: 700; }
.pl-links, .pl-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pl-actions { margin-top: 24px; }
.pl-disclaimer { margin-top: 18px; font-size: 13px; color: var(--muted); }
.pl-chart { display: flex; align-items: flex-end; gap: 8px; height: 150px; margin: 12px 0 18px; }
.pl-chart div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.pl-chart span { width: 100%; max-width: 40px; background: var(--teal); border-radius: 8px 8px 0 0; }
.pl-chart small { font-size: 11px; text-align: center; color: var(--muted); margin-top: 4px; line-height: 1.2; }
.pl-weigh { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.pl-toast { opacity: 1; } .pl-toast[hidden] { display: none; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0; }
.guide-cards a { display: block; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--ink); }
.guide-cards a strong { display: block; font-family: var(--display); font-size: 19px; color: var(--teal); margin-bottom: 4px; }
@media (max-width: 640px) { .pl-row, .pl-weigh { grid-template-columns: 1fr; } }
@media print { .site-header, .site-footer, .announce, .pl-form, .pl-actions, .pl-tracker, .planner > h2, .planner > p, .lead-p { display: none !important; } .pl-result { border: 0; } }
/* Breed & data pages */
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: var(--muted); }
.answer { background: #DDF0EC; border-radius: 18px; padding: 16px 18px; font-size: 18px; line-height: 1.5; }
.facts { margin: 18px 0; }
.facts caption { text-align: left; font-family: var(--display); font-weight: 600; font-size: 18px; padding: 0 0 8px; }
.facts th { width: 40%; }
.breed-page h3 { font-family: var(--display); font-weight: 600; font-size: 19px; margin: 18px 0 4px; }
.breed-list, .rel { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.breed-list li, .rel li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; gap: 8px; }
.breed-list span { color: var(--muted); font-weight: 700; white-space: nowrap; }
.sources { font-size: 14px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
table.sortable th { white-space: nowrap; }

/* Phone header: keep the answer/calculator in the first screen */
@media (max-width: 640px) {
  .announce { font-size: 12.5px; padding: 6px 12px; }
  .header-row { gap: 6px 12px; padding-top: 8px; padding-bottom: 4px; }
  .logo { order: 1; flex: 1 1 auto; }
  .logo-mark { width: 40px; height: 40px; }
  .logo-text { font-size: 22px; }
  .header-tools { order: 2; flex: 0 1 auto; flex-basis: auto; }
  .cart-btn { height: 40px; padding: 0 14px; }
  .main-nav { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; gap: 0 18px; font-size: 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { white-space: nowrap; padding: 6px 0; }
  .search { height: 40px; }
  body:not([data-page="breed"]):not([data-page="planner"]) .header-tools { order: 4; flex-basis: 100%; }
  body[data-page="breed"] .search, body[data-page="planner"] .search { display: none; }
  .page h1 { font-size: 30px; line-height: 1.15; margin: 8px 0 10px; }
  .crumbs { font-size: 12.5px; }
}
.shop-box { background: var(--mint, #DDF0EC); border-radius: 18px; padding: 18px 20px; margin: 22px 0; }
.shop-box h2 { margin-top: 0; font-size: 22px; }
.shop-box .shop-from { margin: 4px 0 12px; }
.qol-row { display: grid; grid-template-columns: 1fr 180px; gap: 10px 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.qol-row label { display: flex; flex-direction: column; gap: 2px; }
.qol-row label span { font-size: 14px; color: var(--muted, #4C585B); }
.qol-input { display: flex; align-items: center; gap: 10px; }
.qol-input input { flex: 1; accent-color: var(--teal, #0F5C5A); }
.qol-input output { font-weight: 800; min-width: 2ch; text-align: right; font-size: 20px; }
@media (max-width: 640px) { .qol-row { grid-template-columns: 1fr; } }
/* Embed mode: only the tool */
html.embed body { background: #fff; }
html.embed .announce, html.embed .crumbs, html.embed .share-box { display: none !important; }
html.embed main > *:not(h1):not(.answer):not(form):not(.pl-result):not(.embed-credit) { display: none !important; }
html.embed main { padding-top: 8px; }
.embed-credit { font-size: 13px; color: var(--muted, #4C585B); margin-top: 14px; }
.share-box { margin: 26px 0; padding: 14px 18px; border: 1.5px solid var(--line-strong, #ddd); border-radius: 16px; background: #fff; }
.share-box summary { font-weight: 800; cursor: pointer; }
.share-box textarea { width: 100%; font: 13px/1.4 ui-monospace, monospace; padding: 10px; border: 1px solid var(--line, #ddd); border-radius: 10px; resize: vertical; box-sizing: border-box; }
.tools-band h2 { margin-bottom: 14px; }
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tool-grid a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: #fff; border: 1.5px solid var(--line, #e6ded2); border-radius: 18px; text-decoration: none; color: var(--ink); }
.tool-grid a:hover { border-color: var(--teal, #0F5C5A); }
.tool-grid strong { font-family: var(--display); font-size: 19px; color: var(--teal, #0F5C5A); }
.tool-grid span { font-size: 14px; color: var(--muted, #4C585B); }
@media (max-width: 900px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tool-grid { gap: 8px; } .tool-grid a { padding: 12px; border-radius: 14px; } .tool-grid strong { font-size: 16px; line-height: 1.2; } .tool-grid span { font-size: 12.5px; line-height: 1.3; } }
/* Gift vouchers */
.gv-amounts { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 10px; }
.gv-amounts legend { font-weight: 800; margin-bottom: 8px; }
.gv-amounts label { border: 1.5px solid var(--line-strong, #ddd); border-radius: 999px; padding: 10px 18px; font-weight: 800; cursor: pointer; background: #fff; }
.gv-amounts label:has(input:checked) { border-color: var(--teal, #0F5C5A); background: var(--mint, #DDF0EC); }
.gv-amounts input { accent-color: var(--teal, #0F5C5A); }
.voucher { max-width: 560px; margin: 10px auto 18px; padding: 28px 30px; border-radius: 26px; background: linear-gradient(145deg, #0F5C5A, #0A4240); color: #fff; text-align: center; box-shadow: 0 6px 24px rgba(0,0,0,.15); }
.voucher .v-top { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-size: 26px; font-weight: 700; }
.voucher .v-kicker { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: #FFD7A0; margin: 14px 0 0; }
.voucher .v-value { font-family: var(--display); font-size: 86px; line-height: 1; margin: 6px 0 10px; color: #F08A24; font-weight: 700; }
.voucher .v-to, .voucher .v-from { font-weight: 800; margin: 4px 0; }
.voucher .v-msg { font-style: italic; margin: 8px 0; }
.voucher .v-codewrap { background: #fff; color: var(--ink); border-radius: 16px; padding: 12px; margin: 16px auto; max-width: 340px; }
.voucher .v-code { font-size: 30px; letter-spacing: .08em; font-family: ui-monospace, monospace; }
.voucher .v-how { margin: 8px 0; }
.voucher .v-small { font-size: 12.5px; opacity: .85; margin: 10px 0 0; }
@media print { .no-print { display: none !important; } .voucher { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
.announce a { color: #fff; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
/* Printables */
.pr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 18px 0; }
.pr-card { background: #fff; border: 1.5px solid var(--line, #e6ded2); border-radius: 20px; padding: 16px 18px; display: flex; flex-direction: column; }
.pr-card img { width: 100%; height: auto; border-radius: 12px; margin-bottom: 10px; }
.pr-card h2 { font-size: 21px; margin: 4px 0; }
.pr-meta { color: var(--muted, #4C585B); font-size: 14px; margin: 0 0 6px; }
.pr-price { font-family: var(--display); font-size: 26px; color: var(--teal, #0F5C5A); margin: 6px 0 10px; }
.pr-card .btn { margin-top: auto; }
.pr-bundle { background: var(--mint, #DDF0EC); border-radius: 12px; padding: 40px 10px; text-align: center; font-family: var(--display); font-size: 30px; color: var(--teal, #0F5C5A); margin-bottom: 10px; }
.pr-bundle small { font-family: var(--body); font-size: 16px; color: var(--orange, #F08A24); font-weight: 800; }
@media (max-width: 700px) { .pr-grid { grid-template-columns: 1fr; } }

/* Partner (affiliate) box: always carries a visible ad label */
.partner-box { background: var(--mint, #DDF0EC); border-radius: 18px; padding: 18px 20px; margin: 22px 0; }
.partner-box h3 { margin-top: 4px; }
.partner-box .pl-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.ad-label { display: inline-block; margin: 0; padding: 2px 10px; border: 1px solid currentColor; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
