:root {
  --bg: #03070b;
  --panel: rgba(10, 22, 29, .78);
  --panel-solid: #08121a;
  --line: rgba(0, 190, 255, .22);
  --text: #f4fbff;
  --muted: #a8bac4;
  --cyan: #00bdf2;
  --cyan-2: #00e2ff;
  --dark-cyan: #063949;
  --shadow: 0 24px 80px rgba(0, 0, 0, .55);
  --announcement-height: 42px;
  --announcement-offset: 0px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 8%, rgba(0, 189, 242, .12), transparent 38%),
    linear-gradient(135deg, #02050a 0%, #061018 48%, #02050a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  width: max(120vw, 150vh);
  aspect-ratio: 1;
  left: 48%;
  top: 42%;
  z-index: 0;
  pointer-events: none;
  opacity: .76;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(0, 226, 255, .3) 18.25% 18.65%, transparent 18.95% 28%, rgba(0, 189, 242, .22) 28.3% 28.7%, transparent 29% 40%, rgba(67, 230, 168, .14) 40.3% 40.7%, transparent 41%),
    conic-gradient(from 12deg at 50% 50%, transparent 0 65deg, rgba(0, 189, 242, .32) 69deg 83deg, transparent 88deg 212deg, rgba(67, 230, 168, .14) 218deg 226deg, transparent 232deg 360deg);
  filter: blur(.15px);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  animation: radarOrbit 9s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: -15%;
  z-index: 0;
  pointer-events: none;
  opacity: .82;
  background:
    linear-gradient(112deg, transparent 18%, rgba(0, 189, 242, .09) 31%, transparent 42%),
    linear-gradient(72deg, transparent 58%, rgba(67, 230, 168, .06) 69%, transparent 78%);
  transform: translate3d(-4%, -2%, 0) scale(1.08);
  will-change: transform, opacity;
  animation: lightSweep 12s ease-in-out infinite alternate;
}

.backdrop-grid {
  position: fixed;
  inset: -80px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(0, 189, 242, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 189, 242, .06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 8%, rgba(0, 0, 0, .86) 42%, transparent 78%);
  will-change: background-position, opacity;
  animation: gridFlow 18s linear infinite, gridPulse 6s ease-in-out infinite alternate;
}

.backdrop-grid::before,
.backdrop-grid::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.backdrop-grid::before {
  inset: 0;
  opacity: .55;
  background:
    repeating-linear-gradient(118deg, transparent 0 92px, rgba(0, 226, 255, .025) 94px 95px, transparent 97px 180px);
  animation: scanDrift 13s linear infinite;
}

.backdrop-grid::after {
  left: 10%;
  right: 10%;
  top: 13%;
  height: 2px;
  opacity: .8;
  background: linear-gradient(90deg, transparent, rgba(0, 226, 255, .42), rgba(67, 230, 168, .24), transparent);
  box-shadow: 0 0 28px rgba(0, 189, 242, .34);
  animation: horizonScan 8s ease-in-out infinite;
}

@keyframes orbitDrift {
  0% { transform: translate3d(-2%, -1.5%, 0) rotate(-7deg) scale(.97); opacity: .58; }
  48% { opacity: .84; }
  100% { transform: translate3d(3%, 2.5%, 0) rotate(16deg) scale(1.09); opacity: .7; }
}

@keyframes radarOrbit {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(.96); opacity: .64; }
  50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.04); opacity: .84; }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(.96); opacity: .64; }
}

@keyframes lightSweep {
  0% { transform: translate3d(-5%, -2%, 0) scale(1.08); opacity: .42; }
  55% { opacity: .72; }
  100% { transform: translate3d(5%, 3%, 0) scale(1.14); opacity: .56; }
}

@keyframes gridFlow {
  to { background-position: 52px 52px, 52px 52px; }
}

@keyframes gridPulse {
  from { opacity: .5; }
  to { opacity: .88; }
}

@keyframes scanDrift {
  from { transform: translate3d(-6%, -3%, 0); }
  to { transform: translate3d(6%, 3%, 0); }
}

