/* Visual direction adapted from the supplied NEXORA screenshots for DRSHOP. */
:root {
  --bg: #080910;
  --panel: #10111b;
  --line: #242536;
  --text: #f4f3fb;
  --muted: #989bad;
  --lime: #a34eff;
  --purple: #477dff;
  --cyan: #08c8f5;
  --radius: 22px;
}

html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 7% 20%, #00c9f50d, transparent 33%),
    radial-gradient(ellipse at 94% 8%, #8e3dff12, transparent 37%),
    radial-gradient(ellipse at 70% 68%, #1f4cf50c, transparent 34%);
}
.announcement {
  color: #d4eaff;
  background: linear-gradient(90deg, #111522, #11101b 50%, #111522);
  border-bottom: 1px solid #242536;
}
.live-dot { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.header {
  height: 76px;
  background: #090912dc;
  border-bottom-color: #ffffff12;
  backdrop-filter: blur(20px) saturate(140%);
}
.brand-mark {
  color: #fff;
  background: linear-gradient(145deg, #a64cff, #386eff 78%);
  border-radius: 50%;
  box-shadow: 0 0 24px #824cff66;
}
.brand-mark span { color: #d3f8ff; }
.brand-name > span { color: #b37aff; }
.desktop-nav a:hover, .footer a:hover { color: var(--cyan); }
.icon-btn, .menu-toggle {
  background: #12131d;
  border-radius: 50%;
}
.cart-button, .btn-primary {
  color: #fff;
  background: linear-gradient(110deg, #9a42ff, #3f7cff);
  box-shadow: 0 8px 28px #654bff3b;
}
.cart-button b { background: #171325; color: #fff; }
.btn-outline {
  border-color: #8248ca;
  background: #21142d99;
}
.btn-outline:hover { border-color: var(--cyan); color: #fff; }
.hero {
  display: block;
  position: relative;
  min-height: 570px;
  overflow: hidden;
  margin-top: 18px;
  padding: clamp(40px, 7vw, 92px) clamp(25px, 7vw, 92px);
  border: 1px solid #6740ad88;
  border-radius: 30px;
  background:
    linear-gradient(270deg, #07070df5 1%, #090a14dd 39%, #090a1470 72%, #08091066 100%),
    linear-gradient(0deg, #080910d9, transparent 45%),
    url("assets/catalog/product-gamepass.jpg") center 42% / cover no-repeat;
  box-shadow: inset 0 0 90px #2d1a6338, 0 24px 80px #0005;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image: linear-gradient(#a991ff0c 1px, transparent 1px), linear-gradient(90deg, #a991ff0c 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}
.hero-copy { position: relative; z-index: 2; max-width: 680px; }
.hero-copy .eyebrow { color: var(--cyan); }
.eyebrow { color: var(--cyan); }
.eyebrow::before { background: var(--cyan); }
.hero h1 { font-size: clamp(42px, 5.8vw, 72px); line-height: 1.23; }
h1 em, .text-gradient {
  color: transparent;
  background: linear-gradient(90deg, #b85bff, #4e8bff, #09d0ee);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-copy > p { max-width: 560px; color: #c1c2d0; }
.hero-buttons { margin-top: 27px; }
.hero-proof { gap: 20px; color: #bec0d0; }
.hero-proof > span:first-child::first-letter { color: var(--cyan); }
.hero-proof b { color: #e4e4ef !important; }
.hero-visual { display: none; }
.section { padding-top: 52px; padding-bottom: 37px; }
.section-head { margin-bottom: 22px; }
.section-head h2 { font-size: clamp(22px, 2.3vw, 30px); }
.section-head > a { color: var(--cyan); }
.category-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.category-card {
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(155deg, #151522, #0d0e17);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.category-card:hover {
  transform: translateY(-5px);
  border-color: #8b48ff;
  box-shadow: 0 0 30px #6645ed4a, inset 0 -2px #04c7ff;
}
.category-card .category-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .15;
  transition: opacity .25s ease, transform .35s ease;
}
.category-card:hover .category-image { opacity: .28; transform: scale(1.07); }
.category-card .cat-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  margin: 0 0 9px;
  border-radius: 18px;
  color: var(--cyan);
  background: linear-gradient(145deg, #075674aa, #302052cc);
  font-size: 25px;
}
.category-card b, .category-card small { position: relative; z-index: 1; }
.category-card b { font-size: 12px; }
.category-card small { color: #a1a3b3; font-size: 9px; }
.category-card::after { background: #824bff18; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card {
  border-color: #292738;
  border-radius: 24px;
  background: linear-gradient(160deg, #11121d, #0b0c14);
  box-shadow: 0 12px 35px #0002;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: #8e50ed;
  box-shadow: 0 0 27px #6748eb38, inset 0 -2px #00c9f4;
}
.product-art {
  height: auto;
  aspect-ratio: 1 / .82;
  background: #0a0b11;
}
.product-art::before { display: none; }
.product-art .product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.product-card:hover .product-art .product-image { transform: scale(1.045); }
.product-art .glyph, .product-art .art-caption { display: none; }
.product-info { padding: 16px; }
.product-topline > span:first-child { color: var(--cyan); }
.product-info h3 { font-size: 15px; }
.product-desc { font-size: 10px; }
.product-price { font-size: 17px; }
.product-actions .btn { border-radius: 12px; }
.promo-banner {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(22px, 5vw, 60px);
  overflow: hidden;
  border: 1px solid #7542b688;
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 12% 50%, #2686ff33, transparent 34%),
    radial-gradient(ellipse at 88% 12%, #883eff44, transparent 38%),
    linear-gradient(110deg, #11121d, #171222);
}
.promo-banner h2 { margin: 8px 0; font-size: clamp(20px, 2.7vw, 31px); }
.promo-banner h2 b { color: var(--cyan); direction: ltr; display: inline-block; }
.promo-banner p { margin: 0; color: var(--muted); font-size: 12px; }
.promo-banner .btn { min-width: 170px; }
.benefits {
  background: linear-gradient(105deg, #14121e, #11131d, #111421);
  border-radius: 22px;
}
.benefit-icon { color: var(--cyan); }
.advisor { border-color: #453065; border-radius: 25px; background: linear-gradient(120deg, #171222, #10111b); }
.advisor-copy h2 { color: #f4f3fb; }
.advisor-art { background: radial-gradient(circle at 50% 50%, #42216d, #11111c 68%); }
.advisor-art .spark { color: #a44aff; text-shadow: 0 0 70px #9f4aff88; }
.faq-item { border: 1px solid #28283a; border-radius: 18px; background: #10111a; margin: 10px 0; padding: 0 15px; }
.faq-q { padding: 17px 3px; font-size: 13px; }
.faq-q span { color: var(--cyan); }
.faq-a { line-height: 1.9; }
.footer { background: linear-gradient(180deg, #0b0c13, #08090f); }
.footer-help { border: 1px solid #2b263e; border-radius: 20px; background: linear-gradient(130deg, #181324, #11131b); }
.footer-help .eyebrow { color: var(--cyan); }
.toast { background: linear-gradient(110deg, #9449ff, #3f7cff); color: #fff; }
.detail-visual {
  height: auto;
  min-height: 460px;
  border: 1px solid #28283a;
  border-radius: 25px;
  overflow: hidden;
  background: #0c0d14;
}
.detail-visual .product-image { object-fit: cover; }
.detail-info .detail-price { color: #f4f3fb; }
.option-chip.active { border-color: #a34eff; color: #d4b4ff; background: #641da622; }
.stock-note { color: #00cf92; }
.admin-nav button.active { background: #842dff20; color: #c797ff; }
.profile-tab.active, .stepper span.active { border-color: #a34eff; color: #ce9cff; }
.status { background: #132d2a; color: #53e0be; }
.search-wrap span { color: var(--cyan); }

@media (max-width: 1050px) {
  .desktop-nav { gap: 12px; }
  .desktop-nav a { font-size: 10px; }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .announcement { background: #11131c; }
  .header { height: 66px; }
  .hero {
    min-height: 510px;
    margin-top: 10px;
    padding: 48px 23px 30px;
    border-radius: 24px;
    background-position: 54% center;
  }
  .hero h1 { font-size: 38px; }
  .hero-copy > p { font-size: 12px; }
  .hero-buttons { flex-direction: row; flex-wrap: wrap; }
  .hero-proof { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
  .section { padding: 33px 0 25px; }
  .promo-banner { min-height: 0; flex-direction: column; align-items: stretch; padding: 23px; }
  .promo-banner .btn { width: 100%; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-card { height: 132px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-art { aspect-ratio: 1 / .94; }
  .product-info { padding: 10px; }
  .product-info h3 { font-size: 12px; }
  .product-desc { font-size: 9px; }
  .product-price { font-size: 13px; }
  .product-actions .btn { font-size: 9px; }
  .detail-visual { min-height: 0; height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}


/* Accessible responsive navigation drawer and functional catalog filters. */
.menu-toggle { display: none; color: #f4f3fb; border-color: #313046; background: linear-gradient(145deg,#171522,#10121b); box-shadow: inset 0 1px #ffffff12, 0 6px 18px #0005; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { transform: translateY(-1px); border-color: #a34eff; box-shadow: 0 0 20px #854dff66, inset 0 1px #ffffff20; }
.menu-toggle span { font-size: 22px; line-height: 1; }
.menu-backdrop { position: fixed; inset: 117px 0 0; z-index: 39; width: 100%; border: 0; padding: 0; background: #03040ad9; backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.menu-backdrop.open { opacity: 1; visibility: visible; }
.mobile-drawer { position: fixed; z-index: 40; top: 117px; bottom: 0; left: 0; width: min(370px, 88vw); overflow-y: auto; padding: 20px; border: 1px solid #302a48; border-left: 1px solid #4e3979; border-radius: 0 0 22px 0; background: linear-gradient(155deg,#151321f7,#0b0d17fa 70%); box-shadow: 22px 24px 70px #0009, inset 0 1px #ffffff10; backdrop-filter: blur(24px); transform: translateX(-105%); visibility: hidden; transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility .28s; }
.mobile-drawer.open { transform: translateX(0); visibility: visible; }
.mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 0 17px; margin-bottom: 11px; border-bottom: 1px solid #ffffff12; }
.mobile-drawer-head b, .mobile-drawer-head small { display: block; }
.mobile-drawer-head b { font-size: 17px; }
.mobile-drawer-head small { color: var(--muted); font-size: 10px; }
.drawer-close { width: 38px; height: 38px; border: 1px solid #ffffff19; border-radius: 12px; background: #ffffff08; color: #c5b3ff; font-size: 25px; }
.drawer-links { display: grid; gap: 8px; }
.drawer-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 49px; padding: 10px 13px; border: 1px solid #ffffff0d; border-radius: 14px; color: #d5d3e3; background: linear-gradient(120deg,#ffffff07,#ffffff02); font-size: 13px; transition: .2s ease; }
.drawer-links a span { color: #8e67ff; transition: transform .2s ease; }
.drawer-links a:hover, .drawer-links a:focus-visible { outline: none; color: white; border-color: #824bff77; background: linear-gradient(100deg,#8e40ff24,#08c8f512); box-shadow: inset 0 -2px #08c8f5, 0 8px 22px #0004; transform: translateX(3px); }
.drawer-links a:hover span { transform: translateX(-4px); color: var(--cyan); }
body.menu-open { overflow: hidden; }
.listing-layout { grid-template-columns: 250px minmax(0,1fr); align-items: start; gap: 20px; }
.filters { position: sticky; top: 94px; display: block; height: auto; max-height: calc(100vh - 112px); overflow-y: auto; padding: 17px; border: 1px solid #2b293a; border-radius: 20px; background: linear-gradient(160deg,#151521,#0d0e17); box-shadow: 0 16px 45px #0003; scrollbar-color: #514174 transparent; }
.filters > summary { display: flex; align-items: center; justify-content: space-between; list-style: none; margin-bottom: 12px; color: #f4f3fb; font-weight: 800; font-size: 14px; cursor: pointer; }
.filters > summary::-webkit-details-marker { display: none; }
.filter-summary-count { color: var(--cyan); font-size: 10px; }
.filter-group { display: grid; gap: 7px; padding: 13px 0; border-top: 1px solid #ffffff10; }
.filter-group > b { color: #bfc2d1; font-size: 10px; }
.filter-option { display: flex; align-items: center; gap: 8px; padding: 5px 7px; border-radius: 9px; color: #aeb1c0; font-size: 10px; cursor: pointer; transition: background .18s ease,color .18s ease; }
.filter-option:hover { color: white; background: #ffffff08; }
.filter-option input { accent-color: #a34eff; width: 14px; height: 14px; margin: 0; }
.filter-search, .price-range input { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #303044; border-radius: 10px; outline: none; color: #f4f3fb; background: #0a0b12; font-size: 10px; }
.filter-search:focus, .price-range input:focus { border-color: #8c4eff; box-shadow: 0 0 0 3px #8c4eff20; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-range label { color: #8f93a4; font-size: 9px; }
.price-range input { display: block; margin-top: 4px; }
.filter-actions { display: flex; gap: 7px; padding-top: 12px; }
.filter-actions .btn { flex: 1; min-height: 38px; padding: 8px 6px; font-size: 10px; }
.listing-results { min-width: 0; }
.sort-bar { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; padding: 10px 13px; border: 1px solid #28283a; border-radius: 14px; color: #aeb1c0; background: #10111a; font-size: 10px; }
.sort-bar span { margin-right: auto; }
.sort-bar span b { color: var(--cyan); }
.sort-bar select { border: 1px solid #303044; border-radius: 9px; padding: 7px 9px; color: #e7e5f2; background: #151522; font-size: 10px; }
.filter-empty { grid-column: 1/-1; }
.detail-info #account-field[aria-invalid="true"] { border-color: #ff5578; box-shadow: 0 0 0 3px #ff557822; }
@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .listing-layout { grid-template-columns: 220px minmax(0,1fr); }
}
@media (max-width: 640px) {
  .menu-backdrop { top: 97px; }
  .mobile-drawer { top: 97px; width: min(360px, 90vw); }
  .head-actions .cart-button { display: none; }
  .listing-layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .filters { position: static; max-height: none; padding: 12px 14px; }
  .filters:not([open]) { padding-bottom: 12px; }
  .filters > summary { margin: 0; min-height: 32px; }
  .filter-group { padding: 10px 0; }
  .filter-group:nth-of-type(2), .filter-group:nth-of-type(3) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filter-group > b { grid-column: 1/-1; }
  .filter-actions .btn { font-size: 9px; }
  .detail-info > #detail-add { display: none; }
  .mobile-sticky { z-index: 32; box-shadow: 0 -8px 28px #0008; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle, .menu-backdrop, .mobile-drawer, .drawer-links a { transition: none !important; }
}

/* Touch-friendly category cues and product detail layout. */
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #a34eff;
  outline-offset: 2px;
}
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] {
  transform: none;
  border-color: #55437a;
  box-shadow: inset 0 1px #ffffff12, 0 4px 12px #0004;
}
.category-card::after {
  content: "↗";
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 2;
  left: 14px;
  top: auto;
  bottom: 14px;
  width: 30px;
  height: 30px;
  border: 1px solid #a48bff44;
  border-radius: 10px;
  color: #d4c3ff;
  background: linear-gradient(145deg, #8d50ff2e, #121421cc);
  box-shadow: 0 4px 13px #05050b77;
  font-size: 16px;
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.category-card:hover::after { transform: translate(2px,-2px); border-color: #b49bff99; color: #fff; }
.mobile-sticky { display: none !important; }
.detail-add-button { display: block; width: 100%; max-width: 420px; min-height: 50px; margin-top: 17px; }
.detail-info .field { width: 100%; max-width: 420px; }
.detail-info .option-row { row-gap: 9px; }
@media (max-width: 640px) {
  html, body { overflow-x: clip; }
  .detail-layout { padding-bottom: 28px; }
  .detail-info { min-width: 0; padding-bottom: 8px; }
  .detail-info .field { max-width: none; margin-top: 16px; }
  .detail-info .field input { min-height: 46px; font-size: 14px; }
  .detail-info .option-row { gap: 8px; }
  .detail-info .option-chip { min-height: 42px; max-width: 100%; }
  .detail-info > #detail-add { display: block; width: 100%; max-width: none; min-height: 52px; margin: 18px 0 0; }
}
@media (max-width: 360px) {
  .header { padding-inline: 10px; }
  .head-actions { gap: 5px; }
  .detail-info .option-chip { padding-inline: 9px; font-size: 9px; }
}
