/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
  white-space: nowrap;
}

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

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

.btn-primary:hover:not(:disabled) {
  background: #333;
  border-color: #333;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--bg);
  border-color: var(--border-hover);
}

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

.btn-danger:hover:not(:disabled) {
  background: #b91c1c;
}

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

.btn-success:hover:not(:disabled) {
  background: #047857;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

/* --- Badges --- */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-badge);
  background: var(--bg);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  line-height: 1.3;
}

.badge-sub {
  background: transparent;
  border-color: var(--border);
  color: var(--text-secondary);
}

.badge-lang {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text-secondary);
  font-weight: 500;
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
  border-color: transparent;
}

.badge-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: transparent;
}

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning);
  border-color: transparent;
}

.badge-top {
  background: linear-gradient(135deg, #fff, #ffe9f7);
  color: var(--text-primary);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  font-weight: 800;
}

/* --- Cards --- */

.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

/* Listing Card */

.listing-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}

.listing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.listing-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.listing-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.listing-card__top-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #ffe9f7);
  color: #050505;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  font-size: 13px;
  font-weight: 800;
}

.listing-card:hover .listing-card__photo img {
  transform: scale(1.03);
}

.listing-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}

.listing-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.listing-card__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: var(--space-sm);
}

.listing-card__city {
  color: var(--text-secondary);
  font-size: 13px;
}

.listing-card__price {
  font-weight: 600;
  font-size: 15px;
}

.listing-card__price--free {
  color: var(--success);
}

.listing-card__date {
  color: var(--text-secondary);
  font-size: 12px;
}

/* Home City Selector */

.home-city {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 0 auto var(--space-xl);
  max-width: 1000px;
}

.home-city[hidden] {
  display: none !important;
}

.home-city__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.home-city__list {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}

.home-city__button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-primary);
  font-size: 14px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.home-city__button--active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--surface);
}

/* Banner Slider */

.banner-carousel {
  position: relative;
  margin: 0 auto var(--space-xl);
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--bg);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
  isolation: isolate;
}

.banner-carousel[hidden] {
  display: none;
}

.banner-carousel::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  z-index: 4;
  width: min(160px, calc(100% - 72px));
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(12px);
  transform: translateX(-50%);
  pointer-events: none;
}

.banner-carousel__track {
  position: relative;
  aspect-ratio: 16 / 5;
  background: var(--bg);
  touch-action: pan-y;
}

.banner-carousel__slide {
  position: absolute;
  inset: 0;
}

.banner-carousel__slide {
  opacity: 0;
  transform: scale(1.012);
  pointer-events: none;
  transition:
    opacity 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.banner-carousel__slide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 32%;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.18) 100%);
  pointer-events: none;
}

.banner-carousel__slide--active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.banner-carousel picture,
.banner-carousel img {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-carousel img {
  object-fit: cover;
}

.banner-carousel__button {
  --banner-button-transform: translate3d(0, 0, 0);
  --banner-button-hover-y: -2px;
  --banner-button-hover-scale: 1.012;
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 10px;
  background: var(--banner-button-bg, #39E51F);
  color: var(--banner-button-color, #111111);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transform: var(--banner-button-transform);
  transition:
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  pointer-events: auto;
  overflow: hidden;
  will-change: transform, filter;
}

.banner-carousel__button:hover,
.banner-carousel__button:focus-visible,
.banner-carousel__button--hover {
  transform: var(--banner-button-transform) translateY(var(--banner-button-hover-y)) scale(var(--banner-button-hover-scale));
  filter: brightness(1.035) saturate(1.025);
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.18);
}

.banner-carousel__button:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.18);
  outline-offset: 3px;
}

.banner-carousel__button:active {
  filter: brightness(0.98);
  transform: var(--banner-button-transform) translateY(-1px) scale(0.996);
  transition-duration: 160ms;
}

.banner-carousel__slide--bottom-left .banner-carousel__button {
  left: clamp(16px, 4vw, 72px);
  bottom: clamp(16px, 4vw, 48px);
}

.banner-carousel__slide--bottom-center .banner-carousel__button {
  left: 50%;
  bottom: clamp(16px, 4vw, 48px);
  --banner-button-transform: translateX(-50%);
}

