/* Тёмная тема: чёрный фон, фиолетовый акцент, оранжевый бренд в шапке */
:root {
  color-scheme: dark;
  --bg: #09090b;
  --bg-elevated: #101014;
  --bg-surface: #16161c;
  --bg-surface-2: #1c1c24;
  --bg-muted: #22222c;
  --bg-hover: #2a2a36;
  --input-bg: #121218;
  --text: #eeedf3;
  --text-muted: #9b9bab;
  --text-dim: #6d6d7d;
  --border: #2c2c38;
  --border-strong: #3a3a48;
  --accent: #c97aca;
  --accent-dark: #a85da8;
  --accent-light: #e8c4e8;
  --accent-soft: rgba(201, 122, 202, 0.14);
  --accent-soft-hover: rgba(201, 122, 202, 0.22);
  --brand-orange: #ffab40;
  --brand-orange-dark: #f57c00;
  --success: #4ade80;
  --success-border: #34d399;
  --success-soft: rgba(74, 222, 128, 0.12);
  --danger: #f87171;
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --card-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.55);
  --radius: 12px;
  --radius-pill: 999px;
  --fab: #ef4444;
  --font: "Montserrat", system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 60% at 50% -15%, rgba(201, 122, 202, 0.09), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(255, 171, 64, 0.04), transparent 50%),
    var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.search-input,
.auth-form input,
.captcha-input,
.qty-row input,
.payment-input,
.payment-saved-label select {
  background: var(--input-bg);
  color: var(--text);
}

.search-input::placeholder,
.auth-form input::placeholder,
.captcha-input::placeholder,
.payment-input::placeholder {
  color: var(--text-dim);
}

main {
  flex: 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-narrow {
  max-width: 720px;
}

.cabinet-page.catalog-layout {
  max-width: 1200px;
  padding-bottom: 48px;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
}

.cabinet-sidebar {
  min-width: 0;
}

.cabinet-sidebar .cabinet-nav-btn {
  white-space: normal;
}

.cabinet-head {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 8px;
}

.cabinet-head-title {
  margin-bottom: 10px;
}

.cabinet-main .page-title {
  margin-bottom: 8px;
}

.cabinet-lead {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--text);
}

