/* City top products final consolidated override 2026-09-22. */
html body #dcontent.homehit .cw-city-products {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
  height: auto !important;
  margin: 18px 0 28px !important;
  overflow: visible !important;
}

/* Final shared overrides: keep natural titles at every breakpoint. */
html body #dcontent.homehit .cw-city-products > .cw-home-grid__item .cw-home-card,
html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card {
  grid-template-rows: 260px minmax(50px, auto) 25px 26px 30px 24px 50px !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__title {
  height: auto !important;
  min-height: 50px !important;
  overflow: visible !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__title > strong,
html body #dcontent.homehit .cw-city-products .cw-home-card__title a,
html body #dcontent.homehit .cw-city-products .cw-home-card__title a.souths {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: unset !important;
}

html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__stock,
html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__warranty,
html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__details,
html body #dcontent.homehit .cw-city-products > .cw-city-service-item .vidtovbasket {
  display: none !important;
}

/* Compact mobile path to products. */
@media (max-width: 700px) {
  .cw-city-page-shell .cw-city-hero {
    min-height: 230px;
  }

  .cw-city-page-shell .cw-city-hero__copy {
    max-width: 72%;
    padding: 20px 16px;
  }

  .cw-city-page-shell .cw-city-hero__copy h2 {
    font-size: 24px;
  }

  .cw-city-page-shell .cw-city-hero__copy p {
    font-size: 14px;
  }

  .cw-city-page-shell .cw-city-actions {
    margin: 10px 0 14px;
  }

  .cw-city-page-shell .cw-city-action--secondary {
    display: none;
  }

  .cw-city-page-shell #list_shops .cathom {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .cw-city-page-shell #list_shops .iconcath {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 7px !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 68px !important;
    margin: 0 !important;
    padding: 7px !important;
  }

  .cw-city-page-shell #list_shops .iconcath > a {
    display: block !important;
    width: 52px !important;
    height: 52px !important;
  }

  .cw-city-page-shell #list_shops .iconcath img {
    width: 52px !important;
    height: 52px !important;
    object-fit: contain !important;
  }

  .cw-city-page-shell #list_shops .namiccah {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }
}

.cw-city-products > .cw-home-grid__item {
  display: block !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body #dcontent .cw-city-products .cw-home-card {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 80px !important;
  grid-template-rows: 260px 50px 25px 26px 30px 24px 50px !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 15px !important;
  border: 1px solid #e0e7ec !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 5px 16px rgba(26, 60, 82, 0.1) !important;
  overflow: hidden !important;
}

.cw-city-products .cw-home-card__media {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  width: auto !important;
  height: 260px !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.cw-city-products .cw-home-card__image-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.cw-city-products .cw-home-card__image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
}

.cw-city-products .cw-home-card__title {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  display: block !important;
  width: auto !important;
  max-width: none !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 8px 12px 0 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  text-align: center !important;
  overflow: hidden !important;
}