.banner-carousel__slide--bottom-right .banner-carousel__button {
  right: clamp(16px, 4vw, 72px);
  bottom: clamp(16px, 4vw, 48px);
}

.banner-carousel__slide--center-left .banner-carousel__button {
  left: clamp(16px, 4vw, 72px);
  top: 50%;
  --banner-button-transform: translateY(-50%);
}

.banner-carousel__slide--center .banner-carousel__button {
  left: 50%;
  top: 50%;
  --banner-button-transform: translate(-50%, -50%);
}

.banner-carousel__slide--center-right .banner-carousel__button {
  right: clamp(16px, 4vw, 72px);
  top: 50%;
  --banner-button-transform: translateY(-50%);
}

.banner-carousel__dots {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 0 2px;
}

.banner-carousel__dot {
  position: relative;
  width: 18px;
  height: 22px;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  opacity: 0.72;
  transition: background 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.banner-carousel__dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.18);
  transform: translate(-50%, -50%);
  transition:
    width 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.banner-carousel__dot:hover {
  background: rgba(17, 17, 17, 0.03);
}

.banner-carousel__dot--active {
  background: rgba(17, 17, 17, 0.045);
  opacity: 0.82;
}

.banner-carousel__dot--active::before {
  width: 11px;
  background: rgba(17, 17, 17, 0.58);
}

.banner-carousel__controls {
  position: absolute;
  left: 50%;
  bottom: clamp(10px, 2vw, 18px);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 24px;
  padding: 2px 4px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

@media (hover: none), (pointer: coarse) {
  .banner-carousel__controls {
    bottom: 7px;
    min-height: 22px;
    padding: 1px 4px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: none;
    pointer-events: none;
  }

  .banner-carousel__dot {
    width: 16px;
    height: 20px;
    cursor: default;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-carousel__slide,
  .banner-carousel__button,
  .banner-carousel__dot,
  .banner-carousel__dot::before {
    transition: none;
  }
}

/* Cookie Consent */

.cookie-consent {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 220;
  width: min(520px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(225, 229, 235, 0.9);
  border-radius: 24px;
  background:
    radial-gradient(circle at 16% 28%, rgba(255, 207, 115, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition:
    opacity 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cookie-consent--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cookie-consent__visual {
  position: relative;
  width: 116px;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-consent__visual::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 195, 89, 0.28), rgba(255, 195, 89, 0));
  filter: blur(10px);
}

.cookie-consent__image {
  position: relative;
  display: block;
  width: 116px;
  height: 116px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(145, 91, 23, 0.18));
  animation: cookie-float 4.8s ease-in-out infinite;
}

.cookie-consent__content {
  min-width: 0;
}

.cookie-consent__title {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.cookie-consent__text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.cookie-consent__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 6px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cookie-consent__link:hover {
  color: var(--accent);
}

.cookie-consent__actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  padding-top: 2px;
}

.cookie-consent__actions .btn {
  min-height: 46px;
  border-radius: 12px;
  font-weight: 700;
  transition:
    background 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.cookie-consent__accept {
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.16);
}

.cookie-consent__reject {
  background: rgba(255, 255, 255, 0.7);
}

@keyframes cookie-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-4px) rotate(1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent,
  .cookie-consent__image,
  .cookie-consent__actions .btn {
    animation: none;
    transition: none;
  }
}

/* Category Cards */

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-md);
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
}

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

.category-card__icon {
  width: 28px;
  height: 28px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.category-card:hover .category-card__icon {
  color: var(--accent);
}

.category-card__name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-primary);
}

.category-card-lg {
  padding: var(--space-2xl) var(--space-lg);
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
}

.category-card-lg::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.category-card-lg:hover::after {
  opacity: 0.55;
}

