:root {
  --gold: #f2b600;
  --white: #f4f4f2;
  --muted: #c2c1bc;
  --header-height: 168px;
}

* {
  box-sizing: border-box;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  padding: 12px 17px;
  position: fixed;
  z-index: 20000;
  top: 12px;
  left: 16px;
  color: #111;
  background: var(--gold);
  border-radius: 4px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #090b0c;
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { line-height: 1.15; }

.main-nav > a,
.action-link,
.categories h2,
.products-section__heading h2,
.social-section h2,
.footer-column h3,
.detail-summary h1,
.detail-variant span,
.checkout-main > h1,
.checkout-panel h2,
.order-summary > h2,
.auth-form h2,
.account-heading h2,
.profile-settings h2,
.help-hero h1,
.faq-section > h2,
.support-form-section h2 { font-family: "Rajdhani", "Inter", sans-serif; letter-spacing: .2px; }

.product-card__content h3,
.product-card__description,
.category-card span,
.footer-column a,
.order-item h3,
.favorite-card h3,
.search-result span strong { font-family: "Inter", Arial, sans-serif; }

.storefront {
  padding: 22px clamp(22px, 2.8vw, 57px) 50px;
  background:
    radial-gradient(circle at 52% -10%, rgba(118, 58, 12, .24), transparent 33%),
    #0d0e0f;
}

.hero-offer {
  min-height: clamp(360px, 25vw, 510px);
  position: relative;
  display: block;
  overflow: hidden;
  background: #08090a url("assets/plex-hero-official.png") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 13px;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, .32);
}

.hero-offer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 8, 9, .96) 0%, rgba(7, 8, 9, .74) 29%, transparent 54%);
}

.hero-offer__badges {
  position: absolute;
  z-index: 2;
  top: 26px;
  left: 25px;
  display: flex;
  gap: 12px;
}

.offer-badge {
  min-height: 37px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #df2634;
  border-radius: 5px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.offer-badge--time {
  gap: 6px;
}

.hero-countdown { display: inline; }

.offer-badge svg {
  width: 19px;
  height: 19px;
  fill: #fff;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-offer__content {
  width: 48%;
  position: absolute;
  z-index: 2;
  top: 51%;
  left: 4%;
  text-align: center;
  transform: translateY(-36%);
}

.hero-offer__content h1 {
  margin: 0;
  color: var(--gold);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(42px, 3.1vw, 64px);
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.05;
}

.hero-offer__content p {
  margin: 16px 0 4px;
  color: #e4e4e3;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(20px, 1.55vw, 31px);
  font-weight: 500;
}

.hero-offer__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  font-family: "Rajdhani", sans-serif;
}

.hero-offer__price strong {
  color: var(--gold);
  font-size: clamp(38px, 2.7vw, 54px);
  font-weight: 600;
}

.hero-offer__price sup {
  margin-left: 3px;
  font-size: .55em;
}

.hero-offer__price del {
  color: #8e8e8e;
  font-size: clamp(20px, 1.3vw, 27px);
}

.store-benefits {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background: linear-gradient(110deg, rgba(27,30,32,.98), rgba(43,34,27,.96), rgba(23,27,29,.98));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
}
.store-benefit {
  min-height: 88px;
  padding: 18px clamp(17px,1.6vw,30px);
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}
.store-benefit:hover { background: rgba(255,255,255,.035); transform: translateY(-2px); }
.store-benefit + .store-benefit { border-left: 1px solid rgba(255,255,255,.09); }
.store-benefit::after {
  content: "";
  height: 2px;
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 50%;
  background: var(--gold);
  transition: right .3s ease, left .3s ease;
}
.store-benefit:hover::after { right: 0; left: 0; }
.store-benefit__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(242,182,0,.09);
  border: 1px solid rgba(242,182,0,.3);
  border-radius: 50%;
  font-size: 19px;
}
.store-benefit strong,.store-benefit small { display: block; }
.store-benefit strong { color: #f5f5f3; font-size: 14px; font-weight: 600; }
.store-benefit small { margin-top: 4px; color: #999; font-size: 11px; line-height: 1.35; }
.faq-list details,.support-form-section { scroll-margin-top: 110px; }

@media (max-width: 760px) {
  .store-benefits { grid-template-columns: 1fr; }
  .store-benefit + .store-benefit { border-top: 1px solid rgba(255,255,255,.09); border-left: 0; }
}

.token-rate {
  width: min(330px, 100%);
  margin: 18px 0 0 auto;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f5f2eb;
  background: linear-gradient(135deg, #252d31, #3a2920);
  border: 1px solid rgba(221, 169, 44, .55);
  border-radius: 9px;
  box-shadow: 0 9px 24px rgba(0,0,0,.2);
}
.token-rate__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #17191a;
  background: var(--gold);
  border-radius: 50%;
  font-family: "Rajdhani", sans-serif;
  font-size: 25px;
  font-weight: 700;
}
.token-rate strong,.token-rate span { display: block; }
.token-rate strong { font-size: 16px; }
.token-rate div > span { margin-top: 2px; color: #d8d2c5; font-size: 13px; }
.token-rate__link {
  margin-left: auto;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.token-rate__link:hover { color: #fff; }
@media (max-width: 600px) {
  .token-rate { margin-right: 0; }
  .token-rate__link { font-size: 11px; }
}

.categories {
  padding-top: clamp(72px, 6vw, 120px);
}

.categories h2 {
  margin: 0 0 44px;
  padding-left: 20px;
  position: relative;
  font-size: clamp(22px, 1.45vw, 30px);
  font-weight: 400;
}

.categories h2::before {
  content: "";
  width: 2px;
  height: 33px;
  position: absolute;
  top: 50%;
  left: 0;
  background: var(--gold);
  transform: translateY(-50%);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, 1.85vw, 38px);
}

.category-card {
  min-height: clamp(180px, 10.8vw, 220px);
  padding: 25px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  background: #202020;
  border: 1px solid transparent;
  border-radius: 12px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.category-card:hover {
  background: #272727;
  border-color: rgba(242, 182, 0, .5);
  transform: translateY(-6px);
}
.category-card:focus-visible { border-color: var(--gold); transform: translateY(-4px); }

.category-card__icon {
  width: 62px;
  height: 62px;
  object-fit: contain;
  image-rendering: auto;
}

.category-card span {
  font-size: clamp(18px, 1.3vw, 26px);
}

.catalog-toolbar {
  margin-top: clamp(55px,5vw,90px);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(110deg,#191b1c,#241f1b);
  border: 1px solid rgba(255,255,255,.09);
  border-left: 2px solid var(--gold);
  border-radius: 7px;
}
.catalog-toolbar strong,.catalog-toolbar > div > span { display: block; }
.catalog-toolbar strong { color: #f4f4f2; font-size: 16px; }
.catalog-toolbar > div > span { margin-top: 3px; color: #888; font-size: 12px; }
.catalog-toolbar label { display: flex; align-items: center; gap: 12px; color: #aaa; font-size: 12px; }
.catalog-toolbar select {
  min-width: 190px;
  padding: 11px 35px 11px 13px;
  color: #eee;
  background: #101112;
  border: 1px solid #444;
  border-radius: 4px;
  outline: 0;
  cursor: pointer;
}
.catalog-toolbar select:focus { border-color: var(--gold); }

@media (max-width: 600px) {
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .catalog-toolbar label { align-items: stretch; flex-direction: column; gap: 6px; }
  .catalog-toolbar select { width: 100%; }
}

.products-section {
  padding-top: clamp(80px, 7vw, 140px);
  scroll-margin-top: 30px;
}

.products-section__heading {
  max-width: 1050px;
  margin-bottom: 42px;
}

.products-section__heading h2 {
  margin: 0 0 18px;
  padding-left: 20px;
  position: relative;
  font-size: clamp(25px, 1.75vw, 35px);
  font-weight: 400;
}

.products-section__heading h2::before {
  content: "";
  width: 2px;
  height: 38px;
  position: absolute;
  top: 50%;
  left: 0;
  background: var(--gold);
  transform: translateY(-50%);
}

.products-section__heading p {
  margin: 0;
  color: #bdbdbb;
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1.55;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 1.4vw, 28px);
}

#omega .product-grid {
  width: 100%;
}

#omega .product-card {
  min-height: clamp(310px, 21vw, 425px);
}

#management .product-card {
  min-height: clamp(265px, 18vw, 360px);
}

#management .product-card__content {
  padding: 18px;
}

#management .product-card__content h3 {
  min-height: 44px;
  margin-bottom: 9px;
  font-size: clamp(15px, .92vw, 19px);
}

#management .product-card__description {
  min-height: 34px;
  margin-bottom: 7px;
  font-size: clamp(12px, .68vw, 14px);
}

#skills .product-card {
  min-height: clamp(265px, 18vw, 360px);
}

#skills .product-card__content {
  padding: 18px;
}

#skills .product-card__content h3 {
  min-height: 44px;
  margin-bottom: 9px;
  font-size: clamp(15px, .92vw, 19px);
}

#skills .product-card__description {
  min-height: 34px;
  margin-bottom: 7px;
  font-size: clamp(12px, .68vw, 14px);
}

#mct .product-card {
  min-height: clamp(265px, 18vw, 360px);
}

#mct .product-card__content {
  padding: 18px;
}

#mct .product-card__content h3 {
  min-height: 44px;
  margin-bottom: 9px;
  font-size: clamp(15px, .92vw, 19px);
}

#mct .product-card__description {
  min-height: 34px;
  margin-bottom: 7px;
  font-size: clamp(12px, .68vw, 14px);
}

#packs .product-card {
  min-height: clamp(275px, 17.5vw, 350px);
}

#packs .product-card__content {
  padding: 18px;
}

#packs .product-card__content h3 {
  min-height: 44px;
  margin-bottom: 9px;
  font-size: clamp(15px, .92vw, 19px);
}

#packs .product-card__description {
  min-height: 34px;
  margin-bottom: 7px;
  font-size: clamp(12px, .68vw, 14px);
}

.product-card {
  min-height: clamp(310px, 21vw, 425px);
  position: relative;
  display: block;
  overflow: hidden;
  background: #202020;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 11px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  isolation: isolate;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  border-color: rgba(250, 180, 0, .6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
  transform: translateY(-7px);
}
.product-card:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,182,0,.22), 0 18px 40px rgba(0,0,0,.4); }

.card-favorite {
  width: 36px;
  height: 36px;
  padding: 0;
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(7,8,9,.72);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: .85;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.card-favorite:hover,.card-favorite.active {
  color: var(--gold);
  background: rgba(18,18,18,.92);
  border-color: var(--gold);
  transform: scale(1.08);
}
.product-card:has(.product-card__badge) .card-favorite { top: 13px; }

.product-card > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform .45s ease, opacity .35s ease;
  opacity: .25;
}

.product-card.image-ready > img { opacity: 1; }

.product-card:hover > img {
  transform: scale(1.045);
}

.product-card__shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 10, .4) 53%, rgba(10, 10, 10, .98) 100%);
}

.product-card__badge {
  padding: 8px 11px;
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 15px;
  color: #fff;
  background: #d8202a;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
}

.product-card__content {
  padding: 22px;
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
}

.product-card__content h3 {
  min-height: 52px;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(17px, 1.08vw, 22px);
  font-weight: 500;
  line-height: 1.35;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 11px;
  font-family: "Rajdhani", sans-serif;
}

.product-price strong {
  color: var(--gold);
  font-size: clamp(30px, 2vw, 40px);
  font-weight: 600;
  line-height: 1;
}

.product-price sup {
  margin-left: 2px;
  font-size: .55em;
}

.product-price span,
.product-price del {
  color: #aaa;
  font-size: clamp(16px, 1vw, 20px);
}

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

.product-grid--packs .product-card {
  min-height: clamp(330px, 21vw, 420px);
}

.product-card__description {
  min-height: 40px;
  margin: -5px 0 10px;
  color: #b7b7b5;
  font-size: clamp(13px, .8vw, 16px);
  line-height: 1.35;
}

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

button {
  font: inherit;
}

