:root {
  color-scheme: light;
  --primary-bg: #ffffff;
  --accent: #3a2efe;
  --accent-dark: #120bb8;
  --text: #111116;
  --muted: #646975;
  --border: #e7e8ef;
  --soft-bg: #f8f8fb;
  --panel: #ffffff;
  --danger: #b42318;
  --shadow: 0 18px 42px rgba(17, 17, 22, 0.08);
  --blue-glow: 0 12px 28px rgba(58, 46, 254, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--primary-bg);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

section {
  scroll-margin-top: 118px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px clamp(16px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.topbar::after {
  content: "";
  position: absolute;
  left: clamp(16px, 4vw, 44px);
  right: clamp(16px, 4vw, 44px);
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, #111116 0 24%, var(--accent) 24% 34%, transparent 34%);
}

.brand,
.header-actions,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
}

.logo-slot {
  display: grid;
  place-items: center;
  width: 190px;
  height: 50px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-weight: 700;
}

.logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
}

.nav {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.nav a {
  padding: 8px 9px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav a:hover {
  background: rgba(58, 46, 254, 0.08);
  color: var(--accent);
}

.nav a[aria-current="page"] {
  background: rgba(58, 46, 254, 0.1);
  color: var(--accent);
}

.header-actions {
  gap: 12px;
}

.role-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.role-switch input {
  width: auto;
  accent-color: var(--accent);
}

.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  color: var(--accent);
  cursor: pointer;
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.icon-button span {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  min-height: 22px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: min(530px, calc(100vh - 150px));
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(58, 46, 254, 0.045), transparent 42%),
    linear-gradient(90deg, #fff 0%, #fff 66%, rgba(58, 46, 254, 0.06) 66%, rgba(58, 46, 254, 0.06) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.97) 52%, rgba(255, 255, 255, 0.72) 100%),
    repeating-linear-gradient(135deg, rgba(17, 17, 22, 0.035) 0 1px, transparent 1px 18px);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 92vw);
  padding: 54px clamp(18px, 6vw, 78px);
}

.hero-logo-glow {
  position: relative;
  width: min(370px, 80vw);
  margin-bottom: 22px;
  isolation: isolate;
  overflow: visible;
  --logo-glow: #8f8aff;
  --logo-glow-soft: rgba(143, 138, 255, 0.5);
}

.hero-logo-glow::before,
.hero-logo-glow::after {
  content: "";
  position: absolute;
  inset: 6% -16% 4% -12%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 26% 50%, rgba(182, 180, 255, 0.32), transparent 58%),
    radial-gradient(ellipse at 58% 52%, rgba(154, 150, 255, 0.28), transparent 60%),
    radial-gradient(ellipse at 88% 50%, rgba(203, 201, 255, 0.24), transparent 50%);
  filter: blur(18px);
  opacity: 0.46;
  transform: scaleX(1.03) scaleY(0.42);
  animation: logo-halo-switch 1250ms steps(1, end) both;
}

.hero-logo-glow::after {
  inset: 23% -6% 22% -4%;
  background:
    linear-gradient(90deg, transparent 0%, rgba(217, 216, 255, 0.28) 16%, rgba(178, 175, 255, 0.34) 62%, transparent 100%);
  filter: blur(8px);
  opacity: 0.32;
  transform: scaleX(1.04) scaleY(0.28);
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 5px rgba(178, 175, 255, 0.18))
    drop-shadow(0 10px 18px rgba(17, 17, 22, 0.08));
  animation: logo-image-switch 1250ms steps(1, end) both;
}

@keyframes logo-image-switch {
  0%,
  18%,
  42% {
    opacity: 1;
    filter:
      drop-shadow(0 0 5px rgba(178, 175, 255, 0.18))
      drop-shadow(0 10px 18px rgba(17, 17, 22, 0.08));
  }
  10%,
  30% {
    opacity: 0.36;
    filter:
      drop-shadow(0 0 2px rgba(178, 175, 255, 0.08))
      drop-shadow(0 10px 18px rgba(17, 17, 22, 0.06));
  }
  58%,
  100% {
    opacity: 1;
    filter:
      drop-shadow(0 0 5px rgba(178, 175, 255, 0.18))
      drop-shadow(0 10px 18px rgba(17, 17, 22, 0.08));
  }
}

