/* Category-page smoke header (v1a, Ester's pack of 7 Nov 2026). Unlayered overlay: no Tailwind recompile. Bump -vN on every edit.
   Templates: Magento_Catalog/templates/category/smoke-header.phtml (+ smoke-head.phtml loads this file, only when the header is on).
   Heading font = theme stack var(--font-heading) (MADE Outer Sans, bold weights only); chips/body text inherit the theme body font.
   Breakpoints: phone < 700, tablet 700-1099, desktop >= 1100 (pack). The page container is full width below 1024 and 1232 max above. */
.ds-cp { --cp-bg: var(--cp-bg-phone); position: relative; margin: 12px 16px 0; color: #fff; font-family: var(--font-body); }
@media (min-width: 700px) { .ds-cp { --cp-bg: var(--cp-bg-wide); margin: 16px 24px 0; } }
@media (min-width: 1024px) { .ds-cp { margin: 18px 0 0; } }
@media (max-width: 1023px) { .ds-cp { margin-bottom: 14px; } }
.ds-cp-card { position: relative; box-sizing: border-box; min-height: 200px; padding: 18px 18px 16px; border-radius: 20px; overflow: hidden; contain: paint; isolation: isolate; background: #120E1C; }
@media (min-width: 700px) { .ds-cp-card { min-height: 300px; padding: 24px 28px 20px; border-radius: 22px; } }
@media (min-width: 1100px) { .ds-cp-card { min-height: 330px; padding: 30px 40px 24px; } }
/* back to front: smoke background (drifts) / scrim / product / smoke in front of the product / text */
.ds-cp-fog { position: absolute; inset: 0; z-index: -3; border-radius: inherit; overflow: hidden; transform: translateZ(0); }
.ds-cp-fog::before { content: ""; position: absolute; inset: -14%; background: var(--cp-bg) center / cover no-repeat; }
.ds-cp-scrim { position: absolute; inset: 0; z-index: -2; border-radius: inherit;
  background: linear-gradient(90deg, rgba(8,6,16,.62), rgba(8,6,16,.35) 45%, transparent 72%), linear-gradient(0deg, rgba(8,6,16,.35), transparent 45%); }
@media (min-width: 700px) { .ds-cp-scrim { background: linear-gradient(90deg, rgba(8,6,16,.42), rgba(8,6,16,.22) 45%, transparent 70%), linear-gradient(0deg, rgba(8,6,16,.35), transparent 45%); } }
.ds-cp-prod { position: absolute; z-index: -1; right: 4%; top: 14px; width: 36%; height: 104px; display: flex; justify-content: center; align-items: center; pointer-events: none;
  transform-origin: 50% 55%; transition: transform .5s cubic-bezier(.2,.8,.2,1.15);
  filter: drop-shadow(0 0 1.5px var(--cp-glow-a)) drop-shadow(0 0 14px var(--cp-glow-b)) drop-shadow(0 16px 16px rgba(0,0,0,.45)); }
.ds-cp-prod picture { display: contents; }   /* phone copy via <picture>: the img stays the flex item, exactly as before */
.ds-cp-prod img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.ds-cp-prod img.ds-cp-lvl { transform: rotate(9deg); }   /* shoe cut-outs tilt the toe up by about 10 degrees: stand them level, as on the homepage card */
@media (min-width: 700px) { .ds-cp-prod { right: 6%; top: 24px; width: 38%; height: 250px; } }
@media (min-width: 1100px) { .ds-cp-prod { right: 8%; top: 20px; width: 36%; height: 290px; } }
/* smoke in front of the product's lower part: tablet and desktop only (phones: no screen-blend layer) */
.ds-cp-front { display: none; }
@media (min-width: 700px) {
  .ds-cp-front { display: block; position: absolute; z-index: 0; right: 6%; top: 150px; width: 44%; height: 110px; overflow: hidden; opacity: .6; mix-blend-mode: screen; pointer-events: none;
    -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent); }
  .ds-cp-front::before { content: ""; position: absolute; inset: 0 -45%; background: var(--cp-bg) 50% 60% / cover no-repeat; }
}
@media (min-width: 1100px) { .ds-cp-front { right: 7%; top: 190px; height: 120px; } }
/* drift: CSS only, only while the header is on screen (is-live, set by the inline script), never under reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .ds-cp.is-live .ds-cp-fog::before { animation: ds-cp-drift 16s ease-in-out infinite alternate; will-change: transform; }
  .ds-cp.is-live .ds-cp-front::before { animation: ds-cp-drift2 26s ease-in-out infinite alternate; will-change: transform; }
  @media (hover: hover) and (pointer: fine) { .ds-cp-card:hover .ds-cp-prod { transform: translateY(-6px) scale(1.06) rotate(-2deg); } }
}
@keyframes ds-cp-drift { from { transform: translate(-6%, -3%) scale(1.04) rotate(-1deg); } to { transform: translate(6%, 3%) scale(1.18) rotate(1.2deg); } }
@keyframes ds-cp-drift2 { from { transform: translateX(-14%) scale(1.05); } to { transform: translateX(14%) scale(1.2); } }

/* text column */
.ds-cp-body { position: relative; z-index: 3; }
.ds-cp-crumbs { margin: 0 0 6px; max-width: 62%; font-size: 12px; line-height: 16px; color: rgba(255,255,255,.8); }
.ds-cp-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; margin: 0; padding: 0; list-style: none; }
.ds-cp-crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.ds-cp-crumbs li + li::before { content: "\203A"; opacity: .7; }
@media (min-width: 700px) { .ds-cp-crumbs { max-width: 56%; } }
.ds-cp-crumbs a { display: inline-block; padding: 4px 0; color: inherit; text-decoration: none; }   /* 24 px tall hit area */
.ds-cp-crumbs a:hover { text-decoration: underline; }
.ds-cp-h1 { margin: 0; max-width: 62%; font-family: var(--font-heading); font-weight: 700; color: #fff; letter-spacing: 0; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.ds-cp-h1a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 21px; line-height: 1.08; text-transform: uppercase; overflow-wrap: anywhere; }
.ds-cp-h1b { display: block; margin-top: 3px; font-family: var(--font-body); font-weight: 600; font-size: 12px; line-height: 1.25; text-transform: none; text-shadow: none; color: #fff; }
/* the separator of the H1 (":" " |" " -") stays in the text for crawlers and screen readers, but is not shown */
.ds-cp-sep { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 700px) { .ds-cp-h1 { max-width: 56%; } .ds-cp-h1a { font-size: 30px; } .ds-cp-h1b { font-size: 15px; } }
@media (min-width: 1100px) { .ds-cp-h1 { max-width: 54%; } .ds-cp-h1a { font-size: 38px; } .ds-cp-h1b { font-size: 17px; } }
/* sub line: count + intro. Phones: neither (the toolbar shows the count once) */
.ds-cp-sub { display: none; margin: 8px 0 0; max-width: 58%; font-size: 14px; line-height: 20px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.4); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ds-cp-sub b { font-weight: 700; }
@media (min-width: 700px) { .ds-cp-sub { display: block; } }
@media (min-width: 1100px) { .ds-cp-sub { max-width: 54%; font-size: 15px; line-height: 21px; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-height: 42px; } }

/* rows: one line each, scroll sideways, fade out at the right edge, never wrap (no layout shift) */
.ds-cp-rows { margin-top: 10px; }
.ds-cp-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin: 0 -18px 0 0; padding: 3px 46px 3px 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-padding-inline: 8px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.ds-cp-row::-webkit-scrollbar { display: none; }
.ds-cp-row + .ds-cp-row { margin-top: 4px; }
@media (min-width: 700px) { .ds-cp-rows { margin-top: 12px; } .ds-cp-row { max-width: 66%; margin-right: 0; padding-right: 40px; } .ds-cp-row + .ds-cp-row { margin-top: 6px; } }
@media (min-width: 1100px) { .ds-cp-row { max-width: 54%; } }
.ds-cp-label { flex: none; display: none; margin: 10px 0 2px; font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
@media (min-width: 700px) { .ds-cp-label { display: block; } }
.ds-cp-div { flex: none; width: 1px; height: 20px; margin: 0 2px; background: rgba(255,255,255,.3); }
.ds-cp-m-hide { display: none; }
@media (min-width: 700px) { .ds-cp-m-hide { display: inline-flex; } }

/* chips: real links; 32 px high */
.ds-cp-chip { display: inline-flex; flex: none; align-items: center; gap: 6px; box-sizing: border-box; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.16); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 13px; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; }
@media (min-width: 700px) { .ds-cp-chip { background: rgba(255,255,255,.10); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); } }   /* no backdrop-filter on phones */
.ds-cp-chip:hover { background: rgba(255,255,255,.2); }
.ds-cp-chip.is-on { background: #fff; border-color: #fff; color: #1A1A1A; }
.ds-cp-chip--brand { font-family: var(--font-heading); font-weight: 700; font-size: 12px; }
/* v12: brand logos, white (the files are white); on a selected (white) chip the logo turns dark */
.ds-cp-chip--logo { justify-content: center; min-width: 76px; padding: 0 14px; }
.ds-cp-chip--logo img { display: block; max-width: none; object-fit: contain; }   /* size per logo: inline style (same area for every logo) */
.ds-cp-chip--logo.is-on img { filter: brightness(0); }
.ds-cp-chip--sale { background: #D32F2F; border-color: #D32F2F; color: #fff; }
.ds-cp-chip--sale:hover { background: #b92727; }
.ds-cp-chip--sale.is-on { background: #fff; border-color: #fff; color: #D32F2F; }
.ds-cp-chip--lime { background: #BFFF00; border-color: #BFFF00; color: #1A1A1A; -webkit-backdrop-filter: none; backdrop-filter: none; }
.ds-cp-chip--lime:hover { background: #d4ff4d; }
.ds-cp-chip--lime.is-on { background: #fff; border-color: #fff; }
.ds-cp a:focus-visible, .ds-cp button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }   /* light outline: the dark smoke would swallow #2A1857 */

/* My size pill: the width is reserved so the chips after it never jump when the saved size is read */
.ds-cp-ms { display: inline-flex; flex: none; min-width: 156px; }
.ds-cp-ms > .ds-cp-chip, .ds-cp-ms > .ds-cp-split { flex: 1 1 auto; justify-content: center; }
.ds-cp-split { display: inline-flex; flex: none; align-items: stretch; }
.ds-cp-split .ds-cp-chip:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right-width: 0; }
.ds-cp-x { display: inline-grid; place-items: center; flex: none; box-sizing: border-box; width: 36px; height: 32px; padding: 0; border: 1px solid #BFFF00; border-left: 1px solid rgba(26,26,26,.25);
  border-radius: 0 999px 999px 0; background: #BFFF00; color: #1A1A1A; cursor: pointer; }
.ds-cp-split.is-on .ds-cp-x { border-color: #fff; border-left-color: rgba(26,26,26,.25); background: #fff; }
.ds-cp-x:hover { background: #d4ff4d; }
.ds-cp-x svg { display: block; }

/* guides: tablet and desktop only */
.ds-cp-guides { display: none; }
@media (min-width: 700px) { .ds-cp-guides { display: flex; align-items: center; flex-wrap: nowrap; gap: 16px; max-width: 66%; margin-top: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding-right: 40px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  .ds-cp-guides::-webkit-scrollbar { display: none; } }
@media (min-width: 1100px) { .ds-cp-guides { max-width: 54%; } }
@media (min-width: 700px) { .ds-cp-guides { min-height: 34px; gap: 18px; margin-top: 10px; } }   /* v1c: reserve the row: it was 6 px tall for a moment before fonts, then 27 (CLS 0.12 once in 4 on rs) */
/* v12b (Mitja 8 Nov: the cards looked worse): the old plain links again, with a bigger pictogram and the article's full title on one line */
.ds-cp-guide { flex: none; display: inline-flex; align-items: center; gap: 9px; padding: 4px 0; color: #fff; font-size: 13px; line-height: 1.3; text-decoration: none; }
.ds-cp-guide-ic { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: rgba(255,255,255,.18); }
.ds-cp-guide-ic svg { width: 17px; height: 17px; }
.ds-cp-guide:hover span { text-decoration: underline; }
.ds-cp-guide span { max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* size picker: OUTSIDE the clipped card. Tablet/desktop: a dark panel right under the card; phone: today's bottom sheet */
.ds-cp-bd { display: none; }
.ds-cp-pop { box-sizing: border-box; margin-top: 8px; padding: 16px 18px 14px; border-radius: 16px; background: #1b1530; border: 1px solid rgba(255,255,255,.14); color: #fff; box-shadow: 0 12px 32px rgba(18,14,28,.35); }
.ds-cp-pop-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ds-cp-pop-title { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.ds-cp-pop-x { display: grid; place-items: center; width: 40px; height: 40px; margin: -8px -10px -8px 0; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.ds-cp-grab { display: none; }
.ds-cp-tabs { display: inline-flex; gap: 2px; margin-bottom: 12px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.1); }
.ds-cp-tab { height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ds-cp-tab[aria-selected="true"] { background: #fff; color: #1A1A1A; }
.ds-cp-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 700px) { .ds-cp-grid { grid-template-columns: repeat(var(--cp-cols, 10), minmax(0, 1fr)); } }
.ds-cp-grid a, .ds-cp-grid span { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 44px; padding: 0 2px; border: 1px solid rgba(255,255,255,.24); border-radius: 8px;
  background: rgba(255,255,255,.06); color: #fff; font-size: 14px; line-height: 1; text-decoration: none; white-space: nowrap; }
@media (min-width: 700px) { .ds-cp-grid a, .ds-cp-grid span { min-height: 40px; } }
.ds-cp-grid a:hover { background: rgba(255,255,255,.18); }
.ds-cp-grid a.is-selected { background: #fff; border-color: #fff; color: #1A1A1A; font-weight: 700; }
.ds-cp-grid a.is-last { border-color: #BFFF00; box-shadow: inset 0 0 0 1px #BFFF00; }   /* "last time you chose": outlined lime */
.ds-cp-grid span { color: rgba(255,255,255,.4); text-decoration: line-through; border-style: dashed; }
.ds-cp-grid .ds-cp-long { font-size: 12px; }
.ds-cp-lasthint { margin: 10px 0 0; font-size: 13px; color: #BFFF00; }
.ds-cp-help { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 12px 0 0; font-size: 13px; color: rgba(255,255,255,.85); }
.ds-cp-help a { color: #BFFF00; text-decoration: none; }
.ds-cp-help a:hover { text-decoration: underline; }
.ds-cp-note { margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.7); }
@keyframes ds-cp-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes ds-cp-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 699px) {
  .ds-cp-bd { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.5); animation: ds-cp-fade .2s ease-out; }
  .ds-cp-pop { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; margin: 0; max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); overflow-y: auto; overscroll-behavior: contain;
    padding: 6px 20px calc(20px + env(safe-area-inset-bottom)); border: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 32px rgba(42,24,87,.35); animation: ds-cp-up .22s ease-out; }
  .ds-cp-grab { display: block; width: 40px; height: 4px; margin: 4px auto 6px; border-radius: 2px; background: rgba(255,255,255,.3); }
  .ds-cp-pop-head { min-height: 48px; margin-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) { .ds-cp-pop, .ds-cp-bd, .ds-cp-prod { animation: none; transition: none; } }

/* the page around the header (only while the header is on: the section carries ds-cp-on) */
.ds-cp-on { padding-top: 0; }
.ds-cp-on .filter-chips-row { margin-bottom: 0; }
.ds-cp-on .filter-chips-row:has(> :not(template):not(.ds-count-m)) { margin-bottom: 16px; }
.ds-cp-on > .toolbar, .ds-cp-on > div > .toolbar { margin-top: 12px; }

/* ── v1b: card labels (the sizes line of a product card when a size is saved; the line keeps its height: h-[18px] in item.phtml) ── */
.ds-cp-lab { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #15803D; font-weight: 600; }
.ds-cp-lab--last { color: #C2410C; }

/* ── v1b: empty state ("never an empty page"): a dashed box, centred. All plain links. ── */
.ds-cp-empty-wrap { padding: 8px 12px 24px; }
@media (min-width: 1024px) { .ds-cp-empty-wrap { padding-inline: 0; } }
.ds-cp-empty { box-sizing: border-box; max-width: 640px; margin: 24px auto 0; padding: 28px 20px 24px; border: 2px dashed #CFC6E0; border-radius: 14px; text-align: center; color: #2A1857; font-family: var(--font-body); }
.ds-cp-empty-title { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 20px; line-height: 1.25; overflow-wrap: anywhere; }
.ds-cp-empty-near, .ds-cp-empty-try { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin: 14px 0 0; font-size: 14px; line-height: 1.4; color: #4B5563; }
.ds-cp-empty-size { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; box-sizing: border-box; padding: 0 14px; border: 1px solid #2A1857; border-radius: 999px; background: #fff; color: #2A1857; font-weight: 600; text-decoration: none; }
.ds-cp-empty-size:hover { background: #F4F0FC; }
.ds-cp-empty-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; }
.ds-cp-empty-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; box-sizing: border-box; padding: 0 20px; border: 2px solid #2A1857; border-radius: 10px; background: #fff; color: #2A1857;
  font-family: var(--font-heading); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.ds-cp-empty-btn:hover { background: #F4F0FC; }
.ds-cp-empty-btn--lime { background: #BFFF00; }
.ds-cp-empty-btn--lime:hover { background: #d4ff4d; }
.ds-cp-empty a:focus-visible { outline: 3px solid #2A1857; outline-offset: 2px; }

/* ── v1b: end rows. Complete the look = homepage-card tiles (190 tablet / 210 desktop; phone 170, sideways row, 72 % wide). More to explore = 130 px, 4 columns / 2x2, hidden on phones. ── */
.ds-cp-end { margin: 28px 16px 8px; font-family: var(--font-body); }
@media (min-width: 700px) { .ds-cp-end { margin: 32px 24px 8px; } }
@media (min-width: 1024px) { .ds-cp-end { margin: 36px 0 8px; } }
.ds-cp-end-block + .ds-cp-end-block { margin-top: 28px; }
.ds-cp-end-h { margin: 0 0 12px; font-family: var(--font-heading); font-weight: 700; font-size: 20px; line-height: 1.2; color: #2A1857; }
@media (min-width: 700px) { .ds-cp-end-h { font-size: 24px; } }
.ds-cp-look-row { display: flex; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; }
.ds-cp-look-row::-webkit-scrollbar { display: none; }
.ds-cp-look-row > .ds-cp-tile { flex: 0 0 72%; height: 170px; scroll-snap-align: start; }
@media (min-width: 700px) {
  .ds-cp-look-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; overflow: visible; }
  .ds-cp-look-row > .ds-cp-tile { flex: none; height: 190px; }
}
@media (min-width: 1100px) { .ds-cp-look-row > .ds-cp-tile { height: 210px; } }
.ds-cp-explore { display: none; }
@media (min-width: 700px) {
  .ds-cp-explore { display: block; }
  .ds-cp-explore-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ds-cp-explore-row > .ds-cp-tile { height: 130px; }
}
@media (min-width: 1100px) { .ds-cp-explore-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* the tile: same build as a homepage card (smoke background layer that drifts, scrim, cut-out with glow, name, lime button) */
.ds-cp-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; box-sizing: border-box; min-width: 0; padding: 16px; border-radius: 18px; overflow: hidden; isolation: isolate; background: #120E1C;
  color: #fff; text-decoration: none; font-family: var(--font-heading); contain: paint; }
.ds-cp-tile-fog { position: absolute; inset: 0; z-index: -2; border-radius: inherit; overflow: hidden; transform: translateZ(0); }
.ds-cp-tile-fog::before { content: ""; position: absolute; inset: -14%; background: center / cover no-repeat; }
.ds-cp-end.is-seen .ds-cp-tile-fog::before { background-image: var(--cp-bg); }   /* the background file is fetched only when the block is near the screen */
.ds-cp-tile-scrim { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(to top right, rgba(8,6,16,.6), transparent 60%); }
.ds-cp-tile-prod { position: absolute; z-index: 1; left: 42%; right: 6%; top: 12%; bottom: 14%; display: flex; justify-content: center; align-items: center; pointer-events: none;
  filter: drop-shadow(0 0 1.5px var(--cp-glow-a)) drop-shadow(0 0 12px var(--cp-glow-b)) drop-shadow(0 14px 14px rgba(0,0,0,.45)); transition: transform .45s cubic-bezier(.2,.8,.2,1.15); }
.ds-cp-tile-prod img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.ds-cp-tile-name { position: relative; z-index: 3; max-width: 62%; font-weight: 700; font-size: 14px; line-height: 1.15; letter-spacing: .01em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.45); overflow-wrap: anywhere; }
.ds-cp-tile-btn { position: relative; z-index: 3; align-self: flex-start; max-width: 100%; margin-top: 10px; padding: 8px 12px; overflow: hidden; border-radius: 8px; background: #BFFF00; color: #1A1A1A;
  font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; transition: transform .45s cubic-bezier(.2,.8,.2,1.15); }
.ds-cp-tile-btn--white { background: #fff; color: #D32F2F; }
.ds-cp-tile--explore { justify-content: space-between; padding: 14px 16px; }
.ds-cp-tile--explore .ds-cp-tile-name { max-width: 100%; font-size: 17px; }
.ds-cp-tile--explore .ds-cp-tile-sub { position: relative; z-index: 3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 2px; max-width: 100%; font-family: var(--font-body); font-weight: 400; font-size: 12px; line-height: 1.3; color: rgba(255,255,255,.88); }
.ds-cp-tile--explore .ds-cp-tile-btn { margin-top: 0; }
.ds-cp-tile--explore .ds-cp-tile-scrim { background: linear-gradient(90deg, rgba(8,6,16,.55), rgba(8,6,16,.15) 70%); }
.ds-cp-tile:focus-visible { outline: 3px solid #2A1857; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .ds-cp-end.is-seen .ds-cp-tile-fog::before { animation: ds-cp-drift 18s ease-in-out infinite alternate; will-change: transform; }
  .ds-cp-end.is-seen .ds-cp-tile:nth-child(even) .ds-cp-tile-fog::before { animation-duration: 23s; animation-direction: alternate-reverse; }
  .ds-cp-end:not(.is-live) .ds-cp-tile-fog::before { animation-play-state: paused; }
  @media (hover: hover) and (pointer: fine) {
    .ds-cp-tile:hover .ds-cp-tile-prod { transform: translateY(-6px) scale(1.08) rotate(-2deg); }
    .ds-cp-tile:hover .ds-cp-tile-btn { transform: translateY(-2px); }
  }
}
@media (prefers-reduced-motion: reduce) { .ds-cp-tile-prod, .ds-cp-tile-btn { transition: none; } }

/* ══ v9: player mode (Shop by player, 8 Nov 2026). Everything below is scoped by .ds-cp--player (header) or .ds-cp-mp* (More players); a non-player page never matches.
   Per-player values come from inline custom properties of the header root: --pl-c (player colour), --pl-ink (text on a filled chip in that colour),
   --pl-t1/--pl-t2/--pl-tfg (team badge: background, bottom stripe, text), --pl-pos (photo focal point). All validated hex values (category-pages-ctx.phtml). ══ */
.ds-cp--player { --pl-c: #7B55FF; --pl-ink: #120B22; --pl-t1: #3A3350; --pl-t2: #8A80A8; --pl-tfg: #fff; --pl-pos: 50% 30%; }
.ds-cp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ds-cp--player .ds-cp-card { min-height: 260px; }
@media (min-width: 700px) { .ds-cp--player .ds-cp-card { min-height: 300px; } }
@media (min-width: 1100px) { .ds-cp--player .ds-cp-card { min-height: 330px; } }

/* the photo: right side, full height, fades into the smoke (mask), soft bottom and top shade. A plain <img> (no fade-in from opacity 0: it must stay an LCP candidate) */
.ds-cp-photo { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 46%; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); }
.ds-cp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pl-pos); }
.ds-cp-photo.is-lower img { transform-origin: 50% 100%; transform: scale(.9); }   /* light-background photo (LeBron): smaller, standing on the bottom edge, on its own background colour */
.ds-cp-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,11,34,.75), transparent 45%), linear-gradient(180deg, rgba(18,11,34,.35), transparent 30%); }
@media (min-width: 700px) { .ds-cp-photo { width: 48%; } }
@media (min-width: 1100px) { .ds-cp-photo { width: 50%; } }

/* the big outline number: behind the photo's faded left edge, decorative (aria-hidden) */
/* left-anchored (not right): a late heading-font swap changes the glyph widths, and a right-anchored number would move = layout shift */
.ds-cp-pnum { position: absolute; z-index: -1; top: -6px; left: calc(80% - var(--pn-ch, 2) * .58em); font-family: var(--font-heading); font-weight: 700; font-size: 120px; line-height: 1; letter-spacing: -.04em; color: transparent;
  -webkit-text-stroke: 2px var(--pl-c); opacity: .55; pointer-events: none; user-select: none; white-space: nowrap; }
@supports (color: color-mix(in srgb, red, blue)) { .ds-cp-pnum { -webkit-text-stroke-color: color-mix(in srgb, var(--pl-c) 75%, #fff); } }
@media (min-width: 700px) { .ds-cp-pnum { top: -14px; left: calc(78% - var(--pn-ch, 2) * .58em); font-size: 200px; } }
@media (min-width: 1100px) { .ds-cp-pnum { top: -24px; left: calc(76% - var(--pn-ch, 2) * .58em); font-size: 280px; } }

/* bright smoke colours (lime, yellow, mint, cyan, silver, ...): a stronger scrim under the text column keeps white text >= 4.5:1 */
.ds-cp--bright .ds-cp-scrim { background: linear-gradient(90deg, rgba(8,6,16,.72), rgba(8,6,16,.5) 48%, rgba(8,6,16,.1) 76%), linear-gradient(0deg, rgba(8,6,16,.35), transparent 45%); }
@media (min-width: 700px) { .ds-cp--bright .ds-cp-scrim { background: linear-gradient(90deg, rgba(8,6,16,.66), rgba(8,6,16,.5) 45%, rgba(8,6,16,.08) 72%), linear-gradient(0deg, rgba(8,6,16,.35), transparent 45%); } }

/* team line: badge (decorative, the team name is the text), team name, #number, optional tag (new / legend) */
.ds-cp-team { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; max-width: 100%; margin: 0 0 4px; min-width: 0; }
.ds-cp-tb { display: inline-grid; place-items: center; flex: none; box-sizing: border-box; min-width: 38px; height: 26px; padding: 0 7px 4px; border-radius: 5px; background: var(--pl-t1); color: var(--pl-tfg);
  box-shadow: inset 0 -4px 0 var(--pl-t2); font-family: var(--font-heading); font-weight: 700; font-size: 11px; line-height: 1; letter-spacing: .06em; }
.ds-cp-tl { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.ds-cp-tl img { display: block; width: 22px; height: 22px; object-fit: contain; }
@media (min-width: 700px) { .ds-cp-tl { width: 36px; height: 36px; } .ds-cp-tl img { width: 26px; height: 26px; } }
.ds-cp-tn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.ds-cp-tno { flex: none; font-family: var(--font-heading); font-weight: 700; font-size: 12px; color: var(--pl-c); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@supports (color: color-mix(in srgb, red, blue)) { .ds-cp-tno { color: color-mix(in srgb, var(--pl-c) 70%, #fff); } }
.ds-cp-tag { display: none; flex: none; padding: 3px 8px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: .06em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
@media (min-width: 700px) { .ds-cp-team { gap: 8px; } .ds-cp-tn { font-size: 12px; } .ds-cp-tag { display: inline-block; } }

/* text column */
.ds-cp--player .ds-cp-h1 { max-width: 100%; }
.ds-cp--player .ds-cp-h1a { font-size: clamp(17px, 5.6vw, 21px); }   /* phones: ANTETOKOUNMPO has to fit in one line at 320 px */
@media (min-width: 700px) { .ds-cp--player .ds-cp-h1 { max-width: 56%; } .ds-cp--player .ds-cp-h1a { font-size: 30px; } }
@media (min-width: 1100px) { .ds-cp--player .ds-cp-h1 { max-width: 54%; } .ds-cp--player .ds-cp-h1a { font-size: 38px; } }
.ds-cp-pl-sub, .ds-cp-facts, .ds-cp-pl-sent { max-width: 62%; }
@media (min-width: 700px) { .ds-cp-pl-sub, .ds-cp-facts, .ds-cp-pl-sent { max-width: 56%; } }
@media (min-width: 1100px) { .ds-cp-pl-sub, .ds-cp-facts, .ds-cp-pl-sent { max-width: 54%; } }
.ds-cp-pl-sub { margin: 3px 0 0; font-family: var(--font-body); font-weight: 600; font-size: 12px; line-height: 1.25; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); overflow-wrap: anywhere; }
@media (min-width: 700px) { .ds-cp-pl-sub { font-size: 15px; } }
@media (min-width: 1100px) { .ds-cp-pl-sub { font-size: 17px; } }
.ds-cp-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; }
.ds-cp-fact { display: inline-block; max-width: 100%; box-sizing: border-box; padding: 5px 9px; border: 1px solid rgba(255,255,255,.4); border-radius: 5px; background: rgba(255,255,255,.12); color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 12px; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; overflow-wrap: anywhere; }
.ds-cp-fact--line { border-color: transparent; background: var(--pl-c); color: var(--pl-ink); }
.ds-cp-pl-sent { display: none; margin: 8px 0 0; font-size: 14px; line-height: 20px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); }   /* phones: no sentence (compact header) */
@media (min-width: 700px) { .ds-cp-pl-sent { display: block; } }
@media (min-width: 1100px) { .ds-cp-pl-sent { font-size: 15px; line-height: 21px; } }
@media (max-width: 699px) { .ds-cp--player .ds-cp-row-b { display: none; } }   /* phones: no brands row (compact header) */
.ds-cp--player .ds-cp-guides { flex-wrap: wrap; gap: 2px 16px; overflow: visible; padding-right: 0; -webkit-mask-image: none; mask-image: none; }
.ds-cp-guide--sig { font-weight: 700; }

/* More players: mini player cards (132 x 200, desktop 170 x 250), photo + outline number + name + 3 px edge in the player's colour */
.ds-cp-mpl { display: flex; gap: 10px; margin: 0 -16px; padding: 4px 16px 6px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; }
.ds-cp-mpl::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .ds-cp-mpl { margin: 0 -24px; padding-inline: 24px; scroll-padding-inline: 24px; gap: 12px; } }
@media (min-width: 1024px) { .ds-cp-mpl { margin: 0; padding-inline: 4px; scroll-padding-inline: 4px; } }
.ds-cp-mp { position: relative; flex: 0 0 132px; height: 200px; box-sizing: border-box; overflow: hidden; border-radius: 14px; background: #1d1430; color: #fff; text-decoration: none; isolation: isolate; scroll-snap-align: start; }
@media (min-width: 1100px) { .ds-cp-mp { flex-basis: 170px; height: 250px; } }
.ds-cp-mp img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pl-pos); }
.ds-cp-mp::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,11,34,.4), transparent 35%, rgba(18,11,34,.92)); }
.ds-cp-mp-num { position: absolute; top: 4px; right: 8px; font-family: var(--font-heading); font-weight: 700; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--pl-c); pointer-events: none; }
@supports (color: color-mix(in srgb, red, blue)) { .ds-cp-mp-num { -webkit-text-stroke-color: color-mix(in srgb, var(--pl-c) 70%, #fff); } }
.ds-cp-mp-name { --mp-w: 132px; position: absolute; left: 8px; right: 8px; bottom: 12px; font-family: var(--font-heading); font-weight: 700; line-height: 1.1; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.5);
  --fmin: 10.5px; --fr: .92; font-size: max(var(--fmin), min(15px, calc((var(--mp-w) - 16px) / (var(--nl, 10) * var(--fr))))); }
.ds-cp-mp-name.ds-cp-mp-long { --fr: .86; letter-spacing: -.05em; left: 6px; right: 6px; }
.ds-cp-mp-name > span { display: block; }   /* first name / the rest on 2 rows (Mitja 8 Nov) */
@media (min-width: 1100px) { .ds-cp-mp-name { --mp-w: 170px; --fmin: 12px; } }
.ds-cp-mp-edge { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 -3px 0 var(--pl-c); pointer-events: none; }
.ds-cp-mp:focus-visible { outline: 3px solid #2A1857; outline-offset: 3px; }
.ds-cp-end-story { margin-top: 28px; }

/* bold display weights: Č Ć Š Ž Đ Ă Ș Ț fallback glyphs, copied from latin-ext-display.css (that file is only loaded on si/hr/me/ro/rs; without it
   "DONČIĆ" / "JOKIĆ" render the missing letters in a system font on eu/at/bg). unicode-range = only those letters download, only when used. */
@font-face{font-family:'MADE Outer Sans';src:url(../fonts/montserrat900-latin-ext.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0102-0103,U+0106-0107,U+010C-010D,U+0110-0111,U+0118-0119,U+0141-0142,U+0150-0151,U+015E-0163,U+0170-0171,U+017D-017E,U+0218-021B}
@font-face{font-family:'MADE Outer Sans';src:url(../fonts/montserrat900-latin-ext.woff2) format('woff2');font-weight:800;font-style:normal;font-display:swap;unicode-range:U+0102-0103,U+0106-0107,U+010C-010D,U+0110-0111,U+0118-0119,U+0141-0142,U+0150-0151,U+015E-0163,U+0170-0171,U+017D-017E,U+0218-021B}
@font-face{font-family:'MADE Outer Sans Alt';src:url(../fonts/montserrat900-latin-ext.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0102-0103,U+0106-0107,U+010C-010D,U+0110-0111,U+0118-0119,U+0141-0142,U+0150-0151,U+015E-0163,U+0170-0171,U+017D-017E,U+0218-021B}
@font-face{font-family:'MADE Outer Sans Outline';src:url(../fonts/montserrat900-latin-ext.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0102-0103,U+0106-0107,U+010C-010D,U+0110-0111,U+0118-0119,U+0141-0142,U+0150-0151,U+015E-0163,U+0170-0171,U+017D-017E,U+0218-021B}
/* the signature-shoe chip links to its shoe line (Ester 8 Nov) */
a.ds-cp-fact--line { text-decoration: none; }
a.ds-cp-fact--line:hover, a.ds-cp-fact--line:focus-visible { text-decoration: underline; }