.category-card-lg:nth-child(1)::after {
  background: radial-gradient(ellipse at 90% 90%, #D5C8E8 0%, transparent 50%);
}

.category-card-lg:nth-child(2)::after {
  background: radial-gradient(ellipse at 90% 90%, #C8D5E8 0%, transparent 50%);
}

.category-card-lg:nth-child(3)::after {
  background: radial-gradient(ellipse at 90% 90%, #D5E8E0 0%, transparent 50%);
}

.category-card-lg .category-card__icon {
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1;
}

.category-card-lg .category-card__name {
  font-size: 16px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.category-card__text {
  display: contents;
}

.category-card__hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

/* --- Forms --- */

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9CA3AF;
}

.form-input[type="color"] {
  min-height: 44px;
  padding: 5px;
  cursor: pointer;
  appearance: none;
}

.form-input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.form-input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 8px;
}

.form-input[type="color"]::-moz-color-swatch {
  border: none;
  border-radius: 8px;
}

.form-input[type="file"] {
  min-height: 50px;
  padding: 6px;
  font-size: 13px;
  line-height: 1;
}

.form-input[type="file"]::file-selector-button {
  min-height: 36px;
  margin-right: 10px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
  background: var(--bg);
  color: var(--text-secondary);
  cursor: not-allowed;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.admin-select-native {
  display: none;
}

.admin-custom-select {
  position: relative;
  width: 100%;
}

.admin-custom-select__button {
  position: relative;
  width: 100%;
  min-height: 50px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--surface);
  color: var(--text-primary);
  font: inherit;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.admin-custom-select__button::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.7px solid var(--text-secondary);
  border-bottom: 1.7px solid var(--text-secondary);
  transform: translateY(-65%) rotate(45deg);
  transition: transform var(--transition), border-color var(--transition);
}

.admin-custom-select__button:hover {
  border-color: #cfd5df;
  background: #fbfbfc;
}

.admin-custom-select__button:disabled {
  background: var(--bg);
  color: var(--text-secondary);
  cursor: not-allowed;
}

.admin-custom-select__button:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.admin-custom-select--open .admin-custom-select__button {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.admin-custom-select--open .admin-custom-select__button::after {
  border-color: var(--accent);
  transform: translateY(-25%) rotate(225deg);
}

.admin-custom-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 80;
  display: none;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
}

.admin-custom-select--open .admin-custom-select__menu {
  display: grid;
  gap: 2px;
}

.admin-custom-select__option {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.admin-custom-select__option:hover,
.admin-custom-select__option:focus {
  outline: none;
  background: var(--bg);
}

.admin-custom-select__option[aria-selected="true"] {
  background: var(--accent);
  color: var(--surface);
  font-weight: 600;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: 14px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-error {
  font-size: 13px;
  color: var(--danger);
  margin-top: 4px;
}

.form-hint {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--danger);
}

.form-row {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.form-row > .form-group {
  flex: 1;
}

.char-counter {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: right;
  margin-top: 4px;
}

.char-counter.limit {
  color: var(--danger);
}

/* --- Dropzone --- */

.dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--surface);
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--accent);
  background: var(--bg);
}

.dropzone__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-md);
  color: var(--text-secondary);
}

.dropzone__text {
  font-size: 14px;
  color: var(--text-secondary);
}

.dropzone__text strong {
  color: var(--text-primary);
}

.dropzone__hint {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: var(--space-sm);
}

.dropzone input[type="file"] {
  display: none;
}

.photo-previews {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.photo-preview {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-badge);
  overflow: hidden;
  border: 1px solid var(--border);
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  border: none;
  line-height: 1;
  transition: background var(--transition);
}

.photo-preview__remove:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* --- Pagination --- */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.pagination__btn {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-badge);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0 8px;
}

.pagination__btn:hover:not(:disabled):not(.active) {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

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

.pagination__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* --- Modal --- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateZ(0);
  transition:
    opacity var(--blur-exit-duration) var(--blur-exit-ease),
    visibility 0s linear var(--blur-exit-duration);
  will-change: opacity;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  transition:
    opacity var(--blur-duration) var(--blur-ease),
    visibility 0s;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.97);
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  z-index: 101;
  width: 90%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease),
    visibility 0s linear var(--motion-duration);
  will-change: opacity, transform;
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0s;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.modal__title {
  font-size: 18px;
  font-weight: 600;
}

.modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-badge);
  font-size: 20px;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.modal__close:hover {
  background: var(--bg);
  color: var(--text-primary);
}

