.ds-home-popular {
  position: relative;

  width: 100vw !important;
  max-width: none !important;

  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;

  overflow: hidden;

  padding: 170px 20px 110px;

  background: linear-gradient(
    180deg,
    #f4ecdf 0%,
    #efe4d6 42%,
    #f8f3eb 100%
  );
}


.ds-home-popular-inner {
  position: relative;
  z-index: 1;
}

.ds-home-popular-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.ds-home-popular-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.ds-home-popular-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #758764;
}

.ds-home-popular-header h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.15;
  color: #21361f;
}

.ds-home-popular-header p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #6f675b;
}

.ds-home-popular-carousel {
  position: relative;
}

.ds-home-popular-track-wrap {
  overflow: visible;
}

.ds-home-popular-track {
  display: flex;
  gap: 34px;
  transition: transform 0.65s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.ds-home-popular-card {
  flex: 0 0 min(760px, 72vw);
  transform: scale(0.92);
  opacity: 0.48;
  transition:
    transform 0.55s ease,
    opacity 0.55s ease;
}

.ds-home-popular-card.is-active {
  transform: scale(1);
  opacity: 1;
}

.ds-home-popular-card a {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 430px;
  overflow: hidden;
  border-radius: 30px;
  text-decoration: none;
  background: linear-gradient(145deg, #fcf8f1 0%, #f5ecdf 100%);
  border: 1px solid rgba(125, 145, 104, 0.18);
  box-shadow: 0 22px 60px rgba(60, 45, 25, 0.10);
}

.ds-home-popular-image {
  min-height: 430px;
  background: #efe4d6;
}

.ds-home-popular-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ds-home-popular-content {
  padding: 46px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ds-home-popular-content span {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #758764;
}

.ds-home-popular-content h3 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  color: #21361f;
}

.ds-home-popular-content p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.7;
  color: #6f675b;
}

.ds-home-popular-content strong {
  font-size: 13px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #44613b;
}

.ds-home-popular-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);

	z-index: 70;

	width: 72px;
	height: 72px;

	border-radius: 24px;

	border: 1px solid rgba(120, 92, 58, 0.14);

	background:
		linear-gradient(
			145deg,
			rgba(255,255,255,0.82),
			rgba(248,242,233,0.96)
		);

	backdrop-filter: blur(10px);

	box-shadow:
		0 12px 30px rgba(60, 40, 20, 0.10);

	display: flex;
	align-items: center;
	justify-content: center;

	cursor: pointer;

	transition:
		transform 0.35s ease,
		box-shadow 0.35s ease;
}

.ds-home-popular-arrow:hover {
	transform: translateY(-50%) scale(1.06);

	box-shadow:
		0 18px 40px rgba(88, 63, 35, 0.18);
}

.ds-home-popular-arrow-prev {
	left: clamp(-20px, 1vw, 16px);
}

.ds-home-popular-arrow-next {
	right: clamp(-20px, 1vw, 16px);
}

.ds-home-popular-arrow svg {
	width: 30px;
	height: 30px;

	color: #5b7f5b;

	filter:
		drop-shadow(0 2px 4px rgba(47,33,23,0.22));
}

.ds-home-popular-arrow svg path {
	stroke: currentColor;
	stroke-width: 3.8;
}

@media (max-width: 900px) {
  .ds-home-popular {
    padding: 84px 16px;
  }

  .ds-home-popular-track {
    gap: 20px;
  }

  .ds-home-popular-card {
    flex-basis: 84vw;
  }

  .ds-home-popular-card a {
    grid-template-columns: 1fr;
  }

  .ds-home-popular-image {
    min-height: 250px;
  }

  .ds-home-popular-content {
    padding: 30px 26px 34px;
  }

  .ds-home-popular-arrow {
  display: flex;

  width: 52px;
  height: 52px;

  border-radius: 18px;
}

.ds-home-popular-arrow svg {
  width: 22px;
  height: 22px;
}

.ds-home-popular-arrow-prev {
  left: 8px;
}

.ds-home-popular-arrow-next {
  right: 8px;
}
}

body.ds-darkmode .ds-home-popular {
  background: #10180f;
}

body.ds-darkmode .ds-home-popular-header h2,
body.ds-darkmode .ds-home-popular-content h3 {
  color: #efe3cf;
}

body.ds-darkmode .ds-home-popular-header p,
body.ds-darkmode .ds-home-popular-content p {
  color: #d8c8ad;
}

body.ds-darkmode .ds-home-popular-card a {
  background: rgba(255,255,255,0.025);
  border-color: rgba(214, 188, 120, 0.14);
}