/* Layout: sticky header, slim hero banner, then one row per range: lifestyle photo on the left, white product panel on the right. Single light theme, matching the brand's paper-and-grid look. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff") format("woff"); }
:root {
  color-scheme: light;
  --paper: #f5f5f4;        /* page ground */
  --sheet: #ffffff;        /* panels, header */
  --ink: #141414;          /* text, outlines */
  --graphite: #6f6f6c;     /* muted text */
  --rule: #e4e4e1;         /* hairlines */
  --sage: #b3cdb3;         /* banner green */
  --amber: #f5a54a;        /* logo orange, focus + hover accents */
  --night: #0b0b0b;        /* footer, lightbox */
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --gutter: clamp(12px, 1.6vw, 24px);
  --max: 1880px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--sheet); box-shadow: 0 1px 0 var(--rule), 0 4px 14px rgba(0,0,0,.05); }
.site-header__inner { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand img { height: 44px; width: auto; }
.site-nav { display: flex; gap: clamp(20px, 5vw, 68px); margin-inline: auto; padding-right: 180px; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 2px; border-bottom: 2px solid transparent; transition: border-color .2s; }
.site-nav a:hover { border-color: var(--amber); }
.nav-toggle { display: none; }

/* Page */
.page { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) 88px; display: grid; gap: 26px; }
.hero img { width: 100%; height: auto; border-radius: var(--radius); }
.hero { display: block; margin-bottom: 10px; border-radius: var(--radius); }
.hero img { display: block; transition: filter .2s; }
.hero:hover img { filter: brightness(1.03); }
.hero:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* Range rows */
.range { display: grid; grid-template-columns: minmax(220px, 327px) 1fr; gap: 18px; align-items: stretch; }
.range__visual { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--rule); }
.range__visual img { width: 100%; height: 100%; object-fit: cover; }
.range__panel { background: var(--sheet); border-radius: var(--radius); padding: 26px 28px 30px; min-width: 0; }
.range__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.range__arrows { display: flex; gap: 8px; flex: none; }
.range__arrow { width: 38px; height: 38px; border: 1px solid var(--ink); border-radius: 50%; background: var(--sheet); display: grid; place-items: center; cursor: pointer; transition: background .2s, opacity .2s; }
.range__arrow img { width: 8px; height: auto; }
.range__arrow:hover:not(:disabled) { background: var(--paper); }
.range__arrow:disabled { opacity: .25; cursor: default; }
.range__grid.range__grid--carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.range__grid--carousel::-webkit-scrollbar { display: none; }
.range__grid--carousel > .product { flex: 0 0 calc((100% - 3 * 34px) / 4); scroll-snap-align: start; }
.range__title { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.range__title span { color: var(--graphite); font-weight: 600; }
.range__grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 30px 34px; }

/* Product card */
.product { display: flex; flex-direction: column; min-width: 0; }
.product__media { position: relative; display: block; padding: 0; border: 0; background: var(--sheet); cursor: zoom-in; aspect-ratio: 1; border-radius: 4px; overflow: hidden; }
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s ease, transform .5s ease; }
.product__page { opacity: 0; }
.product__count { position: absolute; left: 8px; bottom: 8px; font-size: 11px; font-weight: 500; letter-spacing: .02em; background: rgba(255,255,255,.92); color: var(--ink); padding: 3px 9px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.12); opacity: 0; transition: opacity .25s; }
.product__media:hover .product__page, .product__media:focus-visible .product__page { opacity: 1; }
.product__media:hover .product__cover, .product__media:focus-visible .product__cover { opacity: 0; }
.product__media:hover .product__count, .product__media:focus-visible .product__count { opacity: 1; }
.product__body { display: flex; flex-direction: column; flex: 1; padding-top: 12px; }
.product__name { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; text-wrap: balance; }
.product__specs { margin: 4px 0 0; font-size: 12px; color: var(--graphite); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.product__desc { margin: 8px 0 16px; font-size: 13px; font-weight: 300; line-height: 1.5; }
.btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 22px; border: 1px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 500; text-decoration: none; background: var(--sheet); color: var(--ink); transition: background .2s, color .2s; white-space: nowrap; }
.btn:hover { background: var(--ink); color: var(--sheet); }
.btn--light { border-color: var(--sheet); background: transparent; color: var(--sheet); }
.btn--light:hover { background: var(--sheet); color: var(--ink); }