@keyframes logo-halo-switch {
  0%,
  18%,
  42% {
    opacity: 0.03;
    transform: scaleX(0.98) scaleY(0.34);
  }
  10%,
  30% {
    opacity: 0.56;
    transform: scaleX(1.05) scaleY(0.48);
  }
  58%,
  100% {
    opacity: 0.46;
    transform: scaleX(1.03) scaleY(0.42);
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1 {
  position: relative;
  max-width: 18ch;
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0.005em;
}

.ink-title {
  max-width: 12ch;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1;
}

.ink-word {
  position: relative;
  display: inline-block;
}

.ink-word-black {
  color: var(--accent);
}

.ink-word-blue {
  color: var(--text);
}

.ink-word::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: transparent;
  background:
    radial-gradient(circle at var(--ink-x, 50%) var(--ink-y, 50%), var(--ink-color) 0 14%, rgba(0, 0, 0, 0) 34%),
    radial-gradient(circle at calc(var(--ink-x, 50%) + 12%) calc(var(--ink-y, 50%) - 16%), var(--ink-color-soft) 0 9%, rgba(0, 0, 0, 0) 25%),
    radial-gradient(circle at calc(var(--ink-x, 50%) - 14%) calc(var(--ink-y, 50%) + 18%), var(--ink-color-soft) 0 8%, rgba(0, 0, 0, 0) 24%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: saturate(1.15);
  opacity: 0;
  transition: opacity 170ms ease;
}

.ink-word:hover::after {
  opacity: 1;
}

.ink-word-black {
  --ink-color: #000000;
  --ink-color-soft: rgba(0, 0, 0, 0.78);
}

.ink-word-blue {
  --ink-color: #3a2efe;
  --ink-color-soft: rgba(58, 46, 254, 0.78);
}

h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: 0.005em;
}

h3 {
  margin: 0;
  font-size: 18px;
}

.hero-content p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.primary-action,
.secondary-action,
.purchase-row button,
.account-form button,
.admin-form button,
#checkoutButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 24px;
  padding: 11px 16px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--blue-glow);
}

.primary-action:hover,
.purchase-row button:hover,
.account-form button:hover,
.admin-form button:hover,
#checkoutButton:hover:not(:disabled) {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.status-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}

.status-band > div {
  padding: 22px clamp(16px, 4vw, 42px);
  background: #fff;
  border-top: 3px solid transparent;
}

.status-band > div:nth-child(2),
.status-band > div:last-child {
  border-top-color: var(--accent);
}

.status-number,
.status-label {
  display: block;
}

.status-number {
  color: var(--text);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
}

.status-label {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.trust-strip .status-number {
  color: var(--text);
  font-size: clamp(17px, 2vw, 24px);
}

.trust-strip > div:nth-child(2) .status-number,
.trust-strip > div:last-child .status-number {
  color: var(--accent);
}

.trust-strip .status-label {
  max-width: 260px;
  font-size: 13px;
  line-height: 1.45;
}

.drop-countdown {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(16px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(58, 46, 254, 0.08), transparent 34%),
    #fff;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.drop-countdown > div {
  max-width: 1380px;
}

.drop-countdown h2 {
  margin: 4px 0 8px;
  font-size: clamp(24px, 3vw, 38px);
}

.drop-countdown p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.countdown-clock {
  display: grid;
  grid-template-columns: repeat(4, minmax(78px, 1fr));
  gap: 10px;
  min-width: min(100%, 430px);
}

.countdown-clock span {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 12px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.countdown-clock strong {
  color: var(--accent);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.shop-shell,
.how-band,
.info-band,
.trust-band,
.faq-band,
.contact-band,
.account-band,
.admin-panel {
  padding: 58px clamp(16px, 5vw, 64px);
}

.page-main {
  min-height: calc(100vh - 150px);
}

.page-section {
  min-height: calc(100vh - 220px);
  align-items: center;
}

.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: 1380px;
  margin: 0 auto 24px;
}

.toolbar p,
.how-band p,
.info-band p,
.trust-band p,
.faq-band p,
.contact-band p,
.account-band p,
.admin-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.filter.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: var(--blue-glow);
}

.shop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 430px);
  gap: 18px;
  max-width: 1380px;
  margin: 0 auto;
  align-items: start;
}

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

.product-card,
.product-panel,
.account-form,
.admin-form,
.settings-box,
.faq-grid article,
.contact-methods a,
.policy-grid article,
.steps li {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(17, 17, 22, 0.045);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card:hover {
  border-color: rgba(58, 46, 254, 0.42);
  box-shadow: 0 18px 40px rgba(17, 17, 22, 0.08);
  transform: translateY(-2px);
}

.product-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 46, 254, 0.14), 0 18px 40px rgba(17, 17, 22, 0.08);
}