@keyframes horizonScan {
  0%, 100% { transform: translateY(0) scaleX(.7); opacity: 0; }
  22% { opacity: .62; }
  58% { transform: translateY(54vh) scaleX(1); opacity: .28; }
  82% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: radarOrbit 14s linear infinite !important; }
  body::after { animation: lightSweep 24s ease-in-out infinite alternate !important; }
  .backdrop-grid { animation: gridFlow 34s linear infinite, gridPulse 12s ease-in-out infinite alternate !important; }
  .backdrop-grid::before { animation: scanDrift 26s linear infinite !important; }
  .backdrop-grid::after { animation: horizonScan 16s ease-in-out infinite !important; }
  .hero-logo { animation: none !important; }
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button, input, textarea, select { touch-action: manipulation; }

button, input, textarea, select {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(5, 14, 20, .84);
}

input, textarea, select {
  width: 100%;
  border-radius: 10px;
  padding: 13px 14px;
  outline: none;
}

textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 189, 242, .16); }

h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.6rem, 5vw, 5.4rem); line-height: .98; letter-spacing: 0; }
h2 { font-size: clamp(2rem, 4vw, 4rem); letter-spacing: 0; }
h3 { font-size: 1.2rem; }

.hidden { display: none !important; }

.announcement-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 45;
  height: var(--announcement-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 7px clamp(16px, 4vw, 54px);
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 226, 255, .4);
  color: white;
  background: linear-gradient(90deg, #03121a, #073044 45%, #03121a);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .45);
}
.announcement-bar > strong {
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: #001019;
  background: var(--cyan-2);
  font-size: .7rem;
  line-height: 1;
  box-shadow: 0 0 18px rgba(0, 226, 255, .3);
}
.announcement-track { min-width: 0; display: flex; overflow: hidden; white-space: nowrap; }
.announcement-track span {
  min-width: 100%;
  display: inline-block;
  padding-right: 72px;
  font-size: .88rem;
  font-weight: 850;
  animation: announcement-scroll 18s linear infinite;
}
@keyframes announcement-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
body.announcement-visible { --announcement-offset: var(--announcement-height); }

.topbar {
  position: fixed;
  top: var(--announcement-offset);
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 54px);
  background: linear-gradient(180deg, rgba(0, 4, 8, .96), rgba(0, 4, 8, .68), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: 1000;
  letter-spacing: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 28px rgba(0, 189, 242, .28);
}

.brand span { font-size: 1.25rem; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.primary, .outline, .ghost, .cart-button, .discord-btn, .icon, .profile-button {
  min-height: 46px;
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 900;
}

.primary {
  border-color: rgba(0, 226, 255, .75);
  color: #001019;
  background: linear-gradient(180deg, var(--cyan-2), var(--cyan));
  box-shadow: 0 12px 36px rgba(0, 189, 242, .25);
}

.primary:hover { filter: brightness(1.08); transform: translateY(-1px); }

.outline, .ghost, .discord-btn {
  background: rgba(5, 16, 23, .58);
  border-color: var(--line);
}

.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.ghost:hover, .outline:hover, .discord-btn:hover { border-color: var(--cyan); color: white; background: rgba(0, 189, 242, .1); }
.small { min-height: 40px; padding: 0 14px; }
.full { width: 100%; }

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 189, 242, .12);
}
.cart-button strong {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #001019;
  background: var(--cyan);
}

.profile-button {
  max-width: 190px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 12px 4px 5px;
  border-color: rgba(0, 226, 255, .7);
  background: linear-gradient(180deg, rgba(0, 189, 242, .2), rgba(0, 189, 242, .08));
}
.profile-button img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 2px solid rgba(0, 226, 255, .7);
  border-radius: 50%;
  object-fit: cover;
  background: #07131a;
}
.profile-button span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.profile-button.connected:hover {
  border-color: var(--cyan-2);
  background: rgba(0, 189, 242, .18);
}

main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}
.view { display: none; padding: calc(110px + var(--announcement-offset)) clamp(16px, 4vw, 54px) 70px; }
.view.active { display: block; }
.view.narrow { max-width: 980px; margin: 0 auto; }

.hero {
  min-height: min(42vh, 420px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px 0 34px;
}

.hero-inner {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(110px, 170px) minmax(0, 620px);
  justify-content: center;
  align-items: center;
  gap: clamp(26px, 5vw, 64px);
  text-align: left;
}

.hero-logo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid var(--cyan);
  border-radius: 12px;
  box-shadow: 0 0 42px rgba(0, 189, 242, .28);
  animation: floatIn 3.8s ease-in-out infinite alternate;
}

