/* Game detail: global banner, game identity and a separate payment column. */
body.storefront.catalog-store .catalog-main:has(#form-order) {
  width: 100%;
  max-width: none;
  padding: 0 0 64px;
}
body.storefront.catalog-store .order-page { min-width: 0; }
body.storefront.catalog-store .order-hero { background: #101010; border-bottom: 1px solid #282828; }
body.storefront.catalog-store .order-banner {
  position: relative;
  height: clamp(200px, 27vw, 460px);
  overflow: hidden;
  background: #111;
}
body.storefront.catalog-store .order-banner-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
body.storefront.catalog-store .order-banner-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; height: 100%; padding: 30px;
  background: linear-gradient(120deg, #101010 30%, #1b2217);
  color: var(--primary-soft); text-align: center;
}
body.storefront.catalog-store .order-banner-fallback strong { font-size: clamp(28px, 3.5vw, 52px); letter-spacing: -1.5px; }
body.storefront.catalog-store .order-banner-fallback p { color: var(--muted); font-size: 14px; }
body.storefront.catalog-store .order-identity-band {
  position: relative; isolation: isolate; background: #101210;
  border-top: 1px solid #ffffff0c;
}
body.storefront.catalog-store .order-identity-background {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    linear-gradient(145deg, transparent 0 68%, #98bd5010 68% 69%, transparent 69%),
    linear-gradient(25deg, #98bd5012 0 12%, transparent 12% 88%, #98bd5010 88%),
    repeating-linear-gradient(135deg, transparent 0 130px, #c4d5b509 131px 132px, transparent 133px 265px),
    #141714;
}
body.storefront.catalog-store .order-identity-background::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #080a085c, #080a0899 42%, #080a0852), linear-gradient(0deg, #08080866, transparent 80%);
}
body.storefront.catalog-store .order-identity-wordmark {
  position: absolute; right: -18px; top: 50%; transform: translateY(-50%) skewX(-10deg);
  white-space: nowrap; text-transform: uppercase; font-size: clamp(100px, 15vw, 270px);
  line-height: 1; font-weight: 900; letter-spacing: -6px; color: transparent;
  -webkit-text-stroke: 1px #b8c5b132; user-select: none;
}
body.storefront.catalog-store .order-identity-image {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
body.storefront.catalog-store .order-identity-image[hidden] { display: none; }
body.storefront.catalog-store .order-identity,
body.storefront.catalog-store .order-assurances,
body.storefront.catalog-store .order-checkout { width: var(--catalog-content-width); margin-inline: auto; }
body.storefront.catalog-store .order-identity {
  position: relative; display: flex; align-items: flex-end; gap: 42px;
  padding: 0 0 38px; min-height: 170px;
}
body.storefront.catalog-store .order-game-cover {
  position: relative; flex: 0 0 220px; width: 220px; aspect-ratio: 1;
  margin-top: -94px; overflow: hidden; border: 2px solid #6d805251; border-radius: 18px;
  transform: perspective(850px) rotateY(13deg) rotateX(3deg) rotateZ(-5deg);
  transform-origin: center 75%;
  background: #25301f;
  box-shadow: 1px 1px 0 #405037, 3px 3px 0 #25301f, 5px 5px 0 #131a10, 10px 18px 28px #00000099;
}
body.storefront.catalog-store .order-game-cover::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(125deg, #ffffff20, transparent 38% 70%, #00000012);
  box-shadow: inset 0 0 0 1px #ffffff16;
}
body.storefront.catalog-store .order-game-cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
body.storefront.catalog-store .order-game-cover .order-cover-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; padding: 18px;
  background: linear-gradient(145deg, #435832, #1f2b19); color: var(--primary-soft);
  font-size: 25px; line-height: 1.2; font-weight: 750; text-align: center; overflow-wrap: anywhere;
}
body.storefront.catalog-store .order-cover-fallback > span { font-size: 9px; letter-spacing: 1.5px; font-weight: 500; }
body.storefront.catalog-store .order-cover-fallback > strong { font-size: inherit; }
body.storefront.catalog-store .order-title { flex: 1; min-width: 0; padding-top: 22px; text-shadow: 0 2px 8px #000000b3; }
body.storefront.catalog-store .order-title h1 { margin: 0; color: var(--text); font-size: clamp(23px, 2vw, 30px); line-height: 1.25; letter-spacing: -.5px; overflow-wrap: anywhere; }
body.storefront.catalog-store .order-title > p { margin-top: 5px; color: var(--muted); font-size: 14px; }
body.storefront.catalog-store .order-services { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; color: var(--primary-soft); font-size: 12px; }
body.storefront.catalog-store .order-services span { white-space: nowrap; }
body.storefront.catalog-store .order-back-link { display: inline-block; margin-top: 14px; padding-block: 4px; color: var(--muted); font-size: 12px; }
body.storefront.catalog-store .order-back-link:hover { color: var(--primary); }
body.storefront.catalog-store .order-assurances {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 38px;
  margin-block: 32px; padding: 16px 24px; border: 1px solid #242424; border-radius: 14px;
  background: #111; color: #c4cebb; font-size: 12px; font-weight: 550;
}
body.storefront.catalog-store .order-checkout { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(300px, 1fr); align-items: start; gap: 32px; }
body.storefront.catalog-store .order-checkout .quick-order-main { min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
body.storefront.catalog-store .order-panel {
  min-width: 0; margin: 0 0 26px; padding: 24px; border: 1px solid #2b3327; border-radius: 16px; background: #111510;
}
body.storefront.catalog-store .order-checkout .quick-step-title {
  display: flex; align-items: center; gap: 16px; min-height: 54px;
  margin: -24px -24px 24px; padding: 0 20px 0 0; border-bottom: 1px solid #2b3829;
  border-radius: 15px 15px 0 0; background: #202c1b; font-size: 15px; font-weight: 650;
}
body.storefront.catalog-store .order-checkout .quick-step-number {
  display: inline-flex; align-items: center; justify-content: center; align-self: stretch;
  flex: 0 0 52px; min-height: 54px; border-radius: 15px 0 0 0;
  background: var(--primary); color: #10170b; font-size: 16px; font-weight: 750;
}
body.storefront.catalog-store .order-checkout .quick-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
body.storefront.catalog-store .order-checkout .quick-fields-single { grid-template-columns: minmax(0, 1fr); }
body.storefront.catalog-store .order-checkout .quick-help { margin-top: 15px; }
body.storefront.catalog-store .order-checkout .quick-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
body.storefront.catalog-store .order-checkout .opt-product {
  display: flex; flex-direction: column; align-items: stretch; justify-content: space-between;
  min-width: 0; min-height: 154px; padding: 0; overflow: hidden;
  border: 1px solid #253023; border-radius: 15px; background: #070907; text-align: left;
  box-shadow: 0 4px 12px #00000020;
}
body.storefront.catalog-store .order-checkout .opt-product:hover { background: #0c100b; border-color: #657d40; }
body.storefront.catalog-store .order-checkout .opt-product.selected,
body.storefront.catalog-store .order-checkout .opt-product[aria-pressed="true"] {
  border-color: var(--primary); background: #0c100b; box-shadow: inset 0 0 0 1px var(--primary), 0 0 0 1px var(--primary);
}
body.storefront.catalog-store .order-checkout .opt-product:focus-visible { outline: 2px solid var(--primary-soft); outline-offset: 4px; }
body.storefront.catalog-store .order-product-main { display: block; flex: 1; padding: 16px 14px 13px; }
body.storefront.catalog-store .order-checkout .opt-product .opt-name { font-size: 13px; font-weight: 650; line-height: 1.45; color: #eef1e8; }
body.storefront.catalog-store .order-product-price-row { display: flex; align-items: center; gap: 11px; min-height: 42px; margin-top: 9px; }
body.storefront.catalog-store .order-product-icon { display: block; flex: 0 0 38px; width: 38px; height: 38px; object-fit: contain; }
body.storefront.catalog-store .order-product-prices { display: block; min-width: 0; }
body.storefront.catalog-store .order-checkout .opt-product .opt-price { margin: 0; color: var(--primary); font-size: 17px; line-height: 1.3; font-weight: 750; }
body.storefront.catalog-store .order-checkout .opt-product .opt-price-coret { margin-top: 3px; color: #929c8a; font-size: 10px; font-weight: 400; }
body.storefront.catalog-store .order-product-footer {
  position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between;
  gap: 9px; min-height: 52px; padding: 10px 12px; border-top: 1px solid #3a493338;
  background: linear-gradient(180deg, #293526, #172016); overflow: hidden;
}
body.storefront.catalog-store .order-product-footer::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(120deg, transparent 70%, #98bd501f 70% 79%, transparent 79%), linear-gradient(60deg, transparent 84%, #77974433 84% 92%, transparent 92%);
}
body.storefront.catalog-store .order-product-benefit { display: block; min-width: 0; }
body.storefront.catalog-store .order-checkout .order-product-footer .flash-badge { margin: 0; padding: 0; border-radius: 0; background: transparent; color: var(--primary-soft); font-size: 9px; font-weight: 700; letter-spacing: .3px; }
body.storefront.catalog-store .order-checkout .order-product-footer .opt-hemat { margin-top: 2px; color: #eef1e8; font-size: 11px; font-weight: 600; }
body.storefront.catalog-store .order-product-detail { display: block; color: #eef1e8; font-size: 11px; font-weight: 650; }
body.storefront.catalog-store .order-product-note { display: block; margin-top: 2px; color: #bcc7b4; font-size: 9px; }
body.storefront.catalog-store .order-product-delivery { flex: 0 0 auto; max-width: 58px; padding: 4px 7px; border-radius: 4px; background: #eef3e8; color: #334729; text-align: center; font-size: 9px; font-weight: 750; line-height: 1.2; }
body.storefront.catalog-store .order-checkout .quick-extra { background: #111510; border: 1px solid #2b3327; border-radius: 12px; padding: 0 20px; }
body.storefront.catalog-store .order-checkout .quick-extra + .quick-extra { margin-top: 16px; }
body.storefront.catalog-store .order-checkout .quick-extra summary { min-height: 50px; }
body.storefront.catalog-store .order-information .tutorial-list { gap: 16px; }
body.storefront.catalog-store .order-information .tutorial-list li { min-width: 0; overflow-wrap: anywhere; }
body.storefront.catalog-store .order-information .order-tutorial-content {
  margin-top: 8px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.75;
}
body.storefront.catalog-store .order-checkout-side { min-width: 0; }
body.storefront.catalog-store .order-rating h2 { font-size: 16px; font-weight: 650; }
body.storefront.catalog-store .order-rating-value { display: flex; align-items: baseline; gap: 9px; margin-top: 12px; }
body.storefront.catalog-store .order-rating-value strong { color: var(--text); font-size: 44px; font-weight: 750; letter-spacing: -1.5px; line-height: 1.1; }
body.storefront.catalog-store .order-rating-value span { color: var(--primary-soft); font-size: 15px; }
body.storefront.catalog-store .order-rating p { margin-top: 9px; color: var(--muted); font-size: 12px; }
body.storefront.catalog-store .order-rating .order-rating-empty { margin-block: 13px 4px; color: var(--primary-soft); font-size: 15px; }
body.storefront.catalog-store .order-payment .quick-payment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.storefront.catalog-store .order-payment .opt-channel { padding: 12px; min-height: 80px; }
body.storefront.catalog-store .order-payment .opt-fee { font-size: 10px; }
body.storefront.catalog-store .order-payment .channel-group-title:first-of-type { margin-top: 0; }
body.storefront.catalog-store .order-checkout .quick-ticket { position: static; padding: 0; overflow: hidden; }
body.storefront.catalog-store .order-checkout .quick-ticket-head { padding: 19px 22px; }
body.storefront.catalog-store .order-checkout .quick-ticket-head h2 { font-size: 20px; font-weight: 650; }
body.storefront.catalog-store .order-checkout .quick-ticket-body { padding: 22px; }
body.storefront.catalog-store .order-checkout .quick-ticket .quick-extra { padding-inline: 12px; }
body.storefront.catalog-store .order-checkout .quick-submit { margin-top: 18px; }

@media (max-width: 1100px) {
  body.storefront.catalog-store .order-checkout { gap: 24px; grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr); }
  body.storefront.catalog-store .order-checkout .quick-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.storefront.catalog-store .order-game-cover { flex-basis: 190px; width: 190px; margin-top: -72px; }
}
@media (max-width: 800px) {
  body.storefront.catalog-store .order-identity,
  body.storefront.catalog-store .order-assurances,
  body.storefront.catalog-store .order-checkout { width: calc(100% - 40px); }
  body.storefront.catalog-store .order-checkout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.storefront.catalog-store .order-identity { gap: 22px; padding-bottom: 24px; }
  body.storefront.catalog-store .order-title h1 { font-size: 24px; }
  body.storefront.catalog-store .order-game-cover { flex-basis: 148px; width: 148px; margin-top: -52px; }
  body.storefront.catalog-store .order-services { gap: 8px 16px; margin-top: 16px; font-size: 11px; }
  body.storefront.catalog-store .order-assurances { gap: 8px 24px; margin-block: 24px; font-size: 11px; }
  body.storefront.catalog-store .order-checkout .quick-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  body.storefront.catalog-store .catalog-main:has(#form-order) { padding-bottom: 36px; }
  body.storefront.catalog-store .order-identity,
  body.storefront.catalog-store .order-assurances,
  body.storefront.catalog-store .order-checkout { width: calc(100% - 28px); }
  body.storefront.catalog-store .order-banner { height: auto; min-height: 130px; }
  body.storefront.catalog-store .order-banner-image { height: auto; min-height: 130px; object-fit: contain; }
  body.storefront.catalog-store .order-banner-fallback { min-height: 180px; padding: 25px 18px 38px; }
  body.storefront.catalog-store .order-banner-fallback strong { font-size: 25px; }
  body.storefront.catalog-store .order-banner-fallback > span { font-size: 11px; }
  body.storefront.catalog-store .order-identity { align-items: flex-start; gap: 15px; padding-bottom: 23px; }
  body.storefront.catalog-store .order-game-cover { flex-basis: 105px; width: 105px; margin-top: -28px; border-width: 1px; border-radius: 12px; transform: perspective(650px) rotateY(9deg) rotateX(2deg) rotateZ(-4deg); box-shadow: 2px 2px 0 #25301f, 4px 4px 0 #131a10, 6px 12px 18px #00000080; }
  body.storefront.catalog-store .order-identity-wordmark { right: -12px; font-size: 110px; letter-spacing: -3px; }
  body.storefront.catalog-store .order-game-cover .order-cover-fallback { padding: 9px; font-size: 16px; }
  body.storefront.catalog-store .order-title { padding-top: 14px; }
  body.storefront.catalog-store .order-title h1 { font-size: 20px; }
  body.storefront.catalog-store .order-title > p { font-size: 12px; }
  body.storefront.catalog-store .order-services { flex-direction: column; gap: 4px; margin-top: 12px; }
  body.storefront.catalog-store .order-assurances { justify-content: flex-start; gap: 7px 18px; padding: 13px 16px; font-size: 10px; }
  body.storefront.catalog-store .order-panel { margin-bottom: 20px; padding: 18px; border-radius: 13px; }
  body.storefront.catalog-store .order-checkout .quick-step-title { margin: -18px -18px 20px; gap: 12px; border-radius: 12px 12px 0 0; font-size: 14px; }
  body.storefront.catalog-store .order-checkout .quick-step-number { flex-basis: 44px; border-radius: 12px 0 0 0; font-size: 14px; }
  body.storefront.catalog-store .order-checkout .quick-fields { gap: 12px; }
  body.storefront.catalog-store .order-checkout .quick-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  body.storefront.catalog-store .order-checkout .opt-product { padding: 0; min-height: 151px; border-radius: 12px; }
  body.storefront.catalog-store .order-product-main { padding: 12px 10px 10px; }
  body.storefront.catalog-store .order-checkout .opt-product .opt-name { font-size: 12px; }
  body.storefront.catalog-store .order-product-price-row { flex-wrap: wrap; gap: 6px; margin-top: 7px; min-height: 38px; }
  body.storefront.catalog-store .order-product-prices { max-width: 100%; }
  body.storefront.catalog-store .order-product-icon { flex-basis: 25px; width: 25px; height: 30px; }
  body.storefront.catalog-store .order-checkout .opt-product .opt-price { font-size: 14px; }
  body.storefront.catalog-store .order-product-footer { padding: 9px 8px; gap: 6px; min-height: 53px; }
  body.storefront.catalog-store .order-product-delivery { max-width: 44px; padding: 4px; font-size: 8px; }
  body.storefront.catalog-store .order-product-detail,
  body.storefront.catalog-store .order-checkout .order-product-footer .opt-hemat { font-size: 10px; }
  body.storefront.catalog-store .order-checkout .quick-ticket-body { padding: 18px; }
  body.storefront.catalog-store .order-checkout .quick-extra { padding-inline: 14px; }
  body.storefront.catalog-store .order-checkout .quick-extra summary { gap: 12px; flex-wrap: wrap; }
}
