/* Vetrina + modale (usa :root in styles.css) */

.showcase {
  position: relative;
  min-height: 100dvh;
  background: var(--bg);
  padding-bottom: calc(24px + var(--safe-bottom));
}

.showcase__glow {
  position: fixed;
  left: 50%;
  top: 18%;
  width: min(130vw, 480px);
  height: min(130vw, 480px);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.18) 0%,
    rgba(14, 165, 233, 0.07) 42%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
  animation: showcase-glow-pulse 5s ease-in-out infinite;
}

@keyframes showcase-glow-pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.showcase__header {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: calc(12px + var(--safe-top)) 14px 12px;
  background: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
}

.showcase__back {
  position: absolute;
  left: max(10px, env(safe-area-inset-left, 10px));
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(
    155deg,
    #0c1419 0%,
    #152a38 42%,
    #0e1922 55%,
    #0a1218 100%
  );
  color: var(--ice-light);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: back-ice-pulse 3s ease-in-out infinite;
}

.showcase__back::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 62%
  );
  transform: translateX(-100%) rotate(12deg);
  animation: back-shine 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes back-ice-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(56, 189, 248, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 4px 14px rgba(0, 0, 0, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(125, 211, 252, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 0 20px rgba(14, 165, 233, 0.32),
      0 6px 18px rgba(0, 0, 0, 0.4);
  }
}

@keyframes back-shine {
  0% {
    transform: translateX(-100%) rotate(12deg);
  }
  45%,
  100% {
    transform: translateX(120%) rotate(12deg);
  }
}

.showcase__back:active {
  transform: translateY(-50%) scale(0.96);
}

.showcase__back-icon {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
}

.showcase__heading {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(
    120deg,
    var(--ice-deep) 0%,
    var(--ice-mid) 12%,
    var(--ice-light) 32%,
    var(--ice-white) 48%,
    #ffffff 52%,
    var(--ice-pale) 62%,
    var(--ice-bright) 78%,
    var(--ice-light) 88%,
    var(--ice-white) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-shine 6s ease-in-out infinite;
}

.showcase__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 12px 88px;
  max-width: 520px;
  margin: 0 auto;
}

@keyframes product-card-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes product-card-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(56, 189, 248, 0.14),
      0 8px 24px rgba(0, 0, 0, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(125, 211, 252, 0.38),
      0 8px 28px rgba(14, 165, 233, 0.18),
      0 8px 24px rgba(0, 0, 0, 0.45);
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  background: #0a1014;
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.14),
    0 8px 24px rgba(0, 0, 0, 0.45);
  -webkit-tap-highlight-color: transparent;
  color: inherit;
  font: inherit;
  animation:
    product-card-enter 0.48s ease both,
    product-card-glow 3.4s ease-in-out 0.48s infinite;
}

.showcase__grid .product-card:nth-child(1) {
  animation-delay: 0s, 0.48s;
}

.showcase__grid .product-card:nth-child(2) {
  animation-delay: 0.06s, 0.54s;
}

.showcase__grid .product-card:nth-child(3) {
  animation-delay: 0.12s, 0.6s;
}

.showcase__grid .product-card:nth-child(4) {
  animation-delay: 0.18s, 0.66s;
}

.showcase__grid .product-card:nth-child(5) {
  animation-delay: 0.24s, 0.72s;
}

.showcase__grid .product-card:nth-child(6) {
  animation-delay: 0.3s, 0.78s;
}

.showcase__grid .product-card:nth-child(n + 7) {
  animation-delay: 0.36s, 0.84s;
}

.product-card:active {
  transform: scale(0.98);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: #0d0d0d;
  overflow: hidden;
}

.product-card__media img,
.product-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card__media video {
  pointer-events: none;
}

.product-card__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 9px;
  border-radius: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #030f18;
  line-height: 1.15;
  background: linear-gradient(
    105deg,
    var(--ice-deep) 0%,
    var(--ice-mid) 18%,
    var(--ice-bright) 38%,
    var(--ice-light) 52%,
    var(--ice-white) 65%,
    var(--ice-bright) 82%,
    #0284c7 100%
  );
  background-size: 200% 100%;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(14, 165, 233, 0.2);
  overflow: hidden;
  animation: badge-ice-shift 2.8s ease-in-out infinite;
  z-index: 2;
}