.hero-copy-block { display: grid; gap: 14px; }

@keyframes floatIn {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .12em;
}

.hero-copy {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
  grid-column: 2;
}

.catalog-section { scroll-margin-top: 86px; padding: 12px 0 80px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}
.section-copy { margin-top: 8px; color: var(--muted); line-height: 1.55; }
.search-box { width: min(360px, 100%); }

.catalog-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.category-sidebar {
  position: sticky;
  top: calc(94px + var(--announcement-offset));
  max-height: calc(100vh - 116px - var(--announcement-offset));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 0 0, rgba(0, 189, 242, .16), transparent 38%),
    linear-gradient(180deg, rgba(8, 25, 34, .92), rgba(2, 10, 15, .92));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.category-sidebar-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 4px 14px;
  border-bottom: 1px solid var(--line);
}
.category-sidebar-head > div { display: grid; gap: 2px; }
.category-sidebar-head small { color: var(--muted); }
.category-sidebar-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  color: #001019;
  background: linear-gradient(145deg, var(--cyan-2), var(--cyan));
  font-size: .76rem;
  font-weight: 1000;
  box-shadow: 0 8px 24px rgba(0, 189, 242, .24);
}
.category-nav {
  display: grid;
  align-content: start;
  gap: 6px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.category-link {
  min-width: 0;
  min-height: 50px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--muted);
  text-align: left;
  background: rgba(255, 255, 255, .025);
}
.category-link > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--cyan-2);
  background: rgba(0, 189, 242, .1);
}
.category-link strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .84rem;
}
.category-link small {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .05);
}
.category-link:hover,
.category-link.active {
  color: white;
  border-color: rgba(0, 226, 255, .4);
  background: linear-gradient(90deg, rgba(0, 189, 242, .17), rgba(0, 189, 242, .04));
}
.category-link.active { box-shadow: inset 3px 0 0 var(--cyan); }
.category-support {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border-color: rgba(88, 101, 242, .45);
  background: rgba(88, 101, 242, .13);
  font-weight: 900;
}
.category-sections { min-width: 0; display: grid; gap: 34px; }
.category-block {
  scroll-margin-top: 98px;
  display: grid;
  gap: 16px;
}
.category-heading {
  min-height: 76px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(0, 189, 242, .12), transparent 42%),
    rgba(3, 12, 18, .72);
}
.category-heading-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: #001019;
  background: linear-gradient(145deg, var(--cyan-2), var(--cyan));
  font-size: 1.25rem;
  font-weight: 1000;
}
.category-heading > div:nth-child(2) { display: grid; gap: 3px; }
.category-heading h3 { font-size: 1.5rem; }
.category-heading p:last-child { color: var(--muted); font-size: .86rem; }
.category-heading > span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0, 0, 0, .18);
  font-size: .75rem;
  font-weight: 900;
}
.empty-category {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 150px;
  padding: 24px;
  border: 1px dashed rgba(0, 226, 255, .28);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
  background: rgba(0, 8, 13, .38);
}
.empty-category strong { color: white; font-size: 1.1rem; }
.search-empty { min-height: 320px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card, .product-showcase, .product-information, .product-recommendations, .modal-card, .drawer, .list-card, .stat, .admin-grid section, .admin-products {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 28, 37, .82), rgba(4, 12, 18, .82));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.product-card {
  overflow: hidden;
  border-radius: 8px;
  transition: transform .18s ease, border-color .18s ease;
}
.product-card:hover { transform: translateY(-3px); border-color: rgba(0, 226, 255, .62); }

