/* ============================================================================
   PresaleGames — app.css
   Component styles for the functional pages (checkout, order, payment,
   editions) and the admin dashboard. Built on the design tokens declared in
   style.css :root, so everything matches the cinematic landing theme
   (neon pink / cyan / violet on deep noir, Clash Display + Satoshi).
   ============================================================================ */

:root {
  --ok:    #34d399;
  --warn:  #ffd34d;
  --danger:#ff5c7a;
}

/* ------------------------------ Shared helpers ------------------------------ */
.muted { color: var(--text-mut); }
.center { text-align: center; }
hr.sep { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* Button size / layout modifiers (base .btn comes from style.css) */
.btn-sm    { min-height: 40px; padding: 0 1rem; font-size: var(--text-xs); }
.btn-lg    { min-height: 58px; padding: 0 2rem; font-size: var(--text-base); }
.btn-block { width: 100%; }
.btn-accent {
  background: linear-gradient(100deg, var(--cyan), var(--violet));
  color: #06121a;
  box-shadow: 0 6px 26px rgba(0,229,255,.28);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 38px rgba(0,229,255,.45); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ------------------------------ Page sections ------------------------------ */
.section { padding-block: var(--section-y); border-top: 1px solid var(--border); }
.section-head { max-width: 46rem; margin-inline: auto; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head h2 {
  margin-top: 12px; font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-2xl); line-height: 1.04; letter-spacing: -.01em;
}
.section-head .sub { margin-top: 14px; color: var(--text-mut); font-size: var(--text-lg); }

/* page header band for secondary pages (editions, etc.) */
.page-head { padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(1.5rem, 4vw, 2.4rem); position: relative; }
.page-head h1 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em;
  font-size: var(--text-2xl); margin-top: 1rem;
}
.page-head .lede { margin-top: 1rem; max-width: 60ch; color: var(--text-mut); font-size: var(--text-lg); }

/* generic card */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem);
}

/* ------------------------------ Forms ------------------------------ */
.form-page { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 9vw, 7rem); }
.layout-2 { display: grid; gap: 30px; align-items: start; }
@media (min-width: 900px) { .layout-2 { grid-template-columns: 1.4fr .9fr; } }

.field { margin-bottom: 18px; }
.field > label { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: 7px; }
.field .req { color: var(--cyan); }
.input, select.input, textarea.input {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border-2);
  color: var(--text); font: inherit; font-size: var(--text-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,46,136,.22); }
textarea.input { resize: vertical; min-height: 90px; }

/* Native <select>: reset platform chrome, add our own caret, keep options legible. */
select.input {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ff2e88' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
select.input option { color: var(--text); background: var(--bg-2); }
.field-error { color: var(--danger); font-size: var(--text-xs); margin-top: 6px; }
.field.has-error .input { border-color: var(--danger); }
.help { font-size: var(--text-xs); color: var(--text-mut); margin-top: 6px; }
.help.center { text-align: center; }

/* selectable option tiles (edition/platform) */
.option-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .option-grid { grid-template-columns: repeat(2, 1fr); } }
.option-tile {
  position: relative; display: block; cursor: pointer; border-radius: 14px; padding: 18px;
  border: 1px solid var(--border-2); background: var(--surface-2);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.option-tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option-tile:hover { border-color: rgba(255,46,136,.45); }
.option-tile .ot-name { font-weight: 700; }
.option-tile .ot-meta { font-size: var(--text-sm); color: var(--text-mut); margin-top: 4px; }
.option-tile .ot-price { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.option-tile.selected {
  border-color: var(--pink); background: rgba(255,46,136,.08);
  box-shadow: 0 0 0 1px var(--pink);
}

/* order summary card */
.summary { position: sticky; top: 90px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: var(--text-sm); border-bottom: 1px solid var(--border); }
.summary .row:last-of-type { border-bottom: none; }
.summary .row .k { color: var(--text-mut); }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--border); }
.summary .total .amt { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; }