.cw-city-products .cw-home-card__title a {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.cw-city-products .cw-home-card__options-wrap {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  width: auto !important;
  max-width: none !important;
  height: 25px !important;
  min-height: 25px !important;
  margin: 0 !important;
  padding: 2px 12px 4px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  text-align: center !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
}

.cw-city-products .cw-home-card__rating {
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: auto !important;
  max-width: none !important;
  height: 26px !important;
  min-height: 26px !important;
  margin: 0 !important;
  padding: 3px 12px !important;
}

.cw-city-products .u-star-rating-20 {
  display: block !important;
  position: relative !important;
  flex: 0 0 100px !important;
  width: 100px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  list-style: none !important;
  background: url('/diox/img/20.png') 0 0 repeat-x !important;
}

.cw-city-products .u-star-rating-20 .u-current-rating {
  display: block !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: url('/diox/img/20.png') 0 100% repeat-x !important;
}

.cw-city-products .cw-home-card__rating-count {
  color: #128bc4 !important;
  font-size: 12px !important;
  line-height: 20px !important;
}

.cw-city-products .cw-home-card__info {
  grid-column: 1 / -1 !important;
  grid-row: 5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: auto !important;
  max-width: none !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 2px 8px 4px !important;
  font-size: 11px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

.cw-city-products .cw-home-card__reviews,
.cw-city-products .cw-home-card__details {
  display: none !important;
}

.cw-city-products .cw-home-card__info > div {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

.cw-city-products .cw-home-card__info > div + div::before {
  content: "·" !important;
  display: inline-block !important;
  margin-right: 5px !important;
  color: #9aa8b1 !important;
}

.cw-city-products .cw-home-card__delivery {
  grid-column: 1 / -1 !important;
  grid-row: 6 !important;
  justify-self: center !important;
  margin: 0 0 6px !important;
  padding: 3px 8px !important;
  border: 1px solid #b9e3c7 !important;
  border-radius: 7px !important;
  background: #effbf3 !important;
  color: #087a36 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.cw-city-products .cw-home-card__price {
  grid-column: 1 !important;
  grid-row: 7 !important;
  min-width: 0 !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 4px 4px 10px 0 !important;
}

.cw-city-products .cw-home-card__price .newpricesq {
  display: grid !important;
  grid-template-columns: auto auto !important;
  grid-template-areas: "old old" "current vat" !important;
  align-items: end !important;
  justify-content: start !important;
  column-gap: 4px !important;
  row-gap: 1px !important;
}

.cw-city-products .cw-home-card__old-price {
  grid-area: old !important;
  font-size: 10px !important;
  line-height: 1 !important;
  text-decoration: line-through !important;
}

.cw-city-products .cw-home-card__current-price {
  grid-area: current !important;
  font-size: 20px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.cw-city-products .cw-home-card__vat {
  grid-area: vat !important;
  align-self: end !important;
  font-size: 9px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

.cw-city-products .cw-home-card__price .raznicapriceq {
  display: none !important;
}

.cw-city-products .cw-home-card__action {
  grid-column: 2 !important;
  grid-row: 7 !important;
  align-self: end !important;
  width: auto !important;
  min-width: 92px !important;
  min-height: 40px !important;
  margin: 0 !important;
}

.cw-city-products .cw-home-card__action .vidtovby {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 82px !important;
  padding: 0 9px !important;
}

@media (max-width: 1100px) {
  html body #dcontent.homehit .cw-city-products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 820px) {
  html body #dcontent.homehit .cw-city-products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 700px) {
  html body #dcontent.homehit .cw-city-products { grid-template-columns: minmax(0, 1fr) !important; }
  html body #dcontent .cw-city-products .cw-home-card {
    grid-template-columns: minmax(0, 1fr) 108px !important;
  }
}

/* Shared city-page shell. */
.cw-city-page-shell {
  --cw-city-blue: #0b75a8;
  --cw-city-orange: #ff8500;
  --cw-city-ink: #16242f;
  --cw-city-soft: #f5f9fc;
  color: var(--cw-city-ink);
}

.cw-city-page-shell .cw-city-intro {
  max-width: 980px;
  margin: 0 auto 14px;
  font-size: 17px;
  line-height: 1.55;
  text-align: center;
}

.cw-city-page-shell .cw-city-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.cw-city-page-shell .cw-city-benefit {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dce8ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(26, 60, 82, 0.07);
  font-size: 14px;
  line-height: 1.35;
}

.cw-city-page-shell .cw-city-benefit__icon {
  flex: 0 0 auto;
  color: var(--cw-city-orange);
  font-size: 20px;
  line-height: 1;
}

.cw-city-page-shell .cw-city-contact {
  margin: 10px 0 14px;
  text-align: center;
  line-height: 1.6;
}

.cw-city-page-shell .cw-city-contact a {
  white-space: nowrap;
}

.cw-city-page-shell .cw-city-hero {
  position: relative;
  height: clamp(360px, 30vw, 680px);
  min-height: 0;
  margin: 14px 0 20px;
  overflow: hidden;
  border-radius: 16px;
  background: #dbeefa;
  box-shadow: 0 8px 24px rgba(26, 60, 82, 0.15);
}

.cw-city-page-shell .cw-city-hero picture,
.cw-city-page-shell .cw-city-hero img {
  display: block;
  width: 100%;
  height: 100%;
}

.cw-city-page-shell .cw-city-hero picture {
  position: absolute;
  inset: 0;
}

.cw-city-page-shell .cw-city-hero img {
  position: absolute;
  inset: 0;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center 62% !important;
}

.cw-city-page-shell .cw-city-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 35, 54, 0.78) 0%, rgba(7, 35, 54, 0.55) 34%, rgba(7, 35, 54, 0.03) 66%);
  pointer-events: none;
}

.cw-city-page-shell .cw-city-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 490px;
  padding: 42px 36px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.38);
}

