/* Dream Chaser Elite - merch store (/shop, /shop-thanks). Loaded after site.css on those pages only.
   Ported from the Grace N Grind silo store, re-skinned to the DCE tokens in theme.css: black field,
   brand teal fills with WHITE text (5.1:1), --dce-accent-text for small teal text on black. */

.shop-page { --tint: color-mix(in srgb, var(--dce-text) 6%, transparent); --tint-2: color-mix(in srgb, var(--dce-text) 12%, transparent); --edge: color-mix(in srgb, var(--dce-text) 16%, transparent); --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.3, .7, .4, 1.4); }

/* ============ hero ============ */
.shop-hero { padding-bottom: 40px; }
.shop-hero .btn-ghost { gap: 8px; }
.shop-hero-count:not(:empty) { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--dce-accent); color: #fff; font-size: 14px; letter-spacing: 0; }
.shop-sec { padding-top: clamp(40px, 5vw, 70px); }

/* ============ toolbar + filter chips ============ */
.shop-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; margin-bottom: 30px; }
.shop-bar .eyebrow { margin-bottom: 12px; }
.chips { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--tint); box-shadow: inset 0 0 0 1px var(--dce-line); }
.chip-f { position: relative; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: var(--dce-muted); cursor: pointer; font: 400 16px/1 var(--dce-font-display); letter-spacing: .12em; text-transform: uppercase; transition: background .3s, color .3s, transform .25s var(--spring); }
.chip-f small { margin-left: 6px; font-size: 12px; opacity: .65; letter-spacing: .04em; }
.chip-f:hover { color: var(--dce-text); }
.chip-f:active { transform: scale(.96); }
.chip-f.is-on { background: var(--dce-accent); color: #fff; box-shadow: 0 8px 22px -10px var(--dce-accent-glow); }
@media (max-width: 480px) { .shop-bar { align-items: stretch; flex-direction: column; } .chips { display: flex; } .chip-f { flex: 1; padding: 0 10px; } }

/* ============ product grid ============ */
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 560px) { .shop-grid { grid-template-columns: minmax(0, 1fr); } }
.pcard-skel { aspect-ratio: 4 / 6.1; border-radius: 28px; background: linear-gradient(100deg, var(--tint) 30%, var(--tint-2) 50%, var(--tint) 70%) 0 0 / 300% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -300% 0; } }

.pcard { display: flex; flex-direction: column; animation: pc-in .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes pc-in { from { opacity: 0; transform: translateY(28px) scale(.98); } }
.pcard.is-quiet { animation: none; }
.pcard-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: radial-gradient(90% 70% at 50% 38%, color-mix(in srgb, var(--dce-accent) 16%, transparent), transparent 70%), var(--dce-panel); }
.pcard-media img, .pcard-media .garment { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.pcard-media img { filter: saturate(.9) contrast(1.04); }
.pcard-media .alt-img { opacity: 0; }
.pcard:hover .pcard-media img, .pcard:hover .pcard-media .garment { transform: scale(1.05); }
@media (hover: hover) { .pcard:hover .pcard-media .alt-img { opacity: 1; } }
.pcard-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 62%, color-mix(in srgb, var(--dce-ink) 55%, transparent)); }
.pcard-tags { position: absolute; z-index: 2; left: 16px; top: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; font: 400 12px/1 var(--dce-font-display); letter-spacing: .14em; text-transform: uppercase; background: var(--dce-accent); color: #fff; }
.tag-soft { background: color-mix(in srgb, var(--dce-ink) 72%, transparent); color: var(--dce-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dce-accent) 45%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tag-out { background: #c2412f; color: #fff; }
.pcard-zoom { position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--dce-ink) 70%, transparent); color: var(--dce-text); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); }
.pcard-zoom svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pcard:hover .pcard-zoom, .pcard-media:focus-visible .pcard-zoom { opacity: 1; transform: none; }
.pcard-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 20px 22px 22px; }
.pcard-cat { margin: 0; font: 400 12px/1 var(--dce-font-display); letter-spacing: .22em; text-transform: uppercase; color: var(--dce-accent-text); }
.pcard-name { font-size: clamp(22px, 2vw, 27px); line-height: 1; }
.pcard-name button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-transform: inherit; text-align: left; cursor: pointer; letter-spacing: inherit; }
.pcard-name button:hover { color: var(--dce-accent-hi); }
.pcard-sizes { margin: 2px 0 0; font-size: 14px; color: var(--dce-muted); }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.pcard-price { font: 400 30px/1 var(--dce-font-display); color: var(--dce-text); }
.pcard-price small { font-size: .5em; color: var(--dce-muted); margin-left: 2px; }
.pcard .btn { min-height: 46px; animation: none; }
.pcard .btn::after { display: none; }
.pcard .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.pcard .btn.is-added { background: var(--dce-accent-hi); }
.pcard .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pcard.is-hidden { display: none; }
.shop-noscript { padding: 18px 20px; border-radius: 16px; background: var(--tint); box-shadow: inset 0 0 0 1px var(--dce-line); }
.shop-empty { grid-column: 1 / -1; padding: 30px; border-radius: 22px; text-align: center; color: var(--dce-muted); background: var(--tint); }

