/**
 * Proday redesign - visual alignment of the legacy theme to the newer layout.
 * Keeps the existing PHP/Smarty structure and changes presentation only.
 */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #dbeafe;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  background-color: var(--gray-50) !important;
  color: var(--gray-800);
}

#wrapper {
  background-color: var(--gray-50);
}

.header {
  background: var(--white) !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06) !important;
  position: relative !important;
  z-index: 1030;
  border: none !important;
  padding-bottom: 12px;
}

.navbar-site {
  border: none !important;
  min-height: 92px !important;
  margin-bottom: 0 !important;
  background: transparent !important;
}

.navbar .container {
  width: min(1440px, calc(100% - 48px)) !important;
  display: grid !important;
  grid-template-columns: 1fr;
  justify-items: center !important;
  align-items: center !important;
  gap: 0.85rem !important;
  padding: 18px 0 24px !important;
}

.navbar-header.left-head {
  margin-right: 0 !important;
  float: none !important;
}

.navbar-brand.logo {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.8rem !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.logo-text {
  font-weight: 700 !important;
  font-size: 1rem !important;
  letter-spacing: 0.08em !important;
  color: #3c83f6 !important;
  line-height: 1 !important;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo-icon img {
  display: block;
  width: 42px !important;
  max-height: none !important;
}

.right-head {
  min-width: 0;
  display: block;
  width: 100%;
}

.navbar-collapse.collapse {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  height: auto !important;
  overflow: visible !important;
  padding: 0 !important;
  width: 100%;
  border-top: 0 !important;
  box-shadow: none !important;
}

.navbar-nav.navbar-right {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  width: auto;
}

.navbar-nav.navbar-right > li {
  float: none !important;
  margin: 0 !important;
}

.navbar-nav.navbar-right > li > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  min-height: 44px;
  padding: 0.65rem 0.95rem !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: var(--gray-700) !important;
  background: var(--white) !important;
  border: 1px solid var(--gray-200) !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s !important;
  white-space: nowrap;
}

.navbar-nav.navbar-right > li > a:hover {
  background: var(--gray-50) !important;
  border-color: var(--gray-300) !important;
  color: var(--gray-900) !important;
}

.navbar-nav.navbar-right > li:last-child a,
.navbar-nav.navbar-right > li.postadd a {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-color: var(--primary) !important;
  font-weight: 600 !important;
}

.navbar-nav.navbar-right > li:last-child a:hover,
.navbar-nav.navbar-right > li.postadd a:hover {
  background: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  color: var(--white) !important;
}

.navbar-toggle {
  display: none !important;
  border-radius: var(--radius) !important;
  border: 1px solid var(--gray-200) !important;
}

.intro {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.14), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%) !important;
  padding-top: 4.5rem !important;
  padding-bottom: 2.5rem !important;
}

.intro .container,
.main-container > .container {
  width: min(1440px, calc(100% - 48px)) !important;
}

.home-shell {
  position: relative;
}

.home-shell__grid {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1.25fr) minmax(230px, 300px);
  gap: 1.5rem;
  align-items: start;
}

.home-shell__hero,
.home-shell__aside,
.home-shell__meta {
  min-width: 0;
}

.home-card,
.home-hero {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.home-card {
  padding: 1rem;
}

.home-shell__aside .home-card,
.home-shell__meta .home-card {
  min-height: 100%;
}

.home-card + .home-card {
  margin-top: 1rem;
}

.home-card__label,
.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.home-list li a {
  display: block;
  padding: 0.72rem 0.85rem;
  border-radius: 14px;
  color: var(--gray-700) !important;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(229, 231, 235, 0.95);
  font-weight: 600;
  text-decoration: none !important;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.home-list li a:hover,
.home-list li a:focus {
  color: var(--primary) !important;
  background: #fff;
  border-color: rgba(96, 165, 250, 0.9);
  transform: translateX(2px);
}

.home-hero {
  padding: 1.85rem;
  min-height: 100%;
}

.intro-title {
  margin: 0 0 0.9rem !important;
  color: var(--gray-900) !important;
  font-weight: 800 !important;
  font-size: clamp(2rem, 3vw, 3.1rem) !important;
  line-height: 1.05 !important;
}

.intro .sub {
  margin-bottom: 1.5rem;
  color: var(--gray-500) !important;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 48rem;
}

.home-search {
  display: grid;
  gap: 1rem;
}

.home-search__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.home-field {
  display: block;
}

.home-field__label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gray-700);
  font-size: 0.85rem;
  font-weight: 700;
}

.search-row .form-control,
.home-search .form-control {
  border: 1px solid var(--gray-300) !important;
  border-radius: 16px !important;
  font-size: 1rem !important;
  min-height: 56px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.search-row .form-control:focus,
.home-search .form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2) !important;
  outline: none !important;
}

.home-search__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.home-btn {
  min-width: 240px;
  min-height: 56px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem !important;
  border-radius: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn1.btn-primary2,
.intro .btn-primary.btn-search.btn-block.btn1,
.home-btn--primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: var(--white) !important;
  border: none !important;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.25);
}

.btn1.btn-primary2:hover,
.intro .btn-primary.btn-search.btn-block.btn1:hover,
.home-btn--primary:hover {
  background: var(--primary-hover) !important;
  color: var(--white) !important;
}

.btn2.btn-primary2,
.intro .btn2,
.home-btn--secondary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--primary) !important;
  border: 2px solid var(--primary) !important;
  border-radius: 16px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.btn2.btn-primary2:hover,
.intro .btn2:hover,
.home-btn--secondary:hover {
  background: var(--primary-light) !important;
  color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
}

.home-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.home-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--gray-700) !important;
  border: 1px solid rgba(191, 219, 254, 0.95);
  font-weight: 700;
  text-decoration: none !important;
}

.home-chip:hover {
  color: var(--primary) !important;
  background: #fff;
  border-color: rgba(96, 165, 250, 0.95);
}

.home-shell__meta .home-list {
  max-height: 560px;
  overflow: auto;
  padding-right: 0.2rem;
}

.home-shell__meta .home-list::-webkit-scrollbar {
  width: 8px;
}

.home-shell__meta .home-list::-webkit-scrollbar-thumb {
  background: rgba(191, 219, 254, 0.95);
  border-radius: 999px;
}

.home-card--accent {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.home-card--accent h3 {
  margin: 0 0 0.65rem;
  color: var(--gray-900);
  font-size: 1.3rem;
  font-weight: 800;
}

.home-card--accent p {
  margin-bottom: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.home-inline-link {
  color: var(--primary) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.home-inline-link:hover {
  color: var(--primary-hover) !important;
}

.main-container {
  padding-top: 2rem !important;
  background: var(--gray-50) !important;
}

.main-container .container {
  background: transparent !important;
}

.page-sidebar .inner-box,
.inner-box.category-content,
.item-list,
.item-carousel-thumb {
  background: var(--white) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-card) !important;
  border: 1px solid rgba(229, 231, 235, 0.9) !important;
}

.page-sidebar .inner-box,
.inner-box.category-content {
  padding: 1rem !important;
}

.item-list {
  padding: 1rem !important;
  margin-bottom: 1rem !important;
}

.item-list .add-image a img,
.item-list img {
  border-radius: 10px !important;
}

.item-list h2 a,
.item-list h5 a,
.add-title a {
  color: var(--gray-900) !important;
  font-weight: 600 !important;
}

.item-list .price-box,
.item-price {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

body:not(.page-home) .item-contact-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 14px;
}

body:not(.page-home) .item-contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none !important;
}

body:not(.page-home) .item-contact-action--message {
  border: 1px solid #dfe6f1;
  background: #fff;
  color: #111827 !important;
}

body:not(.page-home) .item-contact-action--call {
  border: 1px solid var(--figma-yellow);
  background: linear-gradient(90deg, var(--figma-yellow) 0%, var(--figma-orange) 100%);
  color: #fff !important;
}

body:not(.page-home) .item-list .make-favorite.notepad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  width: 100%;
  margin-top: 8px;
  border-radius: 10px;
}

.item-list:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
}

.page-sidebar .cat-list a,
.page-sidebar .list-unstyled a,
.page-sidebar .inner-box a {
  color: var(--gray-700) !important;
}

.page-sidebar .cat-list a:hover,
.page-sidebar .list-unstyled a:hover,
.page-sidebar .inner-box a:hover {
  color: var(--primary) !important;
}

.title-2,
.page-content .title-2 {
  color: var(--gray-900) !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
}

.category-content {
  margin-top: 0 !important;
  padding: 1.35rem !important;
}

.page-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.add-image,
.item-carousel-thumb {
  overflow: hidden;
}

.item-carousel-thumb img,
.item-list img {
  object-fit: cover;
}

.owl-wrapper-outer,
.owl-carousel,
.owl-item {
  border-radius: 18px !important;
}

.pagination > li > a,
.pagination > li > span {
  color: var(--gray-700) !important;
  border-radius: var(--radius) !important;
  margin: 0 0.15rem !important;
  border: 1px solid var(--gray-200) !important;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > li > a:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--white) !important;
}

.footer {
  background: #eff6ff !important;
  border-top: 1px solid #dbeafe !important;
  margin-top: 2rem !important;
  padding: 2rem 1.5rem !important;
  border-radius: 18px 18px 0 0 !important;
}

.footer .list-title,
.footer a {
  color: var(--gray-800) !important;
}

.footer a:hover {
  color: var(--primary) !important;
}

.btn,
.form-control,
.modal-content,
.dropdown-menu {
  border-radius: var(--radius) !important;
}

@media (max-width: 991px) {
  .navbar-site {
    min-height: auto !important;
  }

  .navbar .container {
    width: calc(100% - 28px) !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    padding: 14px 0 !important;
  }

  .navbar-brand.logo {
    justify-content: center !important;
  }

  .right-head {
    width: 100%;
  }

  .home-shell__hero {
    order: 1;
  }

  .home-shell__aside {
    order: 2;
  }

  .home-shell__meta {
    order: 3;
  }

  .navbar-nav.navbar-right {
    justify-content: center !important;
    flex-wrap: wrap !important;
    width: 100%;
  }

  .home-shell__grid,
  .home-search__row {
    grid-template-columns: 1fr;
  }

  .main-container,
  .intro {
    padding-top: 2rem !important;
  }

  .intro .container,
  .main-container > .container {
    width: calc(100% - 28px) !important;
  }

  .home-shell__meta .home-list {
    max-height: none;
  }
}

@media (max-width: 767px) {
  .logo-text {
    font-size: 0.875rem !important;
    letter-spacing: 0.05em !important;
  }

  .logo-icon img {
    width: 34px !important;
  }

  .navbar-nav.navbar-right {
    gap: 0.4rem !important;
  }

  .navbar-nav.navbar-right > li:not(.postadd) {
    display: none !important;
  }

  .navbar-nav.navbar-right > li.postadd {
    width: 100%;
    max-width: 220px;
  }

  .home-shell__aside,
  .home-shell__meta {
    width: 100%;
  }

  .navbar-nav.navbar-right > li > a {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 0.85rem !important;
  }

  .intro-title {
    font-size: 1.4rem !important;
  }

  .home-hero,
  .home-card {
    border-radius: 18px;
    padding: 1rem;
  }

  .home-search__actions {
    flex-direction: column;
  }

  .home-btn {
    width: 100%;
    min-width: 0;
  }

  .home-quicklinks {
    flex-direction: column;
  }

  .home-chip {
    width: 100%;
  }

  .item-list,
  .page-sidebar .inner-box,
  .inner-box.category-content {
    padding: 0.875rem !important;
  }

  .footer {
    border-radius: 0 !important;
  }
}

/* Final homepage pass */
.navbar .container {
  grid-template-columns: auto minmax(0, 1fr) !important;
  justify-items: stretch !important;
}

.navbar-header.left-head {
  justify-self: start !important;
}

.right-head {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.navbar-collapse.collapse {
  justify-content: flex-end !important;
}

.navbar-nav.navbar-right {
  justify-content: flex-end !important;
}

.page-home .main-container--home {
  padding-top: 1.5rem !important;
  padding-bottom: 3rem !important;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.09), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #f4f8ff 100%) !important;
}

.page-home .intro {
  padding-top: 5.8rem !important;
}

.page-home .home-shell__grid {
  margin-top: 0.6rem;
}

.page-home .page-content--home {
  width: 100% !important;
}

.page-home .block_promo_h,
.page-home .category-content--home,
.page-home .block_b {
  border-radius: 24px !important;
  border: 1px solid rgba(219, 234, 254, 0.95) !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08) !important;
}

.page-home .block_promo_h {
  margin-bottom: 1.5rem !important;
  padding: 1.25rem !important;
  background: rgba(255, 255, 255, 0.92) !important;
}

.page-home .block_promo_h .title-2 {
  margin-bottom: 1rem !important;
  font-size: 1.1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-home .block_promo_h .item-carousel .item a {
  display: block;
  padding: 0.6rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(219, 234, 254, 0.95);
  text-decoration: none !important;
}

.page-home .block_promo_h .item-name {
  display: block;
  margin-top: 0.7rem;
  color: var(--gray-800);
  font-weight: 600;
  line-height: 1.45;
}

.page-home .block_promo_h .price {
  display: block;
  margin-top: 0.35rem;
  color: var(--primary);
  font-weight: 700;
}

.page-home .category-content--home {
  padding: 1.4rem !important;
  background: rgba(255, 255, 255, 0.94) !important;
}

.page-home .home-section-heading {
  margin-bottom: 1.5rem;
}

.page-home .home-section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-home .home-section-heading h2 {
  margin: 0 0 0.65rem !important;
  color: var(--gray-900);
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
}

.page-home .home-section-heading p {
  max-width: 56rem;
  margin: 0;
  color: var(--gray-500);
  line-height: 1.65;
  font-size: 0.98rem;
}

.page-home .tree2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
  margin: 0 0 1.8rem !important;
}

.page-home .tree2::before {
  content: none !important;
}

.page-home .maintree {
  min-width: 0;
  margin: 0 !important;
  padding: 1.1rem 1.15rem 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(219, 234, 254, 0.95);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.page-home .cat-title {
  margin: 0 0 0.85rem !important;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.page-home .cat-title a {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gray-900) !important;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none !important;
}

.page-home .cat-title .ln-shadow,
.page-home .cat-title img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 12px;
  padding: 0.35rem;
  background: rgba(37, 99, 235, 0.08);
  box-shadow: none !important;
}

.page-home .cat-title .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.page-home .btn-cat-collapsed {
  display: none !important;
}

.page-home .cat-collapse.collapse {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
  height: auto !important;
}

.page-home .cat-collapse li {
  list-style: none;
}

.page-home .cat-collapse li a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.85);
  border: 1px solid rgba(191, 219, 254, 0.95);
  color: var(--gray-700) !important;
  text-decoration: none !important;
  line-height: 1.35;
}

.page-home .cat-collapse li a:hover {
  color: var(--primary) !important;
  background: #fff;
}

.page-home .maintree p {
  display: none !important;
}

.page-home .category-list {
  margin-top: 0;
}

.page-home .tab-box,
.page-home .listing-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-home .tab-box {
  margin-bottom: 1rem;
}

.page-home .add-tabs {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.page-home .add-tabs > li {
  float: none !important;
  margin: 0 !important;
}

.page-home .add-tabs > li > a {
  margin: 0 !important;
  padding: 0.7rem 1rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(191, 219, 254, 0.95) !important;
  background: rgba(239, 246, 255, 0.7) !important;
  color: var(--gray-700) !important;
  font-weight: 700;
}

.page-home .add-tabs > li.active > a,
.page-home .add-tabs > li > a:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: var(--white) !important;
  border-color: transparent !important;
}

.page-home .add-tabs .badge {
  margin-left: 0.35rem;
  background: rgba(255, 255, 255, 0.18);
}

.page-home .tab-filter {
  margin-left: auto;
}

.page-home .tab-filter .form-control {
  min-width: 220px;
  min-height: 46px !important;
}

.page-home .listing-filter {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid rgba(219, 234, 254, 0.95);
}

.page-home .listing-filter .pull-left,
.page-home .listing-filter .pull-right {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

.page-home .breadcrumb-list {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 1rem;
  color: var(--gray-500);
}

.page-home .breadcrumb-list a {
  color: var(--primary) !important;
  font-weight: 700;
}

.page-home .listing-view-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.page-home .listing-view-action span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(239, 246, 255, 0.85);
  border: 1px solid rgba(191, 219, 254, 0.95);
  color: var(--primary);
}

.page-home .adds-wrapper {
  margin-top: 0.5rem;
}

.page-home .adds-wrapper .tab-pane {
  display: grid;
  gap: 1rem;
}

.page-home .item-list {
  display: grid !important;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem !important;
  margin-bottom: 0 !important;
}

.page-home .item-list [class*='col-sm-'] {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

.page-home .photobox,
.page-home .add-image {
  width: 180px;
}

.page-home .add-image {
  position: relative;
  aspect-ratio: 4 / 3;
}

.page-home .add-image > a,
.page-home .add-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.page-home .add-image img {
  object-fit: cover;
}

.page-home .photo-count {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-size: 0.72rem;
}

.page-home .add-details {
  min-width: 0;
}

.page-home .add-title {
  margin: 0 0 0.55rem !important;
}

.page-home .add-title a {
  display: inline-block;
  font-size: 1.05rem;
  line-height: 1.45;
}

.page-home .info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  color: var(--gray-500);
  line-height: 1.45;
}

.page-home .price-box {
  min-width: 148px;
  text-align: right !important;
}

.page-home .item-price {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.22rem;
}

.page-home .make-favorite {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.9rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(191, 219, 254, 0.95) !important;
  background: rgba(239, 246, 255, 0.75) !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
}

.page-home .block_b {
  margin-top: 1.6rem;
  padding: 1.4rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
}

.page-home .block_b > .title-2 {
  display: none !important;
}

.page-home .block_b .inner-box-content > :first-child {
  margin-top: 0 !important;
}

.page-home .block_b h2,
.page-home .block_b h3 {
  color: var(--gray-900);
  line-height: 1.45;
}

