:root {
  --page: #ffffff;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #f4f4f4;
  --line: rgba(0, 0, 0, 0.09);
  --red: #e30613;
  --red-dark: #b9000a;
  --blue: #0071e3;
  --green: #24a148;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
  --radius-xl: 2px;
  --radius-lg: 2px;
  --radius-md: 2px;
  --radius-sm: 2px;
}

/* Design 32: desktop scale, cleaner nav and about page polish */
[hidden] {
  display: none !important;
}

@media (min-width: 1280px) {
  .container {
    width: min(1220px, calc(100% - 64px));
  }

  .top-strip {
    min-height: 38px;
    font-size: 12px;
    font-weight: 750;
  }

  .top-strip__inner {
    min-height: 38px;
  }

  .header-shell {
    grid-template-columns: 112px minmax(640px, 1fr) auto;
    gap: 22px;
    min-height: 78px;
  }

  .header-search {
    max-width: 760px;
  }

  .catalog-nav__inner {
    min-height: 54px;
  }

  .catalog-nav a {
    padding-inline: 34px;
    font-size: 13px;
  }
}

.nav-arrow {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  font-size: 13px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.catalog-nav__dropdown:hover .nav-arrow,
.catalog-nav__dropdown:focus-within .nav-arrow,
.catalog-nav__dropdown.is-open .nav-arrow {
  transform: rotate(180deg);
}

.catalog-nav__phone {
  background: var(--red);
  color: #fff;
}

.catalog-nav__phone:hover {
  background: #c9000b;
}

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

.about-page .about-hero-grid h1 {
  max-width: 1120px;
  font-size: clamp(54px, 6.4vw, 104px);
}

.about-page .about-hero-grid > p:not(.eyeline) {
  display: none;
}

.back-home {
  width: max-content;
  max-width: 100%;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.brand-picker a {
  grid-template-columns: auto 1fr;
  gap: 14px;
}

.brand-picker span {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 0;
}

.brand-picker span::before {
  content: attr(data-logo);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
}

@media (max-width: 640px) {
  .back-home {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 13px;
  }
}

html {
  scroll-behavior: smooth;
}

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.vin-form span strong,
.vin-form span small {
  display: block;
}

.vin-form span small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    border-bottom: 1px solid var(--line);
  }

  .header-shell {
    width: min(100% - 22px, 1180px);
    min-height: 0;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 8px 0;
  }

  .brand {
    grid-column: 1;
    gap: 8px;
  }

  .brand-mark {
    width: 62px;
    height: 34px;
  }

  .brand-copy {
    font-size: 11px;
  }

  .mobile-menu-toggle {
    grid-column: 3;
    grid-row: 1;
    width: 42px;
    min-width: 42px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 0;
    font-size: 0;
  }

  .mobile-menu-toggle span {
    grid-column: 1;
    width: 20px;
    height: 2px;
    margin: 0;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    justify-content: flex-end;
    gap: 6px;
    padding: 0;
    border-top: 0;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

  .cart-action .cart-count {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: 1fr 44px;
    width: 100%;
    height: 42px;
  }

  .header-search select {
    display: none;
  }

  .header-search input {
    min-width: 0;
    padding-left: 14px;
  }

  .top-strip,
  .catalog-nav {
    display: none;
  }

  .mobile-menu-open .top-strip,
  .mobile-menu-open .catalog-nav {
    display: block;
  }

  .top-strip__inner {
    width: min(100% - 22px, 1180px);
    gap: 12px;
    padding: 14px 0;
  }

  .top-strip nav,
  .catalog-nav__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    overflow: visible;
  }

  .top-strip nav a,
  .catalog-nav a {
    min-height: 42px;
    width: 100%;
    justify-content: space-between;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .top-strip nav a {
    border-bottom-color: var(--line);
  }

  .catalog-nav__main {
    min-width: 0;
    padding: 0 14px;
  }

  .catalog-nav__phone {
    margin-left: 0;
  }

  .showcase-card-top {
    min-height: 190px;
    background: #121212;
    color: #fff;
  }

  .showcase-card-top::before {
    width: 68%;
    height: 100%;
    opacity: 0.36;
    filter: grayscale(0.15);
  }

  .showcase-card-top::after {
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.96) 0 46%, rgba(18, 18, 18, 0.45) 100%);
  }

  .showcase-card-top h2,
  .showcase-card-top p {
    max-width: 72%;
    color: #fff;
  }

  .vin-panel {
    background: #101010;
  }

  .vin-form {
    grid-template-columns: 1fr;
  }

  .vin-form input {
    min-width: 0;
  }
}

/* Design 10: cleaner logo, departments and company block */
.brand {
  align-items: center;
}

.brand-copy {
  display: none;
}

.brand-logo {
  width: 84px;
  height: 42px;
}

.footer-brand {
  width: max-content;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-brand .brand-logo {
  width: 96px;
  height: 54px;
  object-position: left center;
}

.city {
  font-weight: 800;
}

.categories-section {
  background: #fff;
}

.department-head {
  align-items: end;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.department-head h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
}

.department-head p:not(.eyeline) {
  max-width: 430px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.department-strip {
  counter-reset: department-clean;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 0;
  background: transparent;
}

.department-card,
.department-card:nth-child(2n),
.department-card:last-child {
  counter-increment: department-clean;
  min-height: 116px;
  display: grid;
  grid-template-columns: 72px minmax(160px, 0.42fr) minmax(0, 1fr) 42px;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #111;
  box-shadow: none;
  overflow: visible;
}

.department-card::before {
  content: counter(department-clean, decimal-leading-zero);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--red);
  font-size: 14px;
  font-weight: 950;
}

.department-card::after {
  content: "→";
  position: static;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-size: 18px;
  transform: none;
}

.department-card img {
  display: none;
}

.department-card span {
  max-width: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 0.95;
  font-weight: 950;
  text-transform: uppercase;
}

.department-card strong {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 750;
}

.department-card:hover {
  transform: none;
  background: #f5f5f5;
  box-shadow: none;
}

.department-card:hover span {
  color: var(--red);
}

.department-card:hover strong {
  color: #111;
}

.department-card:hover::before {
  background: var(--red);
  color: #fff;
  transform: none;
}

.department-card:hover::after {
  transform: none;
}

.about-section {
  background: #fff;
  color: #111;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-studio {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 28px 46px;
}

.about-studio__top {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  align-items: end;
  gap: 46px;
}

.about-studio__top h2 {
  margin: 0;
  color: #e08a00;
  font-size: clamp(62px, 12vw, 148px);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-studio__mission {
  grid-column: 1 / -1;
  max-width: 1040px;
  margin: 8px auto 4px;
  color: #111;
  font-size: clamp(21px, 2.6vw, 34px);
  line-height: 1.08;
  font-weight: 850;
  text-align: center;
}

.about-studio__text {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 820px;
}

.about-studio__text p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.about-studio__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.about-studio__stats div {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px solid #e7dac8;
  border-radius: 50%;
  background: #fff;
  text-align: center;
}

.about-studio__stats strong {
  color: #e08a00;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.9;
}

.about-studio__stats span {
  max-width: 150px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.news-card .read-news,
.news-card .read-news-link,
.read-news-link {
  margin-left: 20px;
  margin-right: 20px;
  align-self: flex-start;
}

@media (max-width: 1020px) {
  .department-card,
  .department-card:nth-child(2n),
  .department-card:last-child {
    grid-template-columns: 58px 1fr 42px;
    gap: 14px;
  }

  .department-card strong {
    grid-column: 2 / 3;
  }

  .department-card::after {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .about-studio,
  .about-studio__top,
  .about-studio__text {
    grid-template-columns: 1fr;
  }

  .about-studio__text {
    grid-column: 1;
  }

  .about-studio__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 68px;
    height: 36px;
  }

  .footer-brand .brand-logo {
    width: 96px;
    height: 54px;
  }

  .department-head {
    align-items: start;
  }

  .department-card,
  .department-card:nth-child(2n),
  .department-card:last-child {
    min-height: 126px;
    grid-template-columns: 46px 1fr;
    padding: 20px 0;
  }

  .department-card::before {
    width: 38px;
    height: 38px;
  }

  .department-card::after {
    display: none;
  }

  .department-card strong {
    grid-column: 2;
    font-size: 15px;
  }

  .about-studio__top h2 {
    font-size: clamp(54px, 18vw, 86px);
  }

  .about-studio__mission {
    text-align: left;
  }

  .about-studio__text {
    grid-template-columns: 1fr;
  }

  .about-studio__stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .about-studio__stats div {
    min-height: 142px;
  }
}

#homePage .brand-picker {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

#homePage .brand-picker a {
  min-height: 132px !important;
  display: grid !important;
  grid-template-columns: 68px minmax(0, 1fr) !important;
  align-content: start !important;
  align-items: center !important;
  gap: 8px 20px !important;
  padding: 18px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: #111 !important;
}

#homePage .brand-picker .brand-logo-slot {
  grid-row: 1 / span 2 !important;
  width: 56px !important;
  height: 56px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(227, 6, 19, 0.18) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--red) !important;
  font-size: 0 !important;
  box-shadow: 0 10px 24px rgba(227, 6, 19, 0.08) !important;
}

#homePage .brand-picker .brand-logo-slot::before {
  content: none !important;
}

#homePage .brand-picker .brand-logo-slot img {
  width: 38px !important;
  height: 38px !important;
  display: block !important;
  object-fit: contain !important;
}

#homePage .brand-picker .brand-logo-text {
  font-size: 14px !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

#homePage .brand-picker strong {
  grid-column: 2 !important;
  color: #17191d !important;
  font-size: 17px !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
}

#homePage .brand-picker em {
  grid-column: 2 !important;
  color: #6e6e73 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-style: normal !important;
  font-weight: 750 !important;
}

@media (max-width: 900px) {
  #homePage .brand-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  #homePage .brand-picker {
    grid-template-columns: 1fr !important;
  }

  #homePage .brand-picker:not(.is-expanded) a:nth-of-type(n + 6) {
    display: none !important;
  }

  #homePage .brand-picker a {
    min-height: 98px !important;
    grid-template-columns: 62px minmax(0, 1fr) !important;
    padding: 14px !important;
  }

  #homePage .brand-picker .brand-logo-slot {
    width: 50px !important;
    height: 50px !important;
  }
}

/* Design 30 about page grid polish */
.about-page .section {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

.about-page .about-hero-page {
  padding-top: 48px !important;
  padding-bottom: 24px !important;
}

.about-page .about-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr) !important;
  gap: 32px !important;
  align-items: end !important;
  border-bottom: 1px solid var(--line) !important;
  padding-bottom: 32px !important;
}

.about-page .about-hero-grid h1 {
  max-width: 780px !important;
  font-size: clamp(42px, 4.2vw, 68px) !important;
  line-height: 0.96 !important;
}

.about-page .about-hero-grid p:not(.eyeline) {
  max-width: 520px !important;
  margin: 0 !important;
  color: #626975 !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
}

.about-page .about-feature-grid,
.about-page .about-visit-grid,
.about-page .about-info-list {
  gap: 16px !important;
}

.about-page .about-feature-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  border: 0 !important;
  background: transparent !important;
}

.about-page .about-feature-grid article,
.about-page .about-visit-card,
.about-page .about-info-list article {
  min-height: 230px !important;
  padding: 26px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
}

.about-page .about-feature-grid article {
  border-right: 1px solid var(--line) !important;
}

.about-page .about-feature-grid h2,
.about-page .about-visit-card h2,
.about-page .about-info-grid h2,
.about-page .about-map-grid h2,
.about-page .about-video-grid h2,
.about-page .about-contact-inner h2 {
  font-size: clamp(26px, 2.4vw, 42px) !important;
  line-height: 1 !important;
}

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

.about-page .about-visit-card-dark {
  background: #101010 !important;
  color: #fff !important;
}

.about-page .about-info-grid,
.about-page .about-map-grid,
.about-page .about-video-grid {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

.about-page .about-info-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.about-page .about-map-frame,
.about-page .about-video-placeholder {
  min-height: 420px !important;
  border: 1px solid var(--line) !important;
}

.about-page .about-map-frame iframe {
  min-height: 420px !important;
}

.about-page .about-contact-band {
  padding-top: 46px !important;
  padding-bottom: 46px !important;
}

@media (max-width: 1020px) {
  .about-page .about-hero-grid,
  .about-page .about-feature-grid,
  .about-page .about-visit-grid,
  .about-page .about-info-grid,
  .about-page .about-map-grid,
  .about-page .about-video-grid,
  .about-page .about-info-list {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .about-page .section {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  .about-page .about-hero-grid h1 {
    font-size: clamp(34px, 11vw, 48px) !important;
  }

  .about-page .about-feature-grid article,
  .about-page .about-visit-card,
  .about-page .about-info-list article {
    min-height: 0 !important;
    padding: 20px !important;
  }

  .about-page .about-map-frame,
  .about-page .about-map-frame iframe,
  .about-page .about-video-placeholder {
    min-height: 320px !important;
  }
}

/* Design 29 about page content blocks */
.about-visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.about-visit-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.about-visit-card-dark {
  background: #101010;
  color: #fff;
}

.about-visit-card h2 {
  max-width: 620px;
  margin: auto 0 18px;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 0.98;
  text-transform: uppercase;
}

.about-visit-card p:not(.eyeline) {
  max-width: 520px;
  margin: 0;
  color: #626975;
  font-size: 17px;
  line-height: 1.55;
}

.about-visit-card-dark p:not(.eyeline) {
  color: rgba(255, 255, 255, 0.72);
}

.about-map-grid,
.about-video-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.about-map-grid h2,
.about-video-grid h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 0.98;
  text-transform: uppercase;
}

.about-map-grid p:not(.eyeline),
.about-video-grid p:not(.eyeline) {
  max-width: 520px;
  margin: 18px 0 22px;
  color: #626975;
  font-size: 17px;
  line-height: 1.6;
}

.about-map-frame {
  min-height: 380px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.about-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: block;
  border: 0;
}

.about-video-placeholder {
  min-height: 380px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.92) 0 34%, transparent 34%),
    #101010;
  color: #fff;
  text-align: center;
}

.about-video-placeholder span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-video-placeholder strong {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.9;
  text-transform: uppercase;
}

.about-video-placeholder small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .about-visit-grid,
  .about-map-grid,
  .about-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-visit-card,
  .about-video-placeholder {
    min-height: 230px;
    padding: 22px;
  }

  .about-map-frame,
  .about-map-frame iframe {
    min-height: 320px;
  }
}

/* Design 28 final scale normalization */
@media (min-width: 1440px) {
  .container {
    width: min(1360px, calc(100% - 72px)) !important;
  }

  .header-shell {
    grid-template-columns: 210px minmax(560px, 1fr) auto !important;
  }

  .showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .showcase-card-main {
    grid-column: span 1 !important;
  }

  .product-grid,
  .department-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1760px) {
  .container {
    width: min(1520px, calc(100% - 96px)) !important;
  }

  .product-grid,
  .department-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

.about-page .about-hero-page {
  padding-top: 54px !important;
  padding-bottom: 34px !important;
}

.about-page .about-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr) !important;
  gap: 44px !important;
  align-items: center !important;
  padding-bottom: 34px !important;
}

.about-page .about-hero-grid h1 {
  max-width: 760px !important;
  font-size: clamp(42px, 4.7vw, 74px) !important;
  line-height: 0.94 !important;
}

.about-page .about-hero-grid p:not(.eyeline) {
  max-width: 520px !important;
  font-size: 18px !important;
}

.about-page .about-feature-grid article {
  min-height: 240px !important;
  padding: 26px !important;
}

.about-page .about-feature-grid h2 {
  font-size: clamp(24px, 2vw, 34px) !important;
}

.about-page .about-info-grid h2,
.about-page .about-contact-inner h2 {
  font-size: clamp(30px, 3.2vw, 50px) !important;
}

@media (max-width: 1020px) {
  .about-page .about-hero-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .about-page .about-hero-grid h1 {
    font-size: clamp(34px, 11vw, 48px) !important;
  }
}

/* Design 26 mobile drawer and homepage cleanup */
@media (max-width: 640px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .site-header::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 850;
    background: rgba(0, 0, 0, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  body.mobile-menu-open .site-header::before {
    opacity: 1;
    pointer-events: auto;
  }

  .top-strip,
  .catalog-nav {
    position: fixed;
    left: auto;
    right: 0;
    width: min(86vw, 340px);
    margin: 0;
    display: block;
    transform: translateX(105%);
    transition: transform 0.24s ease;
    box-shadow: -24px 0 70px rgba(0, 0, 0, 0.22);
  }

  .top-strip {
    top: 0;
    bottom: auto;
    height: 320px;
    z-index: 1000;
    overflow: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .catalog-nav {
    top: 320px;
    bottom: 0;
    z-index: 1000;
    overflow: auto;
    background: #101010;
  }

  .mobile-menu-open .top-strip,
  .mobile-menu-open .catalog-nav {
    transform: translateX(0);
  }

  .top-strip__inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px;
  }

  .top-strip .city {
    padding: 0 0 14px;
    color: #111;
    font-size: 14px;
    font-weight: 950;
    text-transform: uppercase;
  }

  .top-strip nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .top-strip nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: #111;
    font-weight: 850;
    text-transform: uppercase;
  }

  .top-strip .worktime {
    padding-top: 16px;
    color: #4f5661;
    font-weight: 850;
  }

  .catalog-nav__inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    padding: 14px 18px 24px;
    overflow: visible;
  }

  .catalog-nav a {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .catalog-nav__item {
    display: block;
  }

  .catalog-menu {
    position: static;
    min-width: 0;
    display: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.12);
    background: #151515;
  }

  .catalog-nav__dropdown.is-open .catalog-menu {
    display: grid;
  }

  .catalog-menu a {
    padding: 0 14px;
  }

  .catalog-nav__main,
  .catalog-nav__phone {
    min-width: 0;
    margin-left: 0;
  }

  .mobile-menu-toggle {
    position: relative;
    z-index: 1002;
  }

  .header-shell {
    position: relative;
    z-index: 900;
  }
}

/* Design 27 large desktop scale */
@media (min-width: 1440px) {
  .container {
    width: min(1280px, calc(100% - 64px));
  }

  .header-shell {
    grid-template-columns: 200px 1fr auto;
    min-height: 74px;
  }

  .header-search {
    height: 44px;
    grid-template-columns: 190px 1fr 52px;
  }

  .header-search select,
  .header-search input {
    height: 42px;
    font-size: 13px;
  }

  .catalog-nav__inner {
    min-height: 52px;
  }

  .catalog-nav a {
    padding-inline: 34px;
    font-size: 13px;
  }

  .showcase-card {
    min-height: 250px;
  }

  .product-grid,
  .department-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-head h2 {
    max-width: 980px;
  }
}

@media (min-width: 1760px) {
  .container {
    width: min(1440px, calc(100% - 80px));
  }

  .product-grid,
  .department-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.about-page {
  background: #fff;
}

.about-hero-page {
  padding-top: 78px;
  padding-bottom: 58px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 56px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 44px;
}

.about-hero-grid h1 {
  max-width: 850px;
  margin: 0;
  color: #111;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 0.9;
  text-transform: uppercase;
}

.about-hero-grid p:not(.eyeline) {
  margin: 0;
  color: #4f5661;
  font-size: 20px;
  line-height: 1.6;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #fff;
}

.about-feature-grid article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.about-feature-grid article:last-child {
  border-right: 0;
}

.about-feature-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.about-feature-grid h2 {
  margin: auto 0 0;
  font-size: clamp(26px, 2.6vw, 42px);
  line-height: 1;
}

.about-feature-grid p {
  margin: 0;
  color: #626975;
  font-size: 17px;
  line-height: 1.55;
}

.about-info-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.about-info-grid h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
}

.about-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-info-list article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.about-info-list h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.about-info-list p {
  margin: 0;
  color: #626975;
  line-height: 1.55;
}

.about-contact-band {
  background: #101010;
  color: #fff;
}

.about-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.about-contact-inner h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
}

.about-contact-inner p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.about-contact-inner a:not(.button) {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 1020px) {
  .about-hero-grid,
  .about-info-grid {
    grid-template-columns: 1fr;
  }

  .about-feature-grid {
    grid-template-columns: 1fr;
  }

  .about-feature-grid article {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-feature-grid article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .about-hero-page {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .about-hero-grid {
    gap: 24px;
    padding-bottom: 28px;
  }

  .about-hero-grid h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .about-hero-grid p:not(.eyeline),
  .about-feature-grid p,
  .about-info-list p {
    font-size: 16px;
  }

  .about-feature-grid article,
  .about-info-list article {
    padding: 20px;
  }

  .about-info-list {
    grid-template-columns: 1fr;
  }

  .about-contact-inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-contact-inner .button {
    width: 100%;
  }
}

/* Final design 25 overrides */
#homePage .order-flow {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

#homePage .order-flow article {
  min-height: 220px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 24px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
}

#homePage .order-flow span {
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid var(--line) !important;
  color: var(--red) !important;
  font-weight: 950 !important;
}

#homePage .order-flow h3 {
  margin: auto 0 0 !important;
  color: #111 !important;
  font-size: 24px !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
}

#homePage .order-flow p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 650 !important;
}

.thanks-header {
  border-bottom: 1px solid var(--line) !important;
}

.thanks-header .header-shell {
  grid-template-columns: auto 1fr !important;
}

.thanks-header .header-actions {
  justify-content: flex-end !important;
}

.orders-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
}

.orders-header .header-shell {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  min-height: 68px;
  gap: 24px;
  align-items: center;
}

.orders-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.orders-header__nav a,
.orders-header__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.orders-header__nav a:hover {
  border-color: var(--line);
  color: var(--red);
}

