:root {
  --zw-blue: #1c528f;
  --zw-green: #60ae36;
  --zw-text: #24292b;
  --zw-muted: #6b7280;
  --zw-bg: #f6f7f9;
  --zw-card: #ffffff;
  --zw-border: rgba(15, 23, 42, 0.12);
  --zw-radius: 18px;
  --zw-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  --zw-font-display:
    "Montserrat",
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Ubuntu,
    Cantarell,
    "Noto Sans",
    Arial;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  color: var(--zw-text);
  background: var(--zw-bg);
  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Ubuntu,
    Cantarell,
    "Noto Sans",
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
}

a {
  color: var(--zw-blue);
}

@media (min-width: 1400px) {
  .container.zw-container {
    max-width: 1480px;
  }
}

.zw-topnav {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(160%) blur(10px);
}

.zw-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  animation: zw-header-fade-in 220ms ease-out;
}

.zw-logo {
  width: auto;
  max-width: 320px;
  height: 44px;
  object-fit: contain;
}

@media (min-width: 992px) {
  .zw-logo {
    height: 56px;
  }
}

.zw-nav .nav-link {
  color: rgba(36, 41, 43, 0.78);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.zw-nav .nav-link:hover {
  color: var(--zw-text);
  background: rgba(28, 82, 143, 0.08);
}

.zw-header-main {
  min-height: 58px;
}

.zw-header-search {
  min-width: 0;
}

.zw-header-actions {
  min-width: 0;
}

.zw-contact-group {
  min-width: 0;
}

.zw-contact-chip {
  height: 42px;
  border-radius: 999px;
  padding-inline: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: rgba(36, 41, 43, 0.92);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, color 120ms ease;
}

.zw-contact-chip:hover {
  color: var(--zw-blue);
  border-color: rgba(28, 82, 143, 0.28);
  box-shadow: 0 8px 22px rgba(28, 82, 143, 0.10);
  transform: translateY(-1px);
}

.zw-contact-chip__icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 82, 143, 0.10);
  color: var(--zw-blue);
  flex: 0 0 auto;
}

.zw-contact-chip__logo {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: block;
}

.zw-contact-chip--telegram {
  border-color: rgba(34, 158, 217, 0.28);
  background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.zw-contact-chip--telegram:hover {
  border-color: rgba(34, 158, 217, 0.42);
}


.zw-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: rgba(36, 41, 43, 0.88);
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, color 120ms ease;
}

.zw-icon-btn:hover {
  border-color: rgba(28, 82, 143, 0.24);
  box-shadow: 0 8px 20px rgba(28, 82, 143, 0.12);
  color: var(--zw-blue);
  transform: translateY(-1px);
}

.zw-icon-btn:focus-visible,
.zw-contact-chip:focus-visible {
  outline: 2px solid rgba(28, 82, 143, 0.5);
  outline-offset: 2px;
}

.zw-icon-btn img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.zw-contact-chip--market {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.03);
  padding-inline: 10px;
  font-size: 0.82rem;
}

/* ── Desktop marketplace strip ──────────────────────────── */
.zw-market-desk {
  position: relative;
}

.zw-market-desk__label {
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(36, 41, 43, 0.38);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.zw-market-desk__link {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.02);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.zw-market-desk__link:hover {
  border-color: rgba(28, 82, 143, 0.22);
  box-shadow: 0 4px 12px rgba(28, 82, 143, 0.10);
  transform: translateY(-1px);
}

.zw-market-desk__link img {
  display: block;
  width: 18px;
  height: 18px;
}

.zw-market-mobile {
  display: none !important;
}

.zw-icon-btn--fav {
  color: #d14b63;
  border-color: rgba(209, 75, 99, 0.26);
  background: linear-gradient(180deg, #fff 0%, #fff4f5 100%);
}

.zw-icon-btn--fav:hover {
  color: #bf3550;
  border-color: rgba(209, 75, 99, 0.38);
  box-shadow: 0 10px 20px rgba(209, 75, 99, 0.16);
}

.zw-icon-btn--cart {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--zw-green) 0%, #2f7f2a 100%);
  box-shadow: 0 12px 24px rgba(47, 127, 42, 0.28);
}

.zw-icon-btn--cart:hover {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(47, 127, 42, 0.34);
}

.zw-icon-btn--cart svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.zw-icon-btn--cart {
  position: relative;
}

.zw-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.zw-icon-btn.disabled {
  opacity: 0.58;
  pointer-events: none;
}

.zw-header-search-group {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.zw-header-search-group:focus-within {
  border-color: rgba(28, 82, 143, 0.45);
  box-shadow:
    0 0 0 0.2rem rgba(28, 82, 143, 0.14),
    0 10px 26px rgba(15, 23, 42, 0.06);
}

.zw-header-search-group .form-control,
.zw-header-search-group .form-select,
.zw-header-search-group .btn {
  border: 0;
  height: 46px;
}

.zw-header-search-group .form-select {
  max-width: 150px;
}

.zw-header-search-group .form-control:focus,
.zw-header-search-group .form-select:focus {
  box-shadow: none;
}

.zw-header-search-btn {
  padding-inline: 14px;
  font-weight: 700;
}


@media (min-width: 992px) {
  .zw-header-search--desktop {
    width: min(760px, 100%);
  }
}

@media (max-width: 1399.98px) {
  .zw-contact-chip {
    padding-inline: 11px;
    font-size: 0.85rem;
  }
}

@media (max-width: 1199.98px) {
  .zw-header-main {
    min-height: 54px;
  }
}

@media (max-width: 991.98px) {
  .zw-header {
    background: rgba(255, 255, 255, 0.96);
  }

  .zw-logo {
    height: 42px;
    max-width: 260px;
  }

  .zw-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .zw-icon-btn--cart {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }

  .zw-header-search-group .form-control,
  .zw-header-search-group .form-select,
  .zw-header-search-group .btn {
    height: 44px;
  }

  .zw-header-mobile-links .zw-contact-chip {
    height: 40px;
    font-size: 0.88rem;
    padding-inline: 10px;
  }

  .zw-market-mobile {
    display: flex !important;
  }

  .zw-market-mobile__label {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(36, 41, 43, 0.45);
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .zw-market-mobile__link {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.025);
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  }

  .zw-market-mobile__link:hover,
  .zw-market-mobile__link:active {
    border-color: rgba(28, 82, 143, 0.22);
    box-shadow: 0 4px 12px rgba(28, 82, 143, 0.10);
    transform: translateY(-1px);
  }

  .zw-market-mobile__link img {
    display: block;
    width: 18px;
    height: 18px;
  }

}

@keyframes zw-header-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .zw-header {
    animation: none;
  }
}

.zw-hero {
  --zw-hero-banner-height: 280px;
  background:
    radial-gradient(1100px 500px at 20% 0%, rgba(96, 174, 54, 0.20), transparent 55%),
    radial-gradient(900px 500px at 85% 10%, rgba(28, 82, 143, 0.20), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.55) 75%, transparent 100%);
}

@media (min-width: 768px) {
  .zw-hero {
    --zw-hero-banner-height: 340px;
  }
}

@media (min-width: 992px) {
  .zw-hero {
    --zw-hero-banner-height: 420px;
  }
}