.modal__body {
  padding: var(--space-lg);
}

.modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
  padding: var(--space-lg);
  border-top: 1px solid var(--border);
}

/* --- Admin Edit Modal --- */

.admin-edit-form {
  display: grid;
  gap: var(--space-md);
}

.admin-edit-section {
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
}

.admin-edit-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.admin-edit-section__title {
  margin: 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
}

.admin-edit-grid {
  display: grid;
  gap: var(--space-md);
}

.admin-edit-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-edit-form .form-group {
  margin-bottom: var(--space-md);
}

.admin-edit-form .form-group:last-child,
.admin-edit-grid .form-group {
  margin-bottom: 0;
}

.admin-switch-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-md);
  min-height: 74px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--surface);
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.admin-switch-card:hover {
  border-color: #cfd5df;
  box-shadow: var(--shadow-sm);
}

.admin-switch-card:has(.admin-switch-card__input:focus-visible) {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.admin-switch-card:has(.admin-switch-card__input:checked) {
  border-color: rgba(16, 185, 129, 0.34);
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.86), #fff);
}

.admin-switch-card__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-switch-card__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-switch-card__title {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.admin-switch-card__hint {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.35;
}

.admin-switch-card__track {
  position: relative;
  width: 48px;
  height: 28px;
  flex: 0 0 48px;
  border-radius: 999px;
  background: #d7dce4;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.04);
  transition:
    background var(--transition),
    box-shadow var(--transition);
}

.admin-switch-card__thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.22);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.admin-switch-card__input:checked ~ .admin-switch-card__track {
  background: var(--success);
  box-shadow: inset 0 0 0 1px rgba(4, 120, 87, 0.08);
}

.admin-switch-card__input:checked ~ .admin-switch-card__track .admin-switch-card__thumb {
  transform: translateX(20px);
  box-shadow: 0 3px 9px rgba(4, 120, 87, 0.22);
}

/* --- Contact Buttons --- */

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  text-align: left;
}

.contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.contact-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-btn__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-btn__text small {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.contact-btn--instagram:hover {
  border-color: #E1306C;
  color: #E1306C;
}

.contact-btn--telegram:hover {
  border-color: #0088cc;
  color: #0088cc;
}

.contact-btn--whatsapp:hover {
  border-color: #25D366;
  color: #25D366;
}

.contact-btn--website:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-btn--phone:hover {
  border-color: var(--success);
  color: var(--success);
}

.contact-btn--copy:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Filters --- */

.filters {
  margin-bottom: var(--space-xl);
}

.filters__trigger-row {
  display: flex;
  justify-content: flex-start;
}

.filters__button svg {
  width: 18px;
  height: 18px;
}

.filters__count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.filters-popup,
.contacts-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  visibility: hidden;
  pointer-events: none;
  transition:
    visibility 0s linear var(--motion-duration);
}

.filters-popup.active,
.contacts-modal.active {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}

.filters-popup.is-closing,
.contacts-modal.is-closing {
  visibility: visible;
}

.filters-popup__backdrop,
.contacts-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateZ(0);
  transition:
    opacity var(--blur-exit-duration) var(--blur-exit-ease);
  will-change: opacity;
}

.filters-popup.active .filters-popup__backdrop,
.contacts-modal.active .contacts-modal__backdrop {
  opacity: 1;
  transition:
    opacity var(--blur-duration) var(--blur-ease);
}

.filters-popup__sheet,
.contacts-modal__sheet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(720px, calc(100vw - 32px));
  max-height: min(86vh, 720px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translate(-50%, -48%) scale(0.98);
  opacity: 0;
  transition:
    opacity var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease);
  will-change: opacity, transform;
}

.contacts-modal__sheet {
  width: min(420px, calc(100vw - 32px));
}

.filters-popup.active .filters-popup__sheet,
.contacts-modal.active .contacts-modal__sheet {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.filters-popup__header,
.contacts-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.filters-popup__title,
.contacts-modal__title {
  font-size: 18px;
  font-weight: 600;
}

.filters-popup__close,
.contacts-modal__close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  border: none;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: background var(--transition), color var(--transition);
}