.cabinet-greeting-name {
  font-weight: 700;
  background: linear-gradient(
    105deg,
    #9a7209 0%,
    #d4af37 18%,
    #ffe566 38%,
    #fff4c2 50%,
    #ffe566 62%,
    #d4af37 82%,
    #9a7209 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: cabinet-greeting-shimmer 3.2s ease-in-out infinite;
}

@keyframes cabinet-greeting-shimmer {
  0% {
    background-position: 100% center;
  }
  100% {
    background-position: -100% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cabinet-greeting-name {
    animation: none;
    background: none;
    color: #d4af37;
    -webkit-text-fill-color: #d4af37;
  }
}

.cabinet-user-email {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cabinet-panel .empty-hint {
  text-align: center;
  margin-top: 8px;
}

.cabinet-panel--settings {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.cabinet-settings-section-title {
  margin: 24px 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
}

.cabinet-settings-section-title:first-child {
  margin-top: 0;
}

.cabinet-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

.cabinet-settings-form label {
  display: block;
  margin-bottom: 12px;
}

.profile-success {
  color: #6ee7a0;
}

@media (max-width: 640px) {
  .cabinet-settings-grid {
    grid-template-columns: 1fr;
  }
}

.cabinet-nav-list {
  margin: 0;
  padding: 0;
}

.cabinet-nav-btn {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  font-weight: 500;
  border: none;
  background: transparent;
  padding: 10px 12px;
  margin: 2px 0;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
}

.cabinet-nav-btn:hover,
.cabinet-nav-btn:focus-visible {
  background: var(--bg-hover);
  outline: none;
}

.cabinet-nav-btn.active {
  font-weight: 600;
  color: var(--accent-light);
  background: var(--accent-soft);
}

.cabinet-panel {
  min-height: 200px;
}

.rentals-list {
  list-style: none !important;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rentals-list > li {
  list-style: none !important;
}

.rental-card {
  display: block;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--card-shadow);
  background: var(--bg-surface);
  border: 2px solid var(--border);
  overflow: hidden;
}

.rental-card-inner {
  padding: 20px;
}

.rental-card--active {
  border: 2px solid var(--success-border);
  background: var(--bg-surface);
  box-shadow: 0 4px 24px rgba(52, 211, 153, 0.15);
}

.rental-card--history {
  background: var(--bg-muted);
  color: var(--text-dim);
  box-shadow: none;
  border: 2px solid var(--border);
  pointer-events: none;
  user-select: none;
  filter: grayscale(0.9);
  opacity: 0.92;
}

.order-group-card {
  display: block;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--card-shadow);
  background: var(--bg-surface);
  border: 2px solid var(--border);
  overflow: hidden;
}

.order-group-inner {
  padding: 20px;
}

.order-group-card--active {
  border: 2px solid var(--success-border);
  box-shadow: 0 4px 24px rgba(52, 211, 153, 0.15);
}

.order-group-card--processing {
  border: 2px solid #f0c14b;
  box-shadow: 0 4px 24px rgba(240, 193, 75, 0.22);
}

.order-group-card--delivery {
  border: 2px solid #38bdf8;
  box-shadow: 0 4px 24px rgba(56, 189, 248, 0.22);
}

.order-group-card--cancelled {
  border: 2px solid rgba(248, 113, 113, 0.45);
  box-shadow: none;
  background: var(--bg-muted);
  opacity: 0.95;
}

.order-group-card--history {
  background: var(--bg-muted);
  color: var(--text-dim);
  border: 2px solid var(--border);
  filter: grayscale(0.85);
  opacity: 0.92;
}

.order-group-head {
  margin-bottom: 12px;
}

.order-number {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.order-group-card--history .order-number {
  color: var(--text-muted);
}

.order-group-sum {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 0.95rem;
}

.order-group-date {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.order-group-remaining {
  margin: 0 0 12px;
  font-weight: 600;
  color: var(--success);
}

.order-fulfillment-badge {
  margin: 4px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.order-fulfillment-badge--processing {
  color: #f0c14b;
}

.order-fulfillment-badge--delivery {
  color: #38bdf8;
}

.order-fulfillment-badge--cancelled {
  color: #f87171;
}

.order-cancelled-hint,
.rental-cancelled {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: #f87171;
}

.order-processing-hint,
.order-delivery-hint,
.order-delivery-status-hint {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.order-delivery-status-hint {
  color: #7dd3fc;
  font-weight: 500;
}

.rental-awaiting {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: #f0c14b;
}

.order-group-card--processing .order-fulfillment-badge {
  color: #f0c14b;
}

.order-group-card--delivery .order-fulfillment-badge {
  color: #38bdf8;
}

.order-cancel-btn {
  margin-bottom: 12px;
}

.cart-delivery {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cart-delivery-legend {
  font-weight: 600;
  padding: 0 6px;
}

.cart-delivery-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.cart-delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}

.cart-delivery-address {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.cart-delivery-address-label {
  font-size: 0.9rem;
}

.cart-delivery-address-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.cart-delivery-address-row input {
  flex: 1;
  min-width: 0;
}

.btn-cart-map {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2, rgba(255, 255, 255, 0.06));
  color: var(--accent, #a78bfa);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.btn-cart-map:hover {
  border-color: var(--accent, #a78bfa);
  background: rgba(167, 139, 250, 0.12);
}

.modal-delivery-map {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.delivery-map-canvas {
  width: 100%;
  height: min(52vh, 420px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  z-index: 0;
}

.delivery-map-actions {
  display: flex;
  justify-content: flex-end;
}

body.modal-open {
  overflow: hidden;
}

.cart-contact-alt {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--muted);
}

.modal-order-success .order-success-lead {
  line-height: 1.55;
  margin: 0 0 12px;
}

.order-success-number {
  font-weight: 600;
  margin: 0 0 8px;
}

.order-group-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.order-group-card--history .order-group-items {
  border-top-color: var(--border);
}

.rental-line-item {
  padding: 12px;
  border-radius: 8px;
  background: var(--bg-hover);
}

.order-group-card--history .rental-line-item {
  background: rgba(0, 0, 0, 0.2);
}

.rental-line-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.rental-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.rental-status-dot {
  flex-shrink: 0;
  display: inline-block;
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  border-radius: 50%;
  border: 2px solid var(--bg-surface);
}

.rental-status-dot:not(.rental-status-dot--processing):not(.rental-status-dot--delivery):not(.rental-status-dot--overdue) {
  background-color: #22c55e !important;
  animation: rental-pulse-green 1.2s ease-in-out infinite;
}

.rental-status-dot.rental-status-dot--processing,
.order-group-card--processing .rental-status-dot {
  background-color: #f0c14b !important;
  animation: rental-pulse-yellow 1.4s ease-in-out infinite;
}

.rental-status-dot.rental-status-dot--delivery,
.order-group-card--delivery .rental-status-dot {
  background-color: #38bdf8 !important;
  animation: rental-pulse-blue 1.3s ease-in-out infinite;
}

@keyframes rental-pulse-green {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.08);
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
}

@keyframes rental-pulse-yellow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(240, 193, 75, 0.7);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.08);
    box-shadow: 0 0 0 10px rgba(240, 193, 75, 0);
  }
}

@keyframes rental-pulse-blue {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.08);
    box-shadow: 0 0 0 10px rgba(56, 189, 248, 0);
  }
}

#cartDeliveryAddress.input-error {
  border-color: #f87171;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.25);
}

#cartDeliveryError {
  margin: -8px 0 12px;
}

.rental-card-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: inherit;
}

.rental-card--history .rental-card-title {
  font-weight: 600;
}

.rental-card-meta {
  font-size: 0.9rem;
  line-height: 1.55;
}

.rental-card-meta p {
  margin: 0 0 6px;
}

.rental-remaining {
  font-weight: 700;
  font-size: 1rem;
  color: var(--success);
  margin-bottom: 8px !important;
}

.rental-card--history .rental-remaining {
  color: var(--text-dim);
}

.cart-days-row {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-elevated);
  box-shadow: 0 1px 0 var(--border), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.header-top {
  border-bottom: 1px solid var(--border);
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 12px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-logo-img {
  display: block;
  height: 68px;
  width: auto;
  max-width: min(280px, 55vw);
  object-fit: contain;
  flex-shrink: 0;
}

.brand-logo-img--footer {
  height: 64px;
  max-width: min(260px, 65vw);
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  aspect-ratio: 1 / 1;
  line-height: 0;
  background: transparent;
  overflow: visible;
}

.brand-icon .brand-logo-svg,
.brand-icon svg {
  display: block;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px;
  min-height: 56px;
  max-width: none;
  max-height: none;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-icon--footer {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
}

.brand-icon--footer .brand-logo-svg,
.brand-icon--footer svg {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px;
  min-height: 48px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-orange);
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  display: block;
  line-height: 0;
  border-radius: 50%;
  transition: transform 0.15s, opacity 0.15s;
}

.social-link:hover {
  transform: scale(1.06);
  opacity: 0.9;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.header-contact:hover {
  color: var(--brand-orange);
}

.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--brand-orange);
  position: relative;
}

.contact-icon--email::after {
  content: "";
  position: absolute;
  inset: 9px 7px 8px;
  border: 2px solid #fff;
  border-radius: 2px;
  box-shadow: 0 -5px 0 -2px #fff;
}

.contact-icon--phone::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid #fff;
  border-radius: 4px;
  transform: rotate(-12deg);
}

.header-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-auth {
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(180deg, #ff9800, var(--brand-orange-dark));
  white-space: nowrap;
  transition: filter 0.15s, transform 0.1s;
}

.btn-auth:hover {
  filter: brightness(1.05);
}

.header-nav {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.header-nav-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.header-nav-group--delivery .nav-link {
  font-size: 0.875rem;
}

.nav-link {
  font: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent-light);
  background: var(--bg-hover);
  outline: none;
}

.nav-link.active {
  color: var(--text) !important;
  background: var(--accent) !important;
  font-weight: 600;
}

.nav-link.active:hover,
.nav-link.active:focus-visible {
  color: #fff !important;
  filter: brightness(1.06);
}

.cart-badge {
  display: inline-block;
  min-width: 1.35em;
  padding: 0 6px;
  margin-left: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-pill);
  vertical-align: middle;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.user-email {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--accent-light);
  border-color: var(--accent);
}