@media (min-width: 1200px) {
  .zw-hero {
    --zw-hero-banner-height: 460px;
  }
}

@media (min-width: 1400px) {
  .zw-hero {
    --zw-hero-banner-height: 500px;
  }
}

.zw-hero-head {
  max-width: 860px;
}

.zw-hero h1 {
  letter-spacing: -0.02em;
  font-family: var(--zw-font-display);
}

.zw-search-card {
  border: 1px solid var(--zw-border);
  border-radius: calc(var(--zw-radius) + 6px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--zw-shadow);
}

.zw-search-card .form-select,
.zw-search-card .form-control,
.zw-search-card .input-group-text {
  border-color: rgba(15, 23, 42, 0.12);
}

.zw-search-card .input-group-text {
  background: rgba(255, 255, 255, 0.84);
}

.zw-search-card .form-control:focus,
.zw-search-card .form-select:focus {
  border-color: rgba(28, 82, 143, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(28, 82, 143, 0.14);
}

.zw-btn-cta {
  background: var(--zw-green);
  border-color: var(--zw-green);
}

.zw-btn-cta:hover {
  filter: brightness(0.96);
}

.zw-banner {
  border-radius: var(--zw-radius);
  border: 1px solid var(--zw-border);
  background: var(--zw-card);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.zw-banner-slide {
  min-height: 230px;
  padding: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .zw-banner-slide {
    min-height: 340px;
    padding: 26px;
  }
}

#zwCarousel {
  height: var(--zw-hero-banner-height);
}

#zwCarousel .carousel-inner,
#zwCarousel .carousel-item,
#zwCarousel .zw-banner-slide {
  height: 100%;
}

.zw-banner-slide--caption-left {
  align-items: flex-start;
}

.zw-banner-slide--caption-right {
  align-items: flex-end;
}

.zw-banner-slide--caption-right .zw-banner-caption {
  text-align: right;
}

.zw-banner-slide--caption-right .zw-banner-actions {
  justify-content: flex-end;
}

.zw-banner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.zw-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.zw-banner-slide--caption-right .zw-banner-img {
  object-position: left center;
}

.zw-banner-slide--caption-left .zw-banner-img {
  object-position: right center;
}

.zw-banner-caption {
  position: relative;
  z-index: 1;
  max-width: 460px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--zw-text);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(10px) saturate(160%);
}

.zw-banner-caption--hero {
  max-width: 500px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.62);
}

.zw-banner-title {
  font-size: 1.65rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: var(--zw-font-display);
}

.zw-banner-title-break-mobile {
  display: none;
}

.zw-banner-text {
  margin-top: 6px;
  color: rgba(36, 41, 43, 0.72);
}

.zw-banner-text--hero .zw-banner-text-mobile {
  display: none;
}

@media (min-width: 1200px) {
  .zw-banner-title {
    font-size: 1.9rem;
  }

  .zw-banner-text {
    font-size: 1.05rem;
  }
}

.zw-banner-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.zw-banner-actions .btn {
  border-radius: 999px;
}

@media (max-width: 767.98px) {
  .zw-banner-caption {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .zw-banner-caption--hero {
    width: auto;
    max-width: min(68vw, 260px);
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    background: transparent;
  }

  .zw-banner-text--hero {
    margin-top: 4px;
    padding: 4px 8px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.42);
    display: block;
    text-align: right;
  }

  .zw-banner-text--hero .zw-banner-text-desktop {
    display: none;
  }

  .zw-banner-text--hero .zw-banner-text-mobile {
    display: block;
    color: rgba(36, 41, 43, 0.74);
    line-height: 1.18;
    font-size: 0.82rem;
  }

  .zw-banner-title {
    font-size: 1.06rem;
    line-height: 1.08;
    width: fit-content;
    max-width: 100%;
  }

  .zw-banner-title-break-mobile {
    display: inline;
  }

  .zw-banner-title-line2 {
    white-space: nowrap;
  }

  .zw-banner-text {
    font-size: 0.82rem;
    width: fit-content;
    max-width: 100%;
  }

  .zw-banner-actions .btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.92rem;
  }
}

@media (min-width: 992px) {
  .zw-banner-slide--caption-right .zw-banner-img {
    object-position: left bottom;
  }
}

@media (max-width: 991.98px) {
  .zw-header-search--mobile .zw-header-search-btn {
    background: #ffffff;
    border-left: 1px solid rgba(15, 23, 42, 0.14);
    color: var(--zw-green);
    box-shadow: none;
  }

  .zw-header-search--mobile .zw-header-search-btn:hover,
  .zw-header-search--mobile .zw-header-search-btn:active {
    background: #f3f9ef;
    color: #4d992d;
    border-left-color: rgba(15, 23, 42, 0.18);
  }

  .zw-header-actions .zw-icon-btn--cart {
    box-shadow: 0 8px 18px rgba(47, 127, 42, 0.20);
  }
}

#zwCarousel .carousel-control-prev-icon,
#zwCarousel .carousel-control-next-icon {
  filter: invert(1) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.25));
}

#zwCarousel .carousel-indicators [data-bs-target] {
  background-color: rgba(36, 41, 43, 0.55);
}

#zwCarousel .carousel-indicators .active {
  background-color: var(--zw-green);
}

.zw-mini-banners {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 992px) {
  .zw-mini-banners {
    height: var(--zw-hero-banner-height);
  }
}

.zw-mini-banner {
  position: relative;
  flex: 1;
  min-height: 150px;
  padding: 18px 18px;
  border-radius: var(--zw-radius);
  border: 1px solid var(--zw-border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.zw-mini-banner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.zw-mini-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.04) contrast(1.02);
}

.zw-mini-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.70) 55%, rgba(255, 255, 255, 0.18) 100%);
}

.zw-mini-banner--delivery::before {
  background:
    radial-gradient(520px 240px at 15% 20%, rgba(28, 82, 143, 0.18), transparent 66%),
    radial-gradient(520px 240px at 70% 10%, rgba(96, 174, 54, 0.14), transparent 70%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.68) 55%, rgba(255, 255, 255, 0.14) 100%);
}

.zw-mini-banner--vin::before {
  background:
    radial-gradient(520px 240px at 18% 18%, rgba(96, 174, 54, 0.18), transparent 68%),
    radial-gradient(520px 240px at 75% 25%, rgba(28, 82, 143, 0.16), transparent 72%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.66) 55%, rgba(255, 255, 255, 0.12) 100%);
}

.zw-mini-banner:hover {
  transform: translateY(-1px);
  border-color: rgba(28, 82, 143, 0.24);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
}

.zw-mini-banner-body {
  position: relative;
  z-index: 2;
}

.zw-mini-banner-title {
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.08;
  font-size: 1.15rem;
  font-family: var(--zw-font-display);
}

.zw-mini-banner-text {
  margin-top: 4px;
  color: rgba(36, 41, 43, 0.72);
  font-size: 0.95rem;
}

.zw-mini-banner-cta {
  margin-top: 10px;
  font-weight: 700;
  color: var(--zw-blue);
}

.zw-mini-banner-icon {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.70);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(28, 82, 143, 0.92);
  backdrop-filter: blur(10px) saturate(160%);
}