.media-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}
.media-button video, .media-button img, .media-button iframe,
.detail-media video, .detail-media img, .detail-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #02070c;
}
.media-button .catalog-cover {
  object-fit: cover;
  padding: 0;
  background: #020b11;
}
.media-button .catalog-video {
  object-fit: cover;
}
.youtube-preview {
  border: 0;
  pointer-events: none;
}
.hover-preview {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.preview-poster { transition: filter .2s ease, transform .2s ease; }
.media-button:hover .preview-poster {
  filter: brightness(.72);
  transform: scale(1.02);
}
.video-preview-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(0, 226, 255, .55);
  border-radius: 999px;
  color: white;
  background: rgba(0, 8, 13, .78);
  backdrop-filter: blur(10px);
  font-size: .7rem;
  font-weight: 1000;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.video-preview-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-2);
  box-shadow: 0 0 12px var(--cyan);
}
.video-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  color: var(--cyan);
  font-size: 2.2rem;
  font-weight: 1000;
  background:
    linear-gradient(135deg, rgba(0, 189, 242, .22), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(0, 226, 255, .2), transparent 45%),
    #03070b;
}
.video-fallback.large { min-height: 460px; font-size: 4rem; }

.product-body { display: grid; gap: 14px; padding: 18px; }
.category-block .product-body { min-height: 195px; align-content: space-between; padding: 16px; }
.category-block .product-body h3 { font-size: 1.08rem; }
.category-block .product-body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: .86rem;
}
.product-body p, .detail-copy p, .muted { color: var(--muted); line-height: 1.65; }
.product-actions {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
}
.product-actions strong, .price { color: var(--cyan-2); font-size: 1.25rem; }
.sale-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sale-price > span { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.sale-price > strong { color: var(--cyan-2); font-size: 2.25rem; }
.sale-price > em {
  padding: 5px 8px;
  border-radius: 999px;
  color: #001019;
  background: #43e6a8;
  font-size: .72rem;
  font-style: normal;
  font-weight: 1000;
}
.sale-price.compact { display: grid; grid-template-columns: auto auto; gap: 1px 7px; justify-content: start; }
.sale-price.compact > span { grid-column: 1; font-size: .72rem; }
.sale-price.compact > strong { grid-column: 1; font-size: 1.25rem; }
.sale-price.compact > em { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

.back-btn { margin-bottom: 20px; }
.product-detail {
  width: min(1680px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.product-showcase {
  grid-column: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(370px, .7fr);
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
}
.detail-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #02070c;
}
.detail-media video,
.detail-media img,
.detail-media iframe {
  display: block;
  object-fit: contain;
}
.youtube-player {
  width: 100%;
  height: 100%;
  border: 0;
  background: #02070c;
}
.media-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 226, 255, .38);
  border-radius: 999px;
  color: white;
  background: rgba(0, 8, 13, .78);
  backdrop-filter: blur(12px);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.media-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-2);
  box-shadow: 0 0 12px var(--cyan);
}
.purchase-panel {
  display: grid;
  align-content: center;
  gap: 24px;
  min-width: 0;
  padding: clamp(28px, 2.4vw, 44px);
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0, rgba(0, 189, 242, .14), transparent 38%),
    rgba(3, 13, 19, .9);
}
.product-heading { display: grid; gap: 11px; }
.product-heading h2 {
  overflow-wrap: anywhere;
  font-size: clamp(2.6rem, 3.8vw, 4.35rem);
  line-height: .95;
}
.product-lead { color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.price-block {
  display: grid;
  gap: 5px;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}
.price-block > span,
.price-block small { color: var(--muted); }
.price-block .price { font-size: 2.25rem; }
.purchase-actions { display: grid; gap: 10px; }
.purchase-actions button { min-height: 54px; }
.purchase-notes { display: grid; gap: 10px; color: var(--muted); font-size: .88rem; }
.purchase-notes li { display: flex; gap: 9px; align-items: center; }
.purchase-notes span { color: var(--cyan-2); font-weight: 1000; }
.product-information {
  grid-column: 1;
  display: grid;
  gap: 26px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 18px;
}
.product-description {
  display: grid;
  gap: 10px;
  max-width: 1120px;
}
.product-description h3 {
  max-width: none;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  white-space: nowrap;
}
.product-description > p:last-child {
  max-width: 980px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}
.feature-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.feature-card,
.trust-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 8, 13, .45);
}
.feature-card { display: grid; gap: 10px; padding: 22px; }
.feature-number { color: var(--cyan); font-size: .76rem; font-weight: 1000; letter-spacing: .12em; }
.feature-card h4 { font-size: 1.08rem; }
.feature-card p,
.trust-grid p { color: var(--muted); line-height: 1.55; font-size: .88rem; }
.trust-grid article { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.trust-grid article div { display: grid; gap: 5px; }
.trust-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 11px;
  color: #001019;
  background: var(--cyan);
  box-shadow: 0 8px 20px rgba(0, 189, 242, .2);
}
.product-recommendations {
  position: static;
  grid-column: 1;
  grid-row: auto;
  display: grid;
  gap: 22px;
  max-height: none;
  padding: clamp(24px, 3vw, 38px);
  overflow: visible;
  border-radius: 18px;
}
.recommendations-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.recommendations-head > div { display: grid; gap: 7px; }
.recommendations-head h3 { font-size: 1.55rem; line-height: 1.05; }
.recommendations-head > div > p:last-child {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.5;
}
.recommendations-head > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: #001019;
  background: var(--cyan);
  font-size: .78rem;
  font-weight: 1000;
}
.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.recommendation-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 7, 11, .62);
  transition: transform .18s ease, border-color .18s ease;
}
.recommendation-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 226, 255, .62);
}
.recommendation-media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #02070c;
}
.recommendation-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}
.recommendation-media span {
  display: none;
}
.recommendation-card:hover .recommendation-media img {
  transform: scale(1.035);
  filter: brightness(.78);
}
.recommendation-card:hover .recommendation-media span {
  opacity: 1;
  transform: translateY(0);
}
.recommendation-body {
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 15px;
}
.recommendation-copy { min-width: 0; display: grid; gap: 5px; }
.recommendation-body small {
  color: var(--cyan);
  font-size: .62rem;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.recommendation-body h4 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 1rem;
}
.recommendation-body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  line-height: 1.4;
  font-size: .76rem;
}
.recommendation-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.recommendation-footer > strong { color: var(--cyan-2); font-size: .95rem; }
.recommendation-footer > div {
  display: flex;
  gap: 5px;
}
.recommendation-footer button { min-height: 34px; padding-inline: 11px; border-radius: 9px; font-size: .74rem; }
.recommendation-footer .primary { min-width: 34px; padding: 0; }
.recommendation-catalog-btn { min-height: 42px; border-radius: 11px; font-size: .8rem; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  width: min(430px, 94vw);
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) 20px;
  display: grid;
  align-content: start;
  gap: 16px;
  transform: translateX(104%);
  transition: transform .22s ease;
  border-radius: 0;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.icon {
  width: 42px;
  min-width: 42px;
  padding: 0;
  border-radius: 12px;
}
.shade {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, .62);
}

