.lp-listing-layouts-carousel {
  --lp-llc-card-width: 400px;
  --lp-llc-gap: 30px;
  --lp-llc-image-height: 240px;
  --lp-llc-inactive-opacity: 0.48;
  --lp-llc-inactive-scale: 1;
  --lp-llc-active-block-width: 1260px;
  --lp-llc-arrow-edge-offset: 20px;
  --lp-llc-active-arrow-inset: 50px;
  position: relative;
  width: 100%;
  color: #111111;
}

.lp-llc-card-description p {
  margin: 0;
}

.lp-llc-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 22px 0 4px;
}

.lp-llc-track {
  display: flex;
  align-items: flex-start;
  gap: var(--lp-llc-gap);
  width: max-content;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  will-change: transform;
}

.lp-listing-layouts-carousel[data-enable-drag="no"] .lp-llc-track {
  cursor: default;
}

.lp-llc-track.is-dragging {
  cursor: grabbing;
}

.lp-llc-slide {
  flex: 0 0 var(--lp-llc-card-width);
  width: var(--lp-llc-card-width);
  min-width: 0;
  opacity: var(--lp-llc-inactive-opacity);
  box-sizing: border-box;
  transform: scale(var(--lp-llc-inactive-scale));
  transform-origin: center center;
  transition: opacity 300ms ease, transform 300ms ease;
}

.lp-llc-slide.is-visible {
  opacity: 1;
  transform: scale(1);
}

.lp-llc-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 250ms ease;
}

a.lp-llc-card-link:hover,
a.lp-llc-card-link:focus,
a.lp-llc-card-link:active {
  color: inherit;
  transform: translateY(-5px);
  transition: transform 250ms ease;
}

.lp-llc-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: var(--lp-llc-image-height);
  overflow: hidden;
  border-radius: 6px;
  background: #f5f5f5;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.10);
}

.lp-llc-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  pointer-events: none;
}

.lp-llc-card-content {
  padding: 0 20px;
  margin-top: 25px;
}

.lp-listing-layouts-carousel[data-caption-style="label"] .lp-llc-card-content {
  position: relative;
  z-index: 1;
  margin-top: -10px;
  padding: 20px 20px 10px;
  border: 1px solid #f0f0f0;
  border-radius: 0 0 8px 8px;
  background: #f5f5f5;
}

.lp-listing-layouts-carousel[data-caption-style="label"] .lp-llc-card-title {
  margin: 0;
  color: #6e6e6e;
  font-size: 14px;
  font-weight: 500;
}

.lp-llc-card-title {
  margin: 0;
  color: #222222;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.lp-llc-card-description {
  margin-top: 12px;
  color: #777777;
  font-size: 16px;
  line-height: 1.5;
}

.lp-llc-preview {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  color: #222222;
  font-size: 15px;
  line-height: 1.4;
}

.lp-llc-preview svg {
  width: 14px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

a.lp-llc-card-link:hover .lp-llc-preview svg {
  transform: translateX(3px);
}

.lp-llc-arrow {
  position: absolute;
  top: calc(22px + (var(--lp-llc-image-height) / 2));
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 5px;
  background: #000000;
  color: #ffffff;
  box-shadow: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 0;
  transform: translateY(-50%);
  transition: background-color 180ms ease;
}

.lp-llc-arrow:hover,
.lp-llc-arrow:focus-visible {
  background-color: #f91942;
  color: #ffffff !important;
  transform: translateY(-50%);
}

.lp-llc-arrow:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.lp-llc-arrow svg {
  position: static;
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: none;
}

.lp-llc-arrow-prev {
  left: var(--lp-llc-arrow-edge-offset);
}

.lp-llc-arrow-next {
  right: var(--lp-llc-arrow-edge-offset);
}

.lp-listing-layouts-carousel[data-arrow-position="active"] .lp-llc-arrow-prev {
  left: calc((100% - var(--lp-llc-active-block-width)) / 2 + var(--lp-llc-active-arrow-inset));
}

.lp-listing-layouts-carousel[data-arrow-position="active"] .lp-llc-arrow-next {
  right: calc((100% - var(--lp-llc-active-block-width)) / 2 + var(--lp-llc-active-arrow-inset));
}

.lp-llc-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 12px;
  padding-top: 35px;
}

.lp-llc-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #d9d9d9;
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease;
}

.lp-llc-dot:hover,
.lp-llc-dot:focus-visible {
  background-color: #aaaaaa;
  transform: scale(1.1);
}

.lp-llc-dot.is-active {
  background-color: #111111;
}

@media (max-width: 767px) {
  .lp-listing-layouts-carousel {
    --lp-llc-card-width: min(320px, calc(100vw - 64px));
  }

  .lp-llc-card-content {
    padding-right: 10px;
    padding-left: 10px;
  }

  .lp-listing-layouts-carousel[data-caption-style="label"] .lp-llc-card-content {
    padding: 20px 20px 10px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .lp-llc-track,
  .lp-llc-slide,
  .lp-llc-card-link,
  .lp-llc-preview svg,
  .lp-llc-arrow,
  .lp-llc-dot {
    transition-duration: 0.01ms !important;
  }
}
