/*!***************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./src/components/Gifts/gift-inbox-popup.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************/
.gift-global-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gift-global-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 16, .76);
  backdrop-filter: blur(8px);
}

.gift-global-dialog {
  position: relative;
  z-index: 1;
  width: min(500px, calc(100vw - 28px));
  background: #15171E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

.gift-global-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.gift-global-body {
  display: flex;
  flex-direction: column;
}

.gift-global-title {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  margin: 4px 0 8px;
  text-align: center;
}

.gift-global-subtitle {
  color: #8B92A5;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  margin: 0 0 14px;
}

.gift-global-product {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  padding: 10px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.gift-global-product-compact {
  grid-template-columns: 88px 1fr;
}

.gift-global-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}

.gift-global-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gift-global-name {
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.gift-global-game {
  color: #8B92A5;
  font-size: 13px;
  line-height: 1.2;
}

.gift-global-price {
  color: #ffd54a;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
}

.gift-global-sender {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.3;
}

.gift-global-message {
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.4;
}

.gift-global-btn {
  height: 44px;
  border-radius: 12px;
  border: 0;
  width: 100%;
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.gift-global-btn-primary {
  background: linear-gradient(180deg, #36e767 0%, #24d45a 100%);
  color: #0b1118;
}

.gift-global-btn-secondary {
  margin-top: 10px;
  background: rgba(255,255,255,.08);
  color: #fff;
}

.gift-global-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.gift-global-actions .gift-global-btn-secondary {
  margin-top: 0;
}

.gift-global-form {
  text-align: left;
}

.gift-global-loading {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.gift-global-loading-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0 24px;
}

.gift-global-loading-spinner {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.28);
  border-top-color: #ffffff;
  animation: gift-spin 0.8s linear infinite;
}

.gift-global-fields {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.gift-global-field span {
  display: block;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.gift-global-field input,
.gift-global-field select,
.gift-global-field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.2;
}

.gift-global-field input {
  height: 42px;
}

.gift-global-field select {
  height: 42px;
  padding: 0 36px 0 12px;
  line-height: 42px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.68) 50%), linear-gradient(135deg, rgba(255,255,255,.68) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 2px), calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
  color-scheme: dark;
}

.gift-global-field select option {
  background: #15171E;
  color: #fff;
}

.gift-global-field select:focus,
.gift-global-field input:focus,
.gift-global-field textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,.22);
}

.gift-global-field textarea {
  min-height: 80px;
  resize: vertical;
}

.gift-global-field input::placeholder,
.gift-global-field textarea::placeholder {
  color: rgba(255,255,255,.42);
}

.gift-global-select {
  position: relative;
}

.gift-global-select-btn {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: #fff;
  text-align: left;
  padding: 0 36px 0 12px;
  position: relative;
  cursor: pointer;
}

.gift-global-select-placeholder {
  color: rgba(255,255,255,.50);
}

.gift-global-select-value {
  color: #fff;
}

.gift-global-select-arrow {
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.60);
}

.gift-global-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: #15171E;
  box-shadow: 0 10px 22px rgba(0,0,0,.45);
  z-index: 6;
  max-height: 240px;
  overflow: auto;
}

.gift-global-select-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.85);
  text-align: left;
  padding: 10px 12px;
  font-size: 13px;
  cursor: pointer;
}

.gift-global-select-option:hover {
  background: rgba(255,255,255,.06);
}

.gift-global-select-option-placeholder {
  color: rgba(255,255,255,.65);
}

.gift-global-select-option-active {
  color: #fff;
}

@keyframes gift-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.gift-global-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

.gift-global-checkbox input {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  accent-color: #22C55E;
}