.orders-header__phone {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.orders-header__phone:hover {
  background: #111;
  border-color: #111;
}

@media (max-width: 760px) {
  .orders-header .header-shell {
    grid-template-columns: auto 1fr !important;
    min-height: 64px;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .orders-header__nav {
    justify-content: flex-end;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .orders-header__nav::-webkit-scrollbar {
    display: none;
  }

  .orders-header__nav a {
    min-height: 36px;
    padding: 0 10px;
    font-size: 11px;
  }

  .orders-header__phone {
    grid-column: 1 / -1;
    min-height: 38px;
    width: 100%;
    font-size: 12px;
  }
}

.thanks-page {
  min-height: calc(100vh - 92px) !important;
  background: #f4f4f4 !important;
}

.thanks-card {
  max-width: 900px !important;
  padding: clamp(28px, 5vw, 56px) !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
}

.thanks-card h1 {
  max-width: 720px !important;
  margin: 0 0 16px !important;
  color: #111 !important;
  font-size: clamp(42px, 7vw, 86px) !important;
  line-height: 0.92 !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

.thanks-card > p:not(.eyeline) {
  max-width: 620px !important;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 20px !important;
  line-height: 1.45 !important;
}

.thanks-number {
  display: grid !important;
  gap: 8px !important;
  margin: 34px 0 22px !important;
  padding: 22px !important;
  background: #111 !important;
  color: #fff !important;
}

.thanks-number span,
.thanks-details span {
  color: var(--muted) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

.thanks-number strong {
  font-size: clamp(26px, 4vw, 42px) !important;
  line-height: 1 !important;
}

.thanks-details {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 28px !important;
}

.thanks-details article {
  display: grid !important;
  gap: 8px !important;
  min-height: 104px !important;
  padding: 18px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
}

.thanks-details a,
.thanks-details strong {
  color: #111 !important;
  font-size: 20px !important;
  font-weight: 950 !important;
  text-decoration: none !important;
}

.thanks-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.thanks-actions .button {
  min-height: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 20px !important;
  text-decoration: none !important;
}

@media (max-width: 900px) {
  #homePage .order-flow,
  .thanks-details {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  #homePage .order-flow,
  .thanks-details {
    grid-template-columns: 1fr !important;
  }

  #homePage .order-flow article {
    min-height: 170px !important;
  }

  .thanks-card {
    padding: 24px !important;
  }

  .thanks-actions .button {
    width: 100% !important;
  }
}

/* Design 25: order completion and client flow */
#homePage .order-flow-section {
  background: #fff !important;
}

#homePage .order-flow {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

#homePage .order-flow article {
  min-height: 220px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 24px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
}

#homePage .order-flow span {
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid var(--line) !important;
  color: var(--red) !important;
  font-weight: 950 !important;
}

#homePage .order-flow h3 {
  margin: auto 0 0 !important;
  color: #111 !important;
  font-size: 24px !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
}

#homePage .order-flow p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 650 !important;
}

.thanks-header {
  border-bottom: 1px solid var(--line);
}

.thanks-header .header-shell {
  grid-template-columns: auto 1fr;
}

.thanks-header .header-actions {
  justify-content: flex-end;
}

.thanks-page {
  min-height: calc(100vh - 92px);
  background: #f4f4f4;
}

.thanks-card {
  max-width: 900px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  background: #fff;
}

.thanks-card h1 {
  max-width: 720px;
  margin: 0 0 16px;
  color: #111;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.92;
  font-weight: 950;
  text-transform: uppercase;
}

.thanks-card > p:not(.eyeline) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.thanks-number {
  display: grid;
  gap: 8px;
  margin: 34px 0 22px;
  padding: 22px;
  background: #111;
  color: #fff;
}

.thanks-number span,
.thanks-details span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.thanks-number strong {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

.thanks-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.thanks-details article {
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.thanks-details a,
.thanks-details strong {
  color: #111;
  font-size: 20px;
  font-weight: 950;
  text-decoration: none;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.thanks-actions .button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-decoration: none;
}

@media (max-width: 900px) {
  #homePage .order-flow,
  .thanks-details {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  #homePage .order-flow,
  .thanks-details {
    grid-template-columns: 1fr !important;
  }

  #homePage .order-flow article {
    min-height: 170px !important;
  }

  .thanks-card {
    padding: 24px;
  }

  .thanks-actions .button {
    width: 100%;
  }

  .thanks-order__head,
  .thanks-order__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .thanks-order__item strong {
    white-space: normal;
  }
}

/* Design 18: normalized homepage */
#homePage {
  --home-gap: 20px;
  --home-pad: 24px;
  --home-dark: #111111;
  --home-panel: #f3f3f3;
  background: #fff;
}

.city::before {
  display: none !important;
}

.cart-action {
  position: relative !important;
}

.cart-action .cart-count {
  position: absolute !important;
  top: 2px !important;
  right: 0 !important;
  transform: translate(35%, -25%) !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  display: grid !important;
  place-items: center !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  background: var(--red) !important;
  color: #fff !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

#homePage .section,
#homePage .home-showcase,
#homePage .vin-section {
  padding: 56px 0 !important;
}

#homePage .section-soft {
  background: #f4f4f4 !important;
}

#homePage .section-head,
#homePage .department-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  gap: 18px !important;
  margin: 0 0 26px !important;
}

#homePage .section-head h2,
#homePage .department-head h2 {
  max-width: 820px !important;
  margin: 0 !important;
  color: #111 !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  line-height: 0.98 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

#homePage .section-head p:not(.eyeline),
#homePage .department-head p:not(.eyeline) {
  max-width: 540px !important;
  margin: 12px 0 0 !important;
  color: var(--muted) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}

#homePage .eyeline {
  margin: 0 0 12px !important;
  color: var(--red) !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

#homePage .outline-link,
#homePage .catalog-open,
#homePage .map-link,
#homePage .button,
#homePage .product-card button,
#homePage .read-news {
  min-height: 48px !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

#homePage .catalog-open,
#homePage .outline-link {
  border: 1px solid var(--red) !important;
  background: #fff !important;
  color: var(--red) !important;
}

#homePage .showcase-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: var(--home-gap) !important;
}

#homePage .showcase-card,
#homePage .showcase-card:nth-child(n),
#homePage .showcase-card-main,
#homePage .showcase-card-top {
  grid-column: auto !important;
  grid-row: auto !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  min-height: 250px !important;
  padding: var(--home-pad) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: var(--home-panel) !important;
  color: #111 !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}

#homePage .showcase-card::before,
#homePage .showcase-card::after {
  display: none !important;
}

#homePage .showcase-card span {
  margin: 0 0 18px !important;
  padding: 8px 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  background: var(--red) !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

#homePage .showcase-card h1,
#homePage .showcase-card h2 {
  max-width: 520px !important;
  margin: 0 0 12px !important;
  color: #111 !important;
  font-size: clamp(28px, 3.4vw, 42px) !important;
  line-height: 0.98 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

#homePage .showcase-card p {
  max-width: 420px !important;
  margin: 0 0 18px !important;
  color: #4f5661 !important;
  font-size: 16px !important;
  line-height: 1.42 !important;
  font-weight: 750 !important;
}

#homePage .showcase-card strong {
  margin-top: auto !important;
  color: #111 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

#homePage .showcase-card:hover,
#homePage .product-card:hover,
#homePage .news-card:hover,
#homePage .department-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

#homePage .vin-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px) !important;
  align-items: center !important;
  gap: 28px !important;
  min-height: 0 !important;
  padding: 32px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--home-dark) !important;
  color: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

#homePage .vin-panel::before,
#homePage .vin-panel::after {
  display: none !important;
}

#homePage .vin-panel h2 {
  max-width: 620px !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(30px, 4vw, 46px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

#homePage .vin-panel p:not(.eyeline) {
  max-width: 560px !important;
  margin: 16px 0 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  font-weight: 600 !important;
}

#homePage .vin-form {
  display: grid !important;
  gap: 12px !important;
}

#homePage .vin-form input,
#homePage .vin-form button,
#homePage .callback-form input,
#homePage .callback-form textarea,
#homePage .callback-form button {
  min-height: 48px !important;
  width: 100% !important;
  border-radius: 0 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
}

#homePage .vin-form input,
#homePage .callback-form input,
#homePage .callback-form textarea {
  padding: 0 16px !important;
  border: 1px solid #dedede !important;
  background: #fff !important;
  color: #111 !important;
}

#homePage .callback-form textarea {
  min-height: 116px !important;
  padding-top: 14px !important;
}

#homePage .brand-picker {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

#homePage .brand-picker a {
  min-height: 112px !important;
  display: grid !important;
  grid-template-columns: 36px 1fr !important;
  align-content: start !important;
  gap: 8px 12px !important;
  padding: 18px !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: none !important;
}

#homePage .brand-picker span {
  width: 32px !important;
  height: 32px !important;
  display: grid !important;
  place-items: center !important;
  grid-row: 1 / span 3 !important;
  background: var(--red) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

#homePage .brand-picker strong {
  color: #4f5661 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

#homePage .categories-section {
  background: #fff !important;
}

#homePage .department-strip {
  counter-reset: department18 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

#homePage .department-card,
#homePage .department-card:nth-child(2n),
#homePage .department-card:last-child {
  counter-increment: department18 !important;
  min-height: 116px !important;
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) 46px !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 18px 20px !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

#homePage .department-card::before {
  content: counter(department18, decimal-leading-zero) !important;
  position: static !important;
  width: 44px !important;
  height: 44px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--red) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  opacity: 1 !important;
}

#homePage .department-card::after {
  content: ">" !important;
  position: static !important;
  width: 44px !important;
  height: 44px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #111 !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  opacity: 1 !important;
}

#homePage .department-card img {
  display: none !important;
}

#homePage .department-card span {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #111 !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

#homePage .department-card strong {
  grid-column: 2 !important;
  margin: -4px 0 0 !important;
  max-width: 680px !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.42 !important;
  font-weight: 750 !important;
}

#homePage .product-grid,
#homePage .why-grid,
#homePage .news-grid,
#homePage .reviews-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

#homePage .news-grid,
#homePage .reviews-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

#homePage .product-card,
#homePage .why-grid article,
#homePage .news-card,
#homePage .reviews-grid blockquote {
  min-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

#homePage .product-card,
#homePage .why-grid article,
#homePage .reviews-grid blockquote {
  padding: 20px !important;
}

#homePage .product-photo,
#homePage .news-card img {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

#homePage .product-photo.is-srs-photo {
  object-fit: contain !important;
  object-position: center !important;
  background: #fff !important;
  padding: 18px !important;
  box-sizing: border-box !important;
}

/* Site 1.70 article page polish. */
.news-article {
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  box-shadow: 0 28px 70px rgba(17, 17, 18, 0.08) !important;
}

.news-article__hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  min-height: 430px;
  border-bottom: 1px solid var(--line);
}

.news-article__hero img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  max-height: none !important;
  object-fit: cover;
  background: #f4f5f7;
}

.news-article__hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(28px, 5vw, 58px);
}

.news-article__hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.96;
}

.news-article__hero-copy .lead {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.news-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 850;
}

.news-article__meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  background: #f7f8fa;
}

.news-article__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px clamp(22px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}

.news-share-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.news-share-button--light {
  background: #fff;
  color: var(--red);
}

.news-share-button--dark {
  margin-left: auto;
  border-color: #111;
  background: #111;
  color: #fff;
}

.news-body {
  max-width: 860px !important;
  padding: clamp(28px, 5vw, 58px) clamp(22px, 5vw, 58px) 18px;
  color: #28313f !important;
  font-size: clamp(18px, 2vw, 21px) !important;
  line-height: 1.75 !important;
}

.news-body p {
  margin: 0 0 18px;
}

.news-help-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 clamp(22px, 5vw, 58px) clamp(28px, 5vw, 58px);
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.news-help-card div {
  display: grid;
  gap: 8px;
}

.news-help-card strong {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.news-help-card span {
  max-width: 680px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.news-help-card a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.news-help-card a:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.news-page .news-back {
  width: max-content !important;
  min-width: 132px !important;
  max-width: max-content !important;
  align-self: flex-start !important;
  justify-self: start !important;
}

@media (max-width: 820px) {
  .news-article__hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .news-article__hero img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .news-share-button,
  .news-share-button--dark {
    width: 100%;
    margin-left: 0;
  }

  .news-help-card {
    grid-template-columns: 1fr;
  }

  .news-help-card a {
    width: 100%;
  }
}

#homePage .product-card h3,
#homePage .why-grid h3,
#homePage .news-card h3 {
  margin: 10px 0 8px !important;
  color: #111 !important;
  font-size: 20px !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

#homePage .product-card p,
#homePage .why-grid p,
#homePage .news-card p,
#homePage .reviews-grid p {
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}

#homePage .product-card strong {
  margin-top: auto !important;
  color: #111 !important;
  font-size: 23px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

#homePage .product-card button {
  width: 100% !important;
  margin-top: 16px !important;
  border: 1px solid var(--red) !important;
  background: #fff !important;
  color: var(--red) !important;
}

#homePage .news-card span {
  margin: 18px 20px 0 !important;
  color: var(--red) !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

#homePage .news-card h3,
#homePage .news-card p {
  margin-left: 20px !important;
  margin-right: 20px !important;
}

#homePage .news-card .read-news {
  width: auto !important;
  margin: auto 20px 20px !important;
  align-self: flex-start !important;
  border: 1px solid #111 !important;
  background: #111 !important;
  color: #fff !important;
}

#homePage .reviews-grid blockquote {
  gap: 12px !important;
}

#homePage .stars {
  color: #f0a000 !important;
  letter-spacing: 1px !important;
}

#homePage .map-link {
  width: fit-content !important;
  margin-top: 20px !important;
  border: 1px solid #111 !important;
  background: #111 !important;
  color: #fff !important;
}

#homePage .callback-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px) !important;
  align-items: start !important;
  gap: 28px !important;
  padding: 32px !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

#homePage .callback-card::before,
#homePage .callback-card::after {
  display: none !important;
}

#homePage .callback-card h2 {
  max-width: 680px !important;
  margin: 0 !important;
  color: #111 !important;
  font-size: clamp(30px, 4vw, 46px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

#homePage .callback-card p:not(.eyeline) {
  max-width: 560px !important;
  margin: 16px 0 0 !important;
  color: var(--muted) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  font-weight: 600 !important;
}

#homePage .callback-form {
  display: grid !important;
  gap: 12px !important;
}

/* Design 19: real catalog controls */
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 4px;
}

.category-chips button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: #111;
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
  cursor: pointer;
}

.category-chips button.active,
.category-chips button:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.department-filters select,
.department-toolbar select {
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 750;
}

.department-toolbar {
  align-items: center;
  gap: 16px;
}

.department-toolbar select {
  width: 230px;
  flex: 0 0 230px;
}

.department-product-grid .product-card {
  cursor: pointer;
}

.department-product-grid .product-card button,
#popular .product-card button,
#relatedProducts .product-card button {
  cursor: pointer;
}

/* Design 20: polished product detail */
.product-detail-page {
  background: #fff;
}

.product-detail-page .back-home {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 900;
}

.product-detail-page .product-page {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  margin-top: 22px;
  align-items: start;
}

.product-detail-page .product-gallery,
.product-detail-page .product-detail {
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.product-detail-page .product-gallery {
  padding: 18px;
}

.product-detail-page .photo-main {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  border-radius: 0;
  background: #f4f4f4;
}

.product-detail-page .photo-main.is-srs-photo,
.product-card .product-photo.is-srs-photo {
  object-fit: contain !important;
  object-position: center;
  background: #fff;
  padding: 18px;
  box-sizing: border-box;
}

.product-detail-page .photo-main.is-srs-photo {
  aspect-ratio: 4 / 3;
  max-height: 430px;
}

.product-detail-page .gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.product-detail-page .gallery-thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 0;
  object-fit: cover;
  background: #f4f4f4;
}

.product-detail-page .product-detail {
  padding: 24px;
}

.product-detail-page .product-detail h1 {
  max-width: 720px;
  margin: 0 0 10px;
  color: #111;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-detail-page .compatibility {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 750;
}

.product-description {
  max-width: 680px;
  margin: 16px 0 0;
  color: #4f5661;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
}

.product-detail-page .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.product-detail-page .price-row strong {
  color: #111;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  font-weight: 950;
}

.product-detail-page .price-row span {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(36, 161, 72, 0.28);
  background: rgba(36, 161, 72, 0.08);
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
}

.product-detail-page .price-row span.muted-stock {
  border-color: rgba(0, 0, 0, 0.12);
  background: #f4f4f4;
  color: var(--muted);
}

.availability-panel {
  display: grid;
  gap: 5px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(36, 161, 72, 0.22);
  background: rgba(36, 161, 72, 0.06);
}

.availability-panel strong {
  color: #111;
  font-size: 16px;
  font-weight: 950;
}

.availability-panel span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

.availability-panel.is-muted {
  border-color: var(--line);
  background: #f4f4f4;
}

.product-detail-page .spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.product-detail-page .spec-list div {
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #f8f8f8;
}

.product-detail-page .spec-list dt {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 850;
  text-transform: uppercase;
}

.product-detail-page .spec-list dd {
  margin: 8px 0 0;
  color: #111;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
}

.product-detail-page .product-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.product-detail-page .product-actions .button {
  min-height: 50px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 950;
}

.product-detail-page .product-detail .button-light {
  border: 1px solid #111;
  background: #fff;
  color: #111;
  box-shadow: none;
}

.product-detail-page .analog-box {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 0;
  background: #fff;
}

.product-detail-page .analog-box strong {
  color: #111;
  font-size: 16px;
  font-weight: 950;
}

.product-detail-page .analog-box p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.product-detail-page .related-head {
  margin-top: 44px;
}

.product-detail-page #relatedProducts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Design 21: cart checkout */
.cart-panel__dialog {
  display: flex;
  flex-direction: column;
  width: min(520px, calc(100vw - 24px));
  height: calc(100vh - 24px);
  padding: 24px;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.cart-panel__dialog h2 {
  margin: 0 0 16px;
  color: #111;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.cart-items {
  display: grid;
  gap: 10px;
  overflow: auto;
  padding-right: 2px;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.cart-item img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #f4f4f4;
}

.cart-item strong {
  display: block;
  color: #111;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 950;
}

.cart-item span,
.cart-item em {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
  font-style: normal;
  font-weight: 650;
}

.cart-item em {
  color: #111;
  font-weight: 950;
}

.cart-item__actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 42px 42px 42px 1fr;
  gap: 8px;
  align-items: center;
}

.cart-item__actions button,
.cart-item__actions span {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
}

.cart-item__actions span {
  margin-top: 0 !important;
  align-self: stretch;
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
}

.cart-item__actions [data-cart-remove] {
  justify-self: end;
  padding: 0 12px;
  border-color: var(--red);
  color: var(--red);
}

.cart-empty {
  padding: 18px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cart-summary span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.cart-summary strong {
  color: #111;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}

.order-form {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.order-form input,
.order-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: #111;
  font-size: 15px;
  font-weight: 650;
}

.order-form textarea {
  min-height: 100px;
  padding-top: 13px;
  resize: vertical;
}

.order-form .button {
  min-height: 50px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 950;
}

.order-form span[role="status"] {
  min-height: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.account-order b {
  display: inline-block;
  margin-top: 8px;
  color: #111;
  font-size: 16px;
  font-weight: 950;
}

@media (max-width: 760px) {
  .department-toolbar {
    grid-template-columns: 1fr !important;
    align-items: stretch;
  }

  .department-toolbar select {
    width: 100%;
    flex-basis: auto;
  }

  .category-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-chips button {
    width: 100%;
  }

  .product-detail-page .product-page,
  .product-detail-page #relatedProducts {
    grid-template-columns: 1fr;
  }

  .product-detail-page .product-detail {
    padding: 20px;
  }

  .product-detail-page .product-detail h1 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .product-detail-page .price-row,
  .product-detail-page .product-actions,
  .product-detail-page .spec-list {
    grid-template-columns: 1fr;
  }

  .product-detail-page .price-row {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 1020px) {
  #homePage .showcase-grid,
  #homePage .product-grid,
  #homePage .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #homePage .brand-picker,
  #homePage .news-grid,
  #homePage .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #homePage .vin-panel,
  #homePage .callback-card {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  #homePage {
    --home-gap: 14px;
    --home-pad: 22px;
  }

  #homePage .section,
  #homePage .home-showcase,
  #homePage .vin-section {
    padding: 36px 0 !important;
  }

  #homePage .section-head,
  #homePage .department-head {
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 14px !important;
    margin-bottom: 22px !important;
  }

  #homePage .section-head h2,
  #homePage .department-head h2 {
    font-size: clamp(30px, 10vw, 38px) !important;
  }

  #homePage .outline-link,
  #homePage .catalog-open {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
  }

  #homePage .showcase-grid,
  #homePage .product-grid,
  #homePage .why-grid,
  #homePage .brand-picker,
  #homePage .news-grid,
  #homePage .reviews-grid {
    grid-template-columns: 1fr !important;
  }

  #homePage .showcase-card,
  #homePage .showcase-card:nth-child(n) {
    min-height: 220px !important;
  }

  #homePage .showcase-card h1,
  #homePage .showcase-card h2,
  #homePage .vin-panel h2,
  #homePage .callback-card h2 {
    font-size: clamp(28px, 9vw, 36px) !important;
  }

  #homePage .vin-panel,
  #homePage .callback-card {
    padding: 24px !important;
    gap: 22px !important;
  }

  #homePage .brand-picker a:nth-child(n + 6) {
    display: none !important;
  }

  #homePage .department-card,
  #homePage .department-card:nth-child(2n),
  #homePage .department-card:last-child {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    min-height: 126px !important;
    padding: 18px 0 !important;
    gap: 14px !important;
  }

  #homePage .department-card::before {
    width: 38px !important;
    height: 38px !important;
  }

  #homePage .department-card::after {
    display: none !important;
  }

  #homePage .department-card span {
    font-size: clamp(25px, 8vw, 31px) !important;
  }

  #homePage .department-card strong {
    font-size: 15px !important;
  }

  #homePage .map-link {
    width: 100% !important;
  }
}

/* Design 17: maintenance mode and cart badge fix */
.icon-button {
  position: relative;
}

.icon-button .cart-count,
.cart-action .cart-count {
  position: absolute !important;
  top: auto !important;
  right: -7px !important;
  bottom: 3px !important;
  min-width: 18px !important;
  height: 18px !important;
  display: grid !important;
  place-items: center !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  background: var(--red) !important;
  color: #fff !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

.maintenance-mode {
  background: #f4f4f4;
}

.maintenance-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.maintenance-screen > div {
  width: min(100%, 720px);
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--line);
  background: #fff;
}

.maintenance-screen h1 {
  margin: 0;
  color: #111;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
}

.maintenance-screen p:not(.eyeline) {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

/* Design 14: account page as the first normalized design-system screen */
.account-page {
  --ui-panel: #fff;
  --ui-border: var(--line);
  --ui-gap: 24px;
  --ui-inner: 24px;
  --ui-control: 48px;
  background: #f4f4f4;
}

.account-page .section {
  padding: 48px 0 64px;
}

.account-page__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: var(--ui-gap) !important;
  align-items: start !important;
}

