/* ===========================================================================
   Shop page — "Redesign website for modern look" (Figma Make export).

   Ported from src/pages/StorePage.tsx + src/components/CouponCard.tsx.
   Everything is scoped under `.wds` so the dark navbar and footer, and every
   other page on the site, are untouched.

   Palette and type follow the export: Outfit (sans), DM Serif Display
   (headings), JetBrains Mono (codes), lime accent on a #FAFFFE ground with
   white slate-bordered cards.

   One deliberate deviation: the export prints white text on lime-500
   (#84cc16), which measures 1.9:1 and fails WCAG AA. Fills that carry white
   text use lime-700 (#4d7c0f, 5.2:1) instead — visually the same green, and it
   keeps the page's Accessibility score at 100.
   =========================================================================== */

.wds {
  --l50:  #f7fee7;
  --l100: #ecfccb;
  --l500: #84cc16;
  --l600: #65a30d;
  --l700: #4d7c0f;   /* AA-safe fill for white text */
  --l800: #3f6212;

  --s900: #0f172a;
  --s800: #1e293b;
  --s700: #334155;
  --s600: #475569;
  --s500: #64748b;
  --s400: #94a3b8;
  --s200: #e2e8f0;
  --s100: #f1f5f9;
  --s50:  #f8fafc;

  --ok-bg: #d1fae5; --ok-fg: #065f46; --ok-br: #a7f3d0;
  --hot:   #e11d48;

  /* One family, self-hosted, as promokodna does. The Figma export asked
     for Outfit + DM Serif Display + JetBrains Mono — three Google-hosted
     families on the critical path — and the weight difference is what carries
     the hierarchy anyway. */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;

  --card-r: 16px;
  --shadow:   0 1px 2px rgba(15,23,42,.04);
  --shadow-h: 0 20px 40px -18px rgba(15,23,42,.28), 0 2px 6px rgba(15,23,42,.06);

  position: relative;
  z-index: 1;
  overflow-x: clip;                 /* the full-bleed hero must not scroll the page */
  background: #FAFFFE;
  color: var(--s900);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 56px;
}

.wds h1, .wds h2, .wds h3 { font-family: var(--font-display); font-weight: 700; color: var(--s900); letter-spacing: -0.02em; }
.wds h2 { font-size: 22px; line-height: 1.25; margin: 0 0 18px; }
.wds h3 { font-size: 17px; line-height: 1.3; margin: 0 0 10px; }
.wds p  { color: var(--s600); }
.wds a  { color: var(--l700); text-decoration: none; }
.wds a:hover { color: var(--l800); }
.wds strong, .wds b { font-weight: 700; color: #0c0e13; }

.wds__wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- Breadcrumb bar ------------------------------------------------------ */
.wds-crumbs {
  background: #fff; border-bottom: 1px solid var(--s100);
  margin: 0 -9999px; padding: 14px 9999px;
  font-size: 14px; color: var(--s500);
}
.wds-crumbs a { color: var(--s500); }
.wds-crumbs a:hover { color: var(--l600); }
.wds-crumbs span[aria-current] { color: var(--s700); }

/* ---- Hero ---------------------------------------------------------------- */
.wds-hero {
  position: relative; margin: 0 -9999px; padding: 0 9999px;
  min-height: 256px; display: flex; align-items: center;
  background: var(--s900); overflow: hidden;
}
.wds-hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .40; pointer-events: none;
}
.wds-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,.92), rgba(15,23,42,.35));
}
.wds-hero__in { position: relative; display: flex; align-items: center; gap: 24px; padding: 34px 0; width: 100%; }
.wds-hero__logo {
  width: 80px; height: 80px; border-radius: 16px; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.20); background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.wds-hero__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.wds-hero__logo span { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--s900); }
