/* Local VNG-inspired carousel study based on its public rendered CSS. */
.store-gradient { background:#fff; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  padding: 20px 20px 56px;
  color: #fff;
  background: #171a21;
}

.hero__ambient {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.98) 76%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.98) 76%, rgba(0,0,0,0) 100%);
}

.hero__ambient > span {
  position: absolute;
  inset: -16px;
  overflow: hidden;
  background-color: #171a21;
  background-position: center center;
  background-repeat: no-repeat;
  /* The lower layer fills ultrawide screens so no empty side bands remain. */
  background-size: cover;
  filter: blur(18px) saturate(.9);
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 500ms ease-in-out;
}

/* Repeat the complete artwork over the filled background. This keeps the
   campaign composition recognizable without stretching it to the viewport. */
.hero__ambient > span::after {
  content: "";
  position: absolute;
  inset: 16px;
  background-image: inherit;
  background-position: inherit;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .46;
}

.hero__ambient > span.is-active { opacity:1; }

.hero-stage {
  position: relative;
  z-index: 1;
  width: min(100%, 1000px);
  display: block;
  margin: 0 auto;
}

.hero-carousel {
  position: relative;
  min-width: 0;
  aspect-ratio: 1650 / 928;
  overflow: visible;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(17,24,34,.2), 0 2px 8px rgba(17,24,34,.12);
}

/* Clip the artwork while allowing the controls to sit across the lower edge. */
.hero-carousel__slides { overflow:hidden; border-radius:inherit; }

.hero-carousel__slides,
.hero__slide,
.hero__inner,
.hero__right,
.hero__visual,
.hero__media,
.hero__media--photo,
.hero__visual--valorant .hero__media--photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  clip-path: none;
}

.hero__slide {
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease-in-out;
}

.hero-carousel > .hero-carousel__slides { border-radius:inherit; }

.hero__slide.is-active {
  display: block;
  opacity: 1;
  pointer-events: auto;
  animation: none;
}

.hero__slide::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 16px;
  pointer-events: none;
  transition: border-color .2s ease;
}

