/* ==========================================================================
   Lada Niva Delovi — site design system (red theme)
   Self-contained: no Bootstrap. Public site only (admin is separate).
   ========================================================================== */

:root {
  --red: #ce1b22;
  --red-dark: #a8141a;
  --red-soft: #fdeaea;
  --green: #2e9e4f;
  --green-dark: #25813f;
  --slate: #2d3a45;
  --slate-dark: #222c34;
  --bg: #f4f5f6;
  --card: #ffffff;
  --border: #e5e7eb;
  --text: #232830;
  --muted: #6b7280;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.06);
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family:
    "Roboto",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section--tight {
  padding: 40px 0;
}

.section-title {
  text-align: center;
  font-size: 28px;
  color: var(--slate);
  text-transform: none;
  margin-bottom: 32px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--red);
  margin: 14px auto 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.05s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--red {
  background: var(--red);
  color: #fff;
}

.btn--red:hover {
  background: var(--red-dark);
}

.btn--green {
  background: var(--green);
  color: #fff;
}

.btn--green:hover {
  background: var(--green-dark);
}

.btn--slate {
  background: var(--slate);
  color: #fff;
}

.btn--slate:hover {
  background: var(--slate-dark);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--red);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
}

.brand i {
  font-size: 26px;
}

.brand img {
  height: 40px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
}

.header-phone i {
  opacity: 0.9;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 18px;
  border: none;
  position: relative;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.icon-btn--solid {
  background: #fff;
  color: var(--red);
}

.icon-btn--solid:hover {
  background: #f1f1f1;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--slate);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 6px;
}

/* Secondary nav strip */
.nav-strip {
  background: var(--slate);
  color: #fff;
}

.nav-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a,
.dropdown-toggle {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 6px;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.main-nav a:hover,
.dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: #fff;
  color: var(--text);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
  z-index: 250;
  max-height: 25vh;
  overflow-y: auto;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
}

.dropdown-menu a:hover {
  background: var(--red-soft);
  color: var(--red);
}

.search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  width: 320px;
  max-width: 100%;
}

.search-form input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  color: var(--text);
  background: #fff;
}

.search-form button {
  border: none;
  background: var(--red);
  color: #fff;
  padding: 0 16px;
  align-self: stretch;
  font-size: 15px;
}

.search-form button:hover {
  background: var(--red-dark);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  /* Layers top->bottom: dark gradient, photo (drop in as hero-banner.jpg),
       SVG fallback (shows until the photo exists). */
  background-image:
    linear-gradient(
      100deg,
      rgba(18, 22, 19, 0.94) 0%,
      rgba(18, 22, 19, 0.72) 38%,
      rgba(18, 22, 19, 0.25) 70%,
      rgba(18, 22, 19, 0.1) 100%
    ),
    url("../img/hero-banner.jpg"), url("../img/hero-banner.svg");
  background-size: cover, cover, cover;
  background-position:
    center,
    center right,
    center right;
  background-repeat: no-repeat, no-repeat, no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 88px 0;
  max-width: 620px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.12;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Category cards
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 22px;
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.cat-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  display: block;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.14);
}

.cat-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eceef0;
}

.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card-label {
  background: var(--slate);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 10px;
}

.cat-card-label small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Carousel (categories slider)
   -------------------------------------------------------------------------- */
.carousel {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 22px;
  padding: 6px 2px;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.carousel-track > * {
  flex: 0 0 calc((100% - 3 * 22px) / 4);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.22);
  z-index: 5;
  transition:
    background 0.15s ease,
    opacity 0.15s ease;
}

.carousel-btn:hover {
  background: var(--red-dark);
}

.carousel-prev {
  left: -18px;
}

.carousel-next {
  right: -18px;
}

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card h3 {
  font-size: 16px;
  color: var(--slate);
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.product-card-img {
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 14px;
}

.product-price span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.product-card .btn {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Trust badges
   -------------------------------------------------------------------------- */
.trust {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 26px;
  border-left: 1px solid var(--border);
}

.trust-item:first-child {
  border-left: none;
}

.trust-item i {
  font-size: 30px;
  color: var(--red);
}

.trust-item strong {
  display: block;
  font-size: 15px;
  color: var(--slate);
}

.trust-item span {
  font-size: 13px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}

.cta h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 26px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-header {
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 0;
  border-bottom: 4px solid var(--red);
}

.page-header h1 {
  font-size: 38px;
}

.page-header p {
  margin: 12px 0 0;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Prose / content card
   -------------------------------------------------------------------------- */
.prose-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px;
  max-width: 900px;
  margin: 0 auto;
}

.prose-card h2 {
  color: var(--slate);
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.prose-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background: var(--red);
}

.prose-card p {
  margin: 0 0 18px;
  color: #3a4049;
  font-size: 16px;
  line-height: 1.75;
}

.prose-card p:last-child {
  margin-bottom: 0;
}

.prose-card .lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--slate);
}

@media (max-width: 560px) {
  .prose-card {
    padding: 26px 22px;
  }

  .page-header h1 {
    font-size: 28px;
  }
}

/* --------------------------------------------------------------------------
   Product description snippet
   -------------------------------------------------------------------------- */
.product-card .product-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  min-height: 36px;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.pagination {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 44px 0 0;
}

