.home-new {
  --home-yellow: #ffcb27;
  --home-yellow-hover: #eab308;
  --home-yellow-accent: #feb331;
  --home-text: #000000;
  --home-text-muted: #374151;
  --home-bg: #ffffff;
  --home-card-bg: #f9fafb;
  --home-radius-lg: 16px;
  --home-radius-card: 12px;
  --home-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --home-shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.12);
  --home-section-gap: 60px;
  --home-banner-gap: 40px;
  color: var(--home-text);
  background: var(--home-bg);
  padding-bottom: 60px;
}

.home-new--preview {
  margin-top: 0;
}

.home-new > .home-new-section:first-child,
.home-new > section:first-child {
  margin-top: 0;
}

.home-new-section {
  margin-top: var(--home-section-gap);
}

.home-new-section--hero,
.home-new-section--banner {
  margin-top: var(--home-banner-gap);
}

.home-new-section__title,
.home-new-seo__title {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--home-text);
  text-align: left;
}

.home-new-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--home-yellow);
  color: var(--home-text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.home-new-btn:hover {
  background: var(--home-yellow-hover);
  color: var(--home-text);
  text-decoration: none;
}

.home-new-section--hero .maxwidth-theme {
  padding-left: 20px;
  padding-right: 20px;
}

.home-new-hero__main {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.home-new-hero__main .swiper-slide {
  aspect-ratio: 1400 / 600;
}

.home-new-hero__slide-link,
.home-new-hero__image,
.home-new-hero__main picture,
.home-new-hero__html {
  display: block;
  width: 100%;
  height: 100%;
}

.home-new-hero__html {
  overflow: hidden;
}

.home-new-hero__html > :not(style):not(script) {
  display: block;
  width: 100%;
  height: 100%;
}

.home-new-hero__image {
  object-fit: cover;
}

.home-new-hero__pagination {
  bottom: 16px !important;
}

.home-new-hero__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  opacity: 1;
  background: rgba(255, 255, 255, 0.6);
}

.home-new-hero__pagination .swiper-pagination-bullet-active {
  background: var(--home-yellow);
}

.home-new-hero__thumbs-wrap {
  margin-top: 24px;
  padding: 0 4px;
}

.home-new-hero__thumbs {
  overflow: hidden;
}

.home-new-hero__thumbs .swiper-slide {
  width: calc((100% - 48px) / 4);
  cursor: pointer;
  height: auto;
}

.home-new-hero__thumb-item {
  display: block;
  width: 100%;
  aspect-ratio: 1400 / 600;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-new-hero__thumbs .swiper-slide-thumb-active .home-new-hero__thumb-item {
  border-color: var(--home-yellow);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.home-new-hero__thumb-item picture,
.home-new-hero__thumb-image {
  display: block;
  width: 100%;
  height: 100%;
}

.home-new-hero__thumb-image {
  object-fit: cover;
}

.home-new-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
  justify-items: center;
}

.home-new-categories__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 200px;
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.home-new-categories__card:hover {
  transform: scale(1.02);
  box-shadow: none;
  text-decoration: none;
}

.home-new-categories__image {
  display: block;
  width: 200px;
  height: 200px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--home-radius-lg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home-new-categories__name {
  padding: 0;
  color: var(--home-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.home-new-static-banner {
  display: block;
  overflow: hidden;
  border-radius: var(--home-radius-lg);
  box-shadow: var(--home-shadow);
  text-decoration: none;
}

.home-new-static-banner__image {
  display: block;
  width: 100%;
  max-height: 300px;
  aspect-ratio: 14 / 3;
  object-fit: cover;
}

.home-new-static-banner__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: linear-gradient(135deg, var(--home-yellow) 0%, var(--home-yellow-accent) 100%);
  color: var(--home-text);
  font-size: 28px;
  font-weight: 700;
}

.home-new-products__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.home-new-products__slider-wrap,
.home-new-reviews__slider-wrap {
  position: relative;
}

.home-new-products__slider,
.home-new-reviews__slider {
  overflow: hidden;
}

.home-new-products__slider.catalog_page {
  width: 100%;
  overflow: visible;
}

.home-new-products__slider .swiper-slide {
  height: auto;
}

.home-new-products__slider .item_block {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.home-new-products .catalog_item.main_item_wrapper,
.home-new-products .catalog_item.item_wrap {
  height: 100%;
  border-radius: var(--home-radius-card) !important;
  box-shadow: var(--home-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding:16px;
}

.home-new-products .catalog_item.main_item_wrapper:hover,
.home-new-products .catalog_item.item_wrap:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-shadow-hover);
}

.home-new-products .footer_button .button_block {
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .home-new-products .footer_button .button_block {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .home-new-products .catalog_item.main_item_wrapper:hover .footer_button .button_block,
  .home-new-products .catalog_item.item_wrap:hover .footer_button .button_block {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-new-products .cost.prices {
  display: block !important;
}

.home-new-slider-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--home-shadow);
  cursor: pointer;
}

.home-new-slider-nav::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid var(--home-text);
  border-right: 2px solid var(--home-text);
}

.home-new-slider-nav--prev {
  left: -12px;
}

.home-new-slider-nav--prev::before {
  transform: rotate(-135deg) translateX(2px);
}

.home-new-slider-nav--next {
  right: -12px;
}

.home-new-slider-nav--next::before {
  transform: rotate(45deg) translateX(-2px);
}

.home-new-review-card {
  height: 100%;
  padding: 24px;
  border-radius: var(--home-radius-lg);
  background: #fff;
  box-shadow: var(--home-shadow);
}

.home-new-review-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--home-card-bg);
  color: var(--home-text);
  font-size: 16px;
  font-weight: 700;
}

.home-new-review-card__name {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

.home-new-review-card__rating {
  margin-bottom: 12px;
}

.home-new-review-card__star {
  color: #d1d5db;
  font-size: 16px;
}

.home-new-review-card__star.is-filled {
  color: var(--home-yellow-accent);
}

.home-new-review-card__text {
  margin: 0;
  color: var(--home-text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.home-new-seo {
  padding: 40px;
  border-radius: var(--home-radius-lg);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.home-new-seo p {
  margin: 0 0 16px;
  color: var(--home-text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.home-new-seo p:last-child {
  margin-bottom: 0;
}
.home-new.home-new--preview .maxwidth-theme {
  padding: 0 !important;
}

.home-new.home-new--preview .home-new-section--hero .maxwidth-theme {

}

.home-new.home-new--preview .home-new-section--products .swiper {
  overflow: visible !important;
}

@media (max-width: 1023px) {
  .home-new-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-new-section__title,
  .home-new-seo__title {
    font-size: 24px;
  }

  .home-new-hero__thumbs .swiper-slide {
    width: calc((100% - 28px) / 3);
  }
}

@media (max-width: 767px) {
  .home-new {
    --home-section-gap: 40px;
    --home-banner-gap: 32px;
  }
  .home-new-products__slider .sa_block{
    display: none;
  }
  .home-new-products__slider .image_wrapper_block,  .home-new-products__slider .image_wrapper_block a{
    height: 140px!important;
  }
  .home-new-products__slider .counter_wrapp{
    padding: 0!important;
  }
  .home-new-products .catalog_item.main_item_wrapper, .home-new-products .catalog_item.item_wrap{
    padding: 8px!important;
  }
  .home-new-section--hero .maxwidth-theme,
  .home-new.home-new--preview .home-new-section--hero .maxwidth-theme {

  }

  .home-new-section--hero {
    margin-top: 16px;
  }

  .home-new-hero__main {
    border-radius: 12px;
  }

  .home-new-hero__main .swiper-slide {
    aspect-ratio: 1200 / 970;
  }

  .home-new-hero__pagination .swiper-pagination-bullet-active {
    background: #000000;
  }

  .home-new-hero__thumbs-wrap {
    margin-top: 12px;
    padding: 0;
  }

  .home-new-hero__thumbs .swiper-slide {
    width: calc((100% - 24px) / 3.2);
  }

  .home-new-hero__thumb-item {
    aspect-ratio: 1200 / 970;
    border-width: 1px;
    border-radius: 12px;
  }

  .home-new-hero__thumbs .swiper-slide-thumb-active .home-new-hero__thumb-item {
    border-color: #000000;
  }

  .home-new-categories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .home-new-categories__image {
    width: 100%;
    height: auto;
  }

  .home-new-categories__name {
    font-size: 14px;
  }

  .home-new-products__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-new-slider-nav--prev {
    left: 0;
  }

  .home-new-slider-nav--next {
    right: 0;
  }

  .home-new-seo {
    padding: 24px;
  }
}
.home-new-products__slider .catalog_item_wrapp{
  height: auto!important;
}
.home-new-products__slider .btn {
  font-size: 10px;
}
