:root {
  --bg: #0b0b0b;
  --bg-deep: #000000;
  --card: #141414;
  --card-2: #1a1a1a;
  --red: #e50914;
  --red-2: #dc2626;
  --red-soft: rgba(229, 9, 20, 0.16);
  --green: #22c55e;
  --white: #ffffff;
  --muted: #b3b3b3;
  --muted-2: #8a8a8a;
  --line: #2a2a2a;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg-deep);
  color: var(--white);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body {
  background:
    radial-gradient(1200px 400px at 50% -120px, rgba(229, 9, 20, 0.18), transparent 60%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.wrap {
  width: min(560px, 100%);
  margin: 0 auto;
  min-height: 100vh;
  padding: 14px 14px calc(78px + var(--safe-bottom));
}

.wrap-details {
  position: relative;
  z-index: 5;
  padding-bottom: calc(170px + var(--safe-bottom));
  background:
    radial-gradient(1200px 400px at 50% -120px, rgba(229, 9, 20, 0.18), transparent 60%),
    var(--bg);
}

body.page-swipe {
  overflow: hidden;
  background: #070707;
}

.wrap-details.is-dragging,
.wrap-details.is-leaving {
  border-radius: 22px 0 0 22px;
  box-shadow:
    -4px 0 0 #e50914,
    -18px 0 32px rgba(229, 9, 20, 0.28);
}

.swipe-lane {
  position: fixed;
  inset: 0;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(180px 55% at 0% 50%, rgba(229, 9, 20, 0.34), transparent 72%),
    linear-gradient(90deg, #16080a 0%, #090909 62%);
}

.swipe-lane-mark {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.78) 0 14px,
    transparent 14px 30px
  );
  background-size: 3px 30px;
  animation: road-dash 0.42s linear infinite;
  animation-play-state: paused;
}

body.page-swipe .swipe-lane-mark {
  animation-play-state: running;
}

@keyframes road-dash {
  to {
    background-position: 0 30px;
  }
}

.swipe-lane-card {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swipe-lane-card svg {
  width: 64px;
  height: 112px;
  filter: drop-shadow(0 8px 12px rgba(229, 9, 20, 0.4));
}

@media (prefers-reduced-motion: reduce) {
  .swipe-lane-mark {
    animation: none;
  }
}

.header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.logo {
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  flex-shrink: 0;
}

.brand-block {
  flex: 1;
  min-width: 0;
}

.brand {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 0;
  line-height: 1.25;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--white);
  border-radius: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.manager-fab {
  position: fixed;
  right: max(14px, calc(50vw - 266px));
  bottom: calc(16px + var(--safe-bottom));
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px 0 11px;
  border-radius: 999px;
  background: #141414;
  color: #fff;
  border: 1px solid rgba(229, 9, 20, 0.7);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.manager-fab svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 16;
  margin: -14px -14px 10px;
  padding: 14px 14px 10px;
  background: rgba(11, 11, 11, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sticky-top .header {
  margin-bottom: 12px;
}

.sticky-top .brand-block {
  transform: translateY(8px);
}

.sticky-top .socials {
  margin-bottom: 10px;
}

.sticky-top .transit {
  margin-bottom: 8px;
}

.deal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.transit.transit-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 6px;
  row-gap: 2px;
  margin-bottom: 0;
  padding: 9px 10px;
}

.transit.transit-compact p {
  grid-column: 1;
  grid-row: 1;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.transit.transit-compact .transit-note {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 0;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.transit.transit-compact .switch {
  grid-column: 2;
  grid-row: 1;
  --w: 42px;
  --h: 26px;
  --pad: 3px;
  --knob: 20px;
}

.socials-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.social {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(135deg, #4a1016 0%, #1a0c0e 46%, #2a1014 100%);
  border: 1px solid rgba(229, 9, 20, 0.72);
  border-radius: 14px;
  padding: 10px 4px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.social svg,
.social span {
  position: relative;
  z-index: 1;
}

.social svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.social::after {
  content: "";
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(
    105deg,
    transparent 32%,
    rgba(229, 9, 20, 0.15) 44%,
    rgba(255, 90, 70, 0.55) 50%,
    rgba(229, 9, 20, 0.15) 56%,
    transparent 68%
  );
  transform: translateX(-70%);
  animation: social-sheen 3.6s ease-in-out infinite;
  pointer-events: none;
}

.social:active {
  border-color: var(--red);
  color: var(--white);
}

@keyframes social-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.12);
  }
  50% {
    box-shadow: 0 0 18px rgba(229, 9, 20, 0.48);
  }
}

@keyframes social-sheen {
  0% {
    transform: translateX(-70%);
  }
  100% {
    transform: translateX(70%);
  }
}

.social {
  animation: social-glow 3.2s ease-in-out infinite;
}

.socials .social:nth-child(2) {
  animation-delay: 0.35s;
}

.socials .social:nth-child(2)::after {
  animation-delay: 0.55s;
}

@media (prefers-reduced-motion: reduce) {
  .social,
  .social::after {
    animation: none;
  }
}

.transit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, #1a1010, #101010);
  border: 1px solid rgba(229, 9, 20, 0.45);
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 10px;
}

.transit-hot {
  border-color: rgba(229, 9, 20, 0.45);
  background: linear-gradient(180deg, #1a1010, #101010);
  margin-bottom: 16px;
}

.transit p {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.transit-note {
  display: block;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 500;
  margin-top: 3px;
}

.switch {
  --w: 52px;
  --h: 32px;
  --pad: 3px;
  --knob: 26px;
  position: relative;
  width: var(--w);
  height: var(--h);
  flex: 0 0 var(--w);
  background: #2a2a2a;
  border-radius: 999px;
  cursor: pointer;
}

.switch input {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.switch::after {
  content: "";
  position: absolute;
  top: var(--pad);
  left: var(--pad);
  width: var(--knob);
  height: var(--knob);
  background: #ffffff;
  border-radius: 50%;
  transition: left 0.2s ease;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.switch:has(input:checked) {
  background: var(--red);
}

.switch:has(input:checked)::after {
  left: calc(var(--w) - var(--knob) - var(--pad));
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-height: 100%;
}

.card-hot {
  border-color: rgba(229, 9, 20, 0.7);
  box-shadow: 0 0 0 1px rgba(229, 9, 20, 0.25), 0 10px 24px rgba(229, 9, 20, 0.16);
}

.card-hot .card-photo {
  box-shadow: inset 0 0 0 2px rgba(229, 9, 20, 0.35);
}

.badge-deal {
  background: linear-gradient(90deg, #e50914, #ff4d00);
}

.card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #111 center/cover no-repeat;
}

.badge {
  position: absolute;
  left: 8px;
  top: 8px;
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 4px 7px;
  border-radius: 999px;
  max-width: calc(100% - 16px);
  white-space: nowrap;
}

.badge-ok {
  background: #111;
  border: 1px solid #22c55e;
}

.badge-check {
  color: #22c55e;
  margin-left: 2px;
}

.badge-road {
  background: #16a34a;
  color: #fff;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

.badge-road .badge-check {
  color: #fff;
  margin-left: 3px;
}

.brand-sub-road {
  color: #22c55e;
  font-weight: 800;
}

.card-body {
  padding: 10px;
}

.card-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 4px;
}

.card-year {
  color: var(--muted-2);
  font-size: 11px;
  margin-bottom: 6px;
}

.price {
  color: var(--green);
  font-size: 16px;
  font-weight: 800;
}

.price-old {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 700;
  text-decoration: line-through;
  margin-bottom: 2px;
}

.price-note {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 6px;
}

.price-note-lg {
  font-size: 12px;
  margin: 0 0 6px;
}

.specs-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.specs-mini span {
  background: #202020;
  color: var(--muted);
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 999px;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 48px 10px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 20;
}

.drawer {
  position: fixed;
  left: 50%;
  width: min(560px, 100%);
  bottom: 0;
  max-height: 92vh;
  background: #0b0b0b;
  border-top: 1px solid #2c2c2c;
  border-radius: 24px 24px 0 0;
  transform: translate(-50%, 110%);
  transition: 0.28s ease;
  z-index: 21;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.filters-open .drawer {
  transform: translate(-50%, 0);
}

.filters-open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 8px;
}

.drawer-head h2 {
  margin: 0;
  font-size: 18px;
}

.drawer-body {
  overflow: auto;
  padding: 8px 18px 18px;
}

.filter-group {
  margin-bottom: 18px;
}

.filter-group h3 {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #161616 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid #333;
  color: #fff;
  border-radius: 12px;
  padding: 12px 40px 12px 14px;
  font-size: 15px;
  outline: none;
}

.filter-select:focus {
  border-color: var(--red);
}

.chip {
  border: 1px solid #333;
  background: #161616;
  color: white;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.chip.active {
  background: var(--red);
  border-color: var(--red);
}

.range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.range form {
  margin: 0;
  min-width: 0;
}

.range input {
  width: 100%;
  background: #161616;
  border: 1px solid #333;
  color: white;
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

.range input::-webkit-outer-spin-button,
.range input::-webkit-inner-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

.hide-filters {
  margin: 8px 18px calc(16px + var(--safe-bottom));
  width: calc(100% - 36px);
  background: var(--red);
  color: white;
  border: 0;
  border-radius: 16px;
  padding: 16px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track img {
  min-width: 100%;
  height: 260px;
  object-fit: cover;
  scroll-snap-align: center;
  cursor: zoom-in;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
}

.dots button.active {
  background: var(--red);
  transform: scale(1.2);
}

.video-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: white;
  border-radius: 14px;
  margin: 12px 0 16px;
  padding: 13px;
  font-weight: 800;
}

.details-title {
  margin: 0 0 6px;
  font-size: 24px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #111;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin: 16px 0;
}

.specs-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #222;
  font-size: 14px;
}

.specs-table tr:last-child td {
  border-bottom: 0;
}

.specs-table td:first-child {
  color: var(--muted);
  width: 42%;
}

.vin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.copy-btn {
  border: 0;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.equip-card {
  background: #111;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 10px;
}

.equip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-bottom: 1px solid #1d1d1d;
  font-size: 14px;
}

.equip-item:last-child {
  border-bottom: 0;
}

.equip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 8px;
}

.equip-grid .equip-item {
  min-width: 0;
  gap: 8px;
  padding: 10px 4px;
}

.equip-grid .equip-item:nth-child(odd):nth-last-child(2) {
  border-bottom: 0;
}

.section-title {
  font-size: 16px;
  margin: 18px 0 10px;
}

.reviews {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 -14px 8px;
  padding: 0 0 2px;
  scroll-padding-left: 14px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.review-card:first-child {
  margin-left: 14px;
}

.review-card:last-child {
  margin-right: 14px;
}

.reviews::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 86%;
  scroll-snap-align: start;
  background: #111;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.review-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  background: #0d0d0d;
}

.review-body {
  padding: 12px 14px 14px;
}

.review-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.stars {
  color: #f5c518;
  letter-spacing: 2px;
  font-size: 16px;
  margin-bottom: 6px;
}

.about-frame {
  margin: 0 0 14px;
  padding: 3px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ff3b45 0%, #6b1218 46%, #141414 62%, #e50914 100%);
  box-shadow:
    0 0 0 1px rgba(229, 9, 20, 0.4),
    0 16px 32px rgba(0, 0, 0, 0.45);
}

.about-photo {
  width: 100%;
  height: 228px;
  object-fit: cover;
  object-position: center 58%;
  display: block;
  border-radius: 17px;
  margin: 0;
  background: #111;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.about-photo-empty {
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.why-card.yard-card {
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--red);
  background: #111;
}

.why-card.yard-card .about-photo {
  width: 100%;
  height: 220px;
  border-radius: 0;
  box-shadow: none;
}

.why-card.yard-card .about-photo-empty {
  margin-bottom: 0;
  border: 0;
  border-bottom: 1px solid #2a2a2a;
}

.why-card.yard-card .why-item {
  padding: 14px;
  border-bottom: 0;
  align-items: center;
}

.why-item .yard-meta {
  margin: 8px 0 0;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}

.why-item .yard-meta + .yard-meta {
  margin-top: 2px;
}

.why-card.yard-card .why-item > div {
  min-width: 0;
}

.why-item .yard-meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
}

.why-card.yard-card .yard-phone {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
}

.why-item .yard-meta span {
  display: inline;
  white-space: nowrap;
}

.why-heading {
  margin: 18px 0 12px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.why-brand {
  color: var(--red);
}

.why-card {
  background: transparent;
  border: 1px solid #2c2c2c;
  border-radius: 18px;
  padding: 2px 14px;
}

.why-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #2a2a2a;
}

.why-item:last-child {
  border-bottom: 0;
}

.why-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #111;
  color: var(--red);
  border: 1px solid rgba(229, 9, 20, 0.7);
  display: grid;
  place-items: center;
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.why-item p {
  margin: 0;
  color: #b5b5b5;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.about-note {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(229, 9, 20, 0.4);
  background: #141414;
  font-size: 14px;
  font-weight: 800;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #04150a;
  font-weight: 900;
  flex-shrink: 0;
}

.check.red {
  background: var(--red);
  color: white;
}

.actions {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(560px, 100%);
  display: grid;
  gap: 8px;
  padding: 12px 14px calc(16px + var(--safe-bottom));
  background: linear-gradient(180deg, transparent, var(--bg) 32%);
  z-index: 12;
}

.actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn {
  display: block;
  text-align: center;
  border-radius: 16px;
  padding: 15px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

.btn-sm {
  padding: 12px 8px;
  font-size: 13px;
  border-radius: 14px;
  line-height: 1.2;
}

.btn-red {
  background: var(--red);
  color: white;
}

.btn-ghost {
  background: #171717;
  color: white;
  border: 1px solid #333;
}

.btn-lead,
.btn-report {
  background: #111;
  color: #fff;
  border: 1px solid #2a2a2a;
}

.btn-lead {
  background: linear-gradient(105deg, #111 0%, #111 38%, #3a3a3a 50%, #111 62%, #111 100%);
  background-size: 240% 100%;
  animation: lead-sheen 3.6s ease-in-out infinite, lead-glow 3.2s ease-in-out infinite;
}

.btn-manager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--red);
  color: white;
  padding: 16px;
  font-size: 16px;
}

.btn-hours {
  color: #b5b5b5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

@keyframes lead-sheen {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@keyframes lead-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.04);
    border-color: #2a2a2a;
  }
  50% {
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.22);
    border-color: #6a6a6a;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-lead {
    animation: none;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: #151515;
  border: 1px solid #333;
  color: white;
  padding: 12px 16px;
  border-radius: 14px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 40;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  place-items: center;
  z-index: 30;
  padding: 18px;
}

.modal.open {
  display: grid;
}

.modal-card {
  width: min(420px, 100%);
  background: #111;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 18px;
}

.modal-card h3 {
  margin: 0 0 10px;
}

.modal-card input {
  width: 100%;
  margin: 10px 0 14px;
  background: #1a1a1a;
  border: 1px solid #333;
  color: white;
  border-radius: 12px;
  padding: 12px;
}

.modal-card .btn {
  width: 100%;
}

.back-bar {
  position: sticky;
  top: 0;
  z-index: 18;
  margin: -14px -14px 10px;
  padding: 8px 14px;
  background: rgba(11, 11, 11, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 7px 12px;
  border-radius: 12px;
  border: 1px solid rgba(229, 9, 20, 0.75);
  background: #161616;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 50;
  place-items: center;
}

.lightbox.open {
  display: grid;
  touch-action: none;
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-out;
  touch-action: none;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(20, 20, 20, 0.72);
  color: white;
  cursor: pointer;
  z-index: 51;
}

.lightbox-close {
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 28px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 56px;
  border-radius: 14px;
  font-size: 32px;
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

body.lightbox-open {
  overflow: hidden;
}
