/* Blackwing shop — extends styles.css (nav, footer, .section, buttons, --accent). */

.shop-hero { padding: 132px 56px 8px; max-width: 1400px; margin: 0 auto; width: 100%; }
.shop-hero h1 { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; color: #fff; margin: 0 0 12px; }
.shop-hero p { font-size: 17px; color: rgba(255,255,255,0.55); max-width: 540px; line-height: 1.6; margin: 0; }

/* Product grid — full-bleed immersive panels (square image, mono labels overlaid) */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 0 100px;
  width: 100%;
}
@media (min-width: 760px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
.prod-panel { display: block; position: relative; text-decoration: none; color: inherit; }
.prod-panel-media { position: relative; aspect-ratio: 1; overflow: hidden; background: #0a0a0a; }
.prod-panel-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s cubic-bezier(.16,1,.3,1); }
.prod-panel:hover .prod-panel-media img { transform: scale(1.03); }
.prod-panel.sold-out .prod-panel-media img { opacity: .5; }
/* top + bottom scrims so the overlaid labels stay legible over the studio gradient */
.prod-panel-media::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 40%; background: linear-gradient(180deg, rgba(0,0,0,.5), transparent); z-index: 1; pointer-events: none; }
.prod-panel-media::before { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(0deg, rgba(0,0,0,.5), transparent); z-index: 1; pointer-events: none; }
.prod-panel-info { position: absolute; top: 24px; left: 26px; z-index: 2; font-family: var(--mono); }
.prod-panel-name { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.prod-panel-price { display: block; font-size: 12px; letter-spacing: .06em; color: rgba(255,255,255,.82); margin-top: 5px; }
/* "Full details" CTA anchored bottom-left */
.prod-panel-tag { position: absolute; bottom: 22px; left: 26px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.6); }
/* badges/sold-out sit top-right in a panel so they don't collide with the labels */
.sold-badge { position: absolute; top: 14px; right: 14px; z-index: 2; font-family: var(--mono); background: rgba(0,0,0,0.6); color: #fff; font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.prod-panel .prod-badge { left: auto; right: 14px; }

/* legacy card styles kept for any non-panel use */
.product-card { background: #131313; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.product-card-img { aspect-ratio: 1; background: #1a1a1a; overflow: hidden; position: relative; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card-body { padding: 20px 22px 24px; }
.product-card-name { font-size: 18px; font-weight: 700; color: #fff; }
.product-card-price { font-size: 16px; font-weight: 600; color: #fff; margin-top: 8px; }

/* Product detail page */
.pdp { max-width: 1100px; margin: 0 auto; padding: 124px 56px 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pdp-media { display: flex; flex-direction: column; gap: 12px; }
.pdp-main { background: #131313; border-radius: 16px; overflow: hidden; aspect-ratio: 1; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-thumb { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: #131313; border: 1px solid #222; padding: 0; cursor: pointer; transition: border-color .15s; }
.pdp-thumb:hover { border-color: #555; }
.pdp-thumb.selected { border-color: #fff; box-shadow: 0 0 0 2px rgba(68,85,255,0.3); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-info { padding-top: 8px; }
.pdp-name { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin: 0 0 10px; line-height: 1.05; }
.pdp-price { font-size: 22px; font-weight: 600; color: #fff; margin: 0 0 24px; }
.pdp-desc { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.7; margin: 0 0 32px; }
.pdp-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #777; margin: 0 0 12px; }

/* Variant pills + qty */
.variant-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.variant-pill {
  min-width: 52px; padding: 11px 16px; border: 1px solid #333; border-radius: 8px;
  background: transparent; color: #aaa; font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.variant-pill:hover { border-color: #666; color: #fff; }
.variant-pill.selected { background: #fff; color: #000; border-color: #fff; box-shadow: 0 0 0 3px rgba(68,85,255,0.25); }
.variant-pill:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.size-guide-link { background: none; border: none; color: var(--accent); font: inherit; font-size: 11px; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer; margin-left: 8px; text-decoration: underline; }
.size-guide-link:hover { color: #fff; }
.size-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1002; width: 440px; max-width: 92vw; background: #0c0c0c; border: 1px solid #1c1c1c; border-radius: 14px; padding: 24px 28px 28px; }
.size-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.size-modal-head h2 { font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0; }
.size-table { width: 100%; border-collapse: collapse; }
.size-table th, .size-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #1a1a1a; font-size: 14px; color: #ddd; }
.size-table th { color: #777; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.size-note { color: #666; font-size: 12px; margin: 16px 0 0; line-height: 1.5; }

.qty-row { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid #333; border-radius: 8px; overflow: hidden; }
.qty-stepper button { width: 40px; height: 44px; background: transparent; color: #fff; border: none; font-size: 20px; cursor: pointer; }
.qty-stepper button:hover { background: #1e1e1e; }
.qty-stepper span { width: 44px; text-align: center; font-size: 15px; color: #fff; }

.add-btn { width: 100%; justify-content: center; cursor: pointer; border: none; font: inherit; }
.add-btn:disabled { opacity: .4; cursor: not-allowed; }
.pdp-back { display: inline-block; margin: 0 0 18px; font-size: 14px; font-weight: 600; color: #999; text-decoration: none; }
.pdp-back:hover { color: #fff; }

/* Cart button in nav */
.cart-btn { position: relative; background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; padding: 6px; display: flex; align-items: center; }
.cart-btn:hover { color: #fff; }
.cart-count { position: absolute; top: -4px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px; background: var(--accent); color: #fff; border-radius: 9px; font-size: 11px; font-weight: 700; display: none; align-items: center; justify-content: center; line-height: 17px; }
.cart-count.show { display: flex; }

/* Slide-in cart + checkout overlay */
.shop-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1000; opacity: 0; pointer-events: none; transition: opacity .25s; }
.shop-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 92vw; z-index: 1001;
  background: #0c0c0c; border-left: 1px solid #1c1c1c; transform: translateX(100%);
  transition: transform .3s cubic-bezier(.16,1,.3,1); display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid #1c1c1c; }
.cart-head h2 { font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0; }
.cart-close { background: none; border: none; color: #888; font-size: 24px; cursor: pointer; line-height: 1; }
.cart-close:hover { color: #fff; }
.cart-back { background: none; border: none; color: #888; font-size: 20px; cursor: pointer; line-height: 1; }
.cart-back:hover { color: #fff; }
.cart-body { flex: 1; overflow-y: auto; padding: 12px 28px; }
.cart-empty { color: #666; font-size: 15px; text-align: center; padding: 48px 0; }
.cart-empty p { margin: 0; }
.cart-line { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid #161616; }
.cart-line img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; background: #1a1a1a; flex-shrink: 0; }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-name { font-size: 14px; font-weight: 600; color: #fff; }
.cart-line-label { font-size: 12px; color: #888; margin-top: 2px; }
.cart-line-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.cart-line-price { font-size: 14px; color: #fff; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid #2a2a2a; border-radius: 6px; overflow: hidden; }
.cart-qty button { width: 28px; height: 28px; background: transparent; color: #fff; border: none; cursor: pointer; font-size: 15px; line-height: 1; }
.cart-qty button:hover { background: #1e1e1e; }
.cart-qty span { width: 30px; text-align: center; font-size: 13px; color: #fff; }
.cart-line-remove { background: none; border: none; color: #777; font-size: 12px; cursor: pointer; margin-top: 8px; }
.cart-line-remove:hover { color: #ff6b6b; }
.cart-foot { padding: 22px 28px 28px; border-top: 1px solid #1c1c1c; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 15px; color: #fff; margin-bottom: 18px; }
.cart-total-row strong { font-weight: 700; }
.cart-continue { display: block; width: 100%; margin-top: 10px; padding: 13px; background: transparent; border: 1px solid #2a2a2a; border-radius: 8px; color: #ccc; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .15s, color .15s; }
.cart-continue:hover { border-color: #555; color: #fff; }
.cart-empty .cart-continue { width: auto; display: inline-block; margin-top: 18px; padding: 12px 22px; }

/* Checkout panel (reuses the drawer position, wider) */
.checkout-panel { width: 520px; }
.checkout-panel .cart-body { padding: 24px 28px; }
.co-field { margin-bottom: 14px; }
.co-field label { display: block; font-size: 12px; color: #999; margin-bottom: 6px; }
.co-field input { width: 100%; padding: 12px 14px; background: #141414; border: 1px solid #2a2a2a; border-radius: 8px; color: #fff; font: inherit; font-size: 15px; }
.co-field input:focus { outline: none; border-color: var(--accent); }
.co-section { font-size: 15px; font-weight: 700; color: #fff; margin: 22px 0 14px; }
.co-section:first-child { margin-top: 2px; }
.co-country-val { padding: 12px 14px; background: #141414; border: 1px solid #2a2a2a; border-radius: 8px; color: #fff; font-size: 15px; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.co-error { color: #ff6b6b; font-size: 13px; margin: 8px 0 0; min-height: 18px; }
.co-summary { font-size: 14px; color: #aaa; margin: 16px 0; }
.co-summary .co-total { display: flex; justify-content: space-between; color: #fff; font-weight: 700; font-size: 16px; padding-top: 10px; border-top: 1px solid #222; margin-top: 8px; }
#payment-element { margin: 18px 0; min-height: 40px; }
.co-done { text-align: center; padding: 40px 12px; }
.co-done h2 { font-size: 28px; font-weight: 800; color: #fff; margin: 0 0 10px; }
.co-done p { color: #999; font-size: 15px; line-height: 1.6; }

@media (max-width: 1000px) { .pdp { grid-template-columns: 1fr; gap: 32px; padding-top: 104px; } }
@media (max-width: 860px) { .shop-grid { padding-bottom: 80px; } .shop-hero { padding: 116px 24px 0; } .shop-hero h1 { font-size: 40px; } }

/* ── Drop hero (current limited release) — austere / technical treatment ───── */
:root { --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; }
.drop-hero-wrap:empty { display: none; }
.drop-hero-wrap { max-width: 1180px; margin: 8px auto 0; padding: 0 56px; }
.drop-hero { position: relative; overflow: hidden; border-radius: 6px; border: 1px solid #242424; background: #0a0a0a; min-height: 360px; display: flex; align-items: flex-end; }
.drop-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.drop-hero.upcoming .drop-hero-bg { filter: brightness(.45) saturate(.82) grayscale(.12); }
.drop-hero.live .drop-hero-bg { filter: brightness(.78) saturate(.95); }
.drop-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.94) 100%); }
/* thin accent rule along the top edge — "issued kit" signal */
.drop-hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); z-index: 2; }
.drop-hero.upcoming::before { background: #d9b54a; }
.drop-hero-inner { position: relative; z-index: 1; padding: 44px 46px 40px; max-width: 700px; }

/* mono technical tag line: DROP 001 — Available */
.drop-hero-tag { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; font-family: var(--mono); }
.drop-hero-code { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #fff; }
.drop-hero-rule { width: 26px; height: 1px; background: rgba(255,255,255,.35); }
.drop-hero-status { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.drop-hero.upcoming .drop-hero-status { color: #e3c156; }

.drop-hero-title { font-size: 46px; font-weight: 800; letter-spacing: -.025em; line-height: 1.02; color: #fff; margin: 0; }
.drop-hero-sub { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #b6b6b6; margin: 13px 0 0; }
.drop-hero-story { font-size: 15px; line-height: 1.62; color: #adadad; margin: 16px 0 0; max-width: 560px; }

/* Countdown — bordered, monospaced, terminal-like */
.drop-countdown { display: flex; margin: 26px 0 0; border: 1px solid #2a2a2a; border-radius: 5px; overflow: hidden; width: fit-content; background: rgba(10,10,10,.55); }
.drop-cd-seg { text-align: center; padding: 12px 16px; border-right: 1px solid #2a2a2a; min-width: 58px; }
.drop-cd-seg:last-child { border-right: none; }
.drop-cd-num { font-family: var(--mono); font-size: 24px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.drop-cd-label { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: #7c7c7c; margin-top: 7px; }

/* Notify-me capture — single austere unit */
.drop-notify { display: flex; margin: 24px 0 0; max-width: 440px; border: 1px solid #2e2e2e; border-radius: 5px; overflow: hidden; background: rgba(12,12,12,.85); flex-wrap: wrap; }
.drop-notify input { flex: 1; min-width: 180px; padding: 14px 16px; background: transparent; border: none; color: #fff; font: inherit; font-size: 16px; }
.drop-notify input:focus { outline: none; }
.drop-notify input::placeholder { color: #6a6a6a; }
.drop-notify button { padding: 14px 22px; background: #fff; color: #000; border: none; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: opacity .15s; }
.drop-notify button:hover { opacity: .82; }
.drop-notify button:disabled { opacity: .5; cursor: default; }
.drop-notify-msg { width: 100%; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; margin: 8px 0 0; min-height: 14px; color: #8ad28a; }
.drop-notify-msg.err { color: #ff6b6b; }

/* Product-card scarcity badges — restrained mono tags (sold-out keeps .sold-badge) */
.prod-badge { position: absolute; top: 10px; left: 10px; z-index: 2; font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.prod-badge.limited { background: rgba(0,0,0,.5); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.prod-badge.low { background: #d9b54a; color: #1a1400; }
.prod-badge.preorder { background: #1f5ff0; color: #fff; }

/* PDP pre-order note: accepting orders while out of stock. */
.pdp-preorder-note { display: flex; gap: 8px; align-items: baseline; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.72); background: rgba(31,95,240,0.1); border-left: 2px solid #1f5ff0; border-radius: 0 6px 6px 0; padding: 12px 14px; margin: 0 0 28px; }

@media (max-width: 860px) {
  .drop-hero-wrap { padding: 0 24px; }
  .drop-hero-inner { padding: 30px 26px 28px; }
  .drop-hero-title { font-size: 32px; }
  .drop-hero { min-height: 300px; }
}
@media (max-width: 520px) { .shop-grid { grid-template-columns: 1fr; } .pdp, .pdp-name { } .co-row, .co-row-3 { grid-template-columns: 1fr; } }