@media (max-width: 700px) {
  .gift-global-dialog {
    padding: 12px;
    border-radius: 16px;
  }

  .gift-global-title {
    font-size: 18px;
  }

  .gift-global-subtitle {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .gift-global-product {
    grid-template-columns: 84px 1fr;
  }

  .gift-global-name {
    font-size: 15px;
  }

  .gift-global-price {
    font-size: 16px;
  }

  .gift-global-btn {
    font-size: 14px;
    height: 42px;
  }

  .gift-global-actions {
    grid-template-columns: 1fr;
  }
}

/*!***************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./src/components/MobileMenu/mobile-menu.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************/
/* ========================= 
   Mobile Bottom Nav (capsule like mockup) 
   ========================= */ 

.mnav2{ display: none; } 

/* ========================= 
   FAB Ring (Order Status) - Global Styles 
   ========================= */ 
.fab-ring{ 
  position: fixed; 
  z-index: 360; 

  width: 64px; 
  height: 64px; 
  border-radius: 999px; 

  display: flex; 
  align-items: center; 
  justify-content: center; 

  text-decoration: none; 
  user-select: none; 
  -webkit-tap-highlight-color: transparent; 

  /* ВАЖНО: градиентная ОБВОДКА через background-clip (без mask) */ 
  border: 2px solid transparent; 
  background: linear-gradient(#0B0D14, #0B0D14) padding-box, linear-gradient( 120deg, rgb(34, 197, 94) 0%, rgba(34,197,94,.10) 28%, rgb(34, 197, 94) 55%, rgba(34,197,94,.12) 78%, rgba(34, 197, 94, 0.68) 100% ) border-box; 

  backdrop-filter: blur(14px) saturate(1.1); 
  -webkit-backdrop-filter: blur(14px) saturate(1.1); 

  transition: transform .16s ease; 
} 

.fab-ring__inner{ 
  width: 100%; 
  height: 100%; 
  border-radius: 999px; 

  display: flex; 
  align-items: center; 
  justify-content: center; 

  background: transparent; /* фон уже задан у .fab-ring */ 
} 

.fab-ring img {
  width: 28px;
  height: 28px;
}
/* Client Global Scrollbar (site only) */
html, body, * {
  scrollbar-width: thin;
  scrollbar-color: #1B1D24 #15171E;
}
*::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}
*::-webkit-scrollbar-track {
  background: #15171E;
}
*::-webkit-scrollbar-thumb {
  background: #1B1D24;
  border-radius: 10px;
}

/* Desktop Positioning */
@media (min-width: 901px) {
  .fab-ring {
    right: 100px;
    bottom: 80px;
  }
}

/* Product Page Overrides (Moved from product.css to avoid global leak) */
@media (max-width: 900px) {
  .fab-ring.fab-ring--product {
    bottom: calc(230px + env(safe-area-inset-bottom));
  }
}

/* Mobile Styles */
@media (max-width: 900px){ 

  .mnav2{ 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 

    position: fixed; 
    left: 50%; 
    transform: translateX(-50%); 
    bottom: calc(24px + env(safe-area-inset-bottom)); 
    z-index: 350; 

    width: min(560px, calc(100% - 26px)); 
    height: 74px; 
    padding: 10px 16px; 

    border-radius: 999px; 
    border: 0; 

    background: rgba(12,14,18,.72); 
    -webkit-backdrop-filter: blur(16px) saturate(1.15); 
    backdrop-filter: blur(16px) saturate(1.15); 
    box-shadow: 0 18px 60px rgba(0,0,0,.45); 
  } 

  /* Mobile Positioning for FAB */
  .fab-ring {
    right: 22px;
    bottom: 120px;
  }

  /* градиентная “стеклянная” обводка как в макете */ 
  .mnav2{ 
    isolation: isolate; /* чтобы слои работали чисто */ 
  } 

  .mnav2::before{ 
    content: ""; 
    position: absolute; 
    inset: 0; 
    border-radius: 999px; 
    padding: 2px; /* толщина рамки */ 

    background: linear-gradient( 120deg, rgba(34, 197, 94, 0.3) 0%, rgba(34, 197, 94, 0) 28%, rgba(34, 197, 94, 0.22) 55%, rgba(34,197,94,.12) 78%, rgba(34,197,94,.55) 100% ); 

    -webkit-mask: 
      linear-gradient(#000 0 0) content-box, 
      linear-gradient(#000 0 0); 
    -webkit-mask-composite: xor; 
    mask-composite: exclude; 

    pointer-events: none; 
    z-index: 0; 
  } 

  /* мягкое внутреннее свечение (как “glow” по кромке) */ 
  .mnav2::after{ 
    content: ""; 
    position: absolute; 
    inset: 1px; 
    border-radius: 999px; 

    box-shadow: 
      inset 0 0 0 1px rgba(34,197,94,.10), 
      inset 0 0 22px rgba(34,197,94,.10); 

    pointer-events: none; 
    z-index: 0; 
  } 

  /* контент поверх псевдо-слоёв */ 
  .mnav2 > *{ 
    position: relative; 
    z-index: 1; 
  } 

  /* В макете только иконки — подписи/underline скрываем */ 
  .mnav2__label, 
  .mnav2__underline{ display: none !important; } 

  .mnav2__item{ 
    position: relative; 
    width: 58px; 
    height: 58px; 

    display: flex; 
    align-items: center; 
    justify-content: center; 

    text-decoration: none; 
    user-select: none; 

    border-radius: 999px; 
    /* transition: transform .16s ease; - REMOVED per request */
  } 

  /* .mnav2__item:active{ transform: scale(.98); } - REMOVED per request */ 

  .mnav2__icon{ 
    width: 42px; 
    height: 42px; 
    border-radius: 999px; 

    display: flex; 
    align-items: center; 
    justify-content: center; 
  } 

  /* делаем SVG/PNG белыми (как на макете) */ 
  .icon-menu-mobile-nav{ 
    width: 22px; 
    height: 22px; 
    display: block; 
    filter: brightness(0) invert(1); 
    opacity: .92; 
  } 

  /* ACTIVE INDICATOR (Sliding Green Circle) */
  .mnav2__indicator {
    position: absolute;
    top: 50%;
    left: 0; /* Anchor to left edge */
    width: 47px;
    height: 47px;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 30%, #3bf07e 0%, #22C55E 45%, #16a34a 100%);
    pointer-events: none;
    z-index: 0 !important; /* Behind items */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    will-change: transform;
    /* Vertical centering handled by transform in JS or here if using translate3d */
  }

  /* ACTIVE ITEM Styles */ 
  .mnav2__item.is-active .mnav2__icon{ 
    width: 47px; 
    height: 47px; 
    /* background removed - handled by indicator */
  } 

  .mnav2__item.is-active .icon-menu-mobile-nav{ 
    width: 22px; 
    height: 22px; 
    opacity: 1; 
    filter: brightness(0) invert(1); 
  }

  .mnav2__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #15171E; /* Match background color for cutout effect */
  }
}

/*!****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./node_modules/swiper/swiper.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Swiper 12.0.3
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2025 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: October 21, 2025
 */

:root {
  --swiper-theme-color: #007aff;
  /*
  --swiper-preloader-color: var(--swiper-theme-color);
  --swiper-wrapper-transition-timing-function: initial;
  */
}
:host {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}
.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  /* Fix of Webkit flickering */
  z-index: 1;
  display: block;
}
.swiper-vertical > .swiper-wrapper {
  flex-direction: column;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
  box-sizing: content-box;
}
.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}
.swiper-horizontal {
  touch-action: pan-y;
}
.swiper-vertical {
  touch-action: pan-x;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  display: block;
}
.swiper-slide-invisible-blank {
  visibility: hidden;
}
/* Auto Height */
.swiper-autoheight,
.swiper-autoheight .swiper-slide {
  height: auto;
}
.swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}
.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* 3D Effects */
.swiper-3d.swiper-css-mode .swiper-wrapper {
  perspective: 1200px;
}
.swiper-3d .swiper-wrapper {
  transform-style: preserve-3d;
}
.swiper-3d {
  perspective: 1200px;
  .swiper-slide,
  .swiper-cube-shadow {
    transform-style: preserve-3d;
  }
}