/* alerts */
.alert { padding: 14px 16px; border-radius: 12px; font-size: var(--text-sm); margin-bottom: 20px; border: 1px solid; }
.alert-error { background: rgba(255,92,122,.1);  border-color: rgba(255,92,122,.4); color: #ffb3c1; }
.alert-ok    { background: rgba(52,211,153,.1);  border-color: rgba(52,211,153,.4); color: #a7f3d0; }
.alert-info  { background: rgba(0,229,255,.08);  border-color: rgba(0,229,255,.35); color: #a5f3fc; }
.alert-warn  { background: rgba(255,211,77,.1);  border-color: rgba(255,211,77,.4); color: #fde68a; }

/* ------------------------------ Status badges ------------------------------ */
.status {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border: 1px solid;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pending,  .status-unpaid                          { color: var(--warn);   border-color: rgba(255,211,77,.4); background: rgba(255,211,77,.08); }
.status-preparing,.status-processing,.status-confirmationsent { color: var(--cyan);  border-color: rgba(0,229,255,.4);  background: rgba(0,229,255,.08); }
.status-paid,     .status-delivered,.status-deliverysent  { color: var(--ok);     border-color: rgba(52,211,153,.4); background: rgba(52,211,153,.08); }
.status-failed,   .status-cancelled,.status-refunded      { color: var(--danger); border-color: rgba(255,92,122,.4); background: rgba(255,92,122,.08); }
.status-notsent { color: var(--text-mut); border-color: var(--border-2); background: rgba(255,255,255,.03); }

.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: var(--text-xs); background: var(--surface-2); border: 1px solid var(--border); color: var(--text-mut); }

/* ------------------------------ Order status page ------------------------------ */
.order-ref { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: .04em; }
.timeline { list-style: none; margin: 24px 0 0; padding: 0; }
.timeline li { display: flex; gap: 14px; padding-bottom: 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline .tl-dot {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--border); background: var(--surface); font-size: .8rem;
}
.timeline li.done .tl-dot   { border-color: var(--ok);   color: var(--ok);   background: rgba(52,211,153,.12); }
.timeline li.active .tl-dot { border-color: var(--cyan); color: var(--cyan); background: rgba(0,229,255,.12); }
.timeline li.failed .tl-dot { border-color: var(--danger); color: var(--danger); background: rgba(255,92,122,.12); }
.timeline .tl-title { font-weight: 700; }
.timeline .tl-sub { font-size: var(--text-sm); color: var(--text-mut); }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: var(--text-sm); }
.kv dt { color: var(--text-mut); }
.kv dd { margin: 0; font-weight: 600; }
.code-box {
  font-family: ui-monospace, Menlo, monospace; background: var(--bg);
  border: 1px dashed var(--border-2); padding: 12px 14px; border-radius: 10px;
  font-size: .95rem; word-break: break-all; margin-top: 6px;
}

/* ------------------------------ Comparison table ------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: var(--text-sm); min-width: 520px; }
table.data th, table.data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
table.data th { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); background: var(--surface-2); color: var(--text); }
table.data tbody tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: rgba(255,255,255,.02); }
table.data a.ref { color: var(--cyan); font-weight: 700; }

/* ------------------------------ Reserve / store cards ------------------------------ */
.reserve-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; margin-top: 2.8rem; }
.reserve-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
  padding: clamp(1.6rem, 3vw, 2.2rem); text-align: left;
  border: 1px solid var(--border-2); border-radius: var(--radius); background: var(--surface);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.reserve-card .rc-platform { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--text-mut); }
.reserve-card .rc-name { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); }
.reserve-card .rc-meta { font-size: var(--text-sm); color: var(--text-mut); }
.reserve-card .rc-go { margin-top: .9rem; font-weight: 700; font-size: var(--text-sm); display: inline-flex; gap: .5rem; align-items: center; }
.reserve-card--ps:hover { transform: translateY(-5px); border-color: var(--cyan); box-shadow: 0 16px 46px rgba(0,229,255,.22); }
.reserve-card--ps .rc-go { color: var(--cyan); }
.reserve-card--xb:hover { transform: translateY(-5px); border-color: #7bd66a; box-shadow: 0 16px 46px rgba(123,214,106,.2); }
.reserve-card--xb .rc-go { color: #8ee07c; }
.store-note { margin-top: 2rem; font-size: var(--text-xs); color: var(--text-faint); max-width: 60ch; margin-inline: auto; }

/* ============================================================================
   Admin dashboard
   ============================================================================ */
.admin-body { background: var(--bg); }
.admin-topbar {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; padding: 0 22px; background: rgba(8,8,13,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.admin-body .brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; color: var(--text); }
.admin-body .brand-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--pink), var(--violet)); color: #0a0a12; font-weight: 700;
  box-shadow: 0 0 22px rgba(255,46,136,.45);
}
.admin-body .brand-name { font-size: 1rem; }
.admin-wrap { max-width: 1280px; margin: 0 auto; padding: 28px 22px; }
.admin-login { max-width: 400px; margin: 8vh auto; padding: 0 20px; }
.admin-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.admin-card h3 { font-family: var(--font-display); font-weight: 600; }

