/* Homepage "Explore research peptides" as ONE row (Claude, 9-10 Nov 2026; Alik's pick B, 9 Nov).
   Cards keep today's .k3-t look (catalogue.css). This file: the row (snap, peek, bleed to the screen edge), the controls
   (thin progress line, "1 / 12", round arrows), today's format tabs as toggle buttons, and the "Shop peptides" button in the
   heading row. Motion only inside prefers-reduced-motion: no-preference; html.shot / no-JS get the still version. */

.x.c3-root{--x-cw:clamp(248px,21vw,304px);--x-ch:clamp(384px,29.6vw,428px);--x-gap:16px;
  --x-edge:max(var(--gut),calc((100vw - var(--max)) / 2));overflow-x:clip}
.x.c3-root .c3-head{margin-bottom:32px}

/* ---------------------------------------------------------------- the row */
.x.c3-root .x-rail{position:relative;margin-inline:calc(-1 * var(--x-edge));overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scroll-padding-inline:var(--x-edge);scrollbar-width:none;-webkit-overflow-scrolling:touch;outline:none}
.x.c3-root .x-rail::-webkit-scrollbar{display:none}
.x.c3-root .x-rail:focus-visible{outline:2px solid var(--ink);outline-offset:-2px;border-radius:var(--r-tile)}
.x.c3-root .x-rail.is-drag{scroll-snap-type:none;cursor:grabbing}
.x.c3-root .x-rail.is-drag *{user-select:none}
.x.c3-root .x-list{position:relative;display:flex;gap:var(--x-gap);width:max-content;margin:0;padding:6px var(--x-edge) 10px;list-style:none}
.x.c3-root .x-c,.x.c3-root .x-end{flex:0 0 var(--x-cw);height:var(--x-ch);scroll-snap-align:start;min-width:0}
.x.c3-root .x-c[hidden],.x.c3-root .x-end[hidden]{display:none}
.k3.x.c3-root .x-c>.k3-t{height:100%}
.x.c3-root .x-t .k3-t__name{font-size:var(--t-lead);letter-spacing:-.01em}

/* pens: each pen's own 45° render, contained in the same stage as a vial */
.k3.x.c3-root .x-pb--pen{align-self:stretch;width:100%;margin:2px 0}
.k3.x.c3-root .x-pb--pen img{inset:0;width:100%;height:100%;object-fit:contain;transform:none;transform-origin:50% 50%}
.k3.x.c3-root .x-pb--pen{scale:1.14}

/* end card: ruled plate, round arrow, today's link words */
.x.c3-root .x-end__a{position:relative;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;height:100%;padding:var(--k3-pad);
  border-radius:var(--r-tile);box-shadow:inset 0 0 0 1px var(--line-2);transition:box-shadow .35s var(--ease-out),background-color .35s var(--ease-out)}
.x.c3-root .x-end__go{position:absolute;left:var(--k3-pad);top:var(--k3-pad);display:grid;place-items:center;width:64px;height:64px;border-radius:50%;
  background:var(--ink);color:#fff;transition:transform .5s var(--ease)}
.x.c3-root .x-end__go svg{width:22px;height:22px;transition:transform .4s var(--ease)}
.x.c3-root .x-end__t{font-size:var(--t-h4);font-weight:500;letter-spacing:-.015em;line-height:1.15;text-wrap:balance}
.x.c3-root .x-end__k{color:var(--mute)}
.x.c3-root .x-end__a:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media (hover:hover){
  .x.c3-root .x-end__a:hover{box-shadow:inset 0 0 0 1px var(--ink)}
  .x.c3-root .x-end__a:hover .x-end__go{transform:scale(1.06)}
  .x.c3-root .x-end__a:hover .x-end__go svg{transform:translateX(3px)}
}

/* ---------------------------------------------------------------- controls */
.x.c3-root .x-ctl{display:flex;align-items:center;gap:20px;margin-top:22px}
.x.c3-root .x-bar{position:relative;flex:1;height:2px;border-radius:2px;background:var(--line);overflow:hidden}
.x.c3-root .x-bar i{position:absolute;left:0;top:0;bottom:0;width:var(--x-tw,30%);border-radius:2px;background:var(--ink);transform:translateX(var(--x-tx,0%))}
.x.c3-root .x-count{margin:0;min-width:56px;text-align:right;color:var(--mute-2);white-space:nowrap}
.x.c3-root .x-count [data-x-from]{color:var(--ink)}
.x.c3-root .x-arrows{display:flex;gap:8px;flex:none}
.x.c3-root .x-arr{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--paper);color:var(--ink);
  box-shadow:inset 0 0 0 1px var(--line-2);transition:background-color .3s var(--ease-out),color .3s var(--ease-out),box-shadow .3s var(--ease-out),opacity .3s,transform .15s var(--ease-out)}
.x.c3-root .x-arr svg{width:18px;height:18px}
.x.c3-root .x-arr:hover:not(:disabled){background:var(--ink);color:#fff;box-shadow:inset 0 0 0 1px var(--ink)}
.x.c3-root .x-arr:active:not(:disabled){transform:scale(.94)}
.x.c3-root .x-arr:disabled{opacity:.3;cursor:default}
.x.c3-root .x-arr:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
html.no-js .x.c3-root .x-arrows,html.no-js .x.c3-root .x-count,html.no-js .x.c3-root [data-x-filters],html.no-js .x.c3-root [data-x-read]{display:none}

/* ---------------------------------------------------------------- the shop button (where today's "View all peptides" link sat) */
.x.c3-root .x-shop{flex:none}

/* ---------------------------------------------------------------- today's format tabs above the row (toggle buttons) */
.xb-row.c3-root .k3-bar{margin-bottom:22px}
.xb-row.c3-root .k3-tab[aria-pressed="true"]{background:var(--ink);color:#fff}
.xb-row.c3-root .k3-tab[aria-pressed="true"] .k3-n{color:rgba(255,255,255,.7)}
.xb-row.c3-root .k3-tab[aria-pressed="true"] .k3-soon{background:repeating-linear-gradient(135deg,transparent 0 4px,rgba(255,255,255,.18) 4px 5px)}

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion:no-preference){
  .x.c3-root .x-list.x-swap>li:not([hidden]){animation:x-in .6s var(--ease) both;animation-delay:calc(var(--j,0) * 45ms)}
  @keyframes x-in{from{opacity:0;transform:translateX(28px)}}
  .x.c3-root .x-bar i{transition:transform .18s linear,width .3s var(--ease-out)}
}
html.shot .x.c3-root .x-list>li{animation:none!important}

/* ---------------------------------------------------------------- phone */
@media (max-width:899px){
  .x.c3-root{--x-cw:min(74vw,300px);--x-ch:388px;--x-gap:10px;--k3-pad:18px}
  .x.c3-root .c3-head{margin-bottom:24px}
  .x.c3-root .x-ctl{gap:14px;margin-top:16px}
  .x.c3-root .x-arrows{display:none}
  .x.c3-root .x-count{min-width:0}
  .k3.x.c3-root .x-c .k3-t__ft{min-height:0}
  .k3.x.c3-root .x-c .k3-from{display:inline;font-size:var(--t-small);letter-spacing:0}
  .x.c3-root .x-t .k3-t__name{font-size:var(--t-lead)}
  .x.c3-root .x-end__go{width:56px;height:56px}
  .xb-row.c3-root .k3-bar{align-items:center}
  .xb-row.c3-root .k3-read{text-align:center}
}