.hero__slide.is-active:hover::after { border-color:rgba(255,255,255,.34); }
.hero__slide:focus-visible { outline:3px solid #fff; outline-offset:-5px; }
.hero-carousel:focus-visible { outline:3px solid #fff; outline-offset:5px; }
.hero__left,.hero__visual::before,.hero__visual::after { display:none; }
.hero__media--photo picture { display:block; width:100%; height:100%; }

.hero__media--photo img,
.hero__visual--valorant .hero__media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

.hero__media--symbol {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 40px;
  background: linear-gradient(135deg,#34465e,#192535);
}

.hero__visual--orders .hero__media--symbol img,
.hero__visual--pickup .hero__media--symbol img {
  width: clamp(140px,24%,220px);
  filter: brightness(0) invert(1);
}

.hero-carousel__controls {
  left: 0;
  right: 0;
  bottom: -48px;
  z-index: 8;
  transform: none;
  max-width:100%;
  gap:8px;
  padding:0;
  border: 0;
  border-radius:0;
  background: transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

.hero-thumbs {
  min-width: 0;
  max-height: 485px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(55,49,47,.5) transparent;
}

.hero-thumbs::-webkit-scrollbar { width:4px; }
.hero-thumbs::-webkit-scrollbar-track { background:transparent; }
.hero-thumbs::-webkit-scrollbar-thumb { border-radius:2px; background:rgba(55,49,47,.5); }

.hero-thumbs button {
  position: relative;
  flex: 0 0 calc((100% - 32px) / 3);
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: #26364b;
  cursor: pointer;
  transition: transform .2s ease;
}

.hero-thumbs button::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 4px solid rgba(255,255,255,.25);
  border-radius: 16px;
  pointer-events: none;
  transition: border-color .2s ease;
}

.hero-thumbs button:hover { transform:scale(1.035); }
.hero-thumbs button:hover::after,.hero-thumbs button.is-active::after { border-color:rgba(255,255,255,.62); }
.hero-thumbs button.is-active { box-shadow:0 0 0 2px rgba(216,50,73,.72); }
.hero-thumbs img { width:100%; height:100%; display:block; object-fit:cover; }

.hero-thumbs button span {
  position: absolute;
  z-index: 2;
  left: 10px;
  right: 10px;
  bottom: 9px;
  overflow: hidden;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-align: left;
  text-overflow: ellipsis;
  text-shadow: 0 2px 7px rgba(0,0,0,.75);
  white-space: nowrap;
}

.hero-thumbs button::before {
  content:"";
  position:absolute;
  z-index:1;
  inset:45% 0 0;
  background:linear-gradient(transparent,rgba(10,15,23,.72));
}

.store-content { position:relative; z-index:2; background:#fff; }
.store-content > .section:first-child { background:#fff; backdrop-filter:none; }

@media (max-width: 960px) {
  .hero-stage { width:100%; }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding:20px 16px 52px;
  }
  .hero-stage { display:block; }
  .hero-carousel { width:100%; }
  .hero-thumbs { display:none; }
  .hero-carousel__arrow { display:none; }
  .hero__ambient > span { inset:-10px; transform:scale(1.02); }
  .hero__ambient > span::after { inset:10px; }
}

.hero-carousel__arrow,
.hero-carousel__pause {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  color: #fff;
  background: #252a32;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.hero-carousel__arrow { position:relative; font-size:0; order:1; }
.hero-carousel__arrow[data-hero-direction="next"] { order:3; }
.hero-carousel__arrow::before {
  content:"";
  position:absolute;
  width:8px;
  height:8px;
  top:50%;
  left:50%;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
  transform:translate(-30%,-50%) rotate(-135deg);
}
.hero-carousel__arrow[data-hero-direction="next"]::before { transform:translate(-70%,-50%) rotate(45deg); }
.hero-carousel__pause { position:relative; order:2; font-size:0; color:#fff; background:#252a32; }
.hero-carousel__pause::before {
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:10px;
  height:12px;
  border-left:3px solid currentColor;
  border-right:3px solid currentColor;
  transform:translate(-50%,-50%);
}
.hero-carousel__pause[aria-pressed="true"]::before {
  width:0;
  height:0;
  border:6px solid transparent;
  border-left:9px solid currentColor;
  border-right:0;
  transform:translate(-40%,-50%);
}
.hero-carousel__arrow:hover { color:#fff; background:#434a55; }
.hero-carousel__pause:hover { color:#fff; background:#363b43; }
.hero-carousel__arrow:active,.hero-carousel__pause:active { transform:scale(.94); }
.hero-carousel__arrow:focus-visible,
.hero-carousel__pause:focus-visible,
.hero-carousel__dots button:focus-visible { outline: 2px solid var(--polish-focus, #ff4655); outline-offset: 2px; }

.hero-carousel__dots {
  order:0;
  gap:0;
  min-width:0;
  margin-right:auto;
  padding:0 8px;
  border-radius:999px;
  background:#252a32;
  overflow-x:auto;
  scrollbar-width:none;
}
.hero-carousel__dots::-webkit-scrollbar { display:none; }
.hero-carousel__dots button,
.hero-carousel__dots button.is-active {
  position: relative;
  width: 36px;
  height: 44px;
  flex:0 0 36px;
  border-radius: 8px;
  background: transparent;
  touch-action: manipulation;
}
.hero-carousel__dots button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aab0ba;
  content: '';
  transform: translate(-50%, -50%);
  transition: transform .2s ease, background-color .2s ease;
}
.hero-carousel__dots button.is-active::before { width:20px; border-radius:4px; background:#fff; }
.hero-carousel__dots button:hover::before { background:#fff; }

.nav__mobile-language { display: none; }

@media (max-width: 920px) {
  .store-home .nav__inner {
    height: auto;
    min-height: 114px;
    grid-template-rows: 68px 46px;
    grid-template-areas: "logo search right" "links links links";
  }
  .store-home .nav__links {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    margin: 0 -18px;
    padding: 4px 18px 0;
    gap: 4px;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  .store-home .nav__links::-webkit-scrollbar { display: none; }
  .store-home .nav__link {
    min-height: 38px;
    flex: 0 0 auto;
    padding: 0 14px;
    white-space: nowrap;
    font: inherit;
    cursor: pointer;
    touch-action: manipulation;
  }
  .store-home .nav__mobile-language {
    min-height: 42px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid #e4e0da;
    border-radius: 10px;
    background: #f3f1ed;
  }
  .store-home .nav__mobile-language button {
    min-width: 38px;
    height: 34px;
    border: 0;
    border-radius: 7px;
    color: #686e78;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 700; /* 720 → 700 字重归位（v=20260901-fontweight-1） */
    cursor: pointer;
    touch-action: manipulation;
  }
  .store-home .nav__mobile-language button[aria-pressed="true"] {
    color: #b42d3e;
    background: #fff;
    box-shadow: 0 2px 7px rgba(29,33,40,.09);
  }
  .store-home .nav__mobile-language button:focus-visible { outline: 2px solid #c73547; outline-offset: 2px; }
}

@media (max-width: 700px) {
  .store-home .nav__inner {
    height: auto;
    min-height: 152px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 56px 50px 46px;
    grid-template-areas: "logo . right" "search search search" "links links links";
    padding: 0 12px;
    column-gap: 8px;
  }
  .store-home .nav__search { width: 100%; max-width: none; min-width: 0; }
  .store-home .nav__links { margin: 0 -12px; padding: 4px 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__ambient > span,.hero__slide,.hero-thumbs button,.hero-carousel__dots button::before { transition:none; }
}
@media (max-width: 430px) {
  .store-home .brand-essence__keys {
    flex-wrap: wrap;
    justify-content: center;
  }
}