.page-home .block_b h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.page-home .block_b h3 {
  margin: 0.9rem 0 0.45rem;
  font-size: 1rem;
  font-weight: 600;
}

.page-home .block_b p,
.page-home .block_b li {
  color: var(--gray-600);
  line-height: 1.72;
}

@media (max-width: 991px) {
  .navbar .container {
    grid-template-columns: 1fr !important;
  }

  .navbar-header.left-head,
  .right-head {
    justify-self: center !important;
    justify-content: center;
  }

  .navbar-collapse.collapse,
  .navbar-nav.navbar-right {
    justify-content: center !important;
  }

  .page-home .tree2 {
    grid-template-columns: 1fr;
  }

  .page-home .tab-box,
  .page-home .listing-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .page-home .tab-filter {
    margin-left: 0;
  }

  .page-home .tab-filter .form-control {
    min-width: 0;
  }

  .page-home .listing-view-action {
    justify-content: flex-start;
  }

  .page-home .item-list {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .page-home .price-box {
    grid-column: 2;
    text-align: left !important;
  }
}

@media (max-width: 767px) {
  .page-home .block_promo_h,
  .page-home .category-content--home,
  .page-home .block_b {
    border-radius: 18px !important;
  }

  .page-home .block_promo_h,
  .page-home .category-content--home,
  .page-home .block_b,
  .page-home .listing-filter {
    padding: 1rem !important;
  }

  .page-home .home-section-heading h2 {
    font-size: 1.45rem;
  }

  .page-home .cat-title a {
    font-size: 0.96rem;
  }

  .page-home .add-tabs {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .page-home .add-tabs > li > a,
  .page-home .tab-filter,
  .page-home .tab-filter .form-control,
  .page-home .breadcrumb-list,
  .page-home .breadcrumb-list a,
  .page-home .breadcrumb-list + .breadcrumb-list {
    width: 100%;
  }

  .page-home .breadcrumb-list {
    margin-right: 0;
    margin-bottom: 0.55rem;
  }

  .page-home .listing-view-action {
    display: none;
  }

  .page-home .item-list {
    grid-template-columns: 1fr;
  }

  .page-home .photobox,
  .page-home .add-image,
  .page-home .price-box {
    width: 100%;
  }

  .page-home .price-box {
    min-width: 0;
    text-align: left !important;
  }
}

/* Home redesign aligned to dashboard mockup */
.page-home .header {
  display: none !important;
}

.page-home .intro {
  padding: 2rem 0 1.5rem !important;
  background: #f7f8fb !important;
  height: auto !important;
  overflow: visible !important;
  background-image: none !important;
}

.page-home .intro .container,
.page-home .main-container > .container {
  width: min(1720px, calc(100% - 32px)) !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.page-home .home-dashboard__shell {
  display: flex !important;
  gap: 2.25rem;
  align-items: start;
}

.page-home .home-sidebar,
.page-home .home-main,
.page-home .category-content--home,
.page-home .block_b {
  min-width: 0;
}

.page-home .home-sidebar {
  flex: 0 0 308px;
  position: sticky;
  top: 24px;
  padding: 1.35rem 1.15rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #edf0f6;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.04);
}

.page-home .home-sidebar__brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.6rem;
  color: inherit !important;
  text-decoration: none !important;
}

.page-home .home-sidebar__brand-text {
  color: #3476ff;
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.page-home .home-sidebar__brand-sub {
  color: #94a3b8;
  font-size: 0.78rem;
}

.page-home .home-sidebar__section + .home-sidebar__section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eef2f7;
}

.page-home .home-sidebar__label {
  margin-bottom: 0.8rem;
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-sidebar__list {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-sidebar__list a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  color: #475569 !important;
  font-weight: 500;
  font-size: 0.97rem;
  line-height: 1.35;
  text-decoration: none !important;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.page-home .home-sidebar__list a:hover,
.page-home .home-sidebar__list a:focus {
  background: #f4f7fb;
  color: #111827 !important;
  transform: translateX(1px);
}

.page-home .home-sidebar__list li:first-child a {
  background: #f4f7fb;
  color: #111827 !important;
}

.page-home .home-sidebar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  flex: 0 0 18px;
  color: #334155;
  font-size: 1rem;
}

.page-home .home-sidebar__icon--region {
  color: #94a3b8;
}

.page-home .home-sidebar__text {
  min-width: 0;
}

.page-home .home-main {
  flex: 1 1 auto;
  display: grid;
  gap: 1rem;
}

.page-home .home-topbar,
.page-home .home-map-banner,
.page-home .category-content--home,
.page-home .block_b {
  background: #fff !important;
  border: 1px solid #edf0f6 !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.04) !important;
}

.page-home .home-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  padding: 0.92rem 1.15rem;
  border-radius: 20px;
}

.page-home .home-topbar__search {
  position: relative;
  flex: 1;
  max-width: 610px;
}

.page-home .home-topbar__search .form-control {
  min-height: 48px !important;
  padding-left: 2.75rem !important;
  border-radius: 12px !important;
  background: #fbfcfe !important;
  border: 1px solid #dce6f4 !important;
  box-shadow: none !important;
}

.page-home .home-topbar__search-icon {
  position: absolute;
  top: 50%;
  left: 0.85rem;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #94a3b8;
  padding: 0;
}

.page-home .home-topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.page-home .home-topbar__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  color: #334155 !important;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
  border: 1px solid #dce6f4;
  background: #fff;
}

.page-home .home-topbar__actions a:hover {
  background: #f4f7fb;
}

.page-home .home-topbar__action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-size: 0.9rem;
}

.page-home .home-topbar__actions .home-topbar__cta {
  background: #3b82f6 !important;
  color: #fff !important;
  border-color: #3b82f6 !important;
  padding-inline: 1rem;
}

.page-home .home-topbar__plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1rem;
  line-height: 1;
}

.page-home .home-topbar__brand,
.page-home .home-mobile-actions,
.page-home .home-mobile-nav {
  display: none;
}

.page-home .home-topbar__brand-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none !important;
}

.page-home .home-topbar__brand-title {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.page-home .home-topbar__brand-sub {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.page-home .home-mobile-nav {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #edf0f6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.04);
}

.page-home .home-mobile-nav__section + .home-mobile-nav__section {
  margin-top: 12px;
}

.page-home .home-mobile-nav__label {
  margin-bottom: 8px;
  color: #475569;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-mobile-nav__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  padding-right: 18px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-home .home-mobile-nav__track::-webkit-scrollbar,
.page-home .home-topbar__actions::-webkit-scrollbar,
body.page-cat .category-content--catalog .catalog-sidebar__nav::-webkit-scrollbar {
  display: none;
}

.page-home .home-mobile-nav__track a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: max-content;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #dce6f4;
  border-radius: 999px;
  background: #fff;
  color: #334155 !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  scroll-snap-align: start;
  text-decoration: none !important;
}

.page-home .home-mobile-nav__track a.is-primary {
  border-color: #cfe0ff;
  background: #eef5ff;
  color: #1d4ed8 !important;
}

.page-home .home-mobile-actions {
  gap: 10px;
}

.page-home .home-mobile-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #dce6f4;
  border-radius: 999px;
  background: #fff;
  color: #334155 !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
}

.page-home .home-mobile-actions .home-mobile-actions__cta {
  background: linear-gradient(180deg, #4c95ff 0%, var(--figma-blue) 100%) !important;
  border-color: var(--figma-blue) !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(47, 125, 246, 0.22);
}

.page-home .home-hero-grid {
  display: flex;
  gap: 1rem;
}

.page-home .home-video {
  flex: 1 1 auto;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #335fe4 0%, #7b3ff3 55%, #d834e0 100%);
  box-shadow: 0 26px 46px rgba(82, 65, 184, 0.2);
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.page-home .home-video::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  background: linear-gradient(180deg, rgba(21, 10, 52, 0) 0%, rgba(26, 10, 56, 0.66) 72%, rgba(25, 10, 45, 0.82) 100%);
}

.page-home .home-video__panel {
  position: relative;
  z-index: 1;
  width: min(610px, calc(100% - 96px));
  margin: auto;
  padding: 2.15rem 2.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  color: #fff;
  text-align: center;
}

.page-home .home-video__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 1.2rem;
}

.page-home .home-video__panel h1 {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
}

.page-home .home-video__panel p {
  margin: 0 auto 0.85rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  font-size: 1rem;
}

.page-home .home-video__meta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.page-home .home-video__footer {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1rem;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
}

.page-home .home-video__footer strong,
.page-home .home-video__footer span {
  display: block;
}

.page-home .home-video__footer span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.page-home .home-video__watch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: #2563eb !important;
  font-weight: 700;
  text-decoration: none !important;
}

.page-home .home-video__watch::before {
  content: '\25B7';
  font-size: 0.95rem;
}

.page-home .home-activity {
  flex: 0 0 300px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #edf0f6;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.04);
}

.page-home .home-activity__header {
  padding: 1.15rem 1.15rem 1rem;
  background: linear-gradient(180deg, #1ecb72 0%, #18a95f 100%);
  color: #fff;
}

.page-home .home-activity__header h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.page-home .home-activity__header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.page-home .home-activity__header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
  font-size: 0.82rem;
}

.page-home .home-activity__stats,
.page-home .home-activity__feed {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-activity__stats {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #edf0f6;
}

.page-home .home-activity__stats li,
.page-home .home-activity__feed li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.page-home .home-activity__stats li + li,
.page-home .home-activity__feed li + li {
  margin-top: 0.65rem;
}

.page-home .home-activity__stats strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 24px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #f0fdf4;
  color: #15803d;
  font-size: 0.8rem;
}

.page-home .home-activity__feed {
  padding: 0.95rem 1rem 1rem;
}

.page-home .home-activity__feed li {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 0.6rem;
  justify-items: start;
  align-items: start;
  padding: 0.8rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.page-home .home-activity__feed li:last-child {
  border-bottom: 0;
}

.page-home .home-activity__pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  color: #60a5fa;
  font-size: 0.68rem;
}

.page-home .home-activity__feed strong {
  grid-column: 2;
  color: #111827;
}

.page-home .home-activity__feed span,
.page-home .home-activity__feed time {
  grid-column: 2;
  color: #94a3b8;
  font-size: 0.82rem;
}

.page-home .home-activity__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1rem 1rem;
  border-top: 1px solid #edf2f7;
  color: #94a3b8;
  font-size: 0.82rem;
}

.page-home .home-activity__live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.page-home .home-map-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
}

.page-home .home-map-banner strong,
.page-home .home-map-banner span {
  display: block;
}

.page-home .home-map-banner strong {
  margin-bottom: 0.2rem;
  color: #111827;
}

.page-home .home-map-banner span {
  color: #94a3b8;
  font-size: 0.88rem;
}

.page-home .home-map-banner a,
.page-home .home-market__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #dce6f4;
  color: #111827 !important;
  font-weight: 700;
  text-decoration: none !important;
}

.page-home .home-map-banner a::before {
  content: '\f279';
  font-family: FontAwesome;
  font-size: 0.92rem;
}

.page-home .home-market__action::before {
  content: '\f005';
  font-family: FontAwesome;
  font-size: 0.88rem;
}

.page-home .main-container--home {
  padding-top: 0 !important;
  padding-bottom: 2rem !important;
  background: #f7f8fb !important;
}

.page-home .category-content--home {
  padding: 1.3rem !important;
  border-radius: 22px !important;
}

.page-home .home-market {
  display: grid;
  gap: 1.1rem;
}

.page-home .home-market__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-home .home-market__head h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.2rem;
  color: #111827;
  font-size: 1.85rem;
  font-weight: 800;
}

.page-home .home-market__head p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.page-home .home-market__crown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fff4ce;
  color: #f59e0b;
  font-size: 0.95rem;
}

.page-home .home-market__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #fff4ce;
  color: #f59e0b;
  font-size: 0.76rem;
  font-weight: 700;
}

.page-home .home-vip-grid,
.page-home .home-listings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.page-home .home-vip-grid .item-list,
.page-home .home-listings-grid .item-list {
  display: block !important;
  padding: 0 !important;
  border-radius: 18px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: none !important;
}

.page-home .home-vip-grid .item-list {
  border: 1px solid rgba(255, 183, 3, 0.55) !important;
}

.page-home .home-listings-grid .item-list {
  border: 1px solid #e6edf7 !important;
}

.page-home .home-vip-grid .item-list [class*='col-sm-'],
.page-home .home-listings-grid .item-list [class*='col-sm-'] {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

.page-home .home-vip-grid .photobox,
.page-home .home-listings-grid .photobox,
.page-home .home-vip-grid .add-image,
.page-home .home-listings-grid .add-image {
  width: 100%;
}

.page-home .home-vip-grid .add-image,
.page-home .home-listings-grid .add-image {
  aspect-ratio: 16 / 10;
}

.page-home .home-vip-grid .add-desc-box,
.page-home .home-listings-grid .add-desc-box,
.page-home .home-vip-grid .price-box,
.page-home .home-listings-grid .price-box {
  padding: 0.9rem 1rem;
}

.page-home .home-vip-grid .price-box,
.page-home .home-listings-grid .price-box {
  padding-top: 0;
  text-align: left !important;
}

.page-home .home-vip-grid .add-title a,
.page-home .home-listings-grid .add-title a {
  font-size: 1rem;
  line-height: 1.45;
}

.page-home .home-vip-grid .info-row,
.page-home .home-listings-grid .info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  color: #94a3b8;
  font-size: 0.83rem;
}

.page-home .home-vip-grid .item-price {
  color: #f97316 !important;
}

.page-home .home-listings-grid .item-price {
  color: #2563eb !important;
}

.page-home .home-vip-grid .make-favorite,
.page-home .home-listings-grid .make-favorite {
  width: 100%;
  justify-content: center;
  border-radius: 10px !important;
  background: #f8fafc !important;
  border-color: #dbe4f2 !important;
  color: #334155 !important;
}

.page-home .home-market__notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 183, 3, 0.4);
  background: linear-gradient(180deg, #fff9e9 0%, #ffffff 100%);
}

.page-home .home-market__notice strong,
.page-home .home-market__notice span {
  display: block;
}

.page-home .home-market__notice span {
  margin-top: 0.2rem;
  color: #94a3b8;
}

.page-home .home-market__action--ghost {
  background: #fff;
}

.page-home .home-market__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.page-home .home-market__controls .form-control {
  min-width: 210px;
  min-height: 42px !important;
  border-radius: 10px !important;
  background: #fbfcfe !important;
}

.page-home .block_b {
  margin-top: 1.25rem;
  padding: 1.4rem !important;
  border-radius: 22px !important;
}

.page-home .block_b > .title-2 {
  display: none !important;
}

.page-home .block_b h2 {
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.page-home .block_b h3,
.page-home .block_b p,
.page-home .block_b li {
  color: #64748b;
  line-height: 1.7;
}

@media (max-width: 1199px) {
  .page-home .home-dashboard__shell {
    gap: 1.25rem;
  }

  .page-home .home-hero-grid {
    flex-direction: column;
  }

  .page-home .home-activity {
    max-width: 360px;
  }
}

@media (max-width: 991px) {
  .page-home .intro .container,
  .page-home .main-container > .container {
    width: calc(100% - 24px) !important;
  }

  .page-home .home-dashboard__shell {
    flex-direction: column;
  }

  .page-home .home-sidebar {
    order: 2;
    position: static;
    width: 100%;
  }

  .page-home .home-main {
    order: 1;
  }

  .page-home .home-vip-grid,
  .page-home .home-listings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-home .intro {
    padding-top: 1rem !important;
  }

  .page-home .home-topbar,
  .page-home .home-map-banner,
  .page-home .home-market__head,
  .page-home .home-market__notice {
    flex-direction: column;
    align-items: stretch;
  }

  .page-home .home-topbar__search,
  .page-home .home-topbar__actions,
  .page-home .home-topbar__actions a,
  .page-home .home-topbar__cta,
  .page-home .home-map-banner a,
  .page-home .home-market__action,
  .page-home .home-market__controls,
  .page-home .home-market__controls .form-control {
    width: 100%;
  }

  .page-home .home-topbar__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-home .home-sidebar {
    padding: 1rem 0.85rem;
  }

  .page-home .home-video {
    min-height: 340px;
  }

  .page-home .home-video__panel {
    width: calc(100% - 24px);
    padding: 1.35rem 1rem;
  }

  .page-home .home-video__panel h1 {
    font-size: 2rem;
  }

  .page-home .home-video__footer {
    position: static;
    padding: 1rem;
    align-items: stretch;
    flex-direction: column;
  }

  .page-home .home-vip-grid,
  .page-home .home-listings-grid {
    grid-template-columns: 1fr;
  }
}

/* Figma pass: keep the legacy data, align the home page to the supplied mockup. */
.page-home {
  --figma-page: #f6f8fc;
  --figma-line: #e8edf5;
  --figma-muted: #7b8798;
  --figma-text: #141821;
  --figma-blue: #2f7df6;
  --figma-blue-dark: #1766df;
  --figma-yellow: #ffc400;
  --figma-orange: #ff7a18;
}

.page-home,
.page-home #wrapper {
  background: var(--figma-page) !important;
}

.page-home .header {
  display: none !important;
}

.page-home .intro {
  padding: 20px 0 18px !important;
  background: var(--figma-page) !important;
}

.page-home .intro .container,
.page-home .main-container--home > .container {
  width: min(1394px, calc(100% - 32px)) !important;
  max-width: none !important;
}

.page-home .home-dashboard__shell {
  position: relative;
  display: block !important;
  min-height: 0 !important;
  padding-left: 330px !important;
}

.page-home .intro .home-dashboard__shell {
  padding-left: 330px !important;
}

.page-home .home-sidebar {
  position: absolute !important;
  left: 0;
  top: 0;
  z-index: 3;
  width: 308px !important;
  max-width: 308px;
  min-height: 0;
  padding: 28px 22px !important;
  border: 1px solid var(--figma-line) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 22px 50px rgba(30, 41, 59, 0.07) !important;
}