.btn-outline:hover:not(:disabled) {
  background: var(--accent-soft-hover);
  color: var(--accent-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.btn-ghost:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.hero {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

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

.hero-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.hero-sub {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual-block {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: #000;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-phone-anim {
  max-width: 320px;
  margin: 0 auto;
}

.hero-phone-icon {
  filter: drop-shadow(0 0 12px rgba(74, 222, 128, 0.45));
}

.hero-phone-pulse-ring {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: hero-phone-pulse 2.4s ease-out infinite;
}

.hero-phone-pulse-ring--2 {
  animation-delay: 0.8s;
}

.hero-phone-pulse-ring--3 {
  animation-delay: 1.6s;
}

@keyframes hero-phone-pulse {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  70% {
    opacity: 0.2;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-phone-pulse-ring {
    animation: none;
    opacity: 0.35;
    transform: scale(1.2);
  }

  .hero-phone-pulse-ring--2 {
    transform: scale(1.35);
  }

  .hero-phone-pulse-ring--3 {
    display: none;
  }
}

.catalog-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 32px 20px 48px;
}

.catalog-page {
  padding: 28px 20px 48px;
}

.catalog-page .catalog-main {
  width: 100%;
}

@media (max-width: 900px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
}

.sidebar-title {
  margin: 0 0 12px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-list button {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  border: none;
  background: transparent;
  padding: 10px 12px;
  margin: 2px 0;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
}

.category-list button:hover,
.category-list button:focus-visible {
  background: var(--bg-hover);
  outline: none;
}

.category-list button.active {
  font-weight: 600;
  color: var(--accent-light);
  background: var(--accent-soft);
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.catalog-heading {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}

.search-input {
  width: 100%;
  padding: 12px 40px 12px 14px;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--border-strong);
}

.product-card-img {
  aspect-ratio: 1;
  background: linear-gradient(180deg, #1e1828, #14141c);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card-img--fallback {
  color: var(--accent);
  font-size: 0.75rem;
  text-align: center;
  padding: 12px;
}

.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.product-card-price {
  margin: 0;
  font-weight: 700;
  font-size: 1.1rem;
}

.product-card-stock {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.product-card-actions {
  margin-top: auto;
  padding-top: 8px;
}

.empty-hint {
  text-align: center;
  color: var(--text-muted);
  padding: 32px;
}

.page[hidden] {
  display: none !important;
}

.page-title {
  margin: 0 0 8px;
  font-size: 1.75rem;
}

.guest-cart-msg {
  color: var(--text-muted);
}

.cart-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.cart-rental-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
}

.cart-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  margin-bottom: 12px;
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border: 2px solid var(--border);
  list-style: none;
}

.cart-item-remove {
  flex-shrink: 0;
}

.cart-item-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.cart-item-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  align-items: flex-end;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.cart-control-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-control-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-light);
}

.cart-item-name {
  font-weight: 600;
}

.cart-item-price {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-row button {
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  border: 1px solid var(--border);
  background: var(--bg-hover);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
}

.qty-row button:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.qty-row input {
  width: 48px;
  text-align: center;
  font: inherit;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.cart-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
}

.cart-total {
  margin: 0;
  font-size: 1.2rem;
}

.orders-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.order-card {
  padding: 20px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  background: var(--bg-surface);
}

.order-card-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.order-lines {
  margin: 0;
  padding-left: 18px;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 20px 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal {
  position: relative;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  width: 100%;
  max-width: 400px;
  max-height: min(90vh, calc(100dvh - 48px));
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  margin-top: max(12px, env(safe-area-inset-top, 0px));
}

.modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-title {
  margin: 0;
  font-size: 1.25rem;
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.modal-close {
  position: static;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  z-index: 2;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: 8px;
}

.modal-close:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.tab {
  flex: 1;
  padding: 10px;
  font: inherit;
  font-weight: 600;
  border: 2px solid var(--border);
  background: var(--bg-surface);
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.tab.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.modal-auth-hint {
  margin: -8px 0 16px;
}

.auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted, var(--muted));
  cursor: pointer;
}

.auth-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.auth-consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-consent a:hover,
.auth-consent a:focus-visible {
  color: var(--accent-light, #e8c4e8);
}

.footer-legal-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  color: var(--accent);
}

.legal-doc-body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

.legal-doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.legal-doc-header {
  margin-bottom: 32px;
}

.legal-doc-back {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}

.legal-doc-back:hover {
  text-decoration: underline;
}

.legal-doc-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 8px;
}

.legal-doc-header h1 {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  margin: 0 0 12px;
}

.legal-doc-lead {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.legal-doc-content section {
  margin-bottom: 24px;
}

.legal-doc-content h2 {
  font-size: 1.05rem;
  margin: 0 0 10px;
}

.legal-doc-content p,
.legal-doc-content li {
  line-height: 1.6;
  color: var(--text-muted, #c8c8d0);
}

.legal-doc-content ul {
  margin: 8px 0 0;
  padding-left: 1.25rem;
}

.legal-doc-content a {
  color: var(--accent);
}

.legal-doc-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.auth-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.875rem;
  font-weight: 500;
}

.auth-form input {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.captcha-block {
  margin-bottom: 14px;
}

.captcha-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.captcha-canvas {
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  max-width: 100%;
  height: auto;
}

.captcha-refresh {
  white-space: nowrap;
}

.captcha-input {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.form-error {
  color: var(--danger);
  font-size: 0.875rem;
  margin: 0 0 12px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: -8px 0 12px;
}

.forgot-dev-hint code {
  font-size: 0.85em;
}

.forgot-wrap {
  margin: 0 0 12px;
  text-align: right;
}

.btn-link {
  font: inherit;
  font-weight: 600;
  color: var(--accent);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-link:hover,
.btn-link:focus-visible {
  color: var(--accent-dark);
  outline: none;
}

.modal-divider-label {
  margin: 18px 0 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px;
  margin-top: auto;
  background: var(--bg-elevated);
}

.footer-inner {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-inner p {
  margin: 0;
}

.fab-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--fab);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.35rem;
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.45);
  z-index: 40;
}

.fab-call:hover {
  filter: brightness(1.05);
}

.modal-payment {
  max-width: 440px;
}

.payment-promo-block {
  margin: 0 0 14px;
}

.payment-promo-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.payment-promo-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.payment-promo-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--input-bg, rgba(255, 255, 255, 0.05));
  color: inherit;
  font: inherit;
  text-transform: uppercase;
}

.payment-promo-apply {
  flex-shrink: 0;
  white-space: nowrap;
}

.payment-promo-error {
  margin: 6px 0 0;
}

.payment-subtotal-line,
.payment-discount-line {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.payment-discount-line strong {
  color: #4ade80;
}

.payment-total-line {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.payment-free-hint {
  color: #4ade80;
}

.payment-demo-hint {
  margin-bottom: 16px;
  font-size: 0.8rem;
}

.payment-providers {
  border: none;
  margin: 0 0 16px;
  padding: 0;
}

.payment-legend {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.payment-provider-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.payment-provider-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.payment-provider-option input {
  accent-color: var(--accent);
}

.payment-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-save-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-top: 8px;
}

.payment-saved-label select {
  width: 100%;
  margin-top: 6px;
}

.payment-card-form {
  margin-top: 4px;
}

.payment-card-section-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 14px;
}

.payment-field {
  margin-bottom: 14px;
}

.payment-field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.payment-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.payment-input {
  width: 100%;
  padding: 12px 14px;
  padding-right: 72px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.payment-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.payment-input--error {
  border-color: #e53935;
  padding-right: 96px;
}

.payment-input--error:focus {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}

.payment-field-error {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  color: #e53935;
}

.payment-field-error[hidden] {
  display: none;
}

.payment-field-icon--error {
  position: absolute;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e53935;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  pointer-events: none;
  flex-shrink: 0;
}

.payment-input-wrap:has(.payment-card-brand:not([hidden])) .payment-field-icon--error {
  right: 44px;
}

.payment-card-brand {
  position: absolute;
  right: 38px;
  height: 22px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.payment-card-brand--visa {
  color: #7b9cff;
}

.payment-card-brand--mastercard {
  display: flex;
  gap: 2px;
  align-items: center;
}

.payment-card-brand--mastercard::before,
.payment-card-brand--mastercard::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: 0.9;
}

.payment-card-brand--mastercard::before {
  background: #eb001b;
  margin-right: -6px;
}

.payment-card-brand--mastercard::after {
  background: #f79e1b;
}

.payment-card-brand--mir {
  color: #0d8c3c;
  font-size: 0.7rem;
}

.payment-card-row .payment-input {
  padding-right: 44px;
}

.payment-card-row .payment-input--error {
  padding-right: 44px;
}

#btnPaySubmit:disabled {
  background: var(--bg-muted);
  border-color: var(--border);
  color: var(--text-dim);
  cursor: not-allowed;
  opacity: 1;
}

@media (max-width: 900px) {
  .header-top-inner {
    justify-content: center;
    text-align: center;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .header-contacts {
    width: 100%;
    justify-content: center;
  }

  .header-auth {
    width: 100%;
    justify-content: center;
  }

  .header-nav-inner {
    justify-content: center;
  }

}

@media (max-width: 520px) {
  .header-phone {
    font-size: 0.85rem;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-logo-img {
    height: 56px;
    max-width: min(240px, 72vw);
  }

  .brand-logo-img--footer {
    height: 54px;
  }

  .header-contact span:not(.contact-icon) {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Прошедшие мероприятия */
.events-showcase {
  margin-top: 8px;
  padding: 48px 0 56px;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, transparent 0%, rgba(201, 122, 202, 0.04) 50%, transparent 100%),
    var(--bg);
}

.events-showcase-inner {
  max-width: 100%;
}

.events-showcase-head {
  text-align: center;
  margin-bottom: 28px;
  padding: 0 20px;
}

.events-showcase-title {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}

.events-showcase-lead {
  margin: 0 auto;
  max-width: 560px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.events-showcase-scroller {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.events-showcase-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 16px 8px 24px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-muted);
}

.events-showcase-track::-webkit-scrollbar {
  height: 6px;
}

.events-showcase-track::-webkit-scrollbar-thumb {
  background: var(--accent-dark);
  border-radius: 3px;
}

.events-showcase-card {
  flex: 0 0 auto;
  width: min(320px, 78vw);
  scroll-snap-align: center;
  list-style: none;
}

.events-showcase-frame {
  position: relative;
  border-radius: 6px;
  padding: 4px;
  background: linear-gradient(135deg, rgba(201, 122, 202, 0.5), rgba(255, 171, 64, 0.25));
  box-shadow:
    0 0 24px rgba(201, 122, 202, 0.2),
    0 12px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.events-showcase-card:hover .events-showcase-frame {
  transform: translateY(-4px);
  box-shadow:
    0 0 32px rgba(201, 122, 202, 0.35),
    0 16px 48px rgba(0, 0, 0, 0.5);
}

.events-showcase-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-surface);
}

.events-showcase-caption {
  margin: 12px 4px 0;
  text-align: center;
}

.events-showcase-caption strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.events-showcase-caption span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.events-scroll-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--accent-light);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.events-scroll-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.events-showcase-empty {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .events-showcase {
    padding: 36px 0 44px;
  }

  .events-scroll-btn {
    display: none;
  }

  .events-showcase-scroller {
    padding: 0;
  }
}

/* О компании */
.about-company {
  padding: 56px 0 64px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.about-company-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 1.15fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.about-visual {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rental-scene {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.rental-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-light) 0%, var(--accent) 55%, transparent 100%);
  box-shadow: 0 0 28px rgba(201, 122, 202, 0.65);
  animation: rental-core-pulse 2.4s ease-in-out infinite;
  z-index: 2;
}

.rental-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(201, 122, 202, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.rental-orbit--a {
  width: 78%;
  height: 78%;
  animation: rental-orbit-spin 22s linear infinite;
}

.rental-orbit--b {
  width: 92%;
  height: 92%;
  opacity: 0.55;
  animation: rental-orbit-spin 30s linear infinite reverse;
}

.rental-orbit--c {
  width: 58%;
  height: 58%;
  opacity: 0.35;
  animation: rental-orbit-spin 16s linear infinite;
}

.rental-device {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  filter: drop-shadow(0 0 10px rgba(201, 122, 202, 0.45));
  z-index: 3;
}

.rental-device--phone {
  top: 6%;
  left: 50%;
  margin-left: -14px;
  animation: rental-float-a 5s ease-in-out infinite;
}

.rental-device--laptop {
  top: 38%;
  right: 4%;
  animation: rental-float-b 5.5s ease-in-out infinite 0.4s;
}

.rental-device--audio {
  bottom: 14%;
  left: 10%;
  animation: rental-float-c 4.8s ease-in-out infinite 0.8s;
}

.rental-device--box {
  bottom: 10%;
  right: 12%;
  color: var(--brand-orange);
  filter: drop-shadow(0 0 10px rgba(255, 171, 64, 0.35));
  animation: rental-float-d 5.2s ease-in-out infinite 1.2s;
}

.rental-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-light);
  opacity: 0.7;
  box-shadow: 0 0 8px rgba(201, 122, 202, 0.8);
}

.rental-dot--1 { top: 22%; left: 18%; animation: rental-dot-pulse 2s ease-in-out infinite; }
.rental-dot--2 { top: 15%; right: 22%; animation: rental-dot-pulse 2.3s ease-in-out infinite 0.3s; }
.rental-dot--3 { bottom: 28%; left: 28%; animation: rental-dot-pulse 1.8s ease-in-out infinite 0.6s; }
.rental-dot--4 { bottom: 22%; right: 28%; animation: rental-dot-pulse 2.1s ease-in-out infinite 0.9s; }
.rental-dot--5 { top: 48%; left: 6%; animation: rental-dot-pulse 2.5s ease-in-out infinite 0.2s; }
.rental-dot--6 { top: 52%; right: 8%; animation: rental-dot-pulse 1.9s ease-in-out infinite 0.5s; }

@keyframes rental-orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rental-core-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.2); }
}

@keyframes rental-float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes rental-float-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, -10px); }
}