.wds-hero h1 { color: #fff; font-size: 36px; line-height: 1.15; margin: 0; }
.wds-hero__meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 10px; font-size: 14px; color: #cbd5e1;
}
.wds-hero__meta a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.wds-hero__sep { color: #64748b; }
.wds-hero__meta .wd-star { color: #fbbf24; padding: 5px; }
.wds-hero__meta .wd-star.is-on, .wds-hero__meta .wd-star.is-hover { color: #fcd34d; }
.wds-hero__meta .wd-stars.is-voted .wd-star { color: #86efac; }
.wds-hero__meta .wd-stars.is-voted .wd-star.is-on { color: #4ade80; }
.wds-hero__meta .wd-stars__txt { color: #cbd5e1; font-size: 13px; }

/* ---- Two-column shell ---------------------------------------------------- */
.wds-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; padding: 40px 0 0; align-items: start; }
.wds-main { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.wds-side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 20px; }

/* ---- Cards --------------------------------------------------------------- */
.wds-card {
  background: #fff; border: 1px solid var(--s100); border-radius: var(--card-r);
  padding: 24px; box-shadow: var(--shadow);
}
.wds-card--lime { background: var(--l50); border-color: var(--l100); }

/* ---- Coupon grid + card -------------------------------------------------- */
.wds-deals { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.wds-coupon {
  position: relative; background: #fff; border: 1px solid var(--s100);
  border-radius: var(--card-r); box-shadow: var(--shadow); padding: 20px;
  display: flex; flex-direction: column;
  transition: box-shadow .3s ease, transform .3s ease;
}
.wds-coupon:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); }

.wds-coupon__badges { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.wds-badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.wds-badge--disc { background: var(--l700); color: #fff; margin-left: auto; font-size: 12px; padding: 4px 11px; }
.wds-badge--exc  { background: var(--l700); color: #fff; }
.wds-badge--hot  { background: var(--hot);  color: #fff; }
.wds-badge--ver  { background: var(--ok-bg); color: var(--ok-fg); border: 1px solid var(--ok-br); }
.wds-badge--new  { background: #ede9fe; color: #5b21b6; }

.wds-coupon__store { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; }
.wds-coupon__store img { width: 32px; height: 32px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--s100); flex-shrink: 0; }
.wds-coupon__store b { color: var(--s700); font-weight: 600; }
.wds-coupon__store span { color: var(--s400); font-size: 12.5px; }

.wds-coupon__title { font-size: 15px; font-weight: 600; color: var(--s900); line-height: 1.45; margin: 0 0 6px; font-family: var(--font-sans); }
.wds-coupon__desc {
  font-size: 14px; color: var(--s500); line-height: 1.6; margin: 0 0 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wds-coupon__foot { margin-top: auto; }
.wds-coupon__exp { font-size: 11.5px; color: var(--s500); text-align: center; margin: 8px 0 0; }

/* ---- Code bar: curtain slides away, then Copy unlocks -------------------- */
.wds-code { position: relative; height: 48px; border-radius: 12px; overflow: hidden; background: var(--l50); margin-bottom: 12px; }
.wds-code__val {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; gap: 10px;
}
.wds-code__text {
  font-family: var(--font-mono); font-weight: 700; letter-spacing: .18em;
  color: var(--l800); font-size: 14px; user-select: none; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.wds-code__uses { font-size: 11px; color: var(--l700); font-weight: 500; white-space: nowrap; }
.wds-code__curtain {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(90deg, var(--l700), var(--l800));
  color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; border: 0; width: 100%;
  font-family: var(--font-sans);
  transform: translateX(0);
  transition: transform .65s cubic-bezier(.4,0,.2,1);
}
.wds-code.is-revealed .wds-code__curtain { transform: translateX(101%); cursor: default; pointer-events: none; }

.wds-copy {
  width: 100%; height: 44px; border: 0; border-radius: 12px; cursor: not-allowed;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--s100); color: var(--s400);
  transition: background .25s ease, color .25s ease, transform .15s ease;
}
.wds-code.is-revealed ~ .wds-copy,
.wds-copy.is-on { background: var(--s900); color: #fff; cursor: pointer; }
.wds-copy.is-on:hover { background: var(--l700); }
.wds-copy.is-on:active { transform: scale(.97); }
.wds-copy.is-copied { background: #059669; color: #fff; }

/* Codeless offer: same footprint as the code bar so the grid stays even. */
.wds-offer {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 48px; border-radius: 12px; margin-bottom: 12px;
  background: linear-gradient(90deg, var(--l700), var(--l800));
  color: #fff; font-size: 14px; font-weight: 600;
}
.wds-offer:hover { color: #fff; filter: brightness(1.06); }

/* ---- Feedback row -------------------------------------------------------- */
.wds-fb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; font-size: 12.5px; color: var(--s500); }
.wds-fb__btn {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; min-height: 26px;
  background: #fff; border: 1px solid var(--s200); border-radius: 8px;
  color: var(--s600); font-size: 12.5px; cursor: pointer; font-family: var(--font-sans);
}
.wds-fb__btn:hover { background: var(--s50); border-color: var(--s400); }

/* ---- Sidebar ------------------------------------------------------------- */
.wds-info { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.wds-info__row { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.wds-info__row > span:first-child { color: var(--s500); }
.wds-info__row > span:last-child  { font-weight: 600; color: var(--s900); text-align: right; }
.wds-info__row--rate > span:last-child { color: #b45309; }
.wds-info__row--link > span:last-child a { color: var(--l700); }

.wds-rel { display: flex; flex-direction: column; gap: 4px; }
.wds-rel__item {
  display: flex; align-items: center; gap: 12px; padding: 8px; margin: 0 -8px;
  border-radius: 12px; transition: background .2s ease;
}
.wds-rel__item:hover { background: var(--s50); }
.wds-rel__logo {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; background: #fff;
  border: 1px solid var(--s100); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: var(--s700); overflow: hidden;
}
.wds-rel__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.wds-rel__main { flex: 1; min-width: 0; }
.wds-rel__name { font-size: 14px; font-weight: 600; color: var(--s700); margin: 0; }
.wds-rel__item:hover .wds-rel__name { color: var(--l700); }
.wds-rel__sub { font-size: 12px; color: var(--s500); margin: 0; }
.wds-rel__arr { color: var(--s200); }
.wds-rel__item:hover .wds-rel__arr { color: var(--l500); }

.wds-cta {
  display: flex; align-items: center; justify-content: center; width: 100%; padding: 13px 16px;
  background: var(--s900); color: #fff; font-weight: 600; font-size: 14px; border-radius: 12px;
  transition: background .25s ease;
}
.wds-cta:hover { background: var(--l700); color: #fff; }

/* ---- Editorial prose ----------------------------------------------------- */
.wds-prose p, .wds-prose li { color: var(--s700); font-size: 15.5px; line-height: 1.75; }
.wds-prose ol, .wds-prose ul { padding-left: 20px; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.wds-prose ol { list-style: decimal; }
.wds-prose ul { list-style: disc; }
.wds-prose h2 { margin-top: 4px; }

/* ---- FAQ ----------------------------------------------------------------- */
.wds-faq { display: flex; flex-direction: column; gap: 14px; }
.wds-faq details { background: #fff; border: 1px solid var(--s100); border-radius: var(--card-r); padding: 4px 22px; box-shadow: var(--shadow); }
.wds-faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--s900); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wds-faq summary::-webkit-details-marker { display: none; }
.wds-faq summary::after { content: "+"; color: var(--l600); font-size: 20px; font-weight: 400; }
.wds-faq details[open] summary::after { content: "\2212"; }
.wds-faq p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.7; }

/* ---- Pros / cons --------------------------------------------------------- */
.wds-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wds-pc__col { border: 1px solid var(--s100); border-radius: var(--card-r); padding: 18px; background: #fff; }
.wds-pc__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.wds-pc__col li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.62; color: var(--s600); }
.wds-pc__col li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.wds-pc__col--pro { background: var(--l50); border-color: var(--l100); }
.wds-pc__col--pro h3 { color: var(--l800); }
.wds-pc__col--pro li::before { content: "\2713"; color: var(--l700); }
.wds-pc__col--con { background: #fff7ed; border-color: #fed7aa; }
.wds-pc__col--con h3 { color: #9a3412; }
.wds-pc__col--con li::before { content: "!"; color: #c2410c; }

/* ---- Reviews ------------------------------------------------------------- */
.wds-reviews { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.wds-review { background: #fff; border: 1px solid var(--s100); border-radius: var(--card-r); padding: 18px 20px; box-shadow: var(--shadow); }
.wds-review__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; font-size: 14px; }
.wds-review__stars { color: #d97706; letter-spacing: .05em; }
.wds-review time { color: var(--s500); font-size: 12.5px; }
.wds-review p { margin: 0; font-size: 14.5px; line-height: 1.7; }

/* ---- Forms --------------------------------------------------------------- */
.wds-form { display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.wds-form__row { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--s700); }
.wds-form input[type=text], .wds-form select, .wds-form textarea {
  background: #fff; color: var(--s900); border: 1px solid var(--s200); border-radius: 10px;
  padding: 11px 13px; font-family: var(--font-sans); font-size: 15px;
}
.wds-form input:focus, .wds-form select:focus, .wds-form textarea:focus {
  outline: none; border-color: var(--l600); box-shadow: 0 0 0 3px rgba(101,163,13,.16);
}
.wds-form textarea { resize: vertical; }
.wds-form__captcha { flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; }
.wds-form__captcha input[type=range] { flex: 1; min-width: 180px; accent-color: var(--l600); }
.wds-form__captcha output { min-width: 34px; text-align: center; font-weight: 700; color: var(--l700); }
.wds-form__errors { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 10px; padding: 12px 16px; list-style: none; margin: 0 0 12px; }
.wds-btn {
  align-self: flex-start; padding: 12px 22px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--s900); color: #fff; font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  transition: background .25s ease;
}
.wds-btn:hover { background: var(--l700); }

/* ---- Sort / filter bar --------------------------------------------------- */
.wds-sort { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; font-size: 14px; }
.wds-sort__group { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.wds-sort__lbl { color: var(--s500); }
.wds-sort__tab {
  padding: 7px 15px; border-radius: 999px; border: 1px solid var(--s200);
  color: var(--s600); font-weight: 500; background: #fff;
}
.wds-sort__tab:hover { border-color: var(--l500); color: var(--l700); }
.wds-sort__tab.is-active { background: var(--s900); color: #fff; border-color: var(--s900); }
.wds-sort__opt { padding: 7px 10px; color: var(--s500); border-radius: 8px; }
.wds-sort__opt:hover { color: var(--l700); }
.wds-sort__opt.is-active { color: var(--l700); font-weight: 600; }

/* ---- Small pieces -------------------------------------------------------- */
.wds-note {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 13px 16px; border: 1px solid var(--l100); background: var(--l50);
  border-radius: 12px; font-size: 14px; color: var(--s700); margin-bottom: 20px;
}
.wds-expired { display: flex; flex-direction: column; gap: 8px; }
.wds-expired__row {
  display: flex; align-items: center; gap: 14px; padding: 11px 16px;
  border: 1px solid var(--s100); border-radius: 12px; background: var(--s50);
  font-size: 13.5px; color: var(--s600);
}
.wds-expired__code { font-family: var(--font-mono); text-decoration: line-through; color: var(--s500); }
.wds-expired__row time { color: var(--s500) !important; }
.wds-editor { display: flex; gap: 20px; align-items: flex-start; }
.wds-editor img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.wds-editor__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--l700); margin-bottom: 8px; }
.wds-editor__sign { font-size: 13.5px; color: var(--s500); }
.wds-editor__sign b { color: var(--s800); }
.wds-pagination { margin-top: 26px; }

@media (max-width: 1000px) {
  .wds-grid { grid-template-columns: 1fr; gap: 28px; }
  .wds-side { position: static; }
  .wds-deals { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wds-hero__in { flex-direction: column; align-items: flex-start; gap: 16px; }
  .wds-hero h1 { font-size: 26px; }
  .wds-hero__logo { width: 64px; height: 64px; border-radius: 14px; }
  .wds-pc { grid-template-columns: 1fr; }
  .wds-card { padding: 18px; }
}

/* ---- Section nav ---------------------------------------------------------
   Reads like the old tab bar, but every section it points at is on the page:
   it scrolls rather than hides, so nothing is display:none for a crawler. */
.wds-nav {
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
  background: #fff; border: 1px solid var(--s100); border-radius: 14px;
  padding: 6px; margin: -28px 0 0; position: relative; z-index: 2;
  box-shadow: var(--shadow);
}
.wds-nav__item {
  padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 500;
  color: var(--s600); white-space: nowrap;
}
.wds-nav__item:hover { background: var(--s50); color: var(--s900); }
.wds-nav__item.is-on { background: var(--s900); color: #fff; }
.wds-nav__item.is-on:hover { background: var(--l700); color: #fff; }
/* The nav is fixed-height; give anchors room so a heading is not hidden
   under the sticky site header when you jump to it. */
.wds [id] { scroll-margin-top: 88px; }
@media (max-width: 640px) { .wds-nav { overflow-x: auto; flex-wrap: nowrap; } }


/* Link-buttons: `.wds a` (class + type) outranks a single-class rule, so the
   CTA and the codeless-offer button were painting their label lime-on-dark and
   vanishing. Match on the element too so the white label wins. */
.wds a.wds-cta,  .wds a.wds-cta:hover  { color: #fff; }
.wds a.wds-offer, .wds a.wds-offer:hover { color: #fff; }
.wds a.wds-sort__tab.is-active { color: #fff; }
.wds a.wds-rel__item { color: inherit; }

/* Secondary CTA: `.wds a` would repaint its label lime, so match on the element. */
.wds a.wds-cta--ghost { background: #fff; color: var(--s900); border: 1px solid var(--s200); }
.wds a.wds-cta--ghost:hover { background: var(--s50); color: var(--s900); }

.wds-coupon__more { color: var(--s500); text-decoration: underline; text-underline-offset: 2px; }
.wds-coupon__more:hover { color: var(--l700); }

/* ---- Coupon / offer grouping --------------------------------------------
   A code you copy and a link you follow are different actions; the single
   ungrouped grid gave no visual cue which was which. */
.wds-group + .wds-group { margin-top: 34px; }
.wds-group__title {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin: 0 0 16px; font-family: var(--font-sans); font-size: 14px; font-weight: 400;
  padding-bottom: 10px; border-bottom: 1px solid var(--s100);
}
.wds-group__tag {
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  padding: 5px 12px; border-radius: 999px;
}
.wds-group__tag--code { background: var(--l700); color: #fff; }
.wds-group__tag--deal { background: var(--s900); color: #fff; }
.wds-group__n { color: var(--s500); font-size: 13px; }

.wds-coupon__title a { color: inherit; }
.wds-coupon__title a:hover { color: var(--l700); text-decoration: underline; text-underline-offset: 2px; }
.wds-coupon__geo {
  display: flex; align-items: flex-start; gap: 6px; margin: 0 0 14px;
  font-size: 13px; line-height: 1.5; color: var(--s600);
}

/* ---- "Read more" clamp ---------------------------------------------------
   The full text is always in the DOM — only its height is limited — so a
   crawler reads the whole description while the page stays short. Pure CSS:
   a visually-hidden but focusable checkbox drives the state. */
.wds-more__toggle {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.wds-more { position: relative; max-height: 7.4em; overflow: hidden; }
.wds-more::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.4em;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 85%);
  pointer-events: none;
}
.wds-more__toggle:checked ~ .wds-more { max-height: none; }
.wds-more__toggle:checked ~ .wds-more::after { opacity: 0; }

.wds-more__btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  padding: 8px 16px; border: 1px solid var(--s200); border-radius: 10px;
  background: #fff; color: var(--s900); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.wds-more__btn:hover { background: var(--s50); border-color: var(--l500); color: var(--l700); }
.wds-more__btn::after { content: "\2193"; color: var(--s500); }
.wds-more__toggle:focus-visible ~ .wds-more__btn { outline: 2px solid var(--l700); outline-offset: 2px; }

.wds-more__close { display: none; }
.wds-more__toggle:checked ~ .wds-more__btn .wds-more__open { display: none; }
.wds-more__toggle:checked ~ .wds-more__btn .wds-more__close { display: inline; }
.wds-more__toggle:checked ~ .wds-more__btn::after { content: "\2191"; }

/* Jumping to #about from the section nav should show the description, not a
   clamped teaser — the visitor asked for exactly this block. */
#about:target .wds-more { max-height: none; }
#about:target .wds-more::after { opacity: 0; }
#about:target .wds-more__btn { display: none; }

/* ---- WaveDeals score ----------------------------------------------------
   Our own assessment, shown with its workings so a reader can judge it. */
.wds-score__head { display: flex; align-items: baseline; gap: 10px; }
.wds-score__n { font-size: 30px; font-weight: 800; color: var(--l800); line-height: 1; }
.wds-score__n span { font-size: 15px; font-weight: 600; color: var(--s500); }
.wds-score__band {
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--l50); color: var(--l800);
}
.wds-score__note { font-size: 12.5px; color: var(--s500); margin: 8px 0 14px; line-height: 1.5; }
.wds-score__parts { margin: 0; display: flex; flex-direction: column; gap: 9px; }
.wds-score__parts dt { font-size: 13px; color: var(--s600); }
.wds-score__parts dd { display: flex; align-items: center; gap: 8px; margin: 3px 0 0; }
.wds-score__bar { flex: 1; height: 6px; border-radius: 999px; background: var(--s100); overflow: hidden; }
.wds-score__bar i { display: block; height: 100%; border-radius: 999px; background: var(--l700); }
.wds-score__pct { font-size: 12px; color: var(--s500); min-width: 34px; text-align: right; }

/* Article tables and figures inside the light shop page. */
.wds table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; background: #fff; }
.wds .wd-table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--s100); border-radius: 12px; }
.wds th, .wds td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--s100); vertical-align: top; color: var(--s700); }
.wds th { font-weight: 700; white-space: nowrap; color: var(--s900); background: var(--s50); }
.wds tbody tr:last-child td { border-bottom: 0; }
.wds figure { margin: 26px 0; }
.wds figure img { width: 100%; max-width: 420px; height: auto; border-radius: 14px; border: 1px solid var(--s100); }
.wds figcaption { margin-top: 9px; font-size: 13px; line-height: 1.55; color: var(--s500); }

/* Emphasis inside article bodies reads as emphasis: near-black and properly
   bold, against body copy that is a step darker than it was. */
.wds-prose strong, .wds-prose b,
.wds .wd-prose strong, .wds .wd-prose b { color: #0c0e13; font-weight: 700; }
.wds-prose td, .wds .wd-prose td { color: var(--s700); }
.wds-prose li::marker { color: var(--s500); }

.wds-note--warn { background: #fff7ed; border-color: #fed7aa; color: #7c2d12; }

.wds-coupon__meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 14px; font-size: 12.5px; color: var(--s500); }
.wds-coupon__meta .wds-meta { display: inline-flex; align-items: center; gap: 5px; }
.wds-coupon__meta .wd-ico { color: var(--s400); }