.cw-city-page-shell .cw-city-hero__copy h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
}

.cw-city-page-shell .cw-city-hero__copy p {
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.35;
}

.cw-city-page-shell h2[id$="-top-products"] {
  display: block !important;
  width: 100% !important;
  margin: 24px auto 16px !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

@media (min-width: 1000px) {
  .cw-city-page-shell h2[id$="-top-products"] {
    white-space: nowrap;
  }
}

.cw-city-page-shell .cw-city-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 22px;
}

.cw-city-page-shell .cw-city-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--cw-city-orange);
  border-radius: 9px;
  background: var(--cw-city-orange);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
}

.cw-city-page-shell .cw-city-action--secondary {
  background: #fff;
  color: #c76300 !important;
}

.cw-city-page-shell .cw-city-copy {
  max-width: 1040px;
  margin: 28px auto 0;
  line-height: 1.65;
}

.cw-city-page-shell .cw-city-copy h2 {
  margin-top: 30px;
  line-height: 1.25;
}

.cw-city-page-shell .cw-city-faq {
  margin: 22px 0;
}

.cw-city-page-shell .cw-city-faq details {
  margin: 8px 0;
  padding: 12px 14px;
  border: 1px solid #dce8ef;
  border-radius: 10px;
  background: #fff;
}

.cw-city-page-shell .cw-city-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.cw-city-page-shell .cw-city-faq details p {
  margin: 10px 0 0;
}

/* Let titles wrap naturally on desktop, tablet and phone. */
html body #dcontent.homehit .cw-city-products > .cw-home-grid__item .cw-home-card,
html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card {
  grid-template-rows: 260px minmax(50px, auto) 25px 26px 30px 24px 50px !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__title {
  height: auto !important;
  min-height: 50px !important;
  overflow: visible !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__title > strong,
html body #dcontent.homehit .cw-city-products .cw-home-card__title a,
html body #dcontent.homehit .cw-city-products .cw-home-card__title a.souths {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: unset !important;
}

html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__stock,
html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__warranty,
html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__details,
html body #dcontent.homehit .cw-city-products > .cw-city-service-item .vidtovbasket {
  display: none !important;
}

html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__action .vidtovby {
  font-size: 12px !important;
  line-height: 1.15 !important;
  text-align: center !important;
}

@media (max-width: 900px) {
  .cw-city-page-shell .cw-city-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cw-city-page-shell .cw-city-hero {
    height: 320px;
    min-height: 320px;
  }
}

@media (max-width: 700px) {
  .cw-city-page-shell .cw-city-intro {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
  }

  .cw-city-page-shell .cw-city-benefits {
    grid-template-columns: 1fr;
    gap: 7px;
    margin: 10px 0;
  }

  .cw-city-page-shell .cw-city-benefit {
    padding: 9px 10px;
    font-size: 13px;
  }

  .cw-city-page-shell .cw-city-contact {
    margin: 8px 0 10px;
    font-size: 14px;
  }

  .cw-city-page-shell .cw-city-hero {
    min-height: 280px;
    margin: 10px 0 14px;
  }

  .cw-city-page-shell .cw-city-hero::after {
    background: linear-gradient(90deg, rgba(7, 35, 54, 0.82) 0%, rgba(7, 35, 54, 0.52) 52%, rgba(7, 35, 54, 0.03) 82%);
  }

  .cw-city-page-shell .cw-city-hero__copy {
    max-width: 70%;
    padding: 28px 18px;
  }

  .cw-city-page-shell .cw-city-hero__copy h2 {
    margin-bottom: 12px;
    font-size: 28px;
  }

  .cw-city-page-shell .cw-city-hero__copy p {
    font-size: 15px;
  }

  .cw-city-page-shell .cw-city-actions {
    margin: 12px 0 16px;
  }

  .cw-city-page-shell .cw-city-action {
    flex: 1 1 100%;
  }
}