.product-media,
.detail-media {
  position: relative;
  min-height: 170px;
  background-color: #fbfbfd;
  background-image: var(--image);
  background-size: var(--image-size, min(72%, 320px) auto);
  background-repeat: no-repeat;
  background-position: 78% 52%;
}

.product-media::after,
.detail-media::after {
  display: none;
}

.product-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(17, 17, 22, 0.08);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-body h3 {
  min-height: 66px;
  line-height: 1.22;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-description {
  height: 168px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}

.retail-reference {
  display: block;
  margin-top: 1em;
}

.product-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
}

.product-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.product-meta strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 18px;
}

.product-meta span:nth-child(2) strong,
.product-meta span:nth-child(3) strong {
  color: var(--accent);
}

.card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 7px;
  margin-top: 12px;
}

.add-product,
.select-product,
.save-product,
.watch-toggle {
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.add-product {
  grid-column: 1 / -1;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: var(--blue-glow);
}

.select-product {
  color: var(--text);
}

.add-product:hover:not(:disabled) {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.add-product:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.save-product {
  display: grid;
  place-items: center;
}

.save-product svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.save-product.saved,
.watch-toggle.saved {
  background: rgba(58, 46, 254, 0.08);
  border-color: rgba(58, 46, 254, 0.28);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.product-panel {
  position: sticky;
  top: 88px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-media {
  min-height: 230px;
}

.photo-thumbs {
  display: flex;
  gap: 8px;
  margin: 12px 18px 0;
}

.photo-thumb {
  width: 58px;
  height: 48px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.photo-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 46, 254, 0.14);
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-copy,
.purchase-form,
.watch-toggle,
.detail-info,
.purchase-box {
  margin: 18px;
}

.tag {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 7px;
  background: rgba(58, 46, 254, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.detail-copy h2 {
  margin-top: 10px;
  font-size: 30px;
}

.detail-copy p,
.detail-info p,
.purchase-box p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 0;
  border-block: 1px solid var(--border);
}

.detail-stats div {
  padding: 14px 16px;
  border-right: 1px solid var(--border);
}

.detail-stats div:last-child {
  border-right: 0;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 700;
}

.purchase-form label,
.account-form label,
.admin-form label,
.settings-box label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 700;
}

.purchase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 9px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 12px;
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.watch-toggle {
  width: calc(100% - 36px);
}

.purchase-box {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(58, 46, 254, 0.07), transparent 44%),
    var(--soft-bg);
}

.purchase-box fieldset {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
}

.purchase-box label {
  display: flex;
  gap: 8px;
  align-items: center;
}

.purchase-box input {
  width: auto;
}

.basket-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.75fr);
  gap: clamp(24px, 5vw, 64px);
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-inline: clamp(22px, 4vw, 54px);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.success-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.75fr);
  gap: clamp(24px, 5vw, 64px);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.basket-band p {
  color: var(--muted);
  line-height: 1.6;
}

.basket-band > div:first-child {
  align-self: center;
  text-align: center;
}

.basket-band > div:first-child p {
  max-width: 520px;
  margin-inline: auto;
}

.basket-panel,
.success-panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.success-panel h2 {
  margin-bottom: 12px;
}

.basket-items {
  display: grid;
  gap: 0;
}

.empty-basket {
  margin: 0;
  padding: 14px 0;
}

.basket-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.basket-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.basket-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.basket-item button {
  border: 1px solid var(--border);
  background: #fff;
  color: #b42318;
}

.basket-summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-weight: 700;
}

.checkout-contact-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.checkout-contact-form h2 {
  font-size: 20px;
}

.checkout-contact-form p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.checkout-contact-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.checkout-contact-form .checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--soft-bg);
  line-height: 1.4;
}

.checkout-contact-form .checkbox-line input {
  width: auto;
  margin-top: 2px;
  accent-color: var(--accent);
}

#checkoutButton {
  width: 100%;
  margin-top: 16px;
}

#checkoutButton:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.how-band {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--soft-bg);
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.steps li {
  padding: 18px;
  color: var(--text);
  font-weight: 600;
}

.info-band,
.trust-band,
.faq-band,
.contact-band,
.account-band,
.admin-panel,
.footer {
  border-bottom: 1px solid var(--border);
}