/* Footer */
.site-footer { background: var(--night); color: #f2f2f2; }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter) calc(64px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 13px; }
.site-footer__logo { height: 44px; width: auto; filter: invert(1); margin-bottom: 14px; }
.site-footer p { margin: 0; max-width: 60ch; }
.site-footer__disclosure, .site-footer__copy { color: #a3a3a0; font-size: 12px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(8,8,8,.96); color: #f2f2f2; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.lb__bar { display: flex; align-items: center; gap: 16px; padding: 14px var(--gutter); }
.lb__title { margin: 0; font-weight: 600; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb__count { color: #a3a3a0; font-size: 13px; font-variant-numeric: tabular-nums; margin-right: auto; }
.lb__close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lb__close:hover { background: rgba(255,255,255,.18); }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; padding: 0 76px; touch-action: pan-y; }
.lb__img { position: absolute; inset: 0 76px; width: calc(100% - 152px); height: 100%; object-fit: scale-down; border-radius: 4px; user-select: none; -webkit-user-drag: none; transition: opacity .2s; }
.lb__img.is-loading { opacity: .25; }
.lb__nav { position: absolute; z-index: 1; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; cursor: pointer; }
.lb__nav:hover { background: rgba(255,255,255,.18); }
.lb__nav img { width: 12px; height: auto; filter: invert(1); }
.lb__nav--prev { left: 14px; }
.lb__nav--next { right: 14px; }
.lb__thumbs { display: flex; gap: 8px; justify-content: center; padding: 14px var(--gutter) 18px; overflow-x: auto; }
.lb__thumbs button { flex: 0 0 auto; width: 58px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #222; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.lb__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--amber); }
.lb__thumbs button:hover { opacity: 1; }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }
body.lb-open { overflow: hidden; }

/* 404 */
.page--404 { justify-items: center; text-align: center; }
.nf { margin: 0; width: 100%; }
.nf img { width: 100%; height: auto; border-radius: var(--radius); }
.nf__text { display: grid; gap: 10px; justify-items: center; }
.nf__text h1 { margin: 12px 0 0; font-size: clamp(22px, 3vw, 30px); }
.nf__text p { margin: 0 0 8px; color: var(--graphite); }
.nf__text .btn { align-self: center; }

/* Tablet */
@media (max-width: 1100px) {
  .site-nav { padding-right: 0; margin-inline: auto 0; }
  .range { grid-template-columns: 1fr; }
  .range__visual { aspect-ratio: 16 / 6; }
  .range__visual img { object-position: center 35%; }
  .range__grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .range__grid--carousel > .product { flex-basis: calc((100% - 2 * 34px) / 3); }
}

/* Phone */
@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  .site-header__inner { justify-content: space-between; padding-block: 12px; position: relative; }
  .brand img { height: 36px; }
  .nav-toggle { display: grid; align-content: center; gap: 5px; width: 44px; height: 44px; margin-right: -10px; padding: 0 11px; border: 0; background: transparent; cursor: pointer; border-radius: 8px; }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 4px var(--gutter) 12px; flex-direction: column; gap: 0; background: var(--sheet); box-shadow: 0 10px 18px rgba(0,0,0,.08); border-top: 1px solid var(--rule); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .site-header.is-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .site-nav a { padding: 14px 2px; font-size: 16px; border-bottom: 1px solid var(--rule); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a:hover { border-color: var(--rule); color: var(--graphite); }
  .page { padding-top: 18px; gap: 18px; }
  .range { gap: 0; }
  .range__visual { aspect-ratio: 16 / 7; border-radius: var(--radius) var(--radius) 0 0; }
  .range__panel { border-radius: 0 0 var(--radius) var(--radius); padding: 20px 16px 22px; }
  .range__head { margin-bottom: 18px; }
  .range__title { font-size: 17px; }
  .range__arrows { display: none; }
  .range__grid.range__grid--carousel { display: grid; overflow: visible; }
  .range__grid { grid-template-columns: 1fr; gap: 0; }
  .product { flex-direction: row; gap: 14px; padding-block: 14px; border-top: 1px solid var(--rule); }
  .product:first-child { border-top: 0; padding-top: 0; }
  .product__media { flex: 0 0 112px; align-self: flex-start; }
  .product__count { opacity: 1; font-size: 10px; left: 4px; bottom: 4px; padding: 2px 7px; }
  .product__body { padding-top: 0; }
  .product__desc { margin-bottom: 12px; }
  .btn { min-height: 34px; padding-inline: 16px; }
  .lb__bar { flex-wrap: wrap; gap: 8px 12px; }
  .lb__title { flex: 1 1 calc(100% - 56px); order: 1; white-space: normal; }
  .lb__close { order: 2; }
  .lb__count { order: 3; }
  .lb #lb-buy { order: 4; }
  .lb__stage { padding: 0 8px; }
  .lb__img { inset: 0 8px; width: calc(100% - 16px); }
  .lb__nav { width: 40px; height: 40px; background: rgba(0,0,0,.45); }
  .lb__nav--prev { left: 10px; }
  .lb__nav--next { right: 10px; }
  .lb__thumbs button { width: 46px; height: 46px; }
}

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

/* Legal pages */
.page--legal { max-width: 860px; }
.legal { background: var(--sheet); border-radius: var(--radius); padding: clamp(24px, 5vw, 48px); }
.legal h1 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 30px); letter-spacing: -.01em; }
.legal .legal__date { margin: 0 0 28px; color: var(--graphite); font-size: 13px; }
.legal h2 { margin: 32px 0 8px; font-size: 17px; }
.legal p, .legal li { font-size: 14.5px; line-height: 1.7; max-width: 68ch; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal a { color: var(--ink); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.site-footer__links { margin-top: 10px !important; }
.site-footer__links a { color: #f2f2f2; font-size: 13px; text-decoration: underline; text-decoration-color: #6f6f6c; text-underline-offset: 3px; }
.site-footer__links a:hover { text-decoration-color: var(--amber); }

/* ---- Free printables ---------------------------------------------------- */
.site-nav a[aria-current="page"] { border-color: var(--ink); }
.crumbs { font-size: 12.5px; color: var(--graphite); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-decoration-color: var(--amber); }

.pr-intro { background: var(--sheet); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; gap: 10px; }
.pr-intro h1 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; line-height: 1.15; }
.pr-intro p { margin: 0; max-width: 70ch; font-weight: 300; font-size: 15.5px; }
.pr-intro .pr-note { font-size: 13px; color: var(--graphite); font-weight: 400; }

.pr-tool { background: var(--sheet); border: 2px solid var(--amber); border-radius: var(--radius); padding: clamp(16px, 2.4vw, 26px) clamp(20px, 3vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.pr-tool p { margin: 0; flex: 1 1 420px; max-width: 80ch; font-size: 15px; font-weight: 300; }
.pr-tool strong { font-weight: 600; }
.pr-tool__cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background .2s; }
.pr-tool__cta:hover { background: #ef9634; }

.pr-group { background: var(--sheet); border-radius: var(--radius); padding: 26px 28px 30px; }
.pr-group h2 { margin: 0 0 22px; font-size: 18px; letter-spacing: -.01em; }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 30px 34px; }
.pr-card { display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
.pr-card__media { aspect-ratio: 4 / 5; background: var(--paper); border-radius: 6px; display: grid; place-items: center; padding: 18px; overflow: hidden; }
.pr-card__media img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 2px 10px rgba(0,0,0,.12); background: #fff; transition: transform .35s ease; }
.pr-card:hover .pr-card__media img { transform: translateY(-3px); }
.pr-card__name { margin: 12px 0 0; font-size: 14px; font-weight: 600; line-height: 1.35; }
.pr-card__desc { margin: 6px 0 0; font-size: 13px; font-weight: 300; line-height: 1.5; }
.pr-card__meta { margin: 8px 0 0; font-size: 12px; color: var(--graphite); }
.pr-card:hover .pr-card__name { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }

.pr-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.pr-preview { background: var(--sheet); border-radius: var(--radius); padding: clamp(18px, 3vw, 36px); display: grid; gap: 16px; position: sticky; top: 96px; }
.pr-preview__main { background: var(--paper); border-radius: 6px; display: grid; place-items: center; padding: clamp(14px, 3vw, 32px); }
.pr-preview__main img { box-shadow: 0 3px 16px rgba(0,0,0,.14); background: #fff; width: auto; height: auto; max-width: 100%; max-height: 72vh; }
.pr-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pr-thumbs button { flex: 0 0 auto; width: 64px; height: 64px; padding: 4px; border: 2px solid var(--rule); border-radius: 6px; background: var(--paper); cursor: pointer; overflow: hidden; }
.pr-thumbs button[aria-current="true"] { border-color: var(--amber); }
.pr-thumbs img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pr-thumbs__more { align-self: center; font-size: 12px; color: var(--graphite); }

.pr-info { background: var(--sheet); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; }
.pr-info h1 { margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; line-height: 1.18; text-wrap: balance; }
.pr-info h2 { margin: 0 0 8px; font-size: 15px; }
.pr-info p, .pr-info li { margin: 0; font-size: 14.5px; line-height: 1.65; }
.pr-lead { font-weight: 300; font-size: 15.5px !important; }
.pr-dl { border: 1px solid var(--rule); border-radius: 8px; padding: 18px; display: grid; gap: 12px; }
.pr-dl__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--solid { background: var(--ink); color: var(--sheet); }
.btn--solid:hover { background: var(--sheet); color: var(--ink); }
.btn small { font-weight: 400; opacity: .7; margin-left: 6px; font-size: 11.5px; }
.pr-dl__note { font-size: 12.5px !important; color: var(--graphite); }
.pr-dl__note a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--amber); }
.pr-specs { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; font-size: 14px; }
.pr-specs dt { color: var(--graphite); }
.pr-specs dd { margin: 0; }
.pr-info ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }

.pr-buy { background: var(--sheet); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: center; }
.pr-buy img { width: 140px; height: 140px; object-fit: contain; }
.pr-buy h2 { margin: 0 0 4px; font-size: 18px; }
.pr-buy p { margin: 0 0 4px; font-size: 14px; font-weight: 300; max-width: 62ch; }
.pr-buy .product__specs { margin-bottom: 14px; }

.promo { background: var(--sheet); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 40px); display: flex; align-items: center; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.promo h2 { margin: 0 0 4px; font-size: 18px; }
.promo p { margin: 0; font-size: 14px; font-weight: 300; max-width: 66ch; }
.promo .btn { margin-top: 0; align-self: center; }

@media (max-width: 900px) {
  .pr-detail { grid-template-columns: 1fr; }
  .pr-preview { position: static; }
  .pr-preview__main img { max-height: 60vh; }
}
@media (max-width: 640px) {
  .pr-group { padding: 20px 16px 22px; }
  .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .pr-card__media { padding: 10px; }
  .pr-card__desc { display: none; }
  .pr-buy { grid-template-columns: 88px 1fr; gap: 16px; align-items: start; }
  .pr-buy img { width: 88px; height: 88px; }
  .pr-specs { grid-template-columns: 1fr; gap: 0; }
  .pr-specs dd { margin-bottom: 8px; }
  .pr-dl__btns .btn { flex: 1 1 100%; }
}

/* highlighted nav link: Free Printables */
@media (min-width: 641px) { .site-nav { align-items: center; } }
.site-nav a.site-nav__cta { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border: 0; border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 600; transition: background .2s, box-shadow .2s; }
.site-nav a.site-nav__cta:hover { background: #ef9634; }
/* five nav items: keep labels on one line and tighten the spacing on tablets */
.site-nav a { white-space: nowrap; }
@media (min-width: 641px) and (max-width: 1000px) { .site-nav { gap: clamp(14px, 2.4vw, 28px); } }
.site-nav a.site-nav__cta[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (max-width: 640px) {
  .site-nav a.site-nav__cta { justify-content: center; margin-top: 12px; padding: 13px 16px; border-bottom: 0; }
  .site-nav a.site-nav__cta:hover { color: var(--ink); background: #ef9634; }
}

/* ---- Product cards: links ------------------------------------------------ */
.product__name a { text-decoration: none; }
.product__name a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.product__actions { margin-top: auto; display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; }
.product__actions .btn { padding-inline: 18px; }
.product__actions .btn { margin-top: 0; }
.product__more { font-size: 13px; font-weight: 500; color: var(--graphite); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.product__more:hover { color: var(--ink); text-decoration-color: var(--amber); }

/* ---- Amazon store selector --------------------------------------------- */
select.js-store { font: inherit; font-size: 13px; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 999px; padding: 5px 30px 5px 12px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; }
.site-footer__store { margin-top: 14px !important; font-size: 12.5px; color: #c9c9c6; }
.site-footer__store select { margin-left: 8px; border-color: #55554f; color: #f2f2f2; }
.site-footer__store option { color: var(--ink); }

/* ---- Product page ------------------------------------------------------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.pd-gallery { background: var(--sheet); border-radius: var(--radius); padding: clamp(16px, 3vw, 32px); display: grid; gap: 14px; position: sticky; top: 96px; }
.pd-gallery__main { position: relative; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; background: var(--paper); cursor: zoom-in; aspect-ratio: 1; overflow: hidden; }
.pd-gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pd-gallery__main .product__count { opacity: 1; }
.pd-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.pd-thumbs button { aspect-ratio: 1; padding: 0; border: 2px solid var(--rule); border-radius: 6px; overflow: hidden; background: var(--paper); cursor: zoom-in; transition: border-color .2s; }
.pd-thumbs button:hover { border-color: var(--amber); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.pd-info { background: var(--sheet); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; }
.pd-info h1 { margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; line-height: 1.18; text-wrap: balance; }
.pd-info .product__specs { margin: -10px 0 0; font-size: 13px; }
.pd-buy { display: grid; gap: 10px; justify-items: start; padding: 18px 0; border-block: 1px solid var(--rule); }
.btn--lg { min-height: 46px; padding: 10px 30px; font-size: 15px; }
.pd-store { font-size: 13px; color: var(--graphite); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pd-store select { color: var(--ink); border-color: var(--rule); }
.pd-feats { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; }
.pd-free { display: flex; gap: 16px; align-items: center; background: var(--paper); border-radius: 8px; padding: 14px 16px; }
.pd-free img { width: 56px; height: auto; box-shadow: 0 1px 6px rgba(0,0,0,.12); background: #fff; flex: none; }
.pd-free p { margin: 0; font-size: 13.5px; line-height: 1.55; }
.pd-free a { font-weight: 600; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.pd-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.pd-more h2 { margin-bottom: 14px; }
.pd-more p { margin: 0; font-size: 14.5px; line-height: 1.7; max-width: 62ch; }
.pd-rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 26px 30px; }
.pd-rel { text-decoration: none; display: grid; gap: 4px; align-content: start; }
.pd-rel__img { aspect-ratio: 1; background: var(--sheet); border-radius: 4px; overflow: hidden; }
.pd-rel__img img { width: 100%; height: 100%; object-fit: contain; }
.pd-rel__name { margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.pd-rel__specs { font-size: 12px; color: var(--graphite); }
.pd-rel:hover .pd-rel__name { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }

@media (max-width: 900px) {
  .pd { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .pd-more { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pd-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pd-buy .btn { width: 100%; }
  .pd-rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .product__actions { gap: 6px 14px; }
}