.zw-banner-slide--blue {
  background: linear-gradient(135deg, #1c528f 0%, #163a63 55%, #0f243f 100%);
}

.zw-banner-slide--green {
  background: linear-gradient(135deg, #60ae36 0%, #2f7f2a 55%, #1d5d2a 100%);
}

.zw-banner-slide--mix {
  background: linear-gradient(135deg, #1c528f 0%, #60ae36 100%);
}

.zw-tile {
  text-decoration: none;
  color: inherit;
  border-radius: var(--zw-radius);
  border: 1px solid var(--zw-border);
  background: var(--zw-card);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.zw-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(28, 82, 143, 0.24);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.zw-car-tile {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #fff;
  overflow: hidden;
  min-height: 100%;
}

.zw-car-tile:focus-visible {
  outline: 2px solid #1c528f;
  outline-offset: 2px;
}

.zw-car-tile:hover {
  border-color: rgba(28, 82, 143, 0.26);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
}

.zw-car-tile-media {
  height: 150px;
  background:
    radial-gradient(320px 140px at 20% 0%, rgba(96, 174, 54, 0.14), transparent 62%),
    radial-gradient(320px 160px at 88% 4%, rgba(28, 82, 143, 0.14), transparent 66%),
    linear-gradient(180deg, #fcfdff 0%, #f4f8fc 100%);
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.zw-car-tile-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center 54%;
  filter: none;
  transition: transform 140ms ease;
  transform: none;
}

.zw-car-tile:hover .zw-car-tile-img {
  transform: scale(1.02);
}

.zw-car-tile-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 11px 12px;
  background: #fff;
}

.zw-car-tile-text {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.zw-car-tile-title {
  color: rgba(36, 41, 43, 0.94);
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zw-car-tile-meta {
  color: rgba(36, 41, 43, 0.62);
  font-size: 0.8rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zw-car-tile-chevron {
  flex: 0 0 auto;
  color: rgba(28, 82, 143, 0.72);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  transform: translateX(0);
  transition: color 120ms ease, transform 120ms ease;
}

.zw-car-tile--active {
  border-color: rgba(28, 82, 143, 0.28);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
}

.zw-car-tile--active .zw-car-tile-label {
  background: linear-gradient(
    90deg,
    rgba(28, 82, 143, 0.08) 0%,
    rgba(28, 82, 143, 0.02) 44%,
    #fff 100%
  );
}

.zw-car-tile:hover .zw-car-tile-chevron,
.zw-car-tile:focus-visible .zw-car-tile-chevron {
  color: rgba(28, 82, 143, 0.98);
  transform: translateX(2px);
}

/* ── Car filter bar (compact, when car is selected) ── */

.zw-car-filter-bar {
  background: #fff;
  border: 1px solid var(--zw-border);
  border-radius: 14px;
  padding: 10px 16px;
}

.zw-car-filter-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.zw-car-filter-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.zw-car-filter-chip-img {
  flex: 0 0 auto;
  width: 56px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  background:
    radial-gradient(120px 50px at 20% 0%, rgba(96, 174, 54, 0.12), transparent 62%),
    radial-gradient(120px 60px at 88% 4%, rgba(28, 82, 143, 0.12), transparent 66%),
    #f4f8fc;
}

.zw-car-filter-chip-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.zw-car-filter-chip-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--zw-text);
  white-space: nowrap;
}

.zw-car-filter-chip-meta {
  font-size: 0.82rem;
  color: var(--zw-muted);
  white-space: nowrap;
}

.zw-car-filter-chip-close {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--zw-muted);
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}

.zw-car-filter-chip-close:hover {
  background: rgba(15, 23, 42, 0.08);
  color: var(--zw-text);
}

.zw-car-filter-all {
  flex: 0 0 auto;
  font-size: 0.88rem;
  color: var(--zw-blue);
  text-decoration: none;
  white-space: nowrap;
}

.zw-car-filter-all:hover {
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .zw-car-filter-chip-text {
    flex-direction: column;
    gap: 0;
  }
}

.zw-product-card {
  border-radius: var(--zw-radius);
  border: 1px solid var(--zw-border);
  background: var(--zw-card);
  overflow: hidden;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.zw-product-card:hover {
  transform: translateY(-1px);
  border-color: rgba(28, 82, 143, 0.24);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
}

.zw-product-card .card-body {
  flex: 1;
}

.zw-product-card-price {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.zw-badge-sm {
  font-size: 0.62rem;
  padding: 0.2em 0.5em;
  white-space: nowrap;
  flex: 0 0 auto;
}

.zw-product-img-wrap {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(600px 220px at 20% 0%, rgba(96, 174, 54, 0.18), transparent 55%),
    radial-gradient(600px 240px at 90% 10%, rgba(28, 82, 143, 0.18), transparent 60%),
    #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.zw-product-img-wrap--dominant {
  background: var(--zw-product-img-bg, #ffffff);
}

.zw-product-picture {
  width: 100%;
  height: 100%;
  display: block;
}

.zw-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.zw-product-img-placeholder .zw-product-img {
  object-fit: cover;
  object-position: center;
}

.zw-product-img-placeholder {
  /* Placeholder assets are 3:2, card frame is 4:3.
     Use a flat background to avoid visible top gap artifacts. */
  background: #f1f1f1;
}

.zw-product-img-placeholder-icon {
  opacity: 0.72;
}

.zw-product-gallery {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.zw-product-gallery-thumbs {
  width: 82px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 560px;
  overflow: auto;
  padding-right: 2px;
}

.zw-product-thumb-btn {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.zw-product-thumb-btn:hover {
  border-color: rgba(28, 82, 143, 0.35);
  box-shadow: 0 8px 18px rgba(28, 82, 143, 0.12);
  transform: translateY(-1px);
}

.zw-product-thumb-btn.is-active {
  border-color: rgba(96, 174, 54, 0.74);
  box-shadow: 0 0 0 2px rgba(96, 174, 54, 0.16);
}

.zw-product-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.zw-product-gallery-main {
  min-width: 0;
}

.zw-product-hero-img-wrap {
  aspect-ratio: 4 / 3;
  min-height: 340px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px 18px;
}

.zw-product-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.zw-product-hero-img-wrap--zoom {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  isolation: isolate;
  border-radius: 14px;
}

.zw-product-hero-img-wrap--zoom::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(680px 240px at 50% 50%, rgba(28, 82, 143, 0.09), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(15, 23, 42, 0.08));
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: 1;
}

.zw-product-hero-img-wrap--zoom:focus-visible {
  outline: 2px solid rgba(28, 82, 143, 0.48);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .zw-product-hero-img-wrap--zoom:hover::after,
  .zw-product-hero-img-wrap--zoom:focus-visible::after {
    opacity: 1;
  }
}

.zw-product-zoom-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.86);
  color: rgba(36, 41, 43, 0.8);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.36rem 0.68rem;
  backdrop-filter: blur(10px) saturate(160%);
  pointer-events: none;
  transform: translateY(-4px);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .zw-product-hero-img-wrap--zoom:hover .zw-product-zoom-chip,
  .zw-product-hero-img-wrap--zoom:focus-visible .zw-product-zoom-chip {
    opacity: 1;
    transform: translateY(0);
  }
}

.zw-product-zoom-hint {
  margin: 0.75rem auto 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 0.35rem 0.78rem;
  font-size: 0.82rem;
  color: rgba(36, 41, 43, 0.72);
  background: rgba(15, 23, 42, 0.035);
  user-select: none;
  width: fit-content;
}

.zw-product-image-modal .modal-dialog {
  max-width: min(1240px, 96vw);
}

.zw-product-image-modal .modal-content {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}

.zw-product-image-modal .modal-header {
  padding: 0.85rem 1rem 0;
}

.zw-product-image-modal .modal-body {
  padding: 0.75rem 1rem 1rem;
}

.zw-product-modal-stage {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background:
    radial-gradient(680px 240px at 15% 5%, rgba(96, 174, 54, 0.08), transparent 60%),
    radial-gradient(680px 260px at 85% 5%, rgba(28, 82, 143, 0.08), transparent 62%),
    #ffffff;
  overflow: hidden;
}

.zw-product-modal-img-wrap {
  min-height: min(72vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.zw-product-modal-img {
  width: 100%;
  height: min(72vh, 760px);
  object-fit: contain;
  display: block;
}

.zw-product-hero .carousel-control-prev,
.zw-product-hero .carousel-control-next,
.zw-product-image-modal .carousel-control-prev,
.zw-product-image-modal .carousel-control-next {
  width: 56px;
  opacity: 1;
}

.zw-product-hero .carousel-control-prev,
.zw-product-image-modal .carousel-control-prev {
  justify-content: flex-start;
  padding-left: 8px;
}

.zw-product-hero .carousel-control-next,
.zw-product-image-modal .carousel-control-next {
  justify-content: flex-end;
  padding-right: 8px;
}

.zw-product-hero .carousel-control-prev-icon,
.zw-product-hero .carousel-control-next-icon,
.zw-product-image-modal .carousel-control-prev-icon,
.zw-product-image-modal .carousel-control-next-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background-size: 14px 14px;
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
  filter: invert(1) saturate(0) brightness(0.38);
  transition: background-color 140ms ease, transform 140ms ease;
}

.zw-product-hero .carousel-control-prev:hover .carousel-control-prev-icon,
.zw-product-hero .carousel-control-next:hover .carousel-control-next-icon,
.zw-product-image-modal .carousel-control-prev:hover .carousel-control-prev-icon,
.zw-product-image-modal .carousel-control-next:hover .carousel-control-next-icon {
  background-color: #ffffff;
  transform: scale(1.04);
}

.zw-product-hero .carousel-indicators,
.zw-product-image-modal .carousel-indicators {
  margin-bottom: 0.8rem;
}

.zw-product-hero .carousel-indicators [data-bs-target],
.zw-product-image-modal .carousel-indicators [data-bs-target] {
  width: 32px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background-color: rgba(36, 41, 43, 0.35);
}

.zw-product-hero .carousel-indicators .active,
.zw-product-image-modal .carousel-indicators .active {
  background-color: var(--zw-green);
}

@media (max-width: 991.98px) {
  .zw-product-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .zw-product-gallery-thumbs {
    width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    flex-direction: row;
    padding-bottom: 2px;
  }

  .zw-product-thumb-btn {
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
  }

  .zw-product-hero-img-wrap {
    aspect-ratio: 4 / 3;
    min-height: 0;
    padding: 10px 12px 14px;
  }

  .zw-product-hero-img-wrap--zoom {
    cursor: default;
  }

  .zw-product-zoom-chip {
    display: none !important;
  }

  .zw-product-hero .carousel-control-prev,
  .zw-product-hero .carousel-control-next,
  .zw-product-image-modal .carousel-control-prev,
  .zw-product-image-modal .carousel-control-next {
    width: 48px;
  }

  .zw-product-hero .carousel-control-prev-icon,
  .zw-product-hero .carousel-control-next-icon,
  .zw-product-image-modal .carousel-control-prev-icon,
  .zw-product-image-modal .carousel-control-next-icon {
    width: 32px;
    height: 32px;
    background-size: 12px 12px;
  }

  .zw-product-image-modal .modal-dialog {
    margin: 0.55rem;
    max-width: calc(100vw - 1.1rem);
  }

  .zw-product-modal-img-wrap {
    min-height: min(62vh, 520px);
    padding: 6px;
  }

  .zw-product-modal-img {
    height: min(62vh, 520px);
  }
}

@media (max-width: 575.98px) {
  .zw-product-grid .zw-product-card {
    border-radius: 14px;
  }

  .zw-product-grid .zw-product-img-wrap {
    aspect-ratio: 1 / 1;
  }

  .zw-product-grid .zw-product-card .card-body {
    padding: 0.65rem;
  }

  .zw-product-grid .zw-product-card-title {
    font-size: 0.88rem;
    line-height: 1.25;
    min-height: 2.2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .zw-product-grid .zw-product-meta {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .zw-product-grid .badge {
    font-size: 0.62rem;
  }

  .zw-product-grid .zw-product-card-cta {
    display: none;
  }

  .zw-car-tile-media {
    height: 124px;
  }

  .zw-car-tile-label {
    min-height: 56px;
    padding: 9px 10px;
  }

  .zw-car-tile-title {
    font-size: 0.86rem;
  }

  .zw-car-tile-meta {
    font-size: 0.74rem;
  }

  .zw-car-tile-chevron {
    font-size: 1rem;
  }
}

.zw-product-meta {
  color: rgba(36, 41, 43, 0.68);
  font-size: 0.9rem;
}

.zw-product-page .zw-meta-link {
  color: rgba(36, 41, 43, 0.82);
  text-decoration: none;
}

.zw-product-page .zw-meta-link:hover {
  color: var(--zw-blue);
  text-decoration: underline;
}

.zw-inline-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(36, 41, 43, 0.82);
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease, color 120ms ease;
}

.zw-inline-icon-btn:hover {
  color: var(--zw-blue);
  border-color: rgba(28, 82, 143, 0.32);
  box-shadow: 0 8px 20px rgba(28, 82, 143, 0.12);
  transform: translateY(-1px);
}

@supports (aspect-ratio: 16 / 9) {
  .zw-car-tile-media {
    aspect-ratio: 16 / 9;
    height: auto;
  }
}

.zw-rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f59e0b;
  font-weight: 700;
}

.zw-gallery-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.zw-gallery-thumbs-col {
  width: 84px;
}

.zw-gallery-count {
  font-size: 0.78rem;
  color: rgba(36, 41, 43, 0.68);
  margin-bottom: 6px;
  text-align: center;
}

.zw-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 560px;
  overflow: auto;
  padding-right: 2px;
}

.zw-gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.zw-gallery-thumb:hover {
  border-color: rgba(28, 82, 143, 0.34);
  box-shadow: 0 8px 16px rgba(28, 82, 143, 0.10);
  transform: translateY(-1px);
}

.zw-gallery-thumb.is-active {
  border-color: rgba(96, 174, 54, 0.74);
  box-shadow: 0 0 0 2px rgba(96, 174, 54, 0.16);
}

.zw-gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.zw-gallery-main-col {
  min-width: 0;
}

.zw-gallery-main-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 340px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background:
    radial-gradient(640px 230px at 15% 5%, rgba(96, 174, 54, 0.08), transparent 60%),
    radial-gradient(640px 250px at 85% 5%, rgba(28, 82, 143, 0.08), transparent 62%),
    #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  overflow: hidden;
  cursor: zoom-in;
}

.zw-gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.zw-gallery-main-frame a {
  display: block;
  cursor: zoom-in;
}

.zw-footer-logo {
  max-width: 260px;
  width: auto;
}

#zwProductCarousel .carousel-control-prev,
#zwProductCarousel .carousel-control-next,
#zwProductModalCarousel .carousel-control-prev,
#zwProductModalCarousel .carousel-control-next {
  width: 54px;
  opacity: 1;
  background: none;
}

#zwProductCarousel .carousel-control-prev,
#zwProductModalCarousel .carousel-control-prev {
  justify-content: flex-start;
  padding-left: 8px;
}

#zwProductCarousel .carousel-control-next,
#zwProductModalCarousel .carousel-control-next {
  justify-content: flex-end;
  padding-right: 8px;
}

#zwProductCarousel .carousel-control-prev-icon,
#zwProductCarousel .carousel-control-next-icon,
#zwProductModalCarousel .carousel-control-prev-icon,
#zwProductModalCarousel .carousel-control-next-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background-size: 13px 13px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.14);
  filter: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

#zwProductCarousel .carousel-control-prev-icon,
#zwProductModalCarousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}

#zwProductCarousel .carousel-control-next-icon,
#zwProductModalCarousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
}

#zwProductCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#zwProductCarousel .carousel-control-next:hover .carousel-control-next-icon,
#zwProductModalCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#zwProductModalCarousel .carousel-control-next:hover .carousel-control-next-icon {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.zw-attr-list {
  display: grid;
  gap: 10px;
}