@keyframes rental-float-c {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px) translateX(6px); }
}

@keyframes rental-float-d {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -10px); }
}

@keyframes rental-dot-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

.about-title {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.about-lead {
  margin: 0 0 20px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.about-lead strong {
  color: var(--accent-light);
  font-weight: 700;
}

.about-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.about-list li {
  position: relative;
  padding: 0 0 10px 28px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 171, 64, 0.15);
  border: 2px solid var(--brand-orange);
}

.about-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.62em;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--brand-orange);
  border-bottom: 2px solid var(--brand-orange);
  transform: rotate(-45deg);
}

.about-outro {
  margin: 0 0 24px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-cta .btn-outline {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .about-company-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rental-orbit,
  .rental-core,
  .rental-device,
  .rental-dot {
    animation: none !important;
  }
}

/* Подвал как шапка */
.site-footer--bar {
  padding: 0;
  margin-top: auto;
}

.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 20px;
}

.footer-brand .brand-text {
  gap: 1px;
}

.footer-bar-center {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.footer-bar-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-phone {
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-bar-center {
    flex: 1 1 100%;
    order: 2;
  }

  .footer-bar-contacts {
    width: 100%;
    justify-content: center;
    order: 3;
  }

  .footer-brand {
    order: 1;
  }
}

/* Заявка на звонок и чат */
.label-optional {
  font-weight: 400;
  color: var(--text-dim);
  font-size: 0.85em;
}

.form-success {
  color: var(--success) !important;
}

.auth-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--text);
  resize: vertical;
  min-height: 72px;
}

