:root {
  --avto-black: #000000;
  --avto-gray: #414042;
  --avto-white: #ffffff;
  --avto-accent: #07b09a;
  --avto-radius-sm: 6px;
  --avto-radius-md: 10px;
  --avto-radius-lg: 14px;
  --avto-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --avto-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body {
  background: var(--avto-white);
  color: var(--avto-black);
  font-family: "Segoe UI", "Arial", sans-serif;
}

a {
  color: var(--avto-black);
}

a:hover {
  color: var(--avto-accent);
}

.site-content {
  min-height: 60vh;
}

.hero-strip {
  background: linear-gradient(135deg, rgba(7, 176, 154, 0.12), rgba(65, 64, 66, 0.08));
  border-radius: var(--avto-radius-lg);
}

.hero-strip-catalog {
  background-image: linear-gradient(135deg, rgba(10, 20, 30, 0.72), rgba(20, 34, 50, 0.6)),
    url("../img/bg-catalog.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
}

.hero-strip-catalog h1,
.hero-strip-catalog p {
  color: #ffffff;
}

.btn-avto-accent {
  background: var(--avto-accent);
  border-color: var(--avto-accent);
  color: var(--avto-white);
}

.btn-avto-accent:hover,
.btn-avto-accent:focus {
  background: #069985;
  border-color: #069985;
  color: var(--avto-white);
}

.btn-avto-outline {
  border: 1px solid var(--avto-gray);
  color: var(--avto-gray);
  background: transparent;
}

.btn-avto-outline:hover,
.btn-avto-outline:focus {
  border-color: var(--avto-accent);
  color: var(--avto-accent);
}

.btn-avto-icon {
  position: relative;
  width: 44px;
  height: 44px;
  display: block;
  border: 1px solid #d6d8da;
  border-radius: 12px;
  background: #fff;
  color: #1f2937;
  transition: all 0.2s ease;
}

.btn-avto-icon svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  object-fit: contain;
}

.btn-avto-icon:hover,
.btn-avto-icon:focus {
  border-color: var(--avto-accent);
  color: var(--avto-accent);
  box-shadow: 0 6px 16px rgba(7, 176, 154, 0.15);
}

.btn-avto-icon-cart {
  position: relative;
}

.avto-mini-cart-count-badge {
  position: absolute;
  right: -5px;
  top: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #dc3545;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border: 2px solid #fff;
}

.site-header {
  background: var(--avto-white);
}

.site-header .topbar {
  background: #212226;
  color: #e5e7eb;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.site-header .topbar .navbar-brand,
.site-header .topbar .text-reset,
.site-header .topbar .avto-top-phone {
  color: #f9fafb !important;
}

.avto-logo {
  display: block;
  width: 138px !important;
  max-width: 138px !important;
  height: 44px !important;
  max-height: 44px !important;
  object-fit: contain;
}

.site-header .topbar .navbar-brand {
  padding: 0;
  margin-right: 8px;
}

.site-header .topbar .navbar-brand:hover,
.site-header .topbar .avto-top-phone:hover {
  color: #5eead4 !important;
}

.avto-top-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.avto-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.avto-mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.avto-catalog-mobile-row {
  display: block;
}

.avto-mobile-search-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.avto-mobile-search-modal .modal-content {
  border: 1px solid #d9e2ee;
  border-radius: 14px;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
}

.avto-mobile-search-modal .modal-header {
  border-bottom: 1px solid #edf2f7;
}

.avto-mobile-search-modal .modal-title {
  font-size: 1rem;
  font-weight: 700;
}

.avto-top-nav {
  margin-left: auto;
  flex: 0 1 auto;
  min-width: 240px;
}

.avto-top-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.avto-top-menu li {
  margin: 0;
}

.avto-top-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.avto-top-menu a:hover,
.avto-top-menu a:focus {
  color: #5eead4;
  border-bottom-color: rgba(94, 234, 212, 0.8);
}

.avto-topbar-offcanvas {
  max-width: 320px;
}

.avto-mobile-top-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.avto-mobile-top-menu li {
  margin: 0;
}

.avto-mobile-top-menu a {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #1f2937;
  text-decoration: none;
  font-weight: 600;
  background: #fff;
}

.avto-mobile-top-menu a:hover,
.avto-mobile-top-menu a:focus {
  color: var(--avto-accent);
  border-color: var(--avto-accent);
}

.avto-catalog-menu .dropdown-toggle::after {
  margin-left: 0.55rem;
}

.site-header .container-xl.py-3 {
  position: relative;
}

.avto-catalog-menu {
  position: static;
}

.avto-catalog-mega {
  width: auto;
  max-width: none;
  left: 0;
  right: 0;
  border: 1px solid #dfe3e8;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 24px 44px rgba(17, 24, 39, 0.16);
}

.avto-catalog-mega-inner {
  background: #fff;
}

.avto-catalog-mega-side {
  padding: 20px;
  background: linear-gradient(150deg, rgba(7, 176, 154, 0.16), rgba(65, 64, 66, 0.06));
  border-right: 1px solid #e5e7eb;
}

.avto-catalog-mega-eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f6e64;
  font-weight: 700;
}

.avto-catalog-mega-title {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 800;
  margin: 0;
}

.avto-catalog-mega-text {
  color: #374151;
  font-size: 0.95rem;
}

.avto-catalog-mega-grid-wrap {
  padding: 16px;
  max-height: 65vh;
  overflow: auto;
}

.avto-catalog-term-card {
  height: 100%;
  padding: 12px;
  border: 1px solid #eceff3;
  border-radius: 12px;
  background: #fff;
}

.avto-catalog-term-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 8px;
}