.zw-attr-row {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  gap: 10px;
}

.zw-attr-row dt {
  margin: 0;
  color: rgba(36, 41, 43, 0.62);
  font-size: 0.86rem;
}

.zw-attr-row dd {
  margin: 0;
  color: var(--zw-text);
  font-weight: 600;
  font-size: 0.88rem;
}

.zw-attr-row dd.zw-copy-tag {
  display: flex;
  padding: 0;
}

.zw-details-more summary {
  list-style: none;
  color: var(--zw-blue);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

.zw-details-more summary::-webkit-details-marker {
  display: none;
}

.zw-details-more summary .zw-toggle-show {
  display: inline;
}
.zw-details-more summary .zw-toggle-hide {
  display: none;
}
.zw-details-more[open] summary .zw-toggle-show {
  display: none;
}
.zw-details-more[open] summary .zw-toggle-hide {
  display: inline;
}

.zw-brand-chip {
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.55rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.zw-trust-line {
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.55rem 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(36, 41, 43, 0.84);
  font-size: 0.86rem;
}

.zw-trust-icon {
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: contain;
}

.zw-buy-card {
  top: 86px;
}

.zw-discount-pill {
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
  padding: 0.13rem 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.zw-stock-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #15803d;
  font-size: 0.9rem;
  font-weight: 600;
}

.zw-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  display: inline-block;
}
.zw-stock-dot--out {
  background: #f59e0b;
}

.zw-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.zw-section-tabs a {
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: rgba(36, 41, 43, 0.86);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.36rem 0.75rem;
}

.zw-section-tabs a:hover {
  color: var(--zw-blue);
  border-color: rgba(28, 82, 143, 0.30);
}

.zw-gallery-modal .modal-content {
  border: 0;
  border-radius: 0;
}

.zw-gallery-modal .modal-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  padding: 0.65rem 0.95rem;
}