.modal-callback {
  max-width: 420px;
}

.modal-support {
  max-width: 440px;
  display: flex;
  flex-direction: column;
  max-height: min(85vh, 640px);
}

.support-hint {
  margin-top: -8px;
}

.support-guest-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.875rem;
}

.support-guest-form input {
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--text);
}

.support-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
}

.support-messages {
  flex: 1;
  min-height: 200px;
  max-height: 360px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-msg {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.support-msg--client {
  align-self: flex-end;
  background: var(--accent-soft);
  border: 1px solid rgba(201, 122, 202, 0.35);
}

.support-msg--staff {
  align-self: flex-start;
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
}

.support-msg-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.support-msg-body {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.support-compose {
  display: flex;
  gap: 8px;
  align-items: center;
}

.support-input {
  flex: 1;
  padding: 10px 12px;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--input-bg);
  color: var(--text);
}

.support-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.support-send-icon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor;
}

button.fab-call {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

button.fab-call:hover {
  filter: brightness(1.08);
  transform: scale(1.04);
}

/* Продление аренды */
.modal-extend {
  max-width: 420px;
}

.extend-end-line {
  margin-top: -4px;
}

.extend-price-line {
  margin: 12px 0 4px;
  font-size: 1.1rem;
}

.extend-rate-hint {
  margin-bottom: 12px;
}

.extend-pay-hint {
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-extend .form-success {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--success-soft);
  border: 1px solid var(--success-border);
  color: var(--success);
  font-size: 0.9rem;
}

.extend-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rental-extend-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.rental-extend-actions .btn {
  flex: 1;
  min-width: 120px;
}

/* Страница товара */
.product-card--clickable {
  cursor: pointer;
}

.product-card--clickable .product-card-actions {
  cursor: default;
}

.product-detail-view {
  padding: 24px 0 56px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.product-detail-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.product-breadcrumb a {
  color: var(--accent-light);
  text-decoration: none;
}

.product-breadcrumb a:hover {
  text-decoration: underline;
}

.product-breadcrumb-sep {
  opacity: 0.5;
}

.product-detail-head {
  margin: 0;
}

.product-detail-title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
}

.product-detail-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.product-detail-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-detail-badge--in {
  background: rgba(76, 175, 120, 0.2);
  color: #7dcea0;
}

.product-detail-badge--out {
  background: rgba(220, 80, 80, 0.15);
  color: #e88;
}

.product-detail-top {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 380px);
  gap: 32px;
  align-items: start;
}

.product-detail-main-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #1e1828, #14141c);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-main-img--fallback {
  color: var(--accent);
  font-size: 1rem;
  padding: 24px;
  text-align: center;
}

.product-detail-buy {
  position: sticky;
  top: calc(var(--header-offset, 120px) + 12px);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: var(--card-shadow);
}

.product-detail-stock-label {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-light);
}

.product-detail-panel-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.product-rate-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-rate-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.product-rate-price {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

.product-rate-month {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.product-days-field {
  display: block;
  margin-top: 8px;
  font-size: 0.875rem;
}

.product-days-field span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.product-days-field input {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--text);
}

.product-rate-total {
  margin: 8px 0 0;
  font-size: 1rem;
}

.product-rent-btn {
  margin-top: 4px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-detail-note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.product-detail-service {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.product-service-block {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
}

.product-service-block h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.product-service-block p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.product-detail-tabs {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.product-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.product-tab {
  padding: 10px 20px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.product-tab:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.product-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.product-tab-panel {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.product-tab-panel[hidden] {
  display: none !important;
}

.product-desc-text {
  margin: 0;
  white-space: pre-wrap;
}

.product-spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-spec-line {
  padding: 12px 0;
  border-bottom: 1px dotted var(--border);
  line-height: 1.5;
}

.product-spec-label {
  color: var(--text-muted);
  font-weight: 500;
}

.product-spec-sep {
  margin: 0 0.4em;
  color: var(--text-muted);
}

.product-spec-value {
  color: var(--text);
}

.product-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-offset, 118px);
  z-index: 85;
  background: var(--bg-elevated);
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.product-sticky-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.product-sticky-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.product-sticky-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-surface-2);
}

.product-sticky-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-sticky-info {
  flex: 1;
  min-width: 140px;
}

.product-sticky-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.product-sticky-price {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-sticky-rent {
  flex-shrink: 0;
  min-width: 140px;
  font-weight: 700;
}

/* Пункты выдачи */
.pickup-page {
  padding: 24px 0 64px;
}

.pickup-title span {
  color: var(--accent-light);
}

.pickup-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 20px;
  align-items: stretch;
  min-height: 420px;
  margin-bottom: 48px;
}

.pickup-list-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
  overflow: hidden;
  max-height: 520px;
  overflow-y: auto;
}

.pickup-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pickup-list-item {
  border-bottom: 1px solid var(--border);
}

.pickup-list-item:last-child {
  border-bottom: none;
}

.pickup-list-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 0.15s;
}

.pickup-list-btn:hover,
.pickup-list-item.is-active .pickup-list-btn {
  background: var(--accent-soft);
}

.pickup-list-kind {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-light);
  margin-bottom: 4px;
}

