/* ==========================================================================
   css/catalog.css — v2 product catalogue: #/products · #/c/:id · #/p/:id
   Prefix .ct-  ·  tokens only. Product photos are made for white, so every
   photo tile is #fff in both themes (like the logo plates).
   ========================================================================== */

.ct-page { --ct-hair: 1px solid var(--line); }

/* shared bits ------------------------------------------------------------ */
.ct-chip-ic { display: inline-grid; width: 16px; height: 16px; }
.ct-chip-ic svg { width: 16px; height: 16px; }
.ct-call { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: .95rem; color: var(--ink-2); }
.ct-call__ic { display: inline-grid; width: 18px; height: 18px; color: var(--ink-3); }
.ct-call__ic svg { width: 18px; height: 18px; }
.ct-call__lbl { font: 500 .72rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ct-call__num { font: 600 1.02rem/1.2 var(--font-mono); color: var(--ink); letter-spacing: .01em; user-select: all; }
.ct-call__num:hover { color: var(--blue-text); }
.ct-copy { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius); color: var(--ink-3); transition: background .15s, color .15s; }
.ct-copy svg { width: 17px; height: 17px; }
.ct-copy:hover { background: var(--bg-2); color: var(--ink); }
.ct-page :focus-visible { outline: 2px solid var(--blue-text); outline-offset: 2px; }

/* category "tab" chips: quieter than the group chips, scroll sideways on phones */
.ct-cchips { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-cchip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--ink-2); font-size: .88rem; font-weight: 500; white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.ct-cchip span { font: 500 .7rem/1 var(--font-mono); color: var(--ink-3); }
.ct-cchip:hover { border-color: var(--ink-3); color: var(--ink); background: var(--surface); }
.ct-cchip.is-on { border-color: var(--blue-text); color: var(--blue-text); background: var(--blue-soft); }
.ct-cchip.is-on span { color: inherit; }

/* brand logo cards (category page + search) */
.ct-blogos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ct-blogo { display: grid; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); transition: border-color .15s, transform .2s var(--ease); }
.ct-blogo:hover { border-color: var(--blue-text); transform: translateY(-2px); }
.ct-blogo__plate { display: grid; place-items: center; height: 60px; padding: 8px 12px; background: #fff; border-radius: var(--radius); }
.ct-blogo__plate img { max-height: 40px; max-width: 100%; object-fit: contain; }
.ct-blogo__plate.is-lowres img { mix-blend-mode: multiply; }
.ct-blogo__plate .wordmark { font-size: 1.15rem; }
.ct-blogo__name { font-weight: 600; font-size: .92rem; line-height: 1.2; padding-inline: 2px; }
.ct-blogo__n { color: var(--ink-3); font-size: .7rem; padding-inline: 2px; margin-top: -2px; }

.ct-also__h { margin: 0 0 12px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }

/* pending category (no product photos yet) */
.ct-pend { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(16px, 3vw, 32px); align-items: center; padding: 14px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); background: var(--surface); }
.ct-pend__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.ct-pend__media img { width: 100%; height: 100%; object-fit: cover; }
.ct-pend__body { display: grid; gap: 14px; justify-items: start; }
.ct-pend__types { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ct-pend__logos { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-mini { display: grid; place-items: center; width: 84px; height: 40px; padding: 5px 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s; }
.ct-mini:hover { border-color: var(--blue-text); }
.ct-mini img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ct-mini b { font: 700 .62rem/1 var(--font-body); color: #2b3f8f; text-transform: uppercase; white-space: nowrap; overflow: hidden; max-width: 100%; }
.ct-pend .row .btn { min-height: 40px; }

/* ======================================================================
   #/products
   ====================================================================== */
.ct-top { padding-block: clamp(24px, 3.4vw, 40px) 0; }
.ct-top .breadcrumb { margin-bottom: clamp(16px, 2.4vw, 24px); }
.ct-top__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 20px clamp(32px, 6vw, 96px); align-items: end; }
.ct-top__text { display: grid; gap: 12px; }
.ct-top__text .h1 { font-size: clamp(3rem, 7vw, 5.6rem); line-height: .86; }
.ct-top__lede { margin: 0; max-width: 54ch; color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.12rem); }
.ct-search { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.ct-search__ic { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; }
.ct-search__ic svg { width: 20px; height: 20px; }
.ct-search__input { min-height: 52px; padding-left: 44px; font-size: 1rem; }
.ct-search__input::-webkit-search-cancel-button { cursor: pointer; }
.ct-search__go { min-height: 52px; }
.ct-filters { display: grid; gap: 12px; margin-top: clamp(20px, 3vw, 32px); padding-bottom: 16px; border-bottom: var(--ct-hair); }
.ct-gchips .chip { min-height: 42px; }

.ct-secs { padding-block: clamp(8px, 2vw, 16px) clamp(48px, 6vw, 88px); }
.ct-sec { padding-top: clamp(28px, 4vw, 48px); }
.ct-sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 16px; margin-bottom: 16px; }
.ct-sec__title { display: grid; gap: 6px; }
.ct-sec__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.ct-sec__grp { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-text); }
.ct-sec__title .h3 a:hover { color: var(--blue-text); }
.ct-sec__meta { margin: 0; color: var(--ink-3); font-size: .74rem; letter-spacing: .04em; }
.ct-sec__link { margin-left: auto; }