.product-card__badge::before {
  content: "";
  position: absolute;
  inset: -40% -80%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 60%
  );
  transform: translateX(-70%) rotate(10deg);
  animation: badge-shine 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes badge-ice-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes badge-shine {
  0% {
    transform: translateX(-80%) rotate(10deg);
  }
  40%,
  100% {
    transform: translateX(130%) rotate(10deg);
  }
}

.product-card__more {
  position: absolute;
  bottom: 8px;
  right: 8px;
  min-width: 28px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ice-pale);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.28);
  animation: more-pulse 2.5s ease-in-out infinite;
  z-index: 2;
}

@keyframes more-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
    color: var(--ice-pale);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(224, 242, 254, 0.5),
      0 0 14px rgba(14, 165, 233, 0.35);
    color: var(--ice-white);
  }
}

.product-card__body {
  padding: 10px 10px 12px;
  background: linear-gradient(180deg, #0f1418 0%, #0a0e12 100%);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fafafa;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Nome sulla card: stesso tipo di luminosità del titolo pagina vetrina */
.product-card__title--shine {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  background: linear-gradient(
    120deg,
    var(--ice-deep) 0%,
    var(--ice-mid) 12%,
    var(--ice-light) 32%,
    var(--ice-white) 48%,
    #ffffff 52%,
    var(--ice-pale) 62%,
    var(--ice-bright) 78%,
    var(--ice-light) 88%,
    var(--ice-white) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-shine 6s ease-in-out infinite;
}

.product-card__price {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ice-bright);
}

.product-card__price strong {
  font-weight: 800;
  color: var(--ice-pale);
  animation: price-glow 2.8s ease-in-out infinite;
}

@keyframes price-glow {
  0%,
  100% {
    color: var(--ice-pale);
    text-shadow: 0 0 0 transparent;
  }
  50% {
    color: var(--ice-white);
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
  }
}

/* Modale dettaglio */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.modal.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.modal__backdrop,
.modal__panel {
  pointer-events: none;
}

.modal.is-open .modal__backdrop,
.modal.is-open .modal__panel {
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: min(88dvh, 640px);
  margin: 12px;
  margin-bottom: max(12px, env(safe-area-inset-bottom, 12px));
  border-radius: 20px 20px 16px 16px;
  background: linear-gradient(180deg, #0f1418 0%, #080c10 100%);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.35),
    0 -8px 40px rgba(14, 165, 233, 0.14),
    0 24px 48px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(12px);
  transition: transform 0.24s ease;
}

.modal.is-open .modal__panel {
  transform: translateY(0);
  animation: modal-panel-glow 3.2s ease-in-out infinite;
}

@keyframes modal-panel-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(56, 189, 248, 0.32),
      0 -8px 40px rgba(14, 165, 233, 0.12),
      0 24px 48px rgba(0, 0, 0, 0.6);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(224, 242, 254, 0.5),
      0 -10px 48px rgba(56, 189, 248, 0.28),
      0 24px 48px rgba(0, 0, 0, 0.6);
  }
}

.modal__grab {
  flex-shrink: 0;
  height: 5px;
  padding: 10px 0 6px;
  display: flex;
  justify-content: center;
}

.modal__grab::after {
  content: "";
  width: 40px;
  height: 4px;
  border-radius: 99px;
  background: rgba(56, 189, 248, 0.35);
  animation: grab-shimmer 2s ease-in-out infinite;
}

@keyframes grab-shimmer {
  0%,
  100% {
    opacity: 0.55;
    background: rgba(14, 165, 233, 0.35);
  }
  50% {
    opacity: 1;
    background: linear-gradient(
      90deg,
      rgba(3, 105, 161, 0.55),
      rgba(224, 242, 254, 0.95),
      rgba(3, 105, 161, 0.55)
    );
  }
}

.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px 12px;
  flex-shrink: 0;
}

.modal__head-main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Nome prodotto (stesso effetto luminoso di "Quantità e prezzi" / header vetrina) */
.modal__shine-name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.03em;
  background: linear-gradient(
    120deg,
    var(--ice-deep) 0%,
    var(--ice-mid) 15%,
    var(--ice-light) 35%,
    var(--ice-white) 50%,
    var(--ice-pale) 65%,
    var(--ice-bright) 85%,
    var(--ice-light) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-shine 5s ease-in-out infinite;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Descrizione dove prima c'era il titolo piano */
.modal__lead {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

.modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ice-light);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0;
}