.avto-catalog-term-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 3px;
  flex: 0 0 auto;
}

.avto-catalog-term-icon-placeholder {
  display: inline-block;
}

.avto-catalog-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.avto-catalog-sublist a {
  text-decoration: none;
  color: #4b5563;
  font-size: 0.92rem;
}

.avto-catalog-sublist a:hover,
.avto-catalog-sublist a:focus {
  color: var(--avto-accent);
}

.avto-catalog-sublist.depth-2,
.avto-catalog-sublist.depth-3,
.avto-catalog-sublist.depth-4 {
  margin-top: 6px;
  margin-left: 14px;
  padding-left: 10px;
  border-left: 1px dashed #d1d5db;
}

.avto-catalog-sublist.depth-2 a,
.avto-catalog-sublist.depth-3 a,
.avto-catalog-sublist.depth-4 a {
  font-size: 0.88rem;
  color: #6b7280;
}

.vehicle-selector,
.filter-panel,
.product-card,
.garage-card,
.category-portal,
.pdp-gallery,
.buy-box {
  border: 1px solid #e6e7e8;
  border-radius: var(--avto-radius-md);
  background: var(--avto-white);
  box-shadow: var(--avto-shadow-sm);
}

.product-card {
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
}

.avto-sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  height: auto;
  background: linear-gradient(135deg, #ff7a18, #ff3d54);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 999px;
  z-index: 2;
}

.avto-sale-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
  font-weight: 600;
}

.avto-sale-note-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
}

.avto-price-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.avto-price-old {
  font-size: 0.9rem;
  color: #6c757d;
  text-decoration: line-through;
}

.avto-price-sale {
  font-weight: 800;
  color: #d62828;
}

.btn-avto-cart-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.btn-avto-cart-icon svg {
  width: 24px;
  height: 24px;
}

.avto-mini-cart {
  position: relative;
}

body.avto-mini-cart-open {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .site-header .topbar .container-xl {
    gap: 10px;
  }

  .avto-top-nav {
    order: 3;
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .avto-top-menu {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .site-header .btn-avto-outline.w-100 {
    min-height: 44px;
  }

  .avto-logo {
    width: 112px !important;
    max-width: 112px !important;
    height: 36px !important;
    max-height: 36px !important;
  }

  .avto-top-actions {
    gap: 6px;
  }

  .avto-top-actions .btn-avto-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .avto-top-actions .btn-avto-icon svg {
    width: 22px;
    height: 22px;
  }

  .avto-catalog-menu .dropdown-toggle {
    width: auto !important;
    min-height: 44px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .avto-catalog-mobile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .avto-catalog-mobile-row .avto-catalog-menu {
    flex: 1 1 auto;
    min-width: 0;
  }

  .avto-catalog-mobile-row .avto-catalog-menu .dropdown-toggle {
    width: 100% !important;
  }

  .avto-mobile-search-toggle {
    flex: 0 0 auto;
  }

  .site-header .container-xl.py-3 .row > .col {
    min-width: 0;
  }

  .site-header .container-xl.py-3 form .form-control {
    min-width: 0;
  }

  .avto-catalog-menu {
    width: auto;
  }

  .avto-catalog-mega {
    width: 100%;
    margin-top: 8px;
  }

  .avto-catalog-mega-side {
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }
}

@media (max-width: 575.98px) {
  .site-header .topbar {
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
  }

  .site-header .topbar .navbar-brand {
    margin-right: 0;
  }

  .site-header .container-xl.py-3 {
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
  }

  .site-header .container-xl.py-3 form .btn {
    padding-left: 12px;
    padding-right: 12px;
  }
}

.avto-mini-cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.45);
  opacity: 0;
  transition: opacity 0.26s ease;
  z-index: 1190;
}

.avto-mini-cart-backdrop.is-open {
  opacity: 1;
}

.avto-mini-cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(96vw, 420px);
  height: 100dvh;
  background: #fff;
  color: #111827;
  border-left: 1px solid #e6e7e8;
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.2);
  z-index: 99999;
  transform: translateX(102%);
  transition: transform 0.26s ease;
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .avto-mini-cart-panel {
    width: 460px;
  }
}