.ct-results { padding-block: clamp(24px, 3vw, 36px) clamp(48px, 6vw, 88px); }
.ct-results__sum { margin: 0 0 20px; color: var(--ink-2); }
.ct-results__sum b { color: var(--ink); }
.ct-results__sum .link { margin-left: 8px; }
.ct-also { display: grid; gap: 28px; margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: var(--ct-hair); }
.ct-empty { max-width: 560px; margin-inline: auto; }

/* ask band */
.ct-ask { background: var(--bg-2); border-top: var(--ct-hair); padding-block: clamp(40px, 5vw, 64px); }
.ct-ask__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px clamp(32px, 6vw, 96px); align-items: center; }
.ct-ask__text { display: grid; gap: 14px; }
.ct-ask__text .h2 { max-width: 18ch; }
.ct-ask__p { margin: 0; color: var(--ink-2); max-width: 56ch; }
.ct-ask__act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ct-ask__act .ct-call { flex-basis: 100%; margin-top: 4px; }

/* ======================================================================
   #/c/:id
   ====================================================================== */
.ct-chead { padding-block: clamp(24px, 3.4vw, 40px) clamp(20px, 3vw, 32px); }
.ct-chead .breadcrumb { margin-bottom: clamp(16px, 2.4vw, 24px); }
.ct-chead__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px clamp(32px, 5vw, 72px); align-items: end; }
.ct-chead__text { display: grid; gap: 14px; justify-items: start; }
.ct-chead__tag svg { width: 14px; height: 14px; }
.ct-chead__tag:hover { background: var(--blue); color: var(--blue-ink); }
.ct-chead__title { font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: .86; }
.ct-chead__lede { margin: 0; max-width: 58ch; color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.14rem); }
.ct-chead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 2px 0 0; color: var(--ink-3); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
.ct-chead__meta b { color: var(--blue-text); font-weight: 600; font-size: .9rem; }
.ct-chead__meta i { font-style: normal; color: var(--ink-4); }
.ct-chead__fig { margin: 0; width: clamp(220px, 26vw, 360px); aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-2); }
.ct-chead__fig img { width: 100%; height: 100%; object-fit: cover; }
.ct-chead__act { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.ct-cgrid { padding-bottom: clamp(40px, 5vw, 64px); }

.ct-cbrands { padding-bottom: clamp(40px, 5vw, 64px); }
.ct-cbrands__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; padding-top: 24px; border-top: var(--ct-hair); }