.filters-popup__close:hover,
.contacts-modal__close:hover {
  background: var(--bg);
  color: var(--text-primary);
}

.filters-popup__body,
.contacts-modal__body {
  padding: var(--space-lg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.contacts-modal__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contacts-modal__body .contact-btn {
  width: 100%;
  justify-content: flex-start;
}

.filters-popup__footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
  padding: var(--space-lg);
  border-top: 1px solid var(--border);
}

.filters-popup-open,
.contacts-modal-open {
  overscroll-behavior: contain;
}

.filters__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: flex-end;
}

.filters__group {
  flex: 1;
  min-width: 160px;
}

.filters__group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.filters__group .form-input,
.filters__group .form-select {
  padding: 10px 14px;
  font-size: 14px;
}

.filters__group .form-select {
  padding-right: 36px;
}

.filters__price-range {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.filters__row--secondary {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.filters__group--price {
  flex: 0 0 auto;
}

.filters__price-range .form-input {
  width: 100px;
}

.filters__free-check {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.filters__actions {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-end;
}

/* --- Spinner --- */

.spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl);
}

.spinner::after {
  content: '';
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Toast --- */

.toast {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  padding: 14px 24px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  z-index: 200;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-lg);
  max-width: 400px;
}

.toast-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  background: var(--success);
  color: #fff;
}

.toast-error {
  background: var(--danger);
  color: #fff;
}

.toast-info {
  background: var(--accent);
  color: #fff;
}

/* --- Empty State --- */

.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}

.empty-state__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  color: var(--text-secondary);
  opacity: 0.4;
}

.empty-state__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.empty-state__text {
  font-size: 14px;
  color: var(--text-secondary);
}

/* --- Gallery --- */

.gallery {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--border);
}

.gallery__main {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery__placeholder svg {
  width: 48px;
  height: 48px;
  color: #fff;
  opacity: 0.5;
}

.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.gallery__nav:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}

.gallery__nav svg {
  width: 18px;
  height: 18px;
}

.gallery__nav--prev {
  left: 12px;
}

.gallery__nav--next {
  right: 12px;
}

.gallery__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  padding: 0;
}

.gallery__dot.active {
  background: #fff;
}

/* --- Tabs (Admin) --- */

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-xl);
}

.tab-btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  margin-bottom: -1px;
  background: none;
  cursor: pointer;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.14);
  outline-offset: -4px;
  border-radius: 10px 10px 0 0;
}

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* --- Admin Cards --- */

.admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  transition: box-shadow var(--transition);
}

.admin-card:hover {
  box-shadow: var(--shadow-sm);
}

.admin-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.admin-card__title {
  font-size: 16px;
  font-weight: 600;
}

.admin-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.admin-card__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.admin-banner-form {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: var(--space-lg);
  align-items: start;
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.admin-banner-settings {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.admin-banner-settings__copy {
  min-width: 0;
}

.admin-banner-settings__title {
  margin-bottom: var(--space-xs);
  font-size: 16px;
  font-weight: 700;
}

.admin-banner-settings__controls {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(160px, 220px) auto;
  align-items: end;
  justify-content: end;
  gap: var(--space-md);
}

.admin-banner-settings__field {
  min-width: 0;
}

.admin-banner-settings .form-group {
  margin-bottom: 0;
}

.admin-banner-settings__controls .btn {
  min-height: 50px;
  padding: 0 22px;
}

.admin-banner-form__controls {
  min-width: 0;
}

.admin-banner-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.admin-banner-form__wide {
  grid-column: 1 / -1;
}

.admin-banner-form .form-group {
  margin-bottom: 0;
}

.admin-file-field {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  min-height: 50px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--surface);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.admin-file-field--compact {
  min-height: 44px;
}

.admin-file-field--compact .admin-file-field__button {
  min-height: 32px;
  padding: 0 12px;
}

.admin-file-field:hover,
.admin-file-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.04);
}