.account-hero {
  display: none !important;
}

.account-hero h1 {
  max-width: 760px !important;
  margin: 0 !important;
  color: #111 !important;
  font-size: clamp(34px, 4vw, 48px) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

.account-hero p:not(.eyeline) {
  max-width: 620px !important;
  margin: 12px 0 0 !important;
  color: var(--muted) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.account-auth,
.account-page__dashboard,
.account-card-box,
.discount-card,
.account-benefits article,
.account-order,
.account-profile {
  border: 1px solid var(--ui-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.account-auth {
  width: min(100%, 520px) !important;
  padding: var(--ui-inner) !important;
  background: var(--ui-panel) !important;
}

.account-page__dashboard {
  grid-column: 1 / -1 !important;
  padding: var(--ui-inner) !important;
  background: var(--ui-panel) !important;
}

.account-workspace {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: var(--ui-gap) !important;
}

.account-card-box {
  padding: var(--ui-inner) !important;
  background: var(--ui-panel) !important;
}

.account-card-box h2 {
  margin: 0 0 12px !important;
  font-size: clamp(24px, 2.8vw, 32px) !important;
  line-height: 1.05 !important;
}

.account-card-box p {
  max-width: 720px !important;
  color: var(--muted) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.account-tabs {
  gap: 10px !important;
  margin: 0 0 16px !important;
}

.account-tabs button,
.account-form input,
.account-card-form input,
.account-card-form button,
.account-orders__head button,
.account-card-actions button {
  min-height: var(--ui-control) !important;
  font-size: 15px !important;
}

.account-form,
.account-card-form,
.account-dashboard {
  gap: 12px !important;
}

.account-profile {
  padding: 18px 20px !important;
  background: #f6f6f6 !important;
}

.account-profile strong {
  margin: 3px 0 !important;
  font-size: 24px !important;
  line-height: 1.1 !important;
}

.account-benefits {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.account-benefits article,
.account-order {
  padding: 18px !important;
}

.discount-card {
  min-height: 220px !important;
  padding: 22px !important;
  background: #111 !important;
  color: #fff !important;
}

.discount-card strong {
  font-size: 22px !important;
  line-height: 1.1 !important;
}

.account-orders__head h3 {
  margin: 0;
  font-size: 24px;
}

@media (max-width: 900px) {
  .account-page__grid,
  .account-workspace {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .account-page .section {
    padding: 28px 0 40px;
  }

  .account-page {
    --ui-gap: 16px;
    --ui-inner: 18px;
  }

  .account-hero h1 {
    font-size: clamp(30px, 9vw, 36px) !important;
  }

  .account-benefits,
  .account-card-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Design 12: cabinet, cleaner mobile catalog, no company block */
#about,
.about-section,
.about-studio,
.about-showroom,
.about-grid {
  display: none !important;
}

.city::before {
  content: none !important;
}

.brand-copy {
  display: none !important;
}

.brand,
.footer-brand {
  gap: 0 !important;
}

.footer-brand {
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.footer-brand .brand-logo {
  display: block;
  margin: 0 0 10px 0;
}

.news-card .read-news,
.news-card .read-news-link,
.read-news-link {
  margin-left: 20px !important;
  margin-right: 20px !important;
  align-self: flex-start !important;
  transform: none !important;
}

.account-panel__dialog {
  max-width: min(100vw, 560px);
}

.account-form input,
.account-card-form input {
  min-height: 52px;
}

.account-dashboard {
  display: grid;
  gap: 18px;
}

@media (max-width: 640px) {
  .categories-section .container,
  .department-head {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .department-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    align-items: start !important;
  }

  .department-head > div {
    min-width: 0 !important;
  }

  .department-head h2 {
    max-width: 100% !important;
    font-size: clamp(32px, 10vw, 44px) !important;
    overflow-wrap: anywhere;
  }

  #openCatalog.catalog-open,
  .department-head .catalog-open {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    margin: 0 !important;
  }

  .department-strip {
    margin-top: 22px !important;
  }

  .account-panel__dialog {
    width: min(100%, 100vw) !important;
    max-width: 100vw !important;
  }

  .news-card .read-news,
  .news-card .read-news-link,
  .read-news-link {
    margin-left: 20px !important;
  }
}

.account-page {
  background: #f4f4f4;
}

.account-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.account-hero,
.account-auth,
.account-page__dashboard,
.account-card-box {
  border: 1px solid var(--line);
  background: #fff;
}

.account-hero,
.account-auth,
.account-card-box {
  padding: clamp(24px, 4vw, 42px);
}

.account-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.9;
  text-transform: uppercase;
}

.account-hero p:not(.eyeline),
.account-card-box p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.account-auth[hidden],
.account-page__dashboard[hidden],
.scanner-box[hidden] {
  display: none !important;
}

.account-page__dashboard {
  grid-column: 1 / -1;
  padding: clamp(18px, 3vw, 30px);
}

.account-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 18px;
}

.account-card-box h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 0.95;
}

.account-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.account-card-actions button {
  min-height: 48px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-weight: 950;
}

.account-card-actions button:first-child {
  background: #fff;
  color: #111;
}

.scanner-box {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.scanner-box video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #111;
}

.scanner-box button {
  min-height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 900;
}

.account-hint {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 860px) {
  .account-page__grid,
  .account-workspace {
    grid-template-columns: 1fr;
  }

  .account-card-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .account-page__grid {
    gap: 16px;
  }

  .account-hero,
  .account-auth,
  .account-card-box {
    padding: 22px;
  }
}

/* Account cabinet and mobile cleanup */
#about,
.about-section {
  display: none !important;
}

.account-open {
  overflow: hidden;
}

.account-panel[hidden] {
  display: none;
}

.account-panel {
  position: fixed;
  inset: 0;
  z-index: 45;
}

.account-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.account-panel__dialog {
  position: absolute;
  top: 0;
  right: 0;
  width: min(560px, 100%);
  height: 100%;
  display: block;
  overflow: auto;
  padding: 30px;
  background: #fff;
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.16);
}

.account-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0 16px;
}

.account-tabs button,
.account-card-form button,
.account-orders__head button {
  min-height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
  font-weight: 900;
}

.account-tabs button.active {
  border-color: #111;
  background: #111;
  color: #fff;
}

.account-form,
.account-card-form,
.account-dashboard {
  display: grid;
  gap: 12px;
}

.account-form[hidden],
.account-dashboard[hidden],
.account-tabs[hidden] {
  display: none !important;
}

.account-form input,
.account-card-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 0 14px;
  font: inherit;
}

.account-profile {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: #f4f4f4;
}

.account-profile span,
.account-profile small,
.discount-card span,
.account-order span {
  display: block;
  color: var(--muted);
}

.account-profile strong {
  display: block;
  margin: 4px 0;
  font-size: 28px;
}

.account-card-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.discount-card {
  min-height: 178px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
  background: #111;
  color: #fff;
}

.discount-card span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-transform: uppercase;
}

.discount-card strong {
  font-size: 24px;
}

.barcode-preview {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 10px;
  background: #fff;
}

.barcode-preview i {
  display: block;
  background: #111;
}

.ean13-code {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
}

.barcode-fallback {
  display: grid;
  gap: 6px;
  color: #111;
  text-align: center;
}

.barcode-fallback strong {
  color: #111 !important;
  font-size: 18px !important;
}

.barcode-fallback span {
  color: #666 !important;
  font-size: 13px;
  line-height: 1.35;
}

.account-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.account-benefits article,
.account-order {
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.account-benefits strong,
.account-benefits span {
  display: block;
}

.account-benefits span,
.account-order p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.account-orders__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.account-order-list {
  display: grid;
  gap: 10px;
}

.account-order strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

#accountStatus {
  min-height: 22px;
  display: block;
  margin-top: 12px;
  color: var(--red);
  font-weight: 800;
}

@media (max-width: 640px) {
  .department-head {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #openCatalog.catalog-open {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    margin: 0;
  }

  .account-panel__dialog {
    padding: 24px 18px;
  }

  .account-benefits {
    grid-template-columns: 1fr;
  }

  .account-profile,
  .account-orders__head {
    flex-direction: column;
  }
}

/* Design 9: content and admin-driven homepage */
.brand {
  gap: 10px;
}

.brand-logo {
  width: 86px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.footer-brand .brand-logo {
  width: 92px;
  height: 48px;
}

.brand-mark {
  animation: none;
}

.home-showcase {
  background: #f4f4f4;
}

.showcase-grid {
  gap: 18px;
}

.showcase-card,
.showcase-card-main,
.showcase-card-oil,
.showcase-card-suspension,
.showcase-card-top {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
  box-shadow: none;
}

.showcase-card::before,
.showcase-card::after {
  display: none;
}

.showcase-card.has-promo-image {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0 52%, rgba(255, 255, 255, 0.66)),
    var(--promo-image) center right / auto 100% no-repeat,
    #fff;
}

.showcase-card:hover {
  transform: none;
  box-shadow: none;
}

.showcase-card h1,
.showcase-card h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
}

.showcase-card p {
  max-width: 460px;
}

.department-strip {
  gap: 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.department-card,
.department-card:last-child {
  border: 1px solid var(--line);
}

.department-card {
  min-height: 230px;
}

.news-card {
  padding-bottom: 24px;
}

.news-card .read-news,
.read-news-link {
  margin-left: 0;
  margin-right: 0;
  transform: none;
}

.about-section {
  background: #f4f4f4;
  color: #111;
}

.about-showroom {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
}

.about-intro {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px;
  border: 1px solid var(--line);
  background: #fff;
}

.about-intro h2 {
  max-width: 640px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.about-intro p:not(.eyeline) {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.about-route {
  display: grid;
  gap: 14px;
}

.about-route article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 20px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.about-route span {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-weight: 950;
}

.about-route h3 {
  margin: 0;
  font-size: 26px;
}

.about-route p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.reviews-grid {
  grid-template-columns: repeat(3, 1fr);
}

.map-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 20px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-weight: 900;
}

.footer-bottom {
  justify-content: space-between;
  gap: 18px;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: min(340px, calc(100vw - 32px));
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong,
.cookie-banner p {
  display: block;
  margin: 0;
}

.cookie-banner strong {
  font-size: 16px;
}

.cookie-banner p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-banner__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-banner__actions a {
  color: var(--muted);
  font-size: 14px;
}

.thanks-order {
  margin: 0 0 28px;
  border: 1px solid var(--line);
  background: #f7f7f7;
}

.thanks-order__head,
.thanks-order__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.thanks-order__head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.thanks-order__head span {
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.thanks-order__head strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.thanks-order__items {
  display: grid;
  gap: 0;
}

.thanks-order__items > p {
  margin: 0;
  padding: 22px;
  color: var(--muted);
  font-weight: 800;
}

.thanks-order__item {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}

.thanks-order__item:last-child {
  border-bottom: 0;
}

.thanks-order__item span {
  color: #111;
  font-weight: 850;
}

.thanks-order__item strong {
  color: #111;
  font-size: 18px;
  font-weight: 950;
  white-space: nowrap;
}

.cookie-banner__actions button {
  min-height: 42px;
  min-width: 124px;
  padding: 0 18px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-weight: 700;
}

.cookie-banner__actions button:hover {
  background: var(--red-dark);
}

@media (max-width: 640px) {
  .cookie-banner {
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
    gap: 14px;
    padding: 14px;
  }

  .cookie-banner__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .cookie-banner__actions button {
    width: 100%;
  }
}

.footer-bottom span:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom a {
  color: var(--muted);
}

@media (max-width: 1020px) {
  .about-showroom,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .department-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 70px;
    height: 36px;
  }

  .showcase-card,
  .showcase-card-main,
  .showcase-card-top {
    min-height: 190px;
    padding: 22px;
    background: #fff;
    color: #111;
  }

  .showcase-card h1,
  .showcase-card h2,
  .showcase-card p,
  .showcase-card-top h2,
  .showcase-card-top p {
    max-width: 100%;
    color: inherit;
  }

  .department-strip {
    grid-template-columns: 1fr;
  }

  .department-card,
  .department-card:nth-child(2n),
  .department-card:last-child {
    border: 1px solid var(--line);
  }

  .about-intro,
  .about-route article {
    padding: 24px;
  }

  .about-route article {
    grid-template-columns: 1fr;
  }

  .footer-bottom,
  .footer-bottom span:last-child {
    align-items: flex-start;
    flex-direction: column;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.48;
  letter-spacing: 0;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.container {
  width: min(1030px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: static;
  top: 0;
  z-index: 10;
  border-bottom: 0;
  background: #fff;
  backdrop-filter: none;
}

.top-strip {
  min-height: 28px;
  border-bottom: 1px solid var(--line);
  color: #4f4f55;
  font-size: 11px;
  text-transform: uppercase;
}

.top-strip__inner {
  min-height: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.top-strip nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.worktime strong {
  color: #111;
}

.header-shell {
  min-height: 66px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 34px;
  border-radius: 2px;
  background: #000;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  box-shadow: inset 0 -5px 0 var(--red);
}

.brand-copy {
  color: #111;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header-search {
  display: grid;
  grid-template-columns: 170px 1fr 46px;
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
}

.header-search select,
.header-search input {
  height: 36px;
  border: 0;
  border-radius: 0;
  background: #fff;
  font-size: 12px;
}

.header-search select {
  border-right: 1px solid var(--line);
}

.header-search button {
  border: 0;
  border-left: 1px solid var(--line);
  background: #fff;
  color: #555;
  font-size: 18px;
}

.footer a {
  transition: color 0.18s ease;
}

.footer a:hover {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #2a2a2f;
  font-size: 14px;
  font-weight: 700;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #fff;
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count,
.nav-badge {
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.catalog-nav {
  background: #0e0e0f;
  color: #fff;
}

.catalog-nav__inner {
  min-height: 46px;
  display: flex;
  align-items: stretch;
}

.catalog-nav__item {
  position: relative;
  display: flex;
}

.catalog-nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.catalog-nav a:hover,
.catalog-nav__dropdown:hover > .catalog-nav__main {
  background: var(--red);
  color: #fff;
}

.catalog-nav__main {
  min-width: 190px;
  justify-content: space-between;
  background: #0e0e0f;
}

.catalog-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: grid;
  min-width: 240px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.catalog-nav__dropdown:hover .catalog-menu,
.catalog-nav__dropdown:focus-within .catalog-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.catalog-menu a {
  min-height: 44px;
  justify-content: space-between;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.catalog-nav__phone {
  margin-left: auto;
}

.hero {
  padding: 46px 0 24px;
}

.hero-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.74fr);
  grid-template-areas:
    "copy search"
    "routing routing";
  gap: 22px;
  align-items: stretch;
}

.hero-copy {
  grid-area: copy;
  display: grid;
  align-content: center;
  min-height: 480px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.74)),
    url("./assets/engine.webp") center / cover;
  box-shadow: var(--shadow);
}

.eyeline {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  font-weight: 800;
}

.hero-text {
  max-width: 670px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  background: #1d1d1f;
  color: #fff;
  box-shadow: 0 16px 40px rgba(29, 29, 31, 0.22);
}

.button-light {
  background: #fff;
  color: #1d1d1f;
  box-shadow: inset 0 0 0 1px var(--line);
}

.button-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 18px 38px rgba(255, 45, 85, 0.24);
}

.search-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-search {
  grid-area: search;
  align-self: stretch;
  display: grid;
  align-content: start;
}

.search-card__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.search-card__head span {
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.search-card__head strong {
  color: #303036;
  font-size: 14px;
}

.hero-routing {
  grid-area: routing;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.route-card {
  min-height: 126px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.04);
}

.route-card span,
.priority-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.route-card strong {
  max-width: 260px;
  font-size: 20px;
  line-height: 1.1;
}

.route-card-red {
  background: #111;
  color: #fff;
}

.route-card-red span {
  color: rgba(255, 255, 255, 0.66);
}

.search-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #ededf2;
}

.search-tab {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 750;
}

.search-tab.active {
  background: #fff;
  color: #000;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.smart-search {
  display: none;
  margin-top: 18px;
}

.smart-search.active {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  outline: 0;
  padding: 0 15px;
}

input,
select {
  height: 52px;
}

textarea {
  min-height: 116px;
  padding-top: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 113, 227, 0.42);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.11);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 12px;
}

.search-status {
  min-height: 22px;
  margin: 14px 6px 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
}

.promo-carousel {
  padding: 16px 0 30px;
}

.home-showcase {
  padding: 28px 0 30px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  grid-template-rows: 160px 160px;
  gap: 14px;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  background: #f3f3f3;
  color: #111;
  min-height: 0;
}

.showcase-card::before {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 52%;
  height: 86%;
  background-size: contain;
  background-position: right bottom;
  background-repeat: no-repeat;
}

.showcase-card > * {
  position: relative;
  z-index: 1;
}

.showcase-card span {
  width: max-content;
  padding: 4px 8px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.showcase-card h1,
.showcase-card h2 {
  max-width: 300px;
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  text-transform: uppercase;
}

.showcase-card strong {
  margin-top: auto;
  font-size: 18px;
}

.showcase-card-main {
  grid-column: span 2;
}

.showcase-card-main::before {
  background-image: url("./assets/brake-pads.webp");
}

.showcase-card-oil {
  grid-column: 1;
  grid-row: 2;
}

.showcase-card-oil::before {
  background-image: url("./assets/motor-oil.webp");
}

.showcase-card-suspension {
  grid-column: 2;
  grid-row: 2;
}

.showcase-card-suspension::before {
  background-image: url("./assets/engine.webp");
}

.showcase-card-top {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-content: start;
  background: linear-gradient(180deg, #f1f1f1 0 58%, var(--red) 58% 100%);
}

.showcase-card-top::before {
  width: 90%;
  height: 72%;
  right: 0;
  background-image: url("./assets/battery.webp");
}

.vehicle-section,
.categories-section {
  padding-top: 24px;
}

.outline-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.brand-picker {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px 26px;
  color: #8a8a8f;
  font-size: 12px;
  line-height: 1.85;
}

.brand-picker a {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
}

.brand-picker span {
  color: var(--red);
  font-weight: 900;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.department-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.department-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #111;
  color: #fff;
  animation: softRise 0.55s ease both;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.department-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.16);
}

.department-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.82));
}

.department-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
  transition: transform 0.28s ease;
}

.department-card:hover img {
  transform: scale(1.05);
}

.department-card span,
.department-card strong {
  position: relative;
  z-index: 1;
}

.department-card span {
  width: max-content;
  padding: 5px 9px;
  background: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.department-card strong {
  max-width: 210px;
  font-size: 20px;
  line-height: 1.15;
}

.category-strip__item {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr 82px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f3f3f3;
  color: #111;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-strip__item img {
  width: 82px;
  height: 54px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.category-strip__item span {
  order: -1;
}

.category-strip__item-red {
  background: var(--red);
  color: #fff;
}

.home-priority {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  padding: 18px 0 10px;
}

.priority-card {
  min-height: 180px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.04);
}

.priority-card strong {
  max-width: 420px;
  font-size: 28px;
  line-height: 1.08;
}

.priority-card a {
  width: max-content;
  color: var(--blue);
  font-weight: 800;
}

.priority-card-image {
  position: relative;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.priority-card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.44;
}

.priority-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.22));
}

.priority-card-image > * {
  position: relative;
  z-index: 1;
}

.priority-card-image span {
  color: rgba(255, 255, 255, 0.72);
}

.priority-card-image a {
  color: #fff;
}

.priority-oil::before {
  background-image: url("./assets/motor-oil.webp");
}

.carousel-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.promo-slide {
  min-width: 100%;
  min-height: 330px;
  display: flex;
  align-items: end;
  padding: 36px;
  color: #fff;
  background: #111;
  background-size: cover;
  background-position: center;
  position: relative;
}

.promo-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18));
}

.promo-slide > div {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.promo-slide span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 850;
}

.promo-slide h2 {
  margin: 12px 0 12px;
  color: #fff;
}

.promo-slide p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.promo-slide-oil {
  background-image: url("./assets/motor-oil.webp");
}

.promo-slide-brake {
  background-image: url("./assets/brake-pads.webp");
}

.promo-slide-garage {
  background-image: url("./assets/garage.webp");
}

.carousel-controls {
  position: absolute;
  left: 36px;
  bottom: 24px;
  display: flex;
  gap: 9px;
  z-index: 2;
}

.carousel-dot {
  width: 34px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.carousel-dot.active {
  background: #fff;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  padding: 16px 0 30px;
}

.promo-card {
  min-height: 174px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.promo-card-dark {
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 45, 85, 0.6), transparent 16rem),
    #111;
  color: #fff;
}

.promo-oil,
.promo-brake,
.promo-garage {
  position: relative;
}

.promo-oil::before,
.promo-brake::before,
.promo-garage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.24;
}

.promo-oil::before {
  background-image: url("./assets/motor-oil.webp");
}

.promo-brake::before {
  background-image: url("./assets/brake-pads.webp");
}

.promo-garage::before {
  background-image: url("./assets/garage.webp");
}

.promo-card > * {
  position: relative;
  z-index: 1;
}

.promo-card span,
.promo-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
}

.promo-card-dark span,
.promo-card-dark em {
  color: rgba(255, 255, 255, 0.72);
}

.promo-card strong {
  max-width: 320px;
  font-size: 28px;
  line-height: 1.05;
}

.section {
  padding: 42px 0;
}

.section-soft {
  background: #f4f4f4;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

h2 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.12;
  font-weight: 800;
  text-transform: uppercase;
}

h3,
p {
  margin-top: 0;
}

.text-link {
  color: var(--blue);
  font-weight: 700;
}

.catalog-note {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.catalog-open {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.categories-section .catalog-open {
  min-height: 34px;
  border: 1px solid var(--red);
  border-radius: 0;
  background: #fff;
  color: var(--red);
  font-size: 11px;
  text-transform: uppercase;
  box-shadow: none;
}

.catalog-teasers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.catalog-tile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.04);
}

.catalog-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.catalog-tile div {
  padding: 20px;
}