.page-home .home-sidebar__brand {
  margin-bottom: 30px !important;
}

.page-home .home-sidebar__brand-text {
  font-size: 18px !important;
  color: var(--figma-blue) !important;
  letter-spacing: 0 !important;
}

.page-home .home-sidebar__brand-sub,
.page-home .home-sidebar__label {
  color: #9aa7b8 !important;
}

.page-home .home-sidebar__label {
  margin-bottom: 12px !important;
  font-size: 10px !important;
  letter-spacing: 0.08em !important;
}

.page-home .home-sidebar__list {
  gap: 4px !important;
}

.page-home .home-sidebar__list a {
  min-height: 48px !important;
  padding: 0 14px !important;
  border-radius: 12px !important;
  color: #687386 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.page-home .home-sidebar__list li:first-child a,
.page-home .home-sidebar__list a:hover,
.page-home .home-sidebar__list a:focus {
  background: #f4f7fb !important;
  color: var(--figma-text) !important;
}

.page-home .home-sidebar__icon {
  color: #65758b !important;
}

.page-home .home-sidebar__section + .home-sidebar__section {
  margin-top: 20px !important;
  padding-top: 20px !important;
  border-top: 1px solid var(--figma-line) !important;
}

.page-home .home-main {
  display: grid !important;
  gap: 12px !important;
}

.page-home .home-topbar,
.page-home .home-map-banner,
.page-home .category-content--home,
.page-home .block_b {
  border: 1px solid var(--figma-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 18px 42px rgba(30, 41, 59, 0.05) !important;
}

.page-home .home-topbar {
  min-height: 68px;
  padding: 12px !important;
}

.page-home .home-topbar__search .form-control {
  min-height: 44px !important;
  border-color: var(--figma-line) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  font-size: 13px !important;
}

.page-home .home-topbar__actions a {
  min-height: 44px !important;
  border-color: var(--figma-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #1e293b !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.page-home .home-topbar__actions .home-topbar__cta {
  background: linear-gradient(180deg, #4c95ff 0%, var(--figma-blue) 100%) !important;
  border-color: var(--figma-blue) !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(47, 125, 246, 0.22);
}

.page-home .home-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 12px !important;
  align-items: stretch !important;
}

.page-home .home-video,
.page-home .home-activity {
  border-radius: 18px !important;
}

.page-home .home-video {
  min-height: 430px !important;
  box-shadow: 0 22px 48px rgba(74, 56, 170, 0.18) !important;
}

.page-home .home-video__panel {
  width: min(610px, calc(100% - 96px)) !important;
  padding: 28px 30px !important;
  border-radius: 22px !important;
}

.page-home .home-video__panel h1 {
  font-size: clamp(30px, 3vw, 44px) !important;
  letter-spacing: 0 !important;
}

.page-home .home-video__footer {
  left: 14px !important;
  right: 14px !important;
  bottom: 12px !important;
}

.page-home .home-activity {
  flex: none !important;
  width: auto !important;
  border: 1px solid var(--figma-line) !important;
  box-shadow: 0 18px 42px rgba(30, 41, 59, 0.06) !important;
}

.page-home .home-activity__header {
  padding: 22px 22px 18px !important;
}

.page-home .home-activity__stats {
  padding: 14px 18px !important;
}

.page-home .home-activity__feed {
  padding: 18px !important;
}

.page-home .home-activity__feed li {
  min-height: 58px;
}

.page-home .home-activity__feed li:nth-child(n+4) {
  display: none !important;
}

.page-home .home-map-banner {
  min-height: 72px;
  padding: 16px 18px !important;
}

.page-home .main-container--home {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: var(--figma-page) !important;
}

.page-home .main-container--home > .container {
  padding-left: 330px !important;
}

.page-home .main-container--home .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.page-home .page-content--home {
  float: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.page-home .category-content--home {
  margin: 0 0 18px !important;
  padding: 0 !important;
  overflow: visible !important;
}

.page-home .home-market {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
  padding: 0 !important;
}

.page-home .home-market__vip,
.page-home .home-market__all {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 22px !important;
  border: 1px solid var(--figma-line) !important;
  border-radius: 26px !important;
  background: #fff !important;
  box-shadow: 0 18px 42px rgba(30, 41, 59, 0.05) !important;
}

.page-home .home-market__vip {
  background: linear-gradient(180deg, #fffef7 0%, #ffffff 100%) !important;
  border-color: #f4e4a6 !important;
}

.page-home .home-market__head {
  align-items: center !important;
  padding: 0 0 18px !important;
}

.page-home .home-market__head h2 {
  margin: 0 0 6px !important;
  color: var(--figma-text) !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

.page-home .home-market__head p {
  color: var(--figma-muted) !important;
  font-size: 14px !important;
}

.page-home .home-market__crown,
.page-home .home-market__badge {
  background: var(--figma-yellow) !important;
  color: #fff !important;
}

.page-home .home-market__badge {
  position: relative;
  top: -1px;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-home .home-vip-grid,
.page-home .home-listings-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.page-home .home-vip-carousel {
  position: relative;
}

.page-home .home-market__head {
  gap: 14px !important;
}

.page-home .home-vip-carousel__controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.page-home .home-vip-carousel__button {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #d9e2ef;
  border-radius: 999px;
  background: #fff;
  color: #1e293b;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.page-home .home-vip-carousel__button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #c4d3ea;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.page-home .home-vip-carousel__button:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.page-home .home-vip-grid--carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  gap: 18px !important;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-home .home-vip-grid--carousel::-webkit-scrollbar {
  display: none;
}

.page-home .home-vip-grid--carousel .item-list {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
}

.page-home .home-vip-grid .item-list,
.page-home .home-listings-grid .item-list {
  position: relative;
  display: flex !important;
  flex-direction: column;
  float: none !important;
  width: 100% !important;
  min-width: 0;
  min-height: 0;
  padding: 0 !important;
  border-radius: 18px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.page-home .home-vip-grid .item-list {
  border: 1px solid #ffe08a !important;
  background: linear-gradient(180deg, #fffdf1 0%, #ffffff 100%) !important;
}

.page-home .home-listings-grid .item-list {
  border: 1px solid #dfe6f1 !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
}

.page-home .home-vip-grid .item-list:hover,
.page-home .home-listings-grid .item-list:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08) !important;
}

.page-home .home-vip-grid .item-list [class*='col-sm-'],
.page-home .home-listings-grid .item-list [class*='col-sm-'] {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.page-home .home-vip-grid .photobox,
.page-home .home-listings-grid .photobox {
  order: 1;
}

.page-home .home-vip-grid .add-desc-box,
.page-home .home-listings-grid .add-desc-box {
  order: 2;
  padding: 16px 18px 12px !important;
}

.page-home .home-vip-grid .price-box,
.page-home .home-listings-grid .price-box {
  order: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding: 14px 18px 18px !important;
  text-align: left !important;
  border-top: 1px solid #edf2f7;
}

.page-home .home-vip-grid .add-image,
.page-home .home-listings-grid .add-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden;
  background: #eef2f7;
}

.page-home .home-vip-grid .add-image img,
.page-home .home-listings-grid .add-image img,
.page-home .home-vip-grid img.thumbnail,
.page-home .home-listings-grid img.thumbnail {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.page-home .home-vip-grid .photo-count,
.page-home .home-listings-grid .photo-count {
  left: 14px !important;
  bottom: 14px !important;
  top: auto !important;
  z-index: 2;
  min-height: 24px;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: rgba(15, 23, 42, 0.62) !important;
  color: #fff !important;
  font-size: 12px !important;
}

.page-home .home-listing-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  max-width: calc(100% - 24px);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1e293b;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.page-home .home-listing-badge--vip {
  background: linear-gradient(135deg, #ffd54f 0%, #ffb300 100%);
  color: #fff;
}

.page-home .home-listing-save {
  position: absolute !important;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #1e293b !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12) !important;
}

.page-home .home-vip-grid .add-title,
.page-home .home-listings-grid .add-title {
  margin: 0 0 10px !important;
}

.page-home .home-vip-grid .add-details,
.page-home .home-listings-grid .add-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}

.page-home .home-vip-grid .add-title a,
.page-home .home-listings-grid .add-title a {
  display: -webkit-box;
  min-height: 52px;
  color: var(--figma-text) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-home .home-vip-grid .info-row,
.page-home .home-listings-grid .info-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px 10px !important;
  min-height: 0;
  color: var(--figma-muted) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.page-home .home-vip-grid .text-nowrap,
.page-home .home-listings-grid .text-nowrap {
  display: none !important;
}

.page-home .home-vip-grid .info-row > span,
.page-home .home-listings-grid .info-row > span {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #e8eef6;
  border-radius: 999px;
  background: #f8fbff;
  white-space: nowrap;
}

.page-home .home-listing-category {
  margin-left: 0;
  color: #1e293b !important;
  font-weight: 800;
  background: #fff8dd !important;
  border-color: #f5dd86 !important;
}

.page-home .home-listing-store {
  color: #8a5b00 !important;
  font-weight: 800;
  background: #fff4cf !important;
  border-color: #f0d46e !important;
}

.page-home .home-vip-grid .info-row > span i,
.page-home .home-listings-grid .info-row > span i {
  color: #718096;
  font-size: 13px;
}

.page-home .home-vip-grid .item-price,
.page-home .home-listings-grid .item-price {
  display: block !important;
  color: #d98a00 !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

.page-home .home-listings-grid .item-price {
  color: var(--figma-blue) !important;
}

.page-home .home-vip-grid .currency,
.page-home .home-listings-grid .currency {
  margin-right: 3px;
}

.page-home .home-listing-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.page-home .home-listing-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}

.page-home .home-listing-action--message {
  border: 1px solid #dfe6f1;
  background: #fff;
  color: #111827 !important;
}

.page-home .home-listing-action--call {
  border: 1px solid var(--figma-yellow);
  background: linear-gradient(90deg, var(--figma-yellow) 0%, var(--figma-orange) 100%);
  color: #fff !important;
}

.page-home .home-market__notice {
  min-height: 88px;
  padding: 20px 24px !important;
  border: 2px solid #fff0a3 !important;
  border-radius: 10px !important;
  background: #fffdf0 !important;
}

.page-home .home-market__notice strong {
  color: var(--figma-text) !important;
  font-size: 18px !important;
}

.page-home .home-market__notice span {
  color: var(--figma-muted) !important;
  font-size: 14px !important;
}

.page-home .home-map-banner a,
.page-home .home-market__action {
  border-radius: 8px !important;
  font-weight: 800 !important;
}

.page-home .home-market__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px !important;
  border-color: #ffd43b !important;
  background: linear-gradient(90deg, var(--figma-yellow) 0%, var(--figma-orange) 100%) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(255, 193, 7, 0.22);
}

.page-home .home-market__action--ghost {
  background: #fff !important;
  color: #1e293b !important;
  border: 1px solid #e6dfb6 !important;
  box-shadow: none;
}

.page-home .home-market__controls .form-control {
  border-color: var(--figma-line) !important;
  border-radius: 8px !important;
}

.page-home .block_b {
  margin-top: 0 !important;
  padding: 26px 30px !important;
}

.page-home .footer {
  background: #eef3f9 !important;
}

@media (max-width: 1199px) {
  .page-home .home-dashboard__shell,
  .page-home .main-container--home > .container {
    padding-left: 286px !important;
  }

  .page-home .home-sidebar {
    width: 264px !important;
    max-width: 264px;
  }

  .page-home .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .page-home .home-listings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .page-home .home-vip-grid--carousel .item-list {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 991px) {
  .page-home .header {
    display: block !important;
  }

  .page-home .home-dashboard__shell,
  .page-home .main-container--home > .container {
    padding-left: 0 !important;
  }

  .page-home .home-dashboard__shell {
    display: grid !important;
    gap: 14px !important;
  }

  .page-home .home-sidebar {
    position: static !important;
    order: 2;
    width: 100% !important;
    max-width: none;
  }

  .page-home .home-main {
    order: 1;
  }

  .page-home .home-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .page-home .home-activity {
    max-width: none !important;
  }

  .page-home .home-sidebar__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-home .intro {
    padding-top: 12px !important;
  }

  .page-home .intro .container,
  .page-home .main-container--home > .container {
    width: calc(100% - 20px) !important;
  }

  .page-home .home-topbar,
  .page-home .home-map-banner,
  .page-home .home-market__head,
  .page-home .home-market__notice {
    flex-direction: column;
    align-items: stretch !important;
  }

  .page-home .home-sidebar {
    display: none !important;
  }

  .page-home .home-topbar {
    gap: 12px;
    padding: 14px !important;
  }

  .page-home .home-market__vip,
  .page-home .home-market__all {
    padding: 16px !important;
    border-radius: 22px !important;
  }

  .page-home #wrapper,
  .page-home .intro,
  .page-home .main-container--home {
    overflow-x: hidden !important;
  }

  .page-home .home-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0 !important;
  }

  .page-home .home-topbar,
  .page-home .home-mobile-nav,
  .page-home .home-hero-grid,
  .page-home .home-video,
  .page-home .home-activity,
  .page-home .home-mobile-actions,
  .page-home .home-mobile-nav__section,
  .page-home .home-mobile-nav__track {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .page-home .home-topbar__brand {
    display: block;
  }

  .page-home .home-topbar__search {
    max-width: none;
  }

  .page-home .home-topbar__actions {
    display: none !important;
  }

  .page-home .home-mobile-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    padding-right: 18px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .page-home .home-mobile-actions::-webkit-scrollbar {
    display: none;
  }

  .page-home .home-mobile-actions a {
    flex: 0 0 auto;
    width: max-content;
    scroll-snap-align: start;
  }

  .page-home .home-topbar__actions {
    display: none !important;
  }

  .page-home .home-mobile-nav {
    display: block;
  }

  .page-home .home-mobile-nav__track {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
  }

  .page-home .home-video {
    min-height: 340px !important;
  }

  .page-home .home-video__panel {
    width: calc(100% - 24px) !important;
    padding: 22px 16px !important;
  }

  .page-home .home-video__panel h1 {
    font-size: 28px !important;
  }

  .page-home .home-sidebar__list,
  .page-home .home-listings-grid {
    grid-template-columns: 1fr !important;
  }

  .page-home .home-market__head h2 {
    font-size: 23px !important;
  }

  .page-home .home-market__action,
  .page-home .home-market__action--ghost {
    width: 100%;
  }

  .page-home .home-vip-carousel__controls {
    display: none;
  }

  .page-home .home-vip-grid--carousel {
    gap: 14px !important;
    padding-bottom: 4px;
  }

  .page-home .home-vip-grid--carousel .item-list {
    flex-basis: min(84vw, 286px);
  }

  .page-home .home-listing-actions {
    grid-template-columns: 1fr;
  }

  .page-home .home-vip-grid .item-price,
  .page-home .home-listings-grid .item-price {
    font-size: 19px !important;
  }

  .page-home .home-vip-grid .add-title a,
  .page-home .home-listings-grid .add-title a {
    font-size: 15px !important;
    min-height: 0;
  }

  .page-home .home-vip-grid .info-row > span,
  .page-home .home-listings-grid .info-row > span {
    min-height: 30px;
    padding: 0 9px;
    font-size: 11px;
  }
}

@media (max-width: 991px) {
  .page-home .header {
    display: none !important;
  }

  .page-home .intro .home-dashboard__shell,
  .page-home .home-dashboard__shell,
  .page-home .main-container--home > .container {
    padding-left: 0 !important;
  }
}

/* Home cards final pass: override legacy list/grid floats and tighten mobile card rhythm. */
.page-home .home-vip-grid .item-list,
.page-home .home-listings-grid .item-list,
.page-home .home-vip-grid .item-list.make-grid,
.page-home .home-listings-grid .item-list.make-grid,
.page-home .home-vip-grid .item-list.make-compact,
.page-home .home-listings-grid .item-list.make-compact {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-right: 0 !important;
  text-align: left !important;
}

.page-home .home-vip-grid--carousel .item-list {
  width: auto !important;
  max-width: min(100%, 320px);
}

.page-home .home-vip-grid .item-list,
.page-home .home-listings-grid .item-list {
  border-radius: 22px !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.07) !important;
}

.page-home .home-vip-grid .item-list:hover,
.page-home .home-listings-grid .item-list:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 42px rgba(15, 23, 42, 0.1) !important;
}

.page-home .home-vip-grid .add-image,
.page-home .home-listings-grid .add-image {
  aspect-ratio: 4 / 3 !important;
  background: linear-gradient(180deg, #eef2f7 0%, #dfe7f2 100%);
}

.page-home .home-vip-grid .add-desc-box,
.page-home .home-listings-grid .add-desc-box {
  padding: 18px 18px 10px !important;
}

.page-home .home-vip-grid .price-box,
.page-home .home-listings-grid .price-box {
  clear: none !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  gap: 14px;
  padding: 16px 18px 18px !important;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 0.86) 100%);
}

.page-home .home-vip-grid .add-details,
.page-home .home-listings-grid .add-details {
  gap: 12px;
}

.page-home .home-vip-grid .add-title,
.page-home .home-listings-grid .add-title {
  margin: 0 !important;
}

.page-home .home-vip-grid .add-title a,
.page-home .home-listings-grid .add-title a {
  min-height: 0;
  font-size: 18px !important;
  line-height: 1.33 !important;
  -webkit-line-clamp: 3;
}

.page-home .home-vip-grid .info-row,
.page-home .home-listings-grid .info-row {
  gap: 8px !important;
}

.page-home .home-vip-grid .info-row > span,
.page-home .home-listings-grid .info-row > span {
  max-width: 100%;
  min-width: 0;
  padding: 0 11px;
  border-color: #e3eaf5;
  background: #f7faff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.page-home .home-vip-grid .info-row > span > span,
.page-home .home-listings-grid .info-row > span > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .home-listing-store {
  color: #4a5568 !important;
  background: #f3f6fb !important;
  border-color: #d7e0ec !important;
}

.page-home .home-listing-category {
  color: #374151 !important;
  background: #fff7db !important;
  border-color: #f2d470 !important;
}

.page-home .home-vip-grid .photo-count,
.page-home .home-listings-grid .photo-count {
  left: 12px !important;
  bottom: 12px !important;
  min-height: 28px;
  padding: 5px 11px !important;
  font-size: 12px !important;
}

.page-home .home-listing-badge {
  right: 14px;
  top: 14px;
  padding: 8px 13px;
  font-size: 12px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.page-home .home-listing-save {
  right: 14px;
  bottom: 14px;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 14px !important;
}

.page-home .home-vip-grid .item-price,
.page-home .home-listings-grid .item-price {
  margin: 0 !important;
  font-size: 25px !important;
  line-height: 1.05 !important;
}

.page-home .home-listing-actions {
  gap: 10px;
  margin-top: 0;
}

.page-home .home-listing-action {
  min-height: 46px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
}

.page-home .home-listing-action--message {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-color: #d7e0ec;
  color: #111827 !important;
}

.page-home .home-listing-action--call {
  box-shadow: 0 12px 24px rgba(255, 153, 0, 0.18);
}

.page-home .home-market__vip,
.page-home .home-market__all {
  border-radius: 24px !important;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.06);
}

.page-home .home-market__head {
  gap: 14px;
  margin-bottom: 18px;
}

.page-home .home-market__head p {
  max-width: 560px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .page-home .home-market__vip,
  .page-home .home-market__all {
    padding: 14px !important;
    border-radius: 20px !important;
  }

  .page-home .home-vip-grid--carousel .item-list {
    max-width: min(84vw, 296px);
  }

  .page-home .home-vip-grid .add-desc-box,
  .page-home .home-listings-grid .add-desc-box {
    padding: 16px 16px 10px !important;
  }

  .page-home .home-vip-grid .price-box,
  .page-home .home-listings-grid .price-box {
    padding: 14px 16px 16px !important;
  }

  .page-home .home-vip-grid .add-title a,
  .page-home .home-listings-grid .add-title a {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .page-home .home-vip-grid .info-row,
  .page-home .home-listings-grid .info-row {
    gap: 7px !important;
  }

  .page-home .home-vip-grid .info-row > span,
  .page-home .home-listings-grid .info-row > span {
    min-height: 31px;
    padding: 0 10px;
    font-size: 11px;
  }

  .page-home .home-vip-grid .item-price,
  .page-home .home-listings-grid .item-price {
    font-size: 22px !important;
  }

  .page-home .home-listing-action {
    min-height: 44px;
    border-radius: 13px;
    font-size: 14px;
  }
}

/* Unified public pages pass: account panel, auth, add form and category lists. */
body:not(.page-home) {
  --ui-page: #f6f8fc;
  --ui-card: #ffffff;
  --ui-line: #e5ebf4;
  --ui-muted: #718096;
  --ui-text: #111827;
  --ui-blue: #2f72ed;
  --ui-blue-dark: #1d5fd8;
  --ui-yellow: #ffc400;
  --ui-orange: #ff7a18;
  background: var(--ui-page) !important;
  color: var(--ui-text) !important;
}

body:not(.page-home) #wrapper {
  min-height: 100vh;
  padding-top: 10px;
  background: var(--ui-page) !important;
}

body:not(.page-home) .header {
  display: block !important;
  padding: 16px 0 0 !important;
  background: var(--ui-page) !important;
  border: 0 !important;
  box-shadow: none !important;
}

body:not(.page-home) .navbar-site {
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body:not(.page-home) .navbar .container {
  width: min(1180px, calc(100% - 28px)) !important;
  min-height: 66px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--ui-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(30, 41, 59, 0.07);
}

body:not(.page-home) .navbar-header.left-head,
body:not(.page-home) .right-head {
  float: none !important;
  width: auto !important;
  min-width: 0;
}

body:not(.page-home) .navbar-brand.logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  height: auto !important;
  min-height: 36px !important;
  padding: 0 8px !important;
  margin: 0 !important;
  overflow: visible !important;
}

body:not(.page-home) .logo-text {
  color: var(--ui-blue) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
}

body:not(.page-home) .logo-icon img {
  width: 34px !important;
  height: auto !important;
}

body:not(.page-home) .navbar-collapse.collapse {
  display: flex !important;
  justify-content: flex-end !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body:not(.page-home) .navbar-nav.navbar-right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  flex-wrap: wrap !important;
}

body:not(.page-home) .navbar-nav.navbar-right > li {
  float: none !important;
  margin: 0 !important;
}

body:not(.page-home) .navbar-nav.navbar-right > li > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  max-width: 190px;
  padding: 0 15px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #253044 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-align: center;
  white-space: normal !important;
  overflow-wrap: anywhere;
  text-decoration: none !important;
}

body:not(.page-home) .navbar-nav.navbar-right > li.postadd > a,
body:not(.page-home) .navbar-nav.navbar-right > li:last-child > a {
  min-width: 150px;
  border-color: var(--ui-blue) !important;
  background: linear-gradient(180deg, #4a8cff 0%, var(--ui-blue) 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(47, 114, 237, 0.22);
}

body:not(.page-home) .navbar-toggle {
  display: none !important;
}

body:not(.page-home) .main-container {
  margin: 0 !important;
  padding: 28px 0 46px !important;
  background: var(--ui-page) !important;
}

body:not(.page-home) .block_promo_h,
body:not(.page-home) .block_promo_r {
  display: none !important;
}

body:not(.page-home) .page-sidebar .block_r:not(:first-child) {
  display: none !important;
}

body:not(.page-home) .main-container > .container {
  width: min(1180px, calc(100% - 28px)) !important;
  max-width: none !important;
  padding: 0 !important;
}

body:not(.page-home) .main-container .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-left: -10px !important;
  margin-right: -10px !important;
}

body:not(.page-home) .page-content,
body:not(.page-home) .page-sidebar {
  min-width: 0;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

body:not(.page-home) .page-content {
  flex: 1 1 0;
}

body:not(.page-home) .page-sidebar {
  flex: 0 0 280px;
}

body.page-cat .page-sidebar {
  display: none !important;
}

body.page-cat .page-content {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
}

body:not(.page-home) .inner-box,
body:not(.page-home) .category-content,
body:not(.page-home) .panel,
body:not(.page-home) .well {
  border: 1px solid var(--ui-line) !important;
  border-radius: 18px !important;
  background: var(--ui-card) !important;
  box-shadow: 0 18px 42px rgba(30, 41, 59, 0.055) !important;
}

body:not(.page-home) .inner-box,
body:not(.page-home) .category-content {
  padding: 24px !important;
}

body:not(.page-home) .title-2,
body:not(.page-home) h1,
body:not(.page-home) h2,
body:not(.page-home) h3 {
  color: var(--ui-text) !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
}

body:not(.page-home) .title-2,
body:not(.page-home) h1.title-2 {
  margin: 0 0 18px !important;
  max-width: 920px;
  font-size: clamp(24px, 2.35vw, 32px) !important;
  font-weight: 900 !important;
  text-transform: none !important;
  overflow-wrap: anywhere;
}

body:not(.page-home) .category-content > h1:first-child,
body:not(.page-home) .category-content > h2:first-child,
body:not(.page-home) .category-content > h3:first-child {
  margin-top: 0 !important;
  padding-bottom: 16px;
  border-bottom: 1px solid #ffd6c2;
}

body.page-cat .category-content--catalog .catalog-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 22px;
}

body.page-cat .category-content--catalog .catalog-sidebar {
  position: sticky;
  top: 18px;
  padding: 18px;
  border: 1px solid var(--ui-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  box-shadow: 0 16px 36px rgba(30, 41, 59, 0.06);
}

body.page-cat .category-content--catalog .catalog-sidebar__title {
  margin-bottom: 14px;
  color: var(--ui-text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-cat .category-content--catalog .catalog-sidebar__nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page-cat .category-content--catalog .catalog-sidebar__nav li + li {
  margin-top: 8px;
}

body.page-cat .category-content--catalog .catalog-sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #425066 !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: 0.18s ease;
}

body.page-cat .category-content--catalog .catalog-sidebar__nav a:hover,
body.page-cat .category-content--catalog .catalog-sidebar__nav a:focus,
body.page-cat .category-content--catalog .catalog-sidebar__nav a.is-active {
  border-color: #cfe0ff;
  background: #fff;
  color: var(--ui-text) !important;
  box-shadow: 0 10px 20px rgba(47, 114, 237, 0.08);
}

body.page-cat .category-content--catalog .catalog-sidebar__icon,
body.page-cat .category-content--catalog .catalog-tree__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4a8cff 0%, #79a8ff 100%);
  color: #fff;
  flex: 0 0 38px;
  box-shadow: 0 10px 20px rgba(47, 114, 237, 0.18);
}

body.page-cat .category-content--catalog .catalog-sidebar__text {
  min-width: 0;
  line-height: 1.25;
}

body.page-cat .category-content--catalog .catalog-main {
  min-width: 0;
}

body.page-cat .category-content--catalog .row.tree1 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 !important;
}

body.page-cat .category-content--catalog .cat-list.maintree {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

body.page-cat .category-content--catalog .catalog-tree-card {
  padding: 18px;
  border: 1px solid var(--ui-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(30, 41, 59, 0.05);
}

body.page-cat .category-content--catalog .catalog-tree-card .cat-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px !important;
}

body.page-cat .category-content--catalog .catalog-tree-card .cat-title > a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ui-text) !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
}

body.page-cat .category-content--catalog .catalog-tree__label {
  min-width: 0;
}

body.page-cat .category-content--catalog .catalog-tree-card .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #edf4ff;
  color: #2d5dd0;
  font-size: 12px;
  font-weight: 900;
  margin-left: auto;
}

body.page-cat .category-content--catalog .catalog-tree-card .btn-cat-collapsed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: #f8fbff;
  color: #60708a;
}

body.page-cat .category-content--catalog .catalog-tree-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page-cat .category-content--catalog .catalog-tree-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
}

body.page-cat .category-content--catalog .catalog-tree-card li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #7aa5ff;
  flex: 0 0 7px;
}

body.page-cat .category-content--catalog .catalog-tree-card li a {
  color: #526176 !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
}

body.page-cat .category-content--catalog .catalog-tree-card li a:hover {
  color: var(--ui-blue) !important;
}

body:not(.page-home) p,
body:not(.page-home) li,
body:not(.page-home) .help-block,
body:not(.page-home) .text-muted,
body:not(.page-home) .info-row {
  color: var(--ui-muted);
}

body:not(.page-home) .form-horizontal,
body:not(.page-home) .registr_block1,
body:not(.page-home) #main_form {
  width: min(760px, 100%);
  margin: 0 auto;
}

