/* Dashboard Crimea — Premium UI layer */

:root {
  --navy-deep: #021428;
  --navy: #052d54;
  --blue: #0a6cbc;
  --blue-soft: #e8f4fc;
  --sky: #f4f9fd;
  --line: #e2ebf3;
  --text: #0f2744;
  --muted: #5c7389;
  --coral: #e85644;
  --coral-dark: #cf4636;
  --gold: #c9a227;
  --bg: #f3f7fb;
  --white: #fff;
  --shadow-sm: 0 2px 8px rgba(5, 45, 84, 0.06);
  --shadow: 0 12px 40px rgba(5, 45, 84, 0.1);
  --shadow-lg: 0 24px 60px rgba(5, 45, 84, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1140px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-gutter, 24px);
  padding-right: var(--page-gutter, 24px);
  box-sizing: border-box;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ── Header ── */
.site-header {
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(226, 235, 243, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, var(--shadow-sm);
}

.brand {
  transition: opacity 0.2s var(--ease);
}

.brand:hover {
  opacity: 0.85;
}

.brand img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 6px rgba(5, 45, 84, 0.12));
}

.site-nav {
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
  color: #1a3d62;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-nav a:not(.btn):hover {
  color: var(--blue);
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--coral));
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}

.site-nav a:not(.btn):hover::after {
  width: 100%;
}

.nav-with-arrow::after {
  display: none !important;
}

.mobile-auth-buttons {
  display: none !important;
}

.header-nav-dropdown {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}

.site-header .container {
  overflow: visible;
}

.nav-messages {
  position: relative;
}

.nav-messages-badge {
  background: #ff654b;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 8px;
  position: absolute;
  top: -6px;
  right: -10px;
}

.header-messages-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid #d8e6f0;
  background: #fff;
  color: #063a6c;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.header-messages-btn__icon {
  display: block;
}

.header-messages-btn:hover {
  background: #f7fbff;
  border-color: #b8d4ea;
  color: #0c64ae;
}

.header-messages-btn.is-active {
  background: #f0f7fd;
  border-color: #0c64ae;
  color: #0c64ae;
}

.header-messages-btn__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff654b;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  border: 2px solid #fff;
  box-sizing: border-box;
}

.mobile-tabbar {
  display: none;
}

