:root {
  --bg: #070707;
  --surface: #121212;
  --surface-2: #181818;
  --surface-3: #1f1f1f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f4;
  --muted: #a8a8a8;
  --red: #ffd700;
  --red-deep: #b8860b;
  --orange: #ff971d;
  --cyan: #00d1c7;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(255, 215, 0, 0.12), transparent 26%),
    linear-gradient(180deg, #050505 0%, #0c0c0c 100%);
}

button,
input,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 22px 24px 128px;
  background:
    radial-gradient(circle at top center, rgba(255, 215, 0, 0.08), transparent 20%),
    linear-gradient(180deg, #040404 0%, #090909 100%);
}

.toolbar {
  display: grid;
  grid-template-columns: 320px minmax(320px, 460px) 1fr;
  align-items: center;
  gap: 22px;
  padding: 0 0 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.toolbar-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top, rgba(255, 231, 120, 0.22), transparent 48%),
    linear-gradient(180deg, rgba(255, 215, 0, 0.12), rgba(255, 215, 0, 0.02)),
    #101010;
  color: #f4bf21;
  border: 1px solid rgba(255, 215, 0, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.brand-overline {
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
}

.toolbar-brand strong {
  display: block;
  font-size: 3rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f4c425;
  font-family: "Anton", sans-serif;
  font-weight: 400;
}

.toolbar-brand p {
  margin: 4px 0 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 230, 147, 0.78);
}

.brand-mark {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
  filter: drop-shadow(0 0 12px rgba(244, 191, 33, 0.18));
}

.brand-mark-letter {
  fill: currentColor;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.searchbox {
  position: relative;
  display: block;
}

.searchbox input {
  width: 100%;
  height: 56px;
  padding: 0 62px 0 20px;
  border: 1px solid rgba(255, 215, 0, 0.18);
  border-radius: 12px;
  background: rgba(19, 19, 19, 0.96);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.search-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.45);
  color: #f5c629;
  background: rgba(255, 215, 0, 0.06);
}

.toolbar-actions {
  display: flex;
  align-items: flex-start;
  justify-content: end;
  gap: 16px;
  flex-wrap: nowrap;
  align-self: start;
}

.toolbar-shop-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.toolbar-primary-action {
  display: grid;
  justify-items: end;
  gap: 4px;
  margin-top: -1px;
}

.toolbar-secondary-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toolbar-action-label {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(216, 175, 42, 0.92);
  line-height: 1;
}

.action-btn,
.social-chip,
.refresh-btn,
.small-btn,
.danger-btn {
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.action-btn,
.refresh-btn,
.small-btn,
.danger-btn {
  padding: 11px 16px;
  background: #161616;
  color: var(--text);
}

.action-btn:hover,
.social-chip:hover,
.refresh-btn:hover,
.small-btn:hover,
.danger-btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.action-btn.accent {
  min-height: 26px;
  padding: 4px 10px;
  background: linear-gradient(180deg, rgba(45, 34, 0, 0.92), rgba(28, 23, 9, 0.98));
  color: #f3c52c;
  border-color: rgba(255, 215, 0, 0.34);
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 215, 0, 0.08);
}

.primary-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  color: #ff8a1a;
  flex: 0 0 auto;
}