.avto-mini-cart-panel.is-open {
  transform: translateX(0);
}

.avto-mini-cart-panel-header,
.avto-mini-cart-footer {
  padding: 12px;
  border-bottom: 1px solid #f0f1f2;
}

.avto-mini-cart-panel-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.avto-mini-cart-footer {
  border-bottom: 0;
  border-top: 1px solid #f0f1f2;
}

.avto-mini-cart-items {
  padding: 8px 12px;
  flex: 1 1 auto;
  overflow: auto;
}

.avto-mini-cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #eceff1;
}

.avto-mini-cart-item:last-child {
  border-bottom: 0;
}

.avto-mini-cart-item-link {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex: 1 1 auto;
  min-width: 0;
}

.avto-mini-cart-thumb {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  background: #f7f8f8;
}

.avto-mini-cart-thumb-placeholder {
  display: inline-block;
}

.avto-mini-cart-meta {
  min-width: 0;
}

.avto-mini-cart-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.avto-mini-cart-line {
  font-size: 12px;
  color: #6b7280;
}

.avto-mini-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex: 0 0 auto;
}

.avto-mini-cart-qty-btn {
  width: 24px;
  height: 24px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #1f2937;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  font-size: 16px;
}

.avto-mini-cart-qty-btn:hover,
.avto-mini-cart-qty-btn:focus {
  border-color: var(--avto-accent);
  color: var(--avto-accent);
}

.avto-mini-cart-qty-value {
  min-width: 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.avto-mini-cart-remove {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: 0 0 auto;
  transition: color 0.2s ease;
}

.avto-mini-cart-remove:hover,
.avto-mini-cart-remove:focus {
  background: transparent;
  color: #6b7280;
}

.avto-mini-cart-remove svg {
  width: 14px;
  height: 14px;
}

.avto-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #198754;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 9999;
  pointer-events: none;
  font-weight: 600;
}

.avto-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.avto-toast.is-error {
  background: #dc3545;
}

.avto-checkout .form-label {
  font-weight: 600;
}

.avto-checkout-placeholder {
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  padding: 12px;
  background: #f9fafb;
  color: #4b5563;
}

.avto-checkout-payments {
  display: grid;
  gap: 10px;
}

.avto-payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.avto-payment-option:has(input:checked) {
  border-color: var(--avto-accent);
  box-shadow: 0 0 0 3px rgba(7, 176, 154, 0.12);
}

.avto-payment-option input {
  margin: 0;
}

.avto-checkout-items {
  display: grid;
  gap: 12px;
}

.avto-checkout-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 10px;
  border: 1px solid #eceff3;
  border-radius: 12px;
  background: #fff;
}

.avto-checkout-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  background: #f7f8f8;
}

.avto-checkout-item-thumb-placeholder {
  display: inline-block;
}

.avto-checkout-item-name {
  text-decoration: none;
  font-weight: 700;
  line-height: 1.3;
}

.avto-checkout-item-sku {
  font-size: 12px;
  color: #9ca3af;
}

.avto-checkout-item-meta {
  font-size: 13px;
  color: #4b5563;
}

.avto-checkout-item-old {
  font-size: 12px;
  color: #9ca3af;
  text-decoration: line-through;
}

.avto-checkout-item-total {
  font-weight: 700;
  white-space: nowrap;
}

.avto-city-select {
  position: relative;
}

.avto-city-select-dropdown {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
  max-height: 260px;
  overflow: auto;
}

.avto-city-select-option {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.95rem;
}

.avto-city-select-option:last-child {
  border-bottom: 0;
}

.avto-city-select-option:hover,
.avto-city-select-option.is-active {
  background: #eef6ff;
}

.avto-city-select-empty {
  padding: 10px 12px;
  color: #6b7280;
  font-size: 0.9rem;
}

@media (max-width: 575.98px) {
  .avto-checkout-item {
    grid-template-columns: 56px 1fr;
  }

  .avto-checkout-item-total {
    grid-column: 2;
    justify-self: end;
  }
}

.site-footer {
  background: #f7f8f8;
}

.avto-account-nav {
  gap: 8px;
  border-bottom: 0;
}