.modal__close:active {
  transform: scale(0.95);
}

.modal__scroll {
  overflow-y: auto;
  padding: 0 16px 20px;
  -webkit-overflow-scrolling: touch;
}

.modal__gallery {
  position: relative;
  margin: 0 0 14px;
}

.modal__img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0a0a0a;
  cursor: zoom-in;
}

.modal__img-wrap img,
.modal__img-wrap video.modal__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal__img-wrap video.modal__video[hidden] {
  display: none;
}

.modal__zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(245, 245, 245, 0.92);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(125, 211, 252, 0.35);
  pointer-events: none;
  opacity: 0.85;
}

.modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 1px solid rgba(125, 211, 252, 0.45);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: #e0f2ff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  padding: 0;
}

.modal__nav svg {
  width: 22px;
  height: 22px;
}

.modal__nav--prev { left: 8px; }
.modal__nav--next { right: 8px; }

.modal__nav:active { transform: translateY(-50%) scale(0.94); }

.modal__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.modal__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, 0.45);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 0;
}

.modal__dot.is-active {
  background: rgba(125, 211, 252, 0.85);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.25);
}

.modal__counter {
  margin: 6px 0 0;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(186, 230, 253, 0.85);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0)
    env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
}

.lightbox.is-open {
  display: flex;
}

.lightbox__stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.lightbox__img,
.lightbox__video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
  touch-action: pan-x pan-y;
}

.lightbox__video[hidden] {
  display: none;
}

.lightbox__close {
  position: absolute;
  top: max(14px, env(safe-area-inset-top, 14px));
  right: max(14px, env(safe-area-inset-right, 14px));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, 0.45);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  padding: 0;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(125, 211, 252, 0.45);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #e0f2ff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  padding: 0;
}

.lightbox__nav svg {
  width: 26px;
  height: 26px;
}

.lightbox__nav--prev { left: max(14px, env(safe-area-inset-left, 14px)); }
.lightbox__nav--next { right: max(14px, env(safe-area-inset-right, 14px)); }

.lightbox__nav:active { transform: translateY(-50%) scale(0.94); }

.lightbox__counter {
  position: absolute;
  bottom: max(18px, env(safe-area-inset-bottom, 18px));
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(125, 211, 252, 0.35);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #e0f2ff;
}

body.lightbox-open {
  overflow: hidden;
}

.modal__img-wrap img[hidden] {
  display: none;
}

.modal__badge {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #030f18;
  background: linear-gradient(
    105deg,
    var(--ice-deep),
    var(--ice-mid),
    var(--ice-bright),
    var(--ice-light),
    var(--ice-white)
  );
  background-size: 180% 100%;
  overflow: hidden;
  animation: badge-ice-shift 2.8s ease-in-out infinite;
}

.modal__badge::before {
  content: "";
  position: absolute;
  inset: -40% -100%;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 58%
  );
  transform: translateX(-80%) rotate(8deg);
  animation: badge-shine 2.6s ease-in-out infinite;
  pointer-events: none;
}

.modal__section-title {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(
    120deg,
    var(--ice-deep) 0%,
    var(--ice-mid) 15%,
    var(--ice-light) 35%,
    var(--ice-white) 50%,
    var(--ice-pale) 65%,
    var(--ice-bright) 85%,
    var(--ice-light) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-shine 5s ease-in-out infinite;
}

.modal__tiers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal__tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.18);
  animation: tier-border-pulse 3s ease-in-out infinite;
}

.modal__tier:nth-child(2) {
  animation-delay: 0.15s;
}

.modal__tier:nth-child(3) {
  animation-delay: 0.3s;
}

.modal__tier:nth-child(4) {
  animation-delay: 0.45s;
}

.modal__tier:nth-child(5) {
  animation-delay: 0.6s;
}

@keyframes tier-border-pulse {
  0%,
  100% {
    border-color: rgba(56, 189, 248, 0.18);
    box-shadow: none;
  }
  50% {
    border-color: rgba(186, 230, 253, 0.45);
    box-shadow: 0 0 14px rgba(14, 165, 233, 0.12);
  }
}