.primary-action-icon-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.primary-action-icon-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.action-btn.cart-btn {
  min-height: 34px;
  padding: 8px 16px;
  background: linear-gradient(180deg, #2d2200, #1c1709);
  border-color: rgba(255, 215, 0, 0.28);
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-button-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.cart-button-icon-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.action-btn.ghost {
  min-height: 34px;
  padding: 8px 16px;
  background: transparent;
}

.toolbar-cart-badge {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #f3c52c;
  color: #111;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 45px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  background: #111116;
  color: #fafafa;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.social-svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-icon-image {
  width: 22px !important;
  height: 22px !important;
  display: block;
  object-fit: contain;
  max-width: 22px;
  max-height: 22px;
}

.social-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.content-grid {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  gap: 28px;
  min-height: auto;
  align-items: start;
  margin-bottom: 800px;
}

.sidebar {
  display: grid;
  gap: 18px;
  position: static;
  max-height: none;
  padding-right: 0;
  border-right: 0;
  overflow: visible;
}

.panel-heading h2,
.catalog-topbar h2,
.admin-header h2,
.admin-section h3 {
  margin: 0;
}

.panel-card {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.96), rgba(15, 15, 15, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.sidebar-card {
  padding: 18px 10px 12px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 16px;
}

.panel-heading h2 {
  text-transform: uppercase;
  font-size: 1.06rem;
}

.panel-menu {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.3rem;
}

.category-list {
  display: grid;
  gap: 8px;
}

.category-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.88);
}

.category-item.active {
  background: linear-gradient(180deg, rgba(72, 54, 0, 0.92), rgba(48, 37, 3, 0.92));
  border-color: rgba(255, 215, 0, 0.42);
  color: #ffd74a;
}

.category-icon {
  font-size: 0.86rem;
  font-weight: 700;
  color: #f0bf26;
}

.category-count {
  min-width: 28px;
  padding: 3px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  font-size: 0.75rem;
  text-align: center;
  font-weight: 700;
}

.catalog-area {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.showcase-banner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 310px;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 75% 10%, rgba(255, 215, 0, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(17, 12, 2, 0.86) 35%, rgba(38, 28, 3, 0.7));
  box-shadow: var(--shadow);
}

.showcase-banner.has-custom-banner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 310px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.showcase-banner-image {
  display: none;
}

.showcase-copy {
  padding: 34px 42px;
  display: grid;
  align-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.showcase-banner.has-custom-banner .showcase-copy {
  display: grid;
}

.showcase-banner.has-custom-banner .showcase-visual {
  display: block;
}

.showcase-kicker,
.showcase-subtitle {
  margin: 0;
  text-transform: uppercase;
}

.showcase-kicker {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.82);
}

.showcase-title {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(4rem, 8vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: #f4c425;
}

.showcase-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.showcase-features {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.showcase-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 56px;
  margin-top: 18px;
  padding: 0 28px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffd74a, #e2af0d);
  color: #111;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.showcase-visual {
  position: relative;
  overflow: hidden;
}

.showcase-visual.has-custom-banner {
  min-height: 100%;
}

.city-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 60% 42%, rgba(255, 215, 0, 0.18), transparent 32%),
    radial-gradient(circle at 70% 58%, rgba(255, 215, 0, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 38%);
}

.showcase-car {
  position: absolute;
  right: 130px;
  bottom: 28px;
  width: 360px;
  height: 150px;
  border-radius: 120px 120px 34px 34px / 78px 78px 30px 30px;
  background:
    linear-gradient(180deg, rgba(255, 215, 0, 0.45), rgba(255, 215, 0, 0) 14%),
    linear-gradient(180deg, #0d0d0d, #202020 48%, #070707);
  transform: skewX(-12deg);
  box-shadow:
    0 28px 40px rgba(0, 0, 0, 0.42),
    0 0 60px rgba(255, 215, 0, 0.12);
}

.showcase-car.is-custom-image {
  opacity: 0;
  pointer-events: none;
}

.showcase-car::before,
.showcase-car::after {
  content: "";
  position: absolute;
  bottom: -18px;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: radial-gradient(circle, #0e0e0e 0 34%, #2e2e2e 35% 56%, #090909 57% 100%);
}

.showcase-car::before {
  left: 48px;
}

.showcase-car::after {
  right: 42px;
}

.showcase-car.is-custom-image::before,
.showcase-car.is-custom-image::after {
  display: none;
}

.showcase-visual.has-custom-banner .city-glow {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.04)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12));
}

.showcase-visual.has-custom-banner .showcase-emblem {
  right: 18px;
  bottom: 16px;
  top: auto;
  transform: scale(0.8);
  transform-origin: bottom right;
}

.showcase-emblem {
  position: absolute;
  right: 34px;
  top: 38px;
  display: none;
  justify-items: center;
  gap: 10px;
  color: #f4c425;
}

.showcase-emblem-inner {
  width: 150px;
  height: 180px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 86% 18%, 86% 72%, 50% 100%, 14% 72%, 14% 18%);
  border: 3px solid rgba(255, 215, 0, 0.75);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.08), rgba(255, 215, 0, 0.01));
}

.showcase-emblem-letter {
  font-family: "Anton", sans-serif;
  font-size: 4rem;
  line-height: 1;
}

.showcase-emblem strong {
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  color: #f0f0f0;
  text-transform: uppercase;
  display: none;
}