body:not(.page-home) #main_form {
  width: 100%;
}

body:not(.page-home) .form-horizontal .form-group {
  display: grid !important;
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr);
  gap: 10px 18px;
  align-items: start;
  margin: 0 0 16px !important;
}

body:not(.page-home) .form-horizontal .form-group::before,
body:not(.page-home) .form-horizontal .form-group::after {
  display: none !important;
}

body:not(.page-home) .form-horizontal [class*='col-md-'],
body:not(.page-home) .form-horizontal [class*='col-sm-'],
body:not(.page-home) .form-horizontal [class*='col-xs-'] {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body:not(.page-home) .form-horizontal .control-label {
  padding-top: 12px !important;
  color: #2d3748 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

body:not(.page-home) .form-horizontal .form-group.text_field,
body:not(.page-home) #main_form .form-group.text_field {
  grid-template-columns: 1fr !important;
}

body:not(.page-home) .form-horizontal .form-group.text_field [class*='col-md-'],
body:not(.page-home) #main_form .form-group.text_field [class*='col-md-'] {
  width: 100% !important;
}

body:not(.page-home) .form-horizontal .form-group.text_field label {
  display: block;
  margin-bottom: 8px;
  color: #2d3748;
  font-weight: 800;
}

body:not(.page-home) .cleditorMain,
body:not(.page-home) .cleditorMain iframe,
body:not(.page-home) .cleditorMain textarea,
body:not(.page-home) .cke,
body:not(.page-home) .cke_inner,
body:not(.page-home) .cke_contents {
  width: 100% !important;
  max-width: 100% !important;
}

body:not(.page-home) .form-control,
body:not(.page-home) select.form-control,
body:not(.page-home) textarea.form-control {
  width: 100% !important;
  min-height: 46px !important;
  padding: 10px 14px !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 12px !important;
  background: #fbfdff !important;
  color: var(--ui-text) !important;
  box-shadow: none !important;
  font-size: 14px !important;
}

body:not(.page-home) textarea.form-control {
  min-height: 150px !important;
  resize: vertical;
}

body:not(.page-home) .input-icon {
  position: relative;
}

body:not(.page-home) .input-icon > i {
  position: absolute;
  left: 12px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  color: #94a3b8;
}

body:not(.page-home) .input-icon .form-control {
  padding-left: 38px !important;
}

body:not(.page-home) .btn,
body:not(.page-home) input[type='submit'].btn,
body:not(.page-home) input[type='button'].btn {
  min-height: 42px;
  border-radius: 10px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

body:not(.page-home) .btn-primary,
body:not(.page-home) .btn-success {
  border-color: var(--ui-blue) !important;
  background: linear-gradient(180deg, #4a8cff 0%, var(--ui-blue) 100%) !important;
  color: #fff !important;
}

body:not(.page-home) .btn-warning {
  border-color: var(--ui-yellow) !important;
  background: linear-gradient(90deg, var(--ui-yellow), var(--ui-orange)) !important;
  color: #fff !important;
}

body:not(.page-home) .alert {
  border-radius: 14px !important;
  border-width: 1px !important;
}

body:not(.page-home) .checkbox label,
body:not(.page-home) .radio label {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: #334155;
  line-height: 1.45;
}

body:not(.page-home) .checkbox input,
body:not(.page-home) .radio input {
  position: static !important;
  width: 16px;
  height: 16px;
  margin: 2px 0 0 !important;
}

body:not(.page-home) .multiselect,
body:not(.page-home) #fields,
body:not(.page-home) #tag_block,
body:not(.page-home) .captcha_cont {
  max-width: 100%;
}

body:not(.page-home) .multiselect {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px dashed #c8d3e1;
  border-radius: 12px;
  background: #f8fbff;
}

body:not(.page-home) .frame_pay,
body:not(.page-home) iframe {
  max-width: 100% !important;
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  background: #fff;
}

body:not(.page-home) .table-action {
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  background: #fff;
}

body:not(.page-home) .table-action .row {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
}

body:not(.page-home) .table-action label,
body:not(.page-home) .table-action .table-search {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

body:not(.page-home) .table-action label {
  flex: 1 1 auto;
}

body:not(.page-home) .table-action .table-search {
  flex: 0 1 300px;
}

body:not(.page-home) .table-responsive {
  border: 0 !important;
  overflow-x: auto;
}

body:not(.page-home) .add-manage-table {
  min-width: 720px;
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 14px !important;
  background: #fff;
}

body:not(.page-home) .add-manage-table th {
  border: 0 !important;
  background: #f4f7fb !important;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

body:not(.page-home) .add-manage-table td {
  border-color: #edf2f7 !important;
  vertical-align: middle !important;
}

body:not(.page-home) .add-manage-table .thumbnail {
  width: 94px;
  height: 72px;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 10px !important;
}

body:not(.page-home) .action-td {
  min-width: 170px;
}

body:not(.page-home) .action-td .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin: 2px;
  padding: 6px 9px !important;
}

body:not(.page-home) .item-list {
  float: none !important;
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(180px, 228px) minmax(0, 1fr) minmax(220px, 252px);
  align-items: stretch !important;
  gap: 0 !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at top right, rgba(47, 114, 237, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  overflow: hidden !important;
  box-shadow: 0 24px 54px rgba(30, 41, 59, 0.08) !important;
}

body:not(.page-home) .item-list [class*='col-sm-'] {
  min-width: 0;
  float: none !important;
}

body:not(.page-home) .item-list .add-image,
body:not(.page-home) .item-list .photobox {
  overflow: hidden;
}

body:not(.page-home) .item-list .photobox {
  display: flex;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(18, 31, 53, 0.04), rgba(18, 31, 53, 0.02)),
    linear-gradient(135deg, #eef4ff 0%, #f7faff 100%);
}

body:not(.page-home) .item-list .add-image {
  position: relative;
  width: 100%;
  min-height: 100%;
}

body:not(.page-home) .item-list .add-image > a {
  display: block;
  height: 100%;
}

body:not(.page-home) .item-list .add-image img,
body:not(.page-home) .item-list img.thumbnail {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

body:not(.page-home) .item-list .photo-count {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.76);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  z-index: 2;
  backdrop-filter: blur(6px);
}

body:not(.page-home) .item-list .add-desc-box {
  display: flex;
  align-items: stretch;
  padding: 22px 24px 20px !important;
}

body:not(.page-home) .item-list .add-details {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
}

body:not(.page-home) .item-list .add-title {
  margin: 0 !important;
}

body:not(.page-home) .item-list .add-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--ui-text) !important;
  font-size: clamp(21px, 2vw, 28px) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  text-decoration: none !important;
}

body:not(.page-home) .item-list .info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 !important;
}

body:not(.page-home) .item-list .info-row > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #e6edf7;
  border-radius: 999px;
  background: #f9fbff;
  color: #5a6b80 !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

body:not(.page-home) .item-list .info-row .category {
  color: #2563eb !important;
  background: #eef5ff;
  border-color: #d7e6ff;
}

body:not(.page-home) .item-list .info-row i {
  color: #7c92b0;
}

body:not(.page-home) .item-list .price-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 22px 22px 20px !important;
  border-left: 1px solid #edf2f9;
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.94) 0%, rgba(255, 255, 255, 0.98) 100%);
  text-align: left !important;
}

body:not(.page-home) .item-list .item-price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #2f7df6 0%, #1d5fd8 100%);
  box-shadow: 0 18px 30px rgba(47, 114, 237, 0.22);
  color: #fff !important;
  font-size: clamp(18px, 1.7vw, 24px) !important;
  font-weight: 900 !important;
  line-height: 1;
}