.zw-modal-counter {
  color: rgba(36, 41, 43, 0.7);
  font-size: 0.86rem;
}

.zw-modal-gallery-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  height: calc(100vh - 58px);
}

.zw-modal-thumbs {
  width: 86px;
  border-right: 1px solid rgba(15, 23, 42, 0.10);
  background: #fff;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
}

.zw-modal-thumb {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  padding: 4px;
}

.zw-modal-thumb.is-active {
  border-color: rgba(96, 174, 54, 0.78);
  box-shadow: 0 0 0 2px rgba(96, 174, 54, 0.16);
}

.zw-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.zw-modal-main {
  min-width: 0;
  background: #fff;
}

.zw-modal-image-wrap {
  width: 100%;
  height: calc(100vh - 58px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.zw-modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 1199.98px) {
  .zw-attr-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .zw-attr-row dd {
    font-weight: 500;
  }
}

@media (max-width: 991.98px) {
  .zw-gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .zw-gallery-thumbs-col {
    width: 100%;
  }

  .zw-gallery-count {
    text-align: left;
    margin-bottom: 4px;
  }

  .zw-gallery-thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .zw-gallery-thumb {
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
  }

  .zw-gallery-main-frame {
    min-height: 0;
    padding: 8px 10px;
  }

  #zwProductCarousel .carousel-control-prev,
  #zwProductCarousel .carousel-control-next,
  #zwProductModalCarousel .carousel-control-prev,
  #zwProductModalCarousel .carousel-control-next {
    width: 46px;
  }

  #zwProductCarousel .carousel-control-prev-icon,
  #zwProductCarousel .carousel-control-next-icon,
  #zwProductModalCarousel .carousel-control-prev-icon,
  #zwProductModalCarousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 11px 11px;
  }

  .zw-modal-gallery-layout {
    grid-template-columns: 1fr;
  }

  .zw-modal-thumbs {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.10);
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 8px;
  }

  .zw-modal-thumb {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
  }

  .zw-modal-image-wrap {
    height: calc(100vh - 140px);
    padding: 12px;
  }

  .zw-buy-card {
    position: static !important;
  }
}

.zw-footer {
  background: #ffffff;
}

.zw-footer a {
  color: rgba(36, 41, 43, 0.78);
  text-decoration: none;
}

.zw-footer a:hover {
  color: var(--zw-blue);
  text-decoration: underline;
}

.zw-float-chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--zw-blue);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 44px rgba(28, 82, 143, 0.35);
}

.zw-float-chat:hover {
  color: #fff;
  filter: brightness(0.96);
}

.zw-404-wrap {
  border-radius: var(--zw-radius);
  border: 1px solid var(--zw-border);
  background: #fff;
  box-shadow: var(--zw-shadow);
  overflow: hidden;
}

.zw-404-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Search autocomplete dropdown ───────────────────────────── */

.zw-search-wrap {
  position: relative;
}

.zw-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1060;
  margin-top: 6px;
  background: #fff;
  border: 1px solid var(--zw-border);
  border-radius: 16px;
  box-shadow:
    0 20px 60px rgba(15, 23, 42, 0.14),
    0 4px 12px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  display: none;
}

.zw-autocomplete.is-open {
  display: block;
  animation: zw-ac-appear 160ms ease-out;
}

@keyframes zw-ac-appear {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.zw-ac-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 420px;
  overflow-y: auto;
}

.zw-ac-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--zw-text);
  transition: background 100ms ease;
  cursor: pointer;
}

.zw-ac-item:hover,
.zw-ac-item.is-active {
  background: rgba(28, 82, 143, 0.06);
  color: var(--zw-text);
}