.showcase-emblem span {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: rgba(255, 215, 0, 0.85);
  display: none;
}

.catalog-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
}

.catalog-topbar h2 {
  font-size: 2.15rem;
  text-transform: uppercase;
}

.refresh-btn {
  padding: 0 18px;
  min-height: 36px;
  background: rgba(255, 255, 255, 0.03);
}

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

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.98), rgba(16, 16, 16, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.product-card::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -42%;
  z-index: 5;
  width: 34%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 235, 130, 0.95), transparent);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.45);
  opacity: 0;
  pointer-events: none;
}

.product-card:hover,
.product-card:focus-within {
  z-index: 25;
}

.product-card:hover::after,
.product-card:focus-within::after {
  animation: productLightSweep 850ms ease-out;
}

@keyframes productLightSweep {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(-10deg);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-430%, 52px) rotate(-10deg);
  }
}

.product-cover {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    linear-gradient(135deg, #232323, #0a0a0a);
}

.product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
}

.product-body {
  position: relative;
  isolation: isolate;
  padding: 16px;
}

.product-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 10px;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  font-size: 0.85rem;
  font-weight: 700;
}

.gift-chip {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 5px;
  border-radius: 10px;
  color: #0af3e8;
  background: rgba(0, 209, 199, 0.1);
  border: 1px solid rgba(0, 209, 199, 0.35);
  overflow: hidden;
}

.pix-svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.product-name {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1;
  font-family: "Anton", sans-serif;
  letter-spacing: 0.02em;
  font-weight: 800;
  text-transform: uppercase;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.old-price {
  color: #9b9b9b;
  text-decoration: line-through;
}

.current-price {
  font-size: 1.3rem;
  font-weight: 800;
}

.pix-copy {
  margin: 8px 0 16px;
  color: #cecece;
}

.product-actions {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 10px;
}

.buy-btn,
.info-btn {
  border: 0;
  border-radius: 6px;
  min-height: 38px;
  color: white;
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, rgba(57, 44, 4, 0.98), rgba(29, 22, 1, 0.98));
  border: 1px solid rgba(255, 215, 0, 0.52);
  color: #f5c62e;
  font-weight: 700;
  text-transform: uppercase;
}

.buy-cart-icon {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}

.info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  background: #171717;
  border: 1px solid var(--line);
  color: #f2f2f2;
}

.vip-card {
  padding: 22px;
}

.vip-card h3 {
  margin: 0 0 18px;
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
  color: #f4c425;
}

.vip-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
}

.vip-list li::before {
  content: "◉";
  color: #f4c425;
  margin-right: 10px;
}

.vip-btn {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffd74a, #e2af0d);
  color: #111;
  text-transform: uppercase;
  font-weight: 800;
}

.benefits-strip {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 8px;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.96), rgba(15, 15, 15, 0.98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.benefit-item {
  padding: 18px 24px;
  display: grid;
  gap: 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.benefit-item-payments,
.benefit-item-support,
.benefit-item-security,
.benefit-item-gifts {
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 14px;
}

.benefit-item-gifts .benefit-icon,
.benefit-item-support .benefit-icon {
  filter: brightness(0) saturate(100%) invert(78%) sepia(64%) saturate(742%) hue-rotate(358deg) brightness(102%)
    contrast(95%);
}

.benefit-icon {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.benefit-copy {
  display: grid;
  gap: 3px;
}

.benefit-item:last-child {
  border-right: 0;
}

.benefit-item strong {
  text-transform: uppercase;
  font-size: 1rem;
}

.benefit-item span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
}

.site-footer {
  margin-top: auto;
  flex: 0 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.98), rgba(10, 10, 10, 0.98));
  box-shadow: var(--shadow);
}

.site-footer-main,
.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-footer-main {
  padding: 34px 44px;
}

.site-footer-bottom {
  padding: 20px 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
}

.site-footer-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.18);
}

.site-footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.15rem;
}

.site-footer-brand p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.site-footer-socials,
.site-footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer-social {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

.site-footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer-links a:hover {
  color: #f4c425;
}

.legal-modal[hidden] {
  display: none !important;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.74);
}

.legal-modal-card {
  width: min(720px, 100%);
  max-height: min(760px, 86vh);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 215, 0, 0.18);
  background: linear-gradient(180deg, #151515, #0d0d0d);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62);
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-modal-header h2 {
  margin: 0;
  color: #f4c425;
  font-size: 1.35rem;
}

.legal-modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: #171717;
  color: #fff;
  font-weight: 800;
}

