theme-bundle-product-row-root {
  display: block;
}

.bundle-product-row-section {
  --section-mobile-padding: 20px;
  --card-group-padding: 20px;
  --card-group-gap: 10px;

  scroll-margin-top: clamp(56px, 12vw, 100px);
  background-color: rgb(var(--color-background));
}

.bundle-product-row-section .page-width {
  overflow: hidden;
}

theme-bundle-product-row-slider {
  display: contents;
}

.bundle-product-row--full-width {
  width: 100%;
}

.bundle-product-row__heading {
  width: 100%;
  margin-block-end: 8px;
}

@media (max-width: 959px) {
  .bundle-product-row__scroll--mobile {
    position: relative;
    inset-inline-start: calc(var(--card-group-padding) * -1);
    width: calc(100% + var(--card-group-padding) * 2);
    margin-inline-end: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--card-group-padding);
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
}

@media (min-width: 960px) {
  .bundle-product-row__scroll--mobile {
    inset-inline-start: auto;
    width: auto;
    margin: 0 auto;
    overflow: visible;
  }
}

.bundle-product-row__grid {
  display: grid;
  grid-auto-columns: calc(
    100vw - (var(--section-mobile-padding) * 2 + var(--card-group-gap) + 24px)
  );
  grid-auto-flow: column;
  gap: var(--card-group-gap);
}

@media (max-width: 959px) {
  .bundle-product-row__grid {
    width: max-content;
    margin: 0 var(--card-group-padding);
  }
}

@media (min-width: 960px) {
  .bundle-product-row__grid {
    grid-template-columns: repeat(var(--desktop-columns, 3), 1fr);
    grid-auto-columns: auto;
    grid-auto-flow: row dense;
    gap: 20px;
    padding: 0;
    transform: none;
    width: 100%;
  }
}

@media (max-width: 959px) {
  .bundle-product-row__scroll:not(.bundle-product-row__scroll--mobile) .bundle-product-row__grid {
    display: flex;
    flex-wrap: wrap;
    width: auto;
  }
}

.bundle-product-row__controls {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-block-start: 12px;
}

.bundle-product-row__controls-prev,
.bundle-product-row__controls-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.bundle-product-row__controls-prev > svg,
.bundle-product-row__controls-next > svg {
  width: 10px;
  height: 10px;
}

.bundle-product-row__controls-prev > svg {
  transform: rotate(180deg);
}

.bundle-product-row__card {
  scroll-snap-align: center;
  text-align: start;
}

.bundle-product-row__card[data-bundle-card] {
  scroll-margin-top: clamp(56px, 12vw, 100px);
}

.bundle-product-row__card-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

.bundle-product-row__card--surface {
  padding: 16px 16px 20px;
  background: rgb(var(--color-background));
  border: 1px solid rgb(var(--color-entry-line) / 0.35);
  border-radius: var(--card-radius, 12px);
  box-shadow: 0 4px 24px rgb(0 0 0 / 8%);
}

.bundle-product-row__card--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 24px;
  border: 1px dashed rgb(var(--color-entry-line) / 0.6);
  border-radius: 12px;
}

.bundle-product-row__media-link,
.bundle-product-row__media-wrap {
  display: block;
  color: inherit;
  text-decoration: none;
}

.bundle-product-row__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: rgb(var(--color-entry-line) / 0.08);
  border-radius: 0;
}

.bundle-product-row__media--round {
  border-radius: 12px;
}

.bundle-product-row__media-img,
.bundle-product-row__media .empty-image-class {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.bundle-product-row__media--ratio-natural .bundle-product-row__media-img,
.bundle-product-row__media--ratio-natural .bundle-product-row__media .empty-image-class {
  height: auto;
}

.bundle-product-row__media--ratio-1-1 {
  aspect-ratio: 1 / 1;
}

.bundle-product-row__media--ratio-4-5 {
  aspect-ratio: 4 / 5;
}

.bundle-product-row__media--ratio-16-9 {
  aspect-ratio: 16 / 9;
}

.bundle-product-row__media--ratio-1-1 .bundle-product-row__media-img,
.bundle-product-row__media--ratio-1-1 .bundle-product-row__media .empty-image-class,
.bundle-product-row__media--ratio-1-1 .bundle-product-row__media-placeholder,
.bundle-product-row__media--ratio-4-5 .bundle-product-row__media-img,
.bundle-product-row__media--ratio-4-5 .bundle-product-row__media .empty-image-class,
.bundle-product-row__media--ratio-4-5 .bundle-product-row__media-placeholder,
.bundle-product-row__media--ratio-16-9 .bundle-product-row__media-img,
.bundle-product-row__media--ratio-16-9 .bundle-product-row__media .empty-image-class,
.bundle-product-row__media--ratio-16-9 .bundle-product-row__media-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bundle-product-row__media-link--zoom .bundle-product-row__media-img,
.bundle-product-row__media-wrap--zoom .bundle-product-row__media-img {
  transition: transform 0.35s ease;
}

.bundle-product-row__media-link--zoom:hover .bundle-product-row__media-img,
.bundle-product-row__media-wrap--zoom:hover .bundle-product-row__media-img {
  transform: scale(1.05);
}

.bundle-product-row__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}

.bundle-product-row__badge--best_value {
  background: #1a56db;
}