@media (max-width: 820px) {
  body.is-auth.has-mobile-tabbar {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    min-height: 58px;
    padding: 4px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #e3ebf1;
    box-shadow: 0 -8px 24px rgba(6, 58, 108, 0.08);
    backdrop-filter: blur(10px);
  }

  .mobile-tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 48px;
    padding: 2px 4px;
    color: #6f8498;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
  }

  .mobile-tabbar__item svg {
    flex-shrink: 0;
  }

  .mobile-tabbar__item.is-active {
    color: #0c64ae;
  }

  .mobile-tabbar__icon-wrap {
    position: relative;
    display: inline-flex;
  }

  .mobile-tabbar__badge {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ff654b;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
    border: 1.5px solid #fff;
  }

  .mobile-tabbar__item--post {
    margin-top: -14px;
  }

  .mobile-tabbar__post-btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f06858 0%, #e85644 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(232, 86, 68, 0.35);
  }

  .mobile-tabbar__item--post.is-active .mobile-tabbar__post-btn {
    box-shadow: 0 10px 22px rgba(232, 86, 68, 0.45);
  }

  body.is-auth.has-mobile-tabbar .footer {
    margin-bottom: 0;
  }

  body.is-auth.has-mobile-tabbar .chat-form {
    padding-bottom: calc(12px + 58px + env(safe-area-inset-bottom, 0px));
  }

  body.is-auth.has-mobile-tabbar .chat-selection-bar {
    padding-bottom: calc(10px + 58px + env(safe-area-inset-bottom, 0px));
  }

  body.is-auth.has-mobile-tabbar .dashboard,
  body.is-auth.has-mobile-tabbar .shell {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

.nav-logout {
  display: inline;
  margin: 0;
}

.nav-logout button {
  background: none;
  border: none;
  color: #335b81;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.header-row {
  position: relative;
  min-width: 0;
  flex-wrap: nowrap;
}

.brand {
  flex: 0 1 auto;
  min-width: 0;
}

.header-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid #d8e6f0;
  background: #fff;
  color: #063a6c;
  padding: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.menu-toggle:hover {
  background: #f7fbff;
  border-color: #b8d4ea;
  color: #0c64ae;
}

/* Desktop: nav in dropdown for everyone (952px container cannot fit inline nav + search + actions) */
@media (min-width: 1181px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .header-nav-dropdown {
    position: absolute;
    top: var(--header-h);
    right: 16px;
    left: auto;
    width: min(280px, calc(100vw - 32px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 13px;
    border-radius: 11px;
    background: #fff;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
    z-index: 60;
    flex: 0 0 auto;
    min-width: 0;
  }

  .header-nav-dropdown.open {
    display: flex;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    white-space: normal;
  }

  .site-nav a:not(.btn) {
    padding: 8px 12px;
  }

  .brand {
    min-width: 0;
    flex-shrink: 1;
  }

  .header-search {
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(420px, 36vw);
  }

  .header-toolbar {
    flex-shrink: 0;
  }

  .header-actions .btn {
    white-space: nowrap;
  }
}

/* Header search */
.header-search {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 420px;
}

.search-input-wrapper {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.25s var(--ease);
}

.search-input-wrapper:focus-within {
  border-color: rgba(10, 108, 188, 0.45);
  box-shadow: 0 0 0 4px rgba(10, 108, 188, 0.1), var(--shadow-sm);
}

.search-input-wrapper input {
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 500;
}

.search-btn {
  background: linear-gradient(135deg, var(--blue) 0%, #085a9e 100%);
  border-radius: 0 999px 999px 0;
  padding: 11px 16px;
  color: #fff;
}

.search-btn:hover {
  background: linear-gradient(135deg, #0b5fa9 0%, var(--navy) 100%);
}

.search-autocomplete {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  margin-top: 8px;
  overflow: hidden;
}

/* Buttons */
.btn {
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-coral {
  background: linear-gradient(135deg, #f06858 0%, var(--coral) 45%, var(--coral-dark) 100%);
  box-shadow: 0 8px 24px rgba(232, 86, 68, 0.35);
  color: #fff;
}

.btn-coral:hover {
  box-shadow: 0 12px 28px rgba(232, 86, 68, 0.42);
  filter: brightness(1.03);
  color: #fff;
}

.btn-outline {
  border: 1.5px solid #c5d8e8;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #fff;
}

.btn-blue {
  background: linear-gradient(135deg, var(--navy) 0%, #0a5088 100%);
  border-radius: var(--radius-sm);
  color: #fff;
}

.btn-blue:hover {
  color: #fff;
}

.btn-accent,
.auth-submit,
.searchbar-modern-submit,
.publish-submit {
  color: #fff;
}

.btn-accent:hover,
.auth-submit:hover,
.searchbar-modern-submit:hover,
.publish-submit:hover {
  color: #fff;
}

.btn-accent svg,
.auth-submit svg,
.btn-coral svg,
.btn-blue svg,
.btn-primary svg,
.searchbar-modern-submit svg {
  stroke: currentColor;
}

/* ── Hero ── */
.hero {
  height: auto;
  min-height: 420px;
  padding: 56px 0 72px;
  background:
    linear-gradient(125deg, #f0f8ff 0%, #e3f2fa 42%, #d4eaf6 100%);
  overflow: hidden;
}

.hero::before {
  background: linear-gradient(
    105deg,
    rgba(240, 248, 255, 0.98) 0%,
    rgba(240, 248, 255, 0.92) 42%,
    rgba(240, 248, 255, 0.55) 62%,
    rgba(240, 248, 255, 0.08) 85%,
    transparent 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(10, 108, 188, 0.12), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(232, 86, 68, 0.06), transparent 35%);
  z-index: 2;
  pointer-events: none;
}

.hero-art {
  width: 55%;
  mask-image: linear-gradient(to left, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%);
}

.hero-inner {
  padding-top: 0;
}

.hero-stack {
  width: min(100%, 760px);
  margin: 0;
}

.hero-stack .searchbar-modern {
  max-width: none;
  width: 100%;
  margin-bottom: 0;
}

.hero .hero-cities {
  margin-top: 14px;
}

.hero .hero-cities .city-chips {
  width: 100%;
  justify-content: center;
  margin: 0;
}

.hero p {
  margin: 10px 0 28px;
}

.city-chips {
  margin-top: 20px;
  gap: 8px;
  font-size: 13px;
  justify-content: center;
}

.hero-cities {
  position: relative;
  z-index: 4;
}

.hero-cities .city-chips {
  margin-top: 0;
  justify-content: center;
}

.chip {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(10, 108, 188, 0.15);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  font-weight: 600;
  color: #1a4a72;
  transition: all 0.22s var(--ease);
}

.chip:hover,
.chip.active {
  background: #fff;
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 6px 20px rgba(10, 108, 188, 0.12);
  transform: translateY(-1px);
}

/* Search bar hero */
.searchbar-modern-wrapper {
  border-radius: 14px;
  border: 2px solid rgba(226, 235, 243, 0.9);
  box-shadow: 0 8px 32px rgba(6, 58, 108, 0.12), 0 2px 8px rgba(6, 58, 108, 0.06);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
}

.searchbar-modern-wrapper:focus-within {
  border-color: rgba(12, 100, 174, 0.45);
  outline: none;
  box-shadow: 0 12px 40px rgba(12, 100, 174, 0.16), 0 0 0 3px rgba(12, 100, 174, 0.1);
}

.searchbar-modern-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 22px;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a7b6' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 14px;
}

.searchbar-modern-field select:focus,
.searchbar-modern-field select:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

.searchbar-modern-field input:focus,
.searchbar-modern-field input:focus-visible {
  outline: none;
  box-shadow: none;
}

.searchbar-modern-submit {
  border-radius: 0 999px 999px 0 !important;
  background: linear-gradient(135deg, #f06858, var(--coral-dark)) !important;
}

/* ── Categories ── */
.categories-wrap {
  position: relative;
  z-index: 4;
  margin-top: -48px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 235, 243, 0.9);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: all 0.28s var(--ease);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(10, 108, 188, 0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.28s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(10, 108, 188, 0.2);
}

.category-card:hover::before {
  opacity: 1;
}

.category-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--blue-soft), #dceefb);
  display: grid;
  place-items: center;
  transition: transform 0.28s var(--ease);
}

.category-card:hover .category-icon-wrap {
  transform: scale(1.06);
}

.category-icon-label {
  font-weight: 700;
  font-size: 12px;
  color: #1e3f5f;
  text-align: center;
  line-height: 1.3;
}

/* Section titles */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #133c68;
  letter-spacing: -0.7px;
  line-height: 1.1;
}

.section-subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.all-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(10, 108, 188, 0.08);
  transition: all 0.2s var(--ease);
}

.all-link:hover {
  background: rgba(10, 108, 188, 0.14);
  transform: translateX(2px);
}

.all-link span {
  font-size: 16px;
  top: 0;
  transition: transform 0.2s var(--ease);
}

.all-link:hover span {
  transform: translateX(3px);
}

/* ── Listings grid ── */
.main {
  padding: 32px 0 48px;
}

.market-head {
  margin-left: 0;
  margin-bottom: 20px;
}

.market-head h2 {
  font-size: 20px;
  font-weight: 800;
  color: #133c68;
  letter-spacing: -0.7px;
}

.filters {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 18px 16px 20px;
  background: #fff;
}

.filters h3 {
  font-size: 16px;
  font-weight: 800;
  color: #173b61;
  padding-bottom: 12px;
  margin-bottom: 14px !important;
  border-bottom: 1px solid #eef3f7;
}

.filters .field > span {
  font-size: 11px;
  font-weight: 800;
  color: #2b435f;
  margin-bottom: 6px;
}

.filters .field select,
.filters .field input {
  height: 34px;
  border: 1px solid #d4e0e8;
  border-radius: 8px;
  background: #fafcfd;
  color: #334e68;
  font-size: 12px;
  padding: 0 10px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.filters .field select:focus,
.filters .field input:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(12, 100, 174, 0.12);
}

.filters .check {
  font-size: 12px;
  color: #526b82;
}

.filters .check input {
  width: 15px;
  height: 15px;
  accent-color: var(--blue);
}

.filters .reset,
.filters button.reset {
  min-height: 38px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filters button.reset[type="submit"],
.filters .reset[type="submit"] {
  background: linear-gradient(135deg, var(--blue) 0%, #085a9e 100%);
  border: none;
  color: #fff;
  box-shadow: 0 6px 16px rgba(12, 100, 174, 0.28);
}

.filters button.reset[type="submit"]:hover,
.filters .reset[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(12, 100, 174, 0.34);
}

.filters a.reset {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid #d4e0e8;
  color: #0b5fa9;
  text-decoration: none;
}

.filters a.reset:hover {
  border-color: var(--blue);
  background: #f5faff;
}

/* Catalog sidebar filters */
.catalog-filters {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 18px 16px;
}

.catalog-filters h3 {
  font-size: 16px;
  font-weight: 800;
  color: #133d6a;
  margin-bottom: 14px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef3f7;
}

.filter-block {
  border-radius: 10px;
  border: 1px solid #e4edf2;
  margin-bottom: 10px;
  overflow: hidden;
}

.filter-block-header {
  padding: 12px 14px;
  background: linear-gradient(180deg, #f9fcfe 0%, #f3f8fb 100%);
  font-size: 12px;
  font-weight: 800;
  color: #133c68;
}

.filter-block-header:hover {
  background: #eef6fc;
}

.filter-block-content.open {
  padding: 12px 14px;
  background: #fff;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.filter-checkbox span {
  flex: 1;
  line-height: 1.35;
}

.filter-checkbox input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--blue);
}

.catalog-filters input[type="number"],
.catalog-filters select {
  border: 1px solid #d4e0e8 !important;
  border-radius: 8px !important;
  background: #fafcfd !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.catalog-filters input[type="number"]:focus,
.catalog-filters select:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(12, 100, 174, 0.1);
  outline: none;
}

.catalog-filters-price-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.catalog-filters-price-row input {
  width: 100%;
  height: 34px;
  padding: 0 8px;
  font-size: 12px;
}

.catalog-filters-price-row span {
  color: #94a7b6;
}

.catalog-filters-select {
  width: 100%;
  height: 36px;
  padding: 0 8px;
  font-size: 12px;
}

.catalog-filters-submit,
.catalog-filters-reset {
  width: 100%;
  min-height: 38px;
  margin-top: 8px;
  justify-content: center;
}

.catalog-layout--home {
  grid-template-columns: 272px 1fr;
}

.market-head {
  margin-left: 0 !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #085a9e 100%) !important;
  border: none !important;
  border-radius: 9px !important;
  font-weight: 800 !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(12, 100, 174, 0.25);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(12, 100, 174, 0.32);
  color: #fff !important;
}

.cards {
  gap: 16px;
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-img {
  height: 148px;
  background: linear-gradient(145deg, #dce9f2, #c8dce8);
}

.card-img img {
  transition: transform 0.45s var(--ease);
}

.card:hover .card-img img {
  transform: scale(1.06);
}

.card-body {
  padding: 12px 14px 14px;
}

.card-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  min-height: 36px;
}

.card-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -0.03em;
}

.card-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}

.fav {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease);
}

.fav:hover {
  transform: scale(1.08);
}

/* Popular section */
.section-muted {
  padding: 56px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(232, 244, 252, 0.9) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.popular-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.28s var(--ease);
}

.popular-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(10, 108, 188, 0.25);
}

.popular-card__count {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

/* Benefits */
.benefit-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  margin: 48px 0 0;
  overflow: hidden;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 18px;
  min-width: 0;
  border-right: 1px solid var(--line);
  transition: background 0.2s;
}

.benefit:last-child {
  border-right: 0;
}

.benefit:hover {
  background: #fafcfe;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--blue-soft), #fff) !important;
}

.benefit__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.benefit__title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

.benefit__desc {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* ── Footer ── */
.footer {
  margin-top: 0;
  background:
    linear-gradient(165deg, #021428 0%, #052d54 45%, #063a6c 100%);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(10, 108, 188, 0.25), transparent 50%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(232, 86, 68, 0.08), transparent 45%);
  pointer-events: none;
}

.footer-main {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1.4fr 1fr 1.25fr;
  padding: 56px 0 32px;
  gap: 28px 32px;
  align-items: start;
}

.footer-intro-col {
  grid-column: 1;
  padding-top: 8px;
}

.footer-links-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
  grid-column: 2;
}

.footer-col--contacts {
  grid-column: 3;
}

.footer-col--subscribe,
.subscribe {
  grid-column: 4;
}

.footer .brand {
  color: #fff;
}

.footer h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-contact-item {
  font-size: 13px;
  color: rgba(210, 230, 248, 0.88);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact-item:hover {
  color: #fff;
}

.footer-intro {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(200, 220, 240, 0.85);
  max-width: 240px;
  margin: 12px 0 0;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-item svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.subscribe p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(200, 220, 240, 0.82);
}

.subscribe-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.subscribe-row input {
  display: block;
  min-width: 0;
  flex: 1 1 0;
  border: 0;
  padding: 12px 14px;
  font-size: 13px;
  color: #2b435f;
  outline: none;
}

.subscribe-row button {
  flex-shrink: 0;
  width: auto;
  white-space: nowrap;
  padding: 0 16px;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), #085a9e);
  color: #fff;
  transition: filter 0.2s;
  cursor: pointer;
}

.subscribe-row button:hover {
  filter: brightness(1.08);
}

.footer-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(190, 215, 235, 0.8);
}

.footer-check input {
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: rgba(180, 205, 230, 0.75);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.footer-bottom nav a {
  color: rgba(200, 225, 245, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom nav a:hover {
  color: #fff;
}

/* ── Listing / catalog pages ── */
.page-area {
  padding: 28px 0 56px;
}

.breadcrumbs {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--blue);
  font-weight: 600;
}

.gallery,
.detail-card,
.seller {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.detail-top h1 {
  color: #133d6a;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail-price {
  color: #063c71;
}

.detail-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
}

.seller {
  min-width: 0;
}

.detail-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
  color: #718699;
  font-size: 12px;
  line-height: 1.4;
}

.detail-meta__item {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 100%;
}

.detail-meta__item svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.email-spam-hint {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 13px;
  line-height: 1.45;
}

.email-spam-hint svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #d97706;
}

.email-spam-hint p {
  margin: 0;
}

/* Auth */
.auth-card {
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

/* Toast */
.toast {
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  padding: 14px 20px;
}

/* Cookie banner */
#cookie-banner {
  background: rgba(2, 20, 40, 0.96) !important;
  backdrop-filter: blur(12px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive */
@media (max-width: 1180px) {
  .header-row {
    gap: 10px;
  }

  .header-search {
    display: none !important;
  }

  .header-nav-dropdown {
    position: absolute;
    top: var(--header-h);
    left: 16px;
    right: 16px;
    z-index: 60;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 13px;
    border-radius: 11px;
    background: #fff;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
  }

  .header-nav-dropdown.open {
    display: flex;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    white-space: normal;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a:not(.btn) {
    padding: 8px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  /* Guests: auth only inside the mobile menu */
  .header-toolbar:has(.btn-outline) .header-actions {
    display: none !important;
  }

  .header-toolbar:has(.btn-outline) {
    gap: 0;
  }

  .mobile-auth-buttons {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: 16px 0 0;
    margin-top: 8px;
    border-top: 1px solid #e6ebee;
  }

  .mobile-auth-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 68px;
  }

  .header-messages-btn,
  .header-actions {
    display: none !important;
  }

  .header-toolbar {
    gap: 0;
  }

  .hero {
    min-height: 380px;
    padding: 40px 0 56px;
  }

  .hero-art {
    width: 100%;
    opacity: 0.35;
    mask-image: none;
  }

  .categories-wrap {
    margin-top: -32px;
  }

  .section-muted {
    padding: 40px 0;
  }

  .benefit-strip {
    margin: 32px 0 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit:nth-child(2n) {
    border-right: 0;
  }

  .benefit:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .market-head {
    margin-left: 0;
  }

  .popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 36px 0 28px;
    gap: 24px;
  }

  .footer-intro-col {
    grid-column: 1 / -1;
  }

  .footer-links-row {
    grid-column: 1 / -1;
  }

  .footer-col--contacts {
    grid-column: 1;
  }

  .footer-col--subscribe,
  .subscribe {
    grid-column: 2;
  }

  .dashboard-header .btn {
    width: 100%;
    justify-content: center;
  }

  #cookie-banner .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  #cookie-banner .cookie-banner-actions {
    width: 100%;
  }

  #cookie-banner .cookie-banner-actions .btn {
    flex: 1;
    min-height: 44px;
  }
}

@media (max-width: 570px) {
  body {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .card-img {
    height: 120px;
  }

  .section-title {
    font-size: 18px;
  }

  .popular-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .popular-card {
    padding: 16px 12px;
  }

  .benefit-strip {
    grid-template-columns: 1fr;
  }

  .benefit,
  .benefit:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit:last-child {
    border-bottom: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 40px 0 20px;
    gap: 0;
  }

  .footer-intro-col {
    grid-column: 1;
    text-align: center;
    padding-top: 12px;
    padding-bottom: 22px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-intro-col .brand {
    justify-content: center;
  }

  .footer-intro {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links-row {
    grid-column: 1;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-col--contacts {
    grid-column: 1;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-col--subscribe,
  .subscribe {
    grid-column: 1;
    margin-top: 6px;
    padding: 18px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .subscribe-row {
    flex-direction: column;
    gap: 10px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .subscribe-row input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.96);
    min-height: 44px;
  }

  .subscribe-row button {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    font-size: 14px;
  }

  .footer-check {
    font-size: 11px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding: 18px 0 calc(22px + env(safe-area-inset-bottom, 0px));
  }

  .footer-bottom nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
  }

  .footer-bottom nav a {
    font-size: 13px;
  }

  #cookie-banner {
    padding: 14px 12px !important;
  }

  #cookie-banner .cookie-banner-text {
    min-width: 0 !important;
  }

  .site-nav a,
  .menu-toggle {
    min-height: 44px;
  }
}

/* ── Static info pages (advertising, cooperation, rules, etc.) ── */
.static-page {
  padding-top: 30px;
}

.static-page__container {
  max-width: var(--container-prose, 800px);
}

.static-page__card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid #e4edf2;
  min-width: 0;
}

.static-page__title {
  margin: 0 0 12px;
  font-size: 28px;
  color: #133d6a;
  font-weight: 800;
  line-height: 1.2;
}

.static-page__lead {
  color: #647a91;
  font-size: 15px;
  margin: 0 0 30px;
  line-height: 1.5;
}

.static-page__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.static-page__stat {
  background: #f0f8ff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  min-width: 0;
}

.static-page__stat-value {
  font-size: 28px;
  font-weight: 800;
  color: #0c64ae;
  line-height: 1.1;
}

.static-page__stat-label {
  font-size: 12px;
  color: #647a91;
  margin-top: 4px;
  line-height: 1.35;
}

.static-page__heading {
  margin: 0 0 16px;
  font-size: 20px;
  color: #133d6a;
  line-height: 1.25;
}

.static-page__formats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.static-page__format {
  border: 1px solid #e4edf2;
  border-radius: 12px;
  padding: 20px;
  min-width: 0;
}

.static-page__format-title {
  margin: 0 0 8px;
  font-size: 16px;
  color: #133d6a;
  line-height: 1.3;
}

.static-page__format-text {
  margin: 0;
  color: #526d83;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.static-page__format-price {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #0c64ae;
  line-height: 1.3;
}

.static-page__list {
  color: #526d83;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 30px;
  padding-left: 20px;
}

.static-page__cta {
  background: #f0f8ff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.static-page__cta-title {
  margin: 0 0 12px;
  font-size: 18px;
  color: #133d6a;
  line-height: 1.3;
}

.static-page__cta-text {
  margin: 0 0 16px;
  color: #647a91;
  line-height: 1.45;
}

.static-page__cta-btn {
  min-height: 42px;
  font-size: 14px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  padding: 10px 16px;
}

@media (max-width: 820px) {
  .static-page__card {
    padding: 28px 24px;
  }

  .static-page__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .static-page__stat {
    padding: 16px 12px;
  }

  .static-page__stat-value {
    font-size: 24px;
  }

  .static-page__stat-label {
    font-size: 11px;
  }
}

@media (max-width: 570px) {
  .static-page {
    padding-top: 16px;
  }

  .static-page__card {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .static-page__title {
    font-size: 22px;
  }

  .static-page__lead {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .static-page__stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }

  .static-page__stat {
    padding: 16px;
  }

  .static-page__stat-value {
    font-size: 26px;
  }

  .static-page__heading {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .static-page__formats {
    gap: 12px;
    margin-bottom: 24px;
  }

  .static-page__format {
    padding: 16px;
  }

  .static-page__format-title {
    font-size: 15px;
  }

  .static-page__format-text {
    font-size: 13px;
  }

  .static-page__format-price {
    font-size: 16px;
  }

  .static-page__list {
    font-size: 13px;
    margin-bottom: 24px;
    padding-left: 18px;
  }

  .static-page__cta {
    padding: 20px 16px;
  }

  .static-page__cta-title {
    font-size: 16px;
  }

  .static-page__cta-btn {
    width: 100%;
    font-size: 13px;
  }
}

/* User avatars */
.user-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #0d4a83, #40a5e5);
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar--sidebar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 16px;
}

.user-avatar--seller {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.user-avatar--md {
  width: 56px;
  height: 56px;
  font-size: 20px;
}

.user-avatar--xl {
  width: 100px;
  height: 100px;
  font-size: 36px;
}

.profile-avatar-block {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.profile-avatar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-avatar-upload input[type="file"] {
  display: none;
}

.profile-avatar-hint {
  margin: 0;
  font-size: 12px;
  color: #647a91;
}

.profile-avatar-error {
  margin: 0;
  font-size: 12px;
  color: #c0392b;
}

/* Listing gallery — show full photo (no crop on tall/wide images) */
.gallery .main-photo,
.gallery .main-photo--zoom {
  height: auto;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery .main-photo img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 620px);
  object-fit: contain;
  object-position: center;
}

@media (max-width: 820px) {
  .gallery .main-photo img {
    max-height: min(65vh, 520px);
  }
}

@media (max-width: 570px) {
  .gallery .main-photo img {
    max-height: min(58vh, 440px);
  }
}

/* Listing gallery lightbox */
.main-photo--zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #dcebf1;
  cursor: zoom-in;
  position: relative;
}

.main-photo-zoom-hint,
.main-photo__zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 20, 35, 0.92);
  padding: 20px;
}

.gallery-lightbox[hidden] {
  display: none !important;
}

.gallery-lightbox__stage {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.gallery-lightbox__stage img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox__counter {
  color: #eaf4ff;
  font-size: 14px;
  font-weight: 600;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.gallery-lightbox__close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.gallery-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.gallery-lightbox__nav--prev {
  left: 16px;
}

.gallery-lightbox__nav--next {
  right: 16px;
}

@media (max-width: 570px) {
  .gallery-lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .gallery-lightbox__nav--prev {
    left: 8px;
  }

  .gallery-lightbox__nav--next {
    right: 8px;
  }
}