.zw-ac-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--zw-bg);
  flex: 0 0 48px;
  border: 1px solid var(--zw-border);
}

.zw-ac-thumb-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--zw-bg);
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zw-muted);
  border: 1px solid var(--zw-border);
}

.zw-ac-body {
  flex: 1;
  min-width: 0;
}

.zw-ac-name {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zw-ac-name mark {
  background: rgba(96, 174, 54, 0.22);
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}

.zw-ac-detail {
  font-size: 0.8rem;
  color: var(--zw-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zw-ac-price {
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  flex: 0 0 auto;
  color: var(--zw-text);
}

.zw-ac-footer {
  border-top: 1px solid var(--zw-border);
  padding: 10px 16px;
  text-align: center;
}

.zw-ac-footer a {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--zw-blue);
  text-decoration: none;
}

.zw-ac-footer a:hover {
  text-decoration: underline;
}

.zw-ac-empty {
  padding: 20px 16px;
  text-align: center;
  color: var(--zw-muted);
  font-size: 0.9rem;
}

.zw-ac-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  gap: 8px;
  color: var(--zw-muted);
  font-size: 0.85rem;
}

.zw-ac-spinner::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid var(--zw-border);
  border-top-color: var(--zw-blue);
  border-radius: 50%;
  animation: zw-spin 600ms linear infinite;
}

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

/* ── Search results header ──────────────────────────────────── */

.zw-search-meta {
  font-size: 0.9rem;
  color: var(--zw-muted);
}

@media (max-width: 575.98px) {
  .zw-ac-thumb,
  .zw-ac-thumb-placeholder {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 8px;
  }

  .zw-ac-item {
    padding: 8px 12px;
    gap: 10px;
  }
}

/* ── Autocomplete overlay backdrop for mobile ───────────────── */

.zw-ac-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1055;
  background: rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.zw-ac-backdrop.is-open {
  display: block;
}

/* ── Part category tiles (shown after car selection) ─────────── */

.zw-cat-tile {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.zw-cat-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(28, 82, 143, 0.26);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
}

.zw-cat-tile:focus-visible {
  outline: 2px solid var(--zw-blue);
  outline-offset: 2px;
}

.zw-cat-tile-media {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(280px 280px at 20% 0%, rgba(96, 174, 54, 0.08), transparent 62%),
    radial-gradient(280px 280px at 88% 4%, rgba(28, 82, 143, 0.08), transparent 66%),
    linear-gradient(180deg, #fcfdff 0%, #f4f8fc 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.zw-cat-tile-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 140ms ease;
}

.zw-cat-tile:hover .zw-cat-tile-img {
  transform: scale(1.03);
}

.zw-cat-tile-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px;
  background: #fff;
}

.zw-cat-tile-text {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.zw-cat-tile-name {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
  color: var(--zw-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zw-cat-tile-count {
  font-size: 0.78rem;
  color: var(--zw-muted);
}

.zw-cat-tile-chevron {
  flex: 0 0 auto;
  color: rgba(28, 82, 143, 0.5);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  transition: color 120ms ease, transform 120ms ease;
}

.zw-cat-tile:hover .zw-cat-tile-chevron,
.zw-cat-tile:focus-visible .zw-cat-tile-chevron {
  color: var(--zw-blue);
  transform: translateX(2px);
}

.zw-cat-showall {
  text-align: center;
}

/* ── Category breadcrumb ─────────────────────────────────────── */

.zw-cat-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
}

.zw-cat-breadcrumb-back {
  color: var(--zw-blue);
  text-decoration: none;
  font-weight: 500;
}

.zw-cat-breadcrumb-back:hover {
  text-decoration: underline;
}

.zw-cat-breadcrumb-sep {
  color: var(--zw-muted);
}

.zw-cat-breadcrumb-current {
  color: var(--zw-text);
  font-weight: 600;
}

/* ── Category tile responsive ────────────────────────────────── */

@media (max-width: 575.98px) {
  .zw-cat-tile {
    border-radius: 12px;
  }
  .zw-cat-tile-label {
    min-height: 48px;
    padding: 8px 10px;
  }
  .zw-cat-tile-name {
    font-size: 0.84rem;
  }
  .zw-cat-tile-count {
    font-size: 0.72rem;
  }
  .zw-cat-tile-chevron {
    font-size: 1rem;
  }
}

/* ---- Wishlist ---------------------------------------------------------- */

/* Heart button on product detail page */
.zw-wishlist-btn.is-wishlisted {
  color: #d14b63;
  border-color: rgba(209, 75, 99, 0.3);
  background: #fff4f5;
}

.zw-wishlist-btn.is-wishlisted svg {
  fill: #d14b63;
}

/* Heart button overlay on catalog product cards */
.zw-product-img-wrap {
  position: relative;
}

.zw-wishlist-card-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(36, 41, 43, 0.6);
  cursor: pointer;
  opacity: 0;
  transition: opacity 150ms ease, color 120ms ease, background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.zw-product-card:hover .zw-wishlist-card-btn,
.zw-wishlist-card-btn:focus-visible,
.zw-wishlist-card-btn.is-wishlisted {
  opacity: 1;
}

.zw-wishlist-card-btn:hover {
  color: #d14b63;
  border-color: rgba(209, 75, 99, 0.3);
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.08);
}

.zw-wishlist-card-btn.is-wishlisted {
  color: #d14b63;
  border-color: rgba(209, 75, 99, 0.3);
  background: rgba(255, 244, 245, 0.95);
}

.zw-wishlist-card-btn.is-wishlisted svg {
  fill: #d14b63;
}

/* Header favorites badge */
.zw-icon-btn--fav {
  position: relative;
}

.zw-fav-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  border-radius: 999px;
  background: #d14b63;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Favorites page cards */
.zw-fav-card {
  position: relative;
}

.zw-fav-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.zw-fav-card-link:hover {
  color: inherit;
}

.zw-fav-card-media {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--zw-bg);
  border-radius: var(--zw-radius) var(--zw-radius) 0 0;
}

.zw-fav-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zw-fav-card-placeholder {
  color: var(--zw-muted);
}

/* Always show heart on touch devices */
@media (hover: none) {
  .zw-wishlist-card-btn {
    opacity: 1;
  }
}

/* ---- Share button (copy link) ------------------------------------------ */

.zw-share-btn {
  position: relative;
}

.zw-share-icon-check,
.zw-share-icon-share {
  display: none;
}

.zw-share-btn.is-copied {
  color: var(--zw-green);
  border-color: rgba(96, 174, 54, 0.32);
  background: #f4fbf0;
}

.zw-share-btn.is-copied .zw-share-icon-link,
.zw-share-btn.is-copied .zw-share-icon-share {
  display: none;
}

.zw-share-btn.is-copied .zw-share-icon-check {
  display: block;
  animation: zwCheckPop 200ms ease;
}

@media (max-width: 991.98px) {
  .zw-share-icon-link { display: none; }
  .zw-share-icon-share { display: block; }
  .zw-share-btn.is-copied .zw-share-icon-share { display: none; }
}

