/* The Ball Up shop (11 Nov 2026). Sits on style.css: black page, yellow #FACC15, white.
   Garment pictures are layered: blank + colour filter + the marks as SVG (assets/shop.js). */
.lock, .lock body { overflow: hidden; }
.preview { background: var(--yellow); color: var(--ink); text-align: center; font-weight: 700; font-size: 14px; padding: 8px 16px; }
/* The nav lives in style.css since 11 Nov 2026 (the fixed bar on every page). */

/* Garment picture */
.g { position: relative; display: block; height: 88%; aspect-ratio: var(--ar); max-width: 92%; margin: auto; }
.gi { position: absolute; inset: 0; display: block; }
.g img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; }
.pr { position: absolute; display: block; line-height: 0; opacity: .95; }
.pr.ml { mix-blend-mode: multiply; opacity: .97; }
.pr svg { width: 100%; height: auto; overflow: visible; }
.pic { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 35%, #FFFFFF 0%, #EEF0F2 60%, #DFE2E6 100%); border-radius: 12px; }
.pic .v1, .pic .v2 { position: absolute; inset: 0; display: flex; align-items: center; transition: opacity .25s ease; }
.pic .v2 { opacity: 0; }

/* Hero */
.shero { display: grid; gap: 28px; padding-top: 20px; padding-bottom: 36px; }
.kick { font-weight: 800; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px; }
.shero h1 { font-size: clamp(54px, 14vw, 112px); }
.cta { display: inline-block; margin-top: 22px; background: var(--yellow); color: var(--ink); text-decoration: none; font-family: 'Anton', Impact, sans-serif;
  font-size: 22px; letter-spacing: 1px; text-transform: uppercase; padding: 12px 24px; border-radius: 10px; }
.cta:hover { filter: brightness(1.06); }
.feat { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.feat-win { overflow: hidden; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); }
.feat-track { display: flex; transition: transform .45s ease; }
.slide { flex: 0 0 100%; display: block; text-decoration: none; }
.slide .pic { border-radius: 0; }
.slide .cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; padding: 14px 18px 16px; }
.slide small { width: 100%; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mute); }
.slide b { font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: 28px; text-transform: uppercase; letter-spacing: .5px; }
.slide i { font-style: normal; font-weight: 700; color: var(--yellow); }
.fbtn { position: absolute; top: 40%; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: rgba(10,10,10,.82); color: var(--white);
  font: 30px/1 'Inter', sans-serif; display: flex; align-items: center; justify-content: center; }
.fbtn.prev { left: 10px; } .fbtn.next { right: 10px; }
.feat-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.feat-dots button { width: 9px; height: 9px; padding: 0; border-radius: 5px; background: rgba(255,255,255,.28); transition: width .2s; }
.feat-dots button.on { width: 26px; background: var(--yellow); }

/* Filter chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { height: 38px; padding: 0 16px; border-radius: 19px; background: transparent; color: var(--white); border: 1px solid var(--line);
  font: 600 15px 'Inter', sans-serif; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.chip.on { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* Cards */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.pc { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pc .pic { border-radius: 0; }
.pc:hover { border-color: rgba(250,204,21,.6); }
.pc:hover .v2 { opacity: 1; } .pc:hover .v2 ~ .v1, .pc:hover .v1:has(+ .v2) { opacity: 0; }
.pc:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.badge { position: absolute; z-index: 2; top: 10px; left: 10px; background: var(--ink); color: var(--yellow); font-size: 11px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; }
.badge + .badge { top: 40px; }
.meta { display: flex; flex-direction: column; flex: 1; padding: 12px 12px 14px; }
.cat { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mute); }
.meta h3 { font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: 22px; line-height: 1.1; text-transform: uppercase; letter-spacing: .4px; margin-top: 3px; }
.desc { display: none; color: var(--mute); font-size: 14px; line-height: 1.4; margin-top: 6px; }
.pr-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.price { font-weight: 800; font-size: 16px; }
.dots { display: flex; gap: 5px; }
.dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.dot.on { box-shadow: 0 0 0 2px var(--ink-2), 0 0 0 3.5px var(--yellow); }
.note { color: var(--mute); font-size: 14px; margin: 22px 0 40px; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0); transition: background .2s; }
.drawer.open { background: rgba(0,0,0,.6); }
.sheet { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--ink); transform: translateY(100%); transition: transform .22s ease; }
.drawer.open .sheet { transform: none; }
.d-head { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 16px 12px; background: var(--ink); border-bottom: 1px solid var(--line); }
.d-head h2 { font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: 32px; line-height: 1.05; text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
.d-price { font-weight: 800; font-size: 18px; margin-top: 4px; } .d-price small { color: var(--mute); font-weight: 500; font-size: 13px; }
.x { flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: transparent; border: 1px solid var(--line); color: var(--white); font: 26px/1 'Inter', sans-serif; }
.d-body { padding: 16px; display: grid; gap: 20px; }
.d-main { position: relative; display: flex; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px;
  background: radial-gradient(120% 90% at 50% 35%, #FFFFFF 0%, #EEF0F2 60%, #DFE2E6 100%); }
.d-main .gi { transition: transform .3s ease; }
.tag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; }
.d-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.th { position: relative; display: flex; width: 72px; height: 90px; padding: 0; border-radius: 10px; overflow: hidden; background: #EEF0F2; border: 2px solid transparent; }
.th.on { border-color: var(--yellow); }
.th .g { height: 90%; }
.d-desc { font-size: 17px; }
.deco span { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); background: var(--white); padding: 4px 8px; border-radius: 6px; }
.lbl { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mute); margin: 20px 0 10px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.sw { width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.3); }
.sw.on { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--yellow); }
.opts { display: flex; gap: 8px; flex-wrap: wrap; }
.opt { height: auto; min-height: 44px; padding: 8px 14px; border-radius: 10px; background: var(--ink-2); color: var(--white); border: 1px solid var(--line);
  font: 700 15px 'Inter', sans-serif; letter-spacing: 0; text-transform: none; }