.admin-file-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-file-field__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-file-field__name {
  min-width: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-banner-form__preview-panel {
  min-width: 0;
}

.admin-banner-form__preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.admin-banner-form__preview-head .form-label {
  margin-bottom: 0;
}

.admin-banner-form__preview-note {
  font-size: 12px;
  color: var(--text-secondary);
}

.admin-banner-live-preview {
  --admin-banner-preview-inset: 22px;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 5;
  min-height: 140px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, #f7f7f7 0%, #eceff3 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.admin-banner-live-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-banner-live-preview__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 34px var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
}

.admin-banner-live-preview__button {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 9px;
  background: var(--banner-button-bg, #39E51F);
  color: var(--banner-button-color, #111111);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  max-width: calc(100% - (var(--admin-banner-preview-inset) * 2));
  overflow: hidden;
  pointer-events: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-banner-live-preview--bottom-left .admin-banner-live-preview__button {
  left: var(--admin-banner-preview-inset);
  bottom: var(--admin-banner-preview-inset);
}

.admin-banner-live-preview--bottom-center .admin-banner-live-preview__button {
  left: 50%;
  bottom: var(--admin-banner-preview-inset);
  transform: translateX(-50%);
}

.admin-banner-live-preview--bottom-right .admin-banner-live-preview__button {
  right: var(--admin-banner-preview-inset);
  bottom: var(--admin-banner-preview-inset);
}

.admin-banner-live-preview--center-left .admin-banner-live-preview__button {
  left: var(--admin-banner-preview-inset);
  top: 50%;
  transform: translateY(-50%);
}

.admin-banner-live-preview--center .admin-banner-live-preview__button {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.admin-banner-live-preview--center-right .admin-banner-live-preview__button {
  right: var(--admin-banner-preview-inset);
  top: 50%;
  transform: translateY(-50%);
}

.admin-banner-form__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

.admin-banner-limit {
  margin: 0 auto 0 0;
}

.admin-banner-limit--warning {
  color: var(--warning);
  font-weight: 600;
}

.admin-color-field {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-sm);
}

.admin-color-input {
  width: 52px;
  height: 44px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--surface);
  cursor: pointer;
}

.admin-color-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}

.admin-color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.admin-color-input::-webkit-color-swatch {
  border: none;
  border-radius: 8px;
}

.admin-color-input::-moz-color-swatch {
  border: none;
  border-radius: 8px;
}

.admin-color-field__value {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.admin-banner-list {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.admin-banner-card {
  display: grid;
  gap: var(--space-md);
}

.admin-banner-card--dragging {
  opacity: 0.55;
  cursor: grabbing;
}

.admin-banner-card__header {
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.admin-banner-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-secondary);
  cursor: grab;
  touch-action: none;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.admin-banner-drag-handle:hover,
.admin-banner-drag-handle:focus-visible {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: var(--surface);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.12);
}

.admin-banner-drag-handle:active {
  cursor: grabbing;
  transform: scale(0.96);
}

.admin-banner-drag-handle svg {
  width: 22px;
  height: 22px;
}

.admin-banner-card__preview {
  --admin-banner-preview-inset: 14px;
  position: relative;
  width: min(300px, 38vw);
  aspect-ratio: 16 / 5;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg);
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.admin-banner-card__summary {
  min-width: 0;
  flex: 1 1 220px;
}

.admin-banner-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-banner-card__preview-btn {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 18px;
  padding: 0 10px;
  border-radius: 5px;
  background: var(--banner-button-bg, #39E51F);
  color: var(--banner-button-color, #111111);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  max-width: calc(100% - (var(--admin-banner-preview-inset) * 2));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-banner-card__preview--bottom-left .admin-banner-card__preview-btn {
  left: var(--admin-banner-preview-inset);
  bottom: 12px;
}

.admin-banner-card__preview--bottom-center .admin-banner-card__preview-btn {
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
}

.admin-banner-card__preview--bottom-right .admin-banner-card__preview-btn {
  right: var(--admin-banner-preview-inset);
  bottom: 12px;
}

.admin-banner-card__preview--center-left .admin-banner-card__preview-btn {
  left: var(--admin-banner-preview-inset);
  top: 50%;
  transform: translateY(-50%);
}

.admin-banner-card__preview--center .admin-banner-card__preview-btn {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.admin-banner-card__preview--center-right .admin-banner-card__preview-btn {
  right: var(--admin-banner-preview-inset);
  top: 50%;
  transform: translateY(-50%);
}

.admin-banner-card__settings {
  display: grid;
  gap: var(--space-md);
  margin-top: 0;
  cursor: default;
}

.admin-banner-card__settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: var(--space-md);
  align-items: end;
}

.admin-banner-card__settings .form-group {
  margin-bottom: 0;
}

.admin-banner-card__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
  flex-wrap: wrap;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

.admin-banner-card__order {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-right: auto;
}

.admin-banner-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-primary);
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.admin-banner-order-btn:hover:not(:disabled),
.admin-banner-order-btn:focus-visible:not(:disabled) {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: var(--surface);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.14);
}

.admin-banner-order-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.admin-banner-order-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.admin-banner-order-btn svg {
  width: 20px;
  height: 20px;
}

.admin-banner-card__actions .admin-banner-order-btn {
  flex: 0 0 38px;
}

/* --- Admin Table --- */

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.admin-table {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface);
}

.admin-table-wrap .admin-table {
  border: 0;
  border-radius: 0;
}

.admin-table--listings {
  min-width: 1060px;
  table-layout: fixed;
}

.admin-table__col-title {
  width: 17%;
}

.admin-table__col-category {
  width: 12%;
}

.admin-table__col-language,
.admin-table__col-city {
  width: 9%;
}

.admin-table__col-top {
  width: 6%;
}

.admin-table__col-status {
  width: 11%;
}

.admin-table__col-active {
  width: 8%;
}

.admin-table__col-date {
  width: 10%;
}

.admin-table__col-actions {
  width: 18%;
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  font-weight: 600;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: var(--bg);
}

.admin-table--listings td {
  vertical-align: middle;
}

.admin-table--listings td:first-child strong {
  display: block;
  max-width: 100%;
  line-height: 1.45;
}

.admin-table__actions-cell {
  padding-right: 14px;
}

.admin-table__date {
  display: inline-flex;
  min-width: 58px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap;
}

.admin-table__date-main {
  font-size: 13px;
  font-weight: 600;
}

.admin-table__date-sub {
  color: var(--text-secondary);
  font-size: 12px;
}

.admin-table__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--bg);
  white-space: nowrap;
}