.pickup-list-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.pickup-list-address,
.pickup-list-hours {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.pickup-list-note {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.pickup-map-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  background: var(--bg-surface-2);
}

.pickup-map-frame {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.pickup-section-title {
  margin: 0 0 20px;
  font-size: 1.35rem;
}

.pickup-advantages {
  margin-bottom: 40px;
}

.pickup-advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pickup-advantage-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
  text-align: center;
}

.pickup-advantage-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.pickup-advantage-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.pickup-contact-form {
  max-width: 480px;
}

.pickup-official-hint {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.5;
}

/* Доставка и оплата */
.delivery-page {
  padding: 24px 0 64px;
  max-width: 960px;
}

.delivery-page-title {
  margin-bottom: 28px;
}

.delivery-map-block {
  margin-bottom: 40px;
}

.delivery-zone-map {
  width: 100%;
  height: 420px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: block;
  background: var(--bg-surface-2);
}

.delivery-zone-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
  margin: 16px 0 8px;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.delivery-zone-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.delivery-zone-dot {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.delivery-zone-dot--1 {
  background: #f5c518;
  box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.35);
}

.delivery-zone-dot--2 {
  background: #f07830;
  box-shadow: 0 0 0 2px rgba(240, 120, 48, 0.35);
}

.delivery-zone-dot--3 {
  background: #e84a6a;
  box-shadow: 0 0 0 2px rgba(232, 74, 106, 0.35);
}

.delivery-map-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.delivery-zones-rates {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.delivery-zone-card {
  padding: 0;
}

.delivery-zone-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 700;
}

.delivery-rate-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-rate-list li {
  position: relative;
  padding: 6px 0 6px 20px;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.delivery-rate-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5c518;
}

.delivery-zone-card:nth-child(2) .delivery-rate-list li::before {
  background: #f07830;
}

.delivery-zone-card:nth-child(3) .delivery-rate-list li::before {
  background: #e84a6a;
}

.delivery-rate-list strong {
  color: var(--text);
  font-weight: 700;
}

.delivery-tag-today {
  display: inline-block;
  padding: 0 6px;
  border-radius: 4px;
  background: rgba(245, 197, 24, 0.25);
  color: #f5d76e;
  font-weight: 700;
}

.delivery-extra {
  display: grid;
  gap: 32px;
  margin-bottom: 48px;
}

.delivery-section-title {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 700;
}

.delivery-bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-bullet-list li {
  position: relative;
  padding: 6px 0 6px 20px;
  color: var(--text-muted);
  line-height: 1.55;
}

.delivery-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5c518;
}

.delivery-highlight {
  background: rgba(245, 197, 24, 0.2);
  padding: 1px 4px;
  border-radius: 3px;
  color: var(--text);
  font-weight: 600;
}

.delivery-footnote {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: #e86a7a;
  line-height: 1.5;
}

.delivery-packaging {
  margin: 16px 0 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.delivery-payment {
  padding-top: 32px;
  border-top: 1px dashed var(--border);
}

.delivery-payment-title {
  text-align: center;
  margin: 0 0 28px;
  font-size: 1.35rem;
  font-weight: 700;
}

.delivery-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.delivery-payment-card {
  padding: 28px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
  text-align: center;
}

.delivery-payment-card h3 {
  margin: 0 0 16px;
  font-size: 1.05rem;
}

.delivery-payment-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  margin: 0 0 16px;
}

/* Анимированная банковская карта */
.delivery-card-scene {
  perspective: 720px;
  width: 168px;
  height: 100px;
}

.delivery-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: delivery-card-toss 3.6s ease-in-out infinite;
}