.catalog-tile span {
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.catalog-tile h3 {
  margin: 10px 0 8px;
  font-size: 24px;
  line-height: 1.08;
}

.catalog-tile p {
  margin: 0;
  color: var(--muted);
}

.departments-section {
  padding-top: 62px;
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.department-card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #111;
  color: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.department-card::before,
.department-card::after {
  content: "";
  position: absolute;
  inset: 0;
}

.department-card::before {
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.72;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.department-card::after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.82));
}

.department-card:hover::before {
  transform: scale(1.04);
  opacity: 0.84;
}

.department-card > * {
  position: relative;
  z-index: 2;
}

.department-chem::before {
  background-image: url("./assets/motor-oil.webp");
}

.department-gazel::before {
  background-image: url("./assets/garage.webp");
}

.department-vaz::before {
  background-image: url("./assets/brake-pads.webp");
}

.department-truck::before {
  background-image: url("./assets/engine.webp");
}

.department-card span {
  width: max-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.department-card h3 {
  margin: 18px 0 8px;
  font-size: 27px;
  line-height: 1.05;
}

.department-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.catalog-store.collapsed {
  display: none;
}

.catalog-store.is-open {
  display: block;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 190px repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.brand-list,
.catalog-step,
.category-card,
.filters-panel,
.shop-results,
.product-card,
.product-gallery,
.product-detail,
.why-grid article,
.reviews-grid blockquote,
.flow-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.04);
}

.brand-list {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.brand-list button {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 750;
  text-align: left;
  padding: 0 14px;
}

.brand-list button.active {
  background: #111;
  color: #fff;
}

.catalog-step {
  min-height: 200px;
  padding: 24px;
}

.catalog-step span {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.catalog-step h3,
.category-card h3,
.product-detail h2 {
  margin: 12px 0 8px;
}

.catalog-step p,
.category-card p,
.product-card p,
.why-grid p,
.flow-card li,
.footer p,
.footer a {
  color: var(--muted);
}

.catalog-step-wide {
  grid-column: 2 / -1;
  min-height: auto;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip-row a {
  padding: 10px 14px;
  border-radius: 999px;
  background: #f5f5f7;
  color: #222;
  font-weight: 700;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.category-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: #f1f1f4;
  color: var(--red);
  font-size: 28px;
  font-weight: 800;
}

.category-card h3,
.why-grid h3,
.flow-card h3 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.12;
}

.shop-preview {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
}

.filters-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
}

.filters-panel h3 {
  margin: 0;
  font-size: 22px;
}

.check {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
}

.check input {
  width: 18px;
  height: 18px;
}

.shop-results {
  padding: 20px;
}

.sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.sort-row strong {
  font-size: 26px;
}

.sort-row select {
  width: 210px;
}

.mini-products,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 0;
  box-shadow: none;
}

.product-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1.35;
  border-radius: 0;
  object-fit: contain;
  background: #fff;
}

.product-visual,
.gallery-main {
  position: relative;
  min-height: 150px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.1), transparent 5rem),
    #f5f5f7;
  overflow: hidden;
}

.product-visual::before,
.gallery-main::before {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, #222, #555);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.16);
}

.product-visual.brake::before,
.gallery-main.brake::before {
  inset: 38px 32px;
  border-radius: 999px;
  border: 18px solid #dfe2e7;
  background: #fff;
}

.product-visual.brake::after,
.gallery-main.brake::after {
  content: "";
  position: absolute;
  right: 36px;
  top: 54px;
  width: 54px;
  height: 78px;
  border-radius: 16px;
  background: var(--red);
  transform: rotate(10deg);
}

.product-visual.disc::before {
  inset: 32px;
  border-radius: 999px;
  border: 18px solid #d8dce3;
  background: #fff;
}

.product-visual.sensor::before {
  inset: 44px 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #35353a, #0d0d0f);
}

.product-visual.oil::before {
  inset: 28px 60px;
  border-radius: 14px 14px 24px 24px;
  background: linear-gradient(135deg, #17171a, #4c4c52);
}

.product-visual.oil::after {
  content: "777";
  position: absolute;
  left: 50%;
  top: 60px;
  width: 56px;
  padding: 6px 0;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  text-align: center;
  transform: translateX(-50%);
}

.product-visual.filter::before {
  inset: 34px 72px;
  border-radius: 20px;
  background:
    repeating-linear-gradient(90deg, #d1d1d6 0 5px, #f7f7fa 5px 11px);
}

.product-visual.battery::before {
  inset: 48px 34px;
  border-radius: 14px;
}

.product-visual.shock::before {
  inset: 28px 78px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ddd, #555);
}

.stock {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.muted-stock {
  color: var(--muted);
}

.product-card h3 {
  min-height: 44px;
  margin: 0;
  font-size: 17px;
  line-height: 1.22;
}

.product-card p {
  margin: 0;
  font-size: 14px;
}

.product-card strong {
  font-size: 20px;
}

.product-card button {
  min-height: 42px;
  border: 1px solid var(--red);
  border-radius: 0;
  background: #fff;
  color: var(--red);
  font-weight: 750;
}

.product-page {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 18px;
}

.product-gallery,
.product-detail {
  padding: 22px;
}

.gallery-main {
  min-height: 390px;
}

.photo-main {
  display: block;
  width: 100%;
  height: 390px;
  min-height: 0;
  object-fit: cover;
  border-radius: 22px;
}

.photo-main.is-srs-photo,
.product-photo.is-srs-photo {
  object-fit: contain !important;
  object-position: center;
  background: #fff;
  padding: 18px;
  box-sizing: border-box;
}

.photo-main.is-srs-photo {
  height: 390px;
  border-radius: 0;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumbs span {
  width: 70px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f5f5f7;
}

.gallery-thumbs img {
  width: 70px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 14px;
  object-fit: cover;
}

.product-detail h2 {
  font-size: clamp(30px, 3vw, 48px);
}

.compatibility {
  color: var(--muted);
  font-size: 18px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0;
}

.price-row strong {
  font-size: 42px;
}

.price-row span {
  color: var(--green);
  font-weight: 800;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
}

.spec-list div {
  padding: 14px;
  border-radius: var(--radius-md);
  background: #f5f5f7;
}

.spec-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.spec-list dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.analog-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 45, 85, 0.08);
}

.analog-box p {
  margin: 6px 0 0;
  color: var(--muted);
}

.why-grid,
.reviews-grid,
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-grid article,
.reviews-grid blockquote,
.flow-card {
  margin: 0;
  padding: 24px;
}

.why-grid span {
  color: var(--red);
  font-weight: 900;
}

.reviews-grid {
  grid-template-columns: repeat(3, 1fr);
}

.reviews-grid p {
  color: #303036;
  font-size: 18px;
}

.reviews-grid cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 750;
}

.flow-grid {
  grid-template-columns: repeat(3, 1fr);
}

.flow-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.callback-section {
  padding-bottom: 82px;
}

.callback-card {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 0.72fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74)),
    url("./assets/garage.webp") center / cover;
  box-shadow: var(--shadow);
}

.callback-card h2 {
  max-width: 760px;
}

.callback-card p:not(.eyeline) {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.callback-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(20px);
}

.callback-form span {
  min-height: 22px;
  color: var(--green);
  font-weight: 800;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.about-copy,
.about-stats,
.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.04);
}

.about-copy {
  padding: 32px;
}

.about-copy p:not(.eyeline) {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.about-stats {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.about-stats div {
  display: grid;
  align-content: center;
  min-height: 120px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: #f5f5f7;
}

.about-stats strong {
  font-size: 42px;
  line-height: 1;
}

.about-stats span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news-card {
  overflow: hidden;
}

.news-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.news-card span,
.news-card h3,
.news-card p {
  margin-left: 20px;
  margin-right: 20px;
}

.news-card span {
  display: block;
  margin-top: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.news-card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.12;
}

.news-card p {
  margin-bottom: 22px;
  color: var(--muted);
}

.read-news {
  margin: 0 20px 22px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 800;
}

.stars {
  margin-bottom: 12px;
  color: #ffb300;
  font-size: 18px;
  letter-spacing: 0;
}

.cart-line,
.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-total {
  border-bottom: 0;
  font-size: 20px;
}

.footer {
  padding: 58px 0 26px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer h3 {
  margin: 0 0 14px;
  font-size: 14px;
}

.footer p,
.footer a {
  display: block;
  margin: 0 0 10px;
  font-size: 14px;
}

.footer-social {
  width: 44px;
  height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px !important;
  padding: 0;
  border: 1px solid var(--line);
  background: #0077ff;
  color: #fff;
  text-decoration: none;
}

.footer-social span {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.footer-social:hover {
  border-color: #0077ff;
  background: #006be6;
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.department-page[hidden],
.article-modal[hidden] {
  display: none;
}

.department-hero {
  padding: 70px 0 38px;
  background:
    radial-gradient(circle at top left, rgba(255, 45, 85, 0.13), transparent 32rem),
    #fbfbfd;
}

.department-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
}

.department-hero p:not(.eyeline) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 21px;
}

.back-home {
  margin-bottom: 28px;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px var(--line);
}

.department-shop {
  padding-top: 34px;
}

.department-shop__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
  align-items: start;
}

.department-filters {
  position: sticky;
  top: 92px;
}

.department-products {
  min-width: 0;
}

.department-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.department-toolbar strong {
  font-size: 28px;
}

.department-toolbar p {
  margin: 6px 0 0;
  color: var(--muted);
}

.department-toolbar select {
  width: 220px;
}

.department-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.article-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}

.article-dialog {
  position: relative;
  width: min(720px, 100%);
  padding: 34px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}

.article-dialog p:not(.eyeline) {
  color: var(--muted);
  font-size: 19px;
}

.article-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #f5f5f7;
  color: #111;
  font-size: 26px;
  line-height: 1;
}

.cart-open {
  overflow: hidden;
}

.cart-panel[hidden] {
  display: none;
}

.cart-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.cart-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.cart-panel__dialog {
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 14px;
  padding: 30px;
  background: #fff;
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.16);
}

.cart-panel__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: #f3f3f3;
  font-size: 24px;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding-right: 4px;
}

.cart-empty {
  padding: 18px;
  background: #f4f4f4;
  color: var(--muted);
  font-size: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
}

.cart-item img {
  width: 74px;
  height: 62px;
  object-fit: contain;
  background: #fff;
}

.cart-item strong,
.cart-item span,
.cart-item em {
  display: block;
}

.cart-item strong {
  font-size: 14px;
  line-height: 1.2;
}

.cart-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.cart-item em {
  margin-top: 6px;
  font-style: normal;
  font-weight: 900;
}

.cart-item__actions {
  display: grid;
  grid-template-columns: 28px 24px 28px;
  align-items: center;
  text-align: center;
}

.cart-item__actions button {
  height: 28px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 900;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.order-form {
  display: grid;
  gap: 10px;
}

.delivery-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.delivery-choice legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.delivery-choice label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

.delivery-choice input {
  width: auto !important;
  min-height: auto !important;
}

.delivery-fields {
  display: grid;
  gap: 10px;
}

.delivery-fields[hidden],
.delivery-quote[hidden] {
  display: none;
}

.delivery-calculate {
  min-height: 48px;
}

.delivery-quote {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #f7f7f7;
}

.delivery-quote strong {
  justify-self: end;
}

.delivery-quote small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.delivery-checkout-page {
  min-height: calc(100vh - 96px);
}

.delivery-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.delivery-checkout-copy {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
}

.delivery-checkout-copy h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
}

.delivery-checkout-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.delivery-order-summary,
.delivery-checkout-form {
  border: 1px solid var(--line);
  background: var(--white);
}

.delivery-order-summary {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 24px;
}

.delivery-order-summary span {
  color: var(--muted);
}

.delivery-order-summary strong:last-child {
  color: var(--red);
}

.delivery-checkout-form {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  gap: 18px;
  padding: 28px;
}

.delivery-checkout-form h2 {
  margin: 0;
  font-size: 22px;
}

.delivery-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.delivery-form-grid label,
.delivery-comment {
  display: grid;
  gap: 7px;
}

.delivery-form-grid span,
.delivery-comment span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.delivery-form-wide {
  grid-column: 1 / -1;
}

.delivery-address-field {
  position: relative;
}

.delivery-checkout-form input,
.delivery-checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  min-height: 54px;
  padding: 0 16px;
}

.delivery-checkout-form textarea {
  min-height: 110px;
  padding-top: 16px;
}

.address-suggestions {
  position: absolute;
  top: 82px;
  left: 0;
  right: 0;
  z-index: 30;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 45px rgba(9, 18, 32, 0.16);
}

.address-suggestions[hidden] {
  display: none;
}

.address-suggestions button {
  display: grid;
  width: 100%;
  gap: 3px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 13px 16px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.address-suggestions button:last-child {
  border-bottom: 0;
}

.address-suggestions button:hover,
.address-suggestions button:focus-visible {
  background: #f3f4f6;
  outline: none;
}

.address-suggestions strong {
  font-size: 15px;
  line-height: 1.25;
}

.address-suggestions small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.delivery-form-actions {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(220px, 1fr);
  gap: 12px;
}

#deliveryCheckoutStatus {
  min-height: 24px;
  color: var(--muted);
}

.delivery-options {
  display: grid;
  gap: 14px;
}

.delivery-options h2 {
  margin: 0;
}

.delivery-options-list {
  display: grid;
  gap: 12px;
}

.delivery-option-card {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  border: 1px solid var(--line);
  padding: 16px;
}

.delivery-option-card input[type="radio"] {
  appearance: none;
  display: block !important;
  box-sizing: border-box !important;
  flex: 0 0 20px !important;
  inline-size: 20px !important;
  block-size: 20px !important;
  width: 20px !important;
  height: 20px !important;
  min-inline-size: 20px !important;
  min-block-size: 20px !important;
  max-inline-size: 20px !important;
  max-block-size: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #9aa2ad;
  border-radius: 50% !important;
  background: #fff;
}

.delivery-option-card input[type="radio"]:checked {
  border: 6px solid var(--red);
}

.delivery-option-card span {
  display: grid;
  gap: 4px;
}

.delivery-option-card strong {
  font-size: 18px;
}

.delivery-option-card small {
  color: var(--muted);
}

.delivery-option-card b {
  white-space: nowrap;
}

.checkout-method-page {
  min-height: calc(100vh - 84px);
}

.checkout-method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.checkout-method-copy {
  grid-column: 1;
}

.checkout-method-copy h1 {
  margin: 28px 0 14px;
}

.checkout-method-copy p {
  max-width: 620px;
}

