/* The Drop Hole store: thedrophole.live/store, on the Tebex Headless API. Everything is
   prefixed st- so it never collides with the rest of the site. Uses the site's tokens. */

#p-store .pagehead { padding-bottom: 0; }
.st-root { padding-bottom: 40px; }
.st-root[hidden], .st-soon[hidden] { display: none; }

/* ---------- notices: active sale, preview banner, store announcement */
.st-notices { display: grid; gap: 10px; margin: 6px 0 22px; }
.st-note { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; font-weight: 700; line-height: 1.4;
  background: color-mix(in srgb, var(--c, var(--brand)) 14%, var(--panel)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c, var(--brand)) 45%, transparent); }
.st-note b { color: var(--c, var(--brand2)); }
.st-note small { display: block; color: var(--muted); font-weight: 500; }
.st-note .st-ends { margin-left: auto; white-space: nowrap; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.st-note .cube { --s: 26px; margin: 0 6px; }

/* ---------- sticky bar: categories, who it's for, basket */
.st-bar { position: sticky; top: var(--st-top, 70px); z-index: 40; display: flex; align-items: center; gap: 12px; padding: 12px 0; margin-bottom: 8px;
  background: linear-gradient(180deg, rgba(13,11,21,.94) 70%, rgba(13,11,21,0)); backdrop-filter: blur(8px); }
.st-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; padding: 2px; }
.st-cats::-webkit-scrollbar { display: none; }
.st-cat { flex: none; height: 40px; padding: 0 16px; border-radius: 99px; border: 0; cursor: pointer; font: 700 14px Rubik; color: var(--muted);
  background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); display: inline-flex; align-items: center; gap: 8px; transition: color .15s, box-shadow .15s; }
.st-cat i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.st-cat:hover { color: var(--ink); }
.st-cat.on { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--c), 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.st-who { flex: none; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 6px; border-radius: 12px; border: 0; cursor: pointer;
  font: 600 14px Rubik; color: var(--muted); background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); }