.pagination .page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--slate);
  font-weight: 600;
  font-size: 15px;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.pagination .page-item .page-link:hover {
  background: var(--red-soft);
  border-color: var(--red);
  color: var(--red);
}

.pagination .page-item.active .page-link {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Empty state
   -------------------------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.empty-state i {
  font-size: 46px;
  color: var(--border);
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--red-dark);
  color: rgba(255, 255, 255, 0.9);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
}

.footer-inner a {
  color: #fff;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Orders
   -------------------------------------------------------------------------- */
.order-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
}

.order-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.order-card-top img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #f4f5f6;
  border-radius: 8px;
  flex: none;
}

.order-name {
  font-weight: 700;
  color: var(--slate);
}

.order-price {
  margin-left: auto;
  font-weight: 800;
  color: var(--red);
  font-size: 19px;
  white-space: nowrap;
}

.order-card-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: #3a4049;
}

.order-card-meta .lbl {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 2px;
}

.order-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.badge--ordered {
  background: #eef2ff;
  color: #3949ab;
}

.badge--progress {
  background: #fff4e5;
  color: #b26a00;
}

.badge--done {
  background: #e6f4ea;
  color: var(--green-dark);
}

.badge--cancel {
  background: var(--red-soft);
  color: var(--red-dark);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}

@media (max-width: 560px) {
  .order-card-top {
    flex-wrap: wrap;
  }

  .order-price {
    margin-left: 0;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Cart
   -------------------------------------------------------------------------- */
.cart-list {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr 90px 130px 96px;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-top: 1px solid var(--border);
}

.cart-item:first-child {
  border-top: none;
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #f4f5f6;
  border-radius: 8px;
}

.cart-item .cart-name {
  font-weight: 600;
  color: var(--slate);
}

.cart-item .cart-qty {
  color: var(--muted);
  font-size: 14px;
}

.cart-item .cart-price {
  font-weight: 800;
  color: var(--red);
}

.cart-item-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.cart-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.cart-icon-btn:hover {
  background: var(--red-soft);
  border-color: var(--red);
  color: var(--red);
}

.cart-icon-btn--danger:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  padding: 22px 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cart-summary .cart-total {
  font-size: 18px;
  color: var(--slate);
}

.cart-summary .cart-total strong {
  font-size: 26px;
  color: var(--red);
  margin-left: 8px;
}

@media (max-width: 640px) {
  .cart-item {
    grid-template-columns: 60px 1fr auto;
    grid-template-areas:
      "img name name"
      "img qty price"
      "img actions actions";
    gap: 6px 14px;
  }

  .cart-item img {
    grid-area: img;
    width: 60px;
    height: 60px;
  }

  .cart-item .cart-name {
    grid-area: name;
  }

  .cart-item .cart-qty {
    grid-area: qty;
  }

  .cart-item .cart-price {
    grid-area: price;
  }

  .cart-item-actions {
    grid-area: actions;
    justify-content: flex-start;
    margin-top: 6px;
  }

  .cart-summary {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Product detail (article-view)
   -------------------------------------------------------------------------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.product-gallery {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.product-gallery img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  margin: 0 auto;
}

.product-info {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}

.product-info h1 {
  font-size: 28px;
  color: var(--slate);
  margin-bottom: 14px;
}

.product-detail-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 22px;
}

.product-detail-price span {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.product-detail-desc {
  white-space: pre-wrap;
  color: #3a4049;
  font-size: 15px;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin-bottom: 28px;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal--wide {
  max-width: 560px;
}

@media (max-width: 860px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Toasts (vanilla-notify overrides)
   vanilla-notify.css ships z-index:11, which sits under the sticky header
   (z-index:200) and modals — so toasts were rendering hidden. Lift above all.
   -------------------------------------------------------------------------- */
.vnotify-container {
  z-index: 4000 !important;
}

/* Slide in from the right; the library still handles the opacity fade,
   so we only animate transform to avoid fighting its inline styles. */
@keyframes vnotify-slide-in {
  from {
    transform: translateX(115%);
  }

  to {
    transform: translateX(0);
  }
}

.vnotify-item {
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.22);
  animation: vnotify-slide-in 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Modal (login / register)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 22, 0.6);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px;
  z-index: 1000;
  overflow-y: auto;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: #fff;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--slate);
  color: #fff;
}

.modal-header h3 {
  font-size: 18px;
}

.modal-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.modal-body {
  padding: 22px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--slate);
}

.field input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel-track > * {
    flex-basis: calc((100% - 22px) / 2);
  }

  .trust {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(3) {
    border-left: none;
  }

  .hero h1 {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-phone span {
    display: none;
  }

  .brand span {
    display: none;
  }

  .header-actions {
    gap: 14px;
  }

  .nav-strip-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 0;
    gap: 12px;
    display: none;
  }

  .nav-strip-inner.open {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: 1px solid var(--border);
  }

  .search-form {
    width: 100%;
  }

  .hero-inner {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 28px;
  }
}

@media (max-width: 560px) {
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .carousel-track > * {
    flex-basis: 100%;
  }

  .carousel-prev {
    left: 4px;
  }

  .carousel-next {
    right: 4px;
  }

  .trust {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .trust-item:first-child {
    border-top: none;
  }

  .section {
    padding: 40px 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