.modal__tier-qty {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fafafa;
}

.modal__tier-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ice-pale);
  animation: price-glow 2.8s ease-in-out infinite;
}

.modal__footer {
  margin-top: 18px;
  padding-top: 4px;
}

.modal__order-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.modal__order-wrap.is-open .modal__order-btn {
  box-shadow:
    0 0 0 1px rgba(224, 242, 254, 0.35) inset,
    0 8px 26px rgba(14, 165, 233, 0.38);
}

.modal__order-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  padding-top: 2px;
}

.modal__order-choices[hidden] {
  display: none !important;
}

.modal__order-choice {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font: inherit;
  color: #e0f2fe;
  background: rgba(8, 47, 73, 0.55);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
}

.modal__order-choice-platform {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.88;
}

.modal__order-choice-handle {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--ice-pale);
  line-height: 1.2;
  word-break: break-all;
}

.modal__order-choice--signal .modal__order-choice-handle {
  color: #e0e7ff;
}

.modal__order-choice:hover,
.modal__order-choice:focus-visible {
  outline: none;
  background: rgba(14, 116, 144, 0.45);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.modal__order-choice:active {
  transform: scale(0.99);
}

.modal__order-choice--signal {
  color: #f5f3ff;
  background: rgba(67, 56, 202, 0.22);
  box-shadow:
    0 0 0 1px rgba(165, 180, 252, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.modal__order-choice--signal:hover,
.modal__order-choice--signal:focus-visible {
  background: rgba(79, 70, 229, 0.32);
  box-shadow:
    0 0 0 1px rgba(199, 210, 254, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.modal__order-btn {
  position: relative;
  width: 100%;
  padding: 14px 20px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #030f18;
  background: linear-gradient(
    135deg,
    var(--ice-deep) 0%,
    var(--ice-mid) 12%,
    var(--ice-bright) 28%,
    var(--ice-light) 42%,
    var(--ice-white) 52%,
    var(--ice-pale) 62%,
    var(--ice-bright) 78%,
    #0284c7 100%
  );
  background-size: 200% 200%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 8px 24px rgba(14, 165, 233, 0.35);
  animation: ice-btn-pulse 3.2s ease-in-out infinite;
}

.modal__order-btn:active {
  transform: scale(0.98);
}

.modal__order-btn[aria-disabled="true"] {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
  animation: none !important;
}

@media (min-width: 480px) {
  .modal {
    align-items: center;
    padding: 24px;
  }

  .modal__panel {
    border-radius: 20px;
    margin: 0;
  }

  .modal__grab {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal,
  .modal__panel {
    transition: none;
  }

  .modal__panel {
    transform: none;
  }

  .showcase__glow,
  .showcase__heading,
  .showcase__back,
  .showcase__back::before,
  .product-card,
  .product-card__title--shine,
  .product-card__badge,
  .product-card__badge::before,
  .product-card__more,
  .product-card__price strong,
  .modal.is-open .modal__panel,
  .modal__grab::after,
  .modal__badge,
  .modal__badge::before,
  .modal__section-title,
  .modal__shine-name,
  .modal__tier,
  .modal__tier-price,
  .modal__order-btn,
  .modal__order-btn.btn--shine::before,
  .modal__order-choice {
    animation: none !important;
  }

  .modal__order-btn {
    background-position: 50% 50%;
  }

  .modal.is-open .modal__panel {
    box-shadow:
      0 0 0 1px rgba(56, 189, 248, 0.32),
      0 -8px 40px rgba(14, 165, 233, 0.12),
      0 24px 48px rgba(0, 0, 0, 0.6);
  }

  .showcase__heading,
  .modal__section-title,
  .modal__shine-name,
  .product-card__title--shine {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: var(--ice-bright);
  }

  .product-card {
    opacity: 1;
    transform: none;
    box-shadow:
      0 0 0 1px rgba(56, 189, 248, 0.14),
      0 8px 24px rgba(0, 0, 0, 0.45);
  }

  .product-card__badge {
    background-position: 50% 50%;
  }
}

body.modal-open {
  overflow: hidden;
}
