/* ══════════════════════════════════════════════════════════════
   Leaflet Calculator — CSS  (.lc-* classes)
   ══════════════════════════════════════════════════════════════ */

.lc-app {
  --lc-bg: linear-gradient(180deg, #07111d 0%, #0b1d32 45%, #091626 100%);
  --lc-card: linear-gradient(180deg, rgba(14,29,48,.98), rgba(8,18,31,.98));
  --lc-panel: linear-gradient(180deg, rgba(15,31,51,.96), rgba(10,21,36,.96));
  --lc-ink: #f3f9ff;
  --lc-muted: #8fb8df;
  --lc-accent: #4ea0ff;
  --lc-accent-dark: #2e73d0;
  --lc-accent-soft: rgba(89,154,236,.18);
  --lc-line: rgba(141,185,233,.16);
  --lc-green: #42bf7d;
  --lc-shadow: 0 30px 80px rgba(0,0,0,.42);
  color: var(--lc-ink);
}

/* Shell */
.lc-shell {
  background: var(--lc-bg);
  border: 1px solid rgba(111,164,228,.12);
  border-radius: 28px;
  box-shadow: var(--lc-shadow);
  overflow: clip;
}

/* Hero */
.lc-hero {
  background:
    radial-gradient(circle at top right, rgba(94,153,255,.28), transparent 28%),
    linear-gradient(135deg, #0f2239, #0d3156 55%, #133f6f);
  color: #f8fcff;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0,1.4fr) minmax(280px,.9fr);
  overflow: hidden;
  padding: 30px;
  position: relative;
}

.lc-hero__bar {
  animation: lcBarFlow 8s linear infinite;
  background: linear-gradient(90deg, rgba(78,160,255,.05), rgba(179,221,255,.92), rgba(78,160,255,.05));
  height: 5px;
  left: -16%;
  position: absolute;
  right: -16%;
  top: 0;
}

@keyframes lcBarFlow {
  0%   { transform: translateX(-34%); }
  100% { transform: translateX(34%); }
}

.lc-eyebrow {
  color: rgba(233,245,255,.84);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.lc-title {
  font-size: clamp(32px,3vw,46px);
  line-height: 1.04;
  margin: 0 0 12px;
}

.lc-copy {
  color: rgba(233,245,255,.9);
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
}

.lc-note {
  align-self: stretch;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(161,205,255,.12);
  border-radius: 22px;
  color: rgba(240,248,255,.92);
  padding: 18px 20px;
}

/* Layout */
.lc-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0,1.18fr) minmax(300px,.82fr);
  padding: 24px;
}

.lc-panel {
  background: var(--lc-card);
  border: 1px solid var(--lc-line);
  border-radius: 26px;
  padding: 22px;
}

.lc-panel--form {
  display: grid;
  gap: 18px;
}

/* Field blocks */
.lc-field-block {
  background: var(--lc-panel);
  border: 1px solid rgba(141,185,233,.12);
  border-radius: 22px;
  padding: 18px;
}

.lc-field-block--info {
  background: rgba(78,160,255,.06);
  border-color: rgba(78,160,255,.2);
}

.lc-info-text {
  color: var(--lc-muted);
  font-size: 14px;
  margin: 0;
}

.lc-field-block__title,
.lc-subtitle {
  margin: 0 0 14px;
}

.lc-field-block__title {
  font-size: 19px;
  line-height: 1.15;
}

/* Segmented / Pills */
.lc-option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lc-option-group--slider {
  background: linear-gradient(180deg,rgba(255,255,255,.04),rgba(97,134,179,.08));
  border: 1px solid rgba(160,199,244,.12);
  border-radius: 999px;
  display: grid;
  gap: 0;
  grid-auto-columns: minmax(0,1fr);
  grid-auto-flow: column;
  overflow: hidden;
  padding: 5px;
  position: relative;
}

.lc-option-group--slider::before {
  background: linear-gradient(180deg,rgba(97,174,255,.98),rgba(46,115,208,.96));
  border-radius: 999px;
  bottom: 5px;
  box-shadow: 0 10px 24px rgba(46,115,208,.28);
  content: "";
  left: 5px;
  position: absolute;
  top: 5px;
  transform: translateX(calc((100% + 0px) * var(--lc-active)));
  transition: transform 260ms ease, width 260ms ease;
  width: calc((100% - 10px) / var(--lc-count));
  z-index: 0;
}

.lc-option {
  align-items: center;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(83,121,164,.12);
  border-radius: 999px;
  color: #dcebff;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  position: relative;
  transition: transform 160ms ease, box-shadow 160ms ease;
  z-index: 1;
}

.lc-option-group--slider .lc-option {
  background: transparent;
  border: 0;
  border-radius: 999px;
  min-width: 0;
  padding: 6px 10px;
  width: 100%;
}

.lc-option-group--slider .lc-option span {
  display: block;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  width: 100%;
}

.lc-option:hover { transform: translateY(-1px); }

.lc-option.is-active {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #fff;
}

/* Формат — название + размер */
.lc-option--format {
  gap: 2px;
}

.lc-format__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.lc-format__size {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: rgba(200,225,255,.65);
  line-height: 1.1;
  text-align: center;
}

.lc-option.is-active .lc-format__size {
  color: rgba(255,255,255,.75);
}

/* Макет — название + цена */
.lc-layout-opt__name  { display: block; font-size: 14px; font-weight: 700; }
.lc-layout-opt__price { display: block; font-size: 11px; font-weight: 400; color: rgba(200,225,255,.65); }
.lc-option.is-active .lc-layout-opt__price { color: rgba(255,255,255,.75); }

/* ─── Материал: группы с фото + подпункты ─── */
.lc-mat-group {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.lc-mat-group__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Верхняя карточка с фото */
.lc-mat-card {
  background: linear-gradient(180deg,rgba(20,37,58,.92),rgba(11,23,38,.96));
  border: 2px solid rgba(127,169,218,.12);
  border-radius: 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.lc-mat-card.is-active {
  border-color: var(--lc-accent);
  box-shadow: 0 14px 32px rgba(42,125,225,.22);
}

.lc-mat-card:hover { transform: translateY(-2px); }

.lc-mat-card__img {
  display: block;
  height: 140px;
  object-fit: cover;
  width: 100%;
}

.lc-mat-card__label {
  color: #dcecff;
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  padding: 10px 12px 12px;
}

/* Подпункты — кнопки без фото */
.lc-mat-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lc-mat-sub {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(127,169,218,.2);
  border-radius: 12px;
  color: #c4dff9;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  min-height: 36px;
  padding: 6px 14px;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
  flex: 1;
}

.lc-mat-sub:hover {
  background: rgba(78,160,255,.1);
  border-color: rgba(78,160,255,.4);
}

.lc-mat-sub.is-active {
  background: linear-gradient(135deg,rgba(78,160,255,.22),rgba(46,115,208,.18));
  border-color: var(--lc-accent);
  color: #fff;
}

/* Preview card */
.lc-preview-card {
  background: linear-gradient(180deg,rgba(18,37,59,.98),rgba(10,20,33,.98));
  border: 1px solid rgba(141,185,233,.14);
  border-radius: 24px;
  margin-bottom: 18px;
  overflow: hidden;
}

.lc-preview-card__image {
  display: block;
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.lc-preview-card__body { padding: 14px 18px 16px; }
.lc-preview-card__body h3 { margin: 0; font-size: 15px; }

/* Totals */
.lc-totals {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0,1fr) minmax(0,1.4fr);
  margin-bottom: 22px;
}

.lc-total {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(141,185,233,.12);
  border-radius: 18px;
  display: grid;
  gap: 8px;
  padding: 16px;
}

.lc-total span   { color: var(--lc-muted); font-size: 14px; }
.lc-total strong { font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }

.lc-total--grand {
  background:
    linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.035) 34%, rgba(255,255,255,0) 36%),
    radial-gradient(circle at 76% 18%, rgba(108,184,255,.26), transparent 32%),
    linear-gradient(180deg, rgba(33,93,170,.86), rgba(19,57,108,.74));
  border-color: rgba(87,157,255,.74);
  box-shadow: 0 0 0 1px rgba(139,196,255,.16) inset, 0 0 24px rgba(67,145,255,.24), 0 16px 44px rgba(0,0,0,.22);
  overflow: hidden;
  position: relative;
}

.lc-total--grand::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  content: "";
  inset: 0 auto 0 -60%;
  position: absolute;
  transform: skewX(-16deg);
  width: 48%;
}