.ct-cband { background: var(--surface); border-bottom: var(--ct-hair); padding-block: clamp(32px, 4vw, 48px); }
.ct-cband__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px clamp(32px, 5vw, 72px); align-items: center; }
.ct-cband .h3 { max-width: 24ch; }
.ct-cband__p { margin: 10px 0 0; color: var(--ink-2); max-width: 52ch; }
.ct-cband__act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; max-width: 520px; }
.ct-cband__act .ct-call { flex-basis: 100%; justify-content: flex-end; }

.ct-know { padding-block: clamp(36px, 5vw, 64px); }
.ct-know__grid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 16px clamp(32px, 5vw, 72px); align-items: start; }
.ct-know__head { display: grid; gap: 10px; }
.ct-know__head p { margin: 0; }
.ct-know .accordion summary { font-size: 1rem; padding: 15px 0; }
.ct-know .accordion summary:hover { color: var(--blue-text); }
.ct-tips { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.ct-tips li::marker { color: var(--signal); }

.ct-rel { padding-bottom: clamp(48px, 6vw, 80px); }

/* ======================================================================
   #/p/:id
   ====================================================================== */
.ct-pdp__top { padding-block: clamp(20px, 3vw, 32px) clamp(40px, 5vw, 72px); }
.ct-pdp__top .breadcrumb { margin-bottom: clamp(16px, 2.4vw, 24px); }
.ct-pdp__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }

/* gallery */
.ct-gal { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; scroll-margin-top: calc(var(--header-h) + 12px); }
.ct-gal__main { position: relative; margin: 0; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.ct-gal__main img { width: 100%; height: 100%; object-fit: contain; }
.ct-gal__main img.is-swap { animation: ct-fade .35s var(--ease); }
@keyframes ct-fade { from { opacity: .35; transform: scale(.985); } }
.ct-gal__main .prod-card__badge { top: 14px; left: 14px; }
.ct-gal__none { display: grid; place-items: center; height: 100%; color: #bcc5d3; }
.ct-gal__none svg { width: 30%; height: 30%; }
.ct-gal__cap { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 5px 8px; border-radius: 2px; background: rgba(255, 255, 255, .9); color: #394360; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-gal__cap:empty { display: none; }
.ct-gal__strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding: 2px 2px 4px; }
.ct-thumb { flex: none; display: grid; gap: 5px; width: 76px; text-align: center; color: var(--ink-3); }
.ct-thumb__img { display: block; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.ct-thumb__img img { width: 100%; height: 100%; object-fit: contain; }
.ct-thumb__lbl { font: 500 .62rem/1.15 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-thumb:hover .ct-thumb__img { border-color: var(--ink-3); }
.ct-thumb[aria-pressed="true"] { color: var(--blue-text); }
.ct-thumb[aria-pressed="true"] .ct-thumb__img { border-color: var(--blue-text); box-shadow: 0 0 0 1px var(--blue-text); }

/* info column */
.ct-info { display: grid; gap: 18px; align-content: start; min-width: 0; }
.ct-info__tag { justify-self: start; }
.ct-info__tag svg { width: 14px; height: 14px; }
.ct-info__tag:hover { background: var(--blue); color: var(--blue-ink); }
.ct-info__name { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: .88; margin: 0; overflow-wrap: anywhere; }
.ct-info__desc { margin: 0; font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--ink-2); max-width: 56ch; }
.ct-good { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ct-good .tag svg { width: 12px; height: 12px; color: var(--ok); }

.ct-avail { margin-top: 6px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.ct-avail__head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--blue-soft); }
.ct-avail__n { font: 700 3.4rem/.8 var(--font-display); color: var(--blue-text); letter-spacing: -.02em; }
.ct-avail__t { display: grid; gap: 4px; }
.ct-avail__t b { font: 600 1.35rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.ct-avail__t span { font-size: .86rem; color: var(--ink-2); }
.ct-brows { margin: 0; padding: 0; list-style: none; }
.ct-brow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-bottom: 1px solid var(--line); transition: background .15s; }
.ct-brow:last-child { border-bottom: 0; }
.ct-brow::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent; transition: background .15s; }
.ct-brow:hover { background: var(--bg); }
.ct-brow.is-on { background: var(--bg); }
.ct-brow.is-on::before { background: var(--blue-text); }
.ct-brow__pick { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 14px; text-align: left; min-width: 0; padding: 2px; border-radius: var(--radius); color: var(--ink); cursor: pointer; }
.ct-brow__plate { display: grid; place-items: center; height: 52px; padding: 6px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ct-brow__plate img { max-height: 34px; max-width: 100%; object-fit: contain; }
.ct-brow__plate.is-lowres img { mix-blend-mode: multiply; }
.ct-brow__plate .wordmark { font-size: 1rem; }
.ct-brow__id { display: grid; gap: 6px; min-width: 0; }
.ct-brow__name { font-weight: 650; font-size: 1rem; line-height: 1.2; }
.ct-brow__pick:hover .ct-brow__name { color: var(--blue-text); }
.ct-brow__series { display: flex; flex-wrap: wrap; gap: 4px; }
.ct-brow__series span { padding: 3px 6px; border-radius: 2px; background: var(--bg-2); color: var(--ink-2); font: 500 .68rem/1.1 var(--font-mono); letter-spacing: .02em; }
.ct-brow__series.is-empty { font: 400 .8rem/1.2 var(--font-body); color: var(--ink-3); }
.ct-brow__act { display: flex; align-items: center; gap: 6px; }
.ct-brow__act .btn { min-height: 38px; padding: 0 12px; }
.ct-brow__act .btn[aria-pressed="true"] { --b-bg: var(--blue-soft); --b-bd: transparent; --b-fg: var(--blue-text); }
.ct-brow__wa { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius); background: #25d366; color: #fff; transition: background .15s; }
.ct-brow__wa:hover { background: #1ebe5b; }
.ct-brow__wa svg { width: 19px; height: 19px; }

.ct-cta { display: grid; gap: 14px; padding-top: 4px; }
.ct-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-cta__btns .btn { flex: 1 1 220px; }
.ct-cta__btns .btn[aria-pressed="true"] { --b-bg: var(--ok); --b-bd: var(--ok); --b-fg: #fff; }
.ct-cta__note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .86rem; color: var(--ink-3); }
.ct-cta__note svg { width: 16px; height: 16px; flex: none; color: var(--signal); }

.ct-more { padding-block: clamp(40px, 5vw, 64px); border-top: var(--ct-hair); }
.ct-more--alt { background: var(--bg-2); }
.ct-more__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }

/* mobile sticky bar (only on phones) */
.ct-bar { display: none; }

/* ======================================================================
   responsive
   ====================================================================== */
@media (max-width: 1080px) {
  .ct-pdp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .ct-brow { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px; }
  .ct-brow__act { justify-content: flex-start; padding-left: 112px; }
}
@media (max-width: 900px) {
  .ct-top__grid, .ct-ask__grid, .ct-cband__grid, .ct-know__grid { grid-template-columns: minmax(0, 1fr); }
  .ct-cband__act { justify-content: flex-start; }
  .ct-cband__act .ct-call { justify-content: flex-start; }
  .ct-pdp__grid { grid-template-columns: minmax(0, 1fr); }
  .ct-gal { position: static; max-width: 560px; }
  .ct-brow { grid-template-columns: minmax(0, 1fr) auto; }
  .ct-brow__act { padding-left: 0; }
}
@media (max-width: 720px) {
  .ct-top__text .h1 { font-size: 3.4rem; }
  .ct-search__go { padding: 0 16px; }
  .ct-gchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .ct-gchips::-webkit-scrollbar { display: none; }
  .ct-gchips .chip { flex: none; }
  .ct-cchips:not(.ct-cchips--wrap) { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .ct-cchips:not(.ct-cchips--wrap)::-webkit-scrollbar { display: none; }
  .ct-sec__head { margin-bottom: 12px; }
  .ct-sec__link { font-size: .84rem; }
  .ct-pend { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .ct-pend__media { aspect-ratio: 16 / 9; }
  .ct-blogos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ct-blogo__plate { height: 52px; }
  .ct-chead__grid { grid-template-columns: minmax(0, 1fr); }
  .ct-chead__act { justify-content: flex-start; }
  .ct-chead__act .btn { flex: 1 1 auto; }
  .ct-chead__fig { width: 100%; aspect-ratio: 16 / 9; }
  .ct-chead__title { font-size: 3rem; }
  .ct-ask__act .btn, .ct-cband__act .btn { flex: 1 1 100%; }

  /* product page: image first, rows stack, sticky action bar */
  .ct-pdp { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .ct-pdp__top { padding-top: 14px; }
  .ct-pdp__top .breadcrumb { margin-bottom: 12px; }
  .ct-gal { max-width: none; margin-inline: calc(var(--gutter) * -1); gap: 10px; }
  .ct-gal__main { border-radius: 0; border-inline: 0; }
  .ct-gal__strip { padding-inline: var(--gutter); }
  .ct-thumb { width: 64px; }
  .ct-info { gap: 14px; }
  .ct-info__name { font-size: 2.7rem; }
  .ct-avail { margin-inline: calc(var(--gutter) * -1); border-radius: 0; border-inline: 0; }
  .ct-avail__head { padding: 14px var(--gutter); }
  .ct-avail__n { font-size: 2.8rem; }
  .ct-brow { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px var(--gutter); }
  .ct-brow::before { width: 4px; }
  .ct-brow__pick { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .ct-brow__plate { height: 46px; }
  .ct-brow__act { padding-left: 98px; }
  .ct-brow__act .btn { flex: 1 1 auto; }
  .ct-cta__btns .btn { flex: 1 1 100%; }

  .ct-bar { position: fixed; z-index: 36; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(13, 21, 48, .35); }
  .ct-bar .btn { min-height: 48px; padding: 0 12px; font-size: .92rem; }
  .ct-bar .btn[aria-pressed="true"] { --b-bg: var(--ok); --b-bd: var(--ok); --b-fg: #fff; }
  body[data-page="product"] .fab { display: none; }
  body[data-page="product"] .toasts { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 380px) {
  .ct-brow__act { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-gal__main img.is-swap { animation: none; }
}

/* Shell .prod-card fix (scoped): the logo strip's min-content was widening the card's
   implicit grid column past the card, so photos cropped on the right and tiles went tall. */
.ct-page .prod-card { grid-template-columns: minmax(0, 1fr); }
.ct-page .prod-card__body { grid-template-columns: minmax(0, 1fr); }
.ct-page .prod-card__logos { overflow: hidden; }
.ct-page .prod-card__logo:nth-child(n+3), .ct-page .prod-card__more { display: none; }
.ct-secs .prod-card__logo { width: 38px; }
.ct-page .prod-card__media > img { position: absolute; inset: 0; }

/* #/products overview: denser grid + "see all" tile closing each category row */
.ct-secs .prod-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.ct-moretile { display: grid; align-content: center; justify-items: start; gap: 10px; padding: 20px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); background: transparent; color: var(--blue-text); transition: background .15s, border-color .15s; }
.ct-moretile:hover { background: var(--blue-soft); border-color: var(--blue-text); }
.ct-moretile__n { font: 700 3.2rem/.85 var(--font-display); letter-spacing: -.02em; }
.ct-moretile__t { font-weight: 600; font-size: .98rem; line-height: 1.25; color: var(--ink); }
.ct-moretile svg { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.ct-moretile:hover svg { transform: translateX(4px); }
@media (max-width: 720px) {
  .ct-secs .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ct-moretile { padding: 16px; }
}
/* pin the "N brands" line to the card bottom so rows line up */
.ct-page .prod-card__body { grid-template-rows: auto auto 1fr; align-content: stretch; }
.ct-page .prod-card__avail { align-self: end; }
/* the category label is redundant inside a grid that already sits under that category */
.ct-secs .prod-card__cat, .ct-cgrid .prod-card__cat, .ct-more:not(.ct-more--alt) .prod-card__cat { display: none; }
.ct-pend--bare { grid-template-columns: minmax(0, 1fr); padding: clamp(16px, 2.4vw, 24px); }
