/* CheapestSexToys design system — brand purple #8050a0 (logo), pink + berry-red.
   Preview stylesheet for the redesigned homepage. */

:root {
  --purple:      #8050a0;   /* logo brand */
  --purple-deep: #4a2a5e;
  --purple-dark: #35203f;
  --pink:        #d94a9c;
  --berry:       #d6215f;   /* CTA / price / sale */
  --berry-dark:  #b3164c;
  --blush:       #faf5fb;
  --blush-2:     #f3e9f4;
  --line:        #e9dfec;
  --ink:         #2b2130;
  --muted:       #7a6b82;
  --white:       #ffffff;
  --ok:          #2e7d43;

  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Oswald", var(--font-body);

  --container: 1200px;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --sh-card: 0 2px 10px rgba(43,33,48,.07);
  --sh-hover: 0 12px 28px rgba(74,42,94,.18);
  --gap: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--berry); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; color: var(--ink); margin: 0 0 .4em; letter-spacing: .3px; }

.container { max-width: var(--container); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.section { padding-top: 48px; padding-bottom: 48px; }
.section--tight { padding-top: 30px; padding-bottom: 30px; }

/* ---------- Masthead ---------- */
.masthead { background: var(--purple-dark); color: #e7dcec; font-size: 12.5px; }
.masthead .container { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; padding: 8px 20px; }
.masthead span { display: inline-flex; align-items: center; gap: 7px; }
.masthead .fa { color: var(--pink); }
@media (max-width: 680px) { .masthead span:nth-child(2), .masthead span:nth-child(3) { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand img { height: 42px; width: auto; }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; color: var(--purple); cursor: pointer; margin-left: auto; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { font-weight: 600; font-size: 14.5px; color: var(--ink); letter-spacing: .2px; white-space: nowrap; }
.nav a:hover { color: var(--purple); }
.search-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 22px;
  border-radius: var(--r-pill); background: var(--purple); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .2px;
}
.search-btn:hover { background: var(--berry); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 500; letter-spacing: .3px;
  background: var(--berry); color: #fff; border: 0; border-radius: var(--r-pill); padding: 12px 26px; cursor: pointer;
  font-size: 16px; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--berry-dark); color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 14px 32px; font-size: 17px; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; color: var(--purple); border-color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 400px at 15% -20%, rgba(217,74,156,.55), transparent 60%),
    linear-gradient(120deg, var(--purple) 0%, #9a4fa6 45%, var(--pink) 100%);
  color: #fff; padding: 66px 0 74px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); border-radius: 50%;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy { max-width: 580px; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 12.5px; font-weight: 700; opacity: .92; margin-bottom: 12px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 15ch; margin-bottom: 14px; }
.hero p { font-size: 1.08rem; max-width: 46ch; opacity: .95; margin: 0 0 4px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 6px; }
.hero-pills { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }

/* Scattered product collage */
.hero-collage { position: relative; min-height: 360px; }
.hc-item { position: absolute; width: 150px; height: 150px; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-hover); display: grid; place-items: center; padding: 14px; }
.hc-item img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hc-item:nth-child(1) { top: 0; left: 8%; width: 172px; height: 172px; transform: rotate(-5deg); z-index: 2; }
.hc-item:nth-child(2) { top: 26px; right: 4%; transform: rotate(5deg); }
.hc-item:nth-child(3) { top: 176px; left: 0; transform: rotate(6deg); }
.hc-item:nth-child(4) { bottom: -6px; left: 34%; width: 162px; height: 162px; transform: rotate(-4deg); z-index: 3; }
.hc-item:nth-child(5) { top: 158px; right: 10%; transform: rotate(-8deg); }
.hero-pills a { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.3); padding: 7px 16px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; }
.hero-pills a:hover { background: #fff; color: var(--purple); }

/* ---------- Trust strip ---------- */
.trust { background: var(--purple-deep); color: #fff; }
.trust .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px; padding: 13px 20px; font-size: 13.5px; font-weight: 600; }
.trust span { opacity: .95; }
.trust b { color: #ffd9ec; }

/* ---------- Section heading ---------- */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px; gap: 16px; }
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.sec-head .more { font-weight: 700; font-size: 14px; white-space: nowrap; }
.sec-sub { color: var(--muted); margin: -14px 0 26px; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cat-tile {
  position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/5;
  background: var(--blush-2); display: block; box-shadow: var(--sh-card);
}
/* Catalogue images are cut-outs / studio shots on white; contain (not cover) shows
   the whole product, and multiply blends the white ground into the blush tile. */
.cat-tile img { width: 100%; height: 100%; object-fit: contain; padding: 22px 22px 52px; mix-blend-mode: multiply; transition: transform .4s ease; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(53,32,63,0) 58%, rgba(53,32,63,.82) 100%); }
.cat-tile .label { position: absolute; left: 18px; bottom: 15px; right: 18px; z-index: 2; color: #fff; }
.cat-tile .label h3 { color: #fff; font-size: 1.35rem; margin: 0; }
.cat-tile .label span { font-size: 13px; opacity: .9; font-weight: 600; }

/* Homepage "All Categories" directory (reuses .cat-dir-* below the tiles) */
.cat-directory { margin-top: 46px; padding-top: 38px; border-top: 1px solid var(--line); }
.dir-head { margin: 48px 0 22px; padding-top: 38px; border-top: 1px solid var(--line); font-size: 1.35rem; }
.cat-directory--flush { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.pcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); border-color: transparent; }
.pcard .thumb { aspect-ratio: 1; background: var(--blush); display: grid; place-items: center; padding: 8px; }
.pcard .thumb img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.pcard .body { padding: 13px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard .brand { font-size: 11.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 700; margin-bottom: 5px; }
.pcard .name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.pcard .price { font-family: var(--font-head); color: var(--berry); font-size: 1.25rem; font-weight: 600; }
.pcard .price small { font-weight: 400; font-size: .7em; color: var(--muted); }
.pcard .cmp { font-size: 11px; font-weight: 700; color: var(--purple); background: var(--blush-2); padding: 5px 10px; border-radius: var(--r-pill); }
.pcard .price-unconfirmed { color: var(--muted); font-size: .95rem; font-weight: 600; font-style: italic; }

/* ---------- Editorial ---------- */
.edit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.ecard { border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 24px; background: var(--blush); transition: box-shadow .18s, transform .18s; }
.ecard:hover { box-shadow: var(--sh-hover); transform: translateY(-3px); }
.ecard .tag { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--pink); }
.ecard h3 { font-size: 1.3rem; margin: 8px 0 8px; }
.ecard p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.ecard .read { font-weight: 700; font-size: 14px; }

.bg-blush { background: var(--blush); }

/* ---------- Page head / breadcrumb / listings ---------- */
.page-head { background: linear-gradient(180deg, var(--blush) 0%, #fff 100%); border-bottom: 1px solid var(--line); padding: 14px 0 18px; }
.page-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 6px 0 6px; }

/* Category header with representative hero image */
.cat-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.cat-head-copy { min-width: 0; }
.cat-head-img { flex-shrink: 0; width: 200px; height: 158px; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-card); display: grid; place-items: center; padding: 16px; }
.cat-head-img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.page-sub { color: var(--muted); font-size: 14.5px; margin: 0; }
.breadcrumb { font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb .bc-sep { color: var(--purple); font-weight: 700; padding: 0 2px; }

.refine { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; }
.refine-label { font-weight: 700; color: var(--ink); font-size: 14px; margin-right: 4px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--blush); border: 1px solid var(--line); color: var(--ink); padding: 8px 15px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; }
.chip b { color: var(--purple); font-weight: 700; }
.chip:hover { border-color: var(--purple); background: #fff; color: var(--purple); }

.empty { text-align: center; color: var(--muted); padding: 50px 0; font-size: 16px; }

.search-page-form { display: flex; gap: 10px; max-width: 640px; margin-top: 16px; }
.search-page-form input { flex: 1; height: 50px; border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 0 22px; font-size: 16px; font-family: var(--font-body); color: var(--ink); outline: none; }
.search-page-form input:focus { border-color: var(--purple); }
.search-page-form .btn { padding: 0 24px; }

/* ---------- Faceted listing (category + search) ---------- */
.listing { display: grid; grid-template-columns: 262px 1fr; gap: 34px; align-items: start; }
.listing-main { min-width: 0; }
.prod-grid--listing { grid-template-columns: repeat(3, 1fr); }

.filters { position: sticky; top: 90px; }
.filter-form { border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 18px 18px; background: #fff; }
.filter-head { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0 8px; border-bottom: 2px solid var(--blush-2); margin-bottom: 4px; }
.filter-head .filter-head-label { font-family: var(--font-head); font-weight: 500; letter-spacing: .3px; color: var(--ink); font-size: 1.15rem; }
.filter-reset { font-size: 12.5px; font-weight: 700; color: var(--berry); }
.filter-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group .fg-label { display: block; font-family: var(--font-head); font-size: 12.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 0 0 10px; }
.filter-group ul { list-style: none; margin: 0; padding: 0; }
.filter-group label { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14px; cursor: pointer; color: var(--ink); }
.filter-group label:hover { color: var(--purple); }
.filter-group input[type=checkbox] { accent-color: var(--purple); width: 16px; height: 16px; flex-shrink: 0; }
.filter-group .fl { flex: 1; }
.filter-group .fc { color: var(--muted); font-size: 12px; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; height: 38px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 10px; font-family: var(--font-body); font-size: 14px; outline: none; }
.price-range input:focus { border-color: var(--purple); }
.filter-apply { width: 100%; justify-content: center; margin-top: 16px; }

.rich { color: var(--ink); line-height: 1.7; }
.rich p { margin: 0 0 1em; }
.rich h2 { font-size: 1.5rem; margin: 1.4em 0 .5em; }
.rich h3 { font-size: 1.2rem; margin: 1.2em 0 .4em; }
.rich ul, .rich ol { padding-left: 1.3em; margin: 0 0 1em; }
.rich li { margin-bottom: .4em; }
.rich a { font-weight: 600; text-decoration: underline; }
.cat-intro { max-width: 760px; margin-top: 16px; font-size: 15px; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.product-gallery { background: var(--blush); border-radius: var(--r-md); display: grid; place-items: center; padding: 34px; align-self: start; }
.product-gallery img { max-width: 100%; max-height: 460px; object-fit: contain; mix-blend-mode: multiply; }
.brandline { text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 700; font-size: 12.5px; margin: 0 0 6px; }
.product-buy h1 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin: 0 0 14px; }
.price-lead { display: flex; align-items: baseline; gap: 9px; margin-bottom: 20px; }
.price-lead .from { color: var(--muted); font-size: 14px; }
.price-lead .amt { font-family: var(--font-head); color: var(--berry); font-size: 2.2rem; font-weight: 600; }
.offers-intro { font-weight: 700; margin: 0 0 12px; font-size: 15px; }
.offers { display: flex; flex-direction: column; gap: 10px; }
.offer-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.offer-row:hover { border-color: var(--purple); box-shadow: var(--sh-card); }
.offer-brand { justify-self: start; }
.offer-logo { max-height: 32px; max-width: 130px; object-fit: contain; }
.offer-name { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.offer-price { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.offer-flag { font-family: var(--font-body); font-size: 10px; text-transform: uppercase; letter-spacing: .5px; background: #e6f4ea; color: var(--ok); padding: 3px 7px; border-radius: var(--r-pill); font-weight: 700; }
.offer-stale { font-family: var(--font-body); font-size: 10px; text-transform: uppercase; letter-spacing: .5px; background: var(--blush-2); color: var(--muted); padding: 3px 7px; border-radius: var(--r-pill); font-weight: 700; }
.price-lead .price-unconfirmed { color: var(--muted); font-size: 1.15rem; font-weight: 600; font-style: italic; }
.offer-btn { padding: 9px 20px; font-size: 14px; }
.buy-note { margin-top: 18px; color: var(--muted); font-size: 13px; }
.buy-note .fa { color: var(--purple); }

.product-section { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 34px; }
.product-section h2 { font-size: 1.5rem; margin-bottom: 16px; }
.section-label { font-family: var(--font-head); font-weight: 500; line-height: 1.15; letter-spacing: .3px; color: var(--ink); font-size: 1.5rem; margin: 0 0 16px; }
.specs .article-tabl-row { display: grid; grid-template-columns: 220px 1fr; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.specs .key { font-weight: 700; color: var(--ink); }
.specs .value { color: var(--muted); }
.specs .cleary, .reviews .cleary { display: none; }
.reviews .review { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 14px; background: var(--blush); }
.reviews .review-left p { margin: 8px 0; }
.reviews .review-date { color: var(--muted); font-size: 13px; }
.reviews .review-right strong { color: var(--purple); }
.reviews .star { display: inline-block; color: #f5a623; }
.reviews .star::before { content: "\2605"; }

/* ---------- Footer ---------- */
.site-footer { background: var(--purple-dark); color: #d9cfe0; padding: 54px 0 0; }
.site-footer .foot-h { font-family: var(--font-head); color: #fff; font-size: 1.05rem; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 16px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer a { color: #d9cfe0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.foot-brand img { height: 38px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .9; }
.foot-brand p { font-size: 13.5px; color: #b7a8c0; max-width: 32ch; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--pink); }
.subfoot { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding: 20px 0; font-size: 13px; color: #b7a8c0; }
.subfoot .container { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.subfoot a { color: #b7a8c0; }

/* ---------- Content pages ---------- */
.content-body { max-width: 860px; }

.link-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.link-item { display: block; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; background: var(--blush); transition: box-shadow .18s, transform .18s; }
.link-item:hover { box-shadow: var(--sh-hover); transform: translateY(-3px); }
.link-item h3 { margin: 0 0 8px; font-size: 1.25rem; }
.link-item .read { color: var(--berry); font-weight: 700; font-size: 14px; }

.roundup { display: flex; flex-direction: column; gap: 20px; margin: 26px 0 0; }
.roundup-item { display: grid; grid-template-columns: 44px 180px 1fr; gap: 20px; align-items: start; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; background: #fff; }
.ru-rank { width: 40px; height: 40px; border-radius: 50%; background: var(--purple); color: #fff; font-family: var(--font-head); font-size: 1.25rem; display: grid; place-items: center; }
.ru-img { background: var(--blush); border-radius: var(--r-sm); display: grid; place-items: center; padding: 14px; aspect-ratio: 1; }
.ru-img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ru-body h3 { font-size: 1.25rem; margin: 0 0 8px; }
.ru-body h3 a { color: var(--ink); }
.ru-body h3 a:hover { color: var(--purple); }
.ru-price { margin-bottom: 10px; }
.ru-price .now { font-family: var(--font-head); color: var(--berry); font-size: 1.3rem; font-weight: 600; }
.ru-price .rrp { text-decoration: line-through; color: var(--muted); margin-right: 6px; }
.ru-desc { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 14px; }
.ru-desc p { margin: 0 0 .6em; }
.ru-btn { padding: 10px 22px; font-size: 14px; }

.cat-directory { columns: 2; column-gap: 44px; }
.cat-dir-group { break-inside: avoid; margin-bottom: 26px; }
.cat-dir-group h3 { font-size: 1.12rem; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--blush-2); }
.cat-dir-group h3 a { color: var(--ink); }
.cat-dir-group h3 a:hover { color: var(--purple); }
.cat-dir-group ul { list-style: none; padding: 0; margin: 0; }
.cat-dir-group li { margin: 5px 0; }
.cat-dir-group ul ul { padding-left: 16px; margin-top: 4px; }
.cat-dir-group .cnt { color: var(--muted); font-size: 12.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-collage { display: none; }
  .product { grid-template-columns: 1fr; gap: 24px; }
  .listing { grid-template-columns: 1fr; gap: 20px; }
  .filters { position: static; }
  .filter-group ul { max-height: none; }
  .prod-grid--listing { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .edit-grid { grid-template-columns: 1fr; }
  .cat-head-img { display: none; }
  .trust .container { gap: 18px; }
  .section { padding-top: 34px; padding-bottom: 34px; }
  .link-list { grid-template-columns: 1fr; }
  .cat-directory { columns: 1; }
  .roundup-item { grid-template-columns: 36px 1fr; }
  .roundup-item .ru-img { grid-column: 2; max-width: 200px; }
}

/* 404 / 410 page */
.nf-search{display:flex;gap:.5rem;max-width:560px;margin:16px 0 0}
.nf-search input{flex:1;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r-md);font:inherit;background:var(--white);color:var(--ink)}
.nf-h2{font-family:var(--font-head);font-weight:500;font-size:1.4rem;color:var(--ink);margin:0 0 14px}
.nf-cats{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px}
.nf-cats a{display:inline-block;padding:9px 16px;background:var(--blush);color:var(--ink);border-radius:var(--r-pill);text-decoration:none;font-weight:600}
.nf-cats a:hover{background:var(--berry);color:var(--white)}

/* category pagination */
.pagination{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;align-items:center;margin:40px 0 12px}
.pg{display:inline-flex;min-width:46px;justify-content:center;align-items:center;padding:11px 16px;border:1px solid var(--line);border-radius:var(--r-md);text-decoration:none;color:var(--ink);font-weight:600}
.pg:hover{background:var(--blush)}
.pg-cur{background:var(--purple);border-color:var(--purple);color:var(--white)}
.pg-gap{border:0;min-width:auto;padding:11px 4px;color:var(--muted);letter-spacing:2px}