.legal-modal-body {
  overflow-y: auto;
  padding: 22px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.legal-modal-body h3 {
  margin: 22px 0 8px;
  color: #fff;
  font-size: 1rem;
}

.legal-modal-body p {
  margin: 0 0 12px;
}

.info-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.info-popover {
  position: absolute;
  left: -112px;
  right: auto;
  bottom: calc(100% + 10px);
  z-index: 100;
  width: 270px;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
  border-radius: 12px;
  background: #101010;
  border: 1px solid rgba(255, 215, 0, 0.24);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
  text-align: left;
}

.info-popover-title {
  color: #ffd54c;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.info-popover-line,
.info-popover-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.35;
}

.info-popover-copy {
  color: rgba(255, 255, 255, 0.64);
}

.info-btn:hover .info-popover,
.info-btn.info-open .info-popover {
  opacity: 1;
  transform: translateY(0);
}

.info-btn.info-open .info-popover {
  z-index: 180;
}

.empty-state {
  padding: 36px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: var(--muted);
  text-align: center;
}

.cart-drawer,
.admin-drawer,
.product-form-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(460px, 100%);
  height: 100vh;
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.36);
  transform: translateX(100%);
  transition: transform 180ms ease;
  z-index: 140;
}

.cart-drawer {
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #111;
}

.cart-drawer.open,
.admin-drawer.open,
.product-form-drawer.open {
  transform: translateX(0);
}

.cart-header,
.cart-footer,
.admin-header,
.admin-title-row,
.admin-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-header h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
}

.close-cart {
  border: 0;
  background: transparent;
  color: #666;
  font-size: 2rem;
  line-height: 1;
}