/* CSS Mode */
.swiper-css-mode {
  > .swiper-wrapper {
    overflow: auto;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    &::-webkit-scrollbar {
      display: none;
    }
  }
  > .swiper-wrapper > .swiper-slide {
    scroll-snap-align: start start;
  }
  &.swiper-horizontal {
    > .swiper-wrapper {
      scroll-snap-type: x mandatory;
    }
  }
  &.swiper-vertical {
    > .swiper-wrapper {
      scroll-snap-type: y mandatory;
    }
  }
  &.swiper-free-mode {
    > .swiper-wrapper {
      scroll-snap-type: none;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: none;
    }
  }
  &.swiper-centered {
    > .swiper-wrapper::before {
      content: '';
      flex-shrink: 0;
      order: 9999;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: center center;
      scroll-snap-stop: always;
    }
  }
  &.swiper-centered.swiper-horizontal {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-inline-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      height: 100%;
      min-height: 1px;
      width: var(--swiper-centered-offset-after);
    }
  }
  &.swiper-centered.swiper-vertical {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-block-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      width: 100%;
      min-width: 1px;
      height: var(--swiper-centered-offset-after);
    }
  }
}

/* Slide styles start */
/* 3D Shadows */
.swiper-3d {
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom,
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
  }
  .swiper-slide-shadow {
    background: rgba(0, 0, 0, 0.15);
  }
  .swiper-slide-shadow-left {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-right {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-top {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-bottom {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
}
.swiper-lazy-preloader {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  z-index: 10;
  transform-origin: 50%;
  box-sizing: border-box;
  border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
  border-radius: 50%;
  border-top-color: transparent;
}
.swiper:not(.swiper-watch-progress),
.swiper-watch-progress .swiper-slide-visible {
  .swiper-lazy-preloader {
    animation: swiper-preloader-spin 1s infinite linear;
  }
}
.swiper-lazy-preloader-white {
  --swiper-preloader-color: #fff;
}
.swiper-lazy-preloader-black {
  --swiper-preloader-color: #000;
}
@keyframes swiper-preloader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Slide styles end */

/*!******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./src/components/Modals/order-status-modal.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************/
.order-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  /* background: rgba(0, 0, 0, 0.4); Removed per user request */
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.order-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.order-modal {
  width: 100%;
  max-width: 550px;
  background: #15171E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.order-modal-overlay.is-open .order-modal {
  transform: scale(1) translateY(0);
}

.order-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  z-index: 10;
}

.order-modal__close:hover {
  color: #fff;
}

.order-modal__back {
  position: absolute;
  top: 25px;
  left: 20px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  z-index: 10;
}
.order-modal__back:hover {
  color: #fff;
}

.order-modal__title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  font-family: var(--font-geist-sans), sans-serif;
}

.order-modal__subtitle {
  text-align: center;
  font-size: 14px;
  color: #8B92A5;
  margin-bottom: 24px;
  font-family: var(--font-geist-sans), sans-serif;
}

/* Card inside modal */
.order-card {
  background: #1B1D24;
  border: 1px solid #2D3140;
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 24px;
}

.order-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.order-head-slider {
  position: relative;
  width: 100%;
  padding: 0; /* mobile default: без стрелок, без отступов */
}
.order-card__slide {
  display: flex;
  align-items: center;
  gap: 14px;
}
.order-head-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  z-index: 10;
  pointer-events: auto;
}
.order-head-arrow--prev { left: 2px; }
.order-head-arrow--next { right: 2px; }
.order-head-arrow.is-hidden { display: none; }
.order-head-arrow.is-disabled { opacity: .5; pointer-events: none; }