@keyframes zwCheckPop {
  0%   { transform: scale(0.5); opacity: 0; }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

/* ── Copy-tag (SKU / Article click-to-copy) ──────────────────── */

.zw-copy-tag {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px 2px 0;
  border-radius: 6px;
  transition: color 150ms ease;
  user-select: none;
  -webkit-user-select: none;
}

.zw-copy-tag:hover {
  color: var(--zw-blue);
}

.zw-copy-tag__icon {
  flex: 0 0 auto;
  opacity: 0.35;
  transition: opacity 150ms ease;
}

.zw-copy-tag:hover .zw-copy-tag__icon {
  opacity: 0.7;
}

.zw-copy-tag__check {
  display: none;
  flex: 0 0 auto;
  color: var(--zw-green);
}

.zw-copy-tag.is-copied .zw-copy-tag__icon { display: none; }
.zw-copy-tag.is-copied .zw-copy-tag__check {
  display: block;
  animation: zwCheckPop 200ms ease;
}
.zw-copy-tag.is-copied { color: var(--zw-green); }

@media (max-width: 991.98px) {
  .zw-copy-tag__icon { display: none; }

  .zw-copy-tag .fw-semibold {
    border-bottom: 1px dashed rgba(36, 41, 43, 0.3);
  }
}

/* ── Stock badge on catalog cards ─────────────────────────────── */

.zw-card-stock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 2px;
}

.zw-card-stock--in {
  color: #15803d;
}

.zw-card-stock--order {
  color: #b45309;
}

/* ── Add-to-cart button on catalog cards ──────────────────────── */

.zw-card-cart-btn {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(96, 174, 54, 0.35);
  background: linear-gradient(135deg, var(--zw-green) 0%, #4d992d 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
  box-shadow: 0 6px 16px rgba(47, 127, 42, 0.22);
}

.zw-card-cart-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(47, 127, 42, 0.32);
}

.zw-card-cart-btn:active {
  transform: scale(0.95);
}

.zw-card-cart-btn.is-added {
  background: #22c55e;
  border-color: #22c55e;
  animation: zwCartPop 300ms ease;
}

@keyframes zwCartPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ── Toast notifications ──────────────────────────────────────── */

.zw-toast-container {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1090;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.zw-toast {
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: rgba(36, 41, 43, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.22);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: auto;
}

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

.zw-toast--success {
  background: rgba(21, 128, 61, 0.92);
}

.zw-toast--error {
  background: rgba(225, 29, 72, 0.92);
}

.zw-toast--info {
  background: rgba(28, 82, 143, 0.92);
}

/* ── Scroll-to-top button ─────────────────────────────────────── */

.zw-scroll-top {
  position: fixed;
  right: 18px;
  bottom: 76px;
  z-index: 1039;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--zw-border);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  color: var(--zw-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease, box-shadow 120ms ease, border-color 120ms ease;
  pointer-events: none;
}

.zw-scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.zw-scroll-top:hover {
  border-color: rgba(28, 82, 143, 0.28);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

/* ── FadeInUp animation for product grid ──────────────────────── */

@keyframes zw-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .zw-product-grid > [class*="col"] {
    animation: zw-fadeInUp 380ms ease-out both;
  }
  .zw-product-grid > [class*="col"]:nth-child(1) { animation-delay: 0ms; }
  .zw-product-grid > [class*="col"]:nth-child(2) { animation-delay: 50ms; }
  .zw-product-grid > [class*="col"]:nth-child(3) { animation-delay: 100ms; }
  .zw-product-grid > [class*="col"]:nth-child(4) { animation-delay: 150ms; }
  .zw-product-grid > [class*="col"]:nth-child(5) { animation-delay: 200ms; }
  .zw-product-grid > [class*="col"]:nth-child(6) { animation-delay: 250ms; }
  .zw-product-grid > [class*="col"]:nth-child(7) { animation-delay: 300ms; }
  .zw-product-grid > [class*="col"]:nth-child(8) { animation-delay: 350ms; }
  .zw-product-grid > [class*="col"]:nth-child(n+9) { animation-delay: 380ms; }
}

/* ── Sticky filter bar (desktop) ──────────────────────────────── */

@media (min-width: 992px) {
  .zw-filter-bar {
    position: sticky;
    top: 72px;
    z-index: 10;
    background: var(--zw-bg);
    padding-block: 8px;
    margin-inline: -4px;
    padding-inline: 4px;
  }
}

/* ── Mobile product card polish ───────────────────────────────── */

@media (max-width: 575.98px) {
  .zw-product-card-price {
    font-size: 0.94rem;
  }

  .zw-card-stock {
    font-size: 0.68rem;
  }

  .zw-card-cart-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .zw-card-cart-btn svg {
    width: 13px;
    height: 13px;
  }
}

/* ── Floating chat: compact on small screens ──────────────────── */

@media (max-width: 767.98px) {
  .zw-float-chat {
    padding: 10px 12px;
    right: 14px;
    bottom: 14px;
    box-shadow: 0 12px 32px rgba(28, 82, 143, 0.30);
  }

  .zw-scroll-top {
    right: 14px;
    bottom: 66px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .zw-toast-container {
    bottom: 70px;
    width: calc(100% - 32px);
  }
}

/* ── Float chat hide on scroll ────────────────────────────────── */

.zw-float-chat {
  transition: transform 240ms ease, opacity 240ms ease;
}

.zw-float-chat.is-hidden {
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
}

/* ── Card Swiper (mobile carousel / desktop hover) ──────────── */

.zw-card-swiper {
  width: 100%;
  height: 100%;
}

.zw-card-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.zw-card-swiper .swiper-pagination {
  bottom: 6px !important;
}

.zw-card-swiper .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: rgba(28, 82, 143, 0.6);
  opacity: 0.4;
}

.zw-card-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

/* ── Desktop: arrows + pagination on hover ──────────────────── */

.zw-card-swiper-prev,
.zw-card-swiper-next {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .zw-card-swiper .swiper-pagination {
    opacity: 0;
    transition: opacity 180ms ease;
  }

  .zw-product-img-wrap:hover .zw-card-swiper .swiper-pagination {
    opacity: 1;
  }

  .zw-card-swiper-prev,
  .zw-card-swiper-next {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    color: #1C5290;
    cursor: pointer;
    opacity: 0;
    transition: opacity 180ms ease;
    border: none;
    padding: 0;
  }

  .zw-card-swiper-prev { left: 6px; }
  .zw-card-swiper-next { right: 6px; }

  .zw-product-img-wrap:hover .zw-card-swiper-prev,
  .zw-product-img-wrap:hover .zw-card-swiper-next {
    opacity: 1;
  }

  .zw-card-swiper-prev:hover,
  .zw-card-swiper-next:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  }

  .zw-card-swiper-prev.swiper-button-disabled,
  .zw-card-swiper-next.swiper-button-disabled {
    opacity: 0 !important;
    pointer-events: none;
  }
}

/* ── In-cart indicator on cart button ──────────────────────────── */

.zw-card-cart-btn .zw-cart-icon-check {
  display: none;
}

.zw-card-cart-btn.is-in-cart {
  background: #22c55e;
  border-color: #22c55e;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.zw-card-cart-btn.is-in-cart .zw-cart-icon-bag {
  display: none;
}

.zw-card-cart-btn.is-in-cart .zw-cart-icon-check {
  display: block;
}

