:root {
  color-scheme: dark;
  --bg: #050308;
  --panel: #0d0914;
  --panel-2: #130d20;
  --line: #2b1e40;
  --line-bright: #583a86;
  --text: #f8f4ff;
  --muted: #9d92ad;
  --purple: #8b5cf6;
  --purple-bright: #b58cff;
  --pink: #d946ef;
  --green: #3ee78d;
  --red: #ff4d6d;
  --amber: #ffc857;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 12%, #4a16704d 0, transparent 28%),
    radial-gradient(circle at 90% 46%, #31105233 0, transparent 25%),
    radial-gradient(circle at 10% 78%, #2610432b 0, transparent 23%),
    var(--bg);
  color: var(--text);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .38;
  background-image:
    radial-gradient(circle at 12% 20%, #b58cff 0 1px, transparent 1.5px),
    radial-gradient(circle at 78% 34%, #8b5cf6 0 1px, transparent 1.5px),
    radial-gradient(circle at 33% 72%, #d946ef 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 86%, #b58cff 0 1px, transparent 1.5px);
  background-size: 360px 360px, 430px 430px, 520px 520px, 610px 610px;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
[hidden], .hidden { display: none !important; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid #241833;
  background: #06030bd9;
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; }
.mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid #a67bfa;
  border-radius: 12px;
  background: linear-gradient(145deg, #ad78ff, #6d36db);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 0 24px #8b5cf650;
}
.mark img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.brand strong, .brand small, .account-copy strong, .account-copy small { display: block; }
.brand strong { font-size: 17px; letter-spacing: 3px; }
.brand small { margin-top: 2px; color: #9385a7; font-size: 9px; letter-spacing: 4px; }
.topnav { display: flex; align-self: stretch; align-items: center; gap: 31px; color: #b9aec8; font-size: 14px; }
.topnav #siteNavLinks { display: contents; }
.topnav a { position: relative; display: flex; align-items: center; height: 100%; transition: color .2s; }
.topnav a:hover, .topnav a.active { color: #fff; }
.topnav a:after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  box-shadow: 0 0 10px var(--purple);
  transition: width .2s, right .2s;
}
.topnav a:hover:after, .topnav a.active:after { right: 0; width: 100%; }
.account { margin-right: auto; display: flex; align-items: center; gap: 12px; }
.account-copy { text-align: left; }
.account-copy strong { font-size: 13px; }
.account-copy small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.cart-button { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #523778; background: #130b1e; color: #fff; border-radius: 11px; cursor: pointer; font-size: 17px; }
.cart-button:hover { border-color: #a277ed; box-shadow: 0 0 22px #8b5cf63d; }
.cart-button b { position: absolute; top: -7px; left: -7px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #07040b; border-radius: 999px; background: var(--purple); font-size: 10px; }

.discord-button, .primary-button, .ghost-button, .warning-button, .danger-button, .manage-button, .product-action {
  border-radius: 10px;
  padding: 10px 15px;
  cursor: pointer;
  color: var(--text);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.discord-button, .primary-button {
  border: 1px solid #9e73ff;
  background: linear-gradient(135deg, #9f67ff, #6733d6);
  box-shadow: 0 8px 24px #7338d744;
}
.discord-button:hover, .primary-button:hover { transform: translateY(-2px); box-shadow: 0 10px 32px #8b5cf666; }
.ghost-button, .manage-button, .product-action { border: 1px solid #493363; background: #100b19; color: #ded3ed; }
.ghost-button:hover, .manage-button:hover, .product-action:hover { border-color: #8d61ca; transform: translateY(-1px); }
.warning-button { border: 1px solid #755f28; background: #312814; color: #ffe4a1; }
.danger-button { border: 1px solid #783944; background: #32171e; color: #ffb1b9; }

main { width: min(1280px, calc(100% - 36px)); min-height: calc(100vh - 76px); margin: auto; display: flex; flex-direction: column; }
.page-view { animation: pageIn .28s ease-out both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.hero { order: 1; position: relative; min-height: calc(100vh - 76px); display: grid; place-items: center; text-align: center; }
.hero:before {
  content: "";
  position: absolute;
  top: 11%;
  left: 50%;
  width: min(700px, 90vw);
  height: 520px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #7929b229;
  filter: blur(80px);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; width: min(820px, 100%); padding: 70px 0 110px; }
.hero-badge, .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid #5c397d;
  border-radius: 999px;
  background: #160d22b8;
  color: #c9a9fb;
  font-size: 12px;
  box-shadow: inset 0 1px #fff08;
}
.hero-badge i, .live-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-bright); box-shadow: 0 0 12px var(--purple-bright); }
.eyebrow { margin: 16px 0 10px; color: #a77af1; font-size: 12px; letter-spacing: 2.5px; }
.hero h1 { margin: 0; font-size: clamp(44px, 6.2vw, 82px); line-height: 1.12; letter-spacing: -2px; }
.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #d8b4fe, #a855f7 48%, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 24px #9333ea44);
}
.hero-copy { width: min(650px, 100%); margin: 22px auto 0; color: #a89db7; font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; justify-content: center; gap: 10px; margin-top: 27px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); width: min(520px, 100%); margin: 38px auto 0; }
.hero-stats div { padding: 0 18px; border-left: 1px solid #2d203d; }
.hero-stats div:last-child { border-left: 0; }
.hero-stats strong, .hero-stats small { display: block; }
.hero-stats strong { font-size: 18px; color: #efe7fa; }
.hero-stats small { margin-top: 6px; color: #746981; font-size: 11px; }
.hero-scroll { position: absolute; bottom: 24px; color: #665677; font-size: 23px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

.catalog { order: 2; min-height: calc(100vh - 76px); padding: 72px 0 54px; }
.section-title { width: min(650px, 100%); margin: 0 auto 34px; text-align: center; }
.section-title .eyebrow { margin-top: 18px; }
.section-title h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); }
.section-title>p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.community-banner { width: max-content; max-width: 100%; margin: -12px auto 25px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 13px; border: 1px solid #4d3568; border-radius: 999px; background: #100b17d9; color: #b8aabe; font-size: 12px; box-shadow: 0 8px 30px #0004; transition: border-color .2s, transform .2s, box-shadow .2s; }
.community-banner:hover { transform: translateY(-2px); border-color: #9367d3; box-shadow: 0 10px 34px #7c3aed28; }
.community-banner b { padding: 4px 9px; border-radius: 999px; background: linear-gradient(135deg, #9f67ff, #6934d4); color: #fff; font-size: 10px; box-shadow: 0 0 18px #8b5cf660; }
.community-banner i { color: #8f75ae; font-style: normal; }
.catalog-toolbar {
  width: min(700px, 100%);
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 10px;
  padding: 9px;
  border: 1px solid #332344;
  background: #0b0711d9;
  border-radius: 15px;
}
.catalog-toolbar input, .catalog-toolbar select { width: 100%; border: 0; outline: 0; background: transparent; color: #dcd3e7; padding: 11px 13px; }
.catalog-toolbar select { border-right: 1px solid #2c1e3b; color: #a89bb8; }
.catalog-toolbar option { background: #0c0812; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product {
  position: relative;
  min-width: 0;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 19px;
  overflow: hidden;
  border: 1px solid #281b37;
  background: linear-gradient(145deg, #0e0916, #09060e);
  border-radius: 15px;
  box-shadow: inset 0 1px #fff05;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.product-cover-link { width: calc(100% + 38px); height: 150px; margin: -19px -19px 18px; display: block; overflow: hidden; border-bottom: 1px solid #352246; background: #0a0610; }
.product-cover { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.product:hover .product-cover { transform: scale(1.035); }
.product:has(.product-cover) { min-height: 370px; }
.product:after { content: ""; position: absolute; width: 130px; height: 130px; top: -85px; left: -65px; border-radius: 50%; background: #8b5cf61a; filter: blur(18px); }
.product:hover { transform: translateY(-4px); border-color: #62418a; box-shadow: 0 18px 46px #0006, inset 0 1px #fff09; }
.product-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #4f2b72; border-radius: 12px; background: #271137; color: #c084fc; font-size: 20px; font-weight: 900; box-shadow: 0 0 22px #7c3aed24; }
.category { padding: 5px 9px; border: 1px solid #3c2a50; border-radius: 999px; color: #9e8caf; font-size: 11px; }
.product h3 { margin: 19px 0 8px; font-size: 18px; }
.product h3 a:hover { color: #d7b9ff; }
.product p { margin: 0; color: #8f829e; font-size: 14px; line-height: 1.7; }
.product-footer { margin-top: auto; padding-top: 19px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #21162d; }
.availability { display: inline-flex; align-items: center; gap: 7px; color: #bfa2e5; font-size: 12px; }
.availability:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 11px var(--purple); }
.availability.sold-out { color: #ff8b9f; }
.availability.sold-out:before { background: #ff4568; box-shadow: 0 0 12px #ff4568; }
.product-action { padding: 7px 10px; font-size: 11px; }
.product-purchase { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 9px; margin-top: 13px; padding-top: 13px; border-top: 1px solid #21162d; }
.product-purchase select { width: 100%; padding: 9px 10px; border: 1px solid #3e2956; outline: 0; background: #08050d; color: #ded3ed; border-radius: 9px; }
.product-purchase select:focus { border-color: #9666dd; box-shadow: 0 0 0 3px #8b5cf61c; }
.product-purchase option { background: #0c0812; }
.product-purchase strong { color: #d5b5ff; font-size: 14px; direction: ltr; unicode-bidi: isolate; }
.add-cart-button { grid-column: 1 / -1; min-height: 40px; border: 1px solid #9e73ff; border-radius: 9px; background: linear-gradient(135deg, #9f67ff, #6733d6); color: #fff; cursor: pointer; box-shadow: 0 8px 24px #7338d72b; }
.add-cart-button:hover { transform: translateY(-1px); box-shadow: 0 9px 28px #8b5cf64a; }
.price-unset { grid-column: 1 / -1; padding: 10px; border: 1px dashed #493363; border-radius: 9px; color: #887895; text-align: center; font-size: 12px; }
.product-sold-out { grid-column: 1 / -1; display: grid; gap: 3px; padding: 11px; border: 1px solid #6c2d42; border-radius: 10px; background: #250c16; text-align: center; }
.product-sold-out strong { color: #ff8da2; font-size: 13px; }
.product-sold-out small { color: #aa7180; font-size: 11px; }
.view-product-link { margin-top: 10px; padding: 9px 11px; border: 1px solid #322044; border-radius: 9px; color: #b99bdf; text-align: center; font-size: 12px; transition: border-color .2s, color .2s, background .2s; }
.view-product-link:hover { border-color: #744ba5; background: #160c21; color: #fff; }
.payment-notice { width: min(760px, 100%); margin: -12px auto 24px; padding: 13px 16px; border: 1px solid #6a5631; background: #211a0d; color: #f2d18a; border-radius: 11px; text-align: center; }
.payment-notice.success { border-color: #266746; background: #0b2118; color: #85edb2; }
.payment-notice.error { border-color: #743241; background: #271017; color: #ff9aaa; }

.product-detail-page { order: 2; min-height: calc(100vh - 76px); padding: 52px 0 72px; }
.detail-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; color: #ad9aba; font-size: 13px; }
.detail-back:hover { color: #fff; }
.product-detail-content { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr); gap: 28px; align-items: stretch; padding: 20px; border: 1px solid #38234f; border-radius: 22px; background: linear-gradient(145deg, #10091a, #08050d); box-shadow: 0 28px 80px #0006, inset 0 1px #fff07; }
.product-detail-media { position: relative; min-height: 510px; display: grid; place-items: center; overflow: hidden; border: 1px solid #39244e; border-radius: 16px; background: radial-gradient(circle at 50% 35%, #7138b83d, transparent 45%), #08050c; }
.product-detail-media:after { content: ""; position: absolute; inset: auto 10% -30% 10%; height: 45%; background: #8b5cf638; filter: blur(75px); }
.product-detail-image { width: 100%; height: 100%; min-height: 510px; object-fit: cover; }
.product-detail-image.product-visual-placeholder { display: grid; place-items: center; color: #c89dff; font-size: 108px; text-shadow: 0 0 35px #8b5cf6; }
.product-detail-media>span { position: absolute; z-index: 2; top: 17px; right: 17px; padding: 7px 11px; border: 1px solid #7148a0; border-radius: 999px; background: #140b1ddb; color: #d2b4f6; font-size: 11px; backdrop-filter: blur(10px); }
.product-detail-media>span.sold-out { border-color: #813149; background: #2b0d18e8; color: #ff91a5; }
.product-detail-info { min-width: 0; display: flex; flex-direction: column; padding: 32px 20px 18px; }
.detail-category { align-self: flex-start; padding: 6px 10px; border: 1px solid #583879; border-radius: 999px; background: #1a0d27; color: #c49aef; font-size: 11px; }
.product-detail-info h1 { margin: 22px 0 12px; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.2; letter-spacing: -1px; }
.detail-description { margin: 0; color: #a99cb5; font-size: 16px; line-height: 2; }
.detail-commands-link { width: max-content; max-width: 100%; margin-top: 18px; padding: 9px 12px; border: 1px solid #493161; border-radius: 9px; color: #c9a9ee; font-size: 12px; }
.detail-commands-link:hover { border-color: #9569ce; color: #fff; }
.detail-buy-box { margin-top: auto; padding-top: 28px; }
.detail-buy-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 19px; border: 1px solid #3c2850; border-radius: 14px 14px 0 0; background: #0b0711; }
.detail-buy-head>span small, .detail-buy-head>span strong { display: block; }
.detail-buy-head>span small, .detail-buy-head label { color: #91839e; font-size: 12px; }
.detail-buy-head>span strong { margin-top: 6px; color: #d5b4ff; font-size: 30px; direction: ltr; }
.detail-one-time { align-self: center; padding: 9px 12px; border: 1px solid #50366c; border-radius: 999px; color: #d5b4ff; font-size: 12px; }
.detail-buy-head label { min-width: 180px; display: grid; gap: 7px; }
.detail-buy-head select { width: 100%; padding: 10px 12px; border: 1px solid #50366c; outline: 0; border-radius: 9px; background: #08050d; color: #e9deef; }
.detail-buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 13px; border: 1px solid #3c2850; border-top: 0; border-radius: 0 0 14px 14px; background: #0a060f; }
.detail-buy-actions .add-cart-button { grid-column: 1 / -1; min-height: 47px; }
.detail-buy-actions .paypal-button, .detail-buy-actions .ticket-button { min-height: 45px; }
.detail-checkout-feedback { margin-top: 8px; }
.detail-price-unset { display: flex; align-items: center; gap: 13px; padding: 18px; border: 1px dashed #53386d; border-radius: 13px; background: #0b0711; }
.detail-price-unset>span { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; background: #2a123c; color: #cf9cff; font-size: 20px; box-shadow: 0 0 22px #8b5cf630; }
.detail-price-unset strong, .detail-price-unset small { display: block; }
.detail-price-unset small { margin-top: 5px; color: #8d7e99; line-height: 1.6; }
.detail-price-unset.detail-sold-out { border-color: #713047; background: #210b14; }
.detail-price-unset.detail-sold-out>span { background: #431323; color: #ff8ca1; box-shadow: 0 0 22px #ff456830; }
.detail-price-unset.detail-sold-out small { color: #ad778e; }
.product-not-found { grid-column: 1 / -1; min-height: 440px; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; }
.product-not-found>span { color: #c497ff; font-size: 34px; filter: drop-shadow(0 0 14px #9d63ed); }
.product-not-found h1, .product-not-found p { margin: 0; }
.product-not-found p { color: var(--muted); }
.product-not-found a { margin-top: 12px; }
.related-products { margin-top: 52px; }
.detail-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.detail-section-head .eyebrow { margin-top: 0; }
.detail-section-head h2 { margin: 0; font-size: 28px; }
.detail-section-head>a { color: #bfa3e2; font-size: 12px; }
.related-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.related-product-card { min-width: 0; overflow: hidden; border: 1px solid #302040; border-radius: 13px; background: #0b0711; transition: transform .2s, border-color .2s; }
.related-product-card:hover { transform: translateY(-3px); border-color: #6c4794; }
.related-product-image { width: 100%; height: 130px; display: grid; place-items: center; object-fit: cover; border-bottom: 1px solid #302040; background: radial-gradient(circle, #552486, #0c0712 70%); color: #c597ff; font-size: 42px; }
.related-product-card>span { display: grid; gap: 6px; padding: 13px; }
.related-product-card small { color: #8e7d9c; font-size: 10px; }
.related-product-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.related-product-card b { color: #cba6f8; font-size: 12px; direction: ltr; text-align: right; }

.commands-panel { order: 3; min-height: calc(100vh - 76px); padding: 72px 0 54px; }
.commands-search { width: min(760px, 100%); margin: 0 auto 16px; display: flex; align-items: center; gap: 12px; padding: 9px 13px; border: 1px solid #332344; background: #0b0711; border-radius: 13px; }
.commands-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 9px; background: transparent; color: var(--text); }
.commands-search span { color: #9383a3; font-size: 12px; white-space: nowrap; }
.commands-search b { color: #cfa9ff; }
.commands-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 14px; }
.command-bots { max-height: 610px; overflow: auto; display: grid; align-content: start; gap: 6px; padding: 10px; border: 1px solid #2d1f3d; background: #09060f; border-radius: 14px; }
.command-bots button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 11px; border: 1px solid transparent; background: transparent; color: #9687a6; border-radius: 9px; cursor: pointer; text-align: right; }
.command-bots button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.command-bots button b { min-width: 27px; padding: 3px 6px; border-radius: 999px; background: #171020; color: #806e91; font-size: 10px; text-align: center; }
.command-bots button:hover { background: #120b1c; color: #d8cce5; }
.command-bots button.active { border-color: #66418c; background: #21112f; color: #cda9ff; }
.command-bots button.active b { background: #8b5cf6; color: #fff; }
.command-browser { min-width: 0; padding: 18px; border: 1px solid #2d1f3d; background: #09060f; border-radius: 14px; }
.command-browser>header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 14px; border-bottom: 1px solid #251832; }
.command-browser header small { color: #796b88; }
.command-browser h3 { margin: 5px 0 0; font-size: 20px; }
.command-browser>header>span { padding: 6px 10px; border: 1px solid #50366a; border-radius: 999px; color: #c9a8eb; font-size: 11px; }
.command-client-hint { margin: 14px 0 0; padding: 12px 14px; border: 1px solid #4a3065; border-radius: 10px; background: linear-gradient(135deg, #241033, #100919); color: #c6b2db; font-size: 13px; line-height: 1.75; }
.command-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.command-card { min-width: 0; padding: 13px; border: 1px solid #291b38; background: #07050b; border-radius: 10px; }
.command-card>div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.command-card code { min-width: 0; overflow: hidden; text-overflow: ellipsis; direction: ltr; unicode-bidi: isolate; text-align: left; color: #b982ff; font: 600 13px/1.5 Consolas, monospace; white-space: nowrap; }
.command-card span { padding: 3px 6px; border: 1px solid #3f2a54; border-radius: 999px; color: #857495; font-size: 9px; }
.command-card p { margin: 8px 0 0; color: #7e718b; font-size: 12px; line-height: 1.65; }
.command-empty { grid-column: 1 / -1; min-height: 130px; display: grid; place-items: center; align-content: center; gap: 6px; color: #867793; text-align: center; }
.command-empty strong { color: #ddd1e9; }
.command-empty span { font-size: 12px; }
.owner-panel { order: 4; margin: 54px 0; border: 1px solid #37254a; background: #0b0711; border-radius: 18px; overflow: hidden; }
.owner-panel>summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; cursor: pointer; }
.owner-panel>summary::-webkit-details-marker { display: none; }
.owner-panel summary strong, .owner-panel summary small { display: block; }
.owner-panel summary small { margin-top: 4px; color: var(--muted); }
.summary-arrow { color: var(--purple-bright); font-size: 24px; transition: transform .2s; }
.owner-panel[open] .summary-arrow { transform: rotate(180deg); }
.owner-content { padding: 0 22px 22px; }
.store-manager-card { margin-bottom: 16px; padding: 24px; border: 1px solid #4c3267; background: radial-gradient(circle at 92% 0, #6d28d930 0, transparent 34%), #0f0a18; border-radius: 18px; }
.store-manager-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.store-manager-head h2 { margin: 0; font-size: 28px; }
.store-manager-head>div>p:last-child { margin: 8px 0 0; color: var(--muted); line-height: 1.7; }
.owner-only-badge { padding: 7px 11px; border: 1px solid #63428a; border-radius: 999px; background: #241233; color: #d2afff; font-size: 12px; white-space: nowrap; }
.store-manager-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); gap: 18px; }
.product-editor { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 11px; padding: 18px; border: 1px solid #342347; background: #09060f; border-radius: 15px; }
.product-editor label, .category-form label { display: grid; gap: 7px; color: #b9a9c9; font-size: 13px; }
.product-editor input:not([type="file"]), .product-editor select, .product-editor textarea, .category-form input { width: 100%; padding: 11px 12px; border: 1px solid #3a2850; outline: 0; background: #07050b; color: var(--text); border-radius: 9px; }
.product-editor textarea { resize: vertical; min-height: 88px; line-height: 1.7; }
.product-editor input:not([type="file"]):focus, .product-editor select:focus, .product-editor textarea:focus, .category-form input:focus { border-color: #9666dd; box-shadow: 0 0 0 3px #8b5cf61c; }
.product-editor option { background: #0c0812; }
.editor-wide, .product-image-picker { grid-column: 1 / -1; }
.product-image-picker { position: relative; }
.product-image-picker input[type="file"] { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; overflow: hidden; opacity: 0; clip-path: inset(50%); pointer-events: none; }
.product-image-picker label { min-height: 116px; display: grid; grid-template-columns: 82px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 14px; padding: 14px; border: 1px dashed #604284; background: #10091a; border-radius: 12px; cursor: pointer; }
.product-image-picker label:hover { border-color: #a36ff0; }
.product-image-picker strong { align-self: end; }
.product-image-picker small { color: #887895; font-size: 11px; }
.product-image-preview { grid-row: 1 / 3; width: 82px; height: 82px; display: grid; place-items: center; overflow: hidden; border: 1px solid #4c3267; border-radius: 12px; background: #1a0d27; color: #c69bf9; font-size: 28px; }
.product-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.editor-actions { display: flex; gap: 8px; }
.catalog-admin-side { min-width: 0; padding: 18px; border: 1px solid #342347; background: #09060f; border-radius: 15px; }
.category-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 9px; }
.category-form .form-feedback { grid-column: 1 / -1; }
.category-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 18px; }
.category-chips span { padding: 5px 9px; border: 1px solid #3c2a50; border-radius: 999px; color: #ab97be; font-size: 11px; }
.admin-products-title { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; border-top: 1px solid #2a1c39; }
.admin-products-title span { color: #c69bf9; }
.admin-product-list { display: grid; gap: 8px; max-height: 540px; margin-top: 12px; overflow: auto; }
.admin-product-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 10px; border: 1px solid #2b1d3a; background: #07050b; border-radius: 11px; }
.admin-product-thumb { width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden; border: 1px solid #3b2850; border-radius: 10px; background: #160b21; color: #b982ff; font-size: 20px; }
.admin-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-product-copy { min-width: 0; }
.admin-product-copy strong, .admin-product-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-product-copy small { margin-top: 4px; color: #877995; }
.admin-product-row.is-hidden { opacity: .58; }
.admin-product-row.is-sold-out { border-color: #5e2b3d; background: #10070b; }
.admin-product-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.admin-product-actions button { padding: 6px 8px; border: 1px solid #443057; background: #120c1c; color: #cdbdde; border-radius: 8px; font-size: 11px; cursor: pointer; }
.admin-product-actions button.stock-out { border-color: #77354b; background: #291019; color: #ff9caf; }
.admin-product-actions button.stock-ready { border-color: #28704d; background: #0d261a; color: #80ecad; }
.admin-product-actions button.danger { border-color: #6b3540; background: #28151a; color: #ffadb6; }
.branding-settings-card { margin-bottom: 16px; padding: 24px; border: 1px solid #5a3678; background: radial-gradient(circle at 8% 0, #8b5cf62b, transparent 36%), #0f0a18; border-radius: 18px; }
.branding-admin-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; }
.branding-form, .navigation-manager { min-width: 0; padding: 18px; border: 1px solid #342347; background: #09060f; border-radius: 15px; }
.branding-form, .navigation-form { display: grid; gap: 11px; align-content: start; }
.branding-form>label:not(.storefront-toggle), .navigation-form>label:not(.storefront-toggle) { display: grid; gap: 7px; color: #b9a9c9; font-size: 13px; }
.branding-form input:not([type="checkbox"]):not([type="file"]), .navigation-form input:not([type="checkbox"]) { width: 100%; padding: 11px 12px; border: 1px solid #3a2850; outline: 0; background: #07050b; color: var(--text); border-radius: 9px; }
.branding-form input:not([type="checkbox"]):not([type="file"]):focus, .navigation-form input:not([type="checkbox"]):focus { border-color: #9666dd; box-shadow: 0 0 0 3px #8b5cf61c; }
.brand-logo-picker { position: relative; }
.brand-logo-picker input[type="file"] { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; overflow: hidden; opacity: 0; clip-path: inset(50%); pointer-events: none; }
.brand-logo-picker label { min-height: 104px; display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 14px; padding: 13px; border: 1px dashed #604284; background: #10091a; border-radius: 12px; cursor: pointer; }
.brand-logo-picker label:hover { border-color: #a36ff0; }
.brand-logo-picker strong { align-self: end; }
.brand-logo-picker small { color: #887895; font-size: 11px; }
.brand-logo-preview { grid-row: 1 / 3; width: 72px; height: 72px; display: grid; place-items: center; overflow: hidden; border: 1px solid #6f4594; border-radius: 16px; background: linear-gradient(145deg, #ad78ff, #6d36db); color: #fff; font-size: 28px; font-weight: 900; box-shadow: 0 0 24px #8b5cf638; }
.brand-logo-preview img { width: 100%; height: 100%; object-fit: cover; }
.navigation-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.navigation-list { display: grid; gap: 8px; max-height: 330px; margin-top: 12px; overflow: auto; }
.navigation-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px; border: 1px solid #2b1d3a; background: #07050b; border-radius: 10px; }
.navigation-row.is-hidden { opacity: .55; }
.navigation-row>div:first-child { min-width: 0; }
.navigation-row strong, .navigation-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.navigation-row small { margin-top: 4px; color: #81728f; direction: ltr; text-align: right; font-size: 11px; }
.admin-access { width: min(620px, 100%); margin: auto; padding: 58px 30px; border: 1px solid #3f2858; background: radial-gradient(circle at 50% 0, #6d28d929, transparent 45%), #0b0711; border-radius: 20px; text-align: center; }
.admin-access h2 { margin: 20px 0 8px; font-size: 38px; }
.admin-access p { margin: 0 auto 24px; color: var(--muted); line-height: 1.8; }

.operations-panel {
  order: 5;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 146px);
  margin: 40px 0 30px;
  padding: 30px;
  scroll-margin-top: 96px;
  border: 1px solid #3f2858;
  background: radial-gradient(circle at 90% 0, #6d28d929 0, transparent 35%), linear-gradient(145deg, #0d0815, #08050d);
  border-radius: 20px;
  box-shadow: 0 24px 80px #0007;
}
.operations-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.operations-head h2 { margin: 0; font-size: 36px; }
.operations-head p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.section-badge.live-badge { color: #d4bcf8; }
.operations-summary { display: grid; grid-template-columns: repeat(3, minmax(100px, 1fr)); gap: 8px; }
.operations-summary>div { position: relative; min-width: 112px; padding: 11px 13px; border: 1px solid #332344; background: #08050e; border-radius: 11px; }
.operations-summary small, .operations-summary strong { display: block; padding-right: 16px; }
.operations-summary small { color: #897b99; font-size: 11px; }
.operations-summary strong { margin-top: 4px; font-size: 16px; }
.summary-light { position: absolute; right: 11px; top: 15px; width: 7px; height: 7px; border-radius: 50%; }
.online-light { background: var(--green); box-shadow: 0 0 13px var(--green); }
.offline-light { background: var(--red); box-shadow: 0 0 13px var(--red); }
.memory-light { background: var(--purple-bright); box-shadow: 0 0 13px var(--purple-bright); }
.operations-note { margin: 22px 0 11px; padding: 10px 13px; border: 1px solid #2b1d3a; background: #090610; color: #877995; border-radius: 9px; font-size: 12px; }
.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.status-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid #281b37; background: #09060f; border-radius: 11px; }
.status-item:hover { border-color: #5a3a7b; }
.status-signal { width: 11px; height: 11px; border-radius: 50%; }
.status-item.online .status-signal { background: var(--green); box-shadow: 0 0 16px var(--green); animation: statusPulse 2s ease-in-out infinite; }
.status-item.offline .status-signal { background: var(--red); box-shadow: 0 0 14px var(--red); }
.status-copy { min-width: 0; }
.status-copy strong, .status-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-copy strong { font-size: 14px; }
.status-copy small { margin-top: 5px; color: #7f718e; font-size: 11px; direction: ltr; text-align: right; }
.bot-state { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #463455; border-radius: 999px; color: #a294af; font-size: 11px; }
.bot-state.online { border-color: #246b48; background: #0b2118; color: #72f0a8; }
.bot-state.offline { border-color: #6f2939; background: #251017; color: #ff8299; }
.bot-state.running, .bot-state.starting { border-color: #705b27; background: #241d0c; color: var(--amber); }
.status-login { grid-column: 1 / -1; min-height: 130px; display: grid; place-items: center; align-content: center; gap: 7px; border: 1px dashed #4b3266; background: #090610; color: #8e809e; border-radius: 12px; text-align: center; }
.status-login strong { color: #e6dcef; font-size: 17px; }
.status-login span { font-size: 13px; }
@keyframes statusPulse { 0%, 100% { transform: scale(.9); opacity: .72; } 50% { transform: scale(1.12); opacity: 1; } }

.discord-status-card { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: 28px; padding: 24px; border: 1px solid #4c3267; background: radial-gradient(circle at 8% 10%, #6d28d930 0, transparent 35%), #0f0a18; border-radius: 18px; }
.discord-status-card h2 { margin: 0; font-size: 27px; }
.discord-status-card p:not(.eyebrow) { margin-bottom: 0; color: #a99ab8; line-height: 1.7; }
.embed-preview { position: relative; overflow: hidden; margin-top: 20px; padding: 17px; border: 1px solid #563778; border-right: 4px solid var(--purple); background: #090610; border-radius: 13px; box-shadow: 0 0 32px #8b5cf617; }
.embed-preview-head, .embed-preview-states { position: relative; display: flex; align-items: center; gap: 11px; }
.embed-preview-head small, .embed-preview-head strong { display: block; }
.embed-preview-head small { color: #b989ff; font-size: 10px; letter-spacing: 2px; }
.embed-preview-head strong { margin-top: 3px; font-size: 16px; }
.emoji-orb { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: #25163a; font-size: 21px; filter: drop-shadow(0 0 7px #b58cff); animation: statusPulse 2.4s ease-in-out infinite; }
.emoji-orb img { width: 27px; height: 27px; object-fit: contain; }
.online-orb { filter: drop-shadow(0 0 7px var(--green)); }
.offline-orb { filter: drop-shadow(0 0 7px var(--red)); animation-delay: -1.2s; }
.embed-preview-states { margin-top: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.embed-preview-states span { display: flex; align-items: center; gap: 8px; padding: 9px; border: 1px solid #302043; background: #07050b; border-radius: 10px; color: #d2c6df; font-size: 13px; }
.embed-preview-states .emoji-orb { width: 27px; height: 27px; font-size: 14px; }
.embed-preview-states .emoji-orb img { width: 20px; height: 20px; }
.preview-refresh { display: block; margin-top: 12px; color: #776887; }
.webhook-form { display: grid; align-content: center; gap: 13px; }
.webhook-form label, .stack-form label { display: grid; gap: 7px; color: #b9a9c9; font-size: 13px; }
.webhook-form input, .stack-form input, .stack-form select { width: 100%; padding: 11px 12px; border: 1px solid #3a2850; outline: 0; background: #07050b; color: var(--text); border-radius: 9px; }
.webhook-form input:focus, .stack-form input:focus, .stack-form select:focus { border-color: #9666dd; box-shadow: 0 0 0 3px #8b5cf61c; }
.webhook-form input { direction: ltr; text-align: left; }
.emoji-fields { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px !important; }
.emoji-code-input { text-align: center !important; }
.emoji-help { color: #806f91; font-size: 12px; line-height: 1.6; }
.webhook-actions { display: flex; gap: 8px; }

.management-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; margin-top: 16px; }
.management-card { padding: 22px; border: 1px solid #2d1f3d; background: #09060f; border-radius: 15px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: 28px; }
.section-head.compact { margin-bottom: 18px; }
.section-head.compact h2 { font-size: 21px; }
.stack-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.stack-form .primary-button { align-self: end; min-height: 42px; }
.form-feedback { grid-column: 1 / -1; min-height: 18px; margin: 0; color: var(--muted); font-size: 13px; }
.form-feedback.success { color: var(--green); }
.form-feedback.error { color: var(--red); }
.record-list { display: grid; gap: 8px; margin-top: 16px; max-height: 350px; overflow: auto; }
.record { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid #2b1d3a; background: #07050b; border-radius: 10px; }
.record-main { min-width: 0; }
.record strong, .record small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.record small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.record-actions { margin-right: auto; display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.record-actions button { padding: 6px 8px; border: 1px solid #443057; background: #120c1c; color: #cdbdde; border-radius: 8px; font-size: 11px; cursor: pointer; }
.record-actions button.danger { border-color: #6b3540; color: #ffadb6; background: #28151a; }
.subscription-state { padding: 4px 8px; border: 1px solid #49355b; border-radius: 999px; color: #aa97bc; font-size: 11px; }
.subscription-state.active { border-color: #285442; color: #82ebb0; }
.subscription-state.frozen { border-color: #5d4b24; color: var(--amber); }
.subscription-state.cancelled, .subscription-state.expired { border-color: #66323c; color: #ff9da8; }

.storefront-settings-card, .purchase-settings-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; margin-bottom: 16px; padding: 24px; border: 1px solid #4c3267; background: radial-gradient(circle at 94% 0, #6d28d930, transparent 35%), #0f0a18; border-radius: 18px; }
.storefront-settings-card h2, .purchase-settings-card h2 { margin: 0; font-size: 27px; }
.storefront-settings-card>div>p:last-child, .purchase-settings-card>div>p:last-child { margin: 8px 0 0; color: #a99ab8; line-height: 1.75; }
.storefront-form { display: grid; grid-template-columns: .45fr 1fr; align-content: center; gap: 11px; }
.storefront-form label { display: grid; gap: 7px; color: #b9a9c9; font-size: 13px; }
.storefront-form input:not([type="checkbox"]) { width: 100%; padding: 11px 12px; border: 1px solid #3a2850; outline: 0; background: #07050b; color: var(--text); border-radius: 9px; }
.storefront-form input:not([type="checkbox"]):focus { border-color: #9666dd; box-shadow: 0 0 0 3px #8b5cf61c; }
.storefront-wide { grid-column: 1 / -1; }
.storefront-toggle { display: flex !important; align-items: center; gap: 9px !important; padding: 10px 12px; border: 1px solid #342346; border-radius: 9px; background: #08050d; cursor: pointer; }
.storefront-toggle input { width: 17px; height: 17px; accent-color: #8b5cf6; }
.purchase-settings-card h2 { margin: 0; font-size: 27px; }
.purchase-settings-card>div>p:last-child { margin: 8px 0 0; color: #a99ab8; line-height: 1.75; }
.purchase-settings-form { display: grid; align-content: center; gap: 11px; }
.purchase-settings-form label { display: grid; gap: 7px; color: #b9a9c9; font-size: 13px; }
.purchase-settings-form input { width: 100%; padding: 11px 12px; border: 1px solid #3a2850; outline: 0; background: #07050b; color: var(--text); border-radius: 9px; text-align: left; }
.purchase-settings-form input:focus { border-color: #9666dd; box-shadow: 0 0 0 3px #8b5cf61c; }
.purchase-secret-note { margin-top: -3px; color: #897b99; font-size: 12px; line-height: 1.65; }
.purchase-setting-states { display: flex; flex-wrap: wrap; gap: 7px; }
.purchase-setting-states span { padding: 6px 9px; border: 1px solid #4c3d59; border-radius: 999px; font-size: 11px; }
.purchase-setting-states .ready { border-color: #276948; background: #0c2118; color: #77e9a9; }
.purchase-setting-states .not-ready { border-color: #6b3540; background: #28151a; color: #ffa3ae; }
.purchase-settings-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.purchase-settings-actions button { min-height: 44px; }
.purchase-orders-card { margin-top: 16px; padding: 22px; border: 1px solid #38264c; background: #09060f; border-radius: 16px; }
.purchase-orders-card .section-head p:last-child { margin: 7px 0 0; color: #867793; font-size: 13px; }
.purchase-orders-list { display: grid; gap: 8px; max-height: 460px; overflow: auto; }
.purchase-order { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid #2b1d3a; background: #07050b; border-radius: 11px; }
.purchase-order>div { min-width: 0; }
.purchase-order>div strong, .purchase-order>div small, .purchase-order>div span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.purchase-order>div small { margin-top: 4px; color: #7f718e; font-size: 11px; direction: ltr; text-align: right; }
.purchase-order>div span { margin-top: 6px; color: #aa99bb; font-size: 12px; }
.purchase-order>b { color: #cdb6e8; font-size: 12px; }
.purchase-order>strong { color: #d2afff; direction: ltr; white-space: nowrap; }
.purchase-state { padding: 5px 8px; border: 1px solid #4e3b5c; border-radius: 999px; color: #b3a4c1; font-size: 11px; font-style: normal; white-space: nowrap; }
.purchase-state.paid { border-color: #276948; background: #0c2118; color: #77e9a9; }
.purchase-state.payment_error { border-color: #6b3540; background: #28151a; color: #ffa3ae; }
.purchase-state.ticket_requested { border-color: #63428a; background: #241233; color: #d2afff; }

.site-footer { width: min(1280px, calc(100% - 36px)); margin: 0 auto 24px; padding: 22px 4px; display: flex; justify-content: space-between; border-top: 1px solid #21162c; color: #6e627c; }
.site-footer span { color: #aa99bb; }
.loading { grid-column: 1 / -1; padding: 26px; color: var(--muted); text-align: center; }

dialog { width: min(760px, calc(100vw - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 1px solid #543872; border-radius: 18px; background: #09060f; color: var(--text); box-shadow: 0 30px 100px #000c; }
dialog::backdrop { background: #020104df; backdrop-filter: blur(6px); }
.dialog-shell { padding: 24px; direction: rtl; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.dialog-head h2 { margin: 0; }
.dialog-head small { display: block; margin-top: 6px; color: var(--muted); }
.close-button { width: 38px; height: 38px; border: 1px solid #49335e; background: #140d1d; color: var(--text); border-radius: 10px; font-size: 25px; cursor: pointer; }
.dialog-overview { margin-top: 18px; padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #302140; background: #0d0815; border-radius: 12px; }
.dialog-overview p { margin: 0; color: #b7a8c6; font-size: 14px; }
.log-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 21px 0 9px; }
.log-head h3 { margin: 0; }
.bot-log { margin: 0; height: 250px; overflow: auto; direction: ltr; text-align: left; white-space: pre-wrap; word-break: break-word; border: 1px solid #2b1d3a; background: #040206; color: #c9bcd6; border-radius: 12px; padding: 15px; font: 13px/1.65 Consolas, "Courier New", monospace; }
.action-feedback { min-height: 22px; margin: 10px 2px 0; font-size: 14px; }
.action-feedback.working { color: var(--amber); }
.action-feedback.success { color: var(--green); }
.action-feedback.error { color: var(--red); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.dialog-actions button:disabled, .close-button:disabled { opacity: .5; cursor: wait; }

.cart-dialog { width: min(610px, calc(100vw - 28px)); margin-left: 18px; margin-right: auto; }
.ticket-dialog { width: min(480px, calc(100vw - 28px)); }
.ticket-dialog-shell { position: relative; padding: 30px; text-align: center; direction: rtl; }
.ticket-dialog-shell>.close-button { position: absolute; top: 16px; left: 16px; }
.ticket-dialog-icon { width: 62px; height: 62px; margin: 0 auto 17px; display: grid; place-items: center; border: 1px solid #8c55cf; border-radius: 17px; background: linear-gradient(145deg, #4e1c78, #21102f); font-size: 28px; box-shadow: 0 0 32px #9b55ed55; }
.ticket-dialog-shell h2 { margin: 7px 0 10px; font-size: 27px; }
.ticket-dialog-shell>p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.8; }
.ticket-open-actions { display: grid; gap: 10px; margin-top: 23px; }
.ticket-open-actions a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.ticket-dialog-shell>small { display: block; margin-top: 16px; color: #8d7e99; direction: ltr; }
.cart-shell { padding: 22px; direction: rtl; }
.cart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 15px; border-bottom: 1px solid #2a1c39; }
.cart-head .eyebrow { margin-top: 0; }
.cart-head h2 { margin: 0; font-size: 27px; }
.cart-items { display: grid; gap: 9px; max-height: min(52vh, 460px); overflow: auto; padding: 16px 0; }
.cart-empty { min-height: 190px; display: grid; place-items: center; align-content: center; gap: 7px; color: #8f809e; text-align: center; }
.cart-empty span { font-size: 34px; filter: drop-shadow(0 0 10px #a67bfa); }
.cart-empty strong { color: #eee5f8; font-size: 18px; }
.cart-empty small { font-size: 12px; }
.cart-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) 105px auto auto; align-items: center; gap: 10px; padding: 11px; border: 1px solid #302043; background: #07050b; border-radius: 11px; }
.cart-item-thumb { width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden; border: 1px solid #4b3266; border-radius: 10px; background: #1a0d27; color: #c69bf9; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item>div { min-width: 0; }
.cart-item>div strong, .cart-item>div small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item>div small { margin-top: 4px; color: #897b99; font-size: 11px; direction: ltr; text-align: right; }
.cart-item select { width: 100%; padding: 8px; border: 1px solid #3e2956; background: #0d0815; color: #e6dcef; border-radius: 8px; }
.cart-billing-kind { padding: 7px 9px; border: 1px solid #3e2956; border-radius: 999px; color: #c8b6d8; font-size: 11px; text-align: center; white-space: nowrap; }
.cart-item>b { color: #d2afff; direction: ltr; }
.cart-remove { padding: 7px 8px; border: 1px solid #713544; background: #281219; color: #ff9caa; border-radius: 8px; cursor: pointer; }
.cart-total { display: flex; align-items: center; justify-content: space-between; padding: 17px 2px; border-top: 1px solid #2a1c39; border-bottom: 1px solid #2a1c39; }
.cart-total span { color: #a89bb8; }
.cart-total strong { color: #d6b7ff; font-size: 23px; direction: ltr; }
.checkout-actions { display: grid; gap: 9px; margin-top: 15px; }
.paypal-button, .ticket-button { min-height: 46px; border-radius: 10px; cursor: pointer; font-weight: 800; }
.paypal-button { border: 1px solid #ffd85a; background: linear-gradient(135deg, #ffdf62, #f5bd21); color: #102b55; }
.paypal-button span { font-family: Arial, sans-serif; font-size: 19px; font-style: italic; }
.ticket-button { border: 1px solid #9669e3; background: linear-gradient(135deg, #824bdc, #5a29bd); color: #fff; box-shadow: 0 8px 24px #7338d744; }
.paypal-button:disabled, .ticket-button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.checkout-feedback { margin-top: 11px; }
.checkout-note { display: block; margin-top: 5px; color: #736681; text-align: center; }

@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-content { grid-template-columns: minmax(300px, .85fr) minmax(380px, 1.15fr); }
  .related-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commands-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .management-grid { grid-template-columns: 1fr; }
  .store-manager-layout { grid-template-columns: 1fr; }
  .branding-admin-grid { grid-template-columns: 1fr; }
  .storefront-settings-card, .purchase-settings-card { grid-template-columns: 1fr; }
  .purchase-settings-actions { grid-template-columns: 1fr; }
  .operations-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .topbar { height: auto; min-height: 70px; padding: 14px 18px; gap: 18px; }
  .topnav, .account-copy { display: none; }
  .account { margin-right: auto; }
  main { width: min(100% - 24px, 1280px); }
  .hero { min-height: 720px; }
  .hero-content { padding: 80px 0 120px; }
  .hero h1 { font-size: clamp(40px, 13vw, 58px); letter-spacing: -1px; }
  .hero-copy { font-size: 15px; }
  .hero-actions { flex-wrap: wrap; }
  .catalog { padding-top: 70px; }
  .product-detail-page { padding-top: 42px; }
  .product-detail-content { grid-template-columns: 1fr; padding: 14px; }
  .product-detail-media, .product-detail-image { min-height: 360px; }
  .product-detail-info { padding: 22px 10px 10px; }
  .commands-panel { padding-top: 70px; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .catalog-toolbar select { border-right: 0; border-top: 1px solid #2c1e3b; }
  .operations-panel { margin-top: 70px; padding: 20px; }
  .commands-layout { grid-template-columns: 1fr; }
  .command-bots { max-height: 250px; }
  .operations-summary { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .operations-summary>div { min-width: 0; }
  .status-grid { grid-template-columns: 1fr; }
  .command-grid { grid-template-columns: 1fr; }
  .discord-status-card { grid-template-columns: 1fr; }
  .emoji-fields { grid-template-columns: 1fr; }
  .webhook-actions { flex-wrap: wrap; }
  .stack-form { grid-template-columns: 1fr; }
  .product-editor { grid-template-columns: 1fr; }
  .product-editor>label, .editor-wide, .product-image-picker { grid-column: 1; }
  .form-feedback { grid-column: auto; }
  .site-footer { flex-direction: column; gap: 6px; }
  .dialog-overview { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 500px) {
  .brand span:last-child { display: none; }
  .account .discord-button { padding: 8px 10px; font-size: 12px; }
  .hero-badge { font-size: 11px; }
  .hero-stats { gap: 0; }
  .hero-stats div { padding: 0 8px; }
  .product-grid { grid-template-columns: 1fr; }
  .community-banner { width: 100%; }
  .related-product-grid { grid-template-columns: 1fr; }
  .product-detail-media, .product-detail-image { min-height: 285px; }
  .product-detail-info h1 { font-size: 33px; }
  .detail-buy-head { align-items: stretch; flex-direction: column; }
  .detail-buy-head label { min-width: 0; }
  .detail-buy-actions { grid-template-columns: 1fr; }
  .detail-buy-actions .add-cart-button { grid-column: 1; }
  .detail-section-head { align-items: flex-start; flex-direction: column; }
  .storefront-form { grid-template-columns: 1fr; }
  .storefront-wide { grid-column: 1; }
  .operations-summary { grid-template-columns: 1fr; }
  .status-item { grid-template-columns: auto minmax(0, 1fr) auto; }
  .store-manager-head { flex-direction: column; }
  .category-form { grid-template-columns: 1fr; }
  .admin-product-row { grid-template-columns: 44px minmax(0, 1fr); }
  .admin-product-actions { grid-column: 1 / -1; }
  .navigation-row { grid-template-columns: 1fr; }
  .product-purchase { grid-template-columns: 1fr; }
  .product-purchase strong { text-align: right; }
  .add-cart-button { grid-column: 1; }
  .cart-dialog { margin: auto; }
  .cart-item { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .cart-item-thumb { width: 44px; height: 44px; }
  .cart-item select { grid-column: 2 / -1; }
  .cart-billing-kind { grid-column: 2 / -1; justify-self: start; }
  .cart-remove { grid-column: 2 / -1; justify-self: start; }
  .purchase-order { grid-template-columns: minmax(0, 1fr) auto; }
}

/* Premium violet storefront refresh */
:root {
  --bg: #050208;
  --panel: #0c0712;
  --panel-2: #120a1c;
  --line: #2d1c3d;
  --line-bright: #7045a0;
  --text: #fbf8ff;
  --muted: #a99db6;
  --purple: #9559ff;
  --purple-bright: #c79bff;
  --pink: #e56cff;
}

html { scrollbar-color: #5d3881 #08040d; }
body {
  background:
    radial-gradient(900px 520px at 50% -80px, #6d22a83d, transparent 64%),
    radial-gradient(680px 500px at 100% 45%, #3d17652e, transparent 67%),
    #050208;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body:before {
  opacity: .18;
  background-image:
    linear-gradient(#b88cff0b 1px, transparent 1px),
    linear-gradient(90deg, #b88cff0b 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%);
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
::selection { background: #8b5cf65c; color: #fff; }
:focus-visible { outline: 2px solid #c28cff; outline-offset: 3px; }

.topbar {
  height: 72px;
  gap: 34px;
  border-color: #342047;
  background: #07030be8;
  box-shadow: 0 12px 42px #0006;
  backdrop-filter: blur(14px) saturate(130%);
}
.brand { min-width: max-content; }
.mark {
  width: 42px;
  height: 42px;
  border-color: #c592ff;
  border-radius: 14px;
  background: linear-gradient(145deg, #b86cff, #6e2fe0 72%);
  box-shadow: 0 0 0 4px #8b5cf610, 0 9px 28px #7e3ce34d;
}
.brand strong { font-size: 16px; letter-spacing: 2.6px; }
.topnav { gap: 25px; font-size: 14px; }
.topnav a { padding-inline: 2px; }
.account { gap: 10px; }
.cart-button, .close-button {
  border-color: #563374;
  background: linear-gradient(145deg, #180c24, #0c0712);
}

.discord-button, .primary-button, .ghost-button, .warning-button, .danger-button, .manage-button, .product-action,
.add-cart-button, .paypal-button, .ticket-button {
  min-height: 44px;
  border-radius: 12px;
  font-size: 14px;
}
.discord-button, .primary-button, .add-cart-button {
  border-color: #b47bff;
  background: linear-gradient(135deg, #a65cff, #6d2ed7);
  box-shadow: 0 10px 26px #6e2fd83a, inset 0 1px #ffffff2e;
}
.ghost-button, .manage-button, .product-action {
  border-color: #4a2d61;
  background: #100818;
}

main { width: min(1240px, calc(100% - 40px)); min-height: calc(100vh - 72px); }
.page-view { animation-duration: .22s; }
.hero { min-height: min(780px, calc(100vh - 72px)); }
.hero:before {
  top: 8%;
  width: min(620px, 88vw);
  height: 460px;
  background: #862dd52b;
  filter: blur(72px);
}
.hero-content { width: min(760px, 100%); padding: 72px 0 96px; }
.hero-badge, .section-badge {
  padding: 8px 14px;
  border-color: #68408b;
  background: #150a20dc;
  font-size: 12px;
}
.hero h1 { font-size: clamp(46px, 6vw, 76px); line-height: 1.08; }
.hero-copy { max-width: 600px; color: #b8adbf; font-size: 16px; }
.hero-actions a { min-width: 160px; display: inline-flex; align-items: center; justify-content: center; }
.hero-stats {
  margin-top: 34px;
  padding: 16px 10px;
  border: 1px solid #2c193d;
  border-radius: 18px;
  background: #09040f99;
}
.hero-stats div { border-color: #382348; }
.hero-stats strong { color: #f4eaff; font-size: 20px; }
.hero-stats small { color: #91839d; font-size: 12px; }

.catalog, .commands-panel { min-height: calc(100vh - 72px); padding: 54px 0 64px; }
.section-title { margin-bottom: 28px; }
.section-title h2 { font-size: clamp(32px, 3.7vw, 48px); letter-spacing: -.7px; }
.section-title>p:last-child { color: #aea2b8; font-size: 16px; }
.community-banner {
  margin-bottom: 20px;
  padding: 9px 15px;
  border-color: #5b3779;
  background: #100719e6;
  font-size: 13px;
}
.catalog-toolbar {
  position: sticky;
  top: 84px;
  z-index: 9;
  width: min(780px, 100%);
  margin-bottom: 26px;
  padding: 8px;
  border-color: #432858;
  border-radius: 17px;
  background: #09050ee8;
  box-shadow: 0 14px 38px #0007, inset 0 1px #ffffff0a;
  backdrop-filter: blur(12px);
}
.catalog-toolbar input, .catalog-toolbar select { min-height: 46px; padding: 10px 14px; font-size: 14px; }
.product-grid { gap: 18px; }
.product {
  min-height: 270px;
  padding: 20px;
  border-color: #322043;
  border-radius: 20px;
  background: linear-gradient(150deg, #120a1a 0%, #09050e 78%);
  box-shadow: 0 14px 36px #0003, inset 0 1px #ffffff09;
  content-visibility: auto;
  contain-intrinsic-size: 330px;
}
.product:before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 18% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a667ff, transparent);
  opacity: .8;
}
.product:after { opacity: .6; }
.product:hover {
  transform: translateY(-3px);
  border-color: #7549a1;
  box-shadow: 0 20px 48px #0006, 0 0 0 1px #9d63e91c;
}
.product-cover-link { width: calc(100% + 40px); height: 178px; margin: -20px -20px 19px; }
.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #321547, #1b0b29);
  box-shadow: 0 10px 24px #6f30b430;
}
.category { padding: 6px 10px; border-color: #49305f; font-size: 12px; }
.product h3 { margin: 20px 0 8px; font-size: 19px; line-height: 1.45; }
.product p { color: #a99db2; font-size: 14px; line-height: 1.8; }
.product-footer { padding-top: 16px; border-color: #2b1a39; }
.availability, .product-action { font-size: 12px; }
.product-purchase { margin-top: 14px; padding-top: 14px; border-color: #2b1a39; }
.product-purchase select { min-height: 42px; border-radius: 11px; }
.add-cart-button { min-height: 44px; }
.view-product-link { min-height: 42px; display: grid; place-items: center; border-radius: 11px; }

.product-detail-content, .operations-panel, .owner-panel, .admin-access {
  border-color: #43295a;
  background: linear-gradient(150deg, #110918, #08040d);
  box-shadow: 0 24px 70px #0005, inset 0 1px #ffffff09;
}
.product-detail-content { border-radius: 24px; }
.product-detail-media { border-radius: 18px; }
.detail-buy-head, .detail-buy-actions { border-color: #4c3064; }
.related-product-card, .command-browser, .command-bots, .status-item {
  border-color: #322043;
  border-radius: 14px;
  background: #0b0611;
}
.commands-search {
  min-height: 56px;
  border-color: #432858;
  border-radius: 15px;
  background: #0b0611;
}
.command-bots button { min-height: 44px; font-size: 14px; }
.command-card { padding: 15px; border-color: #30203f; border-radius: 12px; }
.command-card p { font-size: 13px; }
.operations-panel { border-radius: 24px; }
.status-item { min-height: 70px; padding: 15px; }
.status-copy strong { font-size: 15px; }
.status-copy small { font-size: 12px; }

.owner-panel { border-radius: 22px; }
.owner-content { padding: 0 18px 20px; }
.branding-settings-card, .store-manager-card, .storefront-settings-card, .purchase-settings-card,
.discord-status-card, .purchase-orders-card {
  border-color: #43295a;
  border-radius: 18px;
  background: linear-gradient(150deg, #100817, #09050f);
}
.product-editor input:not([type="file"]), .product-editor select, .product-editor textarea, .category-form input,
.branding-form input:not([type="checkbox"]):not([type="file"]), .navigation-form input:not([type="checkbox"]),
.storefront-form input:not([type="checkbox"]), .purchase-settings-form input,
.webhook-form input, .stack-form input, .stack-form select {
  min-height: 44px;
  border-color: #432956;
  border-radius: 11px;
  background: #08040d;
  font-size: 14px;
}
.admin-product-row, .navigation-row, .purchase-order { border-radius: 12px; }

dialog { border-color: #704698; border-radius: 22px; background: #0b0611; }
dialog::backdrop { background: #020104e8; backdrop-filter: blur(4px); }
.cart-dialog { margin-left: 22px; }
.cart-shell, .dialog-shell { padding: 24px; }
.cart-item { border-radius: 13px; }
.site-footer { color: #887b94; }

@media (max-width: 960px) {
  .topbar { gap: 22px; }
  .topnav { gap: 18px; }
  .account-copy { display: none; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  body:before { opacity: .1; background-size: 58px 58px; }
  .topbar {
    min-height: 68px;
    padding: 12px 16px;
    background: #08040ded;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .topnav {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 50;
    height: 62px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(58px, 1fr);
    align-items: stretch;
    gap: 3px;
    padding: 5px;
    overflow-x: auto;
    border: 1px solid #503169;
    border-radius: 18px;
    background: #0a0510f2;
    box-shadow: 0 16px 54px #000b, inset 0 1px #ffffff0d;
    backdrop-filter: blur(16px) saturate(140%);
  }
  .topnav #siteNavLinks { display: contents; }
  .topnav a {
    min-width: 58px;
    height: 50px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 4px 7px;
    border-radius: 13px;
    color: #93859f;
    font-size: 10px;
    line-height: 1;
  }
  .topnav a:before { color: #a96dff; font-size: 17px; line-height: 1; }
  .topnav a[data-nav="home"]:before { content: "⌂"; }
  .topnav a[data-nav="products"]:before { content: "▦"; }
  .topnav a[data-nav="commands"]:before { content: "⌘"; }
  .topnav a[data-nav="status"]:before { content: "●"; color: #45e694; }
  .topnav a[data-nav="admin"]:before { content: "⚙"; }
  .topnav a.active { background: #251133; color: #fff; }
  .topnav a:after { right: 20%; bottom: 1px; }
  .topnav a:hover:after, .topnav a.active:after { right: 20%; width: 60%; }
  .account { margin-right: auto; }
  main { width: min(100% - 24px, 1240px); }
  .hero { min-height: 650px; }
  .hero-content { padding: 68px 0 88px; }
  .hero-scroll { display: none; }
  .catalog, .commands-panel { padding-top: 42px; }
  .catalog-toolbar { top: 80px; box-shadow: 0 12px 30px #0009; }
  .product { content-visibility: visible; }
  .product-detail-content { border-radius: 19px; }
  .operations-panel { border-radius: 19px; }
  .cart-dialog { margin: auto; }
  .site-footer { margin-bottom: 4px; padding-bottom: 16px; }
}

@media (max-width: 500px) {
  .mark { width: 40px; height: 40px; }
  .hero { min-height: 610px; }
  .hero h1 { font-size: clamp(39px, 12.5vw, 53px); }
  .hero-copy { font-size: 15px; line-height: 1.8; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions a { width: 100%; }
  .hero-stats { padding: 14px 3px; }
  .hero-stats strong { font-size: 17px; }
  .hero-stats small { font-size: 10px; }
  .section-title h2 { font-size: 34px; }
  .section-title>p:last-child { font-size: 15px; }
  .catalog-toolbar { position: relative; top: auto; }
  .product { min-height: 250px; border-radius: 17px; }
  .product-cover-link { height: 190px; }
  .product h3 { font-size: 18px; }
  .product p { font-size: 14px; }
  .discord-button, .primary-button, .ghost-button, .warning-button, .danger-button,
  .manage-button, .product-action, .add-cart-button, .paypal-button, .ticket-button { font-size: 13px; }
  input, select, textarea { font-size: 16px !important; }
  .cart-shell, .dialog-shell { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* NOVA Storefront v2 — focused shopping experience */
:root {
  --bg: #05030a;
  --panel: #0d0814;
  --panel-2: #151020;
  --line: #332143;
  --line-bright: #8251b0;
  --text: #fcfaff;
  --muted: #aaa0b5;
  --purple: #9b5cff;
  --purple-bright: #d4adff;
  --pink: #ec78ff;
}

body {
  background:
    radial-gradient(980px 620px at 82% -130px, #8e32d33d, transparent 65%),
    radial-gradient(760px 620px at -12% 58%, #451e7a24, transparent 68%),
    #05030a;
}

body:before {
  opacity: .13;
  background-image:
    linear-gradient(#d9bdff0d 1px, transparent 1px),
    linear-gradient(90deg, #d9bdff0d 1px, transparent 1px);
  background-size: 82px 82px;
}

.topbar {
  height: 78px;
  border-color: #3a254b;
  background: #07040bee;
  box-shadow: 0 12px 48px #0008;
}

.brand { gap: 12px; }
.brand strong { max-width: 210px; overflow: hidden; text-overflow: ellipsis; letter-spacing: .6px; }
.brand small { color: #b09cbe; letter-spacing: 2.8px; }
.mark {
  overflow: hidden;
  border-color: #bd8bff;
  background: linear-gradient(145deg, #bd75ff, #6e34df 72%);
  box-shadow: 0 0 0 5px #9b5cff12, 0 10px 32px #7133de55;
}
.topnav { color: #b8aec2; }
.topnav a:hover, .topnav a.active { color: #fff; }
.account-copy small { color: #94889f; }
.cart-button { background: #130a1b; }
.cart-button b { background: linear-gradient(135deg, #c56dff, #7a38e6); }

.primary-button, .discord-button, .add-cart-button {
  border-color: #bd88ff;
  background: linear-gradient(135deg, #aa62ff 0%, #7134dd 62%, #5f2ac7 100%);
  box-shadow: 0 12px 30px #7134dd42, inset 0 1px #ffffff3b;
}

.primary-button:hover, .discord-button:hover, .add-cart-button:hover {
  box-shadow: 0 16px 38px #813ce85f, inset 0 1px #ffffff3b;
}

main { width: min(1320px, calc(100% - 44px)); }

.home-page { order: 1; padding: 0 0 76px; overflow-x: clip; }
.home-hero {
  position: relative;
  min-height: min(760px, calc(100vh - 78px));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  padding: 72px 0;
}

.home-hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 6%;
  right: -14%;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, #9a3dec24, transparent 68%);
  filter: blur(16px);
  pointer-events: none;
}

.home-page .hero-content {
  width: auto;
  padding: 0;
  text-align: right;
}

.home-page .hero-badge {
  padding: 9px 14px;
  border-color: #68408b;
  background: #140b1de3;
  color: #d4b8f2;
  box-shadow: inset 0 1px #fff0b;
}

.home-page .eyebrow { margin-top: 22px; color: #b77bff; letter-spacing: 2.2px; }
.home-page h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(46px, 5.35vw, 76px);
  line-height: 1.12;
  letter-spacing: -2px;
}

.home-page h1 span {
  color: transparent;
  background: linear-gradient(92deg, #f2ddff 0%, #c989ff 40%, #8a4cf1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 28px #9a4ff53c);
}

.home-page .hero-copy {
  width: min(650px, 100%);
  margin: 25px 0 0;
  color: #b8afc0;
  font-size: 18px;
  line-height: 1.9;
}

.home-page .hero-actions { justify-content: flex-start; margin-top: 30px; }
.home-page .hero-actions a { min-width: 170px; gap: 28px; }
.home-page .hero-actions a b { transition: transform .2s ease; }
.home-page .hero-actions a:hover b { transform: translateX(-4px); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: #a99eb1; font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust b { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid #3e8a66; border-radius: 50%; background: #0b2a1c; color: #61e5a1; font-size: 11px; }

.hero-showcase {
  position: relative;
  min-width: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #55336f;
  border-radius: 28px;
  background: linear-gradient(155deg, #171020 0%, #0c0712 62%, #09050e 100%);
  box-shadow: 0 32px 80px #0009, inset 0 1px #fff10;
  transform: perspective(1000px) rotateY(2deg);
}

.hero-showcase:before {
  content: "";
  position: absolute;
  inset: 0 16% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d8aaff, transparent);
}

.showcase-glow {
  position: absolute;
  top: -130px;
  left: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #9b4cff2e;
  filter: blur(58px);
  pointer-events: none;
}

.showcase-head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 17px; }
.showcase-head div, .showcase-head small, .showcase-head strong { display: block; }
.showcase-head small { color: #95879f; font-size: 12px; }
.showcase-head strong { margin-top: 4px; font-size: 20px; }
.showcase-head>span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid #315f48; border-radius: 999px; background: #0c2017; color: #8de6b5; font-size: 12px; }
.showcase-head>span i { width: 7px; height: 7px; border-radius: 50%; background: #4be696; box-shadow: 0 0 12px #4be696; }

.hero-featured-products { position: relative; display: grid; gap: 9px; }
.hero-product-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 13px;
  padding: 11px;
  border: 1px solid #30203e;
  border-radius: 16px;
  background: #0b0710c9;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.hero-product-row:hover { transform: translateX(-4px); border-color: #784aa1; background: #140b1d; }
.hero-product-image { width: 58px; height: 58px; display: grid; place-items: center; object-fit: cover; border: 1px solid #4b2b64; border-radius: 13px; background: #1b0e28; color: #d6adff; font-size: 24px; }
.hero-product-row>span { min-width: 0; }
.hero-product-row small, .hero-product-row strong, .hero-product-row b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-product-row small { color: #988ba2; font-size: 11px; }
.hero-product-row strong { margin-top: 3px; font-size: 15px; }
.hero-product-row b { margin-top: 4px; color: #cb9bff; font-size: 12px; direction: ltr; text-align: right; }
.hero-product-row>i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: #1e102b; color: #bf89ff; font-style: normal; transition: transform .2s ease; }
.hero-product-row:hover>i { transform: translateX(-3px); }
.showcase-all { position: relative; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 10px; padding: 0 17px; border: 1px solid #7f4fa8; border-radius: 14px; background: linear-gradient(135deg, #261438, #150b20); color: #e9d7ff; font-size: 14px; }
.showcase-all:hover { border-color: #b67aff; background: #2b1540; }

.store-promise {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 0 0 88px;
  padding: 20px;
  border: 1px solid #332043;
  border-radius: 22px;
  background: #0a060fbd;
  box-shadow: inset 0 1px #fff08;
}

.store-promise article { min-width: 0; display: flex; align-items: center; gap: 13px; }
.store-promise article>span { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #68408c; border-radius: 13px; background: #1b0d28; color: #c894ff; font-weight: 800; }
.store-promise strong, .store-promise small { display: block; }
.store-promise strong { font-size: 15px; }
.store-promise small { margin-top: 5px; overflow: hidden; color: #95899f; font-size: 12px; line-height: 1.5; }
.store-promise>i { color: #5a4668; font-style: normal; }

.home-collection { padding-top: 4px; }
.home-collection-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.home-collection-head .eyebrow { margin: 0 0 6px; }
.home-collection-head h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); }
.home-collection-head>a { min-width: max-content; display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid #432b58; border-radius: 12px; color: #cdb8da; font-size: 14px; }
.home-collection-head>a:hover { border-color: #8b56b6; color: #fff; }
.home-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-product-card { min-width: 0; overflow: hidden; border: 1px solid #352145; border-radius: 21px; background: linear-gradient(150deg, #120b19, #09050e); box-shadow: 0 18px 44px #0004, inset 0 1px #fff08; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.home-product-card:hover { transform: translateY(-6px); border-color: #8050aa; box-shadow: 0 28px 56px #0008, 0 0 0 1px #9b5cff20; }
.home-product-visual { position: relative; height: 210px; display: block; overflow: hidden; background: radial-gradient(circle at 50% 40%, #6f31a648, transparent 55%), #0b0610; }
.home-product-image { width: 100%; height: 100%; display: grid; place-items: center; object-fit: cover; color: #c38cff; font-size: 66px; transition: transform .4s ease; }
.home-product-card:hover .home-product-image { transform: scale(1.035); }
.home-product-state { position: absolute; top: 14px; right: 14px; padding: 6px 10px; border: 1px solid #397152; border-radius: 999px; background: #092317df; color: #82e7ad; font-size: 11px; backdrop-filter: blur(8px); }
.home-product-copy { display: block; padding: 19px; }
.home-product-copy>small, .home-product-copy>strong, .home-product-copy>span { display: block; }
.home-product-copy>small { color: #b887e3; font-size: 12px; }
.home-product-copy>strong { margin-top: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 19px; }
.home-product-copy>span { height: 48px; margin-top: 8px; overflow: hidden; color: #a398aa; font-size: 14px; line-height: 1.7; }
.home-product-copy>b { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 17px; padding-top: 16px; border-top: 1px solid #2d1c3a; color: #d4adff; font-size: 15px; }
.home-product-copy>b span { direction: ltr; }
.home-product-copy>b small { color: #95869f; font-size: 11px; font-weight: 500; }
.home-product-copy>b i { color: #baa5c6; font-size: 12px; font-style: normal; font-weight: 500; }

.catalog { padding-top: 64px; }
.catalog-heading { width: 100%; max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 0 0 26px; text-align: right; }
.catalog-heading .eyebrow { margin: 17px 0 7px; }
.catalog-heading h2 { font-size: clamp(36px, 4vw, 54px); }
.catalog-heading>p:last-child { max-width: 420px; margin: 0 0 6px; text-align: left; }
.community-banner { margin: 0 0 19px auto; }
.catalog-toolbar { width: 100%; grid-template-columns: minmax(0, 1fr) 220px; top: 90px; margin: 0 0 30px; }
.catalog-toolbar input { padding-right: 19px; }
.catalog-toolbar select { border-right: 1px solid #392448; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product {
  min-height: 330px;
  padding: 21px;
  border-color: #372247;
  border-radius: 22px;
  background: linear-gradient(155deg, #130c1b 0%, #0a0610 75%);
}
.product:has(.product-cover) { min-height: 490px; }
.product-cover-link { width: calc(100% + 42px); height: 210px; margin: -21px -21px 20px; border-color: #3a2549; }
.product-top { flex-direction: row-reverse; }
.product-icon { width: 43px; height: 43px; border-radius: 13px; font-size: 18px; }
.category { background: #160c20; color: #c4a6d5; }
.product h3 { margin: 18px 0 7px; font-size: 20px; }
.product p { min-height: 49px; color: #aaa0b1; }
.product-footer { margin-top: 17px; }
.product-action { min-height: 34px; display: inline-grid; place-items: center; padding: 5px 9px; border-radius: 9px; }
.product-purchase { grid-template-columns: minmax(0, 1fr) auto; }
.product-purchase strong { color: #d8b5ff; font-size: 15px; }
.add-cart-button { grid-column: 1 / -1; font-weight: 700; }
.view-product-link { border: 0; background: transparent; color: #b6a2c2; }
.view-product-link:hover { border-color: transparent; background: #170c21; color: #fff; }

.site-footer { border-top-color: #2f1d3e; background: #08040d; }

@media (max-width: 1040px) {
  .home-hero { grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); gap: 34px; }
  .home-page h1 { font-size: clamp(43px, 5.8vw, 64px); }
  .product-grid, .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-product-card:last-child { display: none; }
}

@media (max-width: 820px) {
  .home-hero { min-height: auto; grid-template-columns: 1fr; gap: 46px; padding: 68px 0 52px; }
  .home-page .hero-content { width: min(700px, 100%); }
  .hero-showcase { width: min(620px, 100%); transform: none; }
  .store-promise { grid-template-columns: 1fr; gap: 13px; margin-bottom: 68px; }
  .store-promise>i { display: none; }
  .store-promise article { padding: 4px; }
  .catalog-heading { display: block; }
  .catalog-heading>p:last-child { max-width: none; margin-top: 12px; text-align: right; }
}

@media (max-width: 760px) {
  main { width: min(100% - 28px, 1320px); }
  .topbar { min-height: 70px; }
  .home-page { padding-bottom: 54px; }
  .home-hero { padding-top: 52px; }
  .home-hero:before { right: -10%; width: 110%; }
  .home-page h1 { font-size: clamp(41px, 12vw, 58px); }
  .home-page .hero-copy { font-size: 16px; }
  .home-page .hero-actions { display: grid; grid-template-columns: 1fr; }
  .home-page .hero-actions a { width: 100%; }
  .hero-trust { gap: 12px; font-size: 12px; }
  .hero-showcase { padding: 11px; border-radius: 22px; }
  .showcase-head { padding: 12px 9px 15px; }
  .home-collection-head { align-items: center; }
  .home-product-grid { grid-template-columns: 1fr; }
  .home-product-card:last-child { display: block; }
  .home-product-visual { height: 230px; }
  .catalog { padding-top: 46px; }
  .catalog-toolbar { position: sticky; grid-template-columns: 1fr; top: 80px; }
  .catalog-toolbar select { border-top: 1px solid #392448; border-right: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product:has(.product-cover) { min-height: 475px; }
}

@media (max-width: 500px) {
  main { width: min(100% - 22px, 1320px); }
  .brand strong { max-width: 120px; font-size: 14px; }
  .brand small { letter-spacing: 1.8px; }
  .account .discord-button { padding-inline: 12px; font-size: 12px; }
  .home-hero { gap: 36px; padding-top: 44px; }
  .home-page .hero-badge { font-size: 11px; }
  .home-page h1 { font-size: clamp(38px, 11.8vw, 50px); line-height: 1.16; letter-spacing: -1px; }
  .hero-trust { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-product-row { grid-template-columns: 51px minmax(0, 1fr) 26px; padding: 9px; }
  .hero-product-image { width: 51px; height: 51px; }
  .hero-product-row>i { width: 26px; height: 26px; }
  .showcase-all { min-height: 45px; }
  .store-promise { padding: 15px; border-radius: 18px; }
  .home-collection-head>a { padding: 9px 11px; font-size: 12px; }
  .home-product-visual { height: 205px; }
  .catalog-heading h2 { font-size: 38px; }
  .product { border-radius: 19px; }
  .product-cover-link { height: 205px; }
}

/* Clean commerce layout inspired by modern Gulf storefronts */
:root {
  --brand: #8b5cf6;
  --brand-rgb: 139, 92, 246;
  --brand-contrast: #ffffff;
  --shop-bg: #f6f7f9;
  --shop-surface: #ffffff;
  --shop-surface-2: #f1f3f6;
  --shop-text: #161922;
  --shop-muted: #707784;
  --shop-line: #e5e8ed;
  --shop-shadow: 0 12px 38px #1820330d;
}

html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] {
  color-scheme: dark;
  --shop-bg: #09070c;
  --shop-surface: #121016;
  --shop-surface-2: #1a171f;
  --shop-text: #fbf9fd;
  --shop-muted: #aaa2b0;
  --shop-line: #2b2631;
  --shop-shadow: 0 18px 46px #0006;
}

html, body { background: var(--shop-bg); }
body {
  color: var(--shop-text);
  background: var(--shop-bg);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}
body:before { display: none; }
::selection { background: rgba(var(--brand-rgb), .22); color: var(--shop-text); }
:focus-visible { outline-color: var(--brand); }

.topbar {
  height: 86px;
  gap: 40px;
  border-color: var(--shop-line);
  background: color-mix(in srgb, var(--shop-surface) 94%, transparent);
  color: var(--shop-text);
  box-shadow: 0 7px 24px #1518230a;
  backdrop-filter: blur(14px);
}
.mark {
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--brand) 42%, var(--shop-line));
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 11%, var(--shop-surface));
  color: var(--brand);
  box-shadow: none;
}
.brand strong { color: var(--shop-text); font-size: 17px; letter-spacing: 0; }
.brand small { color: var(--shop-muted); letter-spacing: 2px; }
.topnav { color: var(--shop-muted); font-size: 15px; }
.topnav a:hover, .topnav a.active { color: var(--brand); }
.topnav a:after { height: 3px; background: var(--brand); box-shadow: none; }
.account-copy strong { color: var(--shop-text); }
.account-copy small { color: var(--shop-muted); }
.cart-button, .close-button {
  border-color: var(--shop-line);
  background: var(--shop-surface);
  color: var(--shop-text);
  box-shadow: none;
}
.cart-button:hover { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .09); }
.cart-button b { border-color: var(--shop-surface); background: var(--brand); color: var(--brand-contrast); }

.discord-button, .primary-button, .add-cart-button {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--brand-contrast);
  box-shadow: none;
}
.discord-button:hover, .primary-button:hover, .add-cart-button:hover {
  border-color: color-mix(in srgb, var(--brand) 82%, #000);
  background: color-mix(in srgb, var(--brand) 88%, #000);
  box-shadow: 0 10px 24px rgba(var(--brand-rgb), .18);
}
.ghost-button, .manage-button, .product-action {
  border-color: var(--shop-line);
  background: var(--shop-surface);
  color: var(--shop-text);
}
.ghost-button:hover, .manage-button:hover, .product-action:hover { border-color: var(--brand); color: var(--brand); }

main { width: min(1260px, calc(100% - 44px)); min-height: calc(100vh - 86px); }
.eyebrow { color: var(--brand); font-weight: 700; }
.hero-badge, .section-badge {
  border-color: color-mix(in srgb, var(--brand) 25%, var(--shop-line));
  background: color-mix(in srgb, var(--brand) 7%, var(--shop-surface));
  color: var(--brand);
  box-shadow: none;
}
.hero-badge i, .live-badge i { background: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }

.home-page { padding-bottom: 72px; overflow-x: clip; }
.home-hero {
  min-height: 590px;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
  gap: clamp(42px, 7vw, 92px);
  padding: 64px 0;
}
.home-hero:before { display: none; }
.home-page .hero-content { color: var(--shop-text); }
.home-page h1 { max-width: 680px; color: var(--shop-text); font-size: clamp(45px, 5vw, 68px); }
.home-page h1 span {
  color: var(--brand);
  background: none;
  -webkit-text-fill-color: currentColor;
  filter: none;
}
.home-page .hero-copy { color: var(--shop-muted); font-size: 17px; }
.home-page .hero-actions a { border-radius: 9px; }
.hero-trust { color: var(--shop-muted); }
.hero-trust b {
  border-color: color-mix(in srgb, var(--brand) 38%, var(--shop-line));
  background: color-mix(in srgb, var(--brand) 9%, var(--shop-surface));
  color: var(--brand);
}
.hero-showcase {
  padding: 14px;
  border-color: var(--shop-line);
  border-radius: 16px;
  background: var(--shop-surface);
  box-shadow: var(--shop-shadow);
  transform: none;
}
.hero-showcase:before, .showcase-glow { display: none; }
.showcase-head small, .hero-product-row small { color: var(--shop-muted); }
.showcase-head>span {
  border-color: color-mix(in srgb, var(--brand) 28%, var(--shop-line));
  background: color-mix(in srgb, var(--brand) 7%, var(--shop-surface));
  color: var(--brand);
}
.showcase-head>span i { background: var(--brand); box-shadow: none; }
.hero-product-row {
  border-color: var(--shop-line);
  border-radius: 11px;
  background: var(--shop-surface);
}
.hero-product-row:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 4%, var(--shop-surface)); }
.hero-product-image {
  border-color: var(--shop-line);
  border-radius: 9px;
  background: var(--shop-surface-2);
  color: var(--brand);
}
.hero-product-row strong { color: var(--shop-text); }
.hero-product-row b { color: var(--brand); }
.hero-product-row>i { background: var(--shop-surface-2); color: var(--brand); }
.showcase-all {
  border-color: var(--brand);
  border-radius: 9px;
  background: transparent;
  color: var(--brand);
}
.showcase-all:hover { border-color: var(--brand); background: var(--brand); color: var(--brand-contrast); }

.store-promise {
  margin-bottom: 74px;
  border-color: var(--shop-line);
  border-radius: 12px;
  background: var(--shop-surface);
  box-shadow: none;
}
.store-promise article>span {
  border-color: color-mix(in srgb, var(--brand) 30%, var(--shop-line));
  border-radius: 9px;
  background: color-mix(in srgb, var(--brand) 8%, var(--shop-surface));
  color: var(--brand);
}
.store-promise strong { color: var(--shop-text); }
.store-promise small { color: var(--shop-muted); }
.store-promise>i { color: var(--shop-line); }
.home-collection-head>a { border-color: var(--shop-line); border-radius: 9px; color: var(--shop-muted); }
.home-collection-head>a:hover { border-color: var(--brand); color: var(--brand); }
.home-product-card {
  border-color: var(--shop-line);
  border-radius: 14px;
  background: var(--shop-surface);
  box-shadow: none;
}
.home-product-card:hover { border-color: color-mix(in srgb, var(--brand) 58%, var(--shop-line)); box-shadow: var(--shop-shadow); }
.home-product-visual { height: 245px; background: color-mix(in srgb, var(--brand) 6%, var(--shop-surface-2)); }
.home-product-image { color: var(--brand); }
.home-product-state {
  border-color: color-mix(in srgb, var(--brand) 32%, var(--shop-line));
  background: color-mix(in srgb, var(--brand) 8%, var(--shop-surface));
  color: var(--brand);
}
.home-product-copy>small, .home-product-copy>b { color: var(--brand); }
.home-product-copy>strong { color: var(--shop-text); }
.home-product-copy>span, .home-product-copy>b small, .home-product-copy>b i { color: var(--shop-muted); }
.home-product-copy>b { border-color: var(--shop-line); }

.catalog { padding: 48px 0 70px; }
.catalog-heading { align-items: center; margin-bottom: 24px; }
.catalog-heading h2 { color: var(--shop-text); font-size: clamp(34px, 4vw, 48px); }
.catalog-heading>p:last-child { color: var(--shop-muted); }
.community-banner {
  border-color: color-mix(in srgb, var(--brand) 26%, var(--shop-line));
  border-radius: 9px;
  background: var(--shop-surface);
  color: var(--shop-muted);
  box-shadow: none;
}
.community-banner:hover { border-color: var(--brand); box-shadow: none; }
.community-banner b { border-radius: 6px; background: var(--brand); color: var(--brand-contrast); box-shadow: none; }
.community-banner i { color: var(--brand); }
.catalog-toolbar {
  top: 98px;
  margin-bottom: 30px;
  padding: 7px;
  border-color: var(--shop-line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--shop-surface) 96%, transparent);
  box-shadow: 0 8px 24px #1118270b;
}
.catalog-toolbar input, .catalog-toolbar select { color: var(--shop-text); }
.catalog-toolbar input::placeholder { color: color-mix(in srgb, var(--shop-muted) 78%, transparent); }
.catalog-toolbar select { border-color: var(--shop-line); color: var(--shop-muted); }
.catalog-toolbar option { background: var(--shop-surface); color: var(--shop-text); }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product {
  min-height: 470px;
  padding: 16px;
  border-color: var(--shop-line);
  border-radius: 14px;
  background: var(--shop-surface);
  box-shadow: none;
}
.product:before, .product:after { display: none; }
.product:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 55%, var(--shop-line)); box-shadow: var(--shop-shadow); }
.product:has(.product-cover) { min-height: 540px; }
.product-cover-link {
  width: calc(100% + 32px);
  height: 250px;
  margin: -16px -16px 15px;
  border-color: var(--shop-line);
  background: color-mix(in srgb, var(--brand) 7%, var(--shop-surface-2));
}
.product-cover.product-visual-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(var(--brand-rgb), .14), transparent 36%),
    color-mix(in srgb, var(--brand) 5%, var(--shop-surface-2));
  color: var(--brand);
  font-size: 72px;
}
.product-top { flex-direction: row; }
.product-icon {
  width: 36px;
  height: 36px;
  border-color: color-mix(in srgb, var(--brand) 25%, var(--shop-line));
  border-radius: 9px;
  background: color-mix(in srgb, var(--brand) 8%, var(--shop-surface));
  color: var(--brand);
  box-shadow: none;
  font-size: 15px;
}
.category { border-color: var(--shop-line); background: var(--shop-surface-2); color: var(--shop-muted); }
.product h3 { margin: 14px 0 6px; color: var(--shop-text); font-size: 18px; }
.product h3 a:hover { color: var(--brand); }
.product p { min-height: 48px; color: var(--shop-muted); line-height: 1.65; }
.product-footer { border-color: var(--shop-line); }
.availability { color: var(--brand); }
.availability:before { background: var(--brand); box-shadow: none; }
.product-action { min-height: 32px; font-size: 11px; }
.product-purchase { border-color: var(--shop-line); }
.product-purchase select {
  border-color: var(--shop-line);
  border-radius: 8px;
  background: var(--shop-surface);
  color: var(--shop-text);
}
.product-purchase select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .1); }
.product-purchase option { background: var(--shop-surface); color: var(--shop-text); }
.product-purchase strong { color: var(--brand); }
.add-cart-button { border-radius: 8px; }
.price-unset { border-color: var(--shop-line); border-radius: 8px; background: var(--shop-surface-2); color: var(--shop-muted); }
.view-product-link { color: var(--shop-muted); }
.view-product-link:hover { background: var(--shop-surface-2); color: var(--brand); }

.product-detail-page { padding-top: 44px; }
.detail-back { color: var(--shop-muted); }
.detail-back:hover { color: var(--brand); }
.product-detail-content {
  gap: 34px;
  padding: 22px;
  border-color: var(--shop-line);
  border-radius: 16px;
  background: var(--shop-surface);
  box-shadow: var(--shop-shadow);
}
.product-detail-media { min-height: 560px; border-color: var(--shop-line); border-radius: 12px; background: color-mix(in srgb, var(--brand) 6%, var(--shop-surface-2)); }
.product-detail-image { min-height: 560px; }
.product-detail-image.product-visual-placeholder { color: var(--brand); text-shadow: none; }
.product-detail-media>span { border-color: var(--shop-line); background: var(--shop-surface); color: var(--brand); }
.product-detail-info h1 { color: var(--shop-text); }
.detail-category { border-color: var(--shop-line); background: var(--shop-surface-2); color: var(--brand); }
.detail-description { color: var(--shop-muted); }
.detail-commands-link { border-color: var(--shop-line); color: var(--brand); }
.detail-buy-box, .detail-buy-head, .detail-buy-actions { border-color: var(--shop-line); }
.detail-one-time, .cart-billing-kind { border-color: var(--shop-line); color: var(--brand); }
.related-product-card { border-color: var(--shop-line); background: var(--shop-surface); }

.commands-panel, .operations-panel, .owner-panel, .admin-access { color: var(--shop-text); }
.commands-search, .command-browser, .command-bots, .status-item,
.operations-panel, .owner-panel, .admin-access {
  border-color: var(--shop-line);
  background: var(--shop-surface);
  box-shadow: var(--shop-shadow);
}
.commands-search input, .command-bots button { color: var(--shop-text); }
.command-bots button.active { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, var(--shop-surface)); color: var(--brand); }
.command-card { border-color: var(--shop-line); background: var(--shop-surface-2); }
.command-card p, .operations-head p, .operations-note, .status-copy small { color: var(--shop-muted); }

.branding-settings-card, .appearance-settings-card, .store-manager-card, .storefront-settings-card,
.purchase-settings-card, .discord-status-card, .purchase-orders-card {
  border: 1px solid var(--shop-line);
  border-radius: 14px;
  background: var(--shop-surface);
  color: var(--shop-text);
  box-shadow: none;
}
.appearance-settings-card { padding: 24px; }
.theme-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.theme-form>label { display: grid; gap: 8px; color: var(--shop-muted); font-size: 13px; }
.theme-form select, .theme-color-field>input[type="text"] {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--shop-line);
  border-radius: 9px;
  background: var(--shop-surface);
  color: var(--shop-text);
  padding: 10px 12px;
}
.theme-color-field { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 9px; direction: ltr; }
.theme-color-field input[type="color"] { width: 56px; height: 46px; padding: 4px; border: 1px solid var(--shop-line); border-radius: 9px; background: var(--shop-surface); cursor: pointer; }
.theme-presets { grid-column: 1 / -1; display: flex; gap: 10px; }
.theme-presets button { width: 34px; height: 34px; border: 3px solid var(--shop-surface); border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px var(--shop-line); cursor: pointer; }
.theme-presets button:hover { transform: scale(1.08); box-shadow: 0 0 0 2px var(--shop-text); }
.theme-live-preview { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--shop-line); border-radius: 10px; background: var(--shop-surface-2); }
.theme-live-preview>span { width: 44px; height: 44px; border-radius: 10px; background: var(--brand); box-shadow: 0 8px 20px rgba(var(--brand-rgb), .22); }
.theme-live-preview strong, .theme-live-preview small { display: block; }
.theme-live-preview small { margin-top: 4px; color: var(--shop-muted); }
.theme-form>.primary-button, .theme-form>.form-feedback { grid-column: 1 / -1; }

.product-editor input:not([type="file"]), .product-editor select, .product-editor textarea, .category-form input,
.branding-form input:not([type="checkbox"]):not([type="file"]), .navigation-form input:not([type="checkbox"]),
.storefront-form input:not([type="checkbox"]), .purchase-settings-form input,
.webhook-form input, .stack-form input, .stack-form select {
  border-color: var(--shop-line);
  background: var(--shop-surface);
  color: var(--shop-text);
}
.admin-product-row, .navigation-row, .purchase-order { border-color: var(--shop-line); background: var(--shop-surface-2); }
.owner-only-badge { border-color: color-mix(in srgb, var(--brand) 30%, var(--shop-line)); background: color-mix(in srgb, var(--brand) 7%, var(--shop-surface)); color: var(--brand); }

dialog { border-color: var(--shop-line); background: var(--shop-surface); color: var(--shop-text); }
dialog::backdrop { background: #11182799; }
.cart-item { border-color: var(--shop-line); background: var(--shop-surface-2); }
.cart-total { border-color: var(--shop-line); }
.site-footer { border-color: var(--shop-line); background: var(--shop-surface); color: var(--shop-muted); }

@media (max-width: 1160px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-showcase { width: min(680px, 100%); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .topbar {
    min-height: 72px;
    border-color: var(--shop-line);
    background: var(--shop-surface);
    box-shadow: 0 6px 22px #1118270d;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .topnav {
    border-color: var(--shop-line);
    background: color-mix(in srgb, var(--shop-surface) 96%, transparent);
    box-shadow: 0 12px 34px #11182724;
  }
  .topnav a { color: var(--shop-muted); }
  .topnav a:before { color: var(--brand); }
  .topnav a.active { background: color-mix(in srgb, var(--brand) 11%, var(--shop-surface)); color: var(--brand); }
  main { width: min(100% - 26px, 1260px); }
  .home-hero { padding: 48px 0 44px; }
  .home-page h1 { font-size: clamp(38px, 11.5vw, 54px); }
  .home-page .hero-copy { font-size: 16px; }
  .store-promise { margin-bottom: 58px; }
  .catalog-toolbar { position: sticky; top: 82px; }
  .product-grid { grid-template-columns: 1fr; }
  .product:has(.product-cover) { min-height: 530px; }
  .product-cover-link { height: 285px; }
  .product-detail-content { border-radius: 13px; }
  .product-detail-media, .product-detail-image { min-height: 360px; }
  .theme-form { grid-template-columns: 1fr; }
  .theme-form>* { grid-column: 1 !important; }
}

@media (max-width: 500px) {
  main { width: min(100% - 22px, 1260px); }
  .mark { width: 43px; height: 43px; }
  .account .discord-button { padding-inline: 11px; }
  .home-page h1 { font-size: clamp(37px, 11vw, 49px); }
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .hero-showcase { border-radius: 13px; }
  .home-product-card, .product { border-radius: 12px; }
  .home-product-visual { height: 230px; }
  .product-cover-link { height: 250px; }
  .appearance-settings-card { padding: 17px; }
}

/* Storefront layout: utility search, compact catalogue and structured footer */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--shop-line);
  background: var(--shop-surface);
  box-shadow: 0 8px 28px #1118270a;
}
.store-utility {
  height: 54px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--shop-line);
  background: var(--shop-surface-2);
}
.store-utility-inner {
  width: min(1260px, calc(100% - 36px));
  margin: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  direction: rtl;
}
.store-controls { display: flex; align-items: center; gap: 8px; direction: rtl; }
.utility-control, .store-currency {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--shop-surface);
  color: var(--shop-text);
  font-size: 12px;
}
.utility-control { cursor: pointer; transition: border-color .18s, color .18s, transform .18s; }
.utility-control:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--brand) 46%, var(--shop-line)); color: var(--brand); }
.utility-control span { font-size: 17px; line-height: 1; }
.utility-control b { font-size: 11px; font-weight: 700; }
.store-currency { padding-inline: 11px; color: var(--shop-muted); }
.utility-control .language-flag {
  position: relative;
  width: 22px;
  height: 14px;
  flex: 0 0 22px;
  overflow: hidden;
  border: 1px solid #10131826;
  border-radius: 2px;
  box-shadow: 0 1px 3px #1118271f;
}
.flag-kw { background: linear-gradient(to bottom, #007a3d 0 33.33%, #fff 33.33% 66.66%, #ce1126 66.66%); }
.flag-kw:after { content: ""; position: absolute; inset: -1px auto -1px -1px; width: 8px; background: #111; clip-path: polygon(0 0, 100% 25%, 100% 75%, 0 100%); }
.flag-gb {
  background:
    linear-gradient(33deg, transparent 43%, #fff 43% 57%, transparent 57%),
    linear-gradient(-33deg, transparent 43%, #fff 43% 57%, transparent 57%),
    linear-gradient(to bottom, transparent 38%, #fff 38% 62%, transparent 62%),
    linear-gradient(to right, transparent 40%, #fff 40% 60%, transparent 60%),
    #012169;
}
.flag-gb:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(33deg, transparent 48%, #c8102e 48% 52%, transparent 52%),
    linear-gradient(-33deg, transparent 48%, #c8102e 48% 52%, transparent 52%),
    linear-gradient(to bottom, transparent 44%, #c8102e 44% 56%, transparent 56%),
    linear-gradient(to right, transparent 45%, #c8102e 45% 55%, transparent 55%);
}
.global-search {
  min-width: 0;
  flex: 1;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--shop-surface);
  color: var(--shop-muted);
  transition: border-color .18s, box-shadow .18s;
}
.global-search input { direction: rtl; }
html[dir="ltr"] .global-search input { direction: ltr; }
.global-search:focus-within { border-color: color-mix(in srgb, var(--brand) 48%, var(--shop-line)); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .08); }
.global-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--shop-text); }
.global-search input::placeholder { color: var(--shop-muted); }
.global-search>span { font-size: 19px; line-height: 1; }

.site-header .topbar {
  position: relative;
  top: auto;
  z-index: auto;
  height: 80px;
  width: min(1260px, calc(100% - 36px));
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
main { min-height: calc(100vh - 135px); }

body[data-page="home"] main { width: min(1260px, calc(100% - 36px)); }
.home-page { padding: 46px 0 76px; }
.home-page .home-hero, .home-page .store-promise { display: none; }
.home-collection { padding: 0; }
.home-collection-head { align-items: center; margin-bottom: 26px; }
.home-collection-head .eyebrow { display: none; }
.home-collection-head h2 { color: var(--shop-text); font-size: 25px; font-weight: 700; }
.home-collection-head>a {
  border-color: var(--shop-line);
  border-radius: 999px;
  background: var(--shop-surface);
  color: var(--shop-muted);
  box-shadow: none;
}
.home-collection-head>a:hover { border-color: var(--brand); color: var(--brand); }
.home-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home-product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--shop-line);
  border-radius: 13px;
  background: var(--shop-surface);
  color: var(--shop-text);
  box-shadow: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.home-product-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 48%, var(--shop-line)); box-shadow: var(--shop-shadow); }
.home-product-main { display: block; }
.home-product-visual {
  position: relative;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--shop-line);
  background: color-mix(in srgb, var(--brand) 6%, var(--shop-surface-2));
}
.home-product-image {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  object-fit: cover;
  color: var(--brand);
  font-size: 72px;
  transition: transform .28s;
}
.home-product-card:hover .home-product-image { transform: scale(1.025); }
.home-product-state {
  top: 13px;
  right: 13px;
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--shop-line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--shop-surface) 91%, transparent);
  color: var(--brand);
  box-shadow: none;
  font-size: 10px;
}
.home-product-favorite {
  position: absolute;
  z-index: 3;
  top: 13px;
  left: 13px;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid var(--shop-line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--shop-surface) 92%, transparent);
  color: var(--shop-muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.home-product-favorite:hover, .home-product-favorite.active { border-color: var(--brand); color: var(--brand); }
.home-product-copy { display: block; padding: 14px 15px 12px; }
.home-product-copy>small { color: var(--shop-muted); font-size: 11px; }
.home-product-copy>strong { min-height: 48px; margin-top: 7px; color: var(--shop-text); font-size: 15px; line-height: 1.6; }
.home-product-copy>span { display: none; }
.home-product-copy>b {
  min-height: 25px;
  margin-top: 7px;
  padding-top: 0;
  border: 0;
  color: var(--brand);
  font-size: 13px;
}
.home-product-copy>b small { color: var(--shop-muted); }
.home-product-copy>b i { color: var(--shop-muted); font-size: 10px; }
.home-card-cart {
  min-height: 40px;
  width: calc(100% - 30px);
  margin: 0 15px 15px;
  display: grid;
  place-items: center;
  border: 1px solid var(--brand);
  border-radius: 9px;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  font-weight: 700;
  transition: background .18s, color .18s, transform .18s;
}
.home-card-cart:hover { transform: translateY(-1px); background: var(--brand); color: var(--brand-contrast); }

.catalog { padding-top: 42px; }
.catalog-heading { align-items: center; margin-bottom: 20px; }
.catalog-heading .section-badge, .catalog-heading .eyebrow, .catalog-heading>p:last-child { display: none; }
.catalog-heading h2 { font-size: 25px; }
.community-banner { margin: 0 0 18px auto; }
.catalog-toolbar { top: 148px; margin-bottom: 24px; }
.product-grid { gap: 18px; }

/* Shared storefront announcement: pages added later inherit it from the global shell. */
.global-community-strip {
  width: min(1260px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
}
.global-community-strip .community-banner {
  margin: 16px 0 0;
}
.global-community-strip .community-banner[hidden] {
  display: none;
}

@media (max-width: 760px) {
  .global-community-strip {
    width: min(1260px, calc(100% - 28px));
  }
  .global-community-strip .community-banner {
    width: 100%;
    margin-top: 12px;
  }
}
.product {
  min-height: 0;
  padding: 14px;
  border-radius: 13px;
}
.product:has(.product-cover) { min-height: 0; }
.product-cover-link {
  width: calc(100% + 28px);
  height: auto;
  aspect-ratio: 1 / 1;
  margin: -14px -14px 13px;
}
.product-cover.product-visual-placeholder { font-size: 72px; }
.product-top { min-height: 34px; }
.product h3 { min-height: 52px; margin: 11px 0 5px; font-size: 16px; line-height: 1.6; }
.product>p { display: none; }
.product-footer { margin-top: 5px; padding-top: 0; border: 0; }
.product-purchase { margin-top: 10px; padding-top: 10px; }
.add-cart-button {
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  box-shadow: none;
}
.add-cart-button:hover { background: var(--brand); color: var(--brand-contrast); box-shadow: none; }
.view-product-link { min-height: 34px; font-size: 11px; }

.site-footer {
  width: 100%;
  margin: 0;
  padding: 46px max(18px, calc((100vw - 1260px) / 2)) 18px;
  display: block;
  border-top: 1px solid var(--shop-line);
  background: var(--shop-surface-2);
  color: var(--shop-muted);
}
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 58px; }
.footer-grid section { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid strong { color: var(--shop-text); font-size: 16px; }
.footer-grid p { max-width: 430px; margin: 0; line-height: 1.9; }
.footer-grid a { transition: color .18s; }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom { margin-top: 38px; padding-top: 17px; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--shop-line); }

@media (max-width: 1080px) {
  .home-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { min-height: 124px; }
  .store-utility { height: 52px; }
  .store-utility-inner { width: min(100% - 28px, 1260px); }
  .global-search { display: none; }
  .store-controls { width: 100%; }
  .utility-control { flex: 1; justify-content: center; padding: 8px 10px; }
  .store-currency { padding-inline: 9px; }
  .site-header .topbar { width: min(100% - 28px, 1260px); height: 72px; }
  main { min-height: calc(100vh - 124px); }
  .home-page { padding: 34px 0 92px; }
  .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-product-card:last-child { display: block; }
  .home-product-copy { padding: 11px 11px 9px; }
  .home-product-copy>strong { min-height: 44px; font-size: 13px; }
  .home-product-copy>b { align-items: flex-start; flex-direction: column; gap: 3px; font-size: 12px; }
  .home-product-copy>b i { display: none; }
  .home-card-cart { width: calc(100% - 22px); margin: 0 11px 11px; padding: 7px; font-size: 12px; }
  .home-product-favorite { top: 9px; left: 9px; width: 33px; height: 33px; }
  .home-product-state { top: 9px; right: 9px; }
  .catalog { padding-top: 32px; }
  .catalog-heading { margin-bottom: 16px; }
  .catalog-toolbar { top: 82px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product { padding: 11px; }
  .product-cover-link { width: calc(100% + 22px); margin: -11px -11px 10px; }
  .product-icon { width: 31px; height: 31px; }
  .category { padding: 5px 7px; font-size: 9px; }
  .product h3 { min-height: 46px; margin-top: 8px; font-size: 13px; }
  .product-action { display: none; }
  .product-purchase { grid-template-columns: 1fr; }
  .product-purchase strong { text-align: right; }
  .add-cart-button { grid-column: auto; font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .site-footer { padding-bottom: 102px; }
}

@media (max-width: 390px) {
  .home-product-copy>small { display: none; }
  .home-product-copy>strong { min-height: 42px; }
}

.detail-buy-head, .detail-buy-actions {
  border-color: var(--shop-line);
  background: var(--shop-surface-2);
  color: var(--shop-text);
}
.detail-buy-head>span small, .detail-buy-head label { color: var(--shop-muted); }
.detail-buy-head>span strong { color: var(--brand); }
.detail-buy-head select {
  border-color: var(--shop-line);
  background: var(--shop-surface);
  color: var(--shop-text);
}
.detail-price-unset { border-color: var(--shop-line); background: var(--shop-surface-2); }
.related-product-image {
  border-color: var(--shop-line);
  background: color-mix(in srgb, var(--brand) 7%, var(--shop-surface-2));
  color: var(--brand);
}
.related-product-card small { color: var(--shop-muted); }
.related-product-card strong { color: var(--shop-text); }
.related-product-card b { color: var(--brand); }

.navigation-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--shop-line);
  border-radius: 9px;
  outline: 0;
  background: var(--shop-surface);
  color: var(--shop-text);
}
.navigation-form select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .1);
}
.navigation-hint {
  margin: -2px 0 2px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--shop-line));
  border-radius: 9px;
  background: color-mix(in srgb, var(--brand) 6%, var(--shop-surface));
  color: var(--shop-muted);
  font-size: 12px;
  line-height: 1.75;
}
.admin-product-actions .nav-order-button {
  min-width: 31px;
  font-size: 15px;
  font-weight: 900;
}
.admin-product-actions .nav-order-button:disabled {
  cursor: not-allowed;
  opacity: .3;
}

/* Keep the first paint stable while the saved theme is restored. */
html.theme-booting *,
html.theme-booting *::before,
html.theme-booting *::after {
  transition: none !important;
  animation: none !important;
}

body.account-pending .site-header .account {
  visibility: hidden;
}

@media (min-width: 761px) {
  .site-header .account {
    min-width: 250px;
    justify-content: flex-end;
  }

  .site-header .account-copy {
    min-width: 78px;
  }

  .site-header .account .discord-button {
    min-width: 108px;
    text-align: center;
  }
}

/* Lightweight cart confirmation and complete category controls */
.cart-toast {
  position: fixed;
  z-index: 140;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(430px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--shop-line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--shop-surface) 94%, transparent);
  color: var(--shop-text);
  box-shadow: 0 18px 55px #0005, inset 0 1px #fff1;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(16px);
}
.cart-toast[hidden] { display: none; }
.cart-toast.is-visible { opacity: 1; transform: translateY(0); }
.cart-toast-check { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--brand-contrast); font-weight: 900; }
.cart-toast>div { min-width: 0; }
.cart-toast strong, .cart-toast small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-toast small { margin-top: 3px; color: var(--shop-muted); }
.cart-toast>button { min-height: 34px; padding: 0 11px; border: 1px solid color-mix(in srgb, var(--brand) 55%, var(--shop-line)); border-radius: 9px; background: transparent; color: var(--brand); cursor: pointer; }
.cart-toast>button:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.cart-toast .cart-toast-close { width: 30px; padding: 0; border-color: transparent; color: var(--shop-muted); font-size: 19px; }

.category-manager-list { display: grid; gap: 8px; max-height: 310px; margin: 12px 0 16px; overflow: auto; }
.category-manager-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--shop-line); border-radius: 11px; background: var(--shop-surface-2); }
.category-manager-row>div:first-child { min-width: 0; }
.category-manager-row strong, .category-manager-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-manager-row small { margin-top: 4px; color: var(--shop-muted); font-size: 11px; }

@media (max-width: 620px) {
  .cart-toast { grid-template-columns: auto minmax(0, 1fr) auto; }
  .cart-toast>button:not(.cart-toast-close) { grid-column: 1 / -1; grid-row: 2; }
  .category-manager-row { grid-template-columns: 1fr; }
}