/* the inline garment preview (tees have no real photo yet) */
.garment { display: block; color: color-mix(in srgb, var(--dce-text) 30%, transparent); }
.garment .g-body { stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.garment .g-rib { fill: none; stroke-linecap: round; }

/* trust row */
.shop-trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 34px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--dce-line); font: 400 14px/1.3 var(--dce-font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--dce-muted); }
.shop-trust li { display: inline-flex; align-items: center; gap: 10px; }
.shop-trust svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--dce-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shop-trust a { color: var(--dce-accent-hi); }

/* ============ shared dialog chrome ============ */
.shop-page dialog { padding: 0; border: 0; color: var(--dce-text); background: none; max-width: none; max-height: none; overflow: visible; }
.shop-page dialog::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.shop-page dialog.is-open::backdrop { opacity: 1; }
html.shop-locked { overflow: hidden; }
.x-btn { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; color: var(--dce-text); background: var(--tint-2); transition: background .25s, transform .35s var(--spring); }
.x-btn:hover { background: var(--dce-accent); color: #fff; transform: rotate(90deg); }
.x-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* ============ quick view ============ */
.qv { width: min(1000px, calc(100% - 32px)); margin: auto; }
.qv-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); max-height: calc(100dvh - 48px); overflow: auto; border-radius: 30px; background: linear-gradient(180deg, var(--dce-panel-2), var(--dce-panel)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dce-accent) 32%, transparent), 0 60px 120px -50px rgba(0, 0, 0, .9); opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .35s var(--ease), transform .45s var(--ease); overscroll-behavior: contain; }
.qv.is-open .qv-in { opacity: 1; transform: none; }
.qv-x { position: absolute; z-index: 3; right: 14px; top: 14px; background: color-mix(in srgb, var(--dce-ink) 70%, transparent); }
.qv-gallery { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.qv-main { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: radial-gradient(90% 70% at 50% 38%, color-mix(in srgb, var(--dce-accent) 18%, transparent), transparent 70%), var(--dce-panel); }
.qv-main img, .qv-main .garment { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: qv-img .5s var(--ease); }
@keyframes qv-img { from { opacity: 0; transform: scale(1.04); } }
.qv-main .tag { position: absolute; z-index: 2; left: 14px; bottom: 14px; }
@media (min-width: 761px) { .qv-main { aspect-ratio: auto; height: min(640px, calc(100dvh - 170px)); } }
@media (min-width: 761px) and (max-height: 820px) { .qv-info { padding-top: 26px; padding-bottom: 22px; } .qv-row, .qv-sizes { margin-top: 12px; padding-top: 12px; } .qv-desc { margin-top: 10px; } .qv-info .btn-block { margin-top: 16px; } .qv-price { margin-top: 8px; } }
.qv-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.qv-thumbs::-webkit-scrollbar { display: none; }
.qv-thumbs button { flex: none; width: 64px; height: 80px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--dce-panel); box-shadow: inset 0 0 0 1px var(--dce-line); opacity: .6; transition: opacity .25s, box-shadow .25s, transform .25s; }
.qv-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.qv-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.qv-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--dce-accent); }
.qv-info { display: flex; flex-direction: column; padding: 34px 32px 30px 18px; }
.qv-cat { margin: 0 0 10px; font: 400 13px/1 var(--dce-font-display); letter-spacing: .24em; text-transform: uppercase; color: var(--dce-accent-text); }
.qv-title { font-size: clamp(30px, 3.2vw, 42px); padding-right: 40px; }
.qv-price { margin: 12px 0 0; font: 400 36px/1 var(--dce-font-display); color: var(--dce-accent-hi); }
.qv-desc { margin: 14px 0 0; color: var(--dce-muted); }
.qv-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--dce-line); }
.qv-label { font: 400 13px/1 var(--dce-font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--dce-muted); }
.qv-color { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.qv-color i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--dce-text) 30%, transparent), 0 0 0 3px var(--dce-panel-2), 0 0 0 5px var(--dce-accent); }
.qv-sizes { margin: 18px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--dce-line); min-width: 0; }
.qv-sizes legend { float: left; width: 100%; margin-bottom: 12px; padding: 0; }
.size-seg { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.size-seg label { position: relative; cursor: pointer; }
.size-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size-seg span { display: grid; place-items: center; min-width: 64px; min-height: 48px; padding: 0 16px; border-radius: 14px; background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--edge); font: 400 17px/1 var(--dce-font-display); letter-spacing: .06em; text-transform: uppercase; transition: background .25s, box-shadow .25s, color .25s, transform .25s var(--spring); }
.size-seg label:hover span { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--dce-accent); }
.size-seg input:checked + span { background: var(--dce-accent); color: #fff; box-shadow: none; }
.size-seg input:focus-visible + span { outline: 3px solid var(--dce-accent-hi); outline-offset: 2px; }
.size-seg input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; transform: none; }
.qv-sizes.is-bad .size-seg span { animation: shake .4s; box-shadow: inset 0 0 0 2px #e0493c; }
.qv-hint { margin: 10px 0 0; font-size: 14px; color: var(--dce-muted); min-height: 1.4em; }
.qv-hint.is-bad { color: #e0493c; }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--edge); }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--dce-text); cursor: pointer; font: 700 22px/1 var(--dce-font-body); transition: background .2s, color .2s; }
.stepper button:hover { background: var(--dce-accent-soft); color: var(--dce-accent-hi); }
.stepper button:disabled { opacity: .35; cursor: default; background: none; }
.stepper output { min-width: 34px; text-align: center; font: 400 20px/1 var(--dce-font-display); }
.qv-info .btn-block { margin-top: 22px; }
.qv-fine { margin: 12px 0 0; font-size: 13.5px; color: var(--dce-muted); }
@media (max-width: 760px) {
  .qv { width: 100%; margin: auto 0 0; }
  .qv-in { grid-template-columns: minmax(0, 1fr); max-height: 94dvh; border-radius: 26px 26px 0 0; transform: translateY(100%); transition: transform .5s var(--ease), opacity .2s; padding-bottom: env(safe-area-inset-bottom); }
  .qv-gallery { padding: 12px 12px 0; }
  .qv-main { aspect-ratio: 5 / 4; }
  .qv-main img { object-position: 50% 45%; }
  .qv-info { padding: 20px 18px 22px; }
  .qv-title { padding-right: 0; }
  .qv-info .btn-block { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 2; }
}

/* ============ cart drawer ============ */
.drawer { position: fixed; inset: 0 0 0 auto; width: min(440px, 100%); height: 100%; margin: 0 0 0 auto; }
.drawer-in { display: flex; flex-direction: column; height: 100%; background: linear-gradient(180deg, var(--dce-panel-2), var(--dce-panel)); box-shadow: inset 1px 0 0 color-mix(in srgb, var(--dce-accent) 35%, transparent), -40px 0 90px -40px rgba(0, 0, 0, .8); transform: translateX(104%); transition: transform .5s var(--ease); }
.drawer.is-open .drawer-in { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 16px 24px; border-bottom: 1px solid var(--dce-line); }
.drawer-head h2 { font-size: 30px; }
.drawer-head h2 span { font: 400 1.35em/0 var(--dce-font-logo); text-transform: none; color: var(--dce-accent-hi); }
.drawer-head h2 small { margin-left: 4px; font: 400 14px/1 var(--dce-font-display); letter-spacing: .12em; color: var(--dce-muted); vertical-align: middle; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 18px; }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--dce-line); animation: line-in .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes line-in { from { opacity: 0; transform: translateX(24px); } }
.line.is-leaving { animation: line-out .3s ease forwards; }
@keyframes line-out { to { opacity: 0; transform: translateX(30px); height: 0; } }
.line-img { position: relative; width: 78px; height: 96px; border-radius: 14px; overflow: hidden; background: var(--dce-panel); box-shadow: inset 0 0 0 1px var(--dce-line); }
.line-img img, .line-img .garment { width: 100%; height: 100%; object-fit: cover; }
.line-top { display: flex; justify-content: space-between; gap: 10px; }
.line-name { margin: 0; font: 400 17px/1.1 var(--dce-font-display); text-transform: uppercase; }
.line-price { flex: none; font: 400 18px/1.1 var(--dce-font-display); color: var(--dce-accent-hi); }
.line-meta { margin: 4px 0 0; font-size: 14px; color: var(--dce-muted); }
.line-warn { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: #e0493c; }
.line-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.line .stepper output { min-width: 28px; font-size: 18px; }
.line-rm { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--dce-muted); cursor: pointer; font: 400 13px/1 var(--dce-font-display); letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--dce-line); text-underline-offset: 4px; }
.line-rm:hover { color: #e0493c; }
.cart-empty { padding: 50px 10px; text-align: center; color: var(--dce-muted); }
.cart-empty svg { width: 76px; height: 76px; margin: 0 auto 16px; fill: none; stroke: var(--dce-accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; animation: bag-bob 3.6s ease-in-out infinite; }
@keyframes bag-bob { 50% { transform: translateY(-6px) rotate(-4deg); } }
.cart-empty b { display: block; margin-bottom: 4px; font: 400 24px/1.1 var(--dce-font-display); text-transform: uppercase; color: var(--dce-text); }
.drawer-foot { padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--dce-line); background: color-mix(in srgb, var(--dce-ink) 35%, transparent); }
.drawer-foot[hidden] { display: none !important; }
.sub { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sub span { font: 400 14px/1 var(--dce-font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--dce-muted); }
.sub b { font: 400 34px/1 var(--dce-font-display); }
.sub-note { margin: 6px 0 14px; font-size: 14px; color: var(--dce-muted); }
.drawer-foot .btn-lg { min-height: 64px; font-size: 22px; }
.pay-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--dce-muted); }
.pay-note svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.notice { margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: var(--dce-accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dce-accent) 50%, transparent); font-size: 15px; line-height: 1.45; animation: step-in .45s var(--ease); }
.notice b { display: block; font: 400 18px/1.1 var(--dce-font-display); text-transform: uppercase; color: var(--dce-accent-hi); margin-bottom: 4px; }
.notice a:not(.btn) { color: var(--dce-accent-hi); font-weight: 700; }
.notice a.btn, .notice a.btn:hover { color: #fff; }
.notice.is-bad { background: rgba(224, 73, 60, .12); box-shadow: inset 0 0 0 1px rgba(224, 73, 60, .5); }
.notice.is-bad b { color: #e0493c; }
.notice .btn { margin-top: 12px; min-height: 46px; animation: none; }
.notice .btn::after { display: none; }

/* ============ floating cart button ============ */
.cart-fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 75; width: 64px; height: 64px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: linear-gradient(135deg, #19a0b5, #00798d 55%, #005f6f); box-shadow: 0 16px 36px -12px var(--dce-accent-glow), inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 0 rgba(0, 0, 0, .18); transition: transform .35s var(--spring), bottom .45s var(--ease), box-shadow .3s; }
.cart-fab:hover { transform: translateY(-3px) scale(1.05); }
.cart-fab:active { transform: scale(.94); }
.cart-fab svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.fab-count { position: absolute; top: -4px; right: -4px; min-width: 26px; height: 26px; padding: 0 7px; display: grid; place-items: center; border-radius: 999px; background: #fff; color: var(--dce-ink); font: 400 14px/1 var(--dce-font-display); box-shadow: 0 0 0 3px var(--dce-ink); }
.cart-fab.is-bump { animation: fab-bump .6s var(--spring); }
.cart-fab.is-bump .fab-count { animation: count-pop .6s var(--spring); }
@keyframes fab-bump { 30% { transform: scale(1.18) rotate(-8deg); } 60% { transform: scale(.95) rotate(4deg); } }
@keyframes count-pop { 40% { transform: scale(1.5); background: var(--dce-accent-hi); color: #fff; } }
.cart-fab.has-items::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--dce-accent-glow); animation: btn-ring 3.4s ease-out infinite; pointer-events: none; }
@media (max-width: 760px) { .mobile-cta.is-on ~ .cart-fab { bottom: calc(92px + env(safe-area-inset-bottom)); } .cart-fab { width: 58px; height: 58px; } }

/* the thing that flies from the card into the cart */
.fly { position: fixed; z-index: 96; left: 0; top: 0; border-radius: 16px; overflow: hidden; pointer-events: none; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6), 0 0 0 2px var(--dce-accent); background: var(--dce-panel); }
.fly img, .fly .garment { width: 100%; height: 100%; object-fit: cover; }

/* toast */
.shop-toast { position: fixed; left: 50%; bottom: 26px; z-index: 97; max-width: calc(100% - 120px); padding: 12px 18px; border-radius: 999px; background: var(--dce-panel-3); color: var(--dce-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dce-accent) 45%, transparent), 0 20px 40px -18px rgba(0, 0, 0, .7); font: 400 14px/1.2 var(--dce-font-display); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translate(-50%, 160%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; pointer-events: none; }
.shop-toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.shop-toast b { color: var(--dce-accent-hi); font-weight: 800; }
@media (max-width: 760px) { .shop-toast { left: 16px; right: 90px; max-width: none; transform: translateY(160%); bottom: calc(22px + env(safe-area-inset-bottom)); } .shop-toast.is-on { transform: none; } .has-mobile-cta .shop-toast { bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ============ /shop-thanks ============ */

/* ============ Dream Chaser additions ============ */
.shop-page { --dce-panel-3: #1a1a1d; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes btn-ring { 0% { transform: scale(.9); opacity: 1; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 13px; gap: 7px; }

/* hero: headline + a perks column, a giant outlined monogram behind */
.shop-hero { padding-bottom: clamp(48px, 6vw, 80px); }
.shop-ghost { position: absolute; right: -2%; bottom: -8%; font: 400 clamp(160px, 26vw, 380px)/.8 var(--dce-font-logo); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .06); pointer-events: none; user-select: none; }
.shop-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: end; }
.shop-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.shop-perks li { display: grid; gap: 2px; padding: 18px 20px 18px 22px; border-radius: 18px; background: color-mix(in srgb, var(--dce-panel-2) 85%, transparent); border: 1px solid var(--dce-line); border-left: 3px solid var(--dce-accent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.shop-perks b { font: 400 20px/1.1 var(--dce-font-display); text-transform: uppercase; letter-spacing: .03em; }
.shop-perks span { font-size: 14.5px; color: var(--dce-muted); }
@media (max-width: 860px) { .shop-hero-in { grid-template-columns: minmax(0, 1fr); } .shop-perks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shop-perks { grid-template-columns: minmax(0, 1fr); } .shop-perks li { padding: 14px 16px; } }
.shop-sec { padding-top: clamp(28px, 4vw, 56px); }
.shop-bar .h-md { margin: 0; }

/* product card chrome (the GNG cards borrowed .card from their site.css; DCE's .card pads, so own it here) */
.pcard { position: relative; border-radius: 24px; overflow: hidden; background: var(--dce-panel-2); border: 1px solid var(--dce-line); transition: transform .45s var(--ease), border-color .3s, box-shadow .45s; }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(360px circle at var(--cx, 50%) var(--cy, 0%), var(--dce-accent-soft), transparent 60%); opacity: 0; transition: opacity .35s; }
.pcard:hover { transform: translateY(-6px); border-color: var(--dce-accent); box-shadow: 0 30px 60px -34px var(--dce-accent-glow); }
.pcard:hover::before { opacity: 1; }
.pcard-body, .pcard-media { position: relative; z-index: 2; }
.pcard-name { font-size: clamp(24px, 2.2vw, 30px); }
.pcard.is-soon .pcard-media img:not(.alt-img) { filter: grayscale(.4) brightness(.8); }
.pcard-price.is-soon, .qv-price.is-soon { font-size: 20px; letter-spacing: .14em; text-transform: uppercase; color: var(--dce-accent-text); }
.tag-soon { background: #fff; color: var(--dce-ink); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .6); }
.tag-soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dce-accent); animation: soon-pulse 1.6s ease-in-out infinite; }
@keyframes soon-pulse { 50% { transform: scale(1.7); opacity: .4; } }
.tag-colors { background: color-mix(in srgb, var(--dce-ink) 72%, transparent); color: var(--dce-text); box-shadow: inset 0 0 0 1px var(--dce-line); }

/* no photo yet: the logo on a teal court glow, with a slow sheen */
.garment.nophoto { display: grid; place-content: center; justify-items: center; gap: 16px; padding: 18%; background: radial-gradient(70% 55% at 50% 45%, color-mix(in srgb, var(--dce-accent) 22%, transparent), transparent 70%), repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, .018) 22px 23px), var(--dce-panel); overflow: hidden; }
.garment.nophoto img { position: static; width: min(70%, 220px); height: auto; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .6)); opacity: .92; }
.garment.nophoto b { font: 400 14px/1 var(--dce-font-display); letter-spacing: .24em; text-transform: uppercase; color: var(--dce-accent-text); }
.garment.nophoto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .07) 50%, transparent 60%); transform: translateX(-100%); animation: dce-garment-sheen 5s 1s ease-in-out infinite; pointer-events: none; }
@keyframes dce-garment-sheen { 60%, 100% { transform: translateX(100%); } }
.line-img .garment.nophoto, .order-lines .garment.nophoto { padding: 14%; gap: 0; }
.line-img .garment.nophoto b, .order-lines .garment.nophoto b { display: none; }