.site-header {
  min-height: var(--header-height);
  padding: 0 clamp(28px, 2.75vw, 56px);
  display: flex;
  align-items: center;
  gap: clamp(28px, 2.2vw, 44px);
  position: sticky;
  top: 0;
  z-index: 10;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .98) 0%, rgba(32, 13, 2, .96) 18%, rgba(125, 70, 17, .83) 39%, rgba(39, 39, 38, .94) 65%, rgba(7, 8, 8, .99) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: min-height .3s ease, background-color .3s ease, box-shadow .3s ease;
}

.site-header--compact { min-height: 88px; background-color: rgba(8,8,9,.96); box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.site-header--compact .brand__logo { width: 125px; height: 58px; }

.back-to-top { width: 46px; height: 46px; position: fixed; z-index: 20; right: 25px; bottom: 25px; color: #111; background: var(--gold); border: 0; border-radius: 50%; box-shadow: 0 8px 25px rgba(0,0,0,.45); font-size: 24px; opacity: 0; pointer-events: none; transform: translateY(15px); transition: opacity .2s ease,transform .2s ease; cursor: pointer; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: #ffc72b; transform: translateY(-3px); }

.page-transition { position: fixed; z-index: 9999; inset: 0; display: grid; place-items: center; background: #08090a; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease,visibility .3s ease; }
.page-transition span { color: #fff; font-family: "Rajdhani",sans-serif; font-size: clamp(55px,8vw,110px); font-weight: 600; letter-spacing: 14px; opacity: 0; transform: scale(.92); transition: opacity .25s ease,transform .35s ease; }
.page-transition b { position: absolute; top: 59%; color: #aaa; font-family: "Rajdhani",sans-serif; font-size: 18px; font-weight: 500; letter-spacing: 2px; }
.page-transition i { width: min(240px,45vw); height: 3px; position: absolute; top: 64%; left: 50%; overflow: hidden; background: #292929; transform: translateX(-50%); }
.page-transition i::after { content: ""; width: var(--transition-progress,0%); height: 100%; position: absolute; top: 0; left: 0; background: var(--gold); box-shadow: 0 0 14px rgba(242,182,0,.75); }
.page-is-leaving .page-transition { opacity: 1; visibility: visible; }
.page-is-leaving .page-transition span { opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .page-transition,.page-transition span,.page-transition i { transition-duration: .01ms; }
}

.scroll-reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease var(--reveal-delay,0ms),transform .55s ease var(--reveal-delay,0ms); }
.scroll-reveal.is-revealed { opacity: 1; transform: translateY(0); }
.toast { max-width: min(360px,calc(100% - 30px)); padding: 14px 20px; position: fixed; z-index: 10000; right: 24px; bottom: 24px; color: #111; background: var(--gold); border-radius: 5px; box-shadow: 0 12px 35px rgba(0,0,0,.5); font-size: 14px; font-weight: 600; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .25s ease,transform .25s ease,visibility .25s ease; }
.toast.visible { opacity: 1; visibility: visible; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { opacity: 1; transform: none; transition: none; }
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  color: #fff;
  transition: opacity .2s ease;
}

.brand:hover {
  opacity: .78;
}

.brand__logo {
  width: 162px;
  height: 70px;
  transition: width .3s ease,height .3s ease;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 1.55vw, 33px);
  white-space: nowrap;
}

.main-nav > a,
.action-link {
  font-size: clamp(15px, 1.05vw, 21px);
  line-height: 1;
  transition: color .2s ease, opacity .2s ease;
}

.main-nav > a:hover,
.action-link:hover {
  color: var(--gold);
}

.main-nav > a:not(.merch-link) {
  padding: 10px 0;
  position: relative;
}
.main-nav > a:not(.merch-link)::after {
  content: "";
  height: 2px;
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 50%;
  background: var(--gold);
  box-shadow: 0 0 9px rgba(242,182,0,.55);
  transition: right .25s ease, left .25s ease;
}
.main-nav > a.is-active { color: var(--gold); }
.main-nav > a.is-active::after { right: 0; left: 0; }

.sale-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sale-badge {
  padding: 4px 8px;
  color: #fff;
  background: #e62c35;
  border-radius: 2px;
  font-size: 15px;
  line-height: 1;
}

.merch-link {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.merch-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(25px, 2vw, 40px);
  white-space: nowrap;
}

.action-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.action-link svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count { min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; color: #111; background: var(--gold); border-radius: 10px; font-size: 12px; }

.search-modal { width: min(760px,calc(100% - 28px)); padding: 0; color: #fff; background: #171819; border: 1px solid rgba(250,180,0,.45); border-radius: 10px; box-shadow: 0 30px 90px #000; }
.search-modal::backdrop { background: rgba(0,0,0,.84); backdrop-filter: blur(5px); }
.search-modal__top { padding: 17px 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); }
.search-modal__top svg { width: 24px; fill: none; stroke: var(--gold); stroke-width: 2; }
.search-modal__top input { padding: 8px 0; color: #fff; background: none; border: 0; outline: 0; font-size: 20px; }
.search-modal__top button { color: #aaa; background: none; border: 0; font-size: 30px; cursor: pointer; }
.search-hint { padding: 45px 20px; color: #777; text-align: center; }
.search-results { max-height: 520px; overflow-y: auto; }
.search-result { padding: 13px 18px; display: grid; grid-template-columns: 88px 1fr auto; gap: 15px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.07); }
.search-result:hover { background: #222324; }
.search-result img { width: 88px; height: 65px; object-fit: cover; border-radius: 5px; }
.search-result span { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.search-result span strong { overflow: hidden; font-size: 15px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.search-result small { overflow: hidden; color: #888; text-overflow: ellipsis; white-space: nowrap; }
.search-result > b { color: var(--gold); white-space: nowrap; }

.language-button svg {
  fill: var(--gold);
  stroke: #171717;
  stroke-width: 1.35;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  margin: 5px 0;
  display: block;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 1450px) {
  .site-header {
    gap: 25px;
  }

  .brand__logo {
    width: 138px;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav > a,
  .action-link {
    font-size: 15px;
  }

  .sale-badge {
    font-size: 12px;
  }
}

/* Живой космический фон страницы входа */
.auth-page {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  background: #060708;
}
.auth-page::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: -5%;
  background:
    linear-gradient(90deg,rgba(3,5,7,.32),rgba(3,5,7,.62)),
    url("assets/plex-hero-official.png") center / cover no-repeat;
  filter: saturate(1.15) contrast(1.08);
  animation: auth-space-drift 10s ease-in-out infinite alternate;
}
.auth-page::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%,rgba(27,128,165,.28),transparent 32%),
    radial-gradient(circle at 78% 34%,rgba(217,87,26,.23),transparent 30%),
    radial-gradient(circle at 48% 85%,rgba(242,182,0,.14),transparent 26%);
  background-size: 135% 135%;
  mix-blend-mode: screen;
  animation: auth-nebula-flow 6s ease-in-out infinite alternate;
}
.auth-page .auth-layout {
  width: 80vw;
  min-height: 80vh;
  margin: 10vh auto;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(242,182,0,.16);
  border-radius: 14px;
  box-shadow: 0 28px 85px rgba(0,0,0,.52);
}
.auth-page .auth-art {
  background: linear-gradient(0deg,rgba(4,7,9,.74),rgba(4,7,9,.12));
  text-shadow: 0 2px 18px rgba(0,0,0,.75);
}
.auth-page .auth-card {
  color: #f3f3f1;
  background: linear-gradient(145deg,rgba(15,18,20,.94),rgba(8,10,12,.88));
  border-left: 1px solid rgba(242,182,0,.16);
  box-shadow: -25px 0 70px rgba(0,0,0,.4);
  backdrop-filter: blur(13px);
}
.auth-page .auth-form input[type="email"],
.auth-page .auth-form input[type="password"],
.auth-page .auth-form input[type="text"] {
  color: #fff;
  background: rgba(7,9,11,.82);
  border-color: rgba(255,255,255,.22);
}
.auth-page .auth-form > label:not([hidden]),.auth-page .auth-subtitle,.auth-page .auth-row { color: #aeb2b4; }

@keyframes auth-space-drift {
  from { transform: scale(1.03) translate3d(-1%,0,0); }
  to { transform: scale(1.1) translate3d(1.5%,-1%,0); }
}
@keyframes auth-nebula-flow {
  0% { background-position: 0% 20%; opacity: .62; filter: hue-rotate(0deg); }
  50% { opacity: .88; }
  100% { background-position: 100% 70%; opacity: .68; filter: hue-rotate(18deg); }
}

@media (max-width: 800px) {
  .auth-page .auth-layout {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
}

/* Редизайн: EVE Aurora */
:root {
  --gold: #63ddff;
  --white: #eef8ff;
  --muted: #a9bdcc;
}
body {
  background:
    radial-gradient(circle at 10% 0%,rgba(41,123,166,.22),transparent 28%),
    radial-gradient(circle at 90% 18%,rgba(111,68,177,.17),transparent 31%),
    #07111b;
}
.site-header {
  background: rgba(5,14,23,.86);
  border-bottom-color: rgba(99,221,255,.22);
  box-shadow: 0 10px 35px rgba(0,0,0,.25);
  backdrop-filter: blur(14px);
}
.main-nav > a:hover,.action-link:hover,.main-nav > a.is-active { color: var(--gold); }
.main-nav > a:not(.merch-link)::after { background: var(--gold); box-shadow: 0 0 12px rgba(99,221,255,.7); }
.storefront {
  background:
    radial-gradient(circle at 12% 14%,rgba(23,125,167,.16),transparent 26%),
    radial-gradient(circle at 86% 45%,rgba(103,54,163,.18),transparent 30%),
    linear-gradient(180deg,#0a1722,#07111b 48%,#08141f);
}
.hero-offer { border-color: rgba(99,221,255,.26); box-shadow: inset 0 0 100px rgba(3,23,40,.48),0 18px 48px rgba(0,0,0,.24); }
.offer-badge,.product-card__badge,.detail-badges span { background: #c94c6e; }
.category-card,.product-card,.detail-variant,.recent-card {
  background: linear-gradient(145deg,rgba(22,39,52,.94),rgba(11,24,36,.96));
  border-color: rgba(99,221,255,.13);
}
.category-card:hover,.product-card:hover,.recent-card:hover { border-color: rgba(99,221,255,.72); }
.category-card__icon { filter: hue-rotate(132deg) saturate(.8) brightness(1.18); }
.products-section__heading h2,.categories h2,.detail-composition h2,.recent-section > h2 { color: var(--white); }
.products-section__heading h2::before,.categories h2::before { background: var(--gold); }
.store-benefits {
  background: linear-gradient(105deg,rgba(12,36,51,.96),rgba(29,22,51,.94),rgba(9,31,43,.96));
  border-color: rgba(99,221,255,.22);
}
.store-benefit + .store-benefit { border-left-color: rgba(99,221,255,.14); }
.store-benefit__icon { color: var(--gold); background: rgba(99,221,255,.08); border-color: rgba(99,221,255,.38); }
.catalog-toolbar { background: linear-gradient(105deg,#102b3b,#201b38); border-left-color: var(--gold); }
.catalog-toolbar select,.promo-form input { background: #091722; border-color: #315367; }
.product-price strong,.hero-offer__price strong,.detail-price strong,.recent-card strong,.cart-total,.order-total strong { color: var(--gold); }
.site-footer { background: linear-gradient(145deg,#07121c,#050b12); border-top-color: rgba(99,221,255,.16); }
.detail-page,.checkout-page,.help-page,.account-page { background: radial-gradient(circle at 12% 0%,rgba(37,113,150,.22),transparent 30%),radial-gradient(circle at 90% 30%,rgba(95,48,145,.18),transparent 32%),#07111b; }
.detail-header { background: rgba(5,14,23,.9); border-bottom-color: rgba(99,221,255,.2); }
.detail-showcase,.detail-summary,.checkout-panel,.order-summary,.account-profile,.order-card,.orders-empty,.profile-settings,.favorites-empty,.support-form,.faq-list details,.search-modal,.cart-modal,.product-modal {
  background: linear-gradient(145deg,rgba(19,36,49,.97),rgba(10,23,35,.97));
  border-color: rgba(99,221,255,.16);
}
.detail-variant.active { background: rgba(34,93,117,.48); border-color: var(--gold); }
.detail-buy,.place-order,.checkout-button,.newsletter-form button { color: #04121a; background: var(--gold); }
.detail-buy:hover,.place-order:hover,.checkout-button:hover,.newsletter-form button:hover { background: #a9efff; }
.product-availability { background: rgba(46,160,148,.1); border-color: rgba(99,221,255,.3); }
.auth-page { background: #06111b; }
.auth-page .auth-card { background: linear-gradient(145deg,rgba(8,24,37,.95),rgba(13,17,36,.94)); border-left-color: rgba(99,221,255,.22); }
.auth-tabs button.active { color: var(--gold); border-bottom-color: var(--gold); }
.auth-submit { color: #04121a; background: var(--gold); }
.help-hero { background: linear-gradient(90deg,rgba(3,15,25,.9),rgba(35,18,61,.58)),url("assets/plex-hero-official.png") center/cover; }
.faq-list details[open] { border-color: rgba(99,221,255,.42); }
.faq-list details[open] summary,.faq-list summary span { color: var(--gold); }
.support-form button { color: #04121a; background: var(--gold); }
.newsletter-form input:focus,.checkout-panel input:focus,.auth-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(99,221,255,.1); }

@media (max-width: 1100px) {
  :root {
    --header-height: 96px;
  }

  .site-header {
    padding: 0 24px;
  }

  .brand__logo {
    width: 120px;
    height: auto;
  }

  .menu-toggle {
    margin-left: auto;
    display: block;
    order: 2;
  }

  .header-actions {
    margin-left: 0;
    order: 1;
  }

  .main-nav {
    padding: 24px;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    background: rgba(9, 10, 10, .98);
    border-top: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .3);
  }

  .main-nav--open {
    display: flex;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  #omega .product-grid {
    width: 100%;
  }

  .product-card,
  #omega .product-card {
    min-height: 390px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 82px;
    padding: 0 16px;
    gap: 12px;
  }

  .brand__logo {
    width: 95px;
  }

  .header-actions {
    gap: 14px;
  }

  .action-link span {
    display: none;
  }

  .menu-toggle {
    width: 38px;
  }

  .storefront {
    padding: 14px 14px 35px;
  }

  .hero-offer {
    min-height: 440px;
    background-position: 65% center;
  }

  .hero-offer::after {
    background: linear-gradient(0deg, rgba(7, 8, 9, .96) 0%, rgba(7, 8, 9, .62) 62%, rgba(7, 8, 9, .15) 100%);
  }

  .hero-offer__badges {
    top: 16px;
    left: 16px;
  }

  .offer-badge {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 15px;
  }

  .hero-offer__content {
    width: auto;
    right: 15px;
    bottom: 30px;
    left: 15px;
    top: auto;
    transform: none;
  }

  .hero-offer__content h1 {
    font-size: 34px;
  }

  .categories {
    padding-top: 55px;
  }

  .categories h2 {
    margin-bottom: 28px;
    font-size: 20px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    min-height: 150px;
    gap: 15px;
  }

  .category-card__icon {
    width: 48px;
    height: 48px;
  }

  .category-card span {
    font-size: 16px;
  }

  .products-section {
    padding-top: 70px;
  }

  .products-section__heading {
    margin-bottom: 28px;
  }

  .products-section__heading h2 {
    font-size: 22px;
  }

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

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

  .product-card,
  #omega .product-card {
    min-height: 360px;
  }

  .product-card__content h3 {
    min-height: 0;
    font-size: 20px;
  }
}

/* Aurora palette (final overrides) */
:root { --gold:#63ddff; --white:#eef8ff; --muted:#a9bdcc; }
body { background:#07111b; color:var(--white); }
.site-header,.detail-header { background:rgba(5,14,23,.9); border-color:rgba(99,221,255,.2); }
.storefront { background:radial-gradient(circle at 12% 14%,rgba(23,125,167,.16),transparent 26%),radial-gradient(circle at 86% 45%,rgba(103,54,163,.18),transparent 30%),linear-gradient(180deg,#0a1722,#07111b 48%,#08141f); }
.category-card,.product-card,.detail-variant,.recent-card { background:linear-gradient(145deg,rgba(22,39,52,.94),rgba(11,24,36,.96)); border-color:rgba(99,221,255,.13); }
.category-card:nth-child(even) { background:linear-gradient(145deg,rgba(22,39,52,.94),rgba(11,24,36,.96)); }
.category-card:hover,.product-card:hover,.recent-card:hover { border-color:rgba(99,221,255,.72); }
.products-section__heading h2,.categories h2,.detail-composition h2,.recent-section > h2 { color:var(--white); }
.products-section__heading h2::before,.categories h2::before { background:var(--gold); }
.product-price strong,.hero-offer__price strong,.detail-price strong,.recent-card strong,.cart-total,.order-total strong { color:var(--gold); }
.store-benefits { background:linear-gradient(105deg,rgba(12,36,51,.96),rgba(29,22,51,.94),rgba(9,31,43,.96)); border-color:rgba(99,221,255,.22); }
.catalog-toolbar { background:linear-gradient(105deg,#102b3b,#201b38); border-left-color:var(--gold); }
.detail-page,.checkout-page,.help-page,.account-page { background:radial-gradient(circle at 12% 0%,rgba(37,113,150,.22),transparent 30%),radial-gradient(circle at 90% 30%,rgba(95,48,145,.18),transparent 32%),#07111b; }
.detail-showcase,.detail-summary,.checkout-panel,.order-summary,.account-profile,.order-card,.orders-empty,.profile-settings,.favorites-empty,.support-form,.faq-list details,.search-modal,.cart-modal,.product-modal { background:linear-gradient(145deg,rgba(19,36,49,.97),rgba(10,23,35,.97)); border-color:rgba(99,221,255,.16); }
.detail-variant.active,.faq-list details[open] { background:rgba(34,93,117,.48); border-color:var(--gold); }
.detail-buy,.place-order,.checkout-button,.newsletter-form button,.support-form button { color:#04121a; background:var(--gold); }
.detail-buy:hover,.place-order:hover,.checkout-button:hover,.newsletter-form button:hover { background:#a9efff; }
.site-footer { background:linear-gradient(145deg,#07121c,#050b12); border-top-color:rgba(99,221,255,.16); }
.auth-page { background:#06111b; }
.auth-page .auth-card { background:linear-gradient(145deg,rgba(8,24,37,.95),rgba(13,17,36,.94)); border-left-color:rgba(99,221,255,.22); }
.auth-tabs button.active { color:var(--gold); border-bottom-color:var(--gold); }
.auth-submit { color:#04121a; background:var(--gold); }
.faq-list details[open] summary,.faq-list summary span { color:var(--gold); }

/* Final mobile footer containment */
@media (max-width: 599px) {
  .astranexus-footer {
    width: 100%;
    padding: 30px 18px 18px !important;
    overflow: hidden;
  }
  .astranexus-footer__main {
    width: 100%;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    grid-template-areas: "brand" "desc" "telegram" "nav" "support" !important;
    gap: 20px !important;
  }
  .astranexus-footer__brand,
  .astranexus-footer__main > p,
  .astranexus-footer__telegram,
  .astranexus-footer nav,
  .astranexus-footer__support {
    min-width: 0;
    max-width: 100%;
  }
  .astranexus-footer__brand strong {
    font-size: clamp(18px,6vw,22px);
    letter-spacing: 2px;
    overflow-wrap: anywhere;
  }
  .astranexus-footer nav {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px 18px;
  }
  .astranexus-footer__support a,
  .astranexus-footer nav a {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.45;
  }
  .astranexus-footer__bottom {
    width: 100%;
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 10px;
  }
}

/* Final phone product cards */
@media (max-width: 599px) {
  .product-grid,
  .product-grid--packs { grid-template-columns: 1fr !important; gap: 16px; }
  .product-card,
  #omega .product-card,
  #packs .product-card,
  #skills .product-card,
  #management .product-card,
  #mct .product-card {
    width: 100%;
    min-height: 0 !important;
    aspect-ratio: .96;
    border-radius: 12px;
  }
  .product-card__content,
  #omega .product-card__content,
  #packs .product-card__content,
  #skills .product-card__content,
  #management .product-card__content,
  #mct .product-card__content {
    min-height: 145px !important;
    padding: 16px 18px 20px !important;
    display: flex !important;
    align-items: flex-start !important;
    flex-direction: column !important;
    text-align: left !important;
  }
  .product-card__content h3,
  #omega .product-card__content h3,
  #packs .product-card__content h3,
  #skills .product-card__content h3,
  #management .product-card__content h3,
  #mct .product-card__content h3 {
    min-height: 42px !important;
    margin: 0 !important;
    color: #f4fbff;
    font-size: clamp(16px,5vw,20px) !important;
    font-weight: 600;
    line-height: 1.3;
  }
  .product-card__description {
    min-height: 0 !important;
    margin: 6px 0 0 !important;
    font-size: 13px !important;
    line-height: 1.35;
  }
  .product-price {
    width: 100%;
    margin-top: auto !important;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 12px;
  }
  .product-price strong { font-size: clamp(29px,9vw,38px) !important; }
  .product-price del { font-size: 12px; }
}

/* Checkout appearance */
body.checkout-page .checkout-main {
  max-width: 1450px;
  padding-top: 58px;
}
body.checkout-page .checkout-panel,
body.checkout-page .order-summary {
  background: linear-gradient(145deg, rgba(19,36,49,.97), rgba(10,23,35,.97));
  border-color: rgba(99,221,255,.2);
}
body.checkout-page .checkout-panel input[type="email"],
body.checkout-page .checkout-panel input[type="text"],
body.checkout-page .checkout-panel input[type="tel"] {
  color: #26323a;
  background: #f0f1f0;
  border-color: #9aa8ae;
}
body.checkout-page .payment-option {
  color: #26323a;
  background: #f0f1f0;
  border-color: #aab6ba;
}
body.checkout-page .payment-option small { color: #76838a; }
body.checkout-page .payment-option:has(input:checked) {
  background: #fff8dd;
  border-color: var(--gold);
}
body.checkout-page .place-order {
  color: #06131d;
  background: var(--gold);
}

body.help-page .help-hero {
  background-image:
    linear-gradient(90deg, rgba(3,13,24,.95), rgba(5,21,35,.72) 45%, rgba(8,15,29,.74)),
    url("assets/astranexus-hero-rifter.png") !important;
  background-position: center 42% !important;
  background-size: cover !important;
  border-top: 1px solid rgba(99,221,255,.2);
  border-bottom: 1px solid rgba(99,221,255,.2);
}
body.help-page .help-hero h1 { color: #eef8ff; text-shadow: 0 0 24px rgba(99,221,255,.25); }
body.help-page .help-hero > p { color: #a9bdcc; }

/* Tablet product-card alignment */
@media (min-width: 600px) and (max-width: 1100px) {
  #packs .product-card__content,
  #skills .product-card__content,
  #management .product-card__content,
  #mct .product-card__content {
    min-height: 170px;
    padding: 20px 12px 22px;
    display: grid;
    grid-template-rows: 58px 48px 42px;
    align-content: end;
    text-align: left;
  }
  #packs .product-card__content h3,
  #skills .product-card__content h3,
  #management .product-card__content h3,
  #mct .product-card__content h3 {
    min-height: 0;
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    line-height: 1.25;
  }
  #packs .product-card__description,
  #skills .product-card__description,
  #management .product-card__description,
  #mct .product-card__description {
    min-height: 0;
    margin: 0;
    align-self: center;
  }
  #packs .product-price,
  #skills .product-price,
  #management .product-price,
  #mct .product-price {
    align-self: end;
  }
}

/* Phone layout */
@media (max-width: 599px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .site-header { min-height: 72px; padding: 0 12px; gap: 9px; }
  .brand__logo { width: 88px; }
  .header-actions { gap: 8px; }
  .action-link { padding: 7px; }
  .action-link svg { width: 22px; height: 22px; }
  .cart-count { min-width: 18px; height: 18px; font-size: 10px; }
  .main-nav { padding: 20px 18px; gap: 18px; }
  .storefront { padding: 12px 12px 32px; }
  .hero-offer { min-height: 410px; border-radius: 12px; background-position: 62% center; }
  .hero-offer__content { right: 16px; bottom: 24px; left: 16px; text-align: left; }
  .hero-offer__content h1 { font-size: clamp(27px,8vw,34px); line-height: 1.05; }
  .hero-offer__content p { font-size: 15px; }
  .hero-offer__price strong { font-size: 34px; }
  .categories { padding-top: 45px; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .category-card { min-height: 132px; padding: 16px 8px; gap: 10px; }
  .category-card__icon { width: 42px; height: 42px; }
  .category-card span { font-size: 14px; text-align: center; }
  .products-section { padding-top: 54px; }
  .products-section__heading p { font-size: 14px; }
  .product-grid,.product-grid--packs { grid-template-columns: 1fr; gap: 16px; }
  .product-card,
  #omega .product-card,
  #packs .product-card,
  #skills .product-card,
  #management .product-card,
  #mct .product-card { min-height: 410px; border-radius: 12px; }
  .product-card__content,
  #packs .product-card__content,
  #skills .product-card__content,
  #management .product-card__content,
  #mct .product-card__content {
    min-height: 160px;
    padding: 18px 18px 22px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }
  .product-card__content h3 { min-height: 0; margin: 0 0 8px; font-size: 19px; }
  .product-card__description { min-height: 0; margin: 0; font-size: 14px; }
  .product-price { margin-top: auto; }
  .product-price strong { font-size: 32px; }
  .catalog-sort { width: 100%; }
  .detail-header { min-height: 72px; padding: 0 12px; gap: 10px; }
  .detail-logo { font-size: 22px; letter-spacing: 2px; }
  .detail-logo small { margin-top: 7px; font-size: 6px; letter-spacing: 3px; }
  .detail-cart-button { padding: 9px 10px; font-size: 0; }
  .detail-cart-button::before { content: "Корзина"; font-size: 12px; }
  .detail-main { padding: 18px 12px 50px; }
  .detail-image-wrap { height: 270px; }
  .detail-summary { padding: 18px; }
  .detail-composition,.recent-section { margin-top: 55px; }
  .recent-grid { grid-template-columns: 1fr; }
  .checkout-main { padding: 32px 12px 60px !important; }
  .checkout-main > h1 { margin-bottom: 26px; font-size: 25px; }
  .checkout-layout { grid-template-columns: 1fr; gap: 18px; }
  .order-summary { position: static; grid-row: 1; padding: 18px; }
  .checkout-panel { padding: 18px; }
  .place-order { min-height: 58px; }
  .astranexus-footer { padding: 32px 18px 18px; }
  .astranexus-footer__main { grid-template-columns: 1fr; grid-template-areas: "brand" "desc" "telegram" "nav" "support"; gap: 18px; }
  .astranexus-footer__bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .search-modal,.cart-modal { width: calc(100% - 20px); max-height: 88vh; }
}

/* Unified tablet layout for every product card */
@media (min-width: 600px) and (max-width: 1100px) {
  .product-grid,
  .product-grid--packs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .product-card,
  #omega .product-card,
  #packs .product-card,
  #skills .product-card,
  #management .product-card,
  #mct .product-card {
    min-height: 430px;
  }
  .product-card__content,
  #packs .product-card__content,
  #skills .product-card__content,
  #management .product-card__content,
  #mct .product-card__content {
    min-height: 185px;
    padding: 18px 24px 25px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }
  .product-card__content h3,
  #packs .product-card__content h3,
  #skills .product-card__content h3,
  #management .product-card__content h3,
  #mct .product-card__content h3 {
    min-height: 50px;
    margin: 0;
    display: block;
    color: #f4fbff;
    font-size: clamp(17px, 2.2vw, 22px);
    line-height: 1.3;
  }
  .product-card__description,
  #packs .product-card__description,
  #skills .product-card__description,
  #management .product-card__description,
  #mct .product-card__description {
    min-height: 38px;
    margin: 8px 0 0;
    font-size: clamp(13px, 1.7vw, 17px);
    line-height: 1.4;
  }
  .product-price,
  #packs .product-price,
  #skills .product-price,
  #management .product-price,
  #mct .product-price {
    margin-top: auto;
    align-self: flex-start;
  }
}

.category-card:hover,.category-card:focus,.category-card:focus-visible,.category-card:active {
  color:#eef8ff !important;
  background:linear-gradient(145deg,#162734,#0b1824) !important;
  border-color:rgba(99,221,255,.45) !important;
  box-shadow:0 12px 28px rgba(0,0,0,.22) !important;
}

/* Окончательно отключаем светлое состояние категорий */
.category-card:hover,
.category-card:focus,
.category-card:focus-visible,
.category-card:active {
  color: #eef8ff !important;
  background: linear-gradient(145deg,#162734,#0b1824) !important;
  border-color: rgba(99,221,255,.45) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.22) !important;
}
.search-modal__top input {
  color: #eafaff !important;
  caret-color: var(--gold);
}
.search-modal__top input::placeholder { color: #8ca5b4; opacity: 1; }
.search-hint { color: #b6c7d0 !important; }
.search-result span strong { color: #effaff; }
.search-result small { color: #91a8b5; }

/* Читаемость текста на фотографиях товаров */
.product-card__shade {
  background:
    linear-gradient(180deg,rgba(3,10,16,.02) 12%,rgba(3,9,15,.2) 38%,rgba(3,8,14,.86) 72%,rgba(2,6,11,.99) 100%);
}
.product-card__content {
  padding: 22px;
  background: linear-gradient(180deg,transparent,rgba(2,7,12,.36) 18%,rgba(2,7,12,.78) 100%);
  text-shadow: 0 2px 5px rgba(0,0,0,.8);
}
.product-card__content h3 {
  color: #f4fbff;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0,0,0,.95);
}
.product-card__description {
  color: #d5e0e6 !important;
  text-shadow: 0 2px 5px rgba(0,0,0,.95);
}
.product-price strong {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(99,221,255,.3),0 2px 4px rgba(0,0,0,.85);
}
.product-price del { color: #bdc7cd; text-shadow: 0 2px 4px #000; }
.product-card__badge { box-shadow: 0 3px 10px rgba(0,0,0,.4); }
.hero-offer {
  background-image: url("assets/astranexus-hero-rifter.png");
  background-position: center;
  background-size: cover;
}
.hero-offer::after {
  background: linear-gradient(90deg,rgba(3,10,18,.94) 0%,rgba(3,10,18,.7) 31%,rgba(3,10,18,.08) 57%,transparent 72%);
}

/* На исходных обложках множитель расположен слева — сохраняем его в кадре */
#skills .product-card > img,
#management .product-card > img,
#mct .product-card > img {
  object-position: left center;
}

/* Обложки наборов целиком остаются внутри рамки карточки */
#packs .product-card > img {
  object-fit: cover;
  object-position: center center;
  background: #07111b;
  transform: scale(.97);
}
#packs .product-card:hover > img { transform: scale(1); }

#management .product-card > img.product-card__image--alpha-combo {
  object-position: 60% center;
}

#management .product-card > img.product-card__image--alpha-injectors {
  object-position: 60% center;
}

.category-card:hover,
.category-card:focus,
.category-card:focus-visible,
.category-card:active {
  color: #eef8ff;
  background: linear-gradient(145deg,rgba(22,39,52,.94),rgba(11,24,36,.96));
  border-color: rgba(99,221,255,.72);
  box-shadow: 0 12px 28px rgba(0,0,0,.22),0 0 16px rgba(99,221,255,.1);
}

/* Единая геометрия всех товарных карточек */
.product-grid { align-items: stretch; }
.product-card { min-width: 0; }
.product-card__content {
  min-width: 0;
  min-height: 142px;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}
.product-card__content h3 {
  min-width: 0;
  min-height: 48px;
  margin-bottom: 10px;
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(14px,.94vw,18px);
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.product-card__description {
  min-height: 35px;
  margin: 0 0 9px;
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(11px,.67vw,13px);
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.product-price {
  min-width: 0;
  min-height: 43px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 10px;
}
.product-price strong {
  max-width: 100%;
  font-size: clamp(24px,1.65vw,34px);
  line-height: 1;
  white-space: nowrap;
}
.product-price del {
  max-width: 100%;
  font-size: clamp(10px,.68vw,14px);
  white-space: nowrap;
}
.product-price sup { font-size: .52em; vertical-align: super; }
.product-card__badge {
  max-width: calc(100% - 67px);
  overflow: hidden;
  font-size: clamp(10px,.66vw,13px);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-favorite { top: 13px; right: 13px; }

@media (max-width: 560px) {
  .product-card__content { min-height: 128px; padding: 17px; }
  .product-card__content h3 { min-height: 43px; font-size: 15px; }
  .product-price strong { font-size: 27px; }
}


.astranexus-footer {
  padding: 38px clamp(22px,4vw,70px) 20px;
  color: #aac0cf;
  background:
    radial-gradient(circle at 15% 20%,rgba(46,137,173,.14),transparent 28%),
    linear-gradient(145deg,#081a28,#080f19);
  border-top: 1px solid rgba(99,221,255,.2);
}
.astranexus-footer__main {
  display: grid;
  grid-template-columns: 1.25fr 1fr .8fr;
  grid-template-areas:
    "brand nav support"
    "desc nav support"
    "telegram nav support";
  align-items: start;
  gap: clamp(22px,4vw,70px);
}
.astranexus-footer__brand { display: inline-flex; align-items: center; gap: 11px; color: #eafaff; text-decoration: none; }
.astranexus-footer__brand { grid-area: brand; }
.astranexus-footer__glyph {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #06131d;
  background: var(--gold);
  border-radius: 11px 3px 11px 3px;
  box-shadow: 0 0 18px rgba(99,221,255,.28);
  font-size: 22px;
}
.astranexus-footer__brand strong,.astranexus-footer__brand small { display: block; }
.astranexus-footer__brand strong { font-family: "Rajdhani",sans-serif; font-size: 22px; letter-spacing: 3px; }
.astranexus-footer__brand small { margin-top: 2px; color: var(--gold); font-size: 8px; letter-spacing: 4px; }
.astranexus-footer__main > p { grid-area: desc; margin: 3px 0 0; color: #77909f; font-size: 12px; line-height: 1.6; }
.astranexus-footer__telegram {
  grid-area: telegram;
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 8px 15px;
  color: #c9f4ff;
  border: 1px solid rgba(99,221,255,.28);
  border-radius: 7px;
  font-size: 12px;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.astranexus-footer__telegram:hover { color: #06131d; background: var(--gold); border-color: var(--gold); }
.astranexus-footer nav { grid-area: nav; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.astranexus-footer nav a,.astranexus-footer__support a { color: #c8dae4; font-size: 13px; text-decoration: none; }
.astranexus-footer nav a:hover,.astranexus-footer__support a:hover { color: var(--gold); }
.astranexus-footer__support { grid-area: support; display: flex; flex-direction: column; gap: 8px; }
.astranexus-footer__support span { color: #718a99; font-size: 12px; }
.astranexus-footer__support a { color: var(--gold); font-weight: 600; }
.astranexus-footer__bottom {
  margin-top: 31px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #5f7887;
  border-top: 1px solid rgba(99,221,255,.12);
  font-size: 11px;
}
.astranexus-footer__bottom a { color: #9cdff0; text-decoration: none; }
.astranexus-footer__bottom a:hover { color: #fff; }
.legal-page { min-height: 100vh; background: radial-gradient(circle at 12% 0%,rgba(37,113,150,.22),transparent 30%),radial-gradient(circle at 90% 30%,rgba(95,48,145,.18),transparent 32%),#07111b; color: var(--white); }
.legal-shell { width: min(980px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 80px; }
.legal-back { color: var(--gold); text-decoration: none; }
.legal-card { margin-top: 28px; padding: clamp(24px,4vw,54px); background: linear-gradient(145deg,rgba(19,36,49,.97),rgba(10,23,35,.97)); border: 1px solid rgba(99,221,255,.2); border-radius: 16px; }
.legal-card h1 { margin: 0; font-family: "Rajdhani",sans-serif; font-size: clamp(30px,4vw,48px); text-transform: uppercase; }
.legal-card h2 { margin: 32px 0 10px; color: var(--gold); font-size: 20px; }
.legal-card p { color: #b8cbd6; font-size: 15px; line-height: 1.7; }
.legal-card .legal-date { color: #7f9aaa; margin-top: 8px; }

@media (max-width: 800px) {
  .astranexus-footer__main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .astranexus-footer__main { grid-template-columns: 1fr; gap: 22px; }
  .astranexus-footer__bottom { align-items: flex-start; flex-direction: column; }
}

/* Новый фирменный знак и анимации NEXUS */
.brand__logo {
  width: 265px;
  height: 70px;
  overflow: visible;
  color: #eafaff;
  filter: drop-shadow(0 0 7px rgba(99,221,255,.18));
  transition: width .3s ease,filter .3s ease;
}
.brand:hover .brand__logo { filter: drop-shadow(0 0 12px rgba(99,221,255,.65)); }
.brand__emblem {
  color: var(--gold);
  transform-box: fill-box;
  transform-origin: center;
  animation: nexus-emblem-pulse 3.2s ease-in-out infinite;
}
.site-header--compact .brand__logo { width: 220px; height: 58px; }
.detail-logo {
  color: #eafaff;
  font-size: 37px;
  letter-spacing: 7px;
  text-shadow: 0 0 16px rgba(99,221,255,.28);
}
.detail-logo small { color: var(--gold); font-size: 8px; letter-spacing: 5px; }

.page-transition {
  background:
    radial-gradient(circle at center,rgba(34,105,137,.3),transparent 28%),
    linear-gradient(145deg,#06121d,#0b0b1d);
}
.page-transition span {
  color: #e9faff;
  font-size: clamp(45px,7vw,95px);
  letter-spacing: 18px;
  text-shadow: 0 0 25px rgba(99,221,255,.55);
}
.page-is-leaving .page-transition span { animation: nexus-loader-pulse .7s ease-in-out infinite alternate; }
.page-transition i { height: 2px; background: rgba(99,221,255,.13); }
.page-transition i::after { background: linear-gradient(90deg,#5578ff,#63ddff,#ba70ff); box-shadow: 0 0 18px rgba(99,221,255,.85); }
.page-transition b { color: #8edff5; }

@keyframes nexus-emblem-pulse {
  0%,100% { opacity: .78; transform: rotate(0deg) scale(.96); }
  50% { opacity: 1; transform: rotate(3deg) scale(1.04); }
}
@keyframes nexus-loader-pulse {
  from { opacity: .55; transform: scale(.96); filter: blur(.2px); }
  to { opacity: 1; transform: scale(1.025); filter: blur(0); }
}

@media (max-width: 560px) {
  .brand__logo { width: 190px; height: 54px; }
  .detail-logo { font-size: 20px; letter-spacing: 2px; }
}

/* Финальный сброс экспериментальной светлой палитры */
body { background: #0b0c0d; color: #f3f3f1; }
.storefront { background: radial-gradient(circle at 52% -10%, rgba(118,58,12,.24), transparent 33%), #0d0e0f; }
.categories h2,.products-section__heading h2 { color: #f3f3f1; }
.products-section__heading p { color: #bdbdbd; }
.category-card,.category-card:nth-child(even) { color: #f3f3f1; background: #202020; border-color: transparent; box-shadow: none; }
.detail-page,.checkout-page,.account-page,.help-page { color: #f3f3f1; background: #0b0c0d; }
.detail-showcase,.detail-summary,.checkout-panel,.order-summary,.account-profile,.order-card,.orders-empty,.profile-settings,.favorites-empty,.support-form,.faq-list details { color: inherit; background: #191a1b; border-color: rgba(255,255,255,.09); box-shadow: none; }
.auth-page { background: #0b0c0d; }
.auth-card { color: #f3f3f1; background: #121314; }
.search-modal,.cart-modal,.product-modal { color: #f3f3f1; background: #191a1b; }

/* Контрастный текст центра поддержки */
.faq-section > h2,.support-form-section h2 { color: #f4f4f2; }
.faq-list summary {
  color: #f0f0ed;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1px;
}
.faq-list details:hover summary { color: #fff; }
.faq-list details[open] {
  background: #1d1f20;
  border-color: rgba(242,182,0,.36);
}
.faq-list details[open] summary {
  color: var(--gold);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.faq-list details p {
  color: #c5c5c1;
  font-size: 14px;
  line-height: 1.65;
}

/* Страница отдельного товара */
.detail-page { min-height: 100vh; background: radial-gradient(circle at 45% 0, #443024 0, #160b0a 32%, #0b0c0d 72%); animation: page-enter .45s ease both; }
@keyframes page-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.detail-header { min-height: 108px; padding: 0 clamp(25px,2.8vw,58px); display: flex; align-items: center; gap: 35px; background: rgba(9,9,10,.9); border-bottom: 1px solid rgba(255,255,255,.08); }
.detail-logo { color: #fff; font-family: "Rajdhani",sans-serif; font-size: 49px; font-weight: 600; letter-spacing: 5px; line-height: .65; }
.detail-logo small { display: block; margin-top: 12px; font-size: 9px; letter-spacing: 8px; text-align: center; }
.detail-back { margin-left: 25px; color: #bbb; font-size: 17px; }
.detail-back:hover { color: var(--gold); }
.detail-cart-button { margin-left: auto; padding: 12px 18px; color: #fff; background: #202020; border: 1px solid #444; border-radius: 4px; cursor: pointer; }
.detail-cart-button span { margin-left: 7px; color: #111; background: var(--gold); padding: 2px 7px; border-radius: 10px; }
.detail-main { padding: 58px clamp(25px,2.8vw,58px) 90px; }
.breadcrumbs { margin: -22px 0 25px; display: flex; align-items: center; gap: 9px; color: #777; font-size: 12px; }
.breadcrumbs a { color: #aaa; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs b { max-width: min(520px,45vw); overflow: hidden; color: #ddd; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.detail-product { display: grid; grid-template-columns: minmax(0,2.1fr) minmax(330px,1fr); gap: 26px; }
.detail-showcase { overflow: hidden; background: #202020; border-radius: 12px; }
.detail-image-wrap { height: clamp(340px,25.7vw,515px); position: relative; }
.detail-image-wrap::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(100deg,#171819 20%,#2a2b2c 40%,#171819 60%); background-size: 220% 100%; opacity: 0; visibility: hidden; transition: opacity .25s ease,visibility .25s ease; }
.detail-image-wrap.is-loading::after { opacity: 1; visibility: visible; animation: image-shimmer 1.15s linear infinite; }
.detail-image { width: 100%; height: 100%; display: block; object-fit: cover; opacity: 0; transform: scale(1.015); transition: opacity .45s ease,transform .65s ease; }
.detail-image.is-loaded { opacity: 1; transform: scale(1); }
.detail-image-wrap--backdrop {
  background: radial-gradient(circle at center, #102b42 0, #071523 48%, #030a12 100%);
}
.detail-image.detail-image--contain {
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.42));
  -webkit-mask-image: radial-gradient(ellipse 61% 78% at center, #000 58%, rgba(0,0,0,.92) 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 61% 78% at center, #000 58%, rgba(0,0,0,.92) 70%, transparent 100%);
}
@keyframes image-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.detail-badges { position: absolute; z-index: 2; top: 24px; left: 24px; }
.detail-badges span { padding: 9px 13px; color: #fff; background: #df2634; border-radius: 4px; font-weight: 600; }
.detail-summary { min-height: 129px; padding: 23px 32px; display: flex; align-items: center; justify-content: space-between; gap: 21px; }
.detail-summary h1 { margin: 0; font-family: "Rajdhani",sans-serif; font-size: clamp(28px,2.24vw,46px); font-weight: 500; text-transform: uppercase; }
.detail-summary p { max-width: 720px; margin: 7px 0 0; color: #bbb; font-size: 14px; line-height: 1.45; }
.detail-price { display: flex; align-items: flex-end; flex-direction: column; white-space: nowrap; }
.detail-price strong { color: var(--gold); font-family: "Rajdhani",sans-serif; font-size: clamp(32px,2.5vw,50px); }
.detail-price del { color: #999; font-size: 17px; }
.detail-sidebar { min-height: 0; display: flex; flex-direction: column; gap: 18px; }
.detail-variants { max-height: 590px; padding-right: 7px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.detail-variant { min-height: 96px; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #bbb; background: #202020; border: 1px solid transparent; border-radius: 10px; text-align: left; cursor: pointer; }
.detail-variant.active { color: #fff; background: #3b290b; border-color: var(--gold); }
.detail-variant span { display: flex; align-items: flex-start; flex-direction: column; gap: 5px; font-family: "Rajdhani",sans-serif; font-size: 19px; font-weight: 500; text-transform: uppercase; }
.detail-variant b { padding: 3px 6px; color: #fff; background: #df2634; border-radius: 3px; font-family: "Inter",sans-serif; font-size: 10px; }
.detail-variant del { color: #888; font-family: "Inter",sans-serif; font-size: 12px; }
.detail-variant > strong { color: var(--gold); font-family: "Rajdhani",sans-serif; font-size: 24px; white-space: nowrap; }
.product-availability { padding: 13px 16px; display: flex; align-items: center; gap: 11px; color: #ddd; background: rgba(61,143,84,.09); border: 1px solid rgba(85,184,111,.3); border-radius: 7px; }
.product-availability i { width: 9px; height: 9px; flex: 0 0 9px; background: #59c678; border-radius: 50%; box-shadow: 0 0 10px rgba(89,198,120,.65); }
.product-availability span,.product-availability strong,.product-availability small { display: block; }
.product-availability strong { color: #8bd79e; font-size: 12px; }
.product-availability small { margin-top: 2px; color: #999; font-size: 10px; }
.detail-buy { min-height: 100px; margin-top: auto; color: #111; background: var(--gold); border: 0; font-size: 21px; font-weight: 700; cursor: pointer; }
.detail-buy:hover { background: #ffc72b; }
.favorite-button { width: calc(100% - 64px); margin: 0 32px 21px; padding: 11px; color: #bbb; background: transparent; border: 1px solid #555; font-size: 13px; font-weight: 600; cursor: pointer; }
.favorite-button:hover,.favorite-button.active { color: var(--gold); border-color: var(--gold); }
.detail-composition { margin-top: 105px; }
.detail-composition h2 { margin: 0 0 25px; padding-left: 20px; border-left: 2px solid var(--gold); font-size: 27px; font-weight: 400; }
.detail-full-description { max-width: 900px; color: #aaa; font-size: 18px; line-height: 1.6; }
.recent-section { margin-top: 90px; }
.recent-section > h2 { margin: 0 0 25px; padding-left: 18px; border-left: 2px solid var(--gold); font-size: 27px; font-weight: 500; }
.recent-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.recent-card { overflow: hidden; background: #191a1b; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; transition: transform .2s ease,border-color .2s ease; }
.recent-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.recent-card img { width: 100%; aspect-ratio: 1.45; display: block; object-fit: cover; }
.recent-card div { padding: 15px; }
.recent-card h3 { min-height: 40px; margin: 0 0 9px; font-size: 15px; font-weight: 500; }
.recent-card strong { color: var(--gold); font-size: 20px; }

@media (max-width: 1000px) {
  .detail-product { grid-template-columns: 1fr; }
  .detail-variants { max-height: 390px; }
  .detail-buy { min-height: 75px; }
}

@media (max-width: 600px) {
  .detail-header { min-height: 82px; padding: 0 16px; gap: 15px; }
  .detail-logo { font-size: 32px; }
  .breadcrumbs { margin-top: 0; }
  .breadcrumbs b { max-width: 48vw; }
  .detail-back { margin-left: 0; font-size: 0; }
  .detail-back::after { content: "← Назад"; font-size: 14px; }
  .detail-main { padding: 18px 14px 55px; }
  .detail-image-wrap { height: 320px; }
  .detail-summary { padding: 22px; align-items: flex-start; flex-direction: column; }
  .detail-summary h1 { font-size: 30px; }
  .detail-variant { min-height: 82px; padding: 14px; }
  .detail-variant span { font-size: 18px; }
  .detail-variant > strong { font-size: 23px; }
  .detail-composition { margin-top: 65px; }
  .recent-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Оформление заказа */
.checkout-page { min-height: 100vh; background: radial-gradient(circle at 50% 0,#35251b 0,#101112 38%,#090a0b 100%); }
.checkout-main { max-width: 1450px; margin: 0 auto; padding: 65px 30px 100px; }
.checkout-main > h1 { margin: 0 0 42px; padding-left: 20px; border-left: 2px solid var(--gold); font-size: clamp(29px,2vw,40px); font-weight: 400; }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(360px,.75fr); gap: 35px; align-items: start; }
.checkout-form { display: flex; flex-direction: column; gap: 22px; }
.checkout-panel,.order-summary { padding: 30px; background: #191a1b; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; }
.checkout-panel h2,.order-summary > h2 { margin: 0 0 28px; font-size: 21px; font-weight: 500; }
.checkout-panel h2 span { width: 31px; height: 31px; margin-right: 10px; display: inline-grid; place-items: center; color: #111; background: var(--gold); border-radius: 50%; }
.checkout-panel > label:not(.payment-option) { margin-bottom: 18px; display: flex; flex-direction: column; gap: 9px; color: #bbb; font-size: 14px; }
.checkout-panel input[type="email"],.checkout-panel input[type="text"],.checkout-panel input[type="tel"] { width: 100%; padding: 15px 16px; color: #fff; background: #101112; border: 1px solid #3b3b3b; border-radius: 4px; outline: none; }
.checkout-panel input:focus { border-color: var(--gold); }
.payment-option { min-height: 78px; margin-top: 12px; padding: 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 13px; align-items: center; background: #111213; border: 1px solid #393939; border-radius: 5px; cursor: pointer; }
.payment-option:has(input:checked) { border-color: var(--gold); }
.payment-option input { grid-row: 1 / 3; accent-color: var(--gold); }
.payment-option b { font-size: 16px; font-weight: 500; }
.payment-option small { color: #888; }
.checkout-consent { color: #999; font-size: 13px; }
.checkout-consent input { margin-right: 8px; accent-color: var(--gold); }
.place-order { min-height: 66px; color: #111; background: var(--gold); border: 0; font-size: 18px; font-weight: 700; cursor: pointer; }
.place-order span { margin-left: 10px; }
.place-order:disabled { opacity: .4; cursor: not-allowed; }
.order-summary { position: sticky; top: 20px; }
.order-items { max-height: 460px; overflow-y: auto; }
.order-item { padding: 14px 0; display: grid; grid-template-columns: 92px 1fr; gap: 15px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.08); }
.order-item img { width: 92px; height: 72px; object-fit: cover; border-radius: 5px; }
.order-item h3 { margin: 0 0 8px; font-size: 14px; font-weight: 500; }
.order-item strong { color: var(--gold); }
.order-empty { padding: 45px 0; color: #777; text-align: center; }
.order-total { padding-top: 25px; display: flex; align-items: center; justify-content: space-between; font-size: 20px; }
.order-total strong { color: var(--gold); font-family: "Rajdhani",sans-serif; font-size: 34px; }
.success-modal { width: min(470px,calc(100% - 30px)); padding: 45px 35px; color: #fff; background: #191a1b; border: 1px solid var(--gold); border-radius: 10px; text-align: center; }
.success-modal::backdrop { background: rgba(0,0,0,.85); }
.success-icon { width: 65px; height: 65px; margin: 0 auto 20px; display: grid; place-items: center; color: #111; background: var(--gold); border-radius: 50%; font-size: 36px; }
.success-modal h2 { margin: 0 0 12px; font-size: 27px; }
.success-modal p { margin: 0 0 28px; color: #aaa; line-height: 1.5; }
.success-modal a { padding: 14px 22px; display: inline-block; color: #111; background: var(--gold); font-weight: 700; }

/* Компактное оформление заказа */
.checkout-main { padding-top: 55px; padding-bottom: 85px; }
.checkout-main > h1 { margin-bottom: 35px; font-size: clamp(25px,1.7vw,34px); }
.checkout-layout { gap: 30px; }
.checkout-panel,.order-summary { padding: 25px; }
.checkout-panel h2,.order-summary > h2 { margin-bottom: 23px; font-size: 18px; }
.checkout-panel h2 span { width: 27px; height: 27px; }
.checkout-panel > label:not(.payment-option) { margin-bottom: 15px; gap: 7px; font-size: 13px; }
.checkout-panel input[type="email"],.checkout-panel input[type="text"],.checkout-panel input[type="tel"] { padding: 13px 14px; }
.payment-option { min-height: 66px; padding: 13px; }
.place-order { min-height: 56px; font-size: 16px; }
.order-item { grid-template-columns: 78px 1fr; gap: 13px; }
.order-item img { width: 78px; height: 61px; }
.order-item h3 { font-size: 13px; }
.order-total { padding-top: 20px; font-size: 18px; }
.order-total strong { font-size: 29px; }

@media (max-width: 850px) {
  .checkout-main { padding: 35px 16px 65px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; grid-row: 1; }
}

/* Авторизация */
.auth-page { min-height: 100vh; background: #090a0b; }
.auth-back { position: fixed; z-index: 3; top: 25px; left: 28px; color: #ccc; font-size: 14px; }
.auth-back:hover { color: var(--gold); }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(360px,1.15fr) minmax(420px,.85fr); }
.auth-art { padding: clamp(55px,6vw,110px); display: flex; justify-content: space-between; flex-direction: column; background: linear-gradient(0deg,rgba(6,6,7,.72),rgba(6,6,7,.18)),url("assets/plex-hero-official.png") center/cover; }
.auth-brand { font-family: "Rajdhani",sans-serif; font-size: 70px; font-weight: 600; letter-spacing: 7px; }
.auth-brand small { display: block; font-size: 11px; letter-spacing: 12px; }
.auth-art h1 { max-width: 650px; margin: 0 0 15px; font-family: "Rajdhani",sans-serif; font-size: clamp(42px,4vw,75px); font-weight: 500; }
.auth-art p { max-width: 600px; margin: 0; color: #ccc; font-size: 18px; line-height: 1.6; }
.auth-card { padding: 70px clamp(35px,5vw,90px); display: flex; justify-content: center; flex-direction: column; background: #121314; }
.auth-tabs { margin-bottom: 48px; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #393939; }
.auth-tabs button { padding: 16px; color: #777; background: none; border: 0; border-bottom: 2px solid transparent; font-weight: 600; cursor: pointer; }
.auth-tabs button.active { color: var(--gold); border-bottom-color: var(--gold); }
.auth-form h2 { margin: 0 0 8px; font-size: 30px; font-weight: 500; }
.auth-subtitle { margin: 0 0 35px; color: #888; }
.auth-form > label:not([hidden]) { margin-bottom: 19px; display: flex; flex-direction: column; gap: 9px; color: #aaa; font-size: 14px; }
.auth-form input[type="email"],.auth-form input[type="password"],.auth-form input[type="text"] { padding: 15px 16px; color: #fff; background: #090a0b; border: 1px solid #3b3b3b; border-radius: 4px; outline: none; }
.auth-form input:focus { border-color: var(--gold); }
.auth-row { margin: 4px 0 22px; display: flex; justify-content: space-between; color: #888; font-size: 13px; }
.auth-row a { color: #aaa; }
.auth-row input { accent-color: var(--gold); }
.auth-error { min-height: 20px; margin: 0 0 10px; color: #ed4048; font-size: 13px; }
.auth-submit { width: 100%; padding: 17px; color: #111; background: var(--gold); border: 0; font-size: 17px; font-weight: 700; cursor: pointer; }
.auth-submit:hover { background: #ffc72b; }

@media (max-width: 800px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-art { min-height: 330px; padding: 75px 25px 35px; }
  .auth-brand { font-size: 45px; }
  .auth-card { padding: 45px 24px 70px; }
}

/* Личный кабинет */
.account-page { min-height: 100vh; background: radial-gradient(circle at 20% 0,#292018 0,#101112 30%,#090a0b 100%); }
.account-logout { margin-left: auto; padding: 11px 18px; color: #ccc; background: #202020; border: 1px solid #444; cursor: pointer; }
.account-main { max-width: 1450px; margin: 0 auto; padding: 60px 30px 100px; display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.account-profile { padding: 32px 24px; align-self: start; position: sticky; top: 20px; background: #191a1b; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; text-align: center; }
.account-avatar { width: 82px; height: 82px; margin: 0 auto 18px; display: grid; place-items: center; color: #111; background: linear-gradient(135deg,var(--gold),#d77b00); border-radius: 50%; font-family: "Rajdhani",sans-serif; font-size: 44px; font-weight: 600; }
.account-profile h1 { margin: 0 0 6px; font-size: 22px; font-weight: 500; }
.account-profile > p { margin: 0 0 30px; overflow: hidden; color: #888; font-size: 13px; text-overflow: ellipsis; }
.account-profile nav { display: flex; flex-direction: column; text-align: left; }
.account-profile nav a { padding: 13px 14px; color: #999; border-left: 2px solid transparent; }
.account-profile nav a:hover,.account-profile nav a.active { color: #fff; background: #222; border-left-color: var(--gold); }
.account-content { min-width: 0; }
.account-heading { margin-bottom: 28px; display: flex; align-items: center; justify-content: space-between; }
.account-heading h2,.profile-settings h2 { margin: 0 0 7px; font-size: 28px; font-weight: 500; }
.account-heading p { margin: 0; color: #888; }
.account-heading > a,.orders-empty a { padding: 12px 17px; color: #111; background: var(--gold); font-size: 13px; font-weight: 700; }
.orders-list { display: grid; gap: 16px; }
.order-card { overflow: hidden; background: #191a1b; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; }
.order-card__top { padding: 16px 20px; display: flex; justify-content: space-between; background: #202122; }
.order-card__top div { display: flex; flex-direction: column; gap: 4px; }
.order-card__top small { color: #888; }
.order-card__top span { align-self: center; padding: 6px 10px; color: #57c574; background: rgba(46,185,84,.13); border-radius: 4px; font-size: 12px; }
.order-card__body { padding: 18px 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }
.order-previews { display: flex; }
.order-previews img { width: 70px; height: 55px; margin-right: -9px; object-fit: cover; border: 2px solid #191a1b; border-radius: 5px; }
.order-card__body p { color: #888; }
.order-card__body > strong { color: var(--gold); font-family: "Rajdhani",sans-serif; font-size: 27px; }
.repeat-order {
  padding: 10px 13px;
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(242,182,0,.55);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  grid-column: 1 / -1;
  justify-self: end;
  transition: color .2s ease,background .2s ease;
}
.repeat-order:hover { color: #111; background: var(--gold); }
.orders-empty { padding: 70px 25px; background: #191a1b; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; text-align: center; }
.orders-empty strong { font-size: 22px; }
.orders-empty p { margin: 10px 0 28px; color: #888; }
.profile-settings { margin-top: 65px; padding: 28px; background: #191a1b; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; }
.favorites-section { margin-top: 65px; }
.favorites-section > h2 { margin: 0 0 22px; font-size: 28px; font-weight: 500; }
.favorites-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.favorite-card { position: relative; overflow: hidden; background: #191a1b; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; }
.favorite-card a { display: block; }
.favorite-card img { width: 100%; aspect-ratio: 1.45; display: block; object-fit: cover; }
.favorite-card div { padding: 15px; }
.favorite-card h3 { min-height: 38px; margin: 0 0 8px; font-size: 14px; font-weight: 500; }
.favorite-card strong { color: var(--gold); font-size: 19px; }
.favorite-card > button { width: 30px; height: 30px; position: absolute; top: 8px; right: 8px; color: #fff; background: rgba(0,0,0,.72); border: 0; border-radius: 50%; font-size: 20px; cursor: pointer; }
.favorites-empty { padding: 45px; color: #777; background: #191a1b; text-align: center; }
.profile-settings form { max-width: 620px; display: grid; gap: 18px; }
.profile-settings label { display: flex; flex-direction: column; gap: 8px; color: #999; font-size: 13px; }
.profile-settings input { padding: 14px 15px; color: #fff; background: #101112; border: 1px solid #3b3b3b; }
.profile-settings button { padding: 14px; color: #111; background: var(--gold); border: 0; font-weight: 700; cursor: pointer; }

@media (max-width: 760px) {
  .account-main { padding: 30px 16px 70px; grid-template-columns: 1fr; }
  .account-profile { position: static; }
  .order-card__body { grid-template-columns: 1fr auto; }
  .repeat-order { grid-column: 1 / -1; }
  .order-previews { grid-column: 1 / -1; }
  .favorites-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Центр поддержки */
.help-page { min-height: 100vh; background: #0b0c0d; }
.help-hero { padding: 85px 25px 75px; background: linear-gradient(90deg,rgba(0,0,0,.88),rgba(38,20,9,.58)),url("assets/plex-hero-official.png") center/cover; text-align: center; }
.help-hero h1 { margin: 0 0 10px; font-family: "Rajdhani",sans-serif; font-size: clamp(42px,4vw,70px); font-weight: 500; }
.help-hero > p { margin: 0 0 30px; color: #bbb; font-size: 18px; }
.help-hero label { width: min(650px,100%); margin: auto; padding: 0 18px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 5px; }
.help-hero svg { width: 23px; fill: none; stroke: #555; stroke-width: 2; }
.help-hero input { width: 100%; padding: 17px 0; color: #111; background: none; border: 0; outline: 0; font-size: 16px; }
.help-main { max-width: 1200px; margin: auto; padding: 75px 25px 100px; }
.faq-section > h2,.support-form-section h2 { margin: 0 0 28px; padding-left: 18px; border-left: 2px solid var(--gold); font-size: 28px; font-weight: 500; }
.faq-list { display: grid; gap: 11px; }
.faq-list details { background: #191a1b; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; }
.faq-list summary { padding: 20px 22px; display: flex; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--gold); font-size: 24px; line-height: .7; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 22px 22px; color: #999; line-height: 1.6; }
.support-form-section { margin-top: 80px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; }
.support-form-section > div p { color: #888; line-height: 1.6; }
.support-form { padding: 28px; display: grid; gap: 18px; background: #191a1b; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; }
.support-form label { display: flex; flex-direction: column; gap: 8px; color: #aaa; font-size: 13px; }
.support-form input,.support-form select,.support-form textarea { padding: 14px; color: #fff; background: #101112; border: 1px solid #3c3c3c; outline: none; resize: vertical; }
.support-form input:focus,.support-form select:focus,.support-form textarea:focus { border-color: var(--gold); }
.support-form button { padding: 16px; color: #111; background: var(--gold); border: 0; font-weight: 700; cursor: pointer; }
.support-success { margin: 0; color: #57c574; font-size: 13px; }

@media (max-width: 750px) {
  .help-hero { padding: 60px 16px; }
  .help-main { padding: 50px 16px 70px; }
  .support-form-section { grid-template-columns: 1fr; gap: 20px; }
}

/* Умеренно светлая космическая тема */
:root { --light-bg:#c9cdd0; --light-panel:#e2e3e2; --light-panel-alt:#d3d6d8; --light-text:#202226; --light-muted:#65696e; --light-border:#aeb3b6; }
body {
  background:
    radial-gradient(circle at 12% 10%,rgba(91,123,138,.24),transparent 28%),
    radial-gradient(circle at 88% 32%,rgba(154,91,42,.2),transparent 31%),
    #bfc3c5;
  color: var(--light-text);
}
.site-header { color: #f5f5f3; }
.storefront {
  background:
    linear-gradient(135deg,rgba(21,36,43,.13),transparent 38%),
    radial-gradient(circle at 74% 12%,rgba(185,110,45,.2),transparent 27%),
    linear-gradient(180deg,#c9ced0 0,#e0dfdc 38%,#bfc4c6 100%);
}
.categories h2,.products-section__heading h2 { color: var(--light-text); }
.products-section__heading p { color: var(--light-muted); }
.category-card { color: var(--light-text); background: linear-gradient(145deg,#162734,#0b1824); border-color: rgba(99,221,255,.13); box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.category-card:nth-child(even) { background: linear-gradient(145deg,#162734,#0b1824); }
.category-card:hover { background: linear-gradient(145deg,#162734,#0b1824); border-color: rgba(99,221,255,.45); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.product-card { box-shadow: 0 14px 30px rgba(22,28,34,.17); }
.site-footer { color: #f3f3f1; background: linear-gradient(145deg,#17191c,#090a0b); }

.detail-page,.checkout-page,.account-page,.help-page { color: var(--light-text); background: radial-gradient(circle at 15% 8%,rgba(43,72,84,.22),transparent 28%),radial-gradient(circle at 88% 24%,rgba(145,77,35,.18),transparent 28%),linear-gradient(145deg,#c0c5c7,#dddcd8 46%,#b8bec1); }
.detail-header { color: #fff; background: linear-gradient(90deg,#111315,#27211c,#111315); }
.detail-showcase { background: #d7d9d9; border: 1px solid var(--light-border); box-shadow: 0 18px 45px rgba(32,42,52,.22); }
.detail-summary { color: var(--light-text); background: linear-gradient(145deg,#e3e2df,#cfd3d5); }
.detail-summary p,.detail-full-description { color: var(--light-muted); }
.favorite-button { color: #555d65; background: #fff; border-color: #b9c0c6; }
.detail-variant { color: #424950; background: rgba(218,221,221,.96); border-color: var(--light-border); box-shadow: 0 7px 20px rgba(32,42,52,.12); }
.detail-variant:nth-child(even) { background: #cbd0d2; }
.detail-variant.active { color: #201a0b; background: #ead7a5; border-color: var(--gold); }
.detail-buy { box-shadow: 0 10px 25px rgba(211,148,0,.25); }
.detail-composition h2,.recent-section > h2 { color: var(--light-text); }
.recent-card { color: var(--light-text); background: linear-gradient(145deg,#e0e1df,#c6cbcd); border-color: var(--light-border); box-shadow: 0 9px 25px rgba(32,42,52,.16); }

.checkout-panel,.account-profile,.orders-empty,.support-form { color: var(--light-text); background: linear-gradient(145deg,#e0e1df,#c9ced0); border-color: var(--light-border); box-shadow: 0 12px 30px rgba(32,42,52,.16); }
.order-summary,.order-card,.profile-settings,.favorites-empty,.faq-list details { color: var(--light-text); background: linear-gradient(145deg,#d5d8d9,#bec4c7); border-color: var(--light-border); box-shadow: 0 12px 30px rgba(32,42,52,.16); }
.checkout-panel input[type="email"],.checkout-panel input[type="text"],.checkout-panel input[type="tel"],.profile-settings input,.support-form input,.support-form select,.support-form textarea { color: var(--light-text); background: #e9e9e7; border-color: #a9afb2; }
.checkout-panel > label:not(.payment-option),.checkout-consent,.order-empty,.account-heading p,.account-profile > p,.orders-empty p,.faq-list details p,.support-form label { color: var(--light-muted); }
.payment-option { color: var(--light-text); background: #f7f8f9; border-color: #d2d7db; }
.payment-option:has(input:checked) { background: #fff8df; }
.order-card__top { background: #f1f3f5; }
.order-previews img { border-color: #fff; }
.account-profile nav a { color: #626a72; }
.account-profile nav a:hover,.account-profile nav a.active { color: #24282d; background: #f1f3f5; }
.favorite-card { color: var(--light-text); background: #fff; border-color: var(--light-border); box-shadow: 0 8px 22px rgba(32,42,52,.08); }

.help-hero { color: #fff; }
.faq-list summary { color: var(--light-text); }
.support-form-section > div p { color: var(--light-muted); }
.support-success { color: #238b43; }

.auth-page { background: radial-gradient(circle at 20% 20%,#54636a 0,transparent 35%),linear-gradient(135deg,#aeb5b8,#d4d1cc); }
.auth-card { color: var(--light-text); background: rgba(218,220,219,.97); }
.auth-form input[type="email"],.auth-form input[type="password"],.auth-form input[type="text"] { color: var(--light-text); background: #e8e8e6; border-color: #aab0b3; }
.auth-subtitle,.auth-form > label:not([hidden]),.auth-row { color: var(--light-muted); }

.search-modal,.cart-modal,.product-modal { color: var(--light-text); background: linear-gradient(145deg,#e1e1df,#c7ccce); border-color: rgba(188,129,0,.75); }
.search-modal__top { border-bottom-color: var(--light-border); }
.search-modal__top input { color: var(--light-text); }
.search-result { border-bottom-color: var(--light-border); }
.search-result:hover { background: #bcc4c7; }
.search-result small,.search-hint { color: var(--light-muted); }
.cart-item { border-bottom-color: var(--light-border); }
.cart-modal__close { color: #555; }
.cart-quantity button { color: #333; background: #f1f3f4; border-color: #ccd2d6; }

.site-footer {
  padding: 0 clamp(22px, 2.8vw, 57px) 35px;
  background: #070809;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

/* Возврат к исходной тёмной теме магазина */
body { background: #0b0c0d; color: #f3f3f1; }
.storefront { background: radial-gradient(circle at 52% -10%, rgba(118,58,12,.24), transparent 33%), #0d0e0f; }
.categories h2,.products-section__heading h2 { color: #f3f3f1; }
.products-section__heading p { color: #bdbdbd; }
.category-card { color: #f3f3f1; background: #202020; border-color: transparent; box-shadow: none; }
.category-card:nth-child(even) { background: linear-gradient(145deg,#162734,#0b1824); }
.detail-page,.checkout-page,.account-page,.help-page { color: #f3f3f1; background: #0b0c0d; }
.detail-showcase,.detail-summary,.checkout-panel,.order-summary,.account-profile,.order-card,.orders-empty,.profile-settings,.favorites-empty,.support-form,.faq-list details { color: inherit; background: #191a1b; border-color: rgba(255,255,255,.09); box-shadow: none; }
.detail-summary p,.detail-full-description,.checkout-panel > label:not(.payment-option),.checkout-consent,.order-empty,.account-heading p,.account-profile > p,.orders-empty p,.faq-list details p,.support-form label { color: #999; }
.detail-variant { color: #ddd; background: #191a1b; border-color: rgba(255,255,255,.09); }
.detail-variant:nth-child(even) { background: #191a1b; }
.detail-variant.active { color: #201a0b; background: #fff4d2; border-color: var(--gold); }
.recent-card,.favorite-card { color: #f3f3f1; background: #191a1b; border-color: rgba(255,255,255,.09); box-shadow: none; }
.auth-page { background: #0b0c0d; }
.auth-card { color: #f3f3f1; background: #121314; }
.search-modal,.cart-modal,.product-modal { color: #f3f3f1; background: #191a1b; }

.social-section { padding: 58px 0 50px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.1); }
.social-section h2 { margin: 0 0 30px; font-size: clamp(21px,1.5vw,30px); font-weight: 400; }
.social-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 17px; }
.social-links a { width: 48px; height: 48px; display: grid; place-items: center; background: #202020; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; transition: .2s ease; }
.social-links a:hover { background: #2a2a2a; border-color: var(--gold); transform: translateY(-4px); }
.social-links img { width: 23px; height: 23px; object-fit: contain; }
.footer-links { padding: 55px 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 45px; }
.footer-column { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; }
.footer-column h3 { margin: 0 0 10px; color: #fff; font-size: 18px; font-weight: 500; text-transform: uppercase; }
.footer-column a { color: #aaa; font-size: 15px; line-height: 1.4; transition: color .2s ease, transform .2s ease; }
.footer-column a:hover { color: var(--gold); transform: translateX(3px); }
.footer-bottom { padding-top: 28px; color: #747474; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; line-height: 1.55; }
.footer-bottom p { margin: 4px 0; }

.product-modal {
  width: min(960px, calc(100% - 32px));
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #202020;
  border: 1px solid rgba(250, 180, 0, .65);
  border-radius: 12px;
  box-shadow: 0 30px 90px #000;
}

.product-modal[open] { display: grid; grid-template-columns: 1.35fr 1fr; }
.product-modal::backdrop { background: rgba(0, 0, 0, .85); backdrop-filter: blur(5px); }
.product-modal__image { min-height: 460px; background: #111; }
.product-modal__image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-modal__body { padding: 44px 34px; display: flex; align-items: flex-start; flex-direction: column; }
.product-modal__body h2 { margin: 0 0 18px; font-family: "Rajdhani", sans-serif; font-size: 32px; font-weight: 500; }
.product-modal__body > p { margin: 0 0 30px; color: #bdbdbd; font-size: 17px; line-height: 1.5; }
.product-modal__price { margin-top: auto; color: var(--gold); font-family: "Rajdhani", sans-serif; font-size: 44px; font-weight: 600; }
.product-modal__price del { margin-left: 12px; color: #888; font-size: 21px; }
.product-modal__price sup { font-size: .55em; }
.product-modal__buy { width: 100%; margin-top: 25px; padding: 18px; color: #111; background: var(--gold); border: 0; font-size: 18px; font-weight: 700; cursor: pointer; }
.product-modal__buy:hover { background: #ffc72b; }
.product-modal__close { width: 42px; height: 42px; position: absolute; z-index: 2; top: 12px; right: 12px; color: #fff; background: rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }

.cart-modal { width: min(620px, calc(100% - 28px)); padding: 0; color: #fff; background: #171819; border: 1px solid rgba(250,180,0,.5); border-radius: 12px; box-shadow: 0 30px 90px #000; }
.cart-modal::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(5px); }
.cart-modal__header { padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); }
.cart-modal__header h2 { margin: 0; font-size: 25px; font-weight: 500; }
.cart-modal__close { color: #fff; background: none; border: 0; font-size: 32px; cursor: pointer; }
.cart-items { max-height: 430px; overflow-y: auto; }
.cart-item { padding: 15px 25px; display: grid; grid-template-columns: 82px 1fr auto; align-items: center; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.cart-item img { width: 82px; height: 68px; object-fit: cover; border-radius: 5px; }
.cart-item h3 { margin: 0 0 6px; font-size: 15px; font-weight: 500; }
.cart-item small,.order-item small { margin-right: 9px; color: #888; }

/* Remove controls in the checkout order summary */
.order-item {
  grid-template-columns: 78px minmax(0, 1fr) auto !important;
}
.order-item__remove {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(99, 221, 255, .35);
  border-radius: 50%;
  background: rgba(5, 16, 28, .75);
  color: #eafaff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.order-item__remove:hover,
.order-item__remove:focus-visible {
  color: #ff6b86;
  border-color: #ff6b86;
  background: rgba(255, 107, 134, .14);
  transform: scale(1.08);
}
@media (max-width: 560px) {
  .order-item { grid-template-columns: 64px minmax(0, 1fr) auto !important; gap: 10px; }
  .order-item img { width: 64px; height: 54px; }
  .order-item__remove { width: 26px; height: 26px; font-size: 19px; }
}
.cart-item strong { color: var(--gold); font-size: 18px; }
.cart-item__remove { color: #aaa; background: none; border: 0; font-size: 26px; cursor: pointer; }
.cart-quantity { margin: 7px 0; display: flex; align-items: center; gap: 9px; }
.cart-quantity button { width: 25px; height: 25px; display: grid; place-items: center; color: #ddd; background: #292a2b; border: 1px solid #444; border-radius: 3px; font-size: 17px; line-height: 1; cursor: pointer; }
.cart-quantity button:hover { color: #111; background: var(--gold); border-color: var(--gold); }
.cart-quantity span { min-width: 20px; text-align: center; font-size: 14px; }
.cart-empty { padding: 55px 25px; color: #888; text-align: center; }
.promo-form {
  margin: 18px 26px 0;
  display: grid;
  grid-template-columns: 1fr auto;
}
.promo-form input {
  min-width: 0;
  padding: 12px 13px;
  color: #eee;
  background: #0e0f10;
  border: 1px solid #414141;
  border-right: 0;
  outline: 0;
}
.promo-form button {
  padding: 0 16px;
  color: #111;
  background: var(--gold);
  border: 0;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.promo-form small { min-height: 20px; padding-top: 6px; grid-column: 1 / -1; color: #70c884; font-size: 11px; }
.promo-form.is-applied input { border-color: #4b9860; }
.cart-modal__footer { padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; font-size: 20px; }
.cart-total { color: var(--gold); font-size: 27px; }
.checkout-button { width: calc(100% - 52px); margin: 0 26px 26px; padding: 17px; color: #111; background: var(--gold); border: 0; font-weight: 700; cursor: pointer; }
.order-discount { padding: 14px 0; display: flex; justify-content: space-between; color: #72c98a; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.order-discount[hidden] { display: none; }
.place-order.is-processing { position: relative; opacity: .78; cursor: wait; }
.place-order.is-processing::after {
  content: "";
  width: 15px;
  height: 15px;
  margin-left: 10px;
  display: inline-block;
  vertical-align: -3px;
  border: 2px solid rgba(17,17,17,.35);
  border-top-color: #111;
  border-radius: 50%;
  animation: checkout-spin .7s linear infinite;
}
@keyframes checkout-spin { to { transform: rotate(360deg); } }

/* Финальная контрастность FAQ */
.help-page .faq-section > h2,.help-page .support-form-section h2 { color: #f4f4f2; }
.help-page .faq-list summary { color: #f0f0ed; font-size: 16px; font-weight: 600; }
.help-page .faq-list details:hover summary { color: #fff; }
.help-page .faq-list details[open] { background: #1d1f20; border-color: rgba(242,182,0,.36); }
.help-page .faq-list details[open] summary { color: var(--gold); border-bottom: 1px solid rgba(255,255,255,.07); }
.help-page .faq-list details p { color: #c5c5c1; font-size: 14px; line-height: 1.65; }
.faq-empty { margin: 16px 0 0; padding: 25px; color: #bcbcb8; background: #191a1b; border: 1px dashed #4b4b46; border-radius: 6px; text-align: center; }
.faq-empty[hidden] { display: none; }

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

/* Компактная версия футера */
.social-section { padding: 44px 0 38px; }
.social-section h2 { margin-bottom: 22px; font-size: clamp(18px, 1.12vw, 23px); }
.social-links { gap: 13px; }
.social-links a { width: 36px; height: 36px; }
.social-links img { width: 18px; height: 18px; }
.newsletter-form { width: min(520px,100%); margin: 28px auto 0; }
.newsletter-form > label { margin-bottom: 9px; display: block; color: #aaa; font-size: 12px; }
.newsletter-form > div { display: grid; grid-template-columns: 1fr auto; }
.newsletter-form input {
  min-width: 0;
  padding: 12px 14px;
  color: #eee;
  background: #111315;
  border: 1px solid #3d4042;
  border-right: 0;
  outline: 0;
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button { padding: 0 20px; color: #111; background: var(--gold); border: 0; font-size: 11px; font-weight: 700; cursor: pointer; }
.newsletter-form button:hover { background: #ffc72b; }
.newsletter-form small { min-height: 19px; padding-top: 7px; display: block; color: #70c884; font-size: 11px; }
.newsletter-form.is-subscribed input { border-color: rgba(87,197,116,.55); }
.footer-links { padding: 41px 0; gap: 34px; }
.footer-column { gap: 9px; }
.footer-column h3 { margin-bottom: 7px; font-size: 15px; }
.footer-column a { font-size: 13px; }
.footer-bottom { padding-top: 21px; font-size: 11px; }

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

@media (max-width: 560px) {
  .site-footer { padding-right: 20px; padding-left: 20px; }
  .footer-links { grid-template-columns: 1fr; gap: 38px; }
  .product-modal[open] { display: block; }
  .product-modal__image { min-height: 260px; height: 260px; }
  .product-modal__body { padding: 28px 22px; }
  .product-modal__body h2 { font-size: 25px; }
  .newsletter-form > div { grid-template-columns: 1fr; gap: 7px; }
  .newsletter-form input { border-right: 1px solid #3d4042; }
  .newsletter-form button { min-height: 42px; }
}

.category-card:hover,.category-card:focus,.category-card:focus-visible,.category-card:active { color:#eef8ff !important; background:linear-gradient(145deg,#162734,#0b1824) !important; border-color:rgba(99,221,255,.45) !important; box-shadow:0 12px 28px rgba(0,0,0,.22) !important; }
.detail-variant,
.detail-variant:hover,
.detail-variant:focus,
.detail-variant:active,
.detail-variant.active,
.detail-variant span {
  color: #eef8ff !important;
}
.detail-variant > strong { color: var(--gold) !important; }
.detail-variant del { color: #aebbc2 !important; }

/* Aurora palette — final layer */
:root { --gold:#63ddff; --white:#eef8ff; --muted:#a9bdcc; }
body { background:#07111b; color:var(--white); }
.site-header,.detail-header { background:rgba(5,14,23,.9); border-color:rgba(99,221,255,.2); }
.storefront { background:radial-gradient(circle at 12% 14%,rgba(23,125,167,.16),transparent 26%),radial-gradient(circle at 86% 45%,rgba(103,54,163,.18),transparent 30%),linear-gradient(180deg,#0a1722,#07111b 48%,#08141f); }
.category-card,.product-card,.detail-variant,.recent-card { background:linear-gradient(145deg,rgba(22,39,52,.94),rgba(11,24,36,.96)); border-color:rgba(99,221,255,.13); }
.category-card:hover,.product-card:hover,.recent-card:hover { border-color:rgba(99,221,255,.72); }
.products-section__heading h2,.categories h2,.detail-composition h2,.recent-section > h2 { color:var(--white); }
.products-section__heading h2::before,.categories h2::before { background:var(--gold); }
.product-price strong,.hero-offer__price strong,.detail-price strong,.recent-card strong,.cart-total,.order-total strong { color:var(--gold); }
.store-benefits { background:linear-gradient(105deg,rgba(12,36,51,.96),rgba(29,22,51,.94),rgba(9,31,43,.96)); border-color:rgba(99,221,255,.22); }
.catalog-toolbar { background:linear-gradient(105deg,#102b3b,#201b38); border-left-color:var(--gold); }
.detail-page,.checkout-page,.help-page,.account-page { background:radial-gradient(circle at 12% 0%,rgba(37,113,150,.22),transparent 30%),radial-gradient(circle at 90% 30%,rgba(95,48,145,.18),transparent 32%),#07111b; }
.detail-showcase,.detail-summary,.checkout-panel,.order-summary,.account-profile,.order-card,.orders-empty,.profile-settings,.favorites-empty,.support-form,.faq-list details,.search-modal,.cart-modal,.product-modal { background:linear-gradient(145deg,rgba(19,36,49,.97),rgba(10,23,35,.97)); border-color:rgba(99,221,255,.16); }
.detail-variant.active,.faq-list details[open] { background:rgba(34,93,117,.48); border-color:var(--gold); }
.detail-buy,.place-order,.checkout-button,.newsletter-form button,.support-form button { color:#04121a; background:var(--gold); }
.detail-buy:hover,.place-order:hover,.checkout-button:hover,.newsletter-form button:hover { background:#a9efff; }
.site-footer { background:linear-gradient(145deg,#07121c,#050b12); border-top-color:rgba(99,221,255,.16); }
.auth-page { background:#06111b; }
.auth-page .auth-card { background:linear-gradient(145deg,rgba(8,24,37,.95),rgba(13,17,36,.94)); border-left-color:rgba(99,221,255,.22); }
.auth-tabs button.active { color:var(--gold); border-bottom-color:var(--gold); }
.auth-submit { color:#04121a; background:var(--gold); }
.faq-list details[open] summary,.faq-list summary span { color:var(--gold); }