.avto-account-nav .nav-item {
  width: 100%;
}

.avto-account-nav .nav-link {
  display: block;
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  color: #374151;
  background: #fff;
}

.avto-account-nav .nav-link:hover,
.avto-account-nav .nav-link:focus {
  border-color: var(--avto-accent);
  color: var(--avto-accent);
}

.avto-account-nav .nav-link.active {
  color: #fff;
  background: var(--avto-accent);
  border-color: var(--avto-accent);
}

@media (min-width: 992px) {
  .avto-account-nav {
    flex-direction: column;
    position: sticky;
    top: 90px;
  }
}

.avto-contacts-hero {
  border-radius: 18px;
  color: #fff;
  background-image: linear-gradient(125deg, rgba(12, 20, 34, 0.92), rgba(7, 176, 154, 0.58)),
    url("../img/bg-catalog.webp");
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.18);
}

.avto-contacts-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.avto-contact-tile {
  border: 1px solid #d9dde3;
  border-radius: 14px;
  background: linear-gradient(165deg, #ffffff, #f7fafc);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.avto-contact-link {
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}

.avto-contact-link:hover,
.avto-contact-link:focus {
  color: #0a5c56;
  text-decoration: underline;
}

.avto-contact-hours {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.home-blog-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.home-blog-thumb-link {
  display: block;
}

.home-blog-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.home-blog-date {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 700;
}

.home-seo-content {
  line-height: 1.72;
}

.home-seo-content h2,
.home-seo-content h3 {
  margin-top: 0.8rem;
  margin-bottom: 0.85rem;
}

.home-seo-content ul {
  padding-left: 1.25rem;
}

.blog-hero {
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(125deg, rgba(17, 24, 39, 0.95), rgba(7, 176, 154, 0.55));
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.18);
}

.blog-hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

.blog-list-card .h5,
.blog-list-card .h6 {
  line-height: 1.35;
}

.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-numbers li {
  margin: 0;
}

.page-numbers a,
.page-numbers span {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  text-decoration: none;
  color: #1f2937;
  background: #fff;
  font-weight: 600;
  padding: 0 12px;
}

.page-numbers .current {
  background: var(--avto-accent);
  color: #fff;
  border-color: var(--avto-accent);
}

.catalog-pagination-wrap {
  display: flex;
  justify-content: center;
}

.avto-selected-vehicle {
  border-radius: 12px;
  background: linear-gradient(165deg, #ffffff, #f8fafc);
}

.avto-selected-vehicle [data-avto-selected-vehicle-text] {
  font-weight: 700;
  color: #111827;
  margin-left: 6px;
}

.catalog-pagination {
  --catalog-pagination-bg: linear-gradient(140deg, #f8fafc, #eef5ff);
  --catalog-pagination-border: #dbe7f7;
  --catalog-pagination-text: #1f2937;
  --catalog-pagination-accent: var(--avto-accent);
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--catalog-pagination-border);
  border-radius: 16px;
  background: var(--catalog-pagination-bg);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.catalog-pagination-item {
  margin: 0;
}

.catalog-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #d1ddee;
  background: #ffffff;
  color: var(--catalog-pagination-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.catalog-pagination a.page-numbers:hover,
.catalog-pagination a.page-numbers:focus-visible {
  color: #ffffff;
  border-color: var(--catalog-pagination-accent);
  background: var(--catalog-pagination-accent);
  box-shadow: 0 8px 16px rgba(20, 80, 160, 0.2);
  transform: translateY(-1px);
  outline: none;
}

.catalog-pagination .page-numbers.current {
  color: #ffffff;
  border-color: var(--catalog-pagination-accent);
  background: var(--catalog-pagination-accent);
  box-shadow: 0 10px 20px rgba(20, 80, 160, 0.24);
}

.catalog-pagination .page-numbers.prev,
.catalog-pagination .page-numbers.next {
  padding: 0 16px;
}

.catalog-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: #6b7280;
  min-width: 24px;
  padding: 0 4px;
}

@media (max-width: 575.98px) {
  .catalog-pagination {
    width: 100%;
    padding: 10px;
    border-radius: 14px;
  }

  .catalog-pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .catalog-pagination .page-numbers.prev,
  .catalog-pagination .page-numbers.next {
    flex: 1 1 calc(50% - 6px);
  }
}

.blog-single-hero {
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(130deg, rgba(3, 7, 18, 0.94), rgba(31, 41, 55, 0.88));
}

.blog-single-date {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.blog-single-image-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.blog-single-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.blog-single-content {
  line-height: 1.78;
}

.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4 {
  margin-top: 1rem;
  margin-bottom: 0.8rem;
}
