/* =========================================================
   Homepage — layout like co32470.tmweb.ru (Porto child)
   ========================================================= */

.esm-store-home,
.esm-store-home h1,
.esm-store-home h2,
.esm-store-home h3,
.esm-store-home strong {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
}

body.esm-front-page #main > .container,
body.esm-front-page #main > .container-fluid {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.esm-front-page .main-content-wrap {
  margin-left: 0;
  margin-right: 0;
}

body.esm-front-page .main-content-wrap > .main-content,
body.esm-front-page .main-content-wrap > .content-area {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0;
}

body.esm-front-page #content,
body.esm-front-page .esm-store-home {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.esm-front-page .page-top {
  display: none !important;
}

body.esm-front-page .sidebar,
body.esm-front-page aside.sidebar {
  display: none !important;
}

.esm-store-home {
  overflow: hidden;
}

.euro-home-shell {
  width: min(1350px, calc(100% - 60px));
  margin: 0 auto;
}

.euro-home-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: linear-gradient(107deg, #f7f6f3 0%, #f9f8f6 48%, #e9e7e3 100%);
}

.euro-home-hero--with-image {
  background-color: #f4f1ec;
  background-image: var(--euro-home-hero-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.euro-home-hero::before {
  position: absolute;
  top: -100px;
  right: -190px;
  width: min(62vw, 880px);
  height: 700px;
  border-radius: 45% 0 0 48%;
  background: radial-gradient(circle at 35% 52%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 56%);
  content: "";
}

.euro-home-hero--with-image::before {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(
    90deg,
    rgba(249, 248, 245, 0.99) 0%,
    rgba(249, 248, 245, 0.95) 35%,
    rgba(249, 248, 245, 0.45) 53%,
    rgba(249, 248, 245, 0.02) 79%
  );
}

.euro-home-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  min-height: 520px;
  gap: 40px;
}

.euro-home-hero--with-image .euro-home-hero__grid {
  display: block;
  min-height: 520px;
}

.euro-home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 55px 0 48px;
}

.euro-home-hero--with-image .euro-home-hero__content {
  min-height: 520px;
}

.euro-home-eyebrow {
  margin: 0 0 13px;
  color: var(--esm-accent, #c45c26);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.euro-home-hero h1,
.euro-home-section-heading h2 {
  margin: 0;
  color: #111;
  font-size: clamp(38px, 4.15vw, 67px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.euro-home-hero--with-image h1 {
  max-width: 600px;
  font-size: clamp(43px, 4.25vw, 68px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.euro-home-hero__lead {
  max-width: 510px;
  margin: 25px 0 28px;
  color: #4e4e4e;
  font-size: 18px;
  line-height: 1.55;
}

.euro-home-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 16px 21px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.euro-home-primary-action:hover {
  transform: translateY(-2px);
  background: var(--esm-accent, #c45c26);
  color: #fff;
}

.euro-home-primary-action span {
  font-size: 22px;
  font-weight: 400;
  line-height: 0.7;
}

.euro-home-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 43px 0 0;
  padding: 0;
  list-style: none;
}

.euro-home-benefits li {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 7px;
  align-items: center;
  color: #202020;
  font-size: 13px;
  line-height: 1.25;
}

.euro-home-benefits li > .euro-home-benefit-icon {
  display: grid;
  grid-row: span 2;
  width: 24px;
  height: 24px;
  place-items: center;
}

.euro-home-benefit-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.euro-home-benefits strong {
  font-size: 13px;
}

.euro-home-benefits small {
  margin-top: 3px;
  color: #777;
  font-size: 11px;
}

.euro-home-directions,
.euro-home-showcase {
  padding: 72px 0;
}

.euro-home-directions {
  background: #fff;
}

.euro-home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

.euro-home-section-heading h2 {
  font-size: clamp(30px, 3.2vw, 46px);
}

.euro-home-section-heading--compact {
  align-items: center;
  margin-bottom: 24px;
}

.euro-home-section-heading--compact > a {
  color: #111;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.euro-home-section-heading--compact > a:hover {
  color: var(--esm-accent, #c45c26);
}

.euro-home-directions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.euro-home-direction {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  border-radius: 15px;
  background: #282828;
  color: #fff;
  isolation: isolate;
  text-decoration: none;
}

.euro-home-direction__image,
.euro-home-direction__shade {
  position: absolute;
  inset: 0;
}

.euro-home-direction__image {
  z-index: -2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.45s ease;
}

.euro-home-direction__shade {
  z-index: -1;
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.1) 100%);
}

.euro-home-direction--moto .euro-home-direction__shade {
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.5) 52%, rgba(0, 0, 0, 0.15) 100%);
}

.euro-home-direction:hover {
  color: #fff;
}

.euro-home-direction:hover .euro-home-direction__image {
  transform: scale(1.055);
}

.euro-home-direction__content {
  display: flex;
  position: relative;
  min-height: 280px;
  padding: 29px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.euro-home-direction__title {
  font-size: clamp(26px, 2.3vw, 35px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.euro-home-direction__description {
  max-width: 250px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.euro-home-direction__arrow {
  display: grid;
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  place-items: center;
  font-size: 24px;
  font-weight: 400;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.euro-home-direction:hover .euro-home-direction__arrow {
  background: var(--esm-accent, #c45c26);
  color: #fff;
}

.euro-home-delivery {
  overflow: hidden;
  padding: 0;
  background: #151515;
  color: #f6f4ef;
}

.euro-home-delivery__grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(270px, 0.86fr) minmax(290px, 0.92fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: center;
  min-height: 560px;
  padding-top: 70px;
  padding-bottom: 65px;
}

.euro-home-delivery .euro-home-eyebrow {
  color: var(--esm-accent, #c45c26);
}

.euro-home-delivery__intro h2 {
  max-width: 560px;
  margin: 16px 0 24px;
  color: #fff;
  font-size: clamp(38px, 4.1vw, 64px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.euro-home-delivery__intro > p:not(.euro-home-eyebrow) {
  max-width: 420px;
  margin: 0;
  color: #bdc9cc;
  font-size: 17px;
  line-height: 1.55;
}

.euro-home-delivery__action {
  display: inline-flex;
  gap: 26px;
  align-items: center;
  margin-top: 32px;
  padding: 15px 21px;
  background: var(--esm-accent, #c45c26);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.euro-home-delivery__action:hover {
  background: #fff;
  color: #151515;
  transform: translateY(-2px);
}

.euro-home-delivery__action span {
  font-size: 21px;
  line-height: 0.8;
}

.euro-home-delivery__route {
  position: relative;
  align-self: stretch;
  min-height: 285px;
}

.euro-home-delivery__route::before {
  position: absolute;
  inset: 13% 3% 8%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.euro-home-delivery__route svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 285px;
  overflow: visible;
}

.euro-home-delivery__route-line {
  stroke: rgba(255, 255, 255, 0.62);
  stroke-dasharray: 5 8;
  stroke-linecap: round;
  stroke-width: 2;
}

.euro-home-delivery__route-line--short {
  stroke: rgba(196, 92, 38, 0.86);
}

.euro-home-delivery__route circle {
  fill: var(--esm-accent, #c45c26);
  stroke: #151515;
  stroke-width: 5;
}

.euro-home-delivery__route-card rect {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.14);
}

.euro-home-delivery__route-card text {
  fill: #f6f4ef;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.euro-home-delivery__parcel rect {
  fill: var(--esm-accent, #c45c26);
}

.euro-home-delivery__parcel path {
  stroke: #151515;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.euro-home-delivery__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.euro-home-delivery__steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 23px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.euro-home-delivery__steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.euro-home-delivery__steps > li > span {
  padding-top: 4px;
  color: var(--esm-accent, #c45c26);
  font-size: 12px;
  font-weight: 800;
}

.euro-home-delivery__steps strong {
  display: block;
  color: #fff;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.1;
}

.euro-home-delivery__steps p {
  margin: 7px 0 0;
  color: #bdc9cc;
  font-size: 14px;
  line-height: 1.45;
}

.euro-home-delivery__care {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.euro-home-delivery__care > div {
  display: grid;
  min-height: 92px;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 4px;
  padding: 17px 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.euro-home-delivery__care > div:first-child {
  padding-left: 0;
}

.euro-home-delivery__care > div:last-child {
  border-right: 0;
}

.euro-home-delivery__care strong {
  color: #fff;
  font-size: 14px;
}

.euro-home-delivery__care span {
  color: #a7b8bc;
  font-size: 13px;
}

.euro-home-showcase {
  background: #f7f7f6;
}

.euro-home-products {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.euro-home-products::-webkit-scrollbar {
  display: none;
}

.euro-home-product {
  flex: 0 0 calc((100% - 48px) / 5);
  overflow: hidden;
  border: 1px solid #e7e7e5;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.euro-home-product:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 92, 38, 0.45);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.euro-home-product__image {
  display: grid;
  height: 186px;
  padding: 12px;
  background: #fafafa;
  place-items: center;
}

.euro-home-product__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.euro-home-product__image span {
  color: #999;
  font-size: 12px;
  text-align: center;
}

.euro-home-product__body {
  display: grid;
  gap: 8px;
  padding: 15px;
}

.euro-home-product__name {
  display: -webkit-box;
  min-height: 39px;
  overflow: hidden;
  color: #171717;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.euro-home-product__name:hover {
  color: var(--esm-accent, #c45c26);
}

.euro-home-product__price {
  color: #111;
  font-size: 17px;
  font-weight: 800;
}

.euro-home-product__price del {
  margin-right: 5px;
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 500;
}

.euro-home-product__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  margin-top: 4px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: #2563eb;
  color: #fff !important;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease;
}

.euro-home-product__cart:hover {
  background: #1d4ed8;
  color: #fff !important;
}

.euro-home-product__status {
  color: #39824c;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .euro-home-product {
    flex-basis: calc((100% - 24px) / 3);
  }

  .euro-home-delivery__grid {
    grid-template-columns: minmax(270px, 0.9fr) minmax(280px, 1fr);
  }

  .euro-home-delivery__route {
    display: none;
  }
}

@media (max-width: 991px) {
  .euro-home-hero {
    min-height: auto;
  }

  .euro-home-hero__grid {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: 10px;
  }

  .euro-home-hero__content {
    padding: 65px 0 55px;
  }

  .euro-home-hero--with-image .euro-home-hero__content,
  .euro-home-hero--with-image .euro-home-hero__grid {
    min-height: 450px;
  }

  .euro-home-benefits {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin-top: 30px;
  }

  .euro-home-directions,
  .euro-home-showcase {
    padding: 54px 0;
  }

  .euro-home-directions__grid {
    grid-template-columns: 1fr;
  }

  .euro-home-direction,
  .euro-home-direction__content {
    min-height: 235px;
  }

  .euro-home-delivery__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding-top: 54px;
    padding-bottom: 38px;
  }

  .euro-home-delivery__intro h2 {
    max-width: 640px;
  }

  .euro-home-delivery__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .euro-home-delivery__steps li,
  .euro-home-delivery__steps li:last-child {
    min-height: 164px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 18px;
  }

  .euro-home-delivery__steps strong {
    font-size: 22px;
  }
}

@media (max-width: 680px) {
  .euro-home-shell {
    width: calc(100% - 32px);
  }

  .euro-home-hero__grid {
    display: block;
    padding: 0 0 22px;
  }

  .euro-home-hero__content {
    padding: 47px 0 20px;
  }

  .euro-home-hero--with-image {
    background-position: 66% center;
  }

  .euro-home-hero--with-image::before {
    background: linear-gradient(
      90deg,
      rgba(249, 248, 245, 0.98) 0%,
      rgba(249, 248, 245, 0.93) 58%,
      rgba(249, 248, 245, 0.38) 100%
    );
  }

  .euro-home-hero--with-image .euro-home-hero__content,
  .euro-home-hero--with-image .euro-home-hero__grid {
    min-height: 468px;
  }

  .euro-home-hero.euro-home-hero--with-image h1 {
    font-size: clamp(38px, 10.2vw, 51px);
  }

  .euro-home-hero h1 {
    font-size: clamp(38px, 11vw, 53px);
  }

  .euro-home-hero__lead {
    margin: 19px 0 23px;
    font-size: 16px;
  }

  .euro-home-section-heading {
    display: block;
    margin-bottom: 22px;
  }

  .euro-home-section-heading--compact {
    display: flex;
    align-items: end;
  }

  .euro-home-products {
    gap: 9px;
  }

  .euro-home-product {
    flex-basis: calc((100% - 9px) / 2);
  }

  .euro-home-product__image {
    height: 150px;
    padding: 8px;
  }

  .euro-home-product__body {
    padding: 12px;
  }

  .euro-home-delivery__grid {
    padding-top: 45px;
    padding-bottom: 30px;
  }

  .euro-home-delivery__intro > p:not(.euro-home-eyebrow) {
    font-size: 16px;
  }

  .euro-home-delivery__steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .euro-home-delivery__steps li,
  .euro-home-delivery__steps li:last-child {
    min-height: 0;
    padding: 17px;
  }

  .euro-home-delivery__care {
    grid-template-columns: 1fr;
    padding-bottom: 10px;
  }

  .euro-home-delivery__care > div,
  .euro-home-delivery__care > div:first-child {
    min-height: 0;
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 374px) {
  .euro-home-product {
    flex-basis: 100%;
  }
}