.cart-items { display: grid; gap: 10px; }
.cart-item, .row, .list-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, .2);
}
.cart-item { justify-content: flex-start; }
.cart-item-image {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border: 1px solid rgba(0, 226, 255, .34);
  border-radius: 7px;
  object-fit: cover;
  background: #020b11;
}
.cart-item-copy { min-width: 0; display: grid; gap: 4px; }
.cart-item .icon { margin-left: auto; }
.cart-item span, .row span, .row small, .list-card small { color: var(--muted); }
.cart-item strong, .row strong, .list-card strong { overflow-wrap: anywhere; }
.coupon-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.coupon-status {
  min-height: 20px;
  color: var(--muted);
  font-size: .86rem;
}
.coupon-status.success { color: #43e6a8; }
.coupon-status.error { color: #ff7d86; }
.totals { display: grid; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.totals span { display: flex; justify-content: space-between; color: var(--muted); }
.totals .total { color: white; font-size: 1.25rem; }
.pix-box { display: grid; gap: 10px; }
.pix-box img { width: 210px; max-width: 100%; justify-self: center; background: white; padding: 10px; border-radius: 8px; }
.pix-box textarea { min-height: 120px; font-size: .82rem; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding:
    max(18px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(0, 0, 0, .72);
}
.modal-card {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  border-radius: 8px;
  padding: 22px;
}
.modal-close { position: absolute; right: 16px; top: 16px; }
.discord-login-intro {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 28px 12px 8px;
  text-align: center;
}
.discord-login-intro > img {
  width: 54px;
  height: 54px;
  padding: 12px;
  border: 1px solid rgba(124, 135, 255, .8);
  border-radius: 18px;
  background: linear-gradient(145deg, #5865f2, #3c45b8);
  box-shadow: 0 14px 38px rgba(88, 101, 242, .32);
}
.discord-login-intro h2 { margin: 0; font-size: 2rem; }
.discord-login-intro > p:last-child { color: var(--muted); line-height: 1.55; }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 42px 0 18px;
}
.auth-tab {
  min-height: 42px;
  border-radius: 12px;
  font-weight: 900;
}
.auth-tab.active { color: #001019; background: var(--cyan); }
.auth-form { display: grid; gap: 12px; }
.auth-form h2 { font-size: 2rem; }
.social-logins { display: grid; gap: 12px; margin-top: 16px; }
.social-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .78rem;
}
.social-divider::before,
.social-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}
#googleButton {
  width: 100%;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0, 226, 255, .72);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(0, 189, 242, .16), rgba(0, 189, 242, .06));
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
#googleButton:hover {
  border-color: var(--cyan-2);
  background: rgba(0, 189, 242, .2);
  transform: translateY(-1px);
}
#googleButton > div,
#googleButton iframe {
  width: min(360px, 100%) !important;
  max-width: 100% !important;
  height: 44px !important;
  max-height: 44px !important;
}
#googleButton .nsm7Bb-HzV7m-LgbsSe,
#googleButton .nsm7Bb-HzV7m-LgbsSe-bN97Pc-sM5MNb {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: transparent !important;
  box-shadow: none !important;
}
#googleButton .nsm7Bb-HzV7m-LgbsSe-bN97Pc-sM5MNb {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 0 18px !important;
}
#googleButton .nsm7Bb-HzV7m-LgbsSe-Bz112c-haAclf {
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
}
#googleButton .nsm7Bb-HzV7m-LgbsSe-Bz112c,
#googleButton .LgbsSe-Bz112c,
#googleButton svg {
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
}
#googleButton .nsm7Bb-HzV7m-LgbsSe-BPrWId {
  overflow: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#googleButton .L6cTce {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.discord-btn {
  width: 100%;
  min-height: 44px;
  border-radius: 22px;
}
.discord-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.discord-action img {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.discord-connect {
  border-color: #5865f2;
  background: linear-gradient(180deg, rgba(88, 101, 242, .3), rgba(88, 101, 242, .16));
  box-shadow: inset 0 0 0 1px rgba(88, 101, 242, .08);
}
.discord-community {
  color: white;
  border-color: rgba(0, 226, 255, .82);
  background: linear-gradient(135deg, rgba(0, 189, 242, .3), rgba(0, 103, 154, .18));
  box-shadow: inset 0 0 0 1px rgba(0, 226, 255, .08), 0 10px 28px rgba(0, 189, 242, .12);
}
.discord-connect:hover {
  border-color: #7c87ff;
  background: rgba(88, 101, 242, .38);
}
.discord-community:hover {
  border-color: var(--cyan-2);
  background: rgba(0, 189, 242, .3);
  transform: translateY(-1px);
}
.community-btn { color: white; }
.social-status {
  min-height: 18px;
  color: var(--muted);
  text-align: center;
  font-size: .78rem;
  line-height: 1.4;
}
.social-status.warning { color: #ffc76b; }

.stack, .table-list { display: grid; gap: 10px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.stat {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 8px;
}
.stat span { color: var(--muted); }
.stat strong { color: var(--cyan-2); font-size: 1.8rem; }
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.admin-grid section, .admin-products {
  border-radius: 8px;
  padding: 18px;
}
.admin-grid h3, .admin-products h3 { margin: 0 0 14px; }
.admin-section-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  margin-bottom: 16px;
}
.admin-section-head h3 { margin-bottom: 5px; }
.ios-switch {
  min-width: 180px;
  display: grid;
  grid-template-columns: 58px auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.ios-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.ios-switch-track {
  position: relative;
  width: 58px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: #29343a;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .35);
  transition: background .2s ease, border-color .2s ease;
}
.ios-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 3px 9px rgba(0, 0, 0, .42);
  transition: transform .2s ease;
}
.ios-switch input:checked + .ios-switch-track {
  border-color: rgba(0, 226, 255, .7);
  background: linear-gradient(180deg, var(--cyan-2), var(--cyan));
}
.ios-switch input:checked + .ios-switch-track::after { transform: translateX(26px); }
.ios-switch input:focus-visible + .ios-switch-track { box-shadow: 0 0 0 3px rgba(0, 189, 242, .2); }
.ios-switch input:disabled + .ios-switch-track { opacity: .55; }
.ios-switch strong { color: var(--text); font-size: .85rem; }
.announcement-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 14px;
}
.product-form {
  display: grid;
  grid-template-columns: 1fr 160px 160px;
  gap: 10px;
}
.product-form textarea, .product-form button { grid-column: 1 / -1; }
.category-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 130px 110px auto;
  gap: 10px;
  margin-bottom: 16px;
}
.category-form .wide { grid-column: 1 / -2; }
.admin-category-list { display: grid; gap: 10px; }
.admin-category-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 7, 11, .45);
}
.admin-category-main {
  display: grid;
  grid-template-columns: 90px minmax(180px, .8fr) 90px minmax(240px, 1.4fr);
  gap: 10px;
}
.admin-category-main label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}
.admin-category-controls {
  min-width: 180px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.admin-product-list { display: grid; gap: 14px; }
.admin-product-editor {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 7, 11, .45);
}
.admin-product-editor-head,
.admin-product-editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.admin-product-editor-head > div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.admin-product-editor-head small { color: var(--muted); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff7d86; }
.status-dot.active { background: #43e6a8; box-shadow: 0 0 12px rgba(67, 230, 168, .5); }
.toggle-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .82rem; }
.toggle-label input { width: auto; accent-color: var(--cyan); }
.admin-product-editor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.admin-product-editor-grid label { display: grid; gap: 6px; color: var(--muted); font-size: .78rem; font-weight: 800; }
.admin-product-editor-grid .wide { grid-column: 1 / -1; }
.admin-product-editor-grid textarea { min-height: 95px; }
.admin-product-editor-footer > div { display: flex; align-items: center; gap: 9px; }
.sale-admin-badge {
  padding: 5px 8px;
  border-radius: 999px;
  color: #001019;
  background: #43e6a8;
  font-size: .7rem;
  font-weight: 1000;
}
.coupon-admin-form {
  display: grid;
  grid-template-columns: 1fr minmax(220px, .8fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}
.range-label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
}
.range-label span {
  display: flex;
  justify-content: space-between;
}
.range-label input {
  padding: 0;
  accent-color: var(--cyan);
}
.coupon-row-admin {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 100;
  transform: translateX(-50%);
  max-width: min(520px, calc(100vw - 28px));
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #001019;
  background: var(--cyan);
  font-weight: 900;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .4);
}

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