.cart-items {
  overflow-y: auto;
  padding: 20px 28px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-item-image {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.cart-item-name {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.cart-item-price {
  color: #d9d9d9;
  font-size: 0.95rem;
}

.cart-item-remove {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: #181818;
  color: #bdbdbd;
  padding: 9px 10px;
}

.cart-empty {
  min-height: 240px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-footer {
  padding: 18px 28px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #1a1a1a;
  flex-direction: column;
  align-items: stretch;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-total-row strong {
  color: #57e389;
  font-size: 1.8rem;
}

.cart-footer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.cart-primary-btn,
.cart-secondary-btn {
  min-height: 40px;
  border-radius: 8px;
  font-weight: 700;
}

.cart-primary-btn {
  border: 0;
  background: linear-gradient(135deg, #ff3c41, #db3340);
  color: #fff;
}

.cart-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cart-secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #111316;
  color: #d9d9d9;
}

.admin-drawer {
  inset: 0;
  width: 100%;
  border-left: 0;
  transform: translateY(102%);
  transition: transform 220ms ease;
  background:
    radial-gradient(circle at top left, rgba(51, 93, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #040404 0%, #020202 100%);
  box-shadow: none;
}

.product-form-drawer {
  width: min(780px, 100%);
  padding: 28px;
  overflow-y: auto;
  background:
    radial-gradient(circle at top, rgba(52, 82, 212, 0.18), transparent 28%),
    #070708;
}

.product-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.product-form label {
  display: grid;
  gap: 6px;
}

.product-form span {
  color: #d2d2d2;
  font-size: 0.9rem;
}

.product-form input {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #0f0f10;
  color: var(--text);
}

.admin-section {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.admin-section label,
.editor-card label {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.admin-section span,
.editor-card span {
  color: #d2d2d2;
  font-size: 0.9rem;
}

.admin-section input,
.editor-card input {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #0c0c0d;
  color: var(--text);
}

.admin-section select,
.editor-card select {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #0c0c0d;
  color: var(--text);
}

.editor-card {
  margin-top: 0;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(13, 13, 15, 0.96), rgba(19, 19, 22, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.small-btn {
  min-height: 46px;
  padding: 10px 18px;
  font-size: 0.92rem;
  border-radius: 14px;
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.32);
  color: #ffe38a;
}

.danger-btn {
  width: 100%;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #f5b6b6;
  border-color: rgba(255, 255, 255, 0.1);
}

.close-admin {
  border: 0;
  background: transparent;
  color: var(--muted);
}

.admin-footer {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  padding: 8px 0 24px;
  margin-top: 28px;
  background: none;
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px 16px;
  background: rgba(9, 9, 11, 0.98);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-top {
  display: grid;
  gap: 28px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 6px;
}

.admin-brand-mark,
.admin-brand-mark-image {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.admin-brand-mark {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f0c43d, #b8860b);
  font-family: "Anton", sans-serif;
  font-size: 1.2rem;
  color: #111;
}

.admin-brand-mark-image {
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255, 215, 0, 0.18);
}

.admin-brand strong,
.admin-brand span {
  display: block;
}

.admin-brand strong {
  font-size: 1.1rem;
}

.admin-brand span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.82rem;
}

.admin-nav-group {
  display: grid;
  gap: 10px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.admin-nav-link.active,
.admin-nav-link:hover {
  color: #111;
  background: linear-gradient(180deg, #ffd74a, #dca90b);
  border-color: rgba(255, 215, 0, 0.42);
}

.admin-nav-link::after {
  content: "";
  position: absolute;
  inset: auto 14px 0 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.45), transparent);
  opacity: 0.6;
}

.admin-nav-link.active::before,
.admin-nav-link:hover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 215, 0, 0.28);
  pointer-events: none;
}

.admin-back-btn {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #171719;
  color: #fff;
  font-weight: 700;
}

.admin-main {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-topbar p {
  margin: 0;
  font-size: 1.1rem;
}

.admin-topbar p span {
  color: #f0c43d;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-content {
  overflow-y: auto;
  padding: 28px;
  min-height: 0;
  overscroll-behavior: contain;
}

.admin-workspace-card {
  margin-bottom: 24px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(5, 5, 6, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-panel-hidden,
.admin-workspace-card[hidden],
.admin-section[hidden] {
  display: none !important;
}

.admin-workspace-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.admin-workspace-intro h2 {
  margin: 6px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.admin-workspace-copy {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.admin-section-eyebrow {
  margin: 0 0 6px;
  color: #f0c43d;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

.admin-title-row h3 {
  margin: 0;
  font-size: 2rem;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-top: 18px;
}

.admin-card-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.coupon-builder {
  margin-top: 18px;
}

.coupon-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 14px 14px;
  align-items: end;
}

.coupon-builder-field {
  display: grid;
  gap: 8px;
}

.coupon-builder-field-full {
  grid-column: 1 / -1;
}

.coupon-builder-field span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.coupon-builder-field input,
.coupon-builder-field select {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #0c0c0d;
  color: var(--text);
}

.coupon-date-input {
  color-scheme: dark;
  cursor: pointer;
}

.coupon-date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(1) brightness(1.2);
}

.coupon-builder-check {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.coupon-builder-check input {
  width: 24px;
  height: 24px;
  margin: 0;
}

.coupon-builder-chip {
  width: fit-content;
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: #f4f4f4;
  color: #111;
  font-weight: 700;
}

.coupon-builder-note {
  margin: -2px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.coupon-builder-list-title {
  margin-top: 26px;
  margin-bottom: 16px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.coupon-builder-list-title h4 {
  margin: 6px 0 0;
  font-size: 1.2rem;
}

.coupon-toolbar {
  margin-top: 22px;
  margin-bottom: 22px;
}

.coupon-search input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #0c0c0d;
  color: #fff;
}

.coupon-table-wrap {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(10, 10, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.coupon-table {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #121214;
}

.coupon-table table {
  width: 100%;
  border-collapse: collapse;
}

.coupon-table th,
.coupon-table td {
  padding: 22px 14px;
  text-align: left;
}

.coupon-table th {
  color: #fff;
  font-size: 0.96rem;
}

.coupon-table td {
  color: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.coupon-actions {
  display: flex;
  gap: 10px;
}

.coupon-edit-btn,
.coupon-delete-btn {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
}

.coupon-edit-btn {
  background: #2a2a2f;
}

.coupon-delete-btn {
  background: #ff4343;
}

.product-toolbar {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 16px;
  margin-top: 22px;
  margin-bottom: 22px;
}

.product-filter,
.product-search {
  display: grid;
  gap: 8px;
}

.product-filter span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.product-filter select,
.product-search input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #0c0c0d;
  color: #fff;
}

.product-table-wrap {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(10, 10, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-table {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #121214;
}

.product-table table {
  width: 100%;
  border-collapse: collapse;
}

.product-table th,
.product-table td {
  padding: 22px 14px;
  text-align: left;
}

.product-table th {
  color: #fff;
}

.product-table td {
  color: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-clone-btn,
.product-emulate-btn {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
}

.product-clone-btn {
  background: #1d9ec5;
}

.product-emulate-btn {
  background: #c79112;
  color: #111;
}

#adminCouponsSection {
  padding: 30px;
}

#adminCouponsSection .admin-title-row {
  align-items: end;
  margin-bottom: 10px;
}

#adminCouponsSection .admin-title-row h3 {
  font-size: 2.1rem;
}

.admin-primary-save {
  min-width: 136px;
  min-height: 56px;
  border-radius: 16px;
  justify-content: center;
  background: linear-gradient(180deg, #f0c43d, #b8860b);
  border-color: rgba(255, 215, 0, 0.48);
  color: #111;
  font-size: 0.95rem;
  box-shadow: 0 14px 30px rgba(184, 134, 11, 0.22);
}

@media (max-width: 1080px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    gap: 18px;
    padding-bottom: 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .admin-sidebar-top,
  .admin-nav-group {
    gap: 12px;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-workspace-intro,
  .admin-topbar,
  .admin-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-topbar-actions {
    justify-content: stretch;
  }

  .admin-topbar-actions .action-btn,
  .admin-footer .action-btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .admin-content,
  .admin-topbar,
  .product-form-drawer {
    padding: 18px;
  }

  .admin-workspace-card {
    padding: 18px;
    border-radius: 18px;
  }

  .admin-title-row h3 {
    font-size: 1.5rem;
  }
}


.checkout-screen {
  display: none;
  min-height: 100vh;
  background: #000;
}

.checkout-screen.open {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow-y: auto;
}

body.checkout-open .benefits-strip,
body.checkout-open .benefits-strip[hidden],
body:has(.checkout-screen.open) .benefits-strip {
  display: none !important;
}

body.checkout-open {
  overflow: hidden;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  min-height: 100vh;
}

.checkout-main {
  padding: 40px 44px 56px;
}

.checkout-back {
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 700;
  margin-bottom: 28px;
}

.checkout-steps h2 {
  margin: 0 0 18px;
  text-align: center;
  font-size: 2rem;
}

.checkout-stepper {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
}

.step-dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  color: #fff;
}

.step-dot.active {
  border-color: #2bdc74;
}

.step-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.checkout-form {
  display: grid;
  gap: 18px;
  max-width: 640px;
}

#checkoutPaymentStep {
  justify-items: center;
  max-width: 100%;
}

.checkout-step-panel[hidden] {
  display: none !important;
}

.checkout-form label {
  display: grid;
  gap: 8px;
}

.checkout-form span {
  font-size: 0.95rem;
  font-weight: 600;
}

.checkout-form input,
.checkout-form select,
.checkout-coupon-row input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: #151515;
  color: #fff;
}

.checkout-form input.invalid-field,
.checkout-form select.invalid-field {
  border-color: #ef4444;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.35);
}

.checkout-inline-error {
  padding: 12px 14px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: 8px;
  background: rgba(127, 29, 29, 0.22);
  color: #fca5a5;
  font-size: 0.95rem;
  line-height: 1.45;
}

.checkout-next-btn,
.checkout-coupon-row button {
  border: 0;
  border-radius: 6px;
  min-height: 48px;
  font-weight: 700;
  color: #fff;
  background: #0d8ddb;
}

.checkout-coupon-feedback {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #d1d5db;
  font-size: 0.92rem;
}

.checkout-coupon-feedback.success {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}

.checkout-coupon-feedback.error {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
}

.checkout-total-line.discount strong {
  color: #86efac;
}

.checkout-next-btn {
  width: fit-content;
  min-width: 120px;
}

.checkout-discord-box {
  display: grid;
  gap: 10px;
}

.discord-login-btn {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: #5f6670;
  color: #fff;
  font-weight: 700;
}

.discord-icon {
  font-size: 1rem;
  line-height: 1;
}

.checkout-helper-link {
  color: #1d4ed8;
}

.discord-linked-profile {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  max-width: 360px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #1a1d23;
}

.discord-linked-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  background: #2d3748;
}

.discord-linked-meta {
  display: grid;
  gap: 4px;
}

.discord-linked-meta strong,
.discord-linked-meta span {
  line-height: 1.2;
}

.discord-linked-meta span {
  color: #b9c1d0;
  font-size: 0.92rem;
}

.discord-linked-note {
  color: #62d98b;
  font-size: 0.95rem;
  font-weight: 600;
}

.discord-login-btn.linked {
  background: #2f6f49;
}

.checkout-next-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.checkout-payment-box {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #111;
  max-width: 420px;
  margin: 0 auto;
}

.checkout-payment-label {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  justify-self: center;
}

.checkout-pix-qr {
  width: 220px;
  height: 220px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.checkout-pix-code {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #d8d8d8;
  word-break: break-all;
  font-size: 0.92rem;
  text-align: center;
}

.checkout-copy-pix-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  min-height: 42px;
  padding: 0 18px;
  background: #1d1d1d;
  color: #fff;
  font-weight: 700;
}

.checkout-payment-status {
  min-height: 22px;
  color: #cfcfcf;
  font-size: 0.92rem;
  text-align: center;
}

.checkout-payment-status.pending {
  color: #f1c85a;
}

.checkout-payment-status.success {
  color: #67d38f;
}

.checkout-payment-status.error {
  color: #ff8c8c;
}

#checkoutPaymentFinishButton {
  justify-self: center;
}

.discord-auth-modal[hidden] {
  display: none !important;
}


.discord-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.75);
  padding: 24px;
}

.discord-auth-card {
  width: min(730px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111827;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.discord-auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #0b1020;
  color: #cdd6f4;
}

.discord-auth-topbar button {
  border: 0;
  background: transparent;
  color: #fff;
}

.discord-auth-body {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 420px;
}

.discord-auth-side {
  background: linear-gradient(180deg, #2b0a68, #1d4ed8);
}

.discord-auth-panel {
  padding: 36px 24px;
  background: #36393f;
  color: #fff;
}

.discord-auth-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 18px;
}

.discord-app-badge,
.discord-user-badge {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 800;
}

.discord-app-badge {
  background: #3b82f6;
}

.discord-user-badge {
  background: #f59e0b;
}

.discord-auth-panel h3,
.discord-auth-panel p {
  text-align: center;
}

.discord-auth-field {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.discord-auth-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: #202225;
  color: #fff;
}

.discord-auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.discord-cancel-btn,
.discord-confirm-btn {
  min-height: 42px;
  border-radius: 6px;
  font-weight: 700;
}

.discord-cancel-btn {
  border: 0;
  background: #4b5563;
  color: #fff;
}

.discord-confirm-btn {
  border: 0;
  background: #5865f2;
  color: #fff;
}

.checkout-summary {
  padding: 22px 18px 32px;
  background: #1b1b1b;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-summary-items {
  display: grid;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  gap: 12px;
  align-items: center;
}

.checkout-summary-item img {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 6px;
}

.checkout-summary-item h3,
.checkout-summary-item p {
  margin: 0;
}

.checkout-summary-item h3 {
  font-size: 1rem;
}

.checkout-summary-item p {
  color: #d6d6d6;
}

.checkout-coupon-row {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 8px;
  margin: 16px 0 18px;
}

.checkout-summary-totals {
  display: grid;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.checkout-total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
}

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

@media (max-width: 1080px) {
  .app-shell {
    padding-bottom: 188px;
  }

  .toolbar,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-actions {
    justify-content: start;
  }

  .sidebar {
    position: static;
    top: auto;
    max-height: none;
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow: visible;
  }

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

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .benefits-strip {
    left: 16px;
    right: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-header {
    min-height: 148px;
  }

  .hero-inner {
    min-height: 148px;
  }

  .toolbar,
  .sidebar,
  .catalog-area,
  .admin-drawer,
  .checkout-main,
  .checkout-summary {
    padding: 16px;
  }

  .app-shell {
    padding-bottom: 330px;
  }

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

  .benefits-strip {
    grid-template-columns: 1fr;
    bottom: 10px;
  }

  .catalog-topbar,
  .site-footer-main,
  .site-footer-bottom,
  .admin-header,
  .admin-title-row,
  .admin-footer {
    align-items: start;
    flex-direction: column;
  }

  .site-footer-main,
  .site-footer-bottom {
    padding: 22px;
  }
}