.info-band > div:first-child,
.trust-band > div:first-child,
.faq-band > div:first-child,
.contact-band > div:first-child,
.account-band > div:first-child,
.admin-panel > div:first-child {
  max-width: 850px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.policy-grid article,
.faq-grid article {
  min-height: 170px;
  padding: 22px;
}

.policy-grid p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.policy-page {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.policy-page p {
  color: var(--muted);
  line-height: 1.6;
}

.policy-list {
  display: grid;
  gap: 14px;
}

.policy-list article {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(32, 36, 42, 0.04);
}

.policy-list h2 {
  font-size: 22px;
}

.policy-list a {
  color: var(--accent);
  font-weight: 700;
}

.faq-band {
  background: var(--soft-bg);
}

.trust-band {
  background: #fff;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: 24px;
  align-items: center;
}

.contact-methods {
  display: grid;
  gap: 10px;
}

.contact-methods a {
  display: block;
  padding: 16px;
  color: var(--accent);
  font-weight: 700;
}

.account-band,
.admin-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: clamp(24px, 5vw, 70px);
}

.account-form,
.admin-form,
.settings-box {
  display: grid;
  gap: 14px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(32, 36, 42, 0.04);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-panel {
  background: var(--soft-bg);
}

.admin-guard {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.settings-box {
  align-self: start;
}

#adminPurchases {
  color: var(--muted);
  line-height: 1.6;
  white-space: pre-line;
}

.admin-listing-controls {
  grid-column: 1 / -1;
}

.admin-listing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.admin-listing:first-child {
  border-top: 0;
}

.admin-listing span {
  color: var(--muted);
  font-size: 13px;
}

.admin-listing button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

.admin-listing button[data-remove] {
  color: var(--danger);
}

.footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(16px, 5vw, 64px);
  color: var(--muted);
}

.footer strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--accent);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 36px));
  transform: translateY(120%);
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--text);
  color: white;
  box-shadow: var(--shadow);
  font-weight: 700;
  transition: transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  body.stockrooms-cursor,
  body.stockrooms-cursor a,
  body.stockrooms-cursor button,
  body.stockrooms-cursor input,
  body.stockrooms-cursor select,
  body.stockrooms-cursor textarea,
  body.stockrooms-cursor [data-product-id] {
    cursor: none;
  }

  .cursor-dot,
  .cursor-ring {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    pointer-events: none;
    border-radius: 999px;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 140ms ease, width 160ms ease, height 160ms ease, border-color 160ms ease, background 160ms ease;
  }

  .cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    box-shadow: 0 0 16px rgba(58, 46, 254, 0.45);
  }

  .cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(17, 17, 22, 0.42);
    background: rgba(255, 255, 255, 0.08);
    mix-blend-mode: multiply;
  }

  body.cursor-ready .cursor-dot,
  body.cursor-ready .cursor-ring {
    opacity: 1;
  }

  body.cursor-interactive .cursor-dot {
    width: 10px;
    height: 10px;
    background: #111116;
  }

  body.cursor-interactive .cursor-ring {
    width: 48px;
    height: 48px;
    border-color: rgba(58, 46, 254, 0.72);
    background: rgba(58, 46, 254, 0.08);
  }

  body.cursor-pressing .cursor-ring {
    width: 28px;
    height: 28px;
    border-color: var(--accent);
    background: rgba(58, 46, 254, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-glow,
  .hero-logo-glow::before,
  .hero-logo-glow::after {
    animation: none;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

@media (max-width: 1180px) {
  .brand small {
    display: none;
  }

  .logo-slot {
    width: 158px;
  }

  .nav a {
    padding-inline: 8px;
    font-size: 14px;
  }

  .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 14px;
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 560px;
    align-items: end;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), #fff 68%);
  }

  .hero-content {
    padding-top: 190px;
  }

  .status-band,
  .drop-countdown,
  .shop-grid,
  .basket-band,
  .success-band,
  .how-band,
  .trust-band,
  .policy-grid,
  .faq-grid,
  .contact-band,
  .account-band,
  .policy-page,
  .admin-content {
    grid-template-columns: 1fr;
  }

  .toolbar {
    align-items: start;
    flex-direction: column;
  }

  .countdown-clock {
    width: 100%;
  }

  .product-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .role-switch span {
    display: none;
  }

  .logo-slot {
    width: 142px;
    height: 40px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-content {
    width: 100%;
    padding-inline: 16px;
  }

  .nav a {
    padding: 8px 9px;
    font-size: 13px;
  }

  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .filter {
    width: 100%;
  }

  .product-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .detail-stats {
    grid-template-columns: 1fr;
  }

  .detail-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .detail-stats div:last-child {
    border-bottom: 0;
  }

  .purchase-row {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