body:not(.page-home) .item-list .text-nowrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  white-space: normal !important;
}

body:not(.page-home) .item-list .make-favorite.notepad {
  min-height: 46px;
  margin-top: 0;
  border-radius: 14px;
  border: 1px solid #d9e5f4 !important;
  background: #fff !important;
  color: #2f4157 !important;
}

body:not(.page-home) .item-list .make-favorite.notepad:hover {
  border-color: #bdd4fb !important;
  color: var(--ui-blue) !important;
}

body:not(.page-home) .footer {
  width: min(1180px, calc(100% - 28px));
  margin: 24px auto 0;
  padding: 26px !important;
  border: 1px solid var(--ui-line);
  border-radius: 22px 22px 0 0;
  background: #eef3f9 !important;
}

@media (max-width: 991px) {
  body:not(.page-home) .navbar .container {
    flex-direction: row;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 62px;
  }

  body:not(.page-home) .navbar-header.left-head {
    flex: 0 1 auto;
  }

  body:not(.page-home) .navbar-brand.logo {
    padding: 0 !important;
  }

  body:not(.page-home) .navbar-collapse.collapse,
  body:not(.page-home) .navbar-nav.navbar-right {
    width: auto !important;
    flex: 0 0 auto;
    justify-content: flex-end !important;
  }

  body:not(.page-home) .navbar-nav.navbar-right {
    display: flex !important;
    gap: 0 !important;
  }

  body:not(.page-home) .navbar-nav.navbar-right > li:not(.postadd):not(:last-child) {
    display: none !important;
  }

  body:not(.page-home) .navbar-nav.navbar-right > li > a,
  body:not(.page-home) .navbar-nav.navbar-right > li.postadd > a,
  body:not(.page-home) .navbar-nav.navbar-right > li:last-child > a {
    width: auto;
    max-width: none;
    min-width: 142px;
  }

  body:not(.page-home) .main-container .row {
    display: flex !important;
    flex-direction: column !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body:not(.page-home) .page-content,
  body:not(.page-home) .page-sidebar {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body:not(.page-home) .page-content {
    order: 1;
  }

  body:not(.page-home) .page-sidebar {
    order: 2;
  }

  body:not(.page-home) .page-sidebar + .page-content,
  body:not(.page-home) .page-content + .page-sidebar {
    margin-top: 18px;
  }

  body:not(.page-home) .form-horizontal .form-group {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  body:not(.page-home) .form-horizontal .control-label {
    padding-top: 0 !important;
  }

  body.page-cat .category-content--catalog .catalog-shell {
    grid-template-columns: 1fr;
  }

  body.page-cat .category-content--catalog .catalog-sidebar {
    position: static;
    top: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.page-cat .category-content--catalog .row.tree1 {
    grid-template-columns: 1fr;
  }

  body.page-cat .category-content--catalog .catalog-sidebar__title {
    margin-bottom: 10px;
    padding-left: 4px;
  }

  body.page-cat .category-content--catalog .catalog-sidebar__nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    width: calc(100% + 4px);
    max-width: calc(100vw - 44px);
    padding: 2px 18px 6px 2px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    scroll-padding-left: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body.page-cat .category-content--catalog .catalog-sidebar__nav li,
  body.page-cat .category-content--catalog .catalog-sidebar__nav li + li {
    margin: 0;
    flex: 0 0 auto;
  }

  body.page-cat .category-content--catalog .catalog-sidebar__nav a {
    flex: 0 0 auto;
    width: max-content;
    min-width: max-content;
    min-height: 44px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  body.page-cat .category-content--catalog .catalog-sidebar__icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    flex-basis: 30px;
  }
}

@media (max-width: 560px) {
  body:not(.page-home) .header {
    padding-top: 10px !important;
  }

  body:not(.page-home) #wrapper {
    padding-top: 8px;
  }

  body:not(.page-home) .navbar .container {
    width: calc(100% - 20px) !important;
    position: relative !important;
    padding: 8px 10px !important;
    padding-right: 126px !important;
    border-radius: 16px;
  }

  body:not(.page-home) .right-head {
    position: absolute !important;
    top: 50%;
    right: 10px;
    width: auto !important;
    transform: translateY(-50%);
  }

  body:not(.page-home) .navbar-collapse.collapse {
    width: auto !important;
  }

  body:not(.page-home) .logo-text {
    font-size: 13px !important;
  }

  body:not(.page-home) .logo-icon img {
    display: none !important;
  }

  body:not(.page-home) .navbar-nav.navbar-right {
    margin-left: auto !important;
  }

  body:not(.page-home) .navbar-nav.navbar-right > li > a,
  body:not(.page-home) .navbar-nav.navbar-right > li.postadd > a,
  body:not(.page-home) .navbar-nav.navbar-right > li:last-child > a {
    min-width: 104px;
    max-width: 108px;
    min-height: 40px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }

  body:not(.page-home) .main-container {
    padding-top: 16px !important;
  }

  body:not(.page-home) .page-sidebar {
    display: none !important;
  }

  body:not(.page-home) .inner-box,
  body:not(.page-home) .category-content {
    padding: 16px !important;
    border-radius: 14px !important;
  }

  body:not(.page-home) .title-2,
  body:not(.page-home) h1.title-2 {
    margin-bottom: 14px !important;
    font-size: clamp(22px, 7vw, 30px) !important;
  }

  body.page-cat .category-content--catalog .catalog-shell {
    margin-top: 18px;
    gap: 16px;
  }

  body.page-cat .category-content--catalog .catalog-tree-card {
    padding: 18px 16px;
    border-radius: 22px;
  }

  body.page-cat .category-content--catalog .catalog-tree-card .cat-title > a {
    align-items: flex-start;
    font-size: clamp(18px, 5.4vw, 24px) !important;
    line-height: 1.08 !important;
  }

  body.page-cat .category-content--catalog .catalog-tree-card ul {
    display: grid;
    gap: 8px;
  }

  body.page-cat .category-content--catalog .catalog-tree-card li {
    align-items: flex-start;
    padding: 0;
  }

  body.page-cat .category-content--catalog .catalog-tree-card li a {
    display: inline-block;
    line-height: 1.35;
  }

  body:not(.page-home) .item-list {
    grid-template-columns: 1fr !important;
    border-radius: 22px !important;
  }

  body:not(.page-home) .item-list .photobox {
    min-height: 220px;
  }

  body:not(.page-home) .item-list .add-image,
  body:not(.page-home) .item-list .photobox,
  body:not(.page-home) .item-list .add-image > a,
  body:not(.page-home) .item-list img.thumbnail {
    aspect-ratio: 16 / 10;
    height: auto !important;
  }

  body:not(.page-home) .item-list .add-desc-box {
    padding: 18px 16px 0 !important;
  }

  body:not(.page-home) .item-list .add-title a {
    font-size: clamp(19px, 5.7vw, 25px) !important;
  }

  body:not(.page-home) .item-list .info-row {
    gap: 8px;
  }

  body:not(.page-home) .item-list .info-row > span {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  body:not(.page-home) .item-list .price-box {
    padding: 16px !important;
    border-left: 0;
    border-top: 1px solid #edf2f9;
    background: linear-gradient(180deg, rgba(244, 248, 255, 0.7) 0%, rgba(255, 255, 255, 0.96) 100%);
  }

  body:not(.page-home) .item-list .item-price {
    min-height: 46px;
    font-size: 20px !important;
  }

  body:not(.page-home) .item-contact-actions {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0;
  }

  body:not(.page-home) .item-contact-action,
  body:not(.page-home) .item-list .make-favorite.notepad {
    min-height: 46px;
    font-size: 14px;
  }

  body:not(.page-home) .table-action .row {
    flex-direction: column;
    align-items: stretch;
  }

  body:not(.page-home) .table-action .table-search {
    flex-basis: auto;
  }
}

@media (max-width: 400px) {
  body.page-cat .category-content--catalog .catalog-sidebar__nav {
    max-width: calc(100vw - 32px);
    margin-right: -4px;
  }

  body.page-cat .category-content--catalog .catalog-sidebar__nav a {
    padding-right: 12px;
  }

  body:not(.page-home) .item-list .photobox {
    min-height: 196px;
  }

  body:not(.page-home) .item-list .add-desc-box,
  body:not(.page-home) .item-list .price-box {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body:not(.page-home) .item-list .info-row > span {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .page-home .home-mobile-nav,
  .page-home .home-mobile-actions {
    position: relative;
    z-index: 2;
  }

  .page-home .home-mobile-nav__track,
  .page-home .home-mobile-actions {
    width: calc(100% + 2px) !important;
    max-width: calc(100vw - 32px) !important;
    padding-right: 20px !important;
    overscroll-behavior-x: contain;
    scroll-padding-left: 0;
  }

  .page-home .home-mobile-nav__track a,
  .page-home .home-mobile-actions a {
    min-width: max-content;
  }
}

/* Stronger category visuals: larger, brighter, more Figma-like tiles without changing Smarty/PHP structure. */
.page-home .home-sidebar__list a {
  position: relative;
  min-height: 58px;
  padding: 0.8rem 1rem;
  border: 1px solid #edf2fa;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.98) 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  font-weight: 700;
}

.page-home .home-sidebar__list a:hover,
.page-home .home-sidebar__list a:focus,
.page-home .home-sidebar__list li:first-child a {
  border-color: #d6e5ff;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
  box-shadow: 0 16px 34px rgba(47, 114, 237, 0.1);
}

.page-home .home-sidebar__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4a8cff 0%, #7db0ff 100%);
  color: #fff;
  font-size: 1.08rem;
  box-shadow: 0 14px 24px rgba(47, 114, 237, 0.22);
}

.page-home .home-sidebar__icon--region {
  background: linear-gradient(135deg, #12b981 0%, #36d399 100%);
  color: #fff;
  box-shadow: 0 14px 24px rgba(16, 185, 129, 0.18);
}

.page-home .home-sidebar__text {
  color: #304256;
  font-weight: 800;
}

.page-home .home-sidebar__list li:nth-child(2) .home-sidebar__icon,
body.page-cat .category-content--catalog .catalog-sidebar__nav li:nth-child(2) .catalog-sidebar__icon,
body.page-cat .category-content--catalog .catalog-tree-card:nth-child(1) .catalog-tree__icon {
  background: linear-gradient(135deg, #4a8cff 0%, #7db0ff 100%);
  box-shadow: 0 14px 26px rgba(47, 114, 237, 0.24);
}

.page-home .home-sidebar__list li:nth-child(3) .home-sidebar__icon,
body.page-cat .category-content--catalog .catalog-sidebar__nav li:nth-child(3) .catalog-sidebar__icon,
body.page-cat .category-content--catalog .catalog-tree-card:nth-child(2) .catalog-tree__icon {
  background: linear-gradient(135deg, #8b5cf6 0%, #b794ff 100%);
  box-shadow: 0 14px 26px rgba(139, 92, 246, 0.22);
}

.page-home .home-sidebar__list li:nth-child(4) .home-sidebar__icon,
body.page-cat .category-content--catalog .catalog-sidebar__nav li:nth-child(4) .catalog-sidebar__icon,
body.page-cat .category-content--catalog .catalog-tree-card:nth-child(3) .catalog-tree__icon {
  background: linear-gradient(135deg, #f97316 0%, #ffb347 100%);
  box-shadow: 0 14px 26px rgba(249, 115, 22, 0.24);
}

.page-home .home-sidebar__list li:nth-child(5) .home-sidebar__icon,
body.page-cat .category-content--catalog .catalog-sidebar__nav li:nth-child(5) .catalog-sidebar__icon,
body.page-cat .category-content--catalog .catalog-tree-card:nth-child(4) .catalog-tree__icon {
  background: linear-gradient(135deg, #14b8a6 0%, #5eead4 100%);
  box-shadow: 0 14px 26px rgba(20, 184, 166, 0.22);
}

.page-home .home-sidebar__list li:nth-child(6) .home-sidebar__icon,
body.page-cat .category-content--catalog .catalog-sidebar__nav li:nth-child(6) .catalog-sidebar__icon,
body.page-cat .category-content--catalog .catalog-tree-card:nth-child(5) .catalog-tree__icon {
  background: linear-gradient(135deg, #ef4444 0%, #fb7185 100%);
  box-shadow: 0 14px 26px rgba(239, 68, 68, 0.22);
}

.page-home .home-sidebar__list li:nth-child(7) .home-sidebar__icon,
body.page-cat .category-content--catalog .catalog-sidebar__nav li:nth-child(7) .catalog-sidebar__icon,
body.page-cat .category-content--catalog .catalog-tree-card:nth-child(6) .catalog-tree__icon {
  background: linear-gradient(135deg, #0ea5e9 0%, #67e8f9 100%);
  box-shadow: 0 14px 26px rgba(14, 165, 233, 0.22);
}

.page-home .home-sidebar__list li:nth-child(8) .home-sidebar__icon,
body.page-cat .category-content--catalog .catalog-sidebar__nav li:nth-child(8) .catalog-sidebar__icon,
body.page-cat .category-content--catalog .catalog-tree-card:nth-child(7) .catalog-tree__icon {
  background: linear-gradient(135deg, #22c55e 0%, #86efac 100%);
  box-shadow: 0 14px 26px rgba(34, 197, 94, 0.22);
}

body.page-cat .category-content--catalog .catalog-sidebar__nav a {
  min-height: 56px;
  padding: 10px 14px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.98) 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

body.page-cat .category-content--catalog .catalog-sidebar__nav a:hover,
body.page-cat .category-content--catalog .catalog-sidebar__nav a:focus,
body.page-cat .category-content--catalog .catalog-sidebar__nav a.is-active {
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
}

body.page-cat .category-content--catalog .catalog-sidebar__icon,
body.page-cat .category-content--catalog .catalog-tree__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  flex: 0 0 48px;
  font-size: 1.1rem;
}

body.page-cat .category-content--catalog .catalog-tree-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.16), transparent 33%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 22px 44px rgba(30, 41, 59, 0.08);
}

body.page-cat .category-content--catalog .catalog-tree-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(180deg, rgba(47, 114, 237, 0.08), rgba(47, 114, 237, 0));
  pointer-events: none;
}

body.page-cat .category-content--catalog .catalog-tree-card .cat-title,
body.page-cat .category-content--catalog .catalog-tree-card ul {
  position: relative;
  z-index: 1;
}

body.page-cat .category-content--catalog .catalog-tree-card .cat-title > a {
  gap: 14px;
  font-size: 24px !important;
  line-height: 1.04 !important;
}

body.page-cat .category-content--catalog .catalog-tree-card li a {
  font-size: 16px;
  font-weight: 700;
}

.page-home .home-mobile-nav {
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
}

.page-home .home-mobile-nav__track a {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border-color: #d5e2f5;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #24364d !important;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.page-home .home-mobile-nav__track a.is-primary {
  background: linear-gradient(180deg, #f0f6ff 0%, #e2edff 100%);
  border-color: #bfd5fb;
  color: #1d4ed8 !important;
}

.page-home .home-extras {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.7fr);
  gap: 18px;
  margin-top: 18px;
}

.page-home .home-extras__promo,
.page-home .home-extras__social {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e5edf7;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.06);
}

.page-home .home-extras__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.page-home .home-extras__head h3 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.08;
}

.page-home .home-extras__head p {
  margin: 4px 0 0;
  color: #718096;
  font-size: 13px;
  line-height: 1.5;
}

.page-home .home-extras__promo .block_promo_h {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.page-home .home-extras__promo .block_promo_h .title-2,
.page-home .home-extras__promo .block_promo_h .carousel-nav {
  display: none !important;
}

.page-home .home-extras__promo .item-carousel .item a {
  border-radius: 18px;
  padding: 10px;
  border: 1px solid #e5edf7;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.page-home .home-extras__promo .item-carousel-thumb {
  border-radius: 14px !important;
  overflow: hidden;
}

.page-home .home-social-auth {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.page-home .home-social-auth__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid #e1eaf6;
  background: #fff;
  color: #1f2937 !important;
  font-size: 21px;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  flex: 0 0 auto;
}

.page-home .home-social-auth__link:hover,
.page-home .home-social-auth__link:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.1);
}

.page-home .home-social-auth__link--vk {
  background: linear-gradient(135deg, #2d81ff 0%, #66a8ff 100%);
  border-color: #2d81ff;
  color: #fff !important;
}

.page-home .home-social-auth__link--ok {
  background: linear-gradient(135deg, #ff8a00 0%, #ffb34d 100%);
  border-color: #ff8a00;
  color: #fff !important;
}

.page-home .home-social-auth__link--fb {
  background: linear-gradient(135deg, #1877f2 0%, #5b9bff 100%);
  border-color: #1877f2;
  color: #fff !important;
}

.page-home .home-social-auth__link--gg {
  background: linear-gradient(135deg, #ef4444 0%, #fb7185 100%);
  border-color: #ef4444;
  color: #fff !important;
}

.page-home .home-social-auth__link--ya {
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
  border-color: #111827;
  color: #fff !important;
  font-size: 19px;
}

.page-home .home-social-auth__caption {
  margin-top: 14px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

/* Listing cards: slightly smaller, with clearer border and tighter spacing. */
.page-home .home-vip-grid .item-list,
.page-home .home-listings-grid .item-list {
  width: calc(100% - 12px) !important;
  margin: 0 auto 12px !important;
  border: 1px solid #e2eaf4 !important;
  border-radius: 20px !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06) !important;
}

.page-home .home-vip-grid .add-image,
.page-home .home-listings-grid .add-image {
  aspect-ratio: 16 / 11 !important;
}

.page-home .home-vip-grid .add-desc-box,
.page-home .home-listings-grid .add-desc-box {
  padding: 14px 14px 8px !important;
}

.page-home .home-vip-grid .price-box,
.page-home .home-listings-grid .price-box {
  gap: 10px;
  padding: 10px 14px 14px !important;
  border-top: 1px solid #edf2f7;
}

.page-home .home-vip-grid .add-title a,
.page-home .home-listings-grid .add-title a {
  font-size: 15px !important;
  line-height: 1.24 !important;
}

.page-home .home-vip-grid .info-row > span,
.page-home .home-listings-grid .info-row > span {
  min-height: 30px;
  padding: 0 10px;
  font-size: 11px;
}

.page-home .home-vip-grid .item-price,
.page-home .home-listings-grid .item-price {
  font-size: 19px !important;
}

.page-home .home-listing-action {
  min-height: 42px;
  border-width: 1px !important;
  border-radius: 12px;
  font-size: 13px;
}

.page-home .home-listing-save {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
}

@media (max-width: 991px) {
  .page-home .home-extras {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-home .home-sidebar__list a {
    min-height: 54px;
    padding: 0.7rem 0.85rem;
    border-radius: 16px;
  }

  .page-home .home-sidebar__icon,
  body.page-cat .category-content--catalog .catalog-sidebar__icon,
  body.page-cat .category-content--catalog .catalog-tree__icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 15px;
  }

  body.page-cat .category-content--catalog .catalog-tree-card {
    padding: 18px 16px;
    border-radius: 22px;
  }

  body.page-cat .category-content--catalog .catalog-tree-card .cat-title > a {
    gap: 12px;
    font-size: clamp(19px, 5.5vw, 23px) !important;
  }

  .page-home .home-extras__promo,
  .page-home .home-extras__social {
    padding: 14px;
    border-radius: 20px;
  }

  .page-home .home-extras__head h3 {
    font-size: 19px;
  }

  .page-home .home-social-auth {
    gap: 8px;
    justify-content: space-between;
  }

  .page-home .home-social-auth__link {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 18px;
  }
}

/* Final card overhaul: rebuild listing cards into a strong vertical product-card layout. */
body:not(.page-home) .item-list,
.page-home .home-vip-grid .item-list,
.page-home .home-listings-grid .item-list,
.page-home .home-vip-grid .item-list.make-grid,
.page-home .home-listings-grid .item-list.make-grid,
.page-home .home-vip-grid .item-list.make-compact,
.page-home .home-listings-grid .item-list.make-compact {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-areas:
    "media"
    "content"
    "actions" !important;
  gap: 0 !important;
  overflow: hidden !important;
  border: 1px solid #dce5f1 !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.16), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08) !important;
}

body:not(.page-home) .item-list:hover,
.page-home .home-vip-grid .item-list:hover,
.page-home .home-listings-grid .item-list:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.12) !important;
}

body:not(.page-home) .item-list .photobox,
.page-home .home-vip-grid .photobox,
.page-home .home-listings-grid .photobox {
  grid-area: media;
  min-height: 0 !important;
  background: linear-gradient(135deg, #edf4ff 0%, #f7faff 100%);
}

body:not(.page-home) .item-list .add-image,
.page-home .home-vip-grid .add-image,
.page-home .home-listings-grid .add-image {
  position: relative;
  aspect-ratio: 16 / 10 !important;
  min-height: 0 !important;
}

body:not(.page-home) .item-list .add-image::after,
.page-home .home-vip-grid .add-image::after,
.page-home .home-listings-grid .add-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.52) 100%);
  pointer-events: none;
}

body:not(.page-home) .item-list .add-image > a,
.page-home .home-vip-grid .add-image > a,
.page-home .home-listings-grid .add-image > a {
  display: block;
  width: 100%;
  height: 100%;
}

body:not(.page-home) .item-list .add-image img,
body:not(.page-home) .item-list img.thumbnail,
.page-home .home-vip-grid .add-image img,
.page-home .home-listings-grid .add-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

body:not(.page-home) .item-list .photo-count,
.page-home .home-vip-grid .photo-count,
.page-home .home-listings-grid .photo-count {
  top: auto !important;
  bottom: 16px !important;
  left: 16px !important;
  z-index: 3;
  min-height: 34px;
  padding: 0 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.56) !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
}

body:not(.page-home) .item-list .add-desc-box,
.page-home .home-vip-grid .add-desc-box,
.page-home .home-listings-grid .add-desc-box {
  grid-area: content;
  display: block;
  padding: 18px 18px 10px !important;
}

body:not(.page-home) .item-list .add-details,
.page-home .home-vip-grid .add-details,
.page-home .home-listings-grid .add-details {
  display: grid;
  gap: 12px;
}

body:not(.page-home) .item-list .add-title,
.page-home .home-vip-grid .add-title,
.page-home .home-listings-grid .add-title {
  margin: 0 !important;
}

body:not(.page-home) .item-list .add-title a,
.page-home .home-vip-grid .add-title a,
.page-home .home-listings-grid .add-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: #101828 !important;
  font-size: clamp(19px, 1.45vw, 24px) !important;
  font-weight: 900 !important;
  line-height: 1.14 !important;
  text-decoration: none !important;
}

body:not(.page-home) .item-list .info-row,
.page-home .home-vip-grid .info-row,
.page-home .home-listings-grid .info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px !important;
  margin: 0 !important;
}

body:not(.page-home) .item-list .info-row > span,
.page-home .home-vip-grid .info-row > span,
.page-home .home-listings-grid .info-row > span,
.page-home .home-listing-category,
.page-home .home-listing-store {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  max-width: 100%;
  padding: 0 12px;
  border: 1px solid #e7edf5 !important;
  border-radius: 999px;
  background: #f7faff !important;
  color: #617287 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2;
  box-shadow: none !important;
}

body:not(.page-home) .item-list .info-row .category,
.page-home .home-listing-category {
  border-color: #f3d46c !important;
  background: linear-gradient(180deg, #fff8dd 0%, #fff0bf 100%) !important;
  color: #2f3542 !important;
}

body:not(.page-home) .item-list .price-box,
.page-home .home-vip-grid .price-box,
.page-home .home-listings-grid .price-box {
  grid-area: actions;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 0 18px 18px !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

body:not(.page-home) .item-list .item-price,
.page-home .home-vip-grid .item-price,
.page-home .home-listings-grid .item-price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 48px;
  margin: 0 !important;
  padding: 0 16px;
  border-radius: 16px;
  background: transparent !important;
  box-shadow: none !important;
  color: #2f72ed !important;
  font-size: clamp(28px, 2vw, 36px) !important;
  font-weight: 900 !important;
  line-height: 1;
}

body:not(.page-home) .item-list .currency,
.page-home .home-vip-grid .currency,
.page-home .home-listings-grid .currency {
  opacity: 0.6;
}

body:not(.page-home) .item-list .text-nowrap,
.page-home .home-vip-grid .text-nowrap,
.page-home .home-listings-grid .text-nowrap {
  display: grid;
  gap: 10px;
  white-space: normal !important;
}

body:not(.page-home) .item-contact-actions,
.page-home .home-listing-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 0 !important;
}

body:not(.page-home) .item-contact-action,
.page-home .home-listing-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 16px !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body:not(.page-home) .item-contact-action--message,
.page-home .home-listing-action--message {
  border: 1px solid #d8e3ef !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  color: #111827 !important;
}

body:not(.page-home) .item-contact-action--call,
.page-home .home-listing-action--call {
  border: 1px solid #2d6df6 !important;
  background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: #fff !important;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.22);
}

body:not(.page-home) .item-list .make-favorite.notepad,
.page-home .home-vip-grid .make-favorite,
.page-home .home-listings-grid .make-favorite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  width: 100%;
  margin-top: 0 !important;
  border: 1px solid #d8e3ef !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #213246 !important;
  box-shadow: none !important;
}

.page-home .home-listing-save {
  position: absolute !important;
  right: 16px !important;
  bottom: 16px !important;
  z-index: 3;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12) !important;
}

@media (max-width: 767px) {
  body:not(.page-home) .item-list,
  .page-home .home-vip-grid .item-list,
  .page-home .home-listings-grid .item-list,
  .page-home .home-vip-grid .item-list.make-grid,
  .page-home .home-listings-grid .item-list.make-grid,
  .page-home .home-vip-grid .item-list.make-compact,
  .page-home .home-listings-grid .item-list.make-compact {
    border-radius: 24px !important;
  }

  body:not(.page-home) .item-list .add-desc-box,
  .page-home .home-vip-grid .add-desc-box,
  .page-home .home-listings-grid .add-desc-box {
    padding: 16px 16px 8px !important;
  }

  body:not(.page-home) .item-list .price-box,
  .page-home .home-vip-grid .price-box,
  .page-home .home-listings-grid .price-box {
    padding: 0 16px 16px !important;
  }

  body:not(.page-home) .item-list .add-title a,
  .page-home .home-vip-grid .add-title a,
  .page-home .home-listings-grid .add-title a {
    font-size: 17px !important;
  }

  body:not(.page-home) .item-list .item-price,
  .page-home .home-vip-grid .item-price,
  .page-home .home-listings-grid .item-price {
    font-size: 22px !important;
    min-height: 42px;
    padding: 0;
  }

  body:not(.page-home) .item-contact-actions,
  .page-home .home-listing-actions {
    grid-template-columns: 1fr;
  }

  body:not(.page-home) .item-contact-action,
  .page-home .home-listing-action,
  body:not(.page-home) .item-list .make-favorite.notepad {
    min-height: 48px;
    font-size: 14px !important;
  }
}

/* Hard reset for home listing cards: visibly different composition for client-facing review. */
.page-home .home-listings-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 26px !important;
}