.admin-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.admin-action-btn:hover,
.admin-action-btn:focus-visible {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: var(--surface);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.14);
  transform: translateY(-1px);
}

.admin-action-btn:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.16);
  outline-offset: 2px;
}

.admin-action-btn:active {
  transform: scale(0.96);
}

.admin-action-btn--danger {
  color: var(--danger);
}

.admin-action-btn--danger:hover,
.admin-action-btn--danger:focus-visible {
  border-color: var(--danger);
  background: var(--danger);
  color: #fff;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.18);
}

.admin-action-btn svg {
  width: 17px;
  height: 17px;
  pointer-events: none;
}

/* --- Status Badges --- */

.status-pending {
  background: var(--warning-bg);
  color: var(--warning);
  border-color: transparent;
}

.status-approved {
  background: var(--success-bg);
  color: var(--success);
  border-color: transparent;
}

.status-rejected {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: transparent;
}

/* --- Success Screen --- */

.success-screen {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}

.success-screen__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  color: var(--success);
}

.success-screen__title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.success-screen__text {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

/* --- Back Button --- */

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  transition: color var(--transition);
  cursor: pointer;
  background: none;
  border: none;
}

.back-btn:hover {
  color: var(--text-primary);
}

.back-btn svg {
  width: 18px;
  height: 18px;
}

/* --- Page Header --- */

.page-title {
  margin-bottom: var(--space-sm);
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: var(--space-xl);
}

/* --- Listing Detail --- */

.listing-detail {
  max-width: 760px;
}

.listing-detail__header {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.listing-detail__title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.listing-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.listing-detail__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.listing-detail__info-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 15px;
}

.listing-detail__info-item svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.listing-detail__price {
  font-size: 22px;
  font-weight: 700;
}

.listing-detail__price--free {
  color: var(--success);
}

.listing-detail__description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-primary);
  white-space: pre-line;
  margin-bottom: var(--space-xl);
}