.stat-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-bottom: 26px; }
@media (min-width: 780px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.stat .s-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; }
.stat .s-lbl { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--text-mut); margin-top: 4px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.toolbar .input { width: auto; flex: 1; min-width: 180px; }

.admin-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .admin-grid { grid-template-columns: 1.5fr 1fr; } }
.log-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-height: 460px; overflow: auto; }
.log-list li { font-size: var(--text-sm); padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; }
.log-list .lg-time { color: var(--text-mut); font-size: var(--text-xs); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }

/* Mobile: form controls must be >=16px so iOS/Safari doesn't auto-zoom on focus. */
@media (max-width: 640px) {
  .input, select.input, textarea.input { font-size: 16px; }
}
.hero-cinematic {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 18%, rgba(190, 76, 255, 0.28), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(0, 229, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #06050d 0%, #13081f 45%, #05060d 100%);
}

.hero-cinematic .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-cinematic .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.62;
  filter: saturate(1.35) contrast(1.14) brightness(0.86);
  transform: translateY(-6%);
}

.hero-fallback-cinematic {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 65% 45%, rgba(255, 55, 210, 0.20), transparent 32%),
    radial-gradient(circle at 76% 62%, rgba(0, 229, 255, 0.18), transparent 30%),
    linear-gradient(120deg, rgba(255,255,255,0.04), transparent 45%);
}

.hero-city-layer {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 0;
  height: 48%;
  opacity: 0.82;
  background:
    linear-gradient(to top, rgba(5, 6, 13, 0.98), rgba(5, 6, 13, 0.20)),
    repeating-linear-gradient(
      90deg,
      rgba(0, 229, 255, 0.18) 0 2px,
      transparent 2px 72px
    );
  clip-path: polygon(
    0 100%, 0 45%, 4% 45%, 4% 22%, 9% 22%, 9% 58%,
    14% 58%, 14% 35%, 20% 35%, 20% 14%, 27% 14%,
    27% 62%, 33% 62%, 33% 30%, 42% 30%, 42% 55%,
    48% 55%, 48% 18%, 56% 18%, 56% 64%, 63% 64%,
    63% 38%, 71% 38%, 71% 10%, 79% 10%, 79% 58%,
    86% 58%, 86% 28%, 92% 28%, 92% 48%, 100% 48%,
    100% 100%
  );
}

.hero-car-layer {
  position: absolute;
  right: clamp(-80px, 4vw, 80px);
  bottom: clamp(34px, 8vw, 92px);
  width: min(54vw, 640px);
  height: min(18vw, 190px);
  opacity: 0.92;
  background:
    radial-gradient(circle at 20% 82%, rgba(0, 229, 255, 0.95) 0 5%, transparent 6%),
    radial-gradient(circle at 75% 82%, rgba(255, 62, 216, 0.95) 0 5%, transparent 6%),
    linear-gradient(100deg, transparent 0 8%, rgba(12, 14, 28, 0.96) 8% 88%, transparent 88%),
    linear-gradient(110deg, transparent 0 22%, rgba(0, 229, 255, 0.28) 22% 42%, rgba(190, 76, 255, 0.22) 42% 76%, transparent 76%);
  clip-path: polygon(
    4% 72%, 12% 48%, 28% 42%, 38% 18%, 62% 18%,
    76% 43%, 90% 48%, 98% 72%, 92% 82%, 8% 82%
  );
  filter:
    drop-shadow(0 0 22px rgba(0, 229, 255, 0.30))
    drop-shadow(0 0 38px rgba(190, 76, 255, 0.24));
  transform: perspective(900px) rotateY(-10deg);
}

.hero-neon-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 46%, rgba(255, 55, 210, 0.24), transparent 32%),
    radial-gradient(circle at 74% 58%, rgba(0, 229, 255, 0.18), transparent 30%);
  animation: heroGlowDrift 8s ease-in-out infinite alternate;
}

.hero-cinematic .hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 13, 0.86) 0%, rgba(5, 6, 13, 0.58) 43%, rgba(5, 6, 13, 0.22) 100%),
    linear-gradient(to bottom, rgba(5, 6, 13, 0.12), rgba(5, 6, 13, 0.74));
}

