/* Reading Accessories (/reading-accessories) — list page, product page, home strip. Uses the shop's tokens. */
.acc-hero { text-align: center; max-width: 640px; margin: 18px auto 30px; }
.acc-hero h1 { font-size: clamp(32px, 4.4vw, 50px); margin: 8px 0 10px; }
.acc-hero p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.acc-hero .eyebrow { justify-content: center; }

.acc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.acc-grid > * { min-width: 0; }
.acc-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-rest); transition: transform .25s ease, box-shadow .25s ease; }
.acc-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(43, 30, 22, .35); }
.acc-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--card); overflow: hidden; }
.acc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.acc-card:hover .acc-media img { transform: scale(1.03); }
.acc-out { position: absolute; top: 12px; left: 12px; background: rgba(43, 30, 22, .82); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.acc-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gold); }
.acc-ph .ms { font-size: 56px; }
.acc-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; flex: 1; }
.acc-body h3 { font: 600 19px/1.25 var(--serif); margin: 0; }
.acc-body h3 a { color: var(--ink); }
.acc-body .price-row .now { font-size: 22px; }
.acc-body .btn { margin-top: auto; }

.acc-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.acc-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.acc-dot.out { opacity: .35; background: linear-gradient(135deg, transparent 45%, var(--muted) 46% 54%, transparent 55%), var(--sw); }

.acc-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: 13.5px; margin: 34px 0 10px; text-align: center; }

/* product page */
.acc-pdp { grid-template-columns: 1.05fr 1fr; }
.acc-pdp > * { min-width: 0; } /* the thumbnail strip scrolls instead of widening the page */
/* the list page: a few products sit centred instead of hugging the left */
.acc-page > .acc-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 290px)); justify-content: center; }
.acc-gallery { position: sticky; top: 130px; }
.acc-main { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.acc-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.acc-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.acc-thumbs button { flex: none; width: 74px; height: 74px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent;
  background: var(--card); cursor: pointer; opacity: .75; transition: opacity .2s, border-color .2s; }
.acc-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acc-thumbs button.on, .acc-thumbs button:hover { opacity: 1; border-color: var(--gold); }

.acc-colours { margin: 16px 0 6px; }
.acc-colour-label { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.acc-colour-label b { color: var(--ink); }
.acc-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.acc-swatch { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s, transform .2s; }
.acc-swatch:hover { transform: scale(1.06); }
.acc-swatch.on { outline-color: var(--burgundy); }
.acc-swatch:focus-visible { outline-color: var(--gold); }
.acc-swatch.out::after { content: ''; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2px; background: rgba(255, 255, 255, .9);
  transform: translateX(-50%) rotate(45deg); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
.acc-swatch.out { opacity: .55; }

.acc-strip .acc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1000px) {
  .acc-grid, .acc-strip .acc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .acc-pdp { grid-template-columns: 1fr; gap: 22px; }
  .acc-gallery { position: static; }
}
@media (max-width: 640px) {
  .acc-page > .acc-grid, .acc-grid, .acc-strip .acc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .acc-body { padding: 12px 12px 14px; gap: 8px; }
  .acc-body h3 { font-size: 16px; }
  .acc-body .price-row .now { font-size: 19px; }
  .acc-body .btn { font-size: 13px; padding-left: 8px; padding-right: 8px; }
  .acc-thumbs button { width: 62px; height: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  .acc-card, .acc-media img, .acc-swatch { transition: none; }
  .acc-card:hover { transform: none; }
  .acc-card:hover .acc-media img { transform: none; }
}

/* ---------- home showcase: right under the banner, big photos so new visitors see it ---------- */
.acc-show-box { position: relative; padding: 26px 28px 30px; border-radius: 18px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 0% 0%, var(--gold-soft), transparent 55%), linear-gradient(180deg, var(--white), var(--card));
  box-shadow: var(--shadow-raise); }
.acc-show-box::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, transparent, var(--gold) 20% 80%, transparent); }
.acc-show-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.acc-show-head h2 { margin: 6px 0 0; font-size: clamp(24px, 3vw, 36px); }
.acc-show-head .link { white-space: nowrap; }
.acc-show-row { display: grid; gap: 20px; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); }
.acc-show-row.n1 { --n: 1; } .acc-show-row.n2 { --n: 2; } .acc-show-row.n3 { --n: 3; }
.acc-feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-rest); transition: transform .25s ease, box-shadow .25s ease; }
.acc-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.acc-show-row.n1 .acc-feat { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); max-width: 860px; margin: 0 auto; width: 100%; }
.acc-show-row.n3 .acc-feat { grid-template-columns: 1fr; }
.acc-feat-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--card); overflow: hidden; }
.acc-feat-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.acc-feat:hover .acc-feat-media img { transform: scale(1.04); }
.acc-new { position: absolute; top: 12px; left: 12px; background: var(--burgundy); color: #fff; font-size: 11.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.acc-feat-body { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 20px 22px; min-width: 0; }
.acc-feat-body h3 { font: 600 clamp(19px, 1.8vw, 24px)/1.2 var(--serif); margin: 0; }
.acc-feat-body h3 a { color: var(--ink); }
.acc-feat-body p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acc-feat-colours { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.acc-feat-body .price-row { margin-top: 4px; }
.acc-feat-body .price-row .now { font-size: 24px; }
.acc-feat-body .btn { align-self: flex-start; margin-top: 4px; }

@media (max-width: 1000px) {
  .acc-show-row.n3 { --n: 2; }
  .acc-show-row.n2 .acc-feat { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .acc-show-box { padding: 20px 14px 18px; border-radius: 14px; }
  .acc-show-head { margin-bottom: 14px; }
  .acc-show-row, .acc-show-row.n2, .acc-show-row.n3 { --n: 1; gap: 12px; }
  .acc-show-row .acc-feat, .acc-show-row.n2 .acc-feat, .acc-show-row.n3 .acc-feat { grid-template-columns: 42% minmax(0, 1fr); }
  .acc-feat-body { padding: 12px 14px; gap: 6px; }
  .acc-feat-body p { font-size: 13px; -webkit-line-clamp: 2; }
  .acc-feat-body .price-row .now { font-size: 19px; }
  .acc-feat-body .btn { font-size: 13px; padding-left: 10px; padding-right: 10px; }
  .acc-new { top: 8px; left: 8px; font-size: 10px; padding: 4px 8px; }
  .acc-feat-media { aspect-ratio: auto; min-height: 100%; }
  .acc-feat-colours > span { display: none; }
  .acc-feat .acc-dots { gap: 5px; flex-wrap: nowrap; }
  .acc-feat .acc-dot { width: 13px; height: 13px; flex: none; }
  .acc-feat-body .btn { white-space: nowrap; }
  .acc-feat-body .btn .ms { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .acc-feat, .acc-feat-media img { transition: none; }
  .acc-feat:hover, .acc-feat:hover .acc-feat-media img { transform: none; }
}