.bundle-product-row__badge--sale {
  background: #c62828;
}

.bundle-product-row__badge--neutral {
  background: #293b2b;
}

.bundle-product-row__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.bundle-product-row__body--align-center {
  align-items: center;
  text-align: center;
}

.bundle-product-row__body--align-center .bundle-product-row__pricing {
  align-items: center;
}

.bundle-product-row__body--align-center .bundle-product-row__price-wrap {
  width: 100%;
  text-align: center;
}

.bundle-product-row__body--align-center .bundle-product-row__point {
  justify-content: center;
}

.bundle-product-row__body--align-center .bundle-product-row__cta--full {
  align-self: stretch;
}

.bundle-product-row__title-link {
  display: block;
  width: 100%;
  color: var(--card-title-color, inherit);
  text-decoration: none;
}

.bundle-product-row__title-link:hover {
  text-decoration: underline;
}

.bundle-product-row__subtitle {
  width: 100%;
  margin: 0;
  color: var(--card-subtitle-color, rgb(var(--color-foreground) / 0.65));
}

.bundle-product-row__subtitle p {
  margin: 0;
}

.bundle-product-row__subtitle p + p {
  margin-block-start: 0.5em;
}

.bundle-product-row__pricing {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  width: 100%;
}

.bundle-product-row__price-wrap .product-price__sale {
  font-weight: 700;
  color: rgb(var(--color-button-text-link));
}

.bundle-product-row__value-line {
  margin: 0;
  color: var(--card-value-color, rgb(var(--color-foreground) / 0.55));
}

.bundle-product-row__points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bundle-product-row__points:empty {
  display: none;
}

.bundle-product-row__point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-block-end: 6px;
}

.bundle-product-row__point:last-child {
  margin-block-end: 0;
}

.bundle-product-row__point-icon--check {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-block-start: 2px;
  background: rgb(var(--color-button-background));
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(var(--color-button-background) / 0.25);
}

.bundle-product-row__point-icon--check::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  width: 4px;
  height: 8px;
  margin: 0;
  border: solid rgb(var(--color-button-text));
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
  box-sizing: border-box;
}

.bundle-product-row__point-icon--img {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.bundle-product-row__point-icon--img img,
.bundle-product-row__point-icon--img picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bundle-product-row__point-text {
  flex: 1;
  line-height: 1.45;
  color: var(--card-point-color, inherit);
}

.bundle-product-row__cta--custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: var(--cta-min-h, 44px);
  padding: var(--cta-py, 10px) var(--cta-px, 20px);
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.02em;
  text-transform: none;
  background-color: var(--cta-bg, #fff);
  color: var(--cta-color, rgb(var(--color-text)));
  border: var(--cta-border-w, 1px) solid var(--cta-border, rgb(var(--color-text)));
  border-radius: var(--cta-radius, 24px);
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    filter 0.2s ease,
    transform 0.15s ease;
}

.bundle-product-row__cta--custom:hover {
  opacity: 0.92;
}

.bundle-product-row__cta--custom:focus-visible {
  outline: 2px solid var(--cta-color, rgb(var(--color-text)));
  outline-offset: 2px;
}

.bundle-product-row__cta--full {
  width: 100%;
}

.bundle-product-row__cta--custom .bundle-product-row__btn-icon svg {
  color: currentColor;
}

.bundle-product-row__cta-label {
  display: inline-block;
}

.bundle-product-row__btn-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.bundle-product-row__btn-icon svg {
  width: 0.75em;
  height: 0.75em;
}

.bundle-product-row__btn-icon .block-image,
.bundle-product-row__btn-icon img {
  display: block;
  width: 1.1em;
  height: 1.1em;
  object-fit: contain;
}

.bundle-product-row__category-nav {
  width: 100%;
  margin-block-end: 4px;
}

.bundle-category-nav {
  width: 100%;
}

.bundle-category-nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.bundle-category-nav__filter-label {
  flex-shrink: 0;
  font-weight: 600;
  color: rgb(var(--color-foreground));
}

.bundle-category-nav__track {
  display: flex;
  flex: 1 1 auto;
  gap: 10px;
  align-items: center;
  padding-block: 2px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.bundle-category-nav__track::-webkit-scrollbar {
  display: none;
}

.bundle-category-nav__pill {
  scroll-snap-align: start;
  flex-shrink: 0;
  padding: 8px 18px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 400;
  color: rgb(var(--color-foreground) / 0.85);
  text-decoration: none;
  white-space: nowrap;
  background-color: rgb(var(--color-background));
  border: 1px solid rgb(var(--color-entry-line) / 0.85);
  border-radius: 999px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    font-weight 0.15s ease;
}

.bundle-category-nav__pill:hover {
  border-color: rgb(var(--color-button-background));
  color: rgb(var(--color-button-background));
}

.bundle-category-nav__pill.is-active,
.bundle-category-nav__pill[aria-current="true"] {
  font-weight: 700;
  color: #fff;
  background-color: rgb(var(--color-button-background));
  border-color: rgb(var(--color-button-background));
}

.bundle-category-nav__pill.is-active:hover,
.bundle-category-nav__pill[aria-current="true"]:hover {
  color: #fff;
  border-color: rgb(var(--color-button-background));
}

.bundle-category-nav__pill--disabled {
  cursor: default;
  opacity: 0.45;
}