/* toast carries a "View cart" button */
.shop-toast { display: flex; align-items: center; gap: 14px; }
.shop-toast > span { overflow: hidden; text-overflow: ellipsis; }
.shop-toast.is-on { pointer-events: auto; }
.toast-link { flex: none; min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--dce-accent); color: #fff; font: inherit; letter-spacing: .1em; cursor: pointer; }

/* bottom CTA band */
.shop-cta .h-lg { margin-bottom: 16px; }

/* ============ /shop-thanks: the order pass (same ticket as the /welcome membership pass) ============ */
.order-done .pass { margin-top: 34px; }
.order-pass .pass-main { padding: 26px 28px; }
.order-lines { list-style: none; margin: 0; padding: 0; }
.order-lines li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--dce-line); }
.order-lines .line-img { width: 56px; height: 68px; }
.order-lines .line-name { font-size: 16px; }
.order-sums { margin: 14px 0 0; display: grid; gap: 6px; }
.order-sums div { display: flex; justify-content: space-between; gap: 12px; }
.order-sums dt { color: var(--dce-muted); font-size: 14.5px; }
.order-sums dd { margin: 0; font-weight: 700; }
.order-sums .order-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--dce-line); }
.order-sums .order-total dt, .order-sums .order-total dd { font: 400 22px/1 var(--dce-font-display); text-transform: uppercase; color: var(--dce-text); }
.order-pass .pass-side { min-width: 190px; gap: 6px; }
.order-pass .order-no { font: 400 clamp(24px, 3vw, 30px)/1 var(--dce-font-logo); font-style: normal; letter-spacing: .03em; overflow-wrap: anywhere; }
.order-pass .order-date { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
@media (max-width: 640px) { .order-pass { grid-template-columns: minmax(0, 1fr); } .order-pass .pass-side { order: -1; padding: 18px; } .order-pass .pass-side::before { display: none; } .order-pass .pass-main { padding: 20px 18px; } }
@media (max-width: 560px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard { border-radius: 18px; }
  .pcard-body { padding: 14px 12px 14px; }
  .pcard-name { font-size: 19px; }
  .pcard-sizes { font-size: 12.5px; }
  .pcard-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .pcard-price { font-size: 24px; }
  .pcard-price.is-soon { font-size: 15px; }
  .pcard .btn { min-height: 42px; padding: 0 10px; font-size: 12px; }
  .pcard-tags { left: 10px; top: 10px; }
  .garment.nophoto b { font-size: 11px; letter-spacing: .16em; }
  .chips { overflow-x: auto; scrollbar-width: none; }
  .chip-f { flex: none; padding: 0 14px; }
}