.hero-cinematic .hero-grid {
  opacity: 0.45;
}

@keyframes heroGlowDrift {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
    opacity: 0.75;
  }
  to {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
    opacity: 1;
  }
}

@media (max-width: 768px) {
.hero-cinematic .hero-video {
  opacity: 0.42;
  height: 110%;
  object-position: center 32%;
  transform: translateY(-5%);
}
  .hero-city-layer {
    height: 42%;
    opacity: 0.62;
  }

  .hero-car-layer {
    right: -38%;
    bottom: 8%;
    width: 94vw;
    height: 31vw;
    opacity: 0.46;
  }

  .hero-cinematic .hero-scrim {
    background:
      linear-gradient(180deg, rgba(5, 6, 13, 0.82) 0%, rgba(5, 6, 13, 0.74) 45%, rgba(5, 6, 13, 0.95) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-neon-glow {
    animation: none;
  }

  .hero-cinematic .hero-video {
    display: none;
  }
}
.visual-showcase {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 62, 216, 0.16), transparent 34%),
    radial-gradient(circle at 80% 30%, rgba(0, 229, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(7, 6, 15, 0.98), rgba(10, 7, 18, 0.96));
  overflow: hidden;
}

.visual-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
}

.visual-card {
  position: relative;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.visual-card-large {
  grid-row: span 2;
  min-height: 590px;
}

.visual-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 600ms ease, filter 600ms ease;
  filter: saturate(1.1) contrast(1.08);
}

.visual-card:hover img {
  transform: scale(1.07);
  filter: saturate(1.22) contrast(1.12) brightness(1.05);
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(5, 6, 13, 0.88) 100%),
    radial-gradient(circle at 75% 20%, rgba(0, 229, 255, 0.18), transparent 30%);
  pointer-events: none;
}

.visual-card-copy {
  position: absolute;
  left: clamp(18px, 3vw, 30px);
  right: clamp(18px, 3vw, 30px);
  bottom: clamp(18px, 3vw, 30px);
  z-index: 2;
}

.visual-card-copy span {
  display: inline-flex;
  margin-bottom: 8px;
  color: rgba(0, 229, 255, 0.95);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-card-copy strong {
  display: block;
  color: #fff;
  font-size: clamp(1.15rem, 2.4vw, 2rem);
  line-height: 1.05;
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.65);
}

@media (max-width: 820px) {
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .visual-card,
  .visual-card-large {
    min-height: 330px;
    grid-row: auto;
  }
}
.price-stack {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.deal-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3ed8, #00e5ff);
  color: #05060d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(255, 62, 216, 0.35);
}


.price-note {
  margin: 0;
  color: rgba(0, 229, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
}
.price-stack-inline {
  gap: 8px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.old-price-animated {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
}

.old-price-animated::before {
  content: "";
  position: absolute;
  left: -6%;
  top: 52%;
  width: 112%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    #ff3ed8 20%,
    #00e5ff 52%,
    #ff3ed8 82%,
    transparent
  );
  box-shadow:
    0 0 10px rgba(255, 62, 216, 0.75),
    0 0 18px rgba(0, 229, 255, 0.55);
  transform: rotate(-7deg) scaleX(0);
  transform-origin: left center;
  animation: priceStrike 2.4s ease-in-out infinite;
}

.old-price-animated::after {
  content: "regular";
  position: absolute;
  left: 0;
  top: 115%;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes priceStrike {
  0% {
    transform: rotate(-7deg) scaleX(0);
    opacity: 0;
  }

  18% {
    transform: rotate(-7deg) scaleX(1);
    opacity: 1;
  }

  78% {
    transform: rotate(-7deg) scaleX(1);
    opacity: 1;
  }

  100% {
    transform: rotate(-7deg) scaleX(0);
    opacity: 0;
    transform-origin: right center;
  }
}

.sale-price {
  margin: 0;
  color: #ffffff;
  text-shadow:
    0 0 18px rgba(0, 229, 255, 0.35),
    0 0 34px rgba(255, 62, 216, 0.24);
}

@media (max-width: 520px) {
  .price-row {
    gap: 10px;
  }

  .old-price-animated {
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .old-price-animated::before {
    animation: none;
    transform: rotate(-7deg) scaleX(1);
    opacity: 1;
  }
}
@media (max-width: 420px) {
  .price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .old-price-animated::after {
    position: static;
    margin-left: 8px;
  }
}