.delivery-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 12px 14px 10px;
  border-radius: 12px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.delivery-card-face--front {
  background: linear-gradient(135deg, #5b3fd4 0%, #7c5cff 42%, #9b7bff 100%);
  box-shadow:
    0 12px 28px rgba(91, 63, 212, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: rotateY(0deg);
}

.delivery-card-face--back {
  background: linear-gradient(145deg, #3d2d8a 0%, #5240a8 50%, #6a52c4 100%);
  box-shadow:
    0 12px 28px rgba(45, 32, 110, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: rotateY(180deg);
  padding: 8px 12px 10px;
  justify-content: flex-start;
  gap: 0;
}

.delivery-card-face--front::before {
  content: "";
  position: absolute;
  inset: -40% 30% auto -20%;
  height: 120%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 60%
  );
  animation: delivery-card-shine 3.6s ease-in-out infinite;
}

.delivery-card-chip {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(145deg, #e8c96a, #c9a227);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.delivery-card-number {
  position: relative;
  z-index: 1;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.delivery-card-brands {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
}

.delivery-card-brand {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.delivery-card-brand--visa {
  color: #fff;
  font-style: italic;
  font-size: 0.58rem;
}

.delivery-card-brand--mir {
  color: #4fd1c5;
  font-size: 0.52rem;
  padding: 2px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
}

.delivery-card-brand--mc {
  display: flex;
  align-items: center;
  gap: 3px;
}

.delivery-card-mc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.95;
}

.delivery-card-mc-dot--1 {
  background: #eb001b;
  margin-right: -6px;
}

.delivery-card-mc-dot--2 {
  background: #f79e1b;
}

.delivery-card-brand-text {
  font-size: 0.42rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: none;
  letter-spacing: 0;
}

.delivery-card-stripe {
  display: block;
  width: calc(100% + 24px);
  margin: 0 -12px 8px;
  height: 22px;
  background: linear-gradient(180deg, #1a1a22 0%, #0d0d12 100%);
}

.delivery-card-back-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
}

.delivery-card-back-row--cvv {
  margin-bottom: 4px;
  background: rgba(255, 255, 255, 0.88);
}

.delivery-card-back-label {
  flex-shrink: 0;
  font-size: 0.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.delivery-card-back-blur {
  flex: 1;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1a1d26;
  filter: blur(4px);
  opacity: 0.85;
  user-select: none;
  pointer-events: none;
}

.delivery-card-back-blur--short {
  flex: 0 0 auto;
  min-width: 28px;
}

.delivery-card-back-blur--cvv {
  flex: 0 0 auto;
  min-width: 22px;
  text-align: center;
}

.delivery-card-back-hint {
  margin: auto 0 0;
  font-size: 0.42rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

@keyframes delivery-card-toss {
  0%,
  100% {
    transform: translateY(0) rotateY(0deg) rotateX(4deg);
  }
  20% {
    transform: translateY(-22px) rotateY(120deg) rotateX(-6deg);
  }
  45% {
    transform: translateY(-30px) rotateY(220deg) rotateX(8deg);
  }
  70% {
    transform: translateY(-14px) rotateY(320deg) rotateX(-4deg);
  }
}

@keyframes delivery-card-shine {
  0%,
  100% {
    transform: translateX(-120%) rotate(12deg);
    opacity: 0;
  }
  35%,
  55% {
    opacity: 1;
  }
  50% {
    transform: translateX(180%) rotate(12deg);
  }
}

/* Анимированный электронный чек */
.delivery-receipt {
  position: relative;
  width: 132px;
  padding: 12px 14px 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8f9fc 0%, #e8ebf2 100%);
  color: #1a1d26;
  text-align: left;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  animation: delivery-receipt-float 3.2s ease-in-out infinite;
  overflow: hidden;
}

.delivery-receipt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.06) 3px,
    rgba(0, 0, 0, 0.06) 6px
  );
}

.delivery-receipt-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.delivery-receipt-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  border-radius: 6px;
  background: linear-gradient(145deg, #f5c518, #e0a800);
  color: #1a1d26;
  font-size: 0.85rem;
  font-weight: 800;
  animation: delivery-receipt-icon-pulse 2s ease-in-out infinite;
}

.delivery-receipt-title {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #4a5060;
}

.delivery-receipt-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.delivery-receipt-line {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #c5cad6;
  width: 100%;
  transform-origin: left center;
  animation: delivery-receipt-line-print 2.4s ease-in-out infinite;
}

.delivery-receipt-line--short {
  width: 55%;
  animation-delay: 0.15s;
}

.delivery-receipt-line--medium {
  width: 72%;
  animation-delay: 0.3s;
}

.delivery-receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.58rem;
  color: #6b7280;
  margin-bottom: 4px;
}

.delivery-receipt-total strong {
  font-size: 0.72rem;
  color: #1a1d26;
  animation: delivery-receipt-amount 2.4s ease-in-out infinite;
}

.delivery-receipt-stamp {
  position: absolute;
  right: 8px;
  bottom: 18px;
  padding: 3px 8px;
  border: 2px solid #22c55e;
  border-radius: 4px;
  color: #16a34a;
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transform: rotate(-12deg) scale(0);
  opacity: 0;
  animation: delivery-receipt-stamp 2.4s ease-in-out infinite;
}

@keyframes delivery-receipt-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes delivery-receipt-icon-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes delivery-receipt-line-print {
  0%,
  12% {
    transform: scaleX(0);
    opacity: 0.3;
  }
  28%,
  75% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 0.85;
  }
}

@keyframes delivery-receipt-amount {
  0%,
  20% {
    opacity: 0.4;
  }
  40%,
  100% {
    opacity: 1;
  }
}

@keyframes delivery-receipt-stamp {
  0%,
  35% {
    transform: rotate(-12deg) scale(0);
    opacity: 0;
  }
  50%,
  80% {
    transform: rotate(-12deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: rotate(-12deg) scale(0.95);
    opacity: 0.85;
  }
}

.delivery-payment-lead {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text);
}

.delivery-payment-sub {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.delivery-payment-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
  .delivery-card,
  .delivery-card-face::before,
  .delivery-receipt,
  .delivery-receipt-icon,
  .delivery-receipt-line,
  .delivery-receipt-total strong,
  .delivery-receipt-stamp {
    animation: none;
  }

  .delivery-receipt-line {
    transform: scaleX(1);
    opacity: 1;
  }

  .delivery-receipt-stamp {
    transform: rotate(-12deg) scale(1);
    opacity: 1;
  }
}

.link-btn {
  font: inherit;
  color: var(--accent-light);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

.link-btn:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .delivery-zone-map {
    height: 300px;
  }

  .delivery-payment-grid {
    grid-template-columns: 1fr;
  }

  .delivery-card-scene {
    width: 150px;
    height: 90px;
  }

  .pickup-layout {
    grid-template-columns: 1fr;
  }

  .pickup-list-wrap {
    max-height: 280px;
  }

  .pickup-map-frame {
    min-height: 320px;
  }

  .header-nav-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .header-nav-group {
    justify-content: center;
  }

  .product-detail-top {
    grid-template-columns: 1fr;
  }

  .product-detail-buy {
    position: static;
  }

  .product-sticky-inner {
    justify-content: space-between;
  }

  .product-sticky-rent {
    width: 100%;
  }

  .reviews-splash {
    min-height: 220px;
    padding: 36px 16px 28px;
  }

  .reviews-splash-star {
    font-size: 1.35rem;
  }
}

/* ——— Отзывы ——— */
.page-reviews {
  padding-bottom: 48px;
}

.reviews-splash {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 48px 20px 40px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.reviews-splash-glow {
  display: none;
}

.reviews-splash-stars {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}

.reviews-splash-star {
  font-size: 1.75rem;
  color: #f0c14b;
  text-shadow: 0 0 12px rgba(240, 193, 75, 0.45);
  opacity: 0;
  transform: translateY(12px) scale(0.6);
  transform-origin: center bottom;
}

.page-reviews.active .reviews-splash-star {
  animation:
    reviews-star-pop 0.55s ease calc(0.08s * var(--i)) forwards,
    reviews-star-wave 2.4s ease-in-out calc(0.95s + 0.18s * var(--i)) infinite;
}

.reviews-splash-tag {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
}

.page-reviews.active .reviews-splash-tag {
  animation: reviews-fade-up 0.6s ease 0.45s forwards;
}

.reviews-splash-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  opacity: 0;
}

.page-reviews.active .reviews-splash-title {
  animation: reviews-fade-up 0.65s ease 0.55s forwards;
}

.reviews-splash-lead {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 0.95rem;
  opacity: 0;
}

.page-reviews.active .reviews-splash-lead {
  animation: reviews-fade-up 0.65s ease 0.7s forwards;
}

@keyframes reviews-star-pop {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes reviews-star-wave {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
  12% {
    transform: translateY(-14px) scale(1.2);
    filter: brightness(1.15);
  }
  24% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
}

@keyframes reviews-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reviews-glow-in {
  to {
    opacity: 1;
  }
}

.reviews-page {
  padding-top: 28px;
}

.reviews-page-title {
  margin-bottom: 24px;
}

.reviews-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 16px;
}

.reviews-compose {
  margin-bottom: 36px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.reviews-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 120px;
}

.reviews-char-count {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
}

.reviews-stars-field {
  border: none;
  margin: 0 0 16px;
  padding: 0;
}

.reviews-stars-legend {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--muted);
}

.reviews-stars-input {
  position: relative;
  display: flex;
  gap: 6px;
}

.reviews-star-particle {
  position: absolute;
  pointer-events: none;
  z-index: 4;
  font-size: 0.7rem;
  line-height: 1;
  color: #f0c14b;
  text-shadow: 0 0 8px rgba(240, 193, 75, 0.65);
  transform: translate(-50%, -50%);
  animation: reviews-particle-fly 0.6s ease-out forwards;
}

@keyframes reviews-particle-fly {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.25);
  }
}