/* Desktop adjustments */
@media (min-width: 900px) {
  .order-head-slider {
    padding: 0 50px; /* больше отступы под стрелки на ПК */
  }
}

/* Hide arrows on phones; swipe only */
@media (max-width: 899px) {
  .order-head-arrow { 
    display: none !important; 
  }
}

.order-card__img {
  width: 80px;
  aspect-ratio: 16/9;
  border-radius: 14px;
  background-color: #1F212B;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.order-card__info {
  display: flex;
  flex-direction: column;
}

.order-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.order-card__game {
  font-size: 13px;
  color: #8B92A5;
}
.order-card__game span {
  color: #22C55E;
}

.order-card__details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Items list inside order card */
.order-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 140px;
  overflow-y: auto;
  padding-right: 6px;
  margin-bottom: 14px;
}
.order-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.2;
}
.order-item__bullet {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #22C55E;
  flex-shrink: 0;
}
.order-item__name {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-item__qty {
  color: #8B92A5;
  font-weight: 600;
}

.order-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.order-detail__label {
  font-size: 12px;
  color: #8B92A5;
  margin-bottom: 4px;
}

.order-detail__value {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

/* Timeline */
.order-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
  padding: 0 10px;
}

@media(max-width: 480px) {
  .order-timeline {
     padding: 0;
  }
}

.order-timeline__line {
  position: absolute;
  top: 14px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: #2A2D35;
  z-index: 0;
}

.order-timeline__line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #22C55E;
  transition: width 0.3s ease;
}