/* Strong final reset against legacy informer rules. */
html body #dcontent.homehit .cw-city-products .cw-home-card__media,
html body #dcontent.homehit .cw-city-products .cw-home-card__title,
html body #dcontent.homehit .cw-city-products .cw-home-card__options-wrap,
html body #dcontent.homehit .cw-city-products .cw-home-card__rating,
html body #dcontent.homehit .cw-city-products .cw-home-card__info,
html body #dcontent.homehit .cw-city-products .cw-home-card__delivery,
html body #dcontent.homehit .cw-city-products .cw-home-card__price,
html body #dcontent.homehit .cw-city-products .cw-home-card__action {
  box-sizing: border-box !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__media {
  height: 260px !important;
  padding: 0 !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__title {
  display: block !important;
  width: auto !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 8px 8px 0 !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__options-wrap {
  display: block !important;
  width: auto !important;
  height: 25px !important;
  min-height: 25px !important;
  margin: 0 !important;
  padding: 2px 8px 4px !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__rating {
  height: 26px !important;
  min-height: 26px !important;
  padding: 3px 8px !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__info {
  height: 30px !important;
  min-height: 30px !important;
  padding: 2px 4px 4px !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__delivery {
  margin: 0 0 6px !important;
  padding: 3px 8px !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__price {
  min-height: 50px !important;
  margin: 0 !important;
  padding: 4px 4px 10px 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__price .newpricesq {
  display: grid !important;
  position: static !important;
  grid-template-columns: auto auto !important;
  grid-template-areas: "old old" "current vat" !important;
  align-items: end !important;
  justify-content: start !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__old-price {
  position: static !important;
  grid-area: old !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__current-price,
html body #dcontent.homehit .cw-city-products .cw-home-card__vat {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__current-price {
  font-size: 18px !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__action {
  display: grid !important;
  align-self: end !important;
  justify-self: stretch !important;
  width: auto !important;
  min-width: 74px !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__action .vidtovby {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border-radius: 10px !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__action .zakazcl,
html body #dcontent.homehit .cw-city-products .cw-home-card__action .vidtovbasket {
  display: none !important;
}

/* City TOP block v11: same regular catalog cards as the homepage, six per wide row. */
html body #dcontent.homehit .cw-city-products {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

html body #dcontent.homehit .cw-city-products > .cw-city-service-item {
  grid-column: auto !important;
}

html body #dcontent.homehit .cw-city-products > .cw-home-grid__item .cw-home-card,
html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card {
  grid-template-columns: minmax(0, 1fr) 80px !important;
  grid-template-rows: 260px 50px 25px 26px 30px 24px 50px !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 15px !important;
}

html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__media {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  width: auto !important;
  height: 260px !important;
  margin: 0 !important;
}

html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__title {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 8px 8px 0 !important;
  font-size: 14px !important;
  text-align: center !important;
}

html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__title > strong,
html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__title a.souths {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__options-wrap {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  height: 25px !important;
  min-height: 25px !important;
  padding: 2px 8px 4px !important;
  text-align: center !important;
}

html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__rating {
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;
  height: 26px !important;
  padding: 3px 8px !important;
  justify-content: center !important;
}

html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__info {
  grid-column: 1 / -1 !important;
  grid-row: 5 !important;
  height: 30px !important;
  padding: 2px 4px 4px !important;
  justify-content: center !important;
}

html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__delivery,
html body #dcontent.homehit .cw-city-products .cw-home-card__delivery:empty {
  display: none !important;
}

html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__price {
  grid-column: 1 !important;
  grid-row: 7 !important;
  align-self: end !important;
  width: auto !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 4px 4px 10px 0 !important;
}

html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__price .newpricesq {
  justify-content: start !important;
}

html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__action {
  grid-column: 2 !important;
  grid-row: 7 !important;
  align-self: end !important;
  width: auto !important;
  min-width: 80px !important;
  margin: 0 !important;
}

/* Match the homepage media behavior and keep mobile titles fully visible. */
html body #dcontent.homehit .cw-city-products .cw-home-card__image-link {
  position: relative !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__image-link::after {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 1600px) {
  html body #dcontent.homehit .cw-city-products {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1250px) {
  html body #dcontent.homehit .cw-city-products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1100px) {
  html body #dcontent.homehit .cw-city-products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  html body #dcontent.homehit .cw-city-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  html body #dcontent.homehit .cw-city-products {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body #dcontent.homehit .cw-city-products > .cw-home-grid__item .cw-home-card,
  html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card {
    grid-template-columns: minmax(0, 1fr) 108px !important;
    grid-template-rows: 260px auto 25px 26px 30px 24px 50px !important;
  }

  html body #dcontent.homehit .cw-city-products .cw-home-card__title {
    height: auto !important;
    min-height: 50px !important;
    overflow: visible !important;
  }

  html body #dcontent.homehit .cw-city-products .cw-home-card__title > strong,
  html body #dcontent.homehit .cw-city-products .cw-home-card__title a,
  html body #dcontent.homehit .cw-city-products .cw-home-card__title a.souths {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    -webkit-line-clamp: unset !important;
  }
}

/* Final cascade guard for tablet and desktop titles. */
html body #dcontent.homehit .cw-city-products > .cw-home-grid__item .cw-home-card,
html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card {
  grid-template-rows: 260px minmax(50px, auto) 25px 26px 30px 24px 50px !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__title {
  height: auto !important;
  min-height: 50px !important;
  overflow: visible !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__title > strong,
html body #dcontent.homehit .cw-city-products .cw-home-card__title a,
html body #dcontent.homehit .cw-city-products .cw-home-card__title a.souths {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: unset !important;
}

html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__stock,
html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__warranty,
html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card__details,
html body #dcontent.homehit .cw-city-products > .cw-city-service-item .vidtovbasket {
  display: none !important;
}

/* Final compact mobile path to products. */
@media (max-width: 700px) {
  .cw-city-page-shell .cw-city-hero { height: 230px; min-height: 230px; }
  .cw-city-page-shell .cw-city-hero img {
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center 58% !important;
  }
  .cw-city-page-shell .cw-city-hero__copy { max-width: 72%; padding: 20px 16px; }
  .cw-city-page-shell .cw-city-hero__copy h2 { margin-bottom: 10px; font-size: 24px; }
  .cw-city-page-shell .cw-city-hero__copy p { margin: 4px 0; font-size: 13px; line-height: 1.25; }
  .cw-city-page-shell .cw-city-actions { margin: 10px 0 14px; }
  .cw-city-page-shell .cw-city-action--secondary { display: none; }

  .cw-city-page-shell #list_shops .cathom {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .cw-city-page-shell #list_shops .iconcath {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 7px !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 68px !important;
    margin: 0 !important;
    padding: 7px !important;
  }

  .cw-city-page-shell #list_shops .iconcath > a {
    display: block !important;
    width: 52px !important;
    height: 52px !important;
  }

  .cw-city-page-shell #list_shops .iconcath img {
    width: 52px !important;
    height: 52px !important;
    object-fit: contain !important;
  }

  .cw-city-page-shell #list_shops .namiccah {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }

  .cw-city-page-shell #list_shops .namiccah a {
    display: block !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }
}

/* Product title alignment: exactly two lines on every city page. */
html body #dcontent.homehit .cw-city-products > .cw-home-grid__item .cw-home-card,
html body #dcontent.homehit .cw-city-products > .cw-city-service-item .cw-home-card {
  grid-template-rows: 260px 50px 25px 26px 30px 24px 50px !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__title {
  box-sizing: border-box !important;
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  overflow: hidden !important;
}

html body #dcontent.homehit .cw-city-products .cw-home-card__title > strong,
html body #dcontent.homehit .cw-city-products .cw-home-card__title a,
html body #dcontent.homehit .cw-city-products .cw-home-card__title a.souths {
  display: -webkit-box !important;
  width: 100% !important;
  height: auto !important;
  max-height: 2.7em !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}