.reviews-star-btn {
  font-size: 2rem;
  line-height: 1;
  padding: 4px 6px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.reviews-star-btn:hover,
.reviews-star-btn:focus-visible {
  color: var(--accent);
  transform: scale(1.08);
}

.reviews-star-btn.is-active,
.reviews-stars-input.is-rated .reviews-star-btn.is-active {
  color: #f0c14b;
  text-shadow: 0 0 10px rgba(240, 193, 75, 0.45);
}

.reviews-stars-input.is-rated .reviews-star-btn.is-hover {
  color: #f5d878;
}

.reviews-hint {
  margin: 0 0 28px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

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

.review-card {
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.review-card.is-mine {
  border-color: rgba(201, 122, 202, 0.45);
  box-shadow: 0 0 0 1px rgba(201, 122, 202, 0.12);
}

.review-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 10px;
}

.review-author {
  font-weight: 600;
  margin: 0;
}

.review-stars-display {
  display: inline-flex;
  gap: 2px;
  color: #f0c14b;
  font-size: 1rem;
  letter-spacing: 1px;
}

.review-stars-display .star-off {
  color: rgba(255, 255, 255, 0.2);
}

.review-date {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--muted);
}

.review-badge-mine {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(201, 122, 202, 0.4);
}

.review-text {
  margin: 0;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.reviews-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .reviews-splash-star,
  .reviews-splash-tag,
  .reviews-splash-title,
  .reviews-splash-lead {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .reviews-star-particle {
    display: none;
  }
}

/* Бронирование: виджет и календарь */
.product-booking {
  margin: 16px 0;
}

.product-booking-price {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.product-booking-dates {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.product-date-pill {
  flex: 1;
  text-align: left;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
}

.product-date-pill:hover {
  border-color: var(--brand-orange);
  background: var(--bg-hover);
}

.product-date-calendar-btn {
  width: 48px;
  border-radius: 50%;
  border: 1px solid var(--brand-orange);
  background: rgba(255, 171, 64, 0.2);
  color: var(--brand-orange);
  font-size: 1.25rem;
  cursor: pointer;
  flex-shrink: 0;
}

.product-book-btn {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.product-booking-hint {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.modal-backdrop--calendar {
  z-index: 200;
  background: rgba(0, 0, 0, 0.82);
}

.modal-rental-calendar {
  max-width: 720px;
  width: 96vw;
  max-height: min(92vh, calc(100dvh - 32px));
  background: var(--bg-surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.75);
}

.modal-rental-calendar .modal-title {
  color: var(--text);
}

.modal-rental-calendar .modal-close {
  color: var(--text-muted);
}

.modal-rental-calendar .modal-close:hover {
  color: var(--text);
}

.rcal-product {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.rcal-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.rcal-summary-price {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
}

.rcal-summary-price strong {
  color: var(--text);
}

.rcal-pill {
  min-width: 200px;
}

.rcal-buffer-hint {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.rcal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.rcal-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-muted);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
}

.rcal-nav-btn:hover {
  border-color: var(--brand-orange);
  background: var(--bg-hover);
}

.rcal-nav-arrow {
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 700;
  color: var(--text);
  pointer-events: none;
}

.rcal-tooltip {
  padding: 6px 14px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
}

.rcal-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .rcal-months {
    grid-template-columns: 1fr;
  }
}

.rcal-month-title {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--text-muted);
}

.rcal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 6px;
  font-size: 0.68rem;
  color: var(--text-dim);
  text-align: center;
  text-transform: lowercase;
}

.rcal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.rcal-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 4px 2px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  color: var(--text);
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}

.rcal-day:hover:not(.rcal-day--disabled):not(.rcal-day--empty) {
  background: var(--bg-hover);
}

.rcal-day--empty {
  pointer-events: none;
  visibility: hidden;
}

.rcal-day--disabled {
  opacity: 0.28;
  cursor: not-allowed;
  pointer-events: none;
}

.rcal-day-num {
  font-weight: 600;
  font-size: 0.88rem;
}

.rcal-day-price {
  font-size: 0.58rem;
  color: var(--text-dim);
  line-height: 1.1;
}

.rcal-day--in-range {
  background: rgba(255, 171, 64, 0.18);
}

.rcal-day--start,
.rcal-day--end {
  background: var(--brand-orange);
  color: #1a1a1a;
  border-radius: 10px;
  z-index: 2;
}

.rcal-day--start .rcal-day-price,
.rcal-day--end .rcal-day-price {
  color: rgba(0, 0, 0, 0.55);
}

.rcal-day--in-range:not(.rcal-day--start):not(.rcal-day--end) {
  border-radius: 4px;
}

.btn-book {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  color: #1a1208;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
}

.btn-book:hover:not(:disabled) {
  filter: brightness(1.06);
}

.btn-book:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.rcal-open {
  overflow: hidden;
}

.payment-overdue-notice {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(240, 193, 75, 0.12);
  border: 1px solid rgba(240, 193, 75, 0.35);
  font-size: 0.85rem;
  line-height: 1.45;
}

.payment-overdue-notice a {
  color: var(--accent);
}

.rental-overdue {
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fca5a5;
  font-size: 0.88rem;
  font-weight: 600;
}

.rental-status-dot--overdue {
  background-color: #ef4444 !important;
  animation: rental-pulse-red 1.2s ease-in-out infinite;
}

.order-group-card--overdue {
  border: 2px solid #ef4444;
  box-shadow: 0 4px 24px rgba(239, 68, 68, 0.2);
}

@keyframes rental-pulse-red {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
}