.st-who:hover { box-shadow: inset 0 0 0 1.5px var(--line2); }
.st-who b { color: var(--ink); font: 800 14px Rubik; }
.st-who img, .st-who .st-noface { width: 32px; height: 32px; border-radius: 8px; image-rendering: pixelated; background: var(--panel2); flex: none; }
.st-who .st-noface { display: grid; place-items: center; color: var(--dim); }
.st-who .st-noface svg { width: 18px; height: 18px; }
.st-bagbtn { flex: none; position: relative; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 12px; border: 0; cursor: pointer;
  font: 800 15px Rubik; color: #fff; background: linear-gradient(180deg, #a48aff, #7552f5); box-shadow: inset 0 2px 0 rgba(255,255,255,.3), 0 4px 0 #4a2fb8; transition: transform .1s; }
.st-bagbtn:active { transform: translateY(2px); box-shadow: inset 0 2px 0 rgba(255,255,255,.3), 0 2px 0 #4a2fb8; }
.st-bagbtn svg { width: 20px; height: 20px; }
.st-bagbtn .st-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #fff; color: #4a2fb8; font-size: 13px; display: grid; place-items: center; }
.st-bagbtn.bump { animation: st-bump .4s ease; }
@keyframes st-bump { 30% { transform: scale(1.08); } 60% { transform: scale(.97); } }

/* ---------- category sections + package cards */
.st-sec { padding: 26px 0 8px; scroll-margin-top: calc(var(--st-top, 70px) + 74px); }
.st-sechead { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.st-sechead h3 { font-size: 30px; font-weight: 900; display: flex; align-items: center; gap: 12px; }
.st-sechead h3 i { width: 12px; height: 12px; border-radius: 4px; background: var(--c); transform: rotate(45deg); }
.st-sechead p { color: var(--muted); max-width: 640px; line-height: 1.5; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.st-card { position: relative; display: flex; flex-direction: column; background: var(--panel); border-radius: 18px; overflow: hidden;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .18s, box-shadow .18s; cursor: pointer; text-align: left; }
.st-card:hover, .st-card:focus-within { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--c), 0 16px 36px rgba(0,0,0,.42); }
.st-card.inb { box-shadow: inset 0 0 0 2px var(--c); }
.st-stage { position: relative; height: 140px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 78%, color-mix(in srgb, var(--c) 42%, transparent), transparent 70%), linear-gradient(180deg, var(--panel2), var(--panel)); }
.st-stage img { max-width: 78%; max-height: 112px; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(0,0,0,.45)); transition: transform .3s; }
.st-card:hover .st-stage img { transform: scale(1.06) rotate(-2deg); }
.st-pile { position: relative; width: 150px; height: 112px; filter: drop-shadow(0 14px 12px rgba(0,0,0,.45)); }
.st-pile .cube { position: absolute; }
.st-card:hover .st-pile .cube:first-child { animation: bob 2.4s ease-in-out infinite; }
.st-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; padding: 5px 10px;
  border-radius: 99px; color: #1d1400; background: var(--amass); box-shadow: 0 3px 0 rgba(0,0,0,.3); }
.st-tag.sale { left: auto; right: 12px; color: #fff; background: var(--race); }
.st-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.st-body h4 { font-size: 19px; font-weight: 900; line-height: 1.15; }
.st-body .st-ex { color: var(--muted); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.st-buy { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.st-price { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.st-price s { display: block; color: var(--dim); font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.st-price small { color: var(--dim); font-size: 13px; font-weight: 600; }
.st-add { height: 40px; min-width: 92px; padding: 0 16px; border-radius: 11px; border: 0; cursor: pointer; font: 800 14px Rubik; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  color: #241a00; background: linear-gradient(180deg, #ffe066, #f7b80e); box-shadow: inset 0 2px 0 rgba(255,255,255,.55), 0 4px 0 #a87400; transition: transform .1s, filter .1s; }
.st-add:hover { filter: brightness(1.06); }
.st-add:active { transform: translateY(2px); box-shadow: inset 0 2px 0 rgba(255,255,255,.55), 0 2px 0 #a87400; }
.st-add svg { width: 16px; height: 16px; }
.st-add.in { color: var(--ink); background: var(--panel2); box-shadow: inset 0 0 0 1.5px var(--c), 0 4px 0 #0a0812; }
.st-add[disabled] { opacity: .55; cursor: progress; }
.st-add.wide { height: 52px; font-size: 16px; padding: 0 24px; }

/* skeletons while the catalogue loads */
.st-skel { height: 300px; border-radius: 18px; background: linear-gradient(100deg, var(--panel) 30%, var(--panel2) 50%, var(--panel) 70%); background-size: 300% 100%; animation: st-shine 1.4s linear infinite; }
@keyframes st-shine { to { background-position: -150% 0; } }

/* ---------- trust row, community, faq */
.st-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 36px 0 10px; }
.st-trust div { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); }
.st-trust .cube { --s: 30px; margin: 0 8px 0 6px; }
.st-trust b { display: block; } .st-trust small { color: var(--dim); font-size: 13px; line-height: 1.4; }
.st-community { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.st-community > div { padding: 22px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); }
.st-community h4 { font-size: 18px; font-weight: 900; margin-bottom: 6px; }
.st-community p { color: var(--muted); font-size: 14px; line-height: 1.45; }
.st-meter { position: relative; height: 22px; border-radius: 99px; background: var(--bg2); box-shadow: inset 0 0 0 1.5px var(--line2); overflow: hidden; margin: 14px 0 6px; }
.st-meter i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, #7552f5, #b35cff, #ff9a1f); box-shadow: inset 0 2px 0 rgba(255,255,255,.3); transition: width 1s ease; }
.st-meter span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 900; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.st-pays { display: grid; gap: 8px; margin-top: 10px; }
.st-pays div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.st-pays img { width: 26px; height: 26px; border-radius: 6px; image-rendering: pixelated; }
.st-pays b { color: var(--ink); }

/* ---------- dialogs: details, name, basket drawer, thanks */
.st-dlg { margin: auto; border: 0; padding: 0; color: var(--ink); background: var(--panel); border-radius: 22px; box-shadow: inset 0 0 0 1.5px var(--line2), 0 30px 80px rgba(0,0,0,.6);
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; }
.st-dlg::backdrop { background: rgba(6,5,12,.62); backdrop-filter: blur(3px); }
.st-dlg[open] { animation: st-pop .2s ease; }
@keyframes st-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.st-x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 11px; border: 0; cursor: pointer; color: var(--muted);
  background: var(--panel2); box-shadow: inset 0 0 0 1.5px var(--line2); display: grid; place-items: center; }
.st-x:hover { color: var(--ink); }
.st-x svg { width: 18px; height: 18px; }
.st-dlg .st-stage { height: 200px; }
.st-dlg .st-stage img { max-height: 170px; }
.st-dlg .st-pile { transform: scale(1.35); }
.st-dbody { padding: 22px 26px 26px; }
.st-dbody h3 { font-size: 28px; font-weight: 900; margin-bottom: 4px; }
.st-dbody .st-kick { color: var(--c); font-weight: 800; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; }
.st-desc { color: var(--muted); line-height: 1.6; margin: 12px 0 18px; }
.st-desc ul, .st-desc ol { margin: 8px 0 8px 20px; } .st-desc p + p { margin-top: 8px; } .st-desc b, .st-desc strong { color: var(--ink); }
.st-desc a { color: var(--brand2); text-decoration: underline; }
.st-dfoot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.st-dfoot .st-price { font-size: 30px; }

.st-name { padding: 28px; }
.st-name h3 { font-size: 26px; font-weight: 900; } .st-name p { color: var(--muted); line-height: 1.5; margin: 6px 0 18px; }
.st-namebox { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; border-radius: 14px; background: var(--bg2); box-shadow: inset 0 0 0 1.5px var(--line2); }
.st-namebox:focus-within { box-shadow: inset 0 0 0 1.5px var(--brand); }
.st-namebox img, .st-namebox .st-noface { width: 44px; height: 44px; border-radius: 10px; image-rendering: pixelated; background: var(--panel2); flex: none; }
.st-namebox .st-noface { display: grid; place-items: center; color: var(--dim); } .st-namebox .st-noface svg { width: 22px; height: 22px; }
.st-namebox input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: none; color: var(--ink); font: 700 18px Rubik; }
.st-hint { font-size: 13px; color: var(--dim); margin: 10px 2px 18px; min-height: 18px; } .st-hint.bad { color: var(--race); }
.st-name .st-add { width: 100%; }

.st-drawer { margin: 0 0 0 auto; height: 100vh; max-height: 100vh; width: min(430px, 100vw); border-radius: 22px 0 0 22px; display: none; flex-direction: column; overflow: hidden; }
.st-drawer[open] { display: flex; animation: st-slide .25s ease; }
@keyframes st-slide { from { transform: translateX(40px); opacity: 0; } }
.st-dhead { padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.st-dhead h3 { font-size: 24px; font-weight: 900; }
.st-dhead .st-who { margin-top: 12px; width: 100%; }
.st-dhead .st-who span { margin-left: auto; color: var(--brand2); font-weight: 700; font-size: 13px; }
.st-lines { flex: 1; overflow: auto; padding: 8px 24px; }
.st-line { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.st-line .st-mini { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--c) 40%, transparent), var(--panel2) 75%); overflow: hidden; }
.st-line .st-mini img { max-width: 44px; max-height: 44px; object-fit: contain; }
.st-line .st-mini .cube { --s: 22px; }
.st-line b { display: block; font-size: 15px; line-height: 1.25; } .st-line small { color: var(--dim); font-size: 13px; }
.st-line .st-lp { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.st-qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; border-radius: 9px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.st-qty button, .st-rm { width: 28px; height: 28px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; border-radius: 8px; }
.st-qty button:hover, .st-rm:hover { color: var(--ink); background: var(--panel2); }
.st-qty button svg, .st-rm svg { width: 14px; height: 14px; }
.st-qty span { min-width: 22px; text-align: center; font-weight: 800; font-size: 14px; }
.st-rm { margin: 6px 0 0 auto; }
.st-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.st-empty .cube { --s: 46px; margin-bottom: 26px; }
.st-empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.st-dfoot2 { padding: 16px 24px 22px; border-top: 1px solid var(--line); background: var(--panel2); }
.st-code summary { cursor: pointer; color: var(--muted); font-weight: 700; font-size: 14px; list-style: none; }
.st-code summary::-webkit-details-marker { display: none; }
.st-code summary:hover { color: var(--ink); }
.st-code form { display: flex; gap: 8px; margin-top: 10px; }
.st-code input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 10px; border: 0; outline: 0; font: 600 14px Rubik; color: var(--ink); background: var(--bg2); box-shadow: inset 0 0 0 1.5px var(--line2); }
.st-code input:focus { box-shadow: inset 0 0 0 1.5px var(--brand); }
.st-code button { height: 40px; padding: 0 14px; border-radius: 10px; border: 0; cursor: pointer; font: 800 14px Rubik; color: var(--ink); background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line2); }
.st-applied { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.st-applied span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; color: var(--golf); background: color-mix(in srgb, var(--golf) 14%, transparent); }
.st-applied button { width: 20px; height: 20px; border: 0; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; }
.st-applied svg { width: 12px; height: 12px; }
.st-sum { display: grid; gap: 6px; margin: 14px 0; font-size: 14px; color: var(--muted); }
.st-sum div { display: flex; justify-content: space-between; } .st-sum .tot { color: var(--ink); font-size: 20px; font-weight: 900; padding-top: 6px; }
.st-sum .disc { color: var(--golf); }
.st-checkout { width: 100%; }
.st-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--dim); }
.st-secure svg { width: 14px; height: 14px; }

.st-thanks { padding: 34px 30px 30px; text-align: center; }
.st-thanks img { width: 84px; height: 84px; border-radius: 16px; image-rendering: pixelated; margin-bottom: 16px; box-shadow: 0 10px 30px rgba(139,108,255,.4); }
.st-thanks h3 { font-size: 30px; font-weight: 900; } .st-thanks p { color: var(--muted); line-height: 1.55; margin: 10px 0 22px; }

.st-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 900px) {
  .st-trust, .st-community { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .st-bar { flex-wrap: wrap; gap: 8px; }
  .st-cats { order: 3; flex-basis: 100%; }
  .st-who { flex: 1; min-width: 0; } .st-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .st-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .st-stage { height: 110px; } .st-pile { transform: scale(.8); }
  .st-body { padding: 12px 12px 14px; } .st-body h4 { font-size: 16px; } .st-body .st-ex { font-size: 13px; -webkit-line-clamp: 2; }
  .st-buy { flex-direction: column; align-items: stretch; } .st-add { width: 100%; }
  .st-price { font-size: 19px; }
  .st-note { flex-wrap: wrap; } .st-note .st-ends { margin-left: 0; } .st-note .cube { display: none; }
  .st-drawer { width: 100vw; border-radius: 0; }
  .st-dbody { padding: 18px 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-card, .st-add, .st-dlg[open], .st-drawer[open], .st-bagbtn.bump { transition: none; animation: none; }
}
.st-agree { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--dim); text-align: center; }
.st-agree a { color: var(--muted); text-decoration: underline; }
