/* Maya commerce skin. Native SellAuth markup, Alpine actions and payment states stay intact. */
body:is(.sa-tpl-products, .sa-tpl-product, .sa-tpl-product-locked, .sa-tpl-cart, [class*="sa-tpl-customer-"]) {
  --cl-background: 16, 17, 20;
  --cl-surface: 25, 25, 30;
  --cl-surface-raised: 32, 32, 38;
  --cl-t-primary: 247, 245, 239;
  --cl-t-muted: 163, 161, 170;
  --cl-accent: 239, 166, 58;
  --cl-on-accent: 23, 19, 13;
  --cl-border: rgba(255, 255, 255, .1);
  --radius-card: 16px;
  --radius-input: 10px;
  --shadow-card: 0 8px 30px rgba(0, 0, 0, .12);
  background: #101114;
  color: #f7f5ef;
  color-scheme: dark;
}

.sa-maya-catalog { padding: clamp(48px, 6vw, 88px) 0 clamp(70px, 9vw, 130px); min-height: 62vh; }
.sa-maya-catalog .wrap { max-width: 1280px; }
.sa-maya-catalog-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.sa-maya-catalog-eyebrow { margin: 0 0 12px; color: #efa63a; font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.sa-maya-catalog-title { margin: 0; color: #f7f5ef; font-family: var(--ff-heading); font-size: clamp(52px, 6.4vw, 84px); font-weight: 700; line-height: .96; letter-spacing: -.055em; }
.sa-maya-catalog-subtitle { margin: 19px 0 0; color: #a3a1aa; font-size: 14px; line-height: 1.7; }
.sa-maya-catalog-search { display: flex; align-items: center; gap: 11px; width: 280px; min-height: 48px; flex-shrink: 0; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 11px; background: #19191e; transition: border-color .2s, box-shadow .2s; }
.sa-maya-catalog-search:focus-within { border-color: rgba(239, 166, 58, .65); box-shadow: 0 0 0 3px rgba(239, 166, 58, .09); }
.sa-maya-catalog-search > svg { width: 17px; height: 17px; flex-shrink: 0; color: #9d9aa6; }
.sa-maya-catalog-search input { width: 100%; min-width: 0; height: 46px; padding: 0; border: 0; outline: 0; background: transparent; color: #f7f5ef; font: inherit; font-size: 13px; box-shadow: none; }
.sa-maya-catalog-search input::placeholder { color: #93909b; opacity: 1; }
.sa-maya-catalog-search input::-webkit-search-cancel-button { appearance: none; }
.sa-maya-catalog-clear { display: grid; place-items: center; width: 26px; height: 30px; flex-shrink: 0; padding: 4px; border: 0; background: transparent; color: #a3a1aa; cursor: pointer; }
.sa-maya-catalog-clear:hover { color: #efa63a; }
.sa-maya-catalog-clear svg { width: 17px; height: 17px; }
.sa-maya-catalog-meta { display: flex; align-items: center; gap: 20px; margin: 25px 0 22px; }
.sa-maya-catalog-meta p { margin: 0; color: #aaa7b1; font-size: 12px; font-weight: 500; white-space: nowrap; }
.sa-maya-catalog-meta-line { width: 24px; height: 1px; background: #efa63a; opacity: .7; }
.sa-maya-catalog-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.sa-maya-game-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 15px; background: #19191e; color: #f7f5ef; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .07); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.sa-maya-game-card:hover { transform: translateY(-4px); border-color: rgba(239, 166, 58, .48); box-shadow: 0 12px 32px rgba(0, 0, 0, .2); }
.sa-maya-game-card:focus-visible { outline: 2px solid #efa63a; outline-offset: 4px; }
.sa-maya-game-media { position: relative; display: grid; width: 100%; aspect-ratio: 5 / 2; place-items: center; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .07); background: radial-gradient(ellipse at 40% 100%, rgba(239, 166, 58, .09), transparent 75%), #121215; }
.sa-maya-game-media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; object-fit: contain; object-position: center; transition: transform .35s ease; }
.sa-maya-game-card:hover .sa-maya-game-media img { transform: scale(1.025); }
.sa-maya-game-fallback { display: none; width: 56px; height: 56px; color: rgba(239, 166, 58, .75); }
.sa-maya-game-media--empty .sa-maya-game-fallback { display: block; }
.sa-maya-game-fallback svg { width: 100%; height: 100%; }
.sa-maya-game-content { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 16px; padding: 23px 22px 24px; }
.sa-maya-game-copy { min-width: 0; }
.sa-maya-game-name { margin: 0; overflow-wrap: anywhere; color: #f7f5ef; font-family: var(--ff-heading); font-size: clamp(23px, 2.3vw, 29px); font-weight: 650; line-height: 1.12; letter-spacing: -.035em; }
.sa-maya-game-action { display: block; margin-top: 9px; color: #9d9aa6; font-size: 12px; line-height: 1.5; transition: color .2s; }
.sa-maya-game-card:hover .sa-maya-game-action { color: #d7c4a3; }
.sa-maya-game-arrow { display: grid; width: 37px; height: 37px; flex-shrink: 0; place-items: center; border: 1px solid rgba(239, 166, 58, .22); border-radius: 10px; background: rgba(239, 166, 58, .06); color: #efa63a; transition: color .2s, background .2s, border-color .2s; }
.sa-maya-game-arrow svg { width: 17px; height: 17px; }
.sa-maya-game-card:hover .sa-maya-game-arrow { border-color: #efa63a; background: #efa63a; color: #17130d; }
.sa-maya-catalog-empty { margin-top: 20px; padding: 55px 20px; border: 1px dashed rgba(255, 255, 255, .13); border-radius: 15px; text-align: center; }
.sa-maya-catalog-empty > svg { width: 28px; height: 28px; margin: 0 auto 16px; color: #efa63a; }
.sa-maya-catalog-empty h2 { margin: 0; color: #f7f5ef; font-family: var(--ff-heading); font-size: 23px; }
.sa-maya-catalog-empty p { margin: 10px 0 20px; color: #a3a1aa; font-size: 13px; line-height: 1.7; }
.sa-maya-catalog-empty button { border: 0; background: transparent; color: #efa63a; font-size: 13px; font-weight: 600; cursor: pointer; }
.sa-maya-catalog-empty button span { margin-left: 6px; }
.sa-maya-catalog [hidden] { display: none !important; }
.sa-maya-catalog-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Give native product, cart and account surfaces the same palette and rhythm. */
:is(.sa-page-products, .sa-page-product, .sa-page-cart, section.component[class*="sa-page-customer-"]) { padding-block: clamp(38px, 5vw, 72px); }
:is(.sa-page-products, .sa-page-product, .sa-page-cart, section.component[class*="sa-page-customer-"]) > .wrap { max-width: 1280px; }
:is(.sa-page-products, .sa-page-product, .sa-page-cart, section.component[class*="sa-page-customer-"]) .sa-section-header { margin-bottom: 30px; }
:is(.sa-page-products, .sa-page-cart) .sa-section-header-title { letter-spacing: -.045em; }
.sa-page-product-title { font-size: clamp(30px, 3.5vw, 48px); line-height: 1.06; letter-spacing: -.04em; }
.sa-page-product-price, .sa-page-cart-price { color: #efa63a; letter-spacing: -.035em; }
.sa-product-card { height: 100%; border-radius: 15px; border-color: rgba(255, 255, 255, .11); background: #19191e; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.sa-product-card:hover { border-color: rgba(239, 166, 58, .42); box-shadow: 0 10px 28px rgba(0, 0, 0, .17); }
.sa-product-card-title { font-family: var(--ff-heading); font-size: 19px; font-weight: 600; letter-spacing: -.025em; }
.sa-product-card-media { background: #121215; }
.sa-product-card-media > img { aspect-ratio: 5 / 2; object-fit: contain; }
.sa-product-gallery { background-color: #131316; }
.sa-product-gallery--single, .sa-product-gallery--stacked > img, .sa-product-gallery .splide__slide > img { object-fit: contain; }
.sa-product-form .sa-add-to-cart { min-height: 45px; border-radius: 10px; }
.sa-product-form :is(button, input, select) { font-family: var(--ff-body); }
.sa-product-form :is(button, a):focus-visible, .sa-customer-sidebar-link:focus-visible { outline: 2px solid #efa63a; outline-offset: 3px; }
:is(.sa-page-products, .sa-page-product, .sa-page-cart, [class*="sa-page-customer-"], .sa-cart-panel, [class*="sa-customer-"]) .input { min-height: 44px; border-color: rgba(255, 255, 255, .13); border-radius: 10px; background: #111115; color: #f7f5ef; box-shadow: none; }
:is(.sa-page-products, .sa-page-product, .sa-page-cart, [class*="sa-page-customer-"], .sa-cart-panel, [class*="sa-customer-"]) .input:focus { border-color: rgba(239, 166, 58, .7); box-shadow: 0 0 0 3px rgba(239, 166, 58, .08); }
:is(.sa-product-form, .sa-page-cart, [class*="sa-page-customer-"], [class*="sa-customer-"]) :is(input, textarea)::placeholder { color: #777480; opacity: 1; }
:is(.sa-product-form, .sa-page-cart, [class*="sa-page-customer-"]) .input-stepper { border-radius: 10px; border-color: rgba(255, 255, 255, .13); background: #111115; }
:is(.sa-product-form, .sa-page-cart, [class*="sa-page-customer-"]) .input-stepper button { min-height: 38px; }
.sa-page-cart-item { border-radius: 15px; padding: 22px; }
.sa-page-cart-item img { object-fit: contain; }
.sa-page-cart-title { font-size: 16px; font-weight: 650; }
.sa-customer-sidebar { border-radius: 16px; }
.sa-customer-sidebar-link { border-radius: 9px; font-size: 13px; }
.sa-customer-sidebar-link[aria-current="page"] { background: rgba(239, 166, 58, .09); color: #efa63a; }
:is(.sa-page-customer-dashboard-item, .sa-page-customer-invoices-items, .sa-page-customer-subscriptions-items, .sa-page-customer-tickets-items, .sa-page-customer-balance-items, .sa-page-customer-reseller-stats) { border-radius: 15px; }
:is(.sa-page-customer-invoices-item, .sa-page-customer-tickets-item, .sa-page-customer-subscriptions-item) { transition: background-color .2s; }
:is(.sa-page-customer-invoices-item, .sa-page-customer-tickets-item, .sa-page-customer-subscriptions-item):hover { background: rgba(255, 255, 255, .018); }
:is(.sa-page-customer-invoices-title, .sa-page-customer-tickets-title, .sa-page-customer-ticket-title) { font-weight: 650; letter-spacing: -.015em; }
.sa-page-customer-invoices-badge, .sa-page-customer-tickets-badge, .sa-page-customer-subscriptions-badge { font-size: 10px; letter-spacing: .02em; }
.sa-page-customer-ticket-items { scrollbar-width: thin; scrollbar-color: #3b383f transparent; }
.sa-cart-panel { border-color: rgba(255, 255, 255, .1); }

/* Category pages use the Maya layout, rather than a narrow sidebar catalogue. */
.sa-maya-category { min-height: 65vh; padding-block: clamp(30px, 4.5vw, 70px) clamp(65px, 7vw, 110px); }
.sa-maya-category-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.sa-maya-category-heading-copy { min-width: 0; max-width: 940px; }
.sa-maya-category-title { display: flex; flex-wrap: wrap; column-gap: .22em; row-gap: .08em; margin: 0; color: #f7f5ef; font-family: var(--ff-heading); font-size: clamp(39px, 5.4vw, 68px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.sa-maya-category-title span { color: #f7f5ef; word-spacing: .08em; }
.sa-maya-category-description { max-width: 72ch; margin: 17px 0 0; color: #a3a1aa; font-size: 14px; line-height: 1.8; }
.sa-maya-category-back { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; flex-shrink: 0; gap: 9px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: #19191e; color: #d8d5dd; font-size: 11px; font-weight: 650; letter-spacing: .025em; transition: border-color .2s, color .2s; }
.sa-maya-category-back:hover { border-color: rgba(239,166,58,.55); color: #efa63a; }
.sa-maya-category-back svg { width: 16px; height: 16px; color: #efa63a; }
.sa-maya-category-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin: 26px 0; }
.sa-maya-category-count { display: inline-flex; align-items: center; gap: 17px; margin: 0; color: #aaa7b1; font-size: 12px; white-space: nowrap; }
.sa-maya-category-count > span { width: 24px; height: 1px; background: #efa63a; }
.sa-maya-category-filters { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.sa-maya-category-search { display: flex; width: 240px; min-height: 42px; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: #19191e; }
.sa-maya-category-search:focus-within { border-color: rgba(239,166,58,.6); }
.sa-maya-category-search > svg { width: 16px; height: 16px; flex-shrink: 0; color: #8d8995; }
.sa-maya-category-search input { width: 100%; min-width: 0; height: 40px; padding: 0; border: 0; outline: 0; background: transparent; color: #f7f5ef; font-size: 12px; box-shadow: none; }
.sa-maya-category-search input::placeholder { color: #8d8995; }
.sa-maya-category-stock { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: #c3bfca; font-size: 12px; cursor: pointer; }
.sa-maya-category-stock input { width: 14px; height: 14px; accent-color: #efa63a; }
.sa-maya-category-price { position: relative; }
.sa-maya-category-price > summary { display: flex; min-height: 42px; align-items: center; gap: 7px; padding: 0 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: #c3bfca; font-size: 12px; list-style: none; cursor: pointer; }
.sa-maya-category-price > summary::-webkit-details-marker { display: none; }
.sa-maya-category-price > summary svg { width: 15px; height: 15px; color: #efa63a; }
.sa-maya-category-price[open] > summary { border-color: rgba(239,166,58,.5); color: #efa63a; }
.sa-maya-category-price-fields { position: absolute; top: calc(100% + 10px); right: 0; z-index: 20; display: flex; align-items: flex-end; gap: 10px; width: 310px; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: #202026; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.sa-maya-category-price-fields label { min-width: 0; flex: 1; }
.sa-maya-category-price-fields label > span { display: block; margin-bottom: 7px; color: #aaa7b1; font-size: 10px; }
.sa-maya-category-price-fields input:not([type=hidden]) { width: 100%; height: 38px; min-width: 0; padding: 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; background: #111115; color: #f7f5ef; font-size: 12px; }
.sa-maya-category-price-fields > span { padding-bottom: 10px; color: #777480; }
.sa-maya-category-apply { display: inline-flex; min-height: 42px; align-items: center; gap: 12px; padding: 0 16px; border: 1px solid #efa63a; border-radius: 10px; background: #efa63a; color: #17130d; font-size: 12px; font-weight: 700; cursor: pointer; }
.sa-maya-category-apply:hover { background: #ffc164; border-color: #ffc164; }
.sa-maya-category-reset { padding: 9px 4px; color: #aaa7b1; font-size: 12px; }
.sa-maya-category-reset:hover { color: #efa63a; }
.sa-maya-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.sa-maya-category-grid--pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
.sa-maya-category-product { min-width: 0; }
.sa-maya-category-product > .sa-product-card { padding: 0; overflow: hidden; border-radius: 17px; }
.sa-maya-category-product .sa-product-card-media { border-radius: 0; }
.sa-maya-category-product .sa-product-card-media > img { width: 100%; aspect-ratio: 5 / 2; object-fit: contain; }
.sa-maya-category-product > .sa-product-card > div:last-child { padding: 23px; }
.sa-maya-category-product .sa-product-card-title { font-size: 24px; font-weight: 650; line-height: 1.2; }
.sa-maya-category-product .sa-product-card-price { font-size: 20px; }
.sa-maya-category-product .sa-product-card-stock { margin-top: 10px; font-size: 12px; }
.sa-maya-category-grid--single { grid-template-columns: minmax(0,1fr); }
.sa-maya-category-grid--single .sa-product-card { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: stretch; min-height: 290px; }
.sa-maya-category-grid--single .sa-product-card-media { display: flex; align-items: center; min-height: 290px; height: 100%; border-right: 1px solid rgba(255,255,255,.08); }
.sa-maya-category-grid--single .sa-product-card-media > div:first-child { width: 100%; flex: 1; }
.sa-maya-category-grid--single .sa-product-card-media > img { height: 100%; max-height: 390px; aspect-ratio: auto; }
.sa-maya-category-grid--single .sa-product-card > div:last-child { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px,4vw,50px); }
.sa-maya-category-grid--single .sa-product-card-title { white-space: normal; font-size: clamp(29px,3.2vw,43px); line-height: 1.08; }
.sa-maya-category-grid--single .sa-product-card-price { font-size: 29px; }
.sa-maya-category-grid--single .sa-product-card > div:last-child > div:last-child { margin-top: 27px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.sa-no-product-images .sa-maya-category-grid--single .sa-product-card { grid-template-columns: minmax(0,1fr); }
.sa-maya-category-empty { padding: 65px 22px; border: 1px dashed rgba(255,255,255,.14); border-radius: 17px; text-align: center; }
.sa-maya-category-empty > svg { width: 30px; height: 30px; margin: 0 auto 18px; color: #efa63a; }
.sa-maya-category-empty h2 { font-family: var(--ff-heading); font-size: 27px; }
.sa-maya-category-empty p { margin: 11px 0 23px; color: #a3a1aa; font-size: 13px; }
.sa-maya-category-empty a { color: #efa63a; font-size: 13px; font-weight: 600; }
.sa-maya-category :is(input,button,summary,a):focus-visible { outline: 2px solid #efa63a; outline-offset: 3px; }

@media (max-width: 1023px) {
  .sa-maya-category-heading { align-items: flex-start; flex-direction: column; gap: 23px; }
  .sa-maya-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sa-maya-category-grid--single { grid-template-columns: minmax(0,1fr); }
  .sa-maya-category-toolbar { align-items: flex-start; flex-direction: column; }
  .sa-maya-category-filters { width: 100%; justify-content: flex-start; }
  .sa-maya-category-search { flex: 1; min-width: 200px; }
}
@media (max-width: 639px) {
  .sa-maya-category-heading { padding-bottom: 26px; }
  .sa-maya-category-title { font-size: clamp(36px,9vw,48px); }
  .sa-maya-category-description { font-size: 13px; }
  .sa-maya-category-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .sa-maya-category-grid--single .sa-product-card { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .sa-maya-category-grid--single .sa-product-card-media { min-height: 0; height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .sa-maya-category-grid--single .sa-product-card-media > img { height: auto; aspect-ratio: 5 / 2; }
  .sa-maya-category-grid--single .sa-product-card > div:last-child { padding: 24px; }
  .sa-maya-category-grid--single .sa-product-card-title { font-size: 30px; }
  .sa-maya-category-grid--single .sa-product-card-price { font-size: 24px; }
  .sa-maya-category-search { flex-basis: 100%; }
  .sa-maya-category-stock { flex: 1; justify-content: center; }
  .sa-maya-category-price[open] { flex-basis: 100%; order: 4; }
  .sa-maya-category-price-fields { position: static; width: 100%; margin-top: 8px; }
}

@media (min-width: 620px) { .sa-maya-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sa-maya-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .sa-maya-catalog-heading { align-items: stretch; flex-direction: column; gap: 25px; padding-bottom: 24px; }
  .sa-maya-catalog-search { width: 100%; }
  .sa-maya-catalog-subtitle { max-width: 29ch; font-size: 13px; }
  .sa-maya-catalog-meta { margin: 22px 0 18px; }
  .sa-maya-game-content { padding: 20px; }
  .sa-maya-game-name { font-size: 27px; }
  .sa-page-cart-item { padding: 16px; }
  .sa-page-customer-invoices-actions > :is(a, button) { min-height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .sa-maya-game-card, .sa-maya-game-media img, .sa-maya-game-arrow, .sa-product-card { transition: none; }
  .sa-maya-game-card:hover, .sa-maya-game-card:hover .sa-maya-game-media img { transform: none; }
}