.order-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
}

.order-step__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #2A2D35;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 2px solid #14161C; /* Ring effect against line */
  transition: background 0.3s, color 0.3s;
}

.order-step.is-active .order-step__icon {
  background: #22C55E;
  color: #fff;
}
.order-step.is-pending .order-step__icon {
    background: #2A2D35; /* Or yellow if needed, user said yellow arrow for pending? */
}

/* Specific icons adjustment */
.order-step__icon img,
.order-step__icon svg {
  width: 14px;
  height: 14px;
}

.order-step__label {
  font-size: 11px;
  color: #8B92A5;
  margin-bottom: 4px;
}

.order-step__text {
  white-space: nowrap;
}

.order-step__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  background: #1F212B;
  color: #8B92A5;
  white-space: nowrap;
}

@media(max-width: 360px) {
  .order-step__status {
     font-size: 10px;
     padding: 4px 6px;
  }
}

.order-step.is-active .order-step__status {
  background: rgba(34, 197, 94, 0.1);
  color: #22C55E;
}

.order-step.is-process .order-step__status {
    background: rgba(234, 179, 8, 0.1);
    color: #EAB308;
}

/* Buttons */
.order-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-order-chat {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  background: #22C55E;
  color: #0B0D14;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-order-chat:hover {
  background: #16a34a;
}

.btn-order-back {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  background: #1F212B;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-order-back:hover {
  background: #2A2D35;
}

/* Orders list modal */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
}
.orders-list__empty {
  text-align: center;
  color: #8B92A5;
  font-size: 14px;
  padding: 16px 0;
}
.orders-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1B1D24;
  border: 1px solid #2D3140;
  border-radius: 12px;
  padding: 12px;
  gap: 12px;
}
.orders-list__main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.orders-list__title {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.status-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  color: #22C55E;
}
.status-badge--yellow {
  background: rgba(234, 179, 8, 0.1);
  color: #EAB308;
}
.orders-list__more {
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  background: #22C55E;
  color: #0B0D14;
  border: none;
  cursor: pointer;
}

/* Position orders list a bit higher on screen */
.orders-list-overlay {
  align-items: flex-start;
  padding-top: 12vh;
}

@media (max-width: 480px) {
  .orders-list__item {
    flex-direction: column;
    align-items: stretch;
  }
  .orders-list__main {
    width: 100%;
    justify-content: space-between;
  }
  .orders-list__more {
    width: 100%;
    margin-top: 8px;
  }
}