.lc-total--grand.is-price-changing {
  animation: lcTotalPulse 420ms ease;
}

.lc-total--grand.is-price-changing::after {
  animation: lcTotalSweep 520ms ease;
}

.lc-total--grand strong {
  font-size: 24px;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
}

@keyframes lcTotalPulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.018); }
  100% { transform: scale(1); }
}

@keyframes lcTotalSweep {
  0% { left: -60%; }
  100% { left: 120%; }
}

/* Summary grid */
.lc-summary-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }

.lc-selections,
.lc-breakdown { display: grid; gap: 10px; }

.lc-selection,
.lc-breakdown__row {
  align-items: center;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(141,185,233,.12);
  border-radius: 16px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.lc-selection__label,
.lc-breakdown__description,
.lc-empty { color: var(--lc-muted); }

.lc-breakdown__label { font-weight: 700; }
.lc-breakdown__amount { overflow-wrap: anywhere; white-space: normal; }
.lc-breakdown__amount--negative { color: var(--lc-green); }
.lc-breakdown__amount--total    { font-size: 16px; font-weight: 800; }

.lc-breakdown__row--total {
  background: linear-gradient(135deg,rgba(41,118,222,.22),rgba(41,118,222,.08));
  border-color: rgba(96,161,245,.4);
}

.lc-panel--summary .lc-subtitle { font-size: 11px; letter-spacing: .06em; margin: 0 0 6px; text-transform: uppercase; }
.lc-panel--summary .lc-selections,
.lc-panel--summary .lc-breakdown { gap: 4px; }
.lc-panel--summary .lc-selection,
.lc-panel--summary .lc-breakdown__row { border-radius: 9px; font-size: 13px; padding: 5px 9px; }

/* ─── Срочность (urgency) ─── */
.lc-field-block--urgency { padding: 0; overflow: hidden; }
.lc-field-block--urgency .lc-field-block__title { padding: 18px 18px 0; }

.lc-urgency__head {
  display: flex;
  justify-content: space-between;
  padding: 8px 18px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lc-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lc-urgency__row {
  align-items: center;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(141,185,233,.1);
  color: var(--lc-ink);
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 12px;
  grid-template-columns: 1fr auto auto;
  padding: 18px;
  text-align: left;
  transition: background 140ms ease;
  width: 100%;
}

.lc-urgency__row:hover { background: rgba(78,160,255,.06); }

.lc-urgency__row.is-active {
  background: rgba(41,118,222,.1);
}

.lc-urgency__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lc-urgency__meta strong { font-size: 15px; font-weight: 700; }
.lc-urgency__meta small  { color: var(--lc-muted); font-size: 12px; }

.lc-urgency__price {
  color: #dcebff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.lc-urgency__cta {
  background: linear-gradient(135deg,#1e7c38,#2aac50);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  min-width: 88px;
  padding: 8px 14px;
  text-align: center;
  white-space: nowrap;
}

/* Actions */
.lc-actions { margin-top: 22px; }

.lc-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 54px;
  padding: 0 24px;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  width: 100%;
}

.lc-button--primary {
  background: linear-gradient(135deg,#0b5fb7,#2f89e4);
  box-shadow: 0 14px 32px rgba(10,79,151,.28);
  color: #fff;
}

.lc-button:hover    { transform: translateY(-1px); }
.lc-button:disabled { opacity: .6; }

/* Layout upload */
.lc-upload-panel {
  background:
    linear-gradient(180deg, rgba(20,42,66,.88), rgba(9,20,34,.96));
  border: 1px solid rgba(141,185,233,.16);
  border-radius: 22px;
  padding: 18px;
}

.lc-upload-panel__head {
  margin-bottom: 14px;
}

.lc-upload-panel__head h3 {
  font-size: 19px;
  line-height: 1.15;
  margin: 0 0 8px;
}

.lc-upload-panel__head p,
.lc-upload-note {
  color: var(--lc-muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.lc-upload-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lc-upload-zone {
  background: rgba(255,255,255,.035);
  border: 1px dashed rgba(147,190,239,.38);
  border-radius: 18px;
  cursor: pointer;
  display: grid;
  gap: 8px;
  min-height: 206px;
  padding: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.lc-upload-zone:hover {
  border-color: rgba(96,166,255,.76);
  box-shadow: 0 12px 30px rgba(32,93,170,.18);
  transform: translateY(-1px);
}

.lc-upload-zone input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.lc-upload-zone__title {
  color: #f2f8ff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.lc-upload-zone__hint {
  color: var(--lc-muted);
  font-size: 13px;
  line-height: 1.35;
}

.lc-upload-zone__button {
  align-items: center;
  align-self: start;
  background: linear-gradient(180deg, #60adff, #2e73d0);
  border: 1px solid rgba(147,201,255,.58);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(46,115,208,.24);
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  width: max-content;
}

.lc-upload-status {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(141,185,233,.12);
  border-radius: 14px;
  color: var(--lc-muted);
  display: grid;
  font-size: 13px;
  gap: 5px;
  line-height: 1.32;
  margin-top: auto;
  padding: 10px 12px;
}

.lc-upload-status strong {
  color: #f2f8ff;
  overflow-wrap: anywhere;
}

.lc-upload-status ul {
  margin: 0;
  padding-left: 16px;
}

.lc-upload-status--ok {
  border-color: rgba(66,191,125,.45);
  color: #bdebd2;
}

.lc-upload-status--warning,
.lc-upload-status--loading {
  border-color: rgba(244,185,78,.48);
  color: #f5d79d;
}

.lc-upload-status--error {
  border-color: rgba(255,110,129,.58);
  color: #ffbcc7;
}

.lc-upload-note {
  margin-top: 12px;
}

/* Payload */
.lc-payload { margin-top: 18px; }
.lc-payload summary { cursor: pointer; font-weight: 700; margin-bottom: 12px; }
.lc-payload pre { background: #0b121d; border-radius: 16px; color: #edf6ff; font-size: 13px; overflow: auto; padding: 16px; }

/* Toast */
.lc-toast {
  background: #0e1724;
  border-radius: 16px;
  bottom: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  color: #fff;
  padding: 14px 18px;
  position: fixed;
  right: 24px;
  z-index: 9999;
}
.lc-toast--success { background: #176a5e; }
.lc-toast--error   { background: #7a2230; }

/* Price chip (mobile) */
@keyframes lcChipFlash {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.lc-price-chip { display: none; }

/* ══════════════════════════════════════════════════════════════
   TABLET
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {

  .lc-price-chip {
    align-items: center;
    background: linear-gradient(135deg,#0f6ad4,#2f89e4);
    border-radius: 999px;
    box-shadow: 0 6px 22px rgba(46,115,208,.42);
    color: #fff;
    display: flex;
    gap: 9px;
    padding: 13px 22px 13px 16px;
    position: fixed;
    right: 16px;
    top: 16px;
    z-index: 9999;
  }

  .lc-price-chip--flash { animation: lcChipFlash 280ms ease; }

  .lc-price-chip__dot {
    background: rgba(255,255,255,.85);
    border-radius: 999px;
    display: block;
    flex-shrink: 0;
    height: 8px;
    width: 8px;
  }

  .lc-price-chip__price {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.01em;
    white-space: nowrap;
  }

  .lc-layout,
  .lc-summary-grid,
  .lc-totals,
  .lc-hero {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {

  .lc-layout,
  .lc-hero      { padding: 14px; }

  .lc-panel,
  .lc-field-block { padding: 14px; }

  /* Материал: группы 2 в ряд */
  .lc-mat-group {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
  }

  .lc-mat-card__img  { height: 90px; }
  .lc-mat-card__label { font-size: 12px; padding: 7px 9px 9px; }

  /* Slider -> обычные кнопки */
  .lc-option-group--slider {
    background: none;
    border: none;
    border-radius: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
    padding: 0;
  }

  .lc-option-group--slider::before { display: none; }

  .lc-option-group--segmented .lc-option {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(160,199,244,.2);
    border-radius: 14px;
    flex: 1 1 calc(50% - 8px);
    min-height: 48px;
  }

  .lc-option-group--segmented .lc-option.is-active {
    background: linear-gradient(180deg,#5aa5ff,#2e73d0);
    border-color: rgba(90,165,255,.6);
    box-shadow: 0 4px 16px rgba(46,115,208,.4);
    color: #fff;
  }

  .lc-option-group--pills.lc-option-group--slider {
    display: grid;
    flex-wrap: unset;
    gap: 8px;
    grid-auto-flow: row;
    grid-template-columns: repeat(2,1fr);
  }

  .lc-option-group--pills .lc-option {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(160,199,244,.2);
    border-radius: 12px;
    flex: unset;
    font-size: 14px;
    min-height: 36px;
    padding: 0 8px;
    width: 100%;
  }

  .lc-option-group--pills .lc-option:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .lc-option-group--pills .lc-option.is-active {
    background: linear-gradient(180deg,#5aa5ff,#2e73d0);
    border-color: rgba(90,165,255,.6);
    box-shadow: 0 3px 10px rgba(46,115,208,.35);
    color: #fff;
  }

  .lc-totals {
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 14px;
  }

  .lc-upload-grid {
    grid-template-columns: 1fr;
  }

  .lc-total          { padding: 12px; }
  .lc-total span     { font-size: 12px; }
  .lc-total strong   { font-size: 14px; }
  .lc-total--grand strong { font-size: 18px; }

  .lc-preview-card { display: none; }
  .lc-summary-grid { display: none; }

  .lc-selection,
  .lc-breakdown__row { grid-template-columns: 1fr; }

  /* Срочность на мобиле */
  .lc-urgency__row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .lc-urgency__cta { display: none; }
  .lc-urgency__row.is-active .lc-urgency__cta {
    display: block;
    grid-column: 1 / -1;
  }
}

/* Andre Anri button skin: match the business-card calculator controls. */
.lc-app {
  --aa-blue: #2f86ff;
  --aa-blue-2: #69b6ff;
  --aa-muted: rgba(215, 225, 245, 0.62);
  --aa-card: rgba(5, 12, 24, 0.92);
}

.lc-option,
.lc-button,
.lc-urgency__cta,
.lc-upload-zone__button,
.lc-mat-sub {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025) 36%, rgba(255, 255, 255, 0) 38%),
    rgba(5, 12, 24, 0.88);
  border: 2px solid rgba(86, 160, 255, 0.32);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(127, 188, 255, 0.08) inset;
  color: #dcecff;
  overflow: hidden;
  position: relative;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
  -webkit-tap-highlight-color: transparent;
}

.lc-option::before,
.lc-button::before,
.lc-urgency__cta::before,
.lc-upload-zone__button::before,
.lc-mat-card::before,
.lc-mat-sub::before {
  background: linear-gradient(90deg, transparent, rgba(105, 182, 255, 0.26), transparent);
  border-radius: inherit;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%);
  transition: transform 650ms ease;
  z-index: 0;
}

.lc-option > *,
.lc-button > *,
.lc-urgency__cta > *,
.lc-upload-zone__button > *,
.lc-mat-card > *,
.lc-mat-sub > * {
  position: relative;
  z-index: 1;
}

.lc-option:hover,
.lc-option:focus-visible,
.lc-option.is-active,
.lc-button:hover,
.lc-button:focus-visible,
.lc-mat-sub:hover,
.lc-mat-sub:focus-visible,
.lc-mat-sub.is-active,
.lc-urgency__row:hover .lc-urgency__cta,
.lc-urgency__row.is-active .lc-urgency__cta,
.lc-upload-zone:hover .lc-upload-zone__button,
.lc-upload-zone:focus-within .lc-upload-zone__button {
  border-color: var(--aa-blue-2);
  box-shadow:
    0 0 0 1px rgba(150, 205, 255, 0.24) inset,
    0 0 20px rgba(47, 134, 255, 0.54),
    0 0 42px rgba(47, 134, 255, 0.18);
  color: #fff;
  transform: translateY(-2px);
}

.lc-option:hover::before,
.lc-option:focus-visible::before,
.lc-button:hover::before,
.lc-button:focus-visible::before,
.lc-mat-sub:hover::before,
.lc-mat-sub:focus-visible::before,
.lc-urgency__row:hover .lc-urgency__cta::before,
.lc-upload-zone:hover .lc-upload-zone__button::before,
.lc-upload-zone:focus-within .lc-upload-zone__button::before,
.lc-mat-card:hover::before,
.lc-mat-card.is-active::before {
  transform: translateX(120%);
}

.lc-option.is-active,
.lc-button--primary,
.lc-mat-sub.is-active,
.lc-urgency__row.is-active .lc-urgency__cta,
.lc-upload-zone__button {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 34%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, rgba(30, 105, 210, 0.42), rgba(3, 7, 15, 0.96) 58%),
    var(--aa-card);
  border-color: rgba(86, 160, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(127, 188, 255, 0.18) inset,
    0 0 16px rgba(47, 134, 255, 0.76),
    0 0 38px rgba(47, 134, 255, 0.28);
  color: #fff;
}

.lc-button--primary {
  min-height: 64px;
  padding-inline: 30px;
}

.lc-button:active,
.lc-option:active,
.lc-mat-sub:active,
.lc-upload-zone:active .lc-upload-zone__button {
  transform: translateY(1px) scale(0.985);
}

.lc-button:disabled {
  border-color: rgba(86, 160, 255, 0.18);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.lc-option-group--slider {
  background: rgba(5, 12, 24, 0.74);
  border: 2px solid rgba(47, 134, 255, 0.24);
  box-shadow: 0 0 0 1px rgba(127, 188, 255, 0.07) inset;
}

.lc-option-group--slider::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(105, 182, 255, 0.42), transparent 58%),
    linear-gradient(180deg, rgba(30, 105, 210, 0.54), rgba(3, 7, 15, 0.96));
  box-shadow:
    0 0 0 1px rgba(127, 188, 255, 0.18) inset,
    0 0 18px rgba(47, 134, 255, 0.62);
}

.lc-option-group--slider .lc-option {
  border: 0;
  box-shadow: none;
}

.lc-option-group--slider .lc-option:hover,
.lc-option-group--slider .lc-option:focus-visible,
.lc-option-group--slider .lc-option.is-active {
  background: transparent;
  box-shadow: none;
}

.lc-option-group--segmented .lc-option.is-active,
.lc-option-group--pills .lc-option.is-active {
  background:
    radial-gradient(circle at 50% 0%, rgba(105, 182, 255, 0.34), transparent 58%),
    linear-gradient(180deg, rgba(30, 105, 210, 0.48), rgba(3, 7, 15, 0.96));
}

.lc-mat-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 134, 255, 0.22), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-color: rgba(86, 160, 255, 0.28);
  border-radius: 22px;
  position: relative;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.lc-mat-card:hover,
.lc-mat-card.is-active {
  border-color: var(--aa-blue-2);
  box-shadow: 0 0 26px rgba(47, 134, 255, 0.34);
  transform: translateY(-3px);
}

.lc-mat-sub {
  border-radius: 999px;
  min-height: 42px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

.lc-upload-zone {
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.lc-upload-zone:hover {
  border-color: rgba(105, 182, 255, 0.64);
  box-shadow: 0 0 24px rgba(47, 134, 255, 0.16);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .lc-mat-subs {
    gap: 8px;
  }

  .lc-mat-sub {
    align-items: center;
    display: inline-flex;
    font-size: clamp(10px, 2.65vw, 13px);
    justify-content: center;
    line-height: 1.12;
    min-height: 46px;
    min-width: 0;
    padding: 0 8px;
    text-align: center;
    white-space: normal;
    word-break: normal;
  }

  .lc-price-chip {
    background:
      linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04) 34%, rgba(255, 255, 255, 0) 36%),
      linear-gradient(180deg, rgba(30, 105, 210, 0.48), rgba(3, 7, 15, 0.96) 62%);
    border: 2px solid rgba(86, 160, 255, 0.82);
    box-shadow:
      0 0 0 1px rgba(127, 188, 255, 0.18) inset,
      0 0 18px rgba(47, 134, 255, 0.78),
      0 0 44px rgba(47, 134, 255, 0.28);
    padding: 14px 24px 14px 18px;
    right: 16px;
    top: 88px;
  }

  .lc-price-chip__dot {
    background: #69b6ff;
    box-shadow: 0 0 10px rgba(105, 182, 255, 0.9);
  }

  .lc-price-chip__price {
    font-size: 22px;
    letter-spacing: 0;
  }

  .lc-option-group--segmented .lc-option.is-active,
  .lc-option-group--pills .lc-option.is-active {
    background:
      radial-gradient(circle at 50% 0%, rgba(105, 182, 255, 0.34), transparent 58%),
      linear-gradient(180deg, rgba(30, 105, 210, 0.48), rgba(3, 7, 15, 0.96));
    border-color: rgba(86, 160, 255, 0.95);
    box-shadow:
      0 0 0 1px rgba(127, 188, 255, 0.18) inset,
      0 0 16px rgba(47, 134, 255, 0.76),
      0 0 38px rgba(47, 134, 255, 0.28);
  }
}

@media (max-width: 390px) {
  .lc-mat-sub {
    font-size: 9px;
    padding-inline: 2px;
  }

  .lc-price-chip {
    padding: 12px 20px 12px 16px;
    right: 12px;
    top: 96px;
  }

  .lc-price-chip__price {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lc-option,
  .lc-button,
  .lc-urgency__cta,
  .lc-upload-zone,
  .lc-upload-zone__button,
  .lc-mat-card,
  .lc-mat-sub {
    transition: none;
  }

  .lc-option::before,
  .lc-button::before,
  .lc-urgency__cta::before,
  .lc-upload-zone__button::before,
  .lc-mat-card::before,
  .lc-mat-sub::before {
    display: none;
  }
}