.page-home .home-vip-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 26px !important;
}

.page-home .home-listings-grid .item-list,
.page-home .home-vip-grid .item-list,
.page-home .home-vip-grid .item-list.make-grid,
.page-home .home-listings-grid .item-list.make-grid,
.page-home .home-vip-grid .item-list.make-compact,
.page-home .home-listings-grid .item-list.make-compact {
  width: 100% !important;
  margin: 0 !important;
  border: 1px solid #d7dfeb !important;
  border-radius: 30px !important;
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%) !important;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.09) !important;
}

.page-home .home-listings-grid .item-list:hover,
.page-home .home-vip-grid .item-list:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 62px rgba(15, 23, 42, 0.14) !important;
}

.page-home .home-listings-grid .photobox,
.page-home .home-vip-grid .photobox {
  background: #e8eef7 !important;
}

.page-home .home-listings-grid .add-image,
.page-home .home-vip-grid .add-image {
  aspect-ratio: 16 / 9 !important;
}

.page-home .home-listings-grid .add-image::after,
.page-home .home-vip-grid .add-image::after {
  height: 52%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.62) 100%);
}

.page-home .home-listings-grid .photo-count,
.page-home .home-vip-grid .photo-count {
  bottom: 18px !important;
  left: 18px !important;
  min-height: 36px;
  padding: 0 13px !important;
  border: 0 !important;
  background: rgba(17, 24, 39, 0.64) !important;
  font-size: 13px !important;
}

.page-home .home-listing-badge {
  top: 18px !important;
  left: 18px !important;
  right: auto !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.14) !important;
}

.page-home .home-listing-save {
  top: 18px !important;
  right: 18px !important;
  bottom: auto !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.96) !important;
}

.page-home .home-listings-grid .add-desc-box,
.page-home .home-vip-grid .add-desc-box {
  padding: 20px 20px 10px !important;
}

.page-home .home-listings-grid .add-title a,
.page-home .home-vip-grid .add-title a {
  color: #111827 !important;
  font-size: 28px !important;
  line-height: 1.08 !important;
  -webkit-line-clamp: 2;
}

.page-home .home-listings-grid .info-row,
.page-home .home-vip-grid .info-row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

.page-home .home-listings-grid .info-row > span,
.page-home .home-vip-grid .info-row > span,
.page-home .home-listing-category,
.page-home .home-listing-store {
  width: fit-content;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.page-home .home-listings-grid .price-box,
.page-home .home-vip-grid .price-box {
  padding: 6px 20px 20px !important;
}

.page-home .home-listings-grid .item-price,
.page-home .home-vip-grid .item-price {
  font-size: 44px !important;
  line-height: 1 !important;
  color: #2f72ed !important;
}

.page-home .home-listings-grid .text-nowrap,
.page-home .home-vip-grid .text-nowrap {
  gap: 12px;
}

.page-home .home-listing-actions {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

.page-home .home-listing-action,
.page-home .home-listings-grid .make-favorite,
.page-home .home-vip-grid .make-favorite {
  min-height: 56px !important;
  border-radius: 18px !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

.page-home .home-listing-action--message {
  border: 1px solid #d9e3ef !important;
  background: #fff !important;
  color: #111827 !important;
}

.page-home .home-listing-action--call {
  border: 0 !important;
  background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: #fff !important;
}

.page-home .home-listings-grid .make-favorite,
.page-home .home-vip-grid .make-favorite {
  display: none !important;
}

@media (max-width: 1199px) {
  .page-home .home-listings-grid,
  .page-home .home-vip-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .page-home .home-listings-grid,
  .page-home .home-vip-grid {
    gap: 18px !important;
  }

  .page-home .home-listings-grid .item-list,
  .page-home .home-vip-grid .item-list {
    border-radius: 24px !important;
  }

  .page-home .home-listings-grid .add-title a,
  .page-home .home-vip-grid .add-title a {
    font-size: 19px !important;
  }

  .page-home .home-listings-grid .info-row > span,
  .page-home .home-vip-grid .info-row > span,
  .page-home .home-listing-category,
  .page-home .home-listing-store {
    min-height: 34px;
    font-size: 12px !important;
  }

  .page-home .home-listings-grid .item-price,
  .page-home .home-vip-grid .item-price {
    font-size: 28px !important;
  }

  .page-home .home-listing-action {
    min-height: 50px !important;
    font-size: 16px !important;
  }
}

/* Listing cards v2: intentionally different composition for category/search pages. */
body:not(.page-home) .item-list {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas:
    "media"
    "content"
    "actions" !important;
  gap: 0 !important;
  overflow: hidden !important;
  border: 1px solid #ccd9ea !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fcfdff 100%) !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

body:not(.page-home) .item-list:hover {
  transform: translateY(-3px);
  border-color: #b6c8df !important;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.1) !important;
}

body:not(.page-home) .item-list [class*='col-sm-'] {
  width: 100% !important;
  float: none !important;
}

body:not(.page-home) .item-list .photobox {
  grid-area: media;
  padding: 0 !important;
}

body:not(.page-home) .item-list .add-image {
  position: relative;
  aspect-ratio: 16 / 10 !important;
  min-height: 0 !important;
  background: linear-gradient(135deg, #eef4fb 0%, #f8fbff 100%);
}

body:not(.page-home) .item-list .add-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(10, 20, 35, 0) 0%, rgba(10, 20, 35, 0.62) 100%);
  pointer-events: none;
}

body:not(.page-home) .item-list .add-image > a,
body:not(.page-home) .item-list .add-image img,
body:not(.page-home) .item-list img.thumbnail {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

body:not(.page-home) .item-list .add-image img,
body:not(.page-home) .item-list img.thumbnail {
  object-fit: cover !important;
  border-radius: 0 !important;
}

body:not(.page-home) .item-list .photo-count {
  top: auto !important;
  left: 16px !important;
  bottom: 16px !important;
  z-index: 3;
  min-height: 32px;
  padding: 0 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.62) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  backdrop-filter: blur(12px);
}

body:not(.page-home) .item-list .listing-media-overlay {
  position: absolute;
  inset: 16px 16px auto 16px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

body:not(.page-home) .item-list .listing-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 60px);
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.1);
}

body:not(.page-home) .item-list .listing-save-btn {
  pointer-events: auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.46) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #0f172a !important;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12) !important;
}

body:not(.page-home) .item-list .listing-save-btn span {
  display: none !important;
}

body:not(.page-home) .item-list .add-desc-box {
  grid-area: content;
  padding: 16px 16px 10px !important;
}

body:not(.page-home) .item-list .add-details {
  display: grid;
  gap: 8px;
}

body:not(.page-home) .item-list .listing-meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

body:not(.page-home) .item-list .listing-meta-pill,
body:not(.page-home) .item-list .add-type.business-ads {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  max-width: 100%;
  padding: 0 10px;
  border: 1px solid #e5edf6;
  border-radius: 999px;
  background: #f8fbff;
  color: #66758b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.1;
  box-shadow: none !important;
}

body:not(.page-home) .item-list .add-type.business-ads {
  justify-content: center;
  min-width: 34px;
  padding: 0 10px;
  border-color: #cde0ff;
  background: linear-gradient(180deg, #eef5ff 0%, #dbeafe 100%);
  color: #2156b8 !important;
}

body:not(.page-home) .item-list .add-title {
  margin: 0 auto !important;
  width: 100%;
  max-width: 92%;
  text-align: center !important;
}

body:not(.page-home) .item-list .add-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  text-align: center !important;
}

body:not(.page-home) .item-list .listing-meta-bottom {
  display: grid;
  gap: 6px;
  justify-items: center;
}

body:not(.page-home) .item-list .listing-section-label {
  color: #8c9bb0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body:not(.page-home) .item-list .info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px !important;
  margin: 0 !important;
  justify-content: center;
}

body:not(.page-home) .item-list .info-row > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body:not(.page-home) .item-list .info-row .category {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #efd78b !important;
  border-radius: 999px;
  background: linear-gradient(180deg, #fffaf0 0%, #fff1c9 100%) !important;
  color: #433112 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body:not(.page-home) .item-list .price-box {
  grid-area: actions;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 0 16px 16px !important;
  text-align: center !important;
  border: 0 !important;
  background: transparent !important;
}

body:not(.page-home) .item-list .listing-price-wrap {
  display: grid;
  gap: 2px;
  justify-items: center;
  padding: 10px 0 2px;
  border-top: 1px solid #e7eef6;
}

body:not(.page-home) .item-list .item-price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  justify-content: center;
  min-width: 108px;
  margin: 0 !important;
  padding: 8px 14px !important;
  border: 1px solid #d9e5f5;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%) !important;
  color: #2464e8 !important;
  font-size: 22px !important;
  font-weight: 950 !important;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08) !important;
}

body:not(.page-home) .item-list .item-price--empty {
  color: #0f172a !important;
  font-size: 20px !important;
}

