/* --------------------------------------------------------------------------
   RECOMMENDED PRODUCT SECTION STYLING (MATCHING IMAGE 2 EXACTLY)
   -------------------------------------------------------------------------- */

/* Hide default side navigation buttons */
.section-recommended-product .block-product-list__button--previous,
.section-recommended-product .block-product-list__button--next,
.section-recommended-product .block-product-list__button {
  display: none;
}

/* Center align product info, titles, prices, and buttons */
.section-recommended-product .block-product-card,
.section-recommended-product .block-product-card-info,
.section-recommended-product .block-product-card-info__content,
.section-recommended-product .block-product-card-info--layer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-recommended-product .block-product-title,
.section-recommended-product .product-card-title,
.section-recommended-product .block-product-title a,
.section-recommended-product .product-card-title a {
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: #ffffff;
  margin: 10px auto 4px auto;
}

/* Price: Light white/gray color, centered */
.section-recommended-product .block-product-price,
.section-recommended-product .product-price,
.section-recommended-product .product-price *,
.section-recommended-product .price-item {
  color: #d1d1d1;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  justify-content: center;
  display: flex;
  align-items: center;
  margin: 0 auto;
}

/* Quick Add (+) Button: Dark translucent circle centered under price */
.section-recommended-product theme-product-form,
.section-recommended-product .block-product-card__quick-add-form,
.section-recommended-product .block-product-card-info>form,
.section-recommended-product .block-product-card__buy-button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 0 auto;
  width: 100%;
}

.section-recommended-product .block-product-card__quick-add,
.section-recommended-product .block-product-card__buy-button,
.section-recommended-product summary.block-product-card__quick-add {
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.section-recommended-product .block-product-card__quick-add:hover,
.section-recommended-product .block-product-card__buy-button:hover,
.section-recommended-product summary.block-product-card__quick-add:hover {
  background-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.06);
}

.section-recommended-product .block-product-card__quick-add svg,
.section-recommended-product .block-product-card__buy-button svg,
.section-recommended-product summary.block-product-card__quick-add svg {
  fill: #ffffff;
  stroke: #ffffff;
  color: #ffffff;
  width: 18px;
  height: 18px;
}

/* Bottom Pagination Row (< —————— >) */
.section-recommended-product .block-product-list__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  margin-bottom: 12px;
  width: 100%;
}

.section-recommended-product .block-product-list__controls-arrow {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Disabled button state at start / end */
.section-recommended-product .block-product-list__controls-arrow.is-disabled,
.section-recommended-product .block-product-list__controls-arrow[disabled] {
  opacity: 0.3;
  pointer-events: none;
  cursor: not-allowed;
}

.section-recommended-product .block-product-list__controls-progress {
  width: 180px;
  height: 2px;
  position: relative;
}

.section-recommended-product .block-product-list__controls-progress-track {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  overflow: hidden;
}

.section-recommended-product .js-recommended-progress-fill,
.section-recommended-product .block-product-list__progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 25%;
  background: #ffffff;
  border-radius: 2px;
  transition: left 0.15s linear, width 0.15s linear;
}

/* Double Arrow Hover Animation (Matching Featured Grid) */
.section-recommended-product .arrow-double-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.section-recommended-product .chevron-arrow {
  transition: all 0.3s cubic-bezier(0.25, 1, 0.25, 1);
}

.section-recommended-product .chevron-arrow--main {
  width: 24px;
  height: 24px;
  z-index: 2;
}

.section-recommended-product .chevron-arrow--sub {
  width: 20px;
  height: 20px;
  max-width: 0;
  opacity: 0;
  margin: 0;
  z-index: 1;
  transition: max-width 0.3s cubic-bezier(0.25, 1, 0.25, 1), opacity 0.25s ease, transform 0.3s ease, margin 0.3s ease;
}

/* Prev arrow hover: 2nd arrow slides in tightly to the left */
.section-recommended-product .block-product-list__controls-arrow--prev:not([disabled]):hover .chevron-arrow--sub {
  max-width: 16px;
  opacity: 1;
  margin-right: -26px;
}

/* Next arrow hover: 2nd arrow slides in tightly to the right */
.section-recommended-product .block-product-list__controls-arrow--next:not([disabled]):hover .chevron-arrow--sub {
  max-width: 16px;
  opacity: 1;
  margin-left: -26px;
}

.section-recommended-product .block-product-list__controls-arrow:not([disabled]):hover {
  opacity: 0.95;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 767px) {
  .section-recommended-product .block-product-title,
  .section-recommended-product .product-card-title {
    font-size: 14px;
    margin: 8px auto 4px auto;
  }

  .section-recommended-product .block-product-list__controls {
    margin-top: 24px;
    gap: 12px;
  }

  .section-recommended-product .block-product-list__controls-progress {
    width: 120px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .section-recommended-product .block-product-list__controls {
    margin-top: 32px;
  }
}

.button::after,
.button::before {
  display: none !important;
  box-shadow: none !important;
}