
.luxury-benefits-section {
  --benefits-bg: var(--background);
  --benefits-text: var(--foreground);

  --benefits-container-bg: transparent;
  --benefits-container-border: transparent;

  --benefits-card-bg: var(--card-background);
  --benefits-card-bg-hover: color-mix(in srgb, var(--card-background) 94%, var(--background));
  --benefits-card-border: color-mix(in srgb, var(--border) 72%, transparent);
  --benefits-card-border-hover: color-mix(in srgb, var(--primary) 40%, transparent);

  --benefits-section-title: var(--foreground);
  --benefits-section-subtitle: color-mix(in srgb, var(--foreground) 54%, transparent);

  --benefits-card-title: var(--foreground);
  --benefits-card-text: color-mix(in srgb, var(--foreground) 55%, transparent);

  --benefits-line: color-mix(in srgb, var(--foreground) 28%, transparent);
  --benefits-dot: var(--button-background);

  --benefits-icon: var(--primary);
  --benefits-icon-badge: color-mix(in srgb, var(--primary) 12%, transparent);
  --benefits-icon-badge-hover: color-mix(in srgb, var(--primary) 20%, transparent);

  --benefits-font: var(--font-family), sans-serif;

  direction: inherit;
  padding: clamp(38px, 5vw, 66px) 0;
  background: var(--benefits-bg);
  color: var(--benefits-text);
  font-family: var(--benefits-font);
  overflow: hidden;
}

.luxury-benefits-section,
.luxury-benefits-section * {
  box-sizing: border-box;
}

.luxury-benefits-section .luxury-benefits-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 16px;
  padding-block: 0;

  border: 1px solid var(--benefits-container-border);
  border-radius: 0;
  background: var(--benefits-container-bg);
}

.luxury-benefits-section .luxury-benefits-header {
  text-align: center;
}

.luxury-benefits-section .luxury-benefits-title {
  margin: 0;
  color: var(--benefits-section-title);

  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.luxury-benefits-section .luxury-benefits-subtitle {
  margin: 8px 0 0;
  color: var(--benefits-section-subtitle);

  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
}

.luxury-benefits-section .luxury-benefits-divider {
  position: relative;
  width: 188px;
  height: 20px;
  margin: 8px auto 0;
}

.luxury-benefits-section .luxury-benefits-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline: 0;
  height: 2px;
  background: var(--benefits-line);
  transform: translateY(-50%);
}

.luxury-benefits-section .luxury-benefits-divider span {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 10px;
  height: 10px;

  border-radius: 50%;
  background: var(--benefits-dot);
  box-shadow: none;

  transform: translate(-50%, -50%);
}

.luxury-benefits-section .luxury-benefits-header {
  margin-bottom: 32px;
}

.luxury-benefits-section .luxury-benefits-track {
  --benefits-gap: 0.875rem;

  display: flex;
  gap: var(--benefits-gap);

  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;

  padding-top: 10px;
  margin-top: -10px;
  padding-bottom: 4px;
}

.luxury-benefits-section .luxury-benefits-track::-webkit-scrollbar {
  display: none;
}

.luxury-benefits-section .luxury-benefits-track > .luxury-benefit-card {
  flex: 1 0 calc((100% - var(--benefits-gap)) / 1.8);
  min-width: 0;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .luxury-benefits-section .luxury-benefits-track {
    --benefits-gap: 1.25rem;
  }

  .luxury-benefits-section .luxury-benefits-track > .luxury-benefit-card {
    flex-basis: calc((100% - var(--benefits-gap) * 3) / 3.3);
  }
}

@media (min-width: 1024px) {
  .luxury-benefits-section .luxury-benefits-track {
    --benefits-gap: 1.5rem;
  }

  .luxury-benefits-section .luxury-benefits-track > .luxury-benefit-card {
    flex-basis: calc((100% - var(--benefits-gap) * 3) / 4);
  }
}

.luxury-benefits-section .luxury-benefits-track.is-dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grabbing;
}

.luxury-benefits-section .luxury-benefits-track.is-dragging .luxury-benefit-card {
  pointer-events: none;
  user-select: none;
}

.luxury-benefits-section .luxury-benefit-card {
  padding: 2rem 1.25rem;

  border: 1px solid var(--benefits-card-border);
  border-radius: var(--product-card-border-radius, 16px);
  background-color: var(--benefits-card-bg);

  text-align: center;

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxury-benefits-section .luxury-benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--benefits-card-border-hover);
  background-color: var(--benefits-card-bg-hover);
}

.luxury-benefits-section .luxury-benefit-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem auto;

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

  border-radius: 50%;
  background-color: var(--benefits-icon-badge);
  color: var(--benefits-icon);

  transition: transform 0.3s ease, background-color 0.3s ease;
}

.luxury-benefits-section .luxury-benefit-card:hover .luxury-benefit-card__icon {
  transform: scale(1.08);
  background-color: var(--benefits-icon-badge-hover);
}

.luxury-benefits-section .luxury-benefit-card__main-icon {
  display: block;
  width: 32px;
  height: 32px;

  color: var(--benefits-icon);
  stroke: var(--benefits-icon);
  fill: none;
}

.luxury-benefits-section .luxury-benefit-card__title {
  margin: 0 0 0.5rem;
  color: var(--benefits-card-title);

  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.luxury-benefits-section .luxury-benefit-card__description {
  margin: 0;
  color: var(--benefits-card-text);

  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .luxury-benefits-section {
    padding: 34px 0 44px;
  }

  .luxury-benefits-section .luxury-benefits-container {
    padding-inline: 14px;
  }

  .luxury-benefits-section .luxury-benefits-header {
    margin-bottom: 22px;
  }

  .luxury-benefits-section .luxury-benefits-title {
    font-size: 24px;
  }

  .luxury-benefits-section .luxury-benefits-divider {
    width: 155px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .luxury-benefits-section *,
  .luxury-benefits-section *::before,
  .luxury-benefits-section *::after {
    transition: none !important;
    animation: none !important;
  }

  .luxury-benefits-section .luxury-benefits-track {
    scroll-behavior: auto;
  }

  .luxury-benefits-section .luxury-benefit-card:hover,
  .luxury-benefits-section .luxury-benefit-card:hover .luxury-benefit-card__icon {
    transform: none;
  }
}