body:not(.page-home) .item-list .listing-price-caption {
  color: #8c9bb0;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

body:not(.page-home) .item-list .text-nowrap {
  display: grid;
  gap: 8px;
  white-space: normal !important;
}

body:not(.page-home) .item-contact-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

body:not(.page-home) .item-contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

body:not(.page-home) .item-contact-action:hover {
  transform: translateY(-1px);
}

body:not(.page-home) .item-contact-action--message {
  border: 1px solid #d8e3ef !important;
  background: #ffffff !important;
  color: #0f172a !important;
}

body:not(.page-home) .item-contact-action--call {
  border: 1px solid #2d6df6 !important;
  background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.24);
}

body:not(.page-home) .item-list .make-favorite.notepad:not(.listing-save-btn) {
  display: none !important;
}

@media (max-width: 991px) {
  body:not(.page-home) .item-list .add-image {
    aspect-ratio: 16 / 11 !important;
  }

  body:not(.page-home) .item-list .add-title a {
    font-size: 15px !important;
  }

  body:not(.page-home) .item-list .item-price {
    font-size: 20px !important;
  }
}

@media (max-width: 767px) {
  body:not(.page-home) .item-list {
    border-radius: 16px !important;
  }

  body:not(.page-home) .item-list .listing-media-overlay {
    inset: 10px 10px auto 10px;
  }

  body:not(.page-home) .item-list .photo-count {
    left: 10px !important;
    bottom: 10px !important;
  }

  body:not(.page-home) .item-list .add-desc-box {
    padding: 14px 12px 8px !important;
  }

  body:not(.page-home) .item-list .price-box {
    padding: 0 12px 12px !important;
  }

  body:not(.page-home) .item-list .listing-price-wrap {
    padding: 10px 0 0;
  }

  body:not(.page-home) .item-list .add-title a {
    font-size: 14px !important;
    line-height: 1.22 !important;
  }

  body:not(.page-home) .item-list .item-price {
    font-size: 18px !important;
    min-width: 92px;
    padding: 7px 12px !important;
  }

  body:not(.page-home) .item-list .add-image {
    aspect-ratio: 16 / 10 !important;
  }

  body:not(.page-home) .item-list .listing-meta-top,
  body:not(.page-home) .item-list .info-row {
    gap: 6px !important;
  }

  body:not(.page-home) .item-list .listing-meta-pill,
  body:not(.page-home) .item-list .add-type.business-ads,
  body:not(.page-home) .item-list .info-row .category {
    min-height: 28px;
    padding: 0 10px;
    font-size: 10px !important;
  }

  body:not(.page-home) .item-contact-actions {
    grid-template-columns: 1fr;
  }

  body:not(.page-home) .item-contact-action {
    min-height: 38px;
    font-size: 12px !important;
    border-radius: 10px !important;
  }
}

/* Final compact pass: keep cards clean, compact, and stable on mobile. */
.page-home .home-market__vip,
.page-home .home-market__all {
  padding: 18px !important;
  border-radius: 24px !important;
}

.page-home .home-vip-grid,
.page-home .home-listings-grid {
  gap: 16px !important;
}

.page-home .home-vip-grid--carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
}

.page-home .home-vip-grid--carousel .item-list {
  flex: 0 0 calc((100% - 16px) / 2) !important;
  min-width: 320px !important;
  scroll-snap-align: start;
}

.page-home .home-listings-grid .item-list,
.page-home .home-vip-grid .item-list,
.page-home .home-vip-grid .item-list.make-grid,
.page-home .home-listings-grid .item-list.make-grid,
.page-home .home-vip-grid .item-list.make-compact,
.page-home .home-listings-grid .item-list.make-compact {
  border-radius: 20px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
}

.page-home .home-listings-grid .item-list:hover,
.page-home .home-vip-grid .item-list:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.11) !important;
}

.page-home .home-vip-grid .add-image,
.page-home .home-listings-grid .add-image {
  aspect-ratio: 16 / 10 !important;
}

.page-home .home-vip-grid .add-desc-box,
.page-home .home-listings-grid .add-desc-box {
  padding: 12px 14px 8px !important;
}

.page-home .home-vip-grid .price-box,
.page-home .home-listings-grid .price-box {
  gap: 8px !important;
  padding: 4px 14px 14px !important;
}

.page-home .home-vip-grid .add-details,
.page-home .home-listings-grid .add-details {
  gap: 8px !important;
}

.page-home .home-vip-grid .add-title,
.page-home .home-listings-grid .add-title {
  margin: 0 0 6px !important;
}

.page-home .home-vip-grid .add-title a,
.page-home .home-listings-grid .add-title a {
  min-height: 0 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  -webkit-line-clamp: 2 !important;
}

.page-home .home-vip-grid .info-row,
.page-home .home-listings-grid .info-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px !important;
}

.page-home .home-vip-grid .info-row > span,
.page-home .home-listings-grid .info-row > span,
.page-home .home-listing-category,
.page-home .home-listing-store {
  min-height: 28px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
  border-radius: 999px !important;
}

.page-home .home-vip-grid .item-price,
.page-home .home-listings-grid .item-price {
  font-size: 24px !important;
  line-height: 1 !important;
}

.page-home .home-listing-actions {
  gap: 8px !important;
}

.page-home .home-listing-action {
  min-height: 42px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
}

.page-home .home-listing-badge {
  top: 12px !important;
  left: 12px !important;
  padding: 8px 14px !important;
  font-size: 12px !important;
}

.page-home .home-listing-save {
  top: 12px !important;
  right: 12px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 14px !important;
}

.page-home .home-vip-grid .photo-count,
.page-home .home-listings-grid .photo-count {
  left: 12px !important;
  bottom: 12px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
}

body:not(.page-home) .item-list {
  border-radius: 18px !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07) !important;
}

body:not(.page-home) .item-list .add-image {
  aspect-ratio: 16 / 9 !important;
}

body:not(.page-home) .item-list .add-desc-box {
  padding: 12px 12px 8px !important;
}

body:not(.page-home) .item-list .price-box {
  gap: 8px !important;
  padding: 0 12px 12px !important;
}

body:not(.page-home) .item-list .add-details {
  gap: 8px !important;
}

body:not(.page-home) .item-list .add-title a {
  font-size: 17px !important;
  line-height: 1.2 !important;
}

body:not(.page-home) .item-list .listing-meta-top,
body:not(.page-home) .item-list .info-row {
  gap: 6px !important;
}

body:not(.page-home) .item-list .listing-meta-pill,
body:not(.page-home) .item-list .add-type.business-ads,
body:not(.page-home) .item-list .info-row .category {
  min-height: 28px !important;
  padding: 0 10px !important;
  font-size: 10px !important;
}

body:not(.page-home) .item-list .item-price {
  font-size: 22px !important;
}

body:not(.page-home) .item-contact-action {
  min-height: 40px !important;
  font-size: 13px !important;
}

@media (max-width: 991px) {
  .page-home .home-vip-grid--carousel .item-list {
    flex-basis: calc((100% - 16px) / 2) !important;
    min-width: 280px !important;
  }
}

@media (max-width: 767px) {
  .page-home .home-market__vip,
  .page-home .home-market__all {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .page-home .home-vip-grid,
  .page-home .home-listings-grid {
    gap: 12px !important;
  }

  .page-home .home-vip-grid--carousel {
    gap: 12px !important;
  }

  .page-home .home-vip-grid--carousel .item-list {
    flex-basis: 86% !important;
    min-width: 86% !important;
  }

  .page-home .home-listings-grid .item-list,
  .page-home .home-vip-grid .item-list {
    border-radius: 16px !important;
  }

  .page-home .home-vip-grid .add-image,
  .page-home .home-listings-grid .add-image,
  body:not(.page-home) .item-list .add-image {
    aspect-ratio: 16 / 10 !important;
  }

  .page-home .home-vip-grid .add-desc-box,
  .page-home .home-listings-grid .add-desc-box,
  body:not(.page-home) .item-list .add-desc-box {
    padding: 10px 10px 6px !important;
  }

  .page-home .home-vip-grid .price-box,
  .page-home .home-listings-grid .price-box,
  body:not(.page-home) .item-list .price-box {
    padding: 2px 10px 10px !important;
  }

  .page-home .home-vip-grid .add-title a,
  .page-home .home-listings-grid .add-title a,
  body:not(.page-home) .item-list .add-title a {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  .page-home .home-vip-grid .item-price,
  .page-home .home-listings-grid .item-price,
  body:not(.page-home) .item-list .item-price {
    font-size: 20px !important;
  }

  .page-home .home-vip-grid .info-row > span,
  .page-home .home-listings-grid .info-row > span,
  .page-home .home-listing-category,
  .page-home .home-listing-store,
  body:not(.page-home) .item-list .listing-meta-pill,
  body:not(.page-home) .item-list .add-type.business-ads,
  body:not(.page-home) .item-list .info-row .category {
    min-height: 26px !important;
    padding: 0 9px !important;
    font-size: 10px !important;
  }

  .page-home .home-listing-action,
  body:not(.page-home) .item-contact-action {
    min-height: 38px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }
}

@media (max-width: 991px) {
  .page-home .home-mobile-actions {
    display: none !important;
  }

  .page-home .home-mobile-nav {
    margin-top: 10px;
    padding: 16px 14px 18px;
    border: 1px solid #dde7f5;
    border-radius: 24px;
    background:
      radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), transparent 38%),
      linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  }

  .page-home .home-mobile-nav__section {
    position: relative;
  }

  .page-home .home-mobile-nav__section + .home-mobile-nav__section {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e8eef8;
  }

  .page-home .home-mobile-nav__label {
    margin-bottom: 10px;
    color: #24364d;
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .page-home .home-mobile-nav__track {
    gap: 12px;
    padding-right: 54px;
    padding-bottom: 6px;
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 34px), transparent 100%);
  }

  .page-home .home-mobile-nav__track a {
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid #d8e3f3;
    border-radius: 999px;
    background: #fff;
    color: #22324a !important;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(148, 163, 184, 0.12);
  }

  .page-home .home-mobile-nav__track a.is-primary {
    border-color: #bcd2fb;
    background: linear-gradient(180deg, #eff5ff 0%, #dfeaff 100%);
    color: #1d4ed8 !important;
  }

  .page-home .home-mobile-nav__section::after {
    content: "\2190  \041b\0438\0441\0442\0430\0439\0442\0435  \2192";
    display: block;
    margin-top: 8px;
    color: #7b8ba3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: right;
  }

  .page-home .home-mobile-nav__sticky {
    position: sticky;
    top: 72px;
    z-index: 8;
    margin-top: 12px;
  }

  .page-home .home-mobile-nav__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    width: 100%;
    border-radius: 18px;
    background: linear-gradient(180deg, #4d93ff 0%, #2457e6 100%);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
    color: #fff !important;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none !important;
  }

  .page-home .home-mobile-nav__cta .home-topbar__plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 18px;
    line-height: 1;
  }
}

@media (min-width: 992px) {
  .page-home .home-topbar {
    display: none !important;
  }
}