.opt small { display: block; font-weight: 500; font-size: 12px; color: var(--mute); }
.opt.on { border-color: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow); }
.opt.fl { padding: 8px 10px; min-width: 52px; display: flex; align-items: center; justify-content: center; }
.opt.fl svg { display: block; width: 30px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.sz { min-width: 56px; }
.small { color: var(--mute); font-size: 14px; margin-top: 8px; }
.guide { margin-top: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.guide summary { cursor: pointer; font-weight: 700; }
.guide p { color: var(--mute); font-size: 14px; margin-top: 8px; }
.dcards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.dcards li { background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 14px; color: var(--mute); }
.dcards b { display: block; color: var(--white); font-size: 15px; margin: 10px 0 4px; }
.dpic { display: flex; align-items: center; height: 44px; } .dpic svg { height: 100%; width: auto; max-width: 100%; }
.drop { margin-top: 24px; background: var(--ink-2); border: 1px solid var(--yellow); border-radius: 14px; padding: 18px; }
.drop h3 { font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: 28px; text-transform: uppercase; letter-spacing: .5px; color: var(--yellow); }
.want { margin-top: 10px; font-weight: 700; font-size: 15px; }
.drop form { margin-top: 12px; }
.drop input[type=email] { width: 100%; }
.drop button[type=submit] { width: 100%; margin-top: 14px; }
.drop .done h3 { margin-top: 0; }

@media (min-width: 720px) {
  .shero { grid-template-columns: 1.1fr 1fr; align-items: center; padding-top: 36px; padding-bottom: 52px; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .meta { padding: 14px 16px 16px; }
  .meta h3 { font-size: 26px; }
  .sheet { left: auto; width: min(920px, 92vw); transform: translateX(100%); border-left: 1px solid var(--line); }
  .d-head { padding: 20px 24px 14px; }
  .d-head h2 { font-size: 40px; }
  .d-body { grid-template-columns: 1fr 1fr; padding: 20px 24px 32px; gap: 28px; align-items: start; }
  .d-gal { position: sticky; top: 110px; }
}
@media (min-width: 1040px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .feat-track, .sheet, .drawer, .pic .v1, .pic .v2, .d-main .gi { transition: none; } }

/* Phone fixes (11 Nov 2026): the carousel track must not widen the grid, prices stay on one line. */
.shero > * { min-width: 0; }
.price { white-space: nowrap; }
@media (max-width: 719px) {
  .dot { width: 11px; height: 11px; }
  .dots { gap: 4px; }
  .badge { font-size: 10px; padding: 4px 6px; top: 8px; left: 8px; }
  .badge + .badge { top: 34px; }
  .meta h3 { font-size: 20px; }
}
@media (max-width: 719px) { .dpic { height: 34px; } }

/* Studio photos (11 Nov 2026): each is a finished 4:5 card, so it fills its frame. */
.ph { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.th .ph { border-radius: 8px; }