.listing-detail__contacts {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.listing-detail__contacts h3 {
  margin-bottom: var(--space-md);
}

.listing-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-md);
}

/* --- Note Box --- */

.note-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-badge);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.note-box svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- Admin Login --- */

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--space-lg);
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  padding: var(--space-2xl);
}

.login-card__title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-xs);
}

.login-card__subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: var(--space-xl);
}

.login-error {
  background: var(--danger-bg);
  color: var(--danger);
  padding: 10px 14px;
  border-radius: var(--radius-badge);
  font-size: 13px;
  margin-bottom: var(--space-md);
  display: none;
}

.login-error.visible {
  display: block;
}

/* --- Language Switcher --- */

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
}

.lang-button:hover {
  border-color: var(--border-hover);
  background: var(--bg);
}

.lang-button__flag {
  display: flex;
  width: 22px;
  height: 16px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.lang-button__flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lang-button__code {
  letter-spacing: 0.02em;
}

.lang-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  transform: translateZ(0);
  transition:
    opacity var(--blur-exit-duration) var(--blur-exit-ease);
  will-change: opacity;
}

.lang-modal-backdrop.visible {
  opacity: 1;
  transition:
    opacity var(--blur-duration) var(--blur-ease);
}

.lang-modal {
  background: var(--surface);
  border-radius: var(--radius-card);
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition:
    opacity var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease);
  will-change: opacity, transform;
}

.lang-modal-backdrop.visible .lang-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lang-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.lang-modal__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.lang-modal__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lang-modal__close:hover {
  background: var(--bg);
  color: var(--text-primary);
}

.lang-modal__list {
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 12px var(--space-md);
  background: transparent;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background var(--transition);
  text-align: left;
  width: 100%;
  font-family: var(--font-family);
  color: var(--text-primary);
}

.lang-option:hover {
  background: var(--bg);
}

.lang-option.active {
  background: var(--bg);
}

.lang-option__flag {
  display: flex;
  width: 28px;
  height: 20px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.lang-option__flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lang-option__name {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
}

.lang-option__check {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* --- Lightbox --- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--blur-exit-duration) var(--blur-exit-ease),
    visibility 0s linear var(--blur-exit-duration);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox.visible {
  opacity: 1;
  visibility: visible;
  transition:
    opacity var(--blur-duration) var(--blur-ease),
    visibility 0s;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
  transform: translateZ(0);
}

.lightbox__topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 16px max(16px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  z-index: 2;
  pointer-events: none;
}

.lightbox__topbar > * {
  pointer-events: auto;
}

.lightbox__counter {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  user-select: none;
  min-height: 1em;
}

.lightbox__close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

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

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

.lightbox__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  overflow: hidden;
  cursor: zoom-out;
}

.lightbox__image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  cursor: default;
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(0.95);
  opacity: 0;
  transition:
    transform var(--motion-duration) var(--motion-ease),
    opacity var(--motion-duration) var(--motion-ease);
  will-change: opacity, transform;
}

.lightbox__image--enter {
  transform: scale(1);
  opacity: 1;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition:
    background var(--transition),
    opacity var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease);
  z-index: 2;
  opacity: 0.7;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
  opacity: 1;
}

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

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

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

.lightbox__dots {
  position: absolute;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.lightbox__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.lightbox__dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.lightbox__dot.active {
  background: #fff;
  transform: scale(1.25);
}

/* --- Language Chips (multi-select) --- */

.lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lang-chip {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
  font-family: var(--font-family);
  line-height: 1.2;
}

.lang-chip:hover {
  border-color: var(--border-hover);
}

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

.lang-chip--active:hover {
  border-color: var(--accent);
}

.lang-chips.error {
  outline: 1px solid var(--danger);
  outline-offset: 4px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .modal-backdrop,
  .modal,
  .filters-popup,
  .contacts-modal,
  .filters-popup__backdrop,
  .contacts-modal__backdrop,
  .filters-popup__sheet,
  .contacts-modal__sheet,
  .lang-modal-backdrop,
  .lang-modal,
  .lightbox,
  .lightbox__backdrop,
  .lightbox__image,
  .lightbox__nav {
    transition-duration: 1ms;
  }
}
