.ts-hero-slider-section {
  background: #ebe7e3;
  padding: 28px 0 22px;
}

.ts-hero-slider {
  --ts-shadow: 0 24px 40px rgba(42, 30, 20, 0.06);
  position: relative;
  width: min(100% - 32px, 1380px);
  margin: 0 auto;
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #111111;
  outline: none;
}

.ts-hero-slider__track,
.ts-hero-slider__track .slick-list,
.ts-hero-slider__track .slick-track {
  position: relative;
  height: var(--ts-hero-height-desktop);
}

.ts-hero-slider__track {
  background: #dcd4cd;
  box-shadow: var(--ts-shadow);
  overflow: hidden;
}

.ts-hero-slider__track .slick-list,
.ts-hero-slider__track .slick-track {
  min-height: 100%;
}

.ts-hero-slider__track:not(.slick-initialized) .ts-hero-slide {
  display: none;
}

.ts-hero-slider__track:not(.slick-initialized) .ts-hero-slide:first-child {
  display: block;
}

.ts-hero-slide {
  position: relative;
  height: var(--ts-hero-height-desktop);
}

.ts-hero-media,
.ts-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.ts-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ts-hero-media img {
  object-fit: cover;
  object-position: center center;
}

.ts-hero-slide-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.ts-hero-overlay {
  position: absolute;
  top: 50%;
  left: clamp(2rem, 5vw, 5rem);
  z-index: 2;
  transform: translateY(-50%);
  width: min(430px, calc(100% - 9rem));
  padding: 2.2rem 2.35rem 2rem;
  background: rgba(255, 255, 255, var(--ts-overlay-opacity, 0.88));
  box-shadow: 0 18px 28px rgba(34, 28, 23, 0.08);
  color: var(--ts-slide-text-color, #111111);
}

.ts-hero-slide--linked .ts-hero-overlay {
  pointer-events: none;
}

.ts-hero-slide--linked .ts-hero-btn {
  pointer-events: auto;
}

.ts-hero-overlay--plain {
  background: transparent;
  box-shadow: none;
}

.ts-hero-title {
  margin: 0;
  font-size: clamp(2.15rem, 2vw, 2.85rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.ts-hero-desc {
  margin-top: 0.45rem;
  font-size: clamp(1rem, 1vw, 1.12rem);
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.65);
}

.ts-hero-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 0.95rem;
}

.ts-hero-price {
  font-size: clamp(2rem, 2vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  color: #d81b07;
  letter-spacing: -0.04em;
}

.ts-hero-old-price {
  font-size: clamp(1rem, 1vw, 1.18rem);
  line-height: 1.2;
  color: rgba(17, 17, 17, 0.55);
  text-decoration: line-through;
}

.ts-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  margin-top: 1.35rem;
  padding: 0.95rem 1.65rem;
  border-radius: 999px;
  background: #050505;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ts-hero-btn:hover,
.ts-hero-btn:focus {
  background: #1f1f1f;
  color: #ffffff !important;
  text-decoration: none;
  transform: translateY(-1px);
}

.ts-hero-btn:focus-visible,
.ts-hero-slider:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.25);
  outline-offset: 4px;
}

.ts-hero-arrow:focus,
.ts-hero-arrow:focus-visible {
  outline: none;
  box-shadow: none;
}

.ts-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 58px;
  height: 58px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ts-hero-arrow img {
  display: block;
  width: 58px;
  height: 58px;
}

.ts-hero-arrow:hover,
.ts-hero-arrow:focus {
  transform: translateY(-50%) scale(1.04);
}

.ts-hero-arrow--prev {
  left: 14px;
}

.ts-hero-arrow--next {
  right: 14px;
}

@media (max-width: 1199px) {
  .ts-hero-overlay {
    width: min(390px, calc(100% - 7rem));
    padding: 2rem 2rem 1.85rem;
  }
}

@media (max-width: 767px) {
  .ts-hero-slider-section {
    padding: 16px 0;
  }

  .ts-hero-slider {
    width: min(100% - 16px, 420px);
  }

  .ts-hero-slider__track,
  .ts-hero-slider__track .slick-list,
  .ts-hero-slider__track .slick-track {
    height: var(--ts-hero-height-mobile);
  }

  .ts-hero-overlay {
    top: 34px;
    left: 18px;
    right: 18px;
    width: auto;
    max-width: 310px;
    margin: 0 auto;
    transform: none;
    padding: 1.2rem 1.25rem 1.35rem;
    text-align: center !important;
  }

  .ts-hero-slide {
    height: var(--ts-hero-height-mobile);
  }

  .ts-hero-title {
    font-size: clamp(2rem, 8vw, 2.7rem);
  }

  .ts-hero-desc {
    margin-top: 0.25rem;
    font-size: 1rem;
  }

  .ts-hero-price-row {
    justify-content: center;
    gap: 0.65rem;
    margin-top: 0.55rem;
  }

  .ts-hero-price {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .ts-hero-old-price {
    font-size: 1rem;
  }

  .ts-hero-btn {
    min-width: 210px;
    margin-top: 1rem;
    padding: 1rem 1.75rem;
    font-size: 0.92rem;
  }

  .ts-hero-arrow {
    top: 55%;
    bottom: auto;
    transform: none;
    width: 40px;
    height: 40px;
  }

  .ts-hero-arrow:hover,
  .ts-hero-arrow:focus {
    transform: scale(1.04);
  }

  .ts-hero-arrow--prev {
    left: 12px;
  }

  .ts-hero-arrow--next {
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ts-hero-btn,
  .ts-hero-arrow {
    transition: none;
  }
}