.page-home .home-hero-grid--legacy {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.72fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

.page-home .home-hero-grid--legacy .home-shell__hero,
.page-home .home-hero-grid--legacy .home-shell__meta {
  min-width: 0;
}

.page-home .home-hero-grid--legacy .home-hero {
  min-height: 100%;
  padding: 1.65rem;
}

.page-home .home-hero-grid--legacy .intro-title {
  font-size: clamp(1.95rem, 3vw, 3rem) !important;
}

.page-home .home-hero-grid--legacy .sub {
  max-width: 42rem;
}

.page-home .home-hero-grid--legacy .home-search .form-control {
  min-height: 54px !important;
}

.page-home .home-hero-grid--legacy .home-search__actions {
  margin-top: 0.1rem;
}

.page-home .home-hero-grid--legacy .home-btn {
  min-width: 220px;
}

.page-home .home-hero-grid--legacy .home-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-home .home-hero-grid--legacy .home-card--accent {
  padding: 1.5rem;
}

@media (max-width: 991px) {
  .page-home .home-hero-grid--legacy {
    grid-template-columns: 1fr !important;
  }

  .page-home .home-hero-grid--legacy .home-hero {
    padding: 1.1rem;
  }

  .page-home .home-hero-grid--legacy .home-search__row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .page-home .home-hero-grid--legacy .home-search__actions {
    flex-direction: column;
  }

  .page-home .home-hero-grid--legacy .home-btn {
    width: 100%;
    min-width: 0;
  }
}

/* Catalog cards visible redesign: stronger spacing, centered content, framed price. */
body:not(.page-home) .item-list {
  border: 2px solid #d6e2f2 !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%) !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07) !important;
}

body:not(.page-home) .item-list:hover {
  border-color: #a9c0df !important;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.11) !important;
}

body:not(.page-home) .item-list .add-desc-box {
  padding: 18px 18px 10px !important;
}

body:not(.page-home) .item-list .add-details {
  gap: 10px !important;
}

body:not(.page-home) .item-list .listing-meta-top {
  justify-content: center;
}

body:not(.page-home) .item-list .add-title {
  width: 100%;
  max-width: 100%;
  margin: 2px auto 0 !important;
  padding: 0 8px !important;
  text-align: center !important;
}

/* 2026-06-05 live hotfixes: restore desktop home nav, stop mobile overflow, stabilize forms */
@media (min-width: 992px) {
  .page-home .home-topbar {
    display: none !important;
  }

  .page-home .home-mobile-nav {
    display: none !important;
  }

  .page-home .header {
    display: block !important;
  }
}

@media (max-width: 991px) {
  html,
  body.page-home,
  .page-home .main-container--home,
  .page-home .main-container--home > .container,
  .page-home .home-hero-grid,
  .page-home .home-hero-grid--legacy,
  .page-home .home-shell__hero,
  .page-home .home-hero,
  .page-home .home-search,
  .page-home .home-search__row,
  .page-home .home-search__actions,
  .page-home .home-field {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: clip !important;
  }

  .page-home .home-hero,
  .page-home .home-shell__hero,
  .page-home .home-shell__meta,
  .page-home .home-card,
  .page-home .home-card--accent,
  .page-home .home-mobile-nav,
  .page-home .home-extras,
  .page-home .home-extras__promo,
  .page-home .home-extras__social {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-home .home-search .form-control,
  .page-home .home-btn,
  .page-home .home-chip,
  .page-home .home-mobile-nav__cta,
  .page-home .home-mobile-nav__track,
  .page-home .home-mobile-nav__track a {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .page-home .home-mobile-nav__track {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 8px !important;
  }

  .page-home .home-mobile-nav__track a {
    width: auto !important;
    flex: 0 0 auto !important;
  }

  .page-home .home-search__actions {
    gap: 12px !important;
  }

  .page-home .home-btn {
    min-width: 0 !important;
  }

  .page-home .home-topbar,
  .page-home .home-mobile-nav {
    display: none !important;
  }

  .page-home .header {
    display: block !important;
  }
}

.page-home .header {
  display: block !important;
}

.page-home .header {
  position: static !important;
  top: auto !important;
  left: auto !important;
  z-index: auto !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

.page-home .header .navbar-site {
  position: static !important;
  top: auto !important;
  width: min(1394px, calc(100% - 32px)) !important;
  margin: 14px auto 0 !important;
  border: 1px solid #dbe7f6 !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06) !important;
}

.page-home .header .navbar .container {
  width: 100% !important;
  max-width: none !important;
  padding: 16px 22px !important;
  box-sizing: border-box !important;
}

.page-home .header .navbar-header.left-head {
  width: auto !important;
  max-width: none !important;
}

.page-home .header .right-head {
  width: auto !important;
  min-width: 0 !important;
}

.page-home .header .navbar-collapse.collapse {
  justify-content: center !important;
}

.page-home .header .navbar-nav.navbar-right {
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px !important;
  max-width: 100% !important;
}

.page-home .header .navbar-nav.navbar-right > li {
  float: none !important;
}

.page-home .header .navbar-nav.navbar-right > li > a {
  white-space: nowrap !important;
}

.page-home .intro {
  padding-top: 18px !important;
}

.page-home .home-promo-legacy {
  margin-top: 18px;
}

.page-home .home-promo-legacy .block_promo_h {
  margin: 0 0 18px !important;
}

.page-home .header .navbar-nav.navbar-right > li > a {
  max-width: 100% !important;
}

.page-home .home-extras__promo,
.page-home .home-extras__social,
.page-home .home-promo-legacy,
.page-home .block_promo_h,
.page-home .block_b,
.page-home .category-content--home {
  overflow: hidden !important;
}

.page-home .block_promo_h .item-carousel .item,
.page-home .block_promo_h .item-carousel .item a,
.page-home .block_promo_h .item-name {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
  .page-home .header .navbar-site {
    width: min(100%, calc(100% - 16px)) !important;
  }

  .page-home .header .navbar .container {
    padding: 14px 16px !important;
  }
}

body:not(.page-home) .item-list .add-title a {
  display: block !important;
  text-align: center !important;
  font-size: 18px !important;
  line-height: 1.28 !important;
}

body:not(.page-home) .item-list .listing-meta-bottom {
  justify-items: center !important;
}

body:not(.page-home) .item-list .info-row {
  justify-content: center !important;
}

body:not(.page-home) .item-list .price-box {
  padding: 4px 18px 18px !important;
  gap: 10px !important;
  text-align: center !important;
}

body:not(.page-home) .item-list .listing-price-wrap {
  justify-items: center !important;
  gap: 6px !important;
  padding: 12px 0 4px !important;
  border-top: 1px solid #e5edf8 !important;
}

body:not(.page-home) .item-list .item-price {
  min-width: 124px !important;
  justify-content: center !important;
  padding: 10px 16px !important;
  border: 2px solid #d7e4f7 !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%) !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08) !important;
  font-size: 24px !important;
}

body:not(.page-home) .item-list .item-price--empty {
  min-width: 148px !important;
}

body:not(.page-home) .item-list .listing-price-caption {
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body:not(.page-home) .item-contact-actions {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

body:not(.page-home) .item-contact-action {
  min-height: 44px !important;
  border-radius: 14px !important;
}

body:not(.page-home) .item-contact-action--message {
  border: 1px solid #d6e1ee !important;
  background: #ffffff !important;
}

@media (max-width: 767px) {
  body:not(.page-home) .item-list {
    border-radius: 18px !important;
  }

  body:not(.page-home) .item-list .add-desc-box {
    padding: 14px 14px 8px !important;
  }

  body:not(.page-home) .item-list .add-title {
    padding: 0 4px !important;
  }

  body:not(.page-home) .item-list .add-title a {
    font-size: 15px !important;
  }

  body:not(.page-home) .item-list .price-box {
    padding: 2px 14px 14px !important;
  }

  body:not(.page-home) .item-list .item-price {
    min-width: 100px !important;
    padding: 8px 12px !important;
    font-size: 20px !important;
  }
}

/* Final sane catalog layout: compact, readable, stable on desktop and mobile. */
body:not(.page-home) .item-list {
  border: 1px solid #d7e1ee !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06) !important;
}

body:not(.page-home) .item-list:hover {
  transform: translateY(-2px);
  border-color: #c4d4e8 !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09) !important;
}

body:not(.page-home) .item-list .add-image {
  aspect-ratio: 16 / 9 !important;
}

body:not(.page-home) .item-list .listing-media-overlay {
  inset: 12px 12px auto 12px;
}

body:not(.page-home) .item-list .listing-category-badge {
  min-height: 32px;
  padding: 0 11px;
  font-size: 11px;
}

body:not(.page-home) .item-list .listing-save-btn {
  width: 36px;
  min-width: 36px;
  height: 36px;
}

body:not(.page-home) .item-list .photo-count {
  left: 12px !important;
  bottom: 12px !important;
}

body:not(.page-home) .item-list .add-desc-box {
  padding: 12px !important;
}

body:not(.page-home) .item-list .add-details {
  gap: 8px !important;
}

body:not(.page-home) .item-list .listing-meta-top {
  justify-content: flex-start;
  gap: 6px;
}

body:not(.page-home) .item-list .listing-meta-pill,
body:not(.page-home) .item-list .add-type.business-ads,
body:not(.page-home) .item-list .info-row .category {
  min-height: 28px;
  padding: 0 10px;
  font-size: 10px !important;
}

body:not(.page-home) .item-list .add-title {
  margin: 0 !important;
  width: 100%;
  max-width: 100%;
  padding: 0 !important;
  text-align: left !important;
}

body:not(.page-home) .item-list .add-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-align: left !important;
  font-size: 15px !important;
  line-height: 1.24 !important;
  font-weight: 800 !important;
}

body:not(.page-home) .item-list .listing-meta-bottom {
  justify-items: start;
  gap: 6px;
}

body:not(.page-home) .item-list .listing-section-label {
  font-size: 10px;
}

body:not(.page-home) .item-list .info-row {
  justify-content: flex-start;
  gap: 6px !important;
}

body:not(.page-home) .item-list .price-box {
  padding: 0 12px 12px !important;
  gap: 8px !important;
  text-align: left !important;
}

body:not(.page-home) .item-list .listing-price-wrap {
  justify-items: start;
  padding: 10px 0 0;
  gap: 4px;
  border-top: 1px solid #e6edf7;
}

body:not(.page-home) .item-list .item-price {
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 20px !important;
}

body:not(.page-home) .item-list .listing-price-caption {
  font-size: 10px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body:not(.page-home) .item-contact-actions {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

body:not(.page-home) .item-contact-action {
  min-height: 40px !important;
  padding: 0 10px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
}

body:not(.page-home) .item-contact-action--message {
  border: 1px solid #d7e2ef !important;
  background: #fff !important;
}

@media (max-width: 767px) {
  body:not(.page-home) .item-list {
    border-radius: 16px !important;
  }

  body:not(.page-home) .item-list .add-image {
    aspect-ratio: 16 / 10 !important;
  }

  body:not(.page-home) .item-list .add-desc-box {
    padding: 10px !important;
  }

  body:not(.page-home) .item-list .add-title a {
    font-size: 14px !important;
    line-height: 1.22 !important;
  }

  body:not(.page-home) .item-list .price-box {
    padding: 0 10px 10px !important;
  }

  body:not(.page-home) .item-list .item-price {
    font-size: 18px !important;
  }

  body:not(.page-home) .item-contact-actions {
    grid-template-columns: 1fr;
  }

  body:not(.page-home) .item-contact-action {
    min-height: 38px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }
}

/* 2026-06-05 home layout stabilization */
.page-home .header {
  display: none !important;
}

.page-home .intro .container,
.page-home .main-container > .container {
  width: min(1440px, calc(100% - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.page-home .home-dashboard__shell,
.page-home .home-main {
  min-width: 0 !important;
}

.page-home .home-main > *,
.page-home .home-topbar,
.page-home .home-hero-grid--legacy,
.page-home .home-map-banner,
.page-home .home-promo-legacy,
.page-home .home-extras,
.page-home .home-search,
.page-home .home-search__row,
.page-home .home-search__actions,
.page-home .home-field,
.page-home .home-field .form-control,
.page-home .home-shell__hero,
.page-home .home-shell__meta,
.page-home .home-hero,
.page-home .block_promo_h,
.page-home .block_promo_h .item-carousel,
.page-home .block_promo_h .item-carousel .item,
.page-home .block_promo_h .item-carousel .item a {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.page-home .home-topbar,
.page-home .home-hero-grid--legacy,
.page-home .home-map-banner,
.page-home .home-promo-legacy,
.page-home .home-extras,
.page-home .block_promo_h {
  width: 100% !important;
}

.page-home .home-hero-grid--legacy {
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr) !important;
}

.page-home .home-search {
  width: 100% !important;
}

.page-home .home-search__row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  width: 100% !important;
}

.page-home .home-search__actions {
  width: 100% !important;
  flex-wrap: wrap;
  gap: 14px !important;
}

.page-home .home-btn {
  flex: 1 1 240px;
  min-width: 0 !important;
  width: auto !important;
}

.page-home .home-promo-legacy {
  margin-top: 0 !important;
}

.page-home .home-promo-legacy .block_promo_h {
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid #edf0f6 !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.04) !important;
}

.page-home .block_promo_h .item-carousel {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  gap: 16px !important;
  margin: 0 !important;
  overflow: visible !important;
}

.page-home .block_promo_h .item-carousel .item {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.page-home .block_promo_h .item-carousel .item {
  padding: 0 !important;
}

.page-home .block_promo_h .item-carousel .item a {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100% !important;
  min-height: 100% !important;
  padding: 10px !important;
}

.page-home .block_promo_h .item-carousel-thumb {
  width: 100% !important;
  max-width: none !important;
}

.page-home .block_promo_h .item-name {
  text-align: left !important;
}

.page-home .block_promo_h .price {
  justify-content: flex-start !important;
}

@media (min-width: 992px) {
  .page-home .home-topbar {
    display: flex !important;
  }

  .page-home .home-mobile-nav {
    display: none !important;
  }

  .page-home .home-sidebar {
    display: block !important;
  }
}

@media (max-width: 991px) {
  .page-home .intro .container,
  .page-home .main-container > .container {
    width: calc(100% - 20px) !important;
  }

  .page-home .home-dashboard__shell {
    display: block !important;
  }

  .page-home .home-sidebar,
  .page-home .home-topbar,
  .page-home .home-shell__meta {
    display: none !important;
  }

  .page-home .home-mobile-nav {
    display: block !important;
  }

  .page-home .home-hero-grid--legacy {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .page-home .home-hero-grid--legacy .home-hero {
    padding: 20px !important;
  }

  .page-home .home-search__row,
  .page-home .home-search__actions,
  .page-home .block_promo_h .item-carousel {
    grid-template-columns: 1fr !important;
  }

  .page-home .home-search__actions {
    display: grid !important;
  }

  .page-home .home-btn,
  .page-home .home-chip,
  .page-home .block_promo_h .item-carousel .item a {
    width: 100% !important;
  }

  .page-home .home-quicklinks {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .page-home .home-promo-legacy .block_promo_h {
    padding: 18px !important;
    border-radius: 20px !important;
  }
}

/* 2026-06-05 home sane layout pass */
.page-home .intro .container,
.page-home .main-container--home > .container,
.page-home .main-container > .container {
  width: min(1360px, calc(100% - 32px)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.page-home .home-dashboard__shell {
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr) !important;
  gap: 20px !important;
  align-items: start !important;
  padding-left: 0 !important;
  min-height: 0 !important;
}

.page-home .intro .home-dashboard__shell,
.page-home .main-container--home > .container {
  padding-left: 0 !important;
}

.page-home .home-sidebar {
  position: sticky !important;
  left: auto !important;
  top: 20px !important;
  width: 280px !important;
  max-width: 280px !important;
  min-width: 280px !important;
}

.page-home .home-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  gap: 16px !important;
}

.page-home .home-main > *,
.page-home .home-topbar,
.page-home .home-hero-grid--legacy,
.page-home .home-map-banner,
.page-home .home-extras,
.page-home .home-market,
.page-home .category-content--home,
.page-home .block_promo_h,
.page-home .block_promo_h .item-carousel,
.page-home .home-vip-grid,
.page-home .home-listings-grid {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.page-home .home-hero-grid--legacy {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 280px !important;
  gap: 16px !important;
  align-items: stretch !important;
}

.page-home .home-hero,
.page-home .home-shell__hero,
.page-home .home-shell__meta {
  min-width: 0 !important;
  max-width: 100% !important;
}

.page-home .home-search,
.page-home .home-search__row,
.page-home .home-search__actions {
  width: 100% !important;
  min-width: 0 !important;
}

.page-home .home-search__row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 14px !important;
}

.page-home .home-search__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
}

.page-home .home-btn {
  flex: 1 1 220px !important;
  min-width: 0 !important;
  width: auto !important;
}

.page-home .home-extras {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr) !important;
  gap: 16px !important;
}

.page-home .home-extras__promo,
.page-home .home-extras__social,
.page-home .home-promo-legacy,
.page-home .block_promo_h {
  overflow: hidden !important;
}

.page-home .block_promo_h {
  margin: 0 !important;
}

.page-home .block_promo_h .item-carousel {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 14px !important;
  margin: 0 !important;
  overflow: visible !important;
}

.page-home .block_promo_h .item-carousel .item {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.page-home .block_promo_h .item-carousel .item a {
  width: 100% !important;
  min-width: 0 !important;
}

.page-home .home-vip-grid,
.page-home .home-listings-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.page-home .home-vip-grid .item-list,
.page-home .home-listings-grid .item-list {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 1199px) {
  .page-home .home-dashboard__shell {
    grid-template-columns: 248px minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .page-home .home-sidebar {
    width: 248px !important;
    max-width: 248px !important;
    min-width: 248px !important;
  }

  .page-home .home-hero-grid--legacy {
    grid-template-columns: minmax(0, 1fr) 240px !important;
  }

  .page-home .home-vip-grid,
  .page-home .home-listings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  .page-home .intro .container,
  .page-home .main-container--home > .container,
  .page-home .main-container > .container {
    width: calc(100% - 20px) !important;
  }

  .page-home .home-dashboard__shell,
  .page-home .main-container--home > .container {
    display: block !important;
    padding-left: 0 !important;
  }

  .page-home .home-sidebar,
  .page-home .home-topbar,
  .page-home .home-shell__meta {
    display: none !important;
  }

  .page-home .home-mobile-nav {
    display: block !important;
  }

  .page-home .home-main,
  .page-home .home-hero-grid--legacy,
  .page-home .home-extras,
  .page-home .home-vip-grid,
  .page-home .home-listings-grid,
  .page-home .block_promo_h .item-carousel,
  .page-home .home-search__row,
  .page-home .home-search__actions {
    grid-template-columns: 1fr !important;
  }

  .page-home .home-search__actions {
    display: grid !important;
  }

  .page-home .home-btn,
  .page-home .home-chip,
  .page-home .block_promo_h .item-carousel .item a {
    width: 100% !important;
  }
}

/* 2026-06-05 home grid column fix */
.page-home .home-sidebar {
  grid-column: 1 !important;
  justify-self: stretch !important;
  align-self: start !important;
}

.page-home .home-main {
  grid-column: 2 !important;
  justify-self: stretch !important;
  align-self: start !important;
  width: 100% !important;
}

.page-home .home-hero-grid--legacy {
  width: 100% !important;
}

.page-home .home-extras {
  grid-template-columns: minmax(0, 1fr) 280px !important;
}

@media (max-width: 1199px) {
  .page-home .home-extras {
    grid-template-columns: minmax(0, 1fr) 240px !important;
  }
}

@media (max-width: 991px) {
  .page-home .home-sidebar,
  .page-home .home-main {
    grid-column: auto !important;
    width: 100% !important;
  }

  .page-home .home-extras {
    grid-template-columns: 1fr !important;
  }
}

/* 2026-06-05 home visual cleanup */
.page-home .home-extras {
  align-items: start !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 20px !important;
}

.page-home .home-extras__promo,
.page-home .home-extras__social {
  min-width: 0 !important;
  border-radius: 24px !important;
}

.page-home .home-extras__promo {
  padding: 28px !important;
}

.page-home .home-extras__social {
  padding: 18px 18px 20px !important;
}

.page-home .home-extras__social .home-extras__head {
  margin-bottom: 16px !important;
}

.page-home .block_promo_h {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.page-home .block_promo_h .title-2,
.page-home .block_promo_h .carousel-nav,
.page-home .block_promo_h .owl-controls {
  display: none !important;
}

.page-home .block_promo_h .row,
.page-home .block_promo_h .col-lg-12,
.page-home .block_promo_h .owl-wrapper-outer {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.page-home .block_promo_h .owl-wrapper-outer {
  overflow: visible !important;
}

.page-home .block_promo_h .owl-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  left: auto !important;
  transform: none !important;
}

.page-home .block_promo_h .owl-item {
  width: auto !important;
  float: none !important;
}

.page-home .block_promo_h .owl-item:nth-child(n + 5) {
  display: none !important;
}

.page-home .block_promo_h .item-carousel .item,
.page-home .block_promo_h .item-carousel .item a {
  height: 100% !important;
}

.page-home .block_promo_h .item-carousel .item a {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  padding: 14px !important;
  border: 1px solid #e8eef8 !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
}

.page-home .block_promo_h .item-carousel-thumb {
  display: block !important;
  aspect-ratio: 4 / 3 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #eef4ff !important;
}

.page-home .block_promo_h .item-carousel-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.page-home .block_promo_h .item-name {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 4 !important;
  min-height: 5.6em !important;
  margin: 0 !important;
  color: #23324d !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

.page-home .block_promo_h .price {
  margin-top: auto !important;
  color: #2563eb !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.page-home .block_promo_h .price .fa {
  margin-right: 6px !important;
}

.page-home .home-social-auth {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.page-home .home-social-auth__link {
  width: 100% !important;
  min-width: 0 !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
}

.page-home .home-social-auth__caption {
  margin-top: 14px !important;
}

@media (max-width: 1199px) {
  .page-home .home-extras {
    grid-template-columns: minmax(0, 1fr) 260px !important;
  }
}

@media (max-width: 991px) {
  .page-home .home-extras {
    grid-template-columns: 1fr !important;
  }

  .page-home .home-extras__promo,
  .page-home .home-extras__social {
    padding: 20px !important;
    width: 100% !important;
  }

  .page-home .block_promo_h .owl-wrapper {
    grid-template-columns: 1fr !important;
  }

  .page-home .block_promo_h .owl-item:nth-child(n + 4) {
    display: none !important;
  }

  .page-home .home-social-auth {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .page-home .home-social-auth {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* 2026-06-05 vip carousel and social row final pass */
.page-home .home-vip-carousel {
  overflow: hidden !important;
}

.page-home .home-vip-carousel__controls[hidden] {
  display: none !important;
}

.page-home .home-vip-grid.home-vip-grid--carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  gap: 16px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 4px 2px 10px !important;
  scroll-snap-type: x proximity !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.page-home .home-vip-grid.home-vip-grid--carousel::-webkit-scrollbar {
  display: none !important;
}

.page-home .home-vip-grid.home-vip-grid--carousel .item-list,
.page-home .home-vip-grid.home-vip-grid--carousel .item-list.make-grid,
.page-home .home-vip-grid.home-vip-grid--carousel .item-list.make-compact {
  flex: 0 0 calc((100% - 32px) / 3) !important;
  width: calc((100% - 32px) / 3) !important;
  max-width: calc((100% - 32px) / 3) !important;
  min-width: calc((100% - 32px) / 3) !important;
  margin: 0 !important;
  scroll-snap-align: start !important;
}

.page-home .home-social-auth {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.page-home .home-social-auth__link {
  flex: 0 0 40px !important;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  aspect-ratio: auto !important;
  border-radius: 14px !important;
  font-size: 18px !important;
}

.page-home .home-social-auth__caption {
  margin-top: 12px !important;
}

@media (max-width: 991px) {
  .page-home .home-vip-grid.home-vip-grid--carousel .item-list,
  .page-home .home-vip-grid.home-vip-grid--carousel .item-list.make-grid,
  .page-home .home-vip-grid.home-vip-grid--carousel .item-list.make-compact {
    flex-basis: calc((100% - 16px) / 2) !important;
    width: calc((100% - 16px) / 2) !important;
    max-width: calc((100% - 16px) / 2) !important;
    min-width: calc((100% - 16px) / 2) !important;
  }

  .page-home .home-social-auth {
    gap: 8px !important;
  }

  .page-home .home-social-auth__link {
    flex-basis: 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
  }
}

@media (max-width: 640px) {
  .page-home .home-vip-grid.home-vip-grid--carousel .item-list,
  .page-home .home-vip-grid.home-vip-grid--carousel .item-list.make-grid,
  .page-home .home-vip-grid.home-vip-grid--carousel .item-list.make-compact {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
  }

  .page-home .home-social-auth {
    gap: 6px !important;
  }

  .page-home .home-social-auth__link {
    flex-basis: 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
  }
}