@media (max-width: 1180px) {
  .recommendations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .topbar { align-items: flex-start; }
  .nav-actions { gap: 6px; }
  .ghost { display: none; }
  .catalog-layout { grid-template-columns: 1fr; }
  .category-sidebar {
    position: sticky;
    top: calc(78px + var(--announcement-offset));
    z-index: 8;
    max-height: none;
    display: block;
    padding: 10px;
    overflow-x: auto;
  }
  .category-sidebar-head, .category-support { display: none; }
  .category-nav { display: flex; gap: 8px; overflow: visible; }
  .category-link {
    min-width: max-content;
    grid-template-columns: 28px auto auto;
  }
  .category-link.active { box-shadow: inset 0 -3px 0 var(--cyan); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-showcase, .admin-grid, .stats-grid { grid-template-columns: 1fr; }
  .product-description h3 { white-space: normal; }
  .purchase-panel { border-top: 1px solid var(--line); border-left: 0; }
  .feature-grid, .trust-grid { grid-template-columns: 1fr; }
  .product-actions { grid-template-columns: 1fr; }
  .product-form, .category-form, .coupon-admin-form, .coupon-row-admin, .admin-product-editor-grid { grid-template-columns: 1fr; }
  .category-form .wide { grid-column: auto; }
  .admin-category-editor { grid-template-columns: 1fr; }
  .admin-category-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-category-main .wide { grid-column: 1 / -1; }
  .admin-category-controls { padding: 12px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .admin-product-editor-grid .wide { grid-column: auto; }
}

@media (max-width: 620px) {
  .view {
    padding-top: calc(92px + var(--announcement-offset));
    padding-inline: max(14px, env(safe-area-inset-left));
  }
  .topbar {
    padding:
      max(10px, env(safe-area-inset-top))
      max(14px, env(safe-area-inset-right))
      10px
      max(14px, env(safe-area-inset-left));
    align-items: center;
  }
  .brand img { width: 44px; height: 44px; }
  .brand span { display: none; }
  .nav-actions { flex-wrap: nowrap; }
  .nav-actions .small, .cart-button { min-height: 42px; }
  .hero { min-height: auto; padding: 28px 0 38px; }
  .hero-inner { grid-template-columns: 92px minmax(0, 1fr); gap: 18px; }
  .hero-copy-block { gap: 9px; }
  .hero-copy-block h1 { font-size: 2.55rem; }
  .hero-copy { font-size: .96rem; line-height: 1.5; }
  .hero-actions { grid-column: 1 / -1; justify-content: center; }
  .hero-actions > * { min-height: 44px; }
  .product-grid { grid-template-columns: 1fr; }
  .category-heading {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 12px;
  }
  .category-heading-icon { width: 44px; height: 44px; }
  .category-heading > span { display: none; }
  .category-heading p:last-child { display: none; }
  .category-block .product-body { min-height: 0; }
  .section-head { align-items: stretch; flex-direction: column; }
  .cart-button span { display: none; }
  .profile-button { padding-right: 5px; }
  .profile-button span { display: none; }
  .primary, .outline, .ghost, .cart-button, .discord-btn { padding-inline: 12px; }
  .product-detail { padding: 10px; }
  .product-detail { padding: 0; }
  .product-showcase, .product-information { border-radius: 12px; }
  .detail-media { aspect-ratio: 16 / 10; }
  .media-badge { top: 10px; left: 10px; font-size: .65rem; }
  .purchase-panel { padding: 24px 18px; gap: 18px; }
  .product-heading h2 { font-size: 2.8rem; }
  .product-information { padding: 22px 16px; }
  .product-recommendations { padding: 22px 16px; }
  .recommendations-head { align-items: start; flex-direction: column; }
  .recommendations-grid { grid-template-columns: 1fr; }
  .recommendation-card { grid-template-columns: 110px minmax(0, 1fr); }
  .product-description { gap: 14px; }
  .detail-media { min-height: 0; aspect-ratio: 16 / 9; }
  .detail-copy { padding: 12px 6px; }
  .detail-copy h2 { font-size: 2.3rem; }
  .modal { place-items: start center; }
  .modal-card { padding: 18px; }
  .auth-tabs { margin-top: 40px; }
  #googleButton > div,
  #googleButton iframe { width: 100% !important; }
  .drawer { width: 100vw; }
  .coupon-row { grid-template-columns: minmax(0, 1fr) auto; }
  .row, .list-card { align-items: flex-start; flex-wrap: wrap; }
  .announcement-bar { padding-inline: 10px; gap: 8px; }
  .announcement-bar > strong { font-size: .62rem; }
  .announcement-track span { font-size: .78rem; padding-right: 42px; }
  .announcement-form { grid-template-columns: 1fr; }
  .admin-section-head,
  .admin-product-editor-head,
  .admin-product-editor-footer { align-items: stretch; flex-direction: column; }
}

@media (max-width: 390px) {
  .hero-inner {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
  }
  .hero-copy-block h1 { font-size: 2.1rem; }
  .hero-copy { font-size: .88rem; }
  .hero-actions {
    display: grid;
    width: 100%;
  }
  .hero-actions > * { width: 100%; }
  .section-head h2 { font-size: 2rem; }
  .product-body { padding: 14px; }
  .modal { padding-inline: 10px; }
  .modal-card { padding: 16px; }
  .discord-action { gap: 8px; font-size: .88rem; }
  .discord-action img { width: 18px; height: 18px; }
  .coupon-row { grid-template-columns: 1fr; }
  .coupon-row button { width: 100%; }
}

@media (max-height: 620px) and (orientation: landscape) {
  .modal { place-items: start center; }
  .modal-card { max-height: calc(100dvh - 20px); }
  .hero { padding-top: 12px; }
}