.checkout-method-grid .delivery-order-summary {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.checkout-method-options {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.checkout-method-card {
  display: grid;
  min-height: 190px;
  gap: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 28px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.checkout-method-card:hover,
.checkout-method-card:focus-visible {
  border-color: var(--red);
  outline: none;
}

.checkout-method-card span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-method-card strong {
  font-size: 28px;
  line-height: 1.05;
}

.checkout-method-card small {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.pickup-method-panel {
  grid-column: 1;
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  padding: 28px;
  background: #fff;
}

.pickup-method-panel[hidden],
.checkout-method-login[hidden] {
  display: none;
}

.pickup-method-panel h2 {
  margin: 0;
}

.pickup-payment-options {
  display: grid;
  gap: 12px;
}

.pickup-payment-options label {
  display: flex;
  align-items: center;
  min-height: 54px;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 0 16px;
  font-weight: 800;
}

.pickup-payment-options label input,
.delivery-option-card input {
  box-sizing: border-box !important;
  padding: 0 !important;
}

.pickup-payment-options input[type="radio"] {
  appearance: none;
  display: block !important;
  box-sizing: border-box !important;
  flex: 0 0 20px !important;
  inline-size: 20px !important;
  block-size: 20px !important;
  width: 20px !important;
  height: 20px !important;
  min-inline-size: 20px !important;
  min-block-size: 20px !important;
  max-inline-size: 20px !important;
  max-block-size: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #9aa2ad;
  border-radius: 50% !important;
  background: #fff;
}

.pickup-payment-options input[type="radio"]:checked {
  border: 6px solid var(--red);
}

.checkout-method-login {
  grid-column: 1;
}

.pvz-delivery-section {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.pvz-delivery-section[hidden] {
  display: none;
}

.pvz-delivery-section h2 {
  margin: 0;
}

.pvz-delivery-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.pvz-limits {
  display: grid;
  gap: 6px;
  border-left: 4px solid var(--red);
  background: #f7f8fa;
  padding: 14px 16px;
}

.pvz-limits strong {
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

.pvz-limits span {
  color: var(--muted);
  line-height: 1.45;
}

.pvz-widget {
  min-height: 450px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f7f8fa;
}

#ydw-widget-section,
.pvz-widget #ydw-widget-section,
.pvz-widget .widget__wrapper {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

#ydw-widget-section,
.pvz-widget #ydw-widget-section {
  min-height: 450px !important;
}

.pvz-selected {
  display: grid;
  gap: 6px;
  border-left: 4px solid var(--red);
  background: #f7f8fa;
  padding: 16px 18px;
}

.pvz-selected[hidden] {
  display: none;
}

.pvz-selected span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pvz-selected strong {
  font-size: 18px;
  line-height: 1.35;
}

.pvz-selected small {
  color: var(--muted);
}

#methodStatus {
  grid-column: 1;
  min-height: 24px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .delivery-checkout-grid {
    grid-template-columns: 1fr;
  }

  .delivery-checkout-copy,
  .delivery-order-summary,
  .delivery-checkout-form {
    grid-column: auto;
    grid-row: auto;
  }

  .delivery-order-summary {
    order: 2;
  }

  .delivery-checkout-form {
    order: 3;
    padding: 20px;
  }

  .delivery-form-grid,
  .delivery-form-actions {
    grid-template-columns: 1fr;
  }

  .pvz-delivery-section {
    margin-top: 0;
  }

  .pvz-widget {
    min-height: 360px;
    max-height: 420px;
    border-color: var(--red);
  }

  #ydw-widget-section,
  .pvz-widget #ydw-widget-section {
    min-height: 360px !important;
  }

  .pvz-widget .ydw-widget__header-mobile {
    height: auto !important;
  }

  .pvz-widget .widget__header {
    position: relative !important;
    bottom: auto !important;
    width: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .pvz-widget .widget__content {
    padding-right: 0 !important;
  }

  .pvz-widget .widget__map {
    min-height: 260px !important;
    border-radius: 0 !important;
  }

  .delivery-option-card {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .delivery-option-card b {
    grid-column: 2;
  }

  .checkout-method-grid {
    grid-template-columns: 1fr;
  }

  .checkout-method-grid .delivery-order-summary,
  .checkout-method-copy,
  .checkout-method-options,
  .pickup-method-panel,
  .checkout-method-login,
  #methodStatus {
    grid-column: auto;
    grid-row: auto;
  }

  .checkout-method-options {
    grid-template-columns: 1fr;
  }

  .checkout-method-card {
    min-height: 0;
    padding: 22px;
  }

  .checkout-method-card strong {
    font-size: 24px;
  }
}

/* Checkout cart row: keep product details and quantity controls on separate rows. */
.cart-panel .cart-item {
  grid-template-columns: 88px minmax(0, 1fr) !important;
  align-items: start !important;
}

.cart-panel .cart-item > div:not(.cart-item__actions) {
  min-width: 0;
}

.cart-panel .cart-item__actions {
  grid-column: 1 / -1 !important;
  width: 100%;
  grid-template-columns: 46px 46px 46px minmax(110px, 1fr) !important;
}

.cart-panel .cart-item__actions [data-cart-remove] {
  justify-self: stretch !important;
}

@media (max-width: 640px) {
  .cart-panel .cart-item {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  .cart-panel .cart-item__actions {
    grid-template-columns: 42px 42px 42px !important;
  }
}

.order-form textarea {
  min-height: 86px;
}

.order-form span {
  min-height: 20px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .header-shell {
    grid-template-columns: 1fr auto;
  }

  .header-search {
    grid-column: 1 / -1;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .hero-workbench,
  .shop-preview,
  .product-page {
    grid-template-columns: 1fr;
  }

  .hero-workbench {
    grid-template-areas:
      "copy"
      "search"
      "routing";
  }

  .catalog-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-list,
  .catalog-step-wide {
    grid-column: 1 / -1;
  }

  .brand-list {
    grid-template-columns: repeat(5, 1fr);
  }

  .promo-grid,
  .home-priority,
  .hero-routing,
  .showcase-grid,
  .category-strip,
  .catalog-teasers,
  .department-grid,
  .category-grid,
  .product-grid,
  .why-grid,
  .reviews-grid,
  .flow-grid,
  .callback-card,
  .about-grid,
  .news-grid,
  .department-shop__layout,
  .department-product-grid,
  .mini-products,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-strip__inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px 0;
  }

  .top-strip nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .catalog-nav__inner {
    overflow-x: auto;
  }

  .catalog-nav a {
    flex: 0 0 auto;
  }

  .showcase-grid {
    grid-template-rows: auto;
  }

  .showcase-card,
  .showcase-card-main,
  .showcase-card-oil,
  .showcase-card-suspension,
  .showcase-card-top {
    grid-column: auto;
    grid-row: auto;
    min-height: 190px;
  }

  .brand-picker {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .site-header {
    position: static;
  }

  .header-shell,
  .header-actions,
  .section-head,
  .footer-bottom {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .header-actions {
    display: flex;
  }

  .header-shell {
    gap: 12px;
  }

  .header-search {
    grid-template-columns: 1fr 44px;
  }

  .header-search select {
    display: none;
  }

  .catalog-nav__main {
    min-width: 150px;
  }

  .search-card {
    padding: 16px;
    border-radius: 26px;
  }

  .field-row,
  .promo-grid,
  .home-priority,
  .showcase-grid,
  .category-strip,
  .catalog-layout,
  .catalog-teasers,
  .department-grid,
  .brand-list,
  .category-grid,
  .product-grid,
  .why-grid,
  .reviews-grid,
  .flow-grid,
  .callback-card,
  .about-grid,
  .news-grid,
  .department-shop__layout,
  .department-product-grid,
  .mini-products,
  .footer-grid,
  .spec-list {
    grid-template-columns: 1fr;
  }

  .brand-picker {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-strip__item {
    grid-template-columns: 1fr 74px;
  }

  .hero-routing {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  h2 {
    font-size: 22px;
  }

  .showcase-card {
    min-height: 170px;
    padding: 22px;
  }

  .showcase-card::before {
    width: 50%;
    height: 78%;
    opacity: 0.9;
  }

  .showcase-card h1,
  .showcase-card h2 {
    max-width: 52%;
    font-size: 24px;
  }

  .showcase-card-top::before {
    width: 58%;
  }

  .promo-card strong {
    font-size: 24px;
  }

  .promo-slide {
    min-height: 420px;
    padding: 24px;
  }

  .carousel-controls {
    left: 24px;
  }

  .sort-row,
  .price-row,
  .department-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .sort-row select,
  .department-toolbar select {
    width: 100%;
  }

  .department-filters {
    position: static;
  }
}

/* Launch polish */
.home-showcase {
  padding: 38px 0 42px;
  background: linear-gradient(180deg, #fff 0%, #f7f7f8 100%);
}

.showcase-grid {
  grid-template-columns: 1.25fr 0.95fr 1fr;
  grid-template-rows: 220px 190px;
  gap: 18px;
}

.showcase-card {
  isolation: isolate;
  min-height: auto;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f1f1f2;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.showcase-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.1);
}

.showcase-card::before {
  right: 0;
  bottom: 0;
  width: 58%;
  height: 92%;
  background-size: cover;
  opacity: 0.95;
  z-index: -2;
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(241, 241, 242, 0.98) 0 42%, rgba(241, 241, 242, 0.6) 66%, rgba(241, 241, 242, 0.1));
}

.showcase-card h1,
.showcase-card h2 {
  max-width: 390px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 0.98;
}

.showcase-card p {
  max-width: 360px;
  margin: 0;
  color: #555b64;
  font-weight: 650;
}

.showcase-card strong {
  font-size: 26px;
}

.showcase-card-main {
  grid-column: span 2;
}

.showcase-card-oil,
.showcase-card-suspension {
  padding: 24px;
}

.showcase-card-oil h1,
.showcase-card-oil h2,
.showcase-card-suspension h1,
.showcase-card-suspension h2 {
  font-size: 26px;
}

.showcase-card-top {
  background: linear-gradient(180deg, #f1f1f2 0 54%, var(--red) 54% 100%);
}

.showcase-card-top::before {
  width: 72%;
  height: 64%;
  right: 0;
  bottom: 0;
}

.showcase-card-top::after {
  background: linear-gradient(180deg, rgba(241, 241, 242, 0.98) 0 45%, rgba(241, 241, 242, 0.35) 68%, rgba(227, 6, 19, 0.04));
}

.vin-section {
  padding: 22px 0 36px;
}

.vin-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  background: #111;
  color: #fff;
}

.vin-panel h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
}

.vin-panel p:not(.eyeline) {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.vin-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vin-form input,
.vin-form select {
  height: 48px;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.vin-form button,
.vin-form span {
  grid-column: 1 / -1;
}

.vin-form span {
  min-height: 20px;
  color: #fff;
  font-weight: 800;
}

.vehicle-section {
  padding: 48px 0;
}

.vehicle-section .section-head {
  align-items: center;
}

.brand-picker {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.brand-picker a {
  min-height: 126px;
  grid-template-columns: 34px 1fr;
  align-content: start;
  gap: 8px 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: #5e646d;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.brand-picker a:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.brand-picker span {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--red);
  color: #fff;
}

.brand-picker strong {
  font-weight: 750;
}

.category-strip {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.category-strip__item {
  min-height: 106px;
  padding: 18px;
  font-size: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.category-strip__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.category-strip__item img {
  width: 96px;
  height: 72px;
}

.callback-section {
  padding: 70px 0 82px;
}

.callback-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 48px;
  border: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0 44%, rgba(255, 255, 255, 0.72) 68%, rgba(255, 255, 255, 0.36)),
    url("./assets/garage.webp") center / cover;
}

.callback-card h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.callback-card p:not(.eyeline) {
  font-size: 19px;
}

.callback-form {
  padding: 22px;
  border: 0;
  border-left: 5px solid var(--red);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.callback-form input,
.callback-form textarea {
  border-radius: 0;
  background: #fff;
}

.button-red {
  border-radius: 0;
  background: var(--red);
  box-shadow: 0 16px 36px rgba(227, 6, 19, 0.24);
}

.department-hero {
  padding: 52px 0 34px;
  background: #f4f4f4;
}

.department-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.department-toolbar strong {
  font-size: 24px;
}

.filter-value {
  margin-top: -12px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-reset {
  min-height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
  font-weight: 850;
}

.empty-results {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 750;
}

.footer-bottom {
  justify-content: flex-start;
}

@media (max-width: 1020px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .showcase-card,
  .showcase-card-main,
  .showcase-card-top {
    grid-column: auto;
    grid-row: auto;
    min-height: 230px;
  }

  .vin-panel {
    grid-template-columns: 1fr;
  }

  .brand-picker,
  .category-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .home-showcase {
    padding: 22px 0;
  }

  .showcase-grid,
  .brand-picker,
  .category-strip,
  .vin-form {
    grid-template-columns: 1fr;
  }

  .showcase-card,
  .showcase-card-main,
  .showcase-card-top {
    min-height: 220px;
    padding: 22px;
  }

  .showcase-card::before {
    width: 60%;
    height: 78%;
  }

  .showcase-card h1,
  .showcase-card h2 {
    max-width: 68%;
    font-size: 28px;
  }

  .showcase-card p {
    max-width: 62%;
    font-size: 14px;
  }

  .vin-panel,
  .callback-card {
    padding: 24px;
  }

  .vin-panel h2,
  .callback-card h2 {
    font-size: 26px;
  }

  .brand-picker a {
    min-height: auto;
  }

  .category-strip__item {
    grid-template-columns: 1fr 92px;
  }

  .callback-card {
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
      url("./assets/garage.webp") center / cover;
  }

  .cart-panel__dialog {
    padding: 22px;
  }
}

/* Mobile header and product detail */
.mobile-menu-toggle {
  display: none;
}

.cart-action {
  position: relative;
}

.cart-action .cart-count {
  position: absolute;
  top: -3px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border: 2px solid #fff;
}

.category-strip__item-red {
  background: #f3f3f3;
  color: #111;
}

.product-detail-page[hidden] {
  display: none;
}

.product-detail-section {
  background: #fff;
}

.product-detail-page .product-page {
  margin-top: 24px;
}

.product-detail h1 {
  margin: 8px 0 10px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

.product-detail .button-light {
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.related-head {
  margin-top: 44px;
}

.product-card {
  cursor: pointer;
}

.product-card button {
  cursor: pointer;
}

.showcase-card,
.product-card,
.news-card,
.why-grid article,
.callback-card,
.about-copy,
.about-stats {
  animation: softRise 0.55s ease both;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.showcase-card:hover,
.product-card:hover,
.news-card:hover,
.why-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.1);
}

.brand-mark {
  animation: gentleFloat 4s ease-in-out infinite;
}

.read-news-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: auto;
  padding: 0 18px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 900;
}

.news-page {
  min-height: 100vh;
  padding: 36px 0 70px;
  background: #f4f4f4;
}

.news-page__wrap {
  display: grid;
  gap: 22px;
}

.news-article {
  display: grid;
  gap: 18px;
  padding: 32px;
  background: #fff;
  box-shadow: var(--shadow);
}

.news-article img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.news-article h1 {
  max-width: 780px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.news-article .lead,
.news-body {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .top-strip {
    display: none;
  }

  .mobile-menu-open .top-strip {
    display: block;
    border-bottom: 1px solid var(--line);
  }

  .top-strip__inner {
    width: min(100% - 22px, 1180px);
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }

  .top-strip nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 18px;
  }

  .header-shell {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .brand {
    grid-column: 1;
  }

  .mobile-menu-toggle {
    grid-column: 3;
    display: inline-grid;
    grid-template-columns: 18px auto;
    align-items: center;
    gap: 3px 8px;
    min-height: 38px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 0 10px;
    color: #111;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-menu-toggle span {
    grid-column: 1;
    display: block;
    width: 18px;
    height: 2px;
    background: #111;
  }

  .mobile-menu-toggle span:last-of-type {
    margin-bottom: 0;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .header-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 8px 0 0;
    border-top: 1px solid var(--line);
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .cart-count {
    position: static;
  }

  .brand-picker:not(.is-expanded) a:nth-of-type(n + 6) {
    display: none;
  }

  .brand-picker a {
    min-height: 94px;
    grid-template-columns: 34px 1fr;
    padding: 14px;
  }

  .category-strip__item,
  .category-strip__item-red {
    background: #f3f3f3;
    color: #111;
  }

  .product-detail-page .product-page {
    grid-template-columns: 1fr;
  }

  .product-gallery,
  .product-detail {
    padding: 16px;
  }

  .photo-main {
    height: 270px;
  }

  .product-detail h1 {
    font-size: 30px;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-row strong {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .header-shell {
    width: min(100% - 22px, 1180px);
    min-height: 0;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 8px 0;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    justify-content: flex-end;
    gap: 6px;
    padding: 0;
    border-top: 0;
  }

  .mobile-menu-toggle {
    grid-column: 3;
    grid-row: 1;
    width: 42px;
    min-width: 42px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 0;
    font-size: 0;
  }

  .mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    margin: 0;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: 1fr 44px;
    width: 100%;
    height: 42px;
  }

  .header-search select {
    display: none;
  }

  .header-search input {
    min-width: 0;
    padding-left: 14px;
  }

  .top-strip,
  .catalog-nav {
    display: none;
  }

  .mobile-menu-open .top-strip,
  .mobile-menu-open .catalog-nav {
    display: block;
  }

  .top-strip nav,
  .catalog-nav__inner {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .catalog-nav a {
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    padding: 0 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .catalog-nav__item {
    display: block;
  }

  .catalog-menu {
    position: static;
    min-width: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .catalog-nav__main,
  .catalog-nav__phone {
    min-width: 0;
    margin-left: 0;
  }

  .cart-action .cart-count {
    position: absolute;
    top: 0;
    right: 0;
  }

  .showcase-card-top {
    min-height: 190px;
    background: #121212;
    color: #fff;
  }

  .showcase-card-top::before {
    width: 68%;
    height: 100%;
    opacity: 0.36;
  }

  .showcase-card-top::after {
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.96) 0 46%, rgba(18, 18, 18, 0.45) 100%);
  }

  .showcase-card-top h2,
  .showcase-card-top p {
    max-width: 72%;
    color: #fff;
  }

  .department-strip {
    grid-template-columns: 1fr;
  }

  .department-card {
    min-height: 180px;
  }
}

/* Design 8 refinements */
.vin-panel {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
}

.vin-form {
  grid-template-columns: 1fr;
  align-self: center;
}

.vin-form input,
.vin-form button {
  width: 100%;
  min-height: 50px;
}

.vin-form input {
  font-weight: 750;
}

.categories-section {
  background:
    linear-gradient(180deg, #fff 0%, #fff 72%, #f4f4f4 72%),
    #fff;
}

.categories-section .section-head {
  align-items: end;
  margin-bottom: 22px;
}

.department-strip {
  counter-reset: department;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

.department-card {
  counter-increment: department;
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 22px 22px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: #111;
  overflow: hidden;
}

.department-card:last-child {
  border-right: 0;
}

.department-card::before {
  content: "0" counter(department);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  transition: background 0.2s ease, transform 0.2s ease;
}

.department-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 22px 22px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0.22);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.department-card img {
  display: none;
}

.department-card span {
  max-width: 160px;
  color: #111;
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.department-card strong {
  max-width: 190px;
  color: #6a6f78;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 750;
}

.department-card:hover {
  transform: translateY(-6px);
  background: #111;
  color: #fff;
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.16);
  z-index: 1;
}

.department-card:hover::before {
  background: var(--red);
  transform: translateY(-3px);
}

.department-card:hover::after {
  transform: scaleX(1);
}

.department-card:hover span,
.department-card:hover strong {
  color: #fff;
}

.about-section {
  background: #111;
  color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111;
}

.about-copy,
.about-stats {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.about-copy {
  min-height: 520px;
  padding: 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.about-copy h2 {
  max-width: 560px;
  color: #fff;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 0.98;
}

.about-copy p:not(.eyeline) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.about-stats div {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.16), transparent 42%),
    #171717;
}

.about-stats div:nth-child(2n) {
  border-right: 0;
}

.about-stats div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.about-stats strong {
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.85;
}

.about-stats span {
  max-width: 220px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.35;
}

.news-grid {
  align-items: stretch;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.news-card p {
  flex: 1;
}

.news-card .read-news,
.read-news-link {
  align-self: flex-start;
  margin-top: auto;
}

.news-page {
  min-height: auto;
  padding: 38px 0 78px;
  background: #f4f4f4;
}

.news-page__wrap {
  gap: 18px;
}

.news-back,
.news-page .back-home {
  width: max-content;
  max-width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: #111;
  box-shadow: none;
}

.news-article {
  box-shadow: none;
  border: 1px solid var(--line);
}

.news-article img {
  aspect-ratio: 16 / 7;
  max-height: none;
}

.news-site-header .catalog-nav__main {
  background: var(--red);
}

@media (max-width: 1020px) {
  .department-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .department-card {
    min-height: 210px;
    border-bottom: 1px solid var(--line);
  }

  .department-card:nth-child(2n) {
    border-right: 0;
  }

  .department-card:last-child {
    grid-column: 1 / -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 640px) {
  .vin-panel {
    grid-template-columns: 1fr;
  }

  .vin-form input,
  .vin-form button {
    min-height: 52px;
  }

  .department-strip {
    grid-template-columns: 1fr;
  }

  .department-card,
  .department-card:nth-child(2n),
  .department-card:last-child {
    grid-column: auto;
    min-height: 176px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .department-card span {
    max-width: none;
    font-size: 24px;
  }

  .about-copy {
    padding: 28px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stats div,
  .about-stats div:nth-child(2n),
  .about-stats div:nth-last-child(-n + 2) {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .news-article {
    padding: 18px;
  }

  .news-article img {
    aspect-ratio: 4 / 3;
  }
}

/* Final design 10 overrides */
.brand-copy {
  display: none !important;
}

.brand,
.footer-brand {
  align-items: center;
}

.brand-logo {
  width: 84px;
  height: 42px;
  object-fit: contain;
}

.footer-brand {
  width: max-content;
  justify-content: flex-start;
}

.footer-brand .brand-logo {
  width: 96px;
  height: 54px;
  object-position: left center;
}

.city {
  font-weight: 800;
}

.categories-section {
  background: #fff;
}

.department-head {
  align-items: end;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.department-head h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
}

.department-head p:not(.eyeline) {
  max-width: 430px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.department-strip {
  counter-reset: department-clean !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.department-card,
.department-card:nth-child(2n),
.department-card:last-child {
  counter-increment: department-clean;
  grid-column: auto !important;
  min-height: 116px !important;
  display: grid !important;
  grid-template-columns: 72px minmax(160px, 0.42fr) minmax(0, 1fr) 42px !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 24px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  background: transparent !important;
  color: #111 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.department-card::before {
  content: none !important;
  position: static !important;
  inset: auto !important;
  width: 52px !important;
  height: 52px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--red) !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  opacity: 1 !important;
  transform: none !important;
}

.department-card::after {
  content: "→" !important;
  position: static !important;
  inset: auto !important;
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #111 !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 18px !important;
  opacity: 1 !important;
  transform: none !important;
}

.department-icon {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 52px !important;
  height: 52px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(227, 6, 19, 0.28) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--red) !important;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
}

.department-icon svg {
  width: 30px !important;
  height: 30px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.4 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.department-card img {
  display: none !important;
}

.department-card span {
  position: static !important;
  z-index: auto !important;
  max-width: none !important;
  width: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111 !important;
  font-size: clamp(24px, 3vw, 38px) !important;
  line-height: 0.95 !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

.department-card strong {
  position: static !important;
  z-index: auto !important;
  max-width: 520px !important;
  color: var(--muted) !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  font-weight: 750 !important;
}

.department-card:hover {
  transform: none !important;
  background: #f5f5f5 !important;
  box-shadow: none !important;
}

.department-card:hover span {
  color: var(--red) !important;
}

.department-card:hover strong {
  color: #111 !important;
}

.department-card:hover::before {
  background: var(--red) !important;
  color: #fff !important;
  transform: none !important;
}

.department-card:hover .department-icon {
  border-color: rgba(227, 6, 19, 0.55) !important;
  transform: translateX(4px) !important;
  box-shadow: 0 12px 30px rgba(227, 6, 19, 0.12) !important;
}

.about-section {
  background: #fff !important;
  color: #111 !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-studio {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 28px 46px;
}

.about-studio__top {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  align-items: end;
  gap: 46px;
}

.about-studio__top h2 {
  margin: 0;
  color: #e08a00;
  font-size: clamp(62px, 12vw, 148px);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-studio__mission {
  grid-column: 1 / -1;
  max-width: 1040px;
  margin: 8px auto 4px;
  color: #111;
  font-size: clamp(21px, 2.6vw, 34px);
  line-height: 1.08;
  font-weight: 850;
  text-align: center;
}

.about-studio__text {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 820px;
}

.about-studio__text p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.about-studio__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.about-studio__stats div {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px solid #e7dac8;
  border-radius: 50%;
  background: #fff;
  text-align: center;
}

.about-studio__stats strong {
  color: #e08a00;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.9;
}

.about-studio__stats span {
  max-width: 150px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.news-card .read-news,
.news-card .read-news-link,
.read-news-link {
  margin-left: 20px !important;
  margin-right: 20px !important;
  align-self: flex-start !important;
}

@media (max-width: 1020px) {
  .department-card,
  .department-card:nth-child(2n),
  .department-card:last-child {
    grid-template-columns: 58px 1fr 42px !important;
    gap: 14px !important;
  }

  .department-card strong {
    grid-column: 2 / 3 !important;
  }

  .department-card::after {
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
  }

  .about-studio,
  .about-studio__top,
  .about-studio__text {
    grid-template-columns: 1fr;
  }

  .about-studio__text {
    grid-column: 1;
  }

  .about-studio__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 68px;
    height: 36px;
  }

  .footer-brand .brand-logo {
    width: 96px;
    height: 54px;
  }

  .department-head {
    align-items: start;
  }

  .department-card,
  .department-card:nth-child(2n),
  .department-card:last-child {
    min-height: 126px !important;
    grid-template-columns: 46px 1fr !important;
    padding: 20px 0 !important;
  }

  .department-card::before {
    width: 38px !important;
    height: 38px !important;
  }

  .department-card::after {
    display: none !important;
  }

  .department-card strong {
    grid-column: 2 !important;
    font-size: 15px !important;
  }

  .department-icon {
    width: 38px !important;
    height: 38px !important;
  }

  .department-icon svg {
    width: 23px !important;
    height: 23px !important;
  }

  .about-studio__top h2 {
    font-size: clamp(54px, 18vw, 86px);
  }

  .about-studio__mission {
    text-align: left;
  }

  .about-studio__text {
    grid-template-columns: 1fr;
  }

  .about-studio__stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .about-studio__stats div {
    min-height: 142px;
  }
}
/* Final brand picker alignment override. Keep at file end so old design blocks cannot shrink the logo column. */
#homePage #departments .brand-picker a {
  grid-template-columns: 72px minmax(0, 1fr) !important;
  column-gap: 22px !important;
  align-items: center !important;
}

#homePage #departments .brand-picker .brand-logo-slot {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  justify-self: center !important;
}

#homePage #departments .brand-picker strong,
#homePage #departments .brand-picker em {
  grid-column: 2 !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  transform: none !important;
}

@media (max-width: 640px) {
  #homePage #departments .brand-picker a {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    column-gap: 18px !important;
  }
}

/* Micro interactions: restrained motion for the storefront. */
@media (prefers-reduced-motion: no-preference) {
  #homePage .showcase-card,
  #homePage .department-card,
  #homePage .product-card,
  #homePage .news-card,
  #homePage .review-card,
  #homePage #departments .brand-picker a,
  .catalog-nav a,
  .button,
  .outline-link,
  .catalog-open,
  .read-news,
  .read-news-link {
    transition:
      transform 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease,
      background-color 180ms ease,
      color 180ms ease;
  }

  #homePage .showcase-card:hover,
  #homePage .department-card:hover,
  #homePage .product-card:hover,
  #homePage .news-card:hover,
  #homePage .review-card:hover,
  #homePage #departments .brand-picker a:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
  }

  #homePage .product-card:hover img,
  #homePage .news-card:hover img {
    transform: scale(1.025);
  }

  #homePage .product-card img,
  #homePage .news-card img {
    transition: transform 220ms ease;
  }

  #homePage .vin-panel {
    position: relative;
    overflow: hidden;
  }

  #homePage .vin-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.08) 45%, transparent 60%);
    transform: translateX(-120%);
    animation: vinSheen 6s ease-in-out infinite;
  }

  #homePage .vin-form .button-red:hover,
  #homePage .product-card button:hover,
  #homePage .cart-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(227, 6, 19, 0.22);
  }

  #homePage .brand-logo-slot {
    transition: transform 180ms ease, border-color 180ms ease;
  }

  #homePage #departments .brand-picker a:hover .brand-logo-slot {
    transform: scale(1.06);
    border-color: rgba(227, 6, 19, 0.45) !important;
  }

  .reveal-card {
    opacity: 0;
    transform: translateY(18px);
    animation: revealUp 520ms ease forwards;
  }

  .reveal-card:nth-child(2) {
    animation-delay: 70ms;
  }

  .reveal-card:nth-child(3) {
    animation-delay: 140ms;
  }

  .reveal-card:nth-child(4) {
    animation-delay: 210ms;
  }
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skeleton-card {
  pointer-events: none;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #f0f1f3 0%, #fafafa 45%, #eceef1 100%);
  background-size: 220% 100%;
  animation: skeletonShimmer 1.25s ease-in-out infinite;
}

.skeleton-media {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.skeleton-line,
.skeleton-title,
.skeleton-button {
  height: 14px;
}

.skeleton-title {
  height: 28px;
  width: 86%;
}

.skeleton-line {
  width: 100%;
}

.skeleton-line-short {
  width: 34%;
}

.skeleton-line-mid {
  width: 62%;
}

.skeleton-button {
  height: 48px;
  width: 100%;
  margin-top: auto;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes skeletonShimmer {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton,
  .scroll-reveal {
    animation: none !important;
    transition: none !important;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}

@keyframes vinSheen {
  0%,
  55% {
    transform: translateX(-120%);
  }

  78%,
  100% {
    transform: translateX(120%);
  }
}

/* Large desktop scale: keep the storefront from looking tiny on 1920x1080 monitors. */
@media (min-width: 1500px) {
  .container {
    width: min(1420px, calc(100% - 96px)) !important;
  }

  .top-strip {
    min-height: 44px !important;
    font-size: 13px !important;
  }

  .top-strip__inner {
    gap: 34px !important;
  }

  .header-shell {
    min-height: 92px !important;
    grid-template-columns: 170px minmax(620px, 1fr) 180px !important;
    gap: 34px !important;
  }

  .brand-logo {
    width: 108px !important;
    height: 58px !important;
  }

  .search-box {
    height: 48px !important;
  }

  .search-box select,
  .search-box input,
  .search-box button {
    min-height: 48px !important;
    font-size: 15px !important;
  }

  .header-actions {
    gap: 14px !important;
  }

  .icon-button {
    width: 46px !important;
    height: 46px !important;
  }

  .catalog-nav {
    min-height: 58px !important;
  }

  .catalog-nav__inner > a,
  .catalog-nav__inner > div > a {
    min-height: 58px !important;
    padding-inline: 30px !important;
    font-size: 15px !important;
  }

  .catalog-nav__phone {
    min-width: 230px !important;
    font-size: 16px !important;
  }

  #homePage .home-showcase,
  #homePage .section {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  #homePage .showcase-grid,
  #homePage .vin-panel,
  #homePage #departments .container,
  #homePage #catalog .container {
    max-width: 1420px !important;
  }
}

/* Shared vehicle brand cards for home and all-brands page. */
.brand-picker.brand-picker-logos {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.brand-picker.brand-picker-logos a {
  min-height: 132px !important;
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) !important;
  align-content: start !important;
  align-items: center !important;
  column-gap: 22px !important;
  row-gap: 8px !important;
  padding: 18px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: #111 !important;
}

.brand-picker.brand-picker-logos .brand-logo-slot {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  justify-self: center !important;
  width: 56px !important;
  height: 56px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(227, 6, 19, 0.18) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--red) !important;
  font-size: 0 !important;
  box-shadow: 0 10px 24px rgba(227, 6, 19, 0.08) !important;
}

.brand-picker.brand-picker-logos .brand-logo-slot::before {
  content: none !important;
}

.brand-picker.brand-picker-logos .brand-logo-slot img {
  width: 38px !important;
  height: 38px !important;
  display: block !important;
  object-fit: contain !important;
}

.brand-picker.brand-picker-logos .brand-logo-text {
  font-size: 14px !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

.brand-picker.brand-picker-logos strong,
.brand-picker.brand-picker-logos em {
  grid-column: 2 !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  transform: none !important;
}

.brand-picker.brand-picker-logos strong {
  color: #17191d !important;
  font-size: 17px !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
}

.brand-picker.brand-picker-logos em {
  color: #6e6e73 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-style: normal !important;
  font-weight: 750 !important;
}

.department-page .back-home {
  width: max-content !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 18px !important;
  padding: 0 18px !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06) !important;
}

.department-page .back-home:hover {
  border-color: var(--red) !important;
  color: var(--red) !important;
}

@media (max-width: 900px) {
  .brand-picker.brand-picker-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .brand-picker.brand-picker-logos {
    grid-template-columns: 1fr !important;
  }

  .brand-picker.brand-picker-logos a {
    min-height: 98px !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    column-gap: 18px !important;
    padding: 14px !important;
  }
}

/* Final desktop header scale. Applies to real header classes on all pages. */
@media (min-width: 1500px) {
  .site-header .container {
    width: min(1500px, calc(100% - 80px)) !important;
  }

  .site-header .top-strip {
    min-height: 42px !important;
    font-size: 14px !important;
  }

  .site-header .top-strip__inner {
    min-height: 42px !important;
    grid-template-columns: 220px minmax(0, 1fr) 280px !important;
    gap: 28px !important;
  }

  .site-header .top-strip nav {
    gap: 36px !important;
  }

  .site-header .header-shell {
    min-height: 96px !important;
    grid-template-columns: 180px minmax(780px, 960px) 180px !important;
    gap: 36px !important;
    align-items: center !important;
  }

  .site-header .brand {
    justify-self: start !important;
  }

  .site-header .brand-logo {
    width: 124px !important;
    height: 66px !important;
  }

  .site-header .header-search {
    width: 100% !important;
    max-width: none !important;
    height: 56px !important;
    grid-template-columns: 220px minmax(0, 1fr) 58px !important;
    justify-self: stretch !important;
  }

  .site-header .header-search select,
  .site-header .header-search input,
  .site-header .header-search button {
    height: 54px !important;
    min-height: 54px !important;
    font-size: 15px !important;
  }

  .site-header .header-actions {
    justify-self: end !important;
    gap: 16px !important;
  }

  .site-header .icon-button {
    width: 50px !important;
    height: 50px !important;
  }

  .site-header .catalog-nav {
    min-height: 66px !important;
  }

  .site-header .catalog-nav__inner {
    min-height: 66px !important;
    display: flex !important;
    align-items: stretch !important;
  }

  .site-header .catalog-nav a,
  .site-header .catalog-nav__main {
    min-height: 66px !important;
    padding-inline: 36px !important;
    font-size: 17px !important;
  }

  .site-header .catalog-nav__main {
    min-width: 230px !important;
  }

  .site-header .catalog-nav__phone {
    min-width: 270px !important;
    margin-left: auto !important;
    justify-content: center !important;
    font-size: 17px !important;
  }
}

/* Expressive account and cart layer. */
.account-page {
  background:
    linear-gradient(180deg, #f4f4f4 0%, #fff 42%) !important;
}

.account-page .section {
  padding: clamp(34px, 5vw, 76px) 0 !important;
}

.account-auth {
  width: min(100%, 640px) !important;
  margin: 0 auto !important;
  padding: clamp(24px, 4vw, 42px) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08) !important;
}

.account-auth::before {
  content: "Личный кабинет";
  display: block;
  margin-bottom: 18px;
  color: #111;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.95;
  font-weight: 950;
  text-transform: uppercase;
}

.account-tabs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 18px !important;
  padding: 6px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #f5f5f5 !important;
}

.account-tabs button {
  min-height: 48px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #111 !important;
  font-weight: 950 !important;
}

.account-tabs button.active {
  background: var(--red) !important;
  color: #fff !important;
}

.account-form {
  gap: 12px !important;
}

.account-form input,
.account-card-form input,
.order-form input,
.order-form textarea {
  min-height: 56px !important;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  font-size: 16px !important;
}

.account-page__dashboard {
  padding: clamp(18px, 3vw, 32px) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.07) !important;
}

.account-profile {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  padding: clamp(20px, 3vw, 30px) !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #111 !important;
  color: #fff !important;
}

.account-profile span,
.account-profile small {
  color: rgba(255, 255, 255, 0.68) !important;
}

.account-profile strong {
  display: block !important;
  margin: 8px 0 4px !important;
  color: #fff !important;
  font-size: clamp(32px, 5vw, 54px) !important;
  line-height: 0.95 !important;
  text-transform: uppercase !important;
}

.account-profile .button-light {
  min-width: 128px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #111 !important;
}

.account-workspace {
  margin-top: 20px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr) !important;
  gap: 20px !important;
}

.account-card-box,
.account-benefits article,
.account-orders,
.account-order {
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.account-card-box {
  padding: clamp(22px, 3vw, 34px) !important;
}

.account-card-box h2 {
  max-width: 620px !important;
  font-size: clamp(32px, 4vw, 52px) !important;
  line-height: 0.95 !important;
}

.account-card-box p:not(.eyeline),
.account-hint {
  max-width: 620px !important;
  color: #6e6e73 !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
}

.account-card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

.account-card-actions button,
.account-orders__head button {
  min-height: 52px !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 950 !important;
}

.account-card-actions button:first-child {
  border: 1px solid #111 !important;
  background: #fff !important;
  color: #111 !important;
}

.discount-card {
  min-height: 360px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 30px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.32), transparent 46%),
    #111 !important;
  color: #fff !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18) !important;
}

.discount-card span {
  color: var(--red) !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

.discount-card strong {
  max-width: 340px !important;
  color: #fff !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  line-height: 1 !important;
}

.barcode-preview {
  min-height: 120px !important;
  display: grid !important;
  place-items: center !important;
  padding: 14px !important;
  border-radius: 6px !important;
  background: #fff !important;
}

.account-benefits {
  margin-top: 20px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.account-benefits article {
  min-height: 126px !important;
  padding: 22px !important;
}

.account-benefits strong {
  display: block !important;
  margin-bottom: 10px !important;
  font-size: 22px !important;
}

.account-benefits span {
  color: #6e6e73 !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.account-orders {
  margin-top: 20px !important;
  padding: 24px !important;
}

.account-orders__head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-bottom: 16px !important;
}

.account-orders__head h3 {
  font-size: clamp(26px, 3vw, 38px) !important;
  line-height: 1 !important;
}

.cart-panel__backdrop {
  background: rgba(0, 0, 0, 0.58) !important;
  backdrop-filter: blur(7px) !important;
}

.cart-panel__dialog {
  width: min(620px, calc(100vw - 28px)) !important;
  padding: 30px !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  background:
    linear-gradient(180deg, #fff 0%, #f7f7f7 100%) !important;
  box-shadow: -28px 0 80px rgba(0, 0, 0, 0.26) !important;
}

.cart-panel__close {
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
  background: #111 !important;
  color: #fff !important;
}

.cart-panel__dialog h2 {
  max-width: 420px !important;
  margin-bottom: 22px !important;
  font-size: clamp(38px, 5vw, 58px) !important;
  line-height: 0.9 !important;
  text-transform: uppercase !important;
}

.cart-item {
  grid-template-columns: 88px minmax(0, 1fr) !important;
  gap: 14px !important;
  padding: 14px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.cart-item img {
  width: 88px !important;
  height: 88px !important;
  border-radius: 6px !important;
}

.cart-item strong {
  font-size: 17px !important;
}

.cart-item__actions {
  grid-template-columns: 46px 46px 46px 1fr !important;
}

.cart-summary {
  margin-top: 16px !important;
  padding: 20px !important;
  border: 1px solid #111 !important;
  border-radius: 8px !important;
  background: #111 !important;
  color: #fff !important;
}

.cart-summary span {
  color: rgba(255, 255, 255, 0.68) !important;
}

.cart-summary strong {
  color: #fff !important;
  font-size: 36px !important;
}

.order-form {
  margin-top: 16px !important;
  padding: 18px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.order-form .button-red,
.cart-submit {
  min-height: 56px !important;
  border-radius: 6px !important;
  font-size: 16px !important;
}

@media (max-width: 900px) {
  .account-workspace,
  .account-benefits {
    grid-template-columns: 1fr !important;
  }

  .account-profile {
    grid-template-columns: 1fr !important;
  }

  .cart-panel__dialog {
    width: 100vw !important;
    height: 100vh !important;
  }
}

/* Design 41: expressive personal account and cart polish. */
.account-page .container,
.cart-panel {
  --account-surface: #ffffff;
  --account-ink: #111111;
  --account-muted: #6d7078;
  --account-soft: #f3f4f6;
  --account-shadow: 0 26px 80px rgba(17, 17, 17, 0.09);
}

.account-page {
  min-height: 70vh !important;
  background:
    linear-gradient(180deg, #f3f4f6 0%, #ffffff 48%),
    #ffffff !important;
}

.account-page .section {
  padding: clamp(34px, 5vw, 78px) 0 !important;
}

.account-auth {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid #e4e5e8 !important;
  background: #ffffff !important;
  box-shadow: var(--account-shadow) !important;
}

.account-auth::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red), #111);
}

.account-auth::before {
  margin-bottom: 22px !important;
  font-size: 42px !important;
  line-height: 0.92 !important;
  letter-spacing: 0 !important;
  color: #111 !important;
}

.account-tabs {
  padding: 5px !important;
  border: 1px solid #e4e5e8 !important;
  border-radius: 999px !important;
  background: #f5f5f5 !important;
}

.account-tabs button {
  min-height: 48px !important;
  border-radius: 999px !important;
}

.account-form {
  margin-top: 18px !important;
}

.account-form .button-red {
  min-height: 58px !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 34px rgba(227, 6, 19, 0.18) !important;
}

.account-profile {
  position: relative !important;
  overflow: hidden !important;
  min-height: 190px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background:
    radial-gradient(circle at 88% 22%, rgba(227, 6, 19, 0.36), transparent 26%),
    linear-gradient(135deg, #111 0%, #1d2229 100%) !important;
  color: #fff !important;
  box-shadow: var(--account-shadow) !important;
}

.account-profile::before {
  content: "777";
  position: absolute;
  right: clamp(12px, 4vw, 42px);
  bottom: -14px;
  color: rgba(255, 255, 255, 0.12);
  font-size: clamp(110px, 18vw, 220px);
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.account-profile > * {
  position: relative;
  z-index: 1;
}

.account-profile span {
  color: var(--red) !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

.account-profile strong {
  display: block !important;
  margin-top: 10px !important;
  color: #fff !important;
  font-size: clamp(34px, 5vw, 58px) !important;
  line-height: 0.95 !important;
}

.account-profile small {
  display: block !important;
  margin-top: 10px !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 17px !important;
}

.account-profile .button-light {
  align-self: start !important;
  min-width: 124px !important;
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #111 !important;
}

.account-profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.account-workspace {
  align-items: stretch !important;
}

.account-card-box,
.account-orders,
.account-benefits article {
  border: 1px solid #e4e5e8 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 18px 55px rgba(17, 17, 17, 0.06) !important;
}

.account-card-box h2 {
  margin-top: 8px !important;
  max-width: 680px !important;
}

.account-card-form label {
  display: grid !important;
  gap: 9px !important;
  color: #555963 !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

.account-card-actions button {
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease !important;
}

.account-card-actions button:hover {
  transform: translateY(-2px);
}

.account-card-actions button[type="submit"] {
  border-color: var(--red) !important;
  background: var(--red) !important;
  color: #fff !important;
  box-shadow: 0 16px 32px rgba(227, 6, 19, 0.16) !important;
}

.account-hint {
  display: block !important;
  margin-top: 14px !important;
  padding: 13px 14px !important;
  border-radius: 8px !important;
  background: #f4f4f4 !important;
  color: #60646d !important;
}

.discount-card {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 12px !important;
}

.discount-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -74px;
  top: -70px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.barcode-preview {
  position: relative !important;
  z-index: 1 !important;
}

.account-benefits article {
  position: relative !important;
  overflow: hidden !important;
}

.account-benefits article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--red);
}

.account-order-list {
  display: grid !important;
  gap: 12px !important;
}

.account-order,
.account-order-list > article {
  padding: 18px !important;
  border: 1px solid #e4e5e8 !important;
  border-left: 5px solid var(--red) !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.account-order summary {
  display: grid;
  gap: 7px;
  cursor: pointer;
  list-style: none;
}

.account-order summary::-webkit-details-marker {
  display: none;
}

.account-order summary::after {
  content: "Открыть";
  justify-self: start;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.account-order[open] summary::after {
  content: "Свернуть";
}

.account-order-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.account-order-detail section {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 82px;
  border: 1px solid var(--line);
  padding: 14px;
}

.account-order-detail h4,
.account-order-detail p {
  margin: 0;
}

.account-order-detail h4 {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-order-detail ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-order-detail li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.account-order-detail small {
  color: var(--muted);
}

.cart-action,
.icon-button {
  position: relative !important;
}

.icon-button .cart-count,
.cart-action .cart-count {
  top: -6px !important;
  right: -8px !important;
  bottom: auto !important;
  transform: none !important;
  border: 2px solid #fff !important;
  box-shadow: 0 8px 18px rgba(227, 6, 19, 0.26) !important;
}

.cart-panel__dialog {
  overflow: auto !important;
}

.cart-panel__dialog::before {
  content: "Корзина";
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.cart-items {
  display: grid !important;
  gap: 12px !important;
}

.cart-empty {
  padding: 26px !important;
  border: 1px dashed #d8d8d8 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #626771 !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.cart-item {
  box-shadow: 0 14px 38px rgba(17, 17, 17, 0.06) !important;
}

.cart-item__actions button {
  border-radius: 8px !important;
  font-weight: 950 !important;
}

.cart-item__actions [data-cart-remove] {
  min-width: 98px !important;
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
}

.order-form input,
.order-form textarea {
  font-size: 16px !important;
}

.order-form textarea {
  min-height: 116px !important;
}

@media (max-width: 640px) {
  .account-auth::before {
    font-size: 32px !important;
  }

  .account-tabs {
    border-radius: 8px !important;
  }

  .account-tabs button {
    border-radius: 6px !important;
  }

  .account-profile {
    min-height: 168px !important;
    padding: 24px !important;
  }

  .account-profile-actions {
    justify-content: stretch;
  }

  .account-profile-actions .button-light {
    width: 100%;
  }

  .account-order-detail {
    grid-template-columns: 1fr;
  }

  .account-card-actions {
    grid-template-columns: 1fr !important;
  }

  .discount-card {
    min-height: 300px !important;
  }

  .cart-panel__dialog {
    padding: 22px !important;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  .cart-item img {
    width: 72px !important;
    height: 72px !important;
  }

  .cart-item__actions {
    grid-template-columns: 42px 42px 42px !important;
  }

  .cart-item__actions [data-cart-remove] {
    grid-column: 1 / -1;
    justify-self: stretch !important;
  }
}

/* Site 1.3 design-system lock.
   Keep this final layer after legacy design iterations. */
:root {
  --ds-container: 1220px;
  --ds-container-wide: 1500px;
  --ds-gutter: clamp(16px, 4vw, 40px);
  --ds-section-y: clamp(44px, 5vw, 72px);
  --ds-card-pad: clamp(20px, 3vw, 34px);
  --ds-gap: clamp(16px, 2vw, 24px);
  --ds-radius: 8px;
  --ds-h1: clamp(42px, 5vw, 72px);
  --ds-h2: clamp(30px, 4vw, 48px);
  --ds-card-title: clamp(20px, 2.1vw, 28px);
  --ds-body: 17px;
  --ds-control-h: 56px;
  --ds-focus: 0 0 0 3px rgba(227, 6, 19, 0.16);
}

.container {
  width: min(var(--ds-container), calc(100% - (var(--ds-gutter) * 2)));
}

.section {
  padding-block: var(--ds-section-y);
}

.section-head {
  gap: var(--ds-gap);
  margin-bottom: clamp(22px, 3vw, 34px);
}

.section-head h1,
.department-hero h1,
.news-article h1 {
  font-size: var(--ds-h1);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-head h2 {
  font-size: var(--ds-h2);
  line-height: 1;
  letter-spacing: 0;
}

.eyeline,
.label,
.product-stock,
.news-card .eyeline {
  font-size: 13px;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--red);
  font-weight: 950;
  text-transform: uppercase;
}

button,
.button,
.outline-link,
.back-home,
input,
select,
textarea {
  border-radius: var(--ds-radius);
}

input,
select,
.button,
.outline-link,
.back-home,
button[type="submit"] {
  min-height: var(--ds-control-h);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--ds-focus);
}

.product-card,
.news-card,
.account-card-box,
.account-orders,
.account-benefits article,
.department-card,
.brand-picker a {
  border-color: #e4e5e8;
  border-radius: var(--ds-radius);
}

@media (min-width: 1500px) {
  .container {
    width: min(var(--ds-container-wide), calc(100% - 80px));
  }

  main .container {
    width: min(1320px, calc(100% - 80px));
  }
}

@media (max-width: 640px) {
  :root {
    --ds-gutter: 12px;
    --ds-section-y: 36px;
    --ds-control-h: 52px;
  }

  .section-head {
    align-items: stretch;
  }

  .outline-link,
  .back-home {
    width: 100%;
    justify-content: center;
  }
}

/* Site 1.3 mobile menu and product cleanup. */
.mobile-menu-close {
  display: none;
}

@media (max-width: 640px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .mobile-menu-open .site-header::before {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 0 0 14px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    font-weight: 950;
    text-transform: uppercase;
    cursor: pointer;
  }

  .top-strip {
    padding-top: 14px !important;
  }

  .catalog-nav__dropdown .catalog-menu {
    display: none !important;
    position: static !important;
    min-width: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    visibility: visible !important;
    box-shadow: none !important;
  }

  .catalog-nav__dropdown.is-open .catalog-menu {
    display: grid !important;
  }

  .catalog-nav__dropdown:not(.is-open) .nav-arrow {
    transform: none !important;
  }

  .mobile-menu-open .mobile-menu-toggle {
    position: fixed;
    top: 10px;
    right: 12px;
    z-index: 1205;
    background: #111;
    color: #fff;
    border-color: #111;
  }
}

/* Site 1.4 polished mobile drawer. */
@media (max-width: 640px) {
  .site-header::before {
    background: rgba(17, 17, 18, 0.38) !important;
    backdrop-filter: blur(6px);
  }

  .top-strip,
  .catalog-nav {
    right: 10px !important;
    width: min(82vw, 330px) !important;
    left: auto !important;
    background: #f7f8fa !important;
    color: #111 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: -18px 0 46px rgba(0, 0, 0, 0.16) !important;
  }

  .top-strip {
    top: 10px !important;
    bottom: auto !important;
    height: auto !important;
    max-height: none !important;
    padding: 18px 18px 10px !important;
    border-bottom: 0 !important;
    border-radius: 28px 28px 0 0 !important;
    transform: translateX(calc(100% + 24px)) !important;
    overflow: visible !important;
  }

  .catalog-nav {
    top: 300px !important;
    bottom: 10px !important;
    padding: 0 18px 18px !important;
    border-top: 0 !important;
    border-radius: 0 0 28px 28px !important;
    transform: translateX(calc(100% + 24px)) !important;
    overflow-y: auto !important;
  }

  .mobile-menu-open .top-strip,
  .mobile-menu-open .catalog-nav {
    transform: translateX(0) !important;
  }

  .mobile-menu-close {
    position: absolute;
    top: 17px;
    right: 17px;
    width: 40px;
    min-height: 40px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    text-transform: none;
  }

  .top-strip__inner,
  .catalog-nav__inner {
    width: 100% !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    overflow: visible !important;
    min-height: 0 !important;
  }

  .top-strip .city {
    min-height: 50px;
    padding: 4px 54px 12px 0 !important;
    display: flex;
    align-items: center;
    color: #111 !important;
    font-size: 18px !important;
    line-height: 1.1;
    font-weight: 950 !important;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .top-strip .city::before {
    content: "";
    width: 12px;
    height: 12px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 6px rgba(227, 6, 19, 0.1);
    flex: 0 0 auto;
  }

  .top-strip nav {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding-top: 10px;
    border: 0 !important;
  }

  .top-strip nav a,
  .catalog-nav a,
  .catalog-nav__main {
    min-height: 46px !important;
    width: 100% !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    color: #555b63 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-transform: none !important;
  }

  .top-strip nav a:hover,
  .catalog-nav a:hover,
  .catalog-nav__dropdown.is-open > .catalog-nav__main,
  .catalog-nav__main:hover {
    background: #fff !important;
    color: #111 !important;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  }

  .top-strip nav a::before,
  .catalog-nav__inner > a::before,
  .catalog-nav__main::before {
    content: "";
    width: 28px;
    height: 28px;
    margin-right: 12px;
    border-radius: 10px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    flex: 0 0 auto;
  }

  .top-strip nav a,
  .catalog-nav__inner > a,
  .catalog-nav__main {
    justify-content: flex-start !important;
  }

  .top-strip .worktime {
    margin-top: 8px;
    padding: 13px 14px !important;
    border-radius: 16px;
    background: #fff;
    color: #555b63 !important;
    font-size: 13px !important;
    font-weight: 850 !important;
  }

  .top-strip .worktime strong {
    color: #111;
  }

  .catalog-nav__item {
    display: block !important;
  }

  .catalog-nav__main {
    color: #fff !important;
    background: #111 !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  }

  .catalog-nav__main::before {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: none;
  }

  .catalog-nav__main .nav-arrow {
    margin-left: auto;
    font-size: 14px;
  }

  .catalog-nav__dropdown.is-open > .catalog-nav__main {
    background: #111 !important;
    color: #fff !important;
  }

  .catalog-nav__dropdown .catalog-menu {
    margin: 10px 0 6px 40px !important;
    padding: 0 0 0 12px !important;
    border: 0 !important;
    border-left: 1px solid rgba(0, 0, 0, 0.12) !important;
    background: transparent !important;
    gap: 6px !important;
  }

  .catalog-menu a {
    min-height: 40px !important;
    padding: 0 12px !important;
    color: #555b63 !important;
    background: transparent !important;
    border-radius: 12px !important;
    font-size: 13px !important;
  }

  .catalog-menu a::before {
    display: none !important;
  }

  .catalog-menu a:hover {
    background: #fff !important;
    color: #111 !important;
  }

  .catalog-nav__phone {
    min-height: 50px !important;
    margin-top: 8px !important;
    color: #fff !important;
    background: var(--red) !important;
    justify-content: center !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 30px rgba(227, 6, 19, 0.18);
  }

  .catalog-nav__phone::before {
    display: none !important;
  }
}

/* Site 1.5 mobile header, cart and drawer icons. */
@media (max-width: 640px) {
  .site-header .header-shell {
    grid-template-columns: 78px minmax(0, 1fr) 46px !important;
    gap: 8px !important;
    width: calc(100% - 20px) !important;
    min-height: 58px !important;
    padding: 8px 0 !important;
    align-items: center !important;
  }

  .site-header .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 78px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .site-header .brand-logo {
    width: 68px !important;
    height: 38px !important;
    object-fit: contain !important;
  }

  .site-header .header-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: auto !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .site-header .icon-button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 14px !important;
    background: #f5f6f8 !important;
    border-color: #eceef1 !important;
  }

  .site-header .icon-button .cart-count,
  .site-header .cart-action .cart-count {
    top: -5px !important;
    right: -5px !important;
    bottom: auto !important;
    transform: none !important;
  }

  .site-header .mobile-menu-toggle {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 0 !important;
    box-shadow: none !important;
  }

  .site-header .mobile-menu-toggle span {
    width: 20px !important;
    background: currentColor !important;
  }

  .site-header .header-search {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin-top: 6px !important;
  }

  .cart-panel {
    z-index: 5000 !important;
  }

  .cart-panel__dialog {
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    padding: 26px 22px !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  .cart-panel__dialog::before {
    content: "Корзина" !important;
    min-height: 34px !important;
    margin: 0 0 18px !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 999px !important;
    background: #111 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
  }

  .cart-panel__dialog > .eyeline {
    display: none !important;
  }

  .cart-panel__close {
    top: 20px !important;
    right: 20px !important;
    background: #f3f4f6 !important;
    color: #111 !important;
    box-shadow: none !important;
  }

  .top-strip nav a::before,
  .catalog-nav__inner > a::before,
  .catalog-nav__main::before {
    background-color: #fff !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 16px 16px !important;
  }

  .top-strip nav a:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 3h10v18H7zM9.5 7h5M9.5 12h5M9.5 17h3' stroke='%23111' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  }

  .top-strip nav a:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='6' width='18' height='12' rx='2' stroke='%23111' stroke-width='2'/%3E%3Cpath d='M3 10h18M7 15h4' stroke='%23111' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  }

  .top-strip nav a:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8h11v8H4zM15 11h3l2 2v3h-5z' stroke='%23111' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='7' cy='18' r='1.5' fill='%23111'/%3E%3Ccircle cx='17' cy='18' r='1.5' fill='%23111'/%3E%3C/svg%3E") !important;
  }

  .top-strip nav a:nth-child(4)::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='8' stroke='%23111' stroke-width='2'/%3E%3Cpath d='M12 8v4l3 2' stroke='%23111' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  }

  .top-strip nav a:nth-child(5)::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 4h9l3 3v13H6zM14 4v4h4M9 12h6M9 16h5' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  }

  .top-strip nav a:nth-child(6)::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 5h14v14H5zM8 9h8M8 13h5' stroke='%23111' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  }

  .catalog-nav__main::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4h7v7H4zM13 4h7v7h-7zM4 13h7v7H4zM13 13h7v7h-7z' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") !important;
    background-color: rgba(255, 255, 255, 0.14) !important;
  }

  .catalog-nav__inner > a:nth-of-type(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12h16M8 8l-4 4 4 4M16 8l4 4-4 4' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  }

  .catalog-nav__inner > a:nth-of-type(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 5h14v14H5zM8 9h8M8 13h8M8 17h4' stroke='%23111' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  }

  .catalog-nav__inner > a:nth-of-type(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 6h12l-1 12H7zM9 6a3 3 0 0 1 6 0' stroke='%23111' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  }

  .catalog-nav__inner > a:nth-of-type(4)::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 17h14l-1-5H6zM7 12l2-5h6l2 5M8 17a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM16 17a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z' stroke='%23111' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  }
}

/* Site 1.6 mobile drawer alignment fixes. */
@media (max-width: 640px) {
  .site-header .mobile-menu-toggle {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, 2px) !important;
    place-content: center !important;
    justify-items: center !important;
    gap: 5px !important;
    line-height: 0 !important;
  }

  .site-header .mobile-menu-toggle span {
    grid-column: 1 !important;
    display: block !important;
    margin: 0 !important;
  }

  .top-strip,
  .catalog-nav {
    background: #f7f8fa !important;
  }

  .top-strip {
    padding-bottom: 0 !important;
  }

  .catalog-nav {
    top: 298px !important;
    padding-top: 8px !important;
  }

  .top-strip::after {
    content: "";
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: -16px;
    height: 18px;
    background: #f7f8fa;
    pointer-events: none;
  }

  .catalog-nav__dropdown.is-open > .catalog-nav__main,
  .catalog-nav__main:hover {
    background: #fff !important;
    color: #111 !important;
  }

  .catalog-nav__dropdown.is-open > .catalog-nav__main::before,
  .catalog-nav__main:hover::before {
    background-color: #fff !important;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
  }

  .cart-panel__dialog::before {
    margin-right: 58px !important;
    max-width: calc(100% - 70px) !important;
  }

  .cart-panel__close {
    top: 22px !important;
    right: 22px !important;
    z-index: 2 !important;
  }
}

/* Site 1.7 legal documents, desktop top links and mobile drawer repair. */
@media (hover: hover) and (pointer: fine) {
  .top-strip nav a {
    position: relative;
    transition: color 0.18s ease;
  }

  .top-strip nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
  }

  .top-strip nav a:hover,
  .top-strip nav a:focus-visible {
    color: var(--red);
  }

  .top-strip nav a:hover::after,
  .top-strip nav a:focus-visible::after {
    transform: scaleX(1);
  }
}

.legal-page {
  background: #f4f5f7;
  color: #111;
}

.legal-page main {
  padding: clamp(34px, 5vw, 72px) 0;
}

.legal-wrap {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.legal-back {
  margin-bottom: 18px;
}

.legal-document {
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid #e1e3e7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 17, 18, 0.08);
}

.legal-document h1 {
  max-width: 820px;
  margin: 8px 0 18px;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-lead {
  max-width: 760px;
  margin: 0 0 28px;
  color: #59616c;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.legal-meta {
  display: grid;
  gap: 8px;
  margin: 0 0 34px;
  padding: 18px;
  border: 1px solid #e1e3e7;
  background: #f7f8fa;
}

.legal-meta p,
.legal-document p,
.legal-document li {
  font-size: 16px;
  line-height: 1.68;
}

.legal-meta p {
  margin: 0;
}

.legal-document h2 {
  margin: 34px 0 12px;
  padding-top: 24px;
  border-top: 1px solid #e7e8eb;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.08;
}

.legal-document ul {
  margin: 10px 0 20px;
  padding-left: 22px;
}

.legal-document a {
  color: var(--red);
  font-weight: 900;
}

@media (max-width: 640px) {
  .mobile-menu-open .site-header .header-search {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .mobile-menu-open .top-strip,
  .mobile-menu-open .catalog-nav {
    z-index: 1800 !important;
  }

  .mobile-menu-open .mobile-menu-close {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1850 !important;
  }

  .top-strip,
  .catalog-nav {
    background: #f7f8fa !important;
  }

  .top-strip {
    bottom: auto !important;
    padding-bottom: 8px !important;
  }

  .top-strip::after {
    bottom: -46px !important;
    height: 50px !important;
    background: #f7f8fa !important;
  }

  .catalog-nav {
    top: 314px !important;
    padding-top: 0 !important;
  }

  .catalog-nav::before {
    content: "";
    display: block;
    height: 1px;
    margin: 0 0 8px;
    background: rgba(0, 0, 0, 0.08);
  }

  .catalog-nav__main::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4h7v7H4zM13 4h7v7h-7zM4 13h7v7H4zM13 13h7v7h-7z' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") !important;
    background-color: #fff !important;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
  }

  .catalog-nav__main,
  .catalog-nav__dropdown.is-open > .catalog-nav__main {
    background: #fff !important;
    color: #111 !important;
    box-shadow: 0 12px 28px rgba(17, 17, 18, 0.06) !important;
  }

  .catalog-nav__main .nav-arrow {
    color: #64707d !important;
  }

  .legal-page main {
    padding: 22px 0 36px;
  }

  .legal-wrap {
    width: min(100% - 22px, 980px);
  }

  .legal-document {
    padding: 22px;
    border-radius: 8px;
  }

  .legal-document h1 {
    max-width: 100%;
    font-size: clamp(26px, 8vw, 38px);
    line-height: 1.02;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }
}

/* Site 1.8 single-piece mobile drawer background. */
@media (max-width: 640px) {
  .site-header::after {
    content: "";
    position: fixed;
    top: 10px;
    right: 10px;
    bottom: 10px;
    width: min(82vw, 330px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    background: #f7f8fa;
    box-shadow: -18px 0 46px rgba(0, 0, 0, 0.16);
    transform: translateX(calc(100% + 24px));
    opacity: 0;
    pointer-events: none;
    z-index: 1700;
    transition: transform 0.24s ease, opacity 0.18s ease;
  }

  .mobile-menu-open .site-header::after {
    transform: translateX(0);
    opacity: 1;
  }

  .mobile-menu-open .top-strip,
  .mobile-menu-open .catalog-nav {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .mobile-menu-open .top-strip::after {
    display: none !important;
  }

  .mobile-menu-open .catalog-nav::before {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Site 1.15 mobile drawer hard reset and legal back button fix. */
.legal-back {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: max-content !important;
  max-width: calc(100vw - 32px) !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

@media (max-width: 640px) {
  .site-header::after {
    display: block !important;
    content: "" !important;
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    width: min(82vw, 330px) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 28px !important;
    background: #f7f8fa !important;
    box-shadow: -18px 0 46px rgba(0, 0, 0, 0.16) !important;
    transform: translateX(calc(100% + 24px)) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: 1700 !important;
    transition: transform 0.24s ease, opacity 0.18s ease !important;
  }

  .mobile-menu-open .site-header::after {
    transform: translateX(0) !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .mobile-menu-open .top-strip,
  .mobile-menu-open .catalog-nav {
    transition: none !important;
  }

  .mobile-menu-open .top-strip {
    top: 10px !important;
    right: 10px !important;
    bottom: auto !important;
    width: min(82vw, 330px) !important;
    height: 382px !important;
    max-height: none !important;
    padding: 18px 18px 0 !important;
    border: 0 !important;
    border-radius: 28px 28px 0 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
    z-index: 1800 !important;
  }

  .mobile-menu-open .catalog-nav {
    top: 392px !important;
    right: 10px !important;
    bottom: 10px !important;
    width: min(82vw, 330px) !important;
    padding: 10px 18px 20px !important;
    border: 0 !important;
    border-top: 0 !important;
    border-radius: 0 0 28px 28px !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
    z-index: 1810 !important;
  }

  .top-strip::after,
  .catalog-nav::before {
    display: none !important;
  }

  .mobile-menu-open .top-strip .worktime {
    display: none !important;
  }

  .mobile-menu-open .catalog-nav__inner {
    gap: 6px !important;
  }

  .mobile-menu-open .catalog-nav__main,
  .mobile-menu-open .catalog-nav__dropdown.is-open > .catalog-nav__main,
  .mobile-menu-open .catalog-nav__inner > a {
    min-height: 46px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .mobile-menu-open .catalog-nav__main:hover,
  .mobile-menu-open .catalog-nav__inner > a:hover {
    background: #fff !important;
  }

  .mobile-menu-open .catalog-nav__phone {
    margin-top: 8px !important;
    min-height: 68px !important;
    display: grid !important;
    align-content: center !important;
    gap: 4px !important;
    background: #fff !important;
    color: #555b63 !important;
    box-shadow: 0 18px 34px rgba(227, 6, 19, 0.12) !important;
  }

  .mobile-menu-open .catalog-nav__phone::after {
    content: "Режим работы: 08:00 - 20:00";
    display: block;
    color: #111;
    font-size: 11px;
    font-weight: 950;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .mobile-menu-open .catalog-nav__dropdown .catalog-menu {
    margin: 4px 0 4px 46px !important;
    padding: 4px 0 4px 10px !important;
    gap: 2px !important;
  }

  .mobile-menu-open .catalog-menu a {
    min-height: 30px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    border-radius: 10px !important;
  }

  .mobile-menu-close {
    display: flex !important;
  }
}

/* Site 1.16 oil picker page and drawer polish. */
.oil-page {
  background: #f5f5f5;
}

.oil-hero {
  padding-top: clamp(52px, 6vw, 86px);
  background: #f5f5f5;
}

.oil-hero__grid {
  display: grid;
  gap: 18px;
}

.oil-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #111;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.oil-hero p:not(.eyeline) {
  max-width: 620px;
  margin: 0;
  color: #5f6670;
  font-size: 20px;
  line-height: 1.55;
}

.oil-picker-section {
  background: #f5f5f5;
}

.oil-picker-card {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(17, 17, 18, 0.06);
}

.oil-category-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e3e3e3;
}

.oil-category {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 142px;
  border: 1px solid #d9dde2;
  border-radius: 8px;
  background: #fff;
  color: #5d6670;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.oil-category span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid #d9dde2;
  border-radius: 50%;
  background: #fafafa;
}

.oil-category svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.oil-category:hover,
.oil-category.is-active {
  border-color: #e30613;
  color: #e30613;
  transform: translateY(-2px);
}

.oil-category.is-active span {
  border-color: #e30613;
  background: #fff5f6;
}

.oil-picker-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 32px;
}

.oil-picker-form label {
  display: grid;
  gap: 10px;
  color: #111;
  font-weight: 950;
}

.oil-picker-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #d9dde2;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: inherit;
}

.oil-picker-form select:disabled {
  color: #8c9299;
  background: #f1f1f1;
}

.oil-picker-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 10px;
}

.oil-picker-actions .button {
  width: min(280px, 100%);
}

.oil-reset {
  border: 0;
  background: transparent;
  color: #e30613;
  font-weight: 950;
  cursor: pointer;
}

.oil-result {
  display: grid;
  gap: 22px;
  margin-top: 32px;
  padding: 28px;
  border: 1px solid #e5e5e5;
  border-left: 6px solid #e30613;
  background: #fafafa;
}

.oil-result.is-empty {
  border-left-color: #111;
}

.oil-result p {
  margin: 0;
  color: #5f6670;
  font-size: 16px;
  line-height: 1.55;
}

.oil-result__summary span {
  color: #e30613;
  font-weight: 950;
  text-transform: uppercase;
}

.oil-result__summary h2 {
  margin: 8px 0 4px;
  color: #111;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.oil-result__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.oil-result__grid div {
  padding: 18px;
  border: 1px solid #dedede;
  background: #fff;
}

.oil-result__grid dt {
  color: #707780;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.oil-result__grid dd {
  margin: 8px 0 0;
  color: #111;
  font-size: 20px;
  font-weight: 950;
}

.oil-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .oil-hero {
    padding-top: 34px;
  }

  .oil-hero h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .oil-hero p:not(.eyeline) {
    font-size: 17px;
  }

  .oil-category-row {
    grid-template-columns: 1fr;
  }

  .oil-category {
    grid-template-columns: 64px 1fr;
    place-items: center start;
    min-height: 86px;
    padding: 12px 16px;
    text-align: left;
  }

  .oil-category span {
    width: 58px;
    height: 58px;
  }

  .oil-picker-form,
  .oil-result__grid {
    grid-template-columns: 1fr;
  }

  .oil-picker-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .oil-picker-actions .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .mobile-menu-open .site-header::after {
    overflow: hidden !important;
    background: #f7f8fa !important;
  }

  .mobile-menu-open .top-strip {
    background: #f7f8fa !important;
    border-radius: 28px 28px 0 0 !important;
  }

  .mobile-menu-open .catalog-nav {
    background: #f7f8fa !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin;
  }

  .mobile-menu-close {
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 24px !important;
  }

  .cart-panel__dialog {
    padding-top: 30px !important;
  }

  .cart-panel__close {
    top: 30px !important;
    right: 28px !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    z-index: 4 !important;
  }

  .cart-panel__dialog > .eyeline {
    margin-right: 58px !important;
  }
}

/* Site 1.17 oil selector content refinements. */
.oil-picker-intro {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 24px;
  padding: 0 0 28px;
  border-bottom: 1px solid #e3e3e3;
}

.oil-picker-intro strong {
  color: #111;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
}

.oil-picker-intro p {
  max-width: 760px;
  margin: 0;
  color: #5f6670;
  font-size: 17px;
  line-height: 1.55;
}

.oil-approval-list {
  padding: 22px;
  border: 1px solid #dedede;
  background: #fff;
}

.oil-approval-list h3 {
  margin: 0 0 14px;
  color: #111;
  font-size: 18px;
  text-transform: uppercase;
}

.oil-approval-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oil-approval-list li {
  position: relative;
  padding-left: 18px;
  color: #38404a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.oil-approval-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  background: #e30613;
}

@media (max-width: 760px) {
  .oil-picker-intro,
  .oil-approval-list ul {
    grid-template-columns: 1fr;
  }
}

/* Site 1.18 unified controls and cart drawer alignment. */
.back-home,
.legal-back,
.department-page .back-home,
.product-detail-page .back-home,
.news-page .back-home,
.oil-page .back-home {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: max-content !important;
  max-width: 100% !important;
  min-width: 142px !important;
  min-height: 50px !important;
  padding: 0 24px !important;
  border: 1px solid var(--red) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--red) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transform: none !important;
}

.back-home:hover,
.legal-back:hover,
.department-page .back-home:hover,
.product-detail-page .back-home:hover,
.news-page .back-home:hover,
.oil-page .back-home:hover {
  background: var(--red) !important;
  color: #fff !important;
  transform: none !important;
}

.header-search select {
  min-width: 182px !important;
  padding-right: 46px !important;
  background-position: right 18px center !important;
  text-overflow: ellipsis !important;
}

.cart-panel__dialog::before {
  margin-right: 74px !important;
}

.cart-panel__close {
  top: 24px !important;
  right: 24px !important;
  z-index: 8 !important;
  width: 42px !important;
  height: 42px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #111 !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.18) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.cart-panel__close:hover {
  background: var(--red) !important;
  color: #fff !important;
}

@media (max-width: 640px) {
  .back-home,
  .legal-back,
  .department-page .back-home,
  .product-detail-page .back-home,
  .news-page .back-home,
  .oil-page .back-home {
    width: 100% !important;
    min-height: 52px !important;
    justify-content: flex-start !important;
    padding: 0 18px !important;
  }

  .cart-panel__dialog::before {
    margin-right: 58px !important;
  }

  .cart-panel__close {
    top: 22px !important;
    right: 22px !important;
  }
}

/* Site 1.22 locked design-system guardrails. */
:root {
  --ds-red: #e30613;
  --ds-ink: #101114;
  --ds-muted: #5f6670;
  --ds-line: #e1e3e7;
  --ds-page: #f4f5f7;
  --ds-surface: #ffffff;
  --ds-soft: #f7f8fa;
  --ds-radius: 8px;
  --ds-container: 1320px;
  --ds-gap: 24px;
  --ds-section-y: clamp(56px, 6vw, 88px);
  --ds-h1: clamp(52px, 6.2vw, 92px);
  --ds-h2: clamp(34px, 4vw, 58px);
  --ds-h3: clamp(22px, 2.2vw, 30px);
  --ds-body: 17px;
  --ds-small: 13px;
  --ds-control-h: 52px;
  --ds-control-px: 24px;
}

.container {
  max-width: var(--ds-container);
}

.button,
.back-home,
.legal-back,
.outline-link,
.oil-reset,
button,
input,
select,
textarea {
  border-radius: 0;
}

.section {
  padding-top: var(--ds-section-y);
  padding-bottom: var(--ds-section-y);
}

.back-home,
.legal-back,
.department-page .back-home,
.product-detail-page .back-home,
.news-page .back-home,
.oil-page .back-home {
  width: auto !important;
  min-width: 142px !important;
  max-width: 100% !important;
  min-height: 50px !important;
}

.delivery-checkout-copy .back-home {
  width: max-content !important;
  min-width: 142px !important;
}

.orders-page-grid,
.order-page-grid {
  display: grid;
  gap: 22px;
}

.orders-page-grid > .back-home,
.order-page-grid > .back-home {
  justify-self: start;
  width: max-content !important;
  max-width: 100%;
  min-height: 40px !important;
  margin: 0;
  padding: 0 16px !important;
  border: 1px solid var(--red) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--red) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-transform: uppercase;
  box-shadow: none !important;
}

.orders-page-grid > .back-home:hover,
.order-page-grid > .back-home:hover {
  background: var(--red) !important;
  color: #fff !important;
}

.orders-page-head h1,
.order-detail-page h1 {
  margin: 8px 0 0;
}

.orders-page-head p:not(.eyeline) {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.orders-list-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.order-list-card {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.order-list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(227, 6, 19, 0.22);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.09);
}

.order-list-card__top,
.order-list-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-list-card__top > span,
.order-list-card__meta span {
  color: var(--muted);
  font-size: 14px;
}

.order-list-card strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.order-list-card p,
.order-list-card b {
  margin: 0;
}

.order-list-card p {
  min-height: 44px;
  color: #263445;
  line-height: 1.4;
}

.order-list-card b {
  margin-left: auto;
  color: var(--red);
  white-space: nowrap;
}

.order-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f4f4f4;
  color: #4b5563;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.order-status-pill.is-new {
  background: rgba(0, 113, 227, 0.1);
  color: #0057b8;
}

.order-status-pill.is-paid,
.order-status-pill.is-delivery {
  background: rgba(36, 161, 72, 0.1);
  color: #137333;
}

.order-status-pill.is-closed {
  background: rgba(0, 0, 0, 0.08);
  color: #4b5563;
}

.order-list-card__open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--red);
  color: var(--red);
  font-weight: 900;
}

.order-detail-page {
  display: grid;
  gap: 18px;
}

.order-roadmap {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) 1fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
  color: #fff;
  overflow: hidden;
}

.order-roadmap__head h2,
.order-roadmap__head p {
  margin: 0;
}

.order-roadmap__head h2 {
  margin-top: 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.order-roadmap ol {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-roadmap ol::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 17px;
  width: 2px;
  background: rgba(255, 255, 255, 0.18);
}

.order-roadmap li {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
}

.order-roadmap li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: #1f2933;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 900;
  z-index: 1;
}

.order-roadmap li.is-done > span,
.order-roadmap li.is-current > span {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.order-roadmap li.is-current > span {
  box-shadow: 0 0 0 6px rgba(227, 6, 19, 0.18);
}

.order-roadmap strong,
.order-roadmap p {
  display: block;
  margin: 0;
}

.order-roadmap strong {
  color: #fff;
  font-size: 17px;
}

.order-roadmap p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.order-roadmap li.is-upcoming strong,
.order-roadmap li.is-upcoming p {
  color: rgba(255, 255, 255, 0.44);
}

.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.order-detail-grid section,
.order-detail-card {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.04);
}

.order-detail-grid h2,
.order-detail-grid p {
  margin: 0;
}

.order-detail-grid h2 {
  font-size: 18px;
}

.order-detail-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-detail-card__head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.order-products-card {
  grid-row: span 2;
}

.order-products-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-products-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.order-products-list li:first-child {
  border-top: 0;
}

.order-products-list strong,
.order-products-list small {
  display: block;
}

.order-products-list strong {
  line-height: 1.3;
}

.order-products-list small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.order-products-list b {
  white-space: nowrap;
}

.order-money-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.order-money-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.order-money-list dt {
  color: var(--muted);
}

.order-money-list dd {
  margin: 0;
  font-weight: 900;
}

.order-money-list .is-total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--red);
}

.order-address,
.order-delivery-status {
  color: #263445;
  line-height: 1.5;
}

.order-tech-details {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.order-tech-details summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.order-detail-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-detail-grid li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.order-logistics-list {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
}

.order-logistics-list div {
  display: grid;
  grid-template-columns: minmax(112px, 0.45fr) 1fr;
  gap: 12px;
  align-items: start;
}

.order-logistics-list dt {
  color: var(--muted);
  font-size: 13px;
}

.order-logistics-list dd {
  margin: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.order-logistics-list a {
  color: var(--red);
}

@media (max-width: 640px) {
  .delivery-checkout-copy .back-home {
    width: max-content !important;
  }

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

  .order-list-card__top,
  .order-list-card__meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-list-card p {
    min-height: 0;
  }

  .order-roadmap {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .order-detail-grid {
    grid-template-columns: 1fr;
  }

  .order-detail-card {
    gap: 12px;
    padding: 18px;
  }

  .order-products-card {
    grid-row: auto;
  }

  .order-products-list li {
    display: grid;
    gap: 6px;
  }

  .order-logistics-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.legal-document h1 {
  max-width: 100% !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.privacy-page .legal-document h1 {
  max-width: 680px !important;
}

.terms-page .legal-document h1 {
  max-width: 760px !important;
}

@media (max-width: 640px) {
  :root {
    --ds-gap: 14px;
    --ds-section-y: 42px;
    --ds-h1: clamp(38px, 11vw, 48px);
    --ds-h2: clamp(28px, 8vw, 36px);
    --ds-h3: 22px;
    --ds-body: 16px;
    --ds-control-h: 50px;
    --ds-control-px: 18px;
  }

  .container {
    width: min(100% - 24px, var(--ds-container));
  }

  .back-home,
  .legal-back,
  .department-page .back-home,
  .product-detail-page .back-home,
  .news-page .back-home,
  .oil-page .back-home {
    width: auto !important;
    min-width: 142px !important;
    max-width: calc(100vw - 24px) !important;
    min-height: 50px !important;
    padding: 0 18px !important;
    justify-content: center !important;
  }

  .oil-page .back-home,
  .legal-page .legal-back {
    display: inline-flex !important;
    width: max-content !important;
    max-width: calc(100vw - 24px) !important;
    justify-self: start !important;
    align-self: start !important;
  }

  .legal-wrap {
    width: min(100% - 24px, 980px) !important;
  }

  .legal-document {
    padding: 22px !important;
  }

  .legal-document h1 {
    font-size: 24px !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .privacy-page .legal-document h1 {
    font-size: 22px !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
  }

  .terms-page .legal-document h1 {
    font-size: 22px !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
  }
}

/* Site 1.23 mobile drawer continuity fix. */
@media (max-width: 640px) {
  .mobile-menu-open .site-header::after {
    background: #f7f8fa !important;
  }

  .mobile-menu-open .top-strip {
    height: 344px !important;
    padding: 26px 18px 0 !important;
    background: transparent !important;
    overflow: hidden !important;
  }

  .mobile-menu-open .top-strip__inner {
    gap: 0 !important;
    padding: 0 !important;
  }

  .mobile-menu-open .top-strip .city {
    margin: 0 54px 18px 0 !important;
  }

  .mobile-menu-open .top-strip nav {
    display: grid !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mobile-menu-open .top-strip nav a {
    min-height: 44px !important;
  }

  .mobile-menu-open .catalog-nav {
    top: 344px !important;
    padding: 0 18px 26px !important;
    background: transparent !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin !important;
  }

  .mobile-menu-open .catalog-nav__inner {
    padding: 0 !important;
    gap: 8px !important;
  }

  .mobile-menu-open .catalog-nav__main,
  .mobile-menu-open .catalog-nav__inner > a {
    min-height: 44px !important;
  }

  .mobile-menu-open .catalog-nav__phone {
    min-height: 54px !important;
    margin-top: 12px !important;
  }

  .mobile-menu-open .catalog-nav__phone::after {
    content: "\0420\0435\0436\0438\043C\0020\0440\0430\0431\043E\0442\044B\003A\0020\0030\0038\003A\0030\0030\0020\002D\0020\0032\0030\003A\0030\0030" !important;
  }
}

/* Site 1.24 mobile drawer item spacing fix. */
@media (max-width: 640px) {
  .mobile-menu-open .top-strip {
    height: 372px !important;
  }

  .mobile-menu-open .catalog-nav {
    top: 372px !important;
  }

  .mobile-menu-open .top-strip nav a,
  .mobile-menu-open .catalog-nav__main,
  .mobile-menu-open .catalog-nav__inner > a {
    min-height: 42px !important;
  }
}

/* Site 1.25 SMS verification UI. */
.account-verification-step {
  display: grid;
}

.account-verification-step .button {
  min-height: 52px;
}

.sms-code-row {
  display: grid;
  grid-template-columns: 1fr;
}

.sms-code-row .button,
.sms-code-row input {
  min-height: 52px;
}

.account-hint {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.account-forgot-link {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.account-forgot-link:hover,
.account-forgot-link:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.account-form-title {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
}

@media (max-width: 640px) {
  .sms-code-row {
    grid-template-columns: 1fr;
  }
}

/* Site 1.26 temporary SMS off + mobile drawer overlap fix. */
.sms-code-row--disabled[hidden],
#smsStatus[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  body.mobile-menu-open .site-header::after {
    background: #f7f8fa !important;
    overflow: hidden !important;
  }

  body.mobile-menu-open .top-strip,
  body.mobile-menu-open .catalog-nav {
    background: transparent !important;
    box-shadow: none !important;
  }

  body.mobile-menu-open .top-strip {
    height: 352px !important;
    padding: 26px 18px 0 !important;
    overflow: hidden !important;
  }

  body.mobile-menu-open .catalog-nav {
    top: 352px !important;
    bottom: 16px !important;
    max-height: calc(100vh - 368px) !important;
    padding: 0 18px 22px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin !important;
  }

  body.mobile-menu-open .top-strip nav {
    gap: 6px !important;
  }

  body.mobile-menu-open .top-strip nav a,
  body.mobile-menu-open .catalog-nav__main,
  body.mobile-menu-open .catalog-nav__inner > a {
    min-height: 42px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  body.mobile-menu-open .catalog-nav__dropdown.is-open .catalog-menu {
    margin: 6px 0 8px 44px !important;
    max-height: 190px !important;
    overflow-y: auto !important;
  }
}

.seo-local-section {
  background: #fff;
}

.seo-local-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 32px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 40px;
  padding-bottom: 40px;
}

.seo-local-grid h2 {
  max-width: 860px;
}

.seo-local-grid p {
  max-width: 780px;
  color: var(--muted);
  font-size: var(--text-md);
  line-height: 1.65;
}

.seo-link-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.seo-link-card strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: var(--text-md);
}

.seo-link-card a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.seo-link-card a:hover {
  color: var(--red);
}

.seo-category-page .seo-copy {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.seo-category-page .seo-copy h2 {
  margin-top: 0;
  margin-bottom: 14px;
}

.seo-category-page .seo-copy p {
  max-width: 900px;
  color: var(--muted);
  font-size: var(--text-md);
  line-height: 1.65;
}

@media (max-width: 720px) {
  .seo-local-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .seo-link-card,
  .seo-category-page .seo-copy {
    padding: 18px;
  }
}

/* Site 1.35 department icons replace numbers. Keep this after older department rules. */
#catalog .department-card,
#catalog .department-card:nth-child(2n),
#catalog .department-card:last-child {
  grid-template-columns: 58px minmax(180px, 0.42fr) minmax(0, 1fr) 42px !important;
  align-items: center !important;
  column-gap: 20px !important;
}

#catalog .department-card::before {
  display: none !important;
  content: none !important;
}

#catalog .department-icon {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  justify-self: center !important;
  align-self: center !important;
  width: 46px !important;
  height: 46px !important;
  color: var(--red) !important;
}

#catalog .department-icon svg {
  width: 28px !important;
  height: 28px !important;
}

#catalog .department-card span:not(.department-icon) {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: end !important;
}

#catalog .department-card strong {
  grid-column: 3 !important;
  grid-row: 1 / span 2 !important;
  align-self: center !important;
}

#catalog .department-card::after {
  grid-column: 4 !important;
  grid-row: 1 / span 2 !important;
}

@media (max-width: 1020px) {
  #catalog .department-card,
  #catalog .department-card:nth-child(2n),
  #catalog .department-card:last-child {
    grid-template-columns: 52px minmax(0, 1fr) 42px !important;
    row-gap: 8px !important;
  }

  #catalog .department-card span:not(.department-icon) {
    grid-column: 2 !important;
  }

  #catalog .department-card strong {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: start !important;
  }

  #catalog .department-card::after {
    grid-column: 3 !important;
  }
}

@media (max-width: 640px) {
  #catalog .department-card,
  #catalog .department-card:nth-child(2n),
  #catalog .department-card:last-child {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    min-height: 104px !important;
    padding: 18px 0 !important;
  }

  #catalog .department-icon {
    width: 38px !important;
    height: 38px !important;
  }

  #catalog .department-icon svg {
    width: 23px !important;
    height: 23px !important;
  }

  #catalog .department-card span:not(.department-icon),
  #catalog .department-card strong {
    grid-column: 2 !important;
  }

  #catalog .department-card span:not(.department-icon) {
    font-size: 22px !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
  }

  #catalog .department-card strong {
    max-width: 240px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  #catalog .department-card::after {
    display: none !important;
  }
}

/* Site 1.36 oil page back button must stay compact on every viewport. */
.oil-page .back-home {
  width: max-content !important;
  min-width: 0 !important;
  max-width: calc(100vw - 80px) !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  justify-self: start !important;
  justify-content: center !important;
}

@media (max-width: 640px) {
  .oil-page .back-home {
    max-width: calc(100vw - 24px) !important;
    min-height: 44px !important;
    padding: 0 18px !important;
  }
}

@media (max-width: 760px) {
  .cart-panel__dialog {
    height: 100dvh !important;
    min-height: 100dvh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .cart-panel .cart-items {
    flex: 0 0 auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/* Site 1.42 cart and delivery checkout refinements. */
.cart-panel__dialog {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  overflow: hidden !important;
}

.cart-panel__dialog > .eyeline,
.cart-panel .cart-summary,
.cart-panel .order-form {
  flex: 0 0 auto !important;
}

.cart-panel .cart-items {
  flex: 0 1 auto !important;
  min-height: 0 !important;
  max-height: min(34vh, 320px) !important;
  overflow-y: auto !important;
  margin-top: 4px !important;
}

.cart-panel .cart-empty {
  flex: 0 0 auto !important;
}

@media (max-width: 760px) {
  .cart-panel__dialog {
    height: 100dvh !important;
    min-height: 100dvh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .cart-panel .cart-items {
    flex: 0 0 auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

.payment-choice[hidden] {
  display: none !important;
}

.field-hint {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.delivery-login-gate {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e3e5e8;
  border-left: 5px solid var(--red);
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(17, 17, 17, 0.08);
}

.delivery-login-gate[hidden] {
  display: none !important;
}

.delivery-login-gate strong {
  font-size: 16px;
  line-height: 1.15;
  color: var(--ink);
}

.delivery-login-gate p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.delivery-login-gate > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.delivery-login-gate .button {
  width: 100%;
}

/* Delivery page */
.account-auth::before {
  content: none !important;
  display: none !important;
}

.delivery-page {
  background: linear-gradient(180deg, #f4f4f4 0%, #fff 44%);
}

.delivery-hero {
  padding-top: clamp(28px, 5vw, 62px);
}

.delivery-hero__grid,
.delivery-flow__grid,
.delivery-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.delivery-hero__copy {
  align-self: center;
}

.delivery-back-home {
  width: fit-content;
  min-height: 46px;
  margin: 0 0 28px;
  padding: 0 24px;
}

.delivery-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.delivery-hero p,
.delivery-flow__grid > div > p,
.delivery-pricing p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.delivery-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.delivery-hero__note,
.delivery-method-grid article,
.delivery-two-col article,
.delivery-faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.delivery-hero__note {
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.18), transparent 48%),
    #111;
  color: #fff;
}

.delivery-hero__note span,
.delivery-method-grid span {
  color: var(--red);
  font-weight: 950;
  text-transform: uppercase;
}

.delivery-hero__note p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.delivery-hero__note h2 {
  max-width: 360px;
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.98;
  text-transform: uppercase;
}

.delivery-hero__note ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.delivery-hero__note li {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.delivery-method-grid,
.delivery-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.delivery-method-grid article,
.delivery-two-col article,
.delivery-faq-grid article {
  padding: clamp(22px, 3vw, 34px);
}

.delivery-method-grid h3,
.delivery-faq-grid h3 {
  margin: 14px 0 10px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
}

.delivery-method-grid p,
.delivery-faq-grid p,
.delivery-steps p,
.delivery-check-list {
  color: var(--muted);
  line-height: 1.55;
}

.delivery-method-grid b {
  display: block;
  margin-top: 20px;
  color: #111;
}

.delivery-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.delivery-steps span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 950;
}

.delivery-steps h3 {
  margin: 2px 0 6px;
  font-size: 22px;
}

.delivery-two-col {
  align-items: start;
}

.delivery-check-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.delivery-check-list li {
  position: relative;
  padding-left: 24px;
}

.delivery-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--red);
}

.delivery-faq-list {
  display: grid;
  gap: 10px;
}

.delivery-faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.delivery-faq-list summary {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  padding: 18px 58px 18px 22px;
  color: #111;
  cursor: pointer;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 950;
  line-height: 1.15;
  list-style: none;
}

.delivery-faq-list summary::-webkit-details-marker {
  display: none;
}

.delivery-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.delivery-faq-list details[open] summary::after {
  content: "−";
  background: var(--red);
}

.delivery-faq-list p {
  max-height: 0;
  margin: 0;
  padding: 0 22px;
  color: var(--muted);
  line-height: 1.55;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 0.28s ease, padding 0.28s ease, opacity 0.22s ease, transform 0.22s ease;
}

.delivery-faq-list details[open] {
  border-color: rgba(227, 6, 19, 0.22);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.06);
}

.delivery-faq-list details[open] p {
  max-height: 220px;
  padding: 0 22px 22px;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .delivery-hero__grid,
  .delivery-flow__grid,
  .delivery-two-col,
  .delivery-method-grid,
  .delivery-faq-grid {
    grid-template-columns: 1fr;
  }

  .delivery-hero h1 {
    font-size: 46px;
  }

  .delivery-back-home {
    width: 100%;
  }
}

.about-page-modern .section {
  padding: clamp(34px, 5vw, 72px) 0;
}

.about-modern-hero {
  padding-top: clamp(28px, 4vw, 56px);
}

.about-modern-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.about-modern-back {
  width: fit-content;
  min-height: 44px;
  padding: 0 28px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.about-modern-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(72px, 12vw, 156px);
  line-height: 0.86;
  letter-spacing: 0;
}

.about-modern-hero__copy > p:not(.eyeline) {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.about-modern-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  max-width: 300px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.34), transparent 58%), #101010;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
  justify-self: end;
}

.about-modern-card span,
.about-modern-contact span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.about-modern-card strong {
  align-self: end;
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1;
  white-space: nowrap;
}

.about-modern-card a {
  color: #fff;
  font-weight: 900;
}

.about-modern-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-modern-values article,
.about-modern-process__grid,
.about-modern-visit article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.05);
}

.about-modern-values article {
  min-height: 250px;
  padding: clamp(22px, 3vw, 34px);
}

.about-modern-values span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  color: var(--red);
  border: 1px solid var(--line);
  font-weight: 900;
}

.about-modern-values h2,
.about-modern-process h2,
.about-modern-visit h2,
.about-modern-map h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.98;
}

.about-modern-values p,
.about-modern-process p,
.about-modern-visit p,
.about-modern-map p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.about-modern-process__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(24px, 4vw, 58px);
  padding: clamp(28px, 5vw, 54px);
}

.about-modern-steps {
  counter-reset: about-step;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-modern-steps li {
  counter-increment: about-step;
  position: relative;
  display: grid;
  gap: 6px;
  padding: 20px 20px 20px 70px;
  background: #f6f6f6;
  border-radius: 8px;
}

.about-modern-steps li::before {
  content: counter(about-step);
  position: absolute;
  left: 20px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-weight: 900;
}

.about-modern-steps strong {
  font-size: 19px;
}

.about-modern-steps span {
  color: var(--muted);
  line-height: 1.45;
}

.about-modern-visit__grid,
.about-modern-map__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 16px;
}

.about-modern-visit article {
  padding: clamp(26px, 4vw, 44px);
}

.about-modern-contact {
  display: grid;
  align-content: center;
  gap: 12px;
  color: #fff;
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.36), transparent 62%), #111 !important;
}

.about-modern-contact a {
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  line-height: 1;
}

.about-modern-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about-modern-actions .button {
  min-height: 48px;
  padding: 0 28px;
}

.about-modern-map__grid {
  align-items: stretch;
}

.about-modern-map__frame {
  overflow: hidden;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.about-modern-map__frame iframe {
  width: 100%;
  height: 100%;
  min-height: 330px;
  border: 0;
}

@media (max-width: 760px) {
  .about-page-modern .section {
    padding: 28px 0;
  }

  .about-modern-hero__grid,
  .about-modern-values__grid,
  .about-modern-process__grid,
  .about-modern-visit__grid,
  .about-modern-map__grid {
    grid-template-columns: 1fr;
  }

  .about-modern-back {
    min-height: 42px;
    margin-bottom: 22px;
  }

  .about-modern-hero h1 {
    font-size: clamp(64px, 22vw, 96px);
  }

  .about-modern-hero__copy > p:not(.eyeline),
  .about-modern-values p,
  .about-modern-process p,
  .about-modern-visit p,
  .about-modern-map p {
    font-size: 17px;
  }

  .about-modern-card {
    min-height: 150px;
  }

  .about-modern-values article {
    min-height: 0;
    padding: 24px;
  }

  .about-modern-values span {
    margin-bottom: 20px;
  }

  .about-modern-process__grid,
  .about-modern-visit article {
    padding: 24px;
  }

  .about-modern-steps li {
    padding: 18px 18px 18px 64px;
  }

  .about-modern-contact a {
    font-size: clamp(26px, 8vw, 36px);
  }

  .about-modern-actions .button {
    width: 100%;
  }
}