/* ── Horizontal scroll carousel (PDP similar/accessory) ───────── */

.zw-hscroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.14) transparent;
}

.zw-hscroll::-webkit-scrollbar {
  height: 6px;
}

.zw-hscroll::-webkit-scrollbar-track {
  background: transparent;
}

.zw-hscroll::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.14);
  border-radius: 999px;
}

.zw-hscroll-card {
  flex: 0 0 170px;
  scroll-snap-align: start;
}

@media (min-width: 576px) {
  .zw-hscroll-card {
    flex: 0 0 200px;
  }
}

@media (min-width: 992px) {
  .zw-hscroll-card {
    flex: 0 0 220px;
  }
}

/* ── Sticky buy bar (PDP mobile) ──────────────────────────────── */

.zw-sticky-buy {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1038;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--zw-border);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(100%);
  transition: transform 240ms ease;
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

.zw-sticky-buy.is-visible {
  transform: translateY(0);
}

.zw-sticky-buy-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.zw-sticky-buy-price {
  font-weight: 800;
  font-size: 1.15rem;
  font-family: var(--zw-font-display);
  letter-spacing: -0.01em;
}

.zw-sticky-buy-btn {
  padding: 0.55rem 1.5rem;
  font-weight: 700;
  border-radius: 12px;
  white-space: nowrap;
}

/* Offset float chat + scroll-top when sticky buy is visible */
.zw-sticky-buy.is-visible ~ .zw-float-chat,
.zw-sticky-buy.is-visible ~ .zw-scroll-top {
  bottom: 72px;
}

@media (max-width: 767.98px) {
  .zw-sticky-buy.is-visible ~ .zw-float-chat {
    bottom: 68px;
  }
  .zw-sticky-buy.is-visible ~ .zw-scroll-top {
    bottom: 120px;
  }
  .zw-sticky-buy.is-visible ~ .zw-toast-container {
    bottom: 130px;
  }
}

/* ── Load-more button ─────────────────────────────────────────── */

.zw-load-more {
  border-radius: 999px;
  padding: 0.6rem 2.5rem;
  font-weight: 600;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.zw-load-more:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(28, 82, 143, 0.14);
}

/* ── Cart page layout ─────────────────────────────────────────── */

.zw-cart-header {
  display: grid;
  grid-template-columns: 1fr 110px 160px 110px 80px;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--zw-border);
}

.zw-cart-item {
  display: grid;
  grid-template-columns: 1fr 110px 160px 110px 80px;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.zw-cart-item-total {
  text-align: right;
}

.zw-cart-item-remove {
  text-align: right;
}

.zw-cart-label {
  color: var(--zw-muted);
  font-size: 0.82rem;
}

.zw-cart-qty-input {
  max-width: 72px;
}

@media (max-width: 991.98px) {
  .zw-cart-item {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "product product"
      "price   total"
      "qty     remove";
    gap: 8px 12px;
  }
  .zw-cart-item-product { grid-area: product; }
  .zw-cart-item-price   { grid-area: price; align-self: center; }
  .zw-cart-item-qty     { grid-area: qty; }
  .zw-cart-item-total   { grid-area: total; align-self: center; }
  .zw-cart-item-remove  { grid-area: remove; align-self: end; }
}

/* ── Delivery widget containment ──────────────────────────────── */

#delivery-widget {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: 12px;
  min-height: 300px;
}

#delivery-widget iframe {
  max-width: 100%;
}


/* ── Quantity stepper ─────────────────────────────────────────── */

.zw-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--zw-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.zw-qty-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--zw-text);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 100ms ease, color 100ms ease;
  user-select: none;
  -webkit-user-select: none;
}

.zw-qty-btn:hover {
  background: rgba(28, 82, 143, 0.08);
  color: var(--zw-blue);
}

.zw-qty-btn:active {
  background: rgba(28, 82, 143, 0.14);
}

.zw-qty-input {
  width: 40px;
  height: 36px;
  border: 0;
  border-left: 1px solid var(--zw-border);
  border-right: 1px solid var(--zw-border);
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  background: transparent;
  color: var(--zw-text);
  -moz-appearance: textfield;
  appearance: textfield;
}

.zw-qty-input::-webkit-inner-spin-button,
.zw-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* ── Cart item thumbnail ──────────────────────────────────────── */

.zw-cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 1px solid var(--zw-border);
  overflow: hidden;
  background: var(--zw-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.zw-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 575.98px) {
  .zw-cart-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
  }
}

/* ── Catalog card stepper (after add-to-cart) ─────────────────── */

.zw-card-stepper {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(96, 174, 54, 0.35);
  background: #fff;
  box-shadow: 0 4px 12px rgba(47, 127, 42, 0.12);
}

.zw-card-stepper-btn {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--zw-green);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 100ms ease;
  -webkit-user-select: none;
  user-select: none;
}

.zw-card-stepper-btn:hover {
  background: rgba(96, 174, 54, 0.12);
}

.zw-card-stepper-btn:active {
  background: rgba(96, 174, 54, 0.22);
}

.zw-card-stepper-qty {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--zw-text);
  border-left: 1px solid rgba(96, 174, 54, 0.2);
  border-right: 1px solid rgba(96, 174, 54, 0.2);
}

.zw-card-stepper.is-busy {
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 575.98px) {
  .zw-card-stepper-btn {
    width: 26px;
    height: 26px;
    font-size: 0.9rem;
  }
  .zw-card-stepper-qty {
    min-width: 20px;
    font-size: 0.76rem;
  }
}

/* ── Toast link ───────────────────────────────────────────────── */

.zw-toast-link {
  color: #fff;
  text-decoration: underline;
  margin-left: 8px;
  white-space: nowrap;
}

.zw-toast-link:hover {
  color: #fff;
  opacity: 0.85;
}

/* ── SEO content block (CarGroupContent / CategoryContent) ─────── */

.zw-seo-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--zw-text);
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.zw-seo-content h2:first-child {
  margin-top: 0;
}

.zw-seo-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--zw-text);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.zw-seo-content p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--zw-text);
  margin-bottom: 0.85rem;
}

.zw-seo-content ul,
.zw-seo-content ol {
  font-size: 0.95rem;
  line-height: 1.55;
  padding-left: 1.35rem;
  margin-bottom: 0.85rem;
}

.zw-seo-content li {
  margin-bottom: 0.35rem;
}

.zw-seo-content code {
  font-size: 0.88em;
  padding: 1px 5px;
  background: rgba(96, 174, 54, 0.08);
  border-radius: 3px;
  color: var(--zw-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.zw-seo-content table {
  font-size: 0.9rem;
}

.zw-seo-content table thead th {
  font-weight: 600;
  white-space: nowrap;
}

.zw-seo-content a {
  color: var(--zw-primary, #60ae36);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.zw-seo-content a:hover {
  text-decoration: none;
}

@media (max-width: 575.98px) {
  .zw-seo-content h2 {
    font-size: 1.05rem;
  }
  .zw-seo-content h3 {
    font-size: 0.95rem;
  }
  .zw-seo-content p,
  .zw-seo-content ul,
  .zw-seo-content ol,
  .zw-seo-content li {
    font-size: 0.9rem;
  }
  .zw-seo-content table {
    font-size: 0.82rem;
  }
}
