/* Homepage 3 — Storecraft-style
 *
 * All Homepage 3 section styles live ONLY in this file.
 * Do not put H3 section styles in homepage-1.css, homepage-2.css, or featured-products.css.
 */

#bsp-homepage-3 {
  --bsp-container: 1600px;
  background: #ffffff;
}

/* ============ Hero banner ============ */

.bsp-h3-hero {
  --bsp-h3-hero-min-height: 500px;
  --bsp-h3-hero-title-size: 56px;
  --bsp-h3-hero-title: #ffffff;
  --bsp-h3-hero-text: #ffffff;
  --bsp-h3-hero-highlight: #ffffff;
  --bsp-h3-hero-badge-bg: rgba(255, 255, 255, 0.18);
  --bsp-h3-hero-badge-text: #ffffff;
  --bsp-h3-hero-btn-bg: #ffffff;
  --bsp-h3-hero-btn-text: #111111;
  --bsp-h3-hero-btn-hover-bg: #f3f4f6;
  --bsp-h3-hero-btn-ghost-bg: rgba(255, 255, 255, 0.14);
  --bsp-h3-hero-btn-ghost-text: #ffffff;
  --bsp-h3-hero-dot: #ffffff;
  --bsp-h3-hero-overlay-opacity: 0.28;
  --bsp-h3-hero-radius: 18px;

  padding: 8px 0 0;
  background: #ffffff;
}

.bsp-h3-hero__outer {
  width: min(100% - 32px, var(--bsp-container, 1600px));
}

.bsp-h3-hero__viewport {
  position: relative;
  overflow: hidden;
  min-height: var(--bsp-h3-hero-min-height);
  border-radius: var(--bsp-h3-hero-radius);
  background: #e8e4df;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

.bsp-h3-hero__track {
  display: flex;
  transition: transform 0.55s ease;
}

.bsp-h3-hero__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: var(--bsp-h3-hero-min-height);
}

.bsp-h3-hero__media {
  position: absolute;
  inset: 0;
}

.bsp-h3-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.bsp-h3-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, var(--bsp-h3-hero-overlay-opacity)) 0%,
    rgba(17, 17, 17, calc(var(--bsp-h3-hero-overlay-opacity) * 0.45)) 28%,
    rgba(17, 17, 17, 0) 62%
  );
  pointer-events: none;
}

.bsp-h3-hero__content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 24px 52px;
}

.bsp-h3-hero--slider .bsp-h3-hero__content-wrap {
  padding-bottom: 64px;
}

.bsp-h3-hero__content {
  width: min(100%, 720px);
  text-align: center;
}

.bsp-h3-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bsp-h3-hero-badge-bg);
  color: var(--bsp-h3-hero-badge-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.bsp-h3-hero__title {
  margin: 0;
  color: var(--bsp-h3-hero-title);
  font-size: clamp(36px, 5.2vw, var(--bsp-h3-hero-title-size));
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 18px rgba(17, 17, 17, 0.18);
}

.bsp-h3-hero__title-line,
.bsp-h3-hero__title-highlight {
  display: block;
}

.bsp-h3-hero__title-highlight {
  margin-top: 4px;
  color: var(--bsp-h3-hero-highlight);
  font-weight: 700;
}

.bsp-h3-hero__subtitle {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--bsp-h3-hero-text);
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.96;
  text-shadow: 0 1px 12px rgba(17, 17, 17, 0.16);
}

.bsp-h3-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.bsp-h3-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 196px;
  padding: 13px 28px;
  border-radius: 6px;
  background: var(--bsp-h3-hero-btn-bg);
  color: var(--bsp-h3-hero-btn-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.12);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.bsp-h3-hero__btn:hover {
  background: var(--bsp-h3-hero-btn-hover-bg);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.16);
}

.bsp-h3-hero__btn--ghost {
  min-width: 196px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--bsp-h3-hero-btn-ghost-bg);
  color: var(--bsp-h3-hero-btn-ghost-text);
  box-shadow: none;
  backdrop-filter: blur(4px);
}

.bsp-h3-hero__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  box-shadow: none;
}

.bsp-h3-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}

.bsp-h3-hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bsp-h3-hero-dot);
  opacity: 0.38;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bsp-h3-hero__dot.is-active {
  opacity: 1;
  transform: scale(1.2);
}

.bsp-h3-hero--empty {
  padding: 0;
}

.bsp-h3-hero--empty .bsp-h3-hero__outer {
  border-radius: var(--bsp-h3-hero-radius);
  background: #f3f4f6;
}

.bsp-h3-hero--empty .bsp-h3-hero__empty-note {
  margin: 0;
  padding: 64px 24px;
  text-align: center;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
}

/* ============ Responsive ============ */

@media (max-width: 992px) {
  .bsp-h3-hero__content-wrap {
    padding: 0 20px 44px;
  }

  .bsp-h3-hero--slider .bsp-h3-hero__content-wrap {
    padding-bottom: 56px;
  }
}

@media (max-width: 576px) {
  .bsp-h3-hero {
    --bsp-h3-hero-radius: 14px;
  }

  .bsp-h3-hero__viewport,
  .bsp-h3-hero__slide {
    min-height: max(400px, var(--bsp-h3-hero-min-height));
  }

  .bsp-h3-hero__content-wrap {
    padding: 0 16px 36px;
  }

  .bsp-h3-hero__subtitle {
    margin-top: 10px;
    font-size: 14px;
  }

  .bsp-h3-hero__btn,
  .bsp-h3-hero__btn--ghost {
    width: min(100%, 260px);
    min-width: 0;
  }
}

/* ============ Category row ============ */

.bsp-h3-categories {
  --bsp-h3-cat-section-bg: #ffffff;
  --bsp-h3-cat-heading-color: #111111;
  --bsp-h3-cat-label-color: #374151;
  --bsp-h3-cat-media-bg: #f5f5f5;
  --bsp-h3-cat-padding-y: 28px;
  --bsp-h3-cat-gap: 20px;
  --bsp-h3-cat-radius: 10px;
  --bsp-h3-cat-label-size: 14px;
  --bsp-h3-cat-image-padding: 12px;

  padding: var(--bsp-h3-cat-padding-y) 0;
  background: var(--bsp-h3-cat-section-bg);
}

.bsp-h3-categories__container {
  width: min(100% - 32px, var(--bsp-container, 1600px));
}

.bsp-h3-categories__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bsp-h3-categories__heading {
  margin: 0;
  color: var(--bsp-h3-cat-heading-color);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.bsp-h3-categories__slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.bsp-h3-categories__arrow {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bsp-h3-categories__arrow:hover:not(:disabled) {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.bsp-h3-categories__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.bsp-h3-categories__carousel {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  --bsp-h3-cat-card-width: calc((100% - (var(--bsp-h3-cat-gap) * (var(--bsp-h3-cat-cols) - 1))) / var(--bsp-h3-cat-cols));
}

.bsp-h3-categories__viewport {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
  cursor: grab;
}

.bsp-h3-categories__viewport:active {
  cursor: grabbing;
}

.bsp-h3-categories__track {
  display: flex;
  gap: var(--bsp-h3-cat-gap);
  transition: transform 0.45s ease;
  will-change: transform;
}

.bsp-h3-categories__carousel:not(.is-slider) .bsp-h3-categories__track {
  display: grid;
  grid-template-columns: repeat(var(--bsp-h3-cat-cols), minmax(0, 1fr));
  gap: var(--bsp-h3-cat-gap);
}

.bsp-h3-categories__carousel.is-slider .bsp-h3-categories__card {
  flex: 0 0 var(--bsp-h3-cat-card-width);
  width: var(--bsp-h3-cat-card-width);
}

.bsp-h3-categories__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.bsp-h3-categories__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--bsp-h3-cat-radius);
  background: var(--bsp-h3-cat-media-bg);
  overflow: hidden;
}

.bsp-h3-categories__media img {
  display: block;
  width: calc(100% - (var(--bsp-h3-cat-image-padding) * 2));
  height: calc(100% - (var(--bsp-h3-cat-image-padding) * 2));
  object-fit: contain;
  object-position: center center;
  transition: transform 0.35s ease;
}

.bsp-h3-categories__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #9ca3af;
}

.bsp-h3-categories__name {
  display: block;
  width: 100%;
  color: var(--bsp-h3-cat-label-color);
  font-size: var(--bsp-h3-cat-label-size);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.bsp-h3-categories__card:hover .bsp-h3-categories__media img {
  transform: scale(1.04);
}

.bsp-h3-categories--empty .bsp-h3-categories__empty-note {
  margin: 0;
  padding: 32px 16px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .bsp-h3-categories__header {
    margin-bottom: 16px;
  }

  .bsp-h3-categories__slider {
    gap: 6px;
  }
}

@media (max-width: 576px) {
  .bsp-h3-categories__arrow {
    position: absolute;
    top: 28%;
    z-index: 3;
    width: 34px;
    height: 34px;
    box-shadow: 0 2px 10px rgba(17, 17, 17, 0.1);
  }

  .bsp-h3-categories__arrow--prev {
    left: 0;
  }

  .bsp-h3-categories__arrow--next {
    right: 0;
  }

  .bsp-h3-categories__slider {
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bsp-h3-categories__track,
  .bsp-h3-categories__media img {
    transition: none;
  }

  .bsp-h3-categories__card:hover .bsp-h3-categories__media img {
    transform: none;
  }
}

/* ============ Featured Products ============ */

.bsp-h3-featured {
  --bsp-h3-ft-section-bg: #ffffff;
  --bsp-h3-ft-heading-color: #111111;
  --bsp-h3-ft-padding-y: 40px;
  --bsp-h3-ft-gap: 16px;
  --bsp-h3-ft-radius: 12px;
  --bsp-h3-ft-promo-bg: #1f2a44;
  --bsp-h3-ft-promo-text: #ffffff;
  --bsp-h3-ft-promo-btn-bg: #ffffff;
  --bsp-h3-ft-promo-btn-text: #111111;
  --bsp-h3-ft-card-bg: #ffffff;
  --bsp-h3-ft-media-bg: #f5f5f5;
  --bsp-h3-ft-brand-color: #9ca3af;
  --bsp-h3-ft-title-color: #111111;
  --bsp-h3-ft-sale-color: #e52727;
  --bsp-h3-ft-muted-color: #9ca3af;
  --bsp-h3-ft-badge-bg: #e52727;
  --bsp-h3-ft-badge-text: #ffffff;
  --bsp-h3-ft-bag-bg: #ffffff;
  --bsp-h3-ft-bag-color: #111111;
  --bsp-h3-ft-bag-border: #e5e7eb;

  padding: var(--bsp-h3-ft-padding-y) 0;
  background: var(--bsp-h3-ft-section-bg);
}

.bsp-h3-featured__container {
  width: min(100% - 32px, var(--bsp-container, 1600px));
}

.bsp-h3-featured__heading {
  margin: 0 0 24px;
  color: var(--bsp-h3-ft-heading-color);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.bsp-h3-featured__layout {
  display: grid;
  gap: var(--bsp-h3-ft-gap);
}

.bsp-h3-featured__layout--has-promo {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: stretch;
}

.bsp-h3-featured__promo {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--bsp-h3-ft-radius);
  background: var(--bsp-h3-ft-promo-bg);
  color: var(--bsp-h3-ft-promo-text);
}

.bsp-h3-featured__promo-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.bsp-h3-featured__promo-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bsp-h3-featured__promo-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 22px 20px 24px;
}

.bsp-h3-featured__promo-kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.92;
}

.bsp-h3-featured__promo-title {
  margin: 0;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.bsp-h3-featured__promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 6px;
  padding: 11px 18px;
  border-radius: 6px;
  background: var(--bsp-h3-ft-promo-btn-bg);
  color: var(--bsp-h3-ft-promo-btn-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bsp-h3-featured__promo-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.bsp-h3-featured__slider {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  min-height: 0;
}

.bsp-h3-featured__arrow {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bsp-h3-featured__arrow:hover:not(:disabled) {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.bsp-h3-featured__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.bsp-h3-featured__carousel {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  --bsp-h3-ft-card-width: calc((100% - (var(--bsp-h3-ft-gap) * (var(--bsp-h3-ft-cols) - 1))) / var(--bsp-h3-ft-cols));
}

.bsp-h3-featured__viewport {
  overflow: hidden;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

.bsp-h3-featured__track {
  display: flex;
  align-items: stretch;
  gap: var(--bsp-h3-ft-gap);
  height: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.bsp-h3-featured__carousel:not(.is-slider) .bsp-h3-featured__track {
  display: grid;
  grid-template-columns: repeat(var(--bsp-h3-ft-cols), minmax(0, 1fr));
  gap: var(--bsp-h3-ft-gap);
  height: 100%;
}

.bsp-h3-featured__carousel.is-slider .bsp-h3-featured__card {
  flex: 0 0 var(--bsp-h3-ft-card-width);
  width: var(--bsp-h3-ft-card-width);
  height: 100%;
}

.bsp-h3-featured__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  background: var(--bsp-h3-ft-card-bg);
}

.bsp-h3-featured__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 200px;
  aspect-ratio: 1 / 1;
  border-radius: var(--bsp-h3-ft-radius);
  background: var(--bsp-h3-ft-media-bg);
  overflow: hidden;
}

.bsp-h3-featured__layout--has-promo .bsp-h3-featured__media {
  aspect-ratio: unset;
  height: auto;
  min-height: 0;
}

.bsp-h3-featured__body {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 6px;
  min-height: 108px;
  padding: 12px 2px 0;
}

.bsp-h3-featured__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bsp-h3-ft-badge-bg);
  color: var(--bsp-h3-ft-badge-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  pointer-events: none;
}

.bsp-h3-featured__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--bsp-h3-ft-bag-border);
  border-radius: 6px;
  background: var(--bsp-h3-ft-bag-bg);
  color: var(--bsp-h3-ft-bag-color);
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, color 0.2s ease;
}

.bsp-h3-featured__media:hover .bsp-h3-featured__wishlist,
.bsp-h3-featured__media:focus-within .bsp-h3-featured__wishlist,
.bsp-h3-featured__wishlist.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bsp-h3-featured__wishlist:hover,
.bsp-h3-featured__wishlist.is-active {
  color: var(--bsp-h3-ft-sale-color);
}

.bsp-h3-featured__wishlist.is-active i {
  font-weight: 900;
}

.bsp-h3-featured__image-link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.bsp-h3-featured__image-link .bsp-product-card-images {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bsp-h3-featured__image-link .bsp-product-card-images img,
.bsp-h3-featured__image-link .bsp-product-card-images__primary,
.bsp-h3-featured__image-link .bsp-product-card-images__secondary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.bsp-h3-featured__media:hover .bsp-product-card-images.has-secondary .bsp-product-card-images__secondary,
.bsp-h3-featured__media:focus-within .bsp-product-card-images.has-secondary .bsp-product-card-images__secondary {
  opacity: 1;
}

.bsp-h3-featured__media:hover .bsp-product-card-images.has-secondary .bsp-product-card-images__primary,
.bsp-h3-featured__media:focus-within .bsp-product-card-images.has-secondary .bsp-product-card-images__primary {
  opacity: 0;
}

.bsp-h3-featured__actions {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bsp-h3-featured__quick-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--bsp-h3-ft-bag-border);
  border-radius: 6px;
  background: var(--bsp-h3-ft-bag-bg);
  color: var(--bsp-h3-ft-bag-color);
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease;
}

.bsp-h3-featured__media:hover .bsp-h3-featured__quick-view,
.bsp-h3-featured__media:focus-within .bsp-h3-featured__quick-view {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bsp-h3-featured__quick-view:hover {
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.1);
}

.bsp-h3-featured__bag {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--bsp-h3-ft-bag-border);
  border-radius: 6px;
  background: var(--bsp-h3-ft-bag-bg);
  color: var(--bsp-h3-ft-bag-color);
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bsp-h3-featured__bag:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.1);
}

.bsp-h3-featured__brand {
  margin: 0;
  color: var(--bsp-h3-ft-brand-color);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bsp-h3-featured__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.bsp-h3-featured__title a {
  color: var(--bsp-h3-ft-title-color);
  text-decoration: none;
}

.bsp-h3-featured__title a:hover {
  color: var(--bsp-h3-ft-sale-color);
}

.bsp-h3-featured__price {
  color: var(--bsp-h3-ft-title-color);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.bsp-h3-featured__price ins {
  text-decoration: none;
  color: var(--bsp-h3-ft-sale-color);
}

.bsp-h3-featured__price del {
  margin-left: 6px;
  color: var(--bsp-h3-ft-muted-color);
  font-size: 13px;
  font-weight: 400;
  text-decoration: line-through;
}

.bsp-h3-featured__price .woocommerce-Price-amount {
  color: inherit;
}

.bsp-h3-featured__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.bsp-h3-featured__swatch {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 50%;
  background: var(--bsp-h3-swatch-color, #cccccc);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bsp-h3-featured__swatch.is-active {
  box-shadow: 0 0 0 1px #111111;
  transform: scale(1.05);
}

.bsp-h3-featured--empty .bsp-h3-featured__empty-note {
  margin: 0;
  padding: 32px 16px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

.bsp-h3-featured__card:hover .bsp-product-card-images__primary {
  transform: scale(1.03);
}

@media (hover: none) {
  .bsp-h3-featured__wishlist,
  .bsp-h3-featured__quick-view {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .bsp-h3-featured__layout--has-promo {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .bsp-h3-featured__layout--has-promo {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .bsp-h3-featured__promo {
    max-width: 360px;
    height: auto;
  }

  .bsp-h3-featured__slider,
  .bsp-h3-featured__carousel,
  .bsp-h3-featured__viewport,
  .bsp-h3-featured__track,
  .bsp-h3-featured__card {
    height: auto;
  }

  .bsp-h3-featured__media {
    flex: 0 0 auto;
  }

  .bsp-h3-featured__layout--has-promo .bsp-h3-featured__media {
    aspect-ratio: 1 / 1;
    height: auto;
  }
}

@media (max-width: 576px) {
  .bsp-h3-featured__heading {
    margin-bottom: 18px;
  }

  .bsp-h3-featured__slider {
    gap: 0;
    padding: 0;
  }

  .bsp-h3-featured__arrow {
    position: absolute;
    top: 28%;
    z-index: 6;
    width: 34px;
    height: 34px;
    box-shadow: 0 2px 10px rgba(17, 17, 17, 0.1);
  }

  .bsp-h3-featured__arrow--prev {
    left: 4px;
  }

  .bsp-h3-featured__arrow--next {
    right: 4px;
  }

  .bsp-h3-featured__promo {
    max-width: none;
  }

  .bsp-h3-featured__card {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bsp-h3-featured__track,
  .bsp-h3-featured__swatch,
  .bsp-h3-featured__wishlist,
  .bsp-h3-featured__quick-view,
  .bsp-product-card-images img {
    transition: none;
  }

  .bsp-h3-featured__card:hover .bsp-product-card-images__primary,
  .bsp-h3-featured__promo-btn:hover {
    transform: none;
  }
}

/* ============ Promo Grid (collection banners) ============ */

.bsp-h3-promo-grid {
  --bsp-h3-pg-section-bg: #ffffff;
  --bsp-h3-pg-padding-y: 28px;
  --bsp-h3-pg-gap: 20px;
  --bsp-h3-pg-radius: 16px;
  --bsp-h3-pg-min-height: 560px;
  --bsp-h3-pg-title-color: #ffffff;
  --bsp-h3-pg-link-color: #ffffff;
  --bsp-h3-pg-overlay: linear-gradient(180deg, rgba(17, 17, 17, 0) 35%, rgba(17, 17, 17, 0.72) 100%);
  --bsp-h3-pg-placeholder: #d6d3d1;

  padding: var(--bsp-h3-pg-padding-y) 0;
  background: var(--bsp-h3-pg-section-bg);
}

.bsp-h3-promo-grid__container {
  width: min(100% - 32px, var(--bsp-container, 1600px));
}

.bsp-h3-promo-grid__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: var(--bsp-h3-pg-gap);
  min-height: var(--bsp-h3-pg-min-height);
}

.bsp-h3-promo-grid__card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--bsp-h3-pg-radius);
  background: var(--bsp-h3-pg-placeholder);
}

.bsp-h3-promo-grid__card--top {
  grid-column: 1;
  grid-row: 1;
}

.bsp-h3-promo-grid__card--bottom {
  grid-column: 1;
  grid-row: 2;
}

.bsp-h3-promo-grid__card--large {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.bsp-h3-promo-grid__link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  min-height: 220px;
  text-decoration: none;
  color: inherit;
}

.bsp-h3-promo-grid__media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.bsp-h3-promo-grid__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.bsp-h3-promo-grid__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: var(--bsp-h3-pg-overlay);
  pointer-events: none;
}

.bsp-h3-promo-grid__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px 28px 30px;
}

.bsp-h3-promo-grid__title {
  display: block;
  max-width: 18ch;
  color: var(--bsp-h3-pg-title-color);
  font-size: clamp(20px, 1.7vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.bsp-h3-promo-grid__card--large .bsp-h3-promo-grid__title {
  max-width: 22ch;
  font-size: clamp(24px, 2.2vw, 34px);
}

.bsp-h3-promo-grid__cta {
  display: inline-block;
  color: var(--bsp-h3-pg-link-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
}

.bsp-h3-promo-grid__card:hover .bsp-h3-promo-grid__media img {
  transform: scale(1.04);
}

.bsp-h3-promo-grid__card:hover .bsp-h3-promo-grid__cta {
  opacity: 0.85;
}

.bsp-h3-promo-grid--empty .bsp-h3-promo-grid__empty-note {
  margin: 0;
  padding: 32px 16px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .bsp-h3-promo-grid__layout {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .bsp-h3-promo-grid__card--top,
  .bsp-h3-promo-grid__card--bottom,
  .bsp-h3-promo-grid__card--large {
    grid-column: 1;
    grid-row: auto;
  }

  .bsp-h3-promo-grid__link {
    min-height: 260px;
  }

  .bsp-h3-promo-grid__card--large .bsp-h3-promo-grid__link {
    min-height: 320px;
  }
}

@media (max-width: 576px) {
  .bsp-h3-promo-grid__content {
    padding: 20px 18px 22px;
  }

  .bsp-h3-promo-grid__link {
    min-height: 220px;
  }

  .bsp-h3-promo-grid__card--large .bsp-h3-promo-grid__link {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bsp-h3-promo-grid__media img {
    transition: none;
  }

  .bsp-h3-promo-grid__card:hover .bsp-h3-promo-grid__media img {
    transform: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Furniture collection (tabbed product grid)                                 */
/* -------------------------------------------------------------------------- */

.bsp-h3-furniture {
  --bsp-h3-fn-section-bg: #ffffff;
  --bsp-h3-fn-heading-color: #333333;
  --bsp-h3-fn-view-all-color: #888888;
  --bsp-h3-fn-padding-y: 48px;
  --bsp-h3-fn-gap: 20px;
  --bsp-h3-fn-radius: 6px;
  --bsp-h3-fn-tab-active-bg: #2d3a4b;
  --bsp-h3-fn-tab-active-text: #ffffff;
  --bsp-h3-fn-tab-border: #d1d5db;
  --bsp-h3-fn-tab-text: #4b5563;
  --bsp-h3-fn-card-bg: #ffffff;
  --bsp-h3-fn-media-bg: #f5f5f5;
  --bsp-h3-fn-brand-color: #888888;
  --bsp-h3-fn-title-color: #333333;
  --bsp-h3-fn-sale-color: #c92c2c;
  --bsp-h3-fn-muted-color: #888888;
  --bsp-h3-fn-badge-bg: #c92c2c;
  --bsp-h3-fn-badge-text: #ffffff;
  --bsp-h3-fn-bag-bg: #f3f4f6;
  --bsp-h3-fn-bag-color: #6b7280;
  --bsp-h3-fn-bag-border: #e5e7eb;
  --bsp-h3-fn-cols: 5;
  background: var(--bsp-h3-fn-section-bg);
  padding: var(--bsp-h3-fn-padding-y) 0;
}

.bsp-h3-furniture__container {
  max-width: var(--bsp-container, 1600px);
  margin: 0 auto;
  padding: 0 20px;
}

.bsp-h3-furniture__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.bsp-h3-furniture__heading {
  margin: 0;
  color: var(--bsp-h3-fn-heading-color);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.bsp-h3-furniture__view-all {
  flex-shrink: 0;
  color: var(--bsp-h3-fn-view-all-color);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bsp-h3-furniture__view-all:hover {
  color: var(--bsp-h3-fn-heading-color);
}

.bsp-h3-furniture__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.bsp-h3-furniture__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 16px;
  border: 1px solid var(--bsp-h3-fn-tab-border);
  border-radius: var(--bsp-h3-fn-radius);
  background: transparent;
  color: var(--bsp-h3-fn-tab-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bsp-h3-furniture__tab:hover {
  border-color: var(--bsp-h3-fn-tab-active-bg);
  color: var(--bsp-h3-fn-tab-active-bg);
}

.bsp-h3-furniture__tab.is-active {
  border-color: var(--bsp-h3-fn-tab-active-bg);
  background: var(--bsp-h3-fn-tab-active-bg);
  color: var(--bsp-h3-fn-tab-active-text);
}

.bsp-h3-furniture__panel {
  display: none;
}

.bsp-h3-furniture__panel.is-active {
  display: block;
}

.bsp-h3-furniture__grid {
  display: grid;
  grid-template-columns: repeat(var(--bsp-h3-fn-cols, 5), minmax(0, 1fr));
  gap: var(--bsp-h3-fn-gap);
}

.bsp-h3-furniture__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bsp-h3-fn-card-bg);
}

.bsp-h3-furniture__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--bsp-h3-fn-radius);
  background: var(--bsp-h3-fn-media-bg);
}

.bsp-h3-furniture__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bsp-h3-fn-badge-bg);
  color: var(--bsp-h3-fn-badge-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  pointer-events: none;
}

.bsp-h3-furniture__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--bsp-h3-fn-bag-border);
  border-radius: 4px;
  background: #ffffff;
  color: var(--bsp-h3-fn-bag-color);
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, color 0.2s ease;
}

.bsp-h3-furniture__media:hover .bsp-h3-furniture__wishlist,
.bsp-h3-furniture__media:focus-within .bsp-h3-furniture__wishlist,
.bsp-h3-furniture__wishlist.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bsp-h3-furniture__wishlist:hover,
.bsp-h3-furniture__wishlist.is-active {
  color: var(--bsp-h3-fn-sale-color);
}

.bsp-h3-furniture__wishlist.is-active i {
  font-weight: 900;
}

.bsp-h3-furniture__image-link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.bsp-h3-furniture__image-link .bsp-product-card-images {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bsp-h3-furniture__image-link .bsp-product-card-images img,
.bsp-h3-furniture__image-link .bsp-product-card-images__primary,
.bsp-h3-furniture__image-link .bsp-product-card-images__secondary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.bsp-h3-furniture__media:hover .bsp-product-card-images.has-secondary .bsp-product-card-images__secondary,
.bsp-h3-furniture__media:focus-within .bsp-product-card-images.has-secondary .bsp-product-card-images__secondary {
  opacity: 1;
}

.bsp-h3-furniture__media:hover .bsp-product-card-images.has-secondary .bsp-product-card-images__primary,
.bsp-h3-furniture__media:focus-within .bsp-product-card-images.has-secondary .bsp-product-card-images__primary {
  opacity: 0;
}

.bsp-h3-furniture__actions {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bsp-h3-furniture__quick-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--bsp-h3-fn-bag-border);
  border-radius: 4px;
  background: #ffffff;
  color: var(--bsp-h3-fn-bag-color);
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease;
}

.bsp-h3-furniture__media:hover .bsp-h3-furniture__quick-view,
.bsp-h3-furniture__media:focus-within .bsp-h3-furniture__quick-view {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bsp-h3-furniture__quick-view:hover {
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.1);
}

.bsp-h3-furniture__bag {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--bsp-h3-fn-bag-border);
  border-radius: 4px;
  background: var(--bsp-h3-fn-bag-bg);
  color: var(--bsp-h3-fn-bag-color);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bsp-h3-furniture__bag:hover {
  border-color: var(--bsp-h3-fn-tab-active-bg);
  background: var(--bsp-h3-fn-tab-active-bg);
  color: #ffffff;
}

.bsp-h3-furniture__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 2px 0;
}

.bsp-h3-furniture__brand {
  margin: 0;
  color: var(--bsp-h3-fn-brand-color);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.bsp-h3-furniture__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
}

.bsp-h3-furniture__title a {
  color: var(--bsp-h3-fn-title-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bsp-h3-furniture__title a:hover {
  color: var(--bsp-h3-fn-sale-color);
}

.bsp-h3-furniture__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.bsp-h3-furniture__price ins {
  text-decoration: none;
  color: var(--bsp-h3-fn-sale-color);
}

.bsp-h3-furniture__price del {
  color: var(--bsp-h3-fn-muted-color);
  font-size: 0.8rem;
  font-weight: 400;
}

.bsp-h3-furniture__price .woocommerce-Price-amount {
  font-weight: inherit;
}

.bsp-h3-furniture__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.bsp-h3-furniture__swatch {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--bsp-h3-swatch-color, #d1d5db);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}

.bsp-h3-furniture__swatch.is-active {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06), 0 0 0 1px #333333;
}

.bsp-h3-furniture__empty-note {
  margin: 0;
  padding: 24px 0;
  color: var(--bsp-h3-fn-muted-color);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 1200px) {
  .bsp-h3-furniture__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .bsp-h3-furniture__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .bsp-h3-furniture__tabs {
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .bsp-h3-furniture__tabs::-webkit-scrollbar {
    display: none;
  }

  .bsp-h3-furniture__tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .bsp-h3-furniture__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .bsp-h3-furniture__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .bsp-h3-furniture__tab {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 0.8125rem;
  }

  .bsp-h3-furniture__body {
    min-height: 0;
    padding-top: 10px;
  }

  .bsp-h3-furniture__title {
    font-size: 0.875rem;
  }
}

@media (hover: none) {
  .bsp-h3-furniture__wishlist,
  .bsp-h3-furniture__quick-view {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bsp-h3-furniture__wishlist,
  .bsp-h3-furniture__quick-view,
  .bsp-h3-furniture__image-link .bsp-product-card-images img {
    transition: none;
  }

  .bsp-h3-furniture__media:hover .bsp-product-card-images.has-secondary .bsp-product-card-images__primary,
  .bsp-h3-furniture__media:focus-within .bsp-product-card-images.has-secondary .bsp-product-card-images__primary {
    opacity: 1;
  }

  .bsp-h3-furniture__media:hover .bsp-product-card-images.has-secondary .bsp-product-card-images__secondary,
  .bsp-h3-furniture__media:focus-within .bsp-product-card-images.has-secondary .bsp-product-card-images__secondary {
    opacity: 0;
  }
}

/* -------------------------------------------------------------------------- */
/* Before & After comparison slider                                           */
/* -------------------------------------------------------------------------- */

.bsp-h3-ba {
  --bsp-h3-ba-section-bg: #ffffff;
  --bsp-h3-ba-heading-color: #111111;
  --bsp-h3-ba-subtitle-color: #6b7280;
  --bsp-h3-ba-handle: #ffffff;
  --bsp-h3-ba-padding-y: 48px;
  --bsp-h3-ba-radius: 18px;
  --bsp-h3-ba-min-height: 420px;
  --bsp-h3-ba-pos: 50%;
  background: var(--bsp-h3-ba-section-bg);
  padding: var(--bsp-h3-ba-padding-y) 0;
}

.bsp-h3-ba__container {
  max-width: var(--bsp-container, 1600px);
  margin: 0 auto;
  padding: 0 20px;
}

.bsp-h3-ba__header {
  max-width: 720px;
  margin: 0 0 28px;
}

.bsp-h3-ba__heading {
  margin: 0 0 10px;
  color: var(--bsp-h3-ba-heading-color);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.bsp-h3-ba__subtitle {
  margin: 0;
  color: var(--bsp-h3-ba-subtitle-color);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
}

.bsp-h3-ba__slider {
  width: 100%;
}

.bsp-h3-ba__frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: var(--bsp-h3-ba-min-height);
  aspect-ratio: 16 / 9;
  border-radius: var(--bsp-h3-ba-radius);
  background: #e5e7eb;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

.bsp-h3-ba__layer {
  position: absolute;
  inset: 0;
}

.bsp-h3-ba__layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.bsp-h3-ba__layer--before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--bsp-h3-ba-pos)) 0 0);
}

.bsp-h3-ba__layer--after {
  z-index: 1;
}

.bsp-h3-ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--bsp-h3-ba-pos);
  z-index: 3;
  width: 0;
  pointer-events: none;
}

.bsp-h3-ba__handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: var(--bsp-h3-ba-handle);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.bsp-h3-ba__handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bsp-h3-ba-handle);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%);
}

.bsp-h3-ba__handle-bars {
  display: block;
  width: 12px;
  height: 14px;
  border-left: 2px solid #9ca3af;
  border-right: 2px solid #9ca3af;
}

.bsp-h3-ba__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

.bsp-h3-ba__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 44px;
  height: 100%;
  cursor: ew-resize;
}

.bsp-h3-ba__range::-moz-range-thumb {
  width: 44px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: ew-resize;
}

.bsp-h3-ba__empty-note {
  margin: 0;
  padding: 24px 0;
  color: var(--bsp-h3-ba-subtitle-color);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 768px) {
  .bsp-h3-ba__header {
    margin-bottom: 20px;
  }

  .bsp-h3-ba__frame {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .bsp-h3-ba__handle-knob {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bsp-h3-ba__layer--before,
  .bsp-h3-ba__handle {
    transition: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Modern Living feature banner                                               */
/* -------------------------------------------------------------------------- */

.bsp-h3-living {
  --bsp-h3-ml-section-bg: #dee7ef;
  --bsp-h3-ml-eyebrow: #666666;
  --bsp-h3-ml-heading: #2c3e50;
  --bsp-h3-ml-text: #6b7280;
  --bsp-h3-ml-btn-bg: #2c3e50;
  --bsp-h3-ml-btn-text: #ffffff;
  --bsp-h3-ml-btn2-border: #2c3e50;
  --bsp-h3-ml-btn2-text: #2c3e50;
  --bsp-h3-ml-padding-y: 56px;
  --bsp-h3-ml-gap: 48px;
  --bsp-h3-ml-radius: 18px;
  background: var(--bsp-h3-ml-section-bg);
  padding: var(--bsp-h3-ml-padding-y) 0;
}

.bsp-h3-living__container {
  max-width: var(--bsp-container, 1600px);
  margin: 0 auto;
  padding: 0 20px;
}

.bsp-h3-living__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: var(--bsp-h3-ml-gap);
  align-items: center;
}

.bsp-h3-living__media {
  overflow: hidden;
  min-height: 280px;
  border-radius: var(--bsp-h3-ml-radius);
  background: rgba(255, 255, 255, 0.45);
}

.bsp-h3-living__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center center;
}

.bsp-h3-living__media-placeholder {
  display: block;
  min-height: 360px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(148, 163, 184, 0.25));
}

.bsp-h3-living__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 420px;
  padding: 8px 0;
}

.bsp-h3-living__eyebrow {
  margin: 0 0 12px;
  color: var(--bsp-h3-ml-eyebrow);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

.bsp-h3-living__heading {
  margin: 0 0 14px;
  color: var(--bsp-h3-ml-heading);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.bsp-h3-living__text {
  margin: 0 0 28px;
  color: var(--bsp-h3-ml-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

.bsp-h3-living__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bsp-h3-living__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 5px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.bsp-h3-living__btn--primary {
  border: 1px solid var(--bsp-h3-ml-btn-bg);
  background: var(--bsp-h3-ml-btn-bg);
  color: var(--bsp-h3-ml-btn-text);
}

.bsp-h3-living__btn--primary:hover {
  opacity: 0.9;
}

.bsp-h3-living__btn--secondary {
  border: 1px solid var(--bsp-h3-ml-btn2-border);
  background: transparent;
  color: var(--bsp-h3-ml-btn2-text);
}

.bsp-h3-living__btn--secondary:hover {
  background: rgba(44, 62, 80, 0.06);
}

.bsp-h3-living__empty-note {
  margin: 0;
  padding: 24px 0;
  color: var(--bsp-h3-ml-text);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 900px) {
  .bsp-h3-living__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bsp-h3-living__content {
    max-width: none;
    order: 2;
  }

  .bsp-h3-living__media {
    order: 1;
  }

  .bsp-h3-living__media img,
  .bsp-h3-living__media-placeholder {
    min-height: 280px;
  }
}

@media (max-width: 576px) {
  .bsp-h3-living__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bsp-h3-living__btn {
    width: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/* Flash Deal (promo + product carousel)                                      */
/* -------------------------------------------------------------------------- */

.bsp-h3-flash {
  --bsp-h3-fd-section-bg: #ffffff;
  --bsp-h3-fd-heading: #111111;
  --bsp-h3-fd-subtitle: #6b7280;
  --bsp-h3-fd-sale: #e52727;
  --bsp-h3-fd-badge-bg: #e52727;
  --bsp-h3-fd-media-bg: #f5f5f5;
  --bsp-h3-fd-countdown-bg: #ffffff;
  --bsp-h3-fd-countdown: #111111;
  --bsp-h3-fd-padding-y: 48px;
  --bsp-h3-fd-gap: 16px;
  --bsp-h3-fd-radius: 16px;
  --bsp-h3-fd-cols: 3;
  background: var(--bsp-h3-fd-section-bg);
  padding: var(--bsp-h3-fd-padding-y) 0;
}

.bsp-h3-flash__container {
  max-width: var(--bsp-container, 1600px);
  margin: 0 auto;
  padding: 0 20px;
}

.bsp-h3-flash__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.bsp-h3-flash__layout--has-promo {
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 2.1fr);
}

.bsp-h3-flash__promo {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  border-radius: var(--bsp-h3-fd-radius);
  background: #1f2937;
  color: #ffffff;
}

.bsp-h3-flash__promo-media {
  position: absolute;
  inset: 0;
}

.bsp-h3-flash__promo-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.bsp-h3-flash__promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.25) 0%, rgba(17, 24, 39, 0.55) 55%, rgba(17, 24, 39, 0.72) 100%);
  pointer-events: none;
}

.bsp-h3-flash__promo-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 24px 24px;
}

.bsp-h3-flash__promo-kicker {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.95;
}

.bsp-h3-flash__promo-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.bsp-h3-flash__promo-offer {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.bsp-h3-flash__promo-link {
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bsp-h3-flash__promo-link:hover {
  opacity: 0.85;
}

.bsp-h3-flash__countdown-wrap {
  margin-top: auto;
}

.bsp-h3-flash__countdown-label {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
}

.bsp-h3-flash__countdown {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bsp-h3-flash__countdown-unit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 6px;
  border-radius: 8px;
  background: var(--bsp-h3-fd-countdown-bg);
  color: var(--bsp-h3-fd-countdown);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.bsp-h3-flash__countdown-sep {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.bsp-h3-flash__products {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bsp-h3-flash__header {
  max-width: 560px;
}

.bsp-h3-flash__heading {
  margin: 0 0 6px;
  color: var(--bsp-h3-fd-heading);
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
}

.bsp-h3-flash__subtitle {
  margin: 0;
  color: var(--bsp-h3-fd-subtitle);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.bsp-h3-flash__slider {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.bsp-h3-flash__arrow {
  position: absolute;
  top: 28%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bsp-h3-flash__arrow--prev {
  left: -6px;
}

.bsp-h3-flash__arrow--next {
  right: -6px;
}

.bsp-h3-flash__arrow:hover:not(:disabled) {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.bsp-h3-flash__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.bsp-h3-flash__carousel {
  flex: 1 1 auto;
  min-width: 0;
  --bsp-h3-fd-card-width: calc((100% - (var(--bsp-h3-fd-gap) * (var(--bsp-h3-fd-cols) - 1))) / var(--bsp-h3-fd-cols));
}

.bsp-h3-flash__viewport {
  overflow: hidden;
  width: 100%;
}

.bsp-h3-flash__track {
  display: flex;
  gap: var(--bsp-h3-fd-gap);
}

.bsp-h3-flash__carousel.is-slider .bsp-h3-flash__card {
  flex: 0 0 var(--bsp-h3-fd-card-width);
  width: var(--bsp-h3-fd-card-width);
}

.bsp-h3-flash__carousel:not(.is-slider) .bsp-h3-flash__track {
  display: grid;
  grid-template-columns: repeat(var(--bsp-h3-fd-cols), minmax(0, 1fr));
}

.bsp-h3-flash__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.bsp-h3-flash__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bsp-h3-fd-media-bg);
}

.bsp-h3-flash__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bsp-h3-fd-badge-bg);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.bsp-h3-flash__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #ffffff;
  color: #6b7280;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, color 0.2s ease;
}

.bsp-h3-flash__media:hover .bsp-h3-flash__wishlist,
.bsp-h3-flash__media:focus-within .bsp-h3-flash__wishlist,
.bsp-h3-flash__wishlist.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bsp-h3-flash__wishlist:hover,
.bsp-h3-flash__wishlist.is-active {
  color: var(--bsp-h3-fd-sale);
}

.bsp-h3-flash__wishlist.is-active i {
  font-weight: 900;
}

.bsp-h3-flash__image-link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.bsp-h3-flash__image-link .bsp-product-card-images {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bsp-h3-flash__image-link .bsp-product-card-images img,
.bsp-h3-flash__image-link .bsp-product-card-images__primary,
.bsp-h3-flash__image-link .bsp-product-card-images__secondary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.bsp-h3-flash__media:hover .bsp-product-card-images.has-secondary .bsp-product-card-images__secondary,
.bsp-h3-flash__media:focus-within .bsp-product-card-images.has-secondary .bsp-product-card-images__secondary {
  opacity: 1;
}

.bsp-h3-flash__media:hover .bsp-product-card-images.has-secondary .bsp-product-card-images__primary,
.bsp-h3-flash__media:focus-within .bsp-product-card-images.has-secondary .bsp-product-card-images__primary {
  opacity: 0;
}

.bsp-h3-flash__actions {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bsp-h3-flash__quick-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #ffffff;
  color: #6b7280;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.bsp-h3-flash__media:hover .bsp-h3-flash__quick-view,
.bsp-h3-flash__media:focus-within .bsp-h3-flash__quick-view {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bsp-h3-flash__bag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #ffffff;
  color: #6b7280;
  font-size: 14px;
  text-decoration: none;
}

.bsp-h3-flash__bag:hover {
  color: #111111;
}

.bsp-h3-flash__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 2px 0;
}

.bsp-h3-flash__brand {
  margin: 0;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bsp-h3-flash__card-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.bsp-h3-flash__card-title a {
  color: #111111;
  text-decoration: none;
}

.bsp-h3-flash__card-title a:hover {
  color: var(--bsp-h3-fd-sale);
}

.bsp-h3-flash__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.bsp-h3-flash__price ins {
  text-decoration: none;
  color: var(--bsp-h3-fd-sale);
}

.bsp-h3-flash__price del {
  color: #9ca3af;
  font-size: 0.8rem;
  font-weight: 400;
}

.bsp-h3-flash__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.bsp-h3-flash__swatch {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--bsp-h3-swatch-color, #d1d5db);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.bsp-h3-flash__swatch.is-active {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06), 0 0 0 1px #333333;
}

.bsp-h3-flash__empty-note {
  margin: 0;
  padding: 24px 0;
  color: var(--bsp-h3-fd-subtitle);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .bsp-h3-flash__layout--has-promo {
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.8fr);
  }
}

@media (max-width: 900px) {
  .bsp-h3-flash__layout--has-promo {
    grid-template-columns: 1fr;
  }

  .bsp-h3-flash__promo {
    min-height: 280px;
  }

  .bsp-h3-flash__arrow--prev {
    left: 4px;
  }

  .bsp-h3-flash__arrow--next {
    right: 4px;
  }
}

@media (max-width: 576px) {
  .bsp-h3-flash__promo {
    min-height: 240px;
  }

  .bsp-h3-flash__heading {
    font-size: clamp(1.25rem, 5vw, 1.6rem);
  }

  .bsp-h3-flash__slider {
    padding: 0 38px;
  }

  .bsp-h3-flash__arrow {
    width: 34px;
    height: 34px;
  }

  .bsp-h3-flash__arrow--prev {
    left: 0;
  }

  .bsp-h3-flash__arrow--next {
    right: 0;
  }
}

@media (hover: none) {
  .bsp-h3-flash__wishlist,
  .bsp-h3-flash__quick-view {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Inspiration Gallery (bento)                                                */
/* -------------------------------------------------------------------------- */

.bsp-h3-gallery {
  --bsp-h3-gal-section-bg: #ffffff;
  --bsp-h3-gal-heading: #111111;
  --bsp-h3-gal-subtitle: #6b7280;
  --bsp-h3-gal-media-bg: #f3f4f6;
  --bsp-h3-gal-padding-y: 56px;
  --bsp-h3-gal-gap: 16px;
  --bsp-h3-gal-radius: 16px;
  --bsp-h3-gal-min-height: 220px;
  background: var(--bsp-h3-gal-section-bg);
  padding: var(--bsp-h3-gal-padding-y) 0;
}

.bsp-h3-gallery__container {
  max-width: var(--bsp-container, 1600px);
  margin: 0 auto;
  padding: 0 20px;
}

.bsp-h3-gallery__header {
  margin-bottom: 28px;
}

.bsp-h3-gallery__intro {
  max-width: 640px;
}

.bsp-h3-gallery__heading {
  margin: 0 0 8px;
  color: var(--bsp-h3-gal-heading);
  font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.bsp-h3-gallery__subtitle {
  margin: 0;
  color: var(--bsp-h3-gal-subtitle);
  font-size: 0.975rem;
  line-height: 1.55;
}

.bsp-h3-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--bsp-h3-gal-gap);
}

.bsp-h3-gallery__grid--bento {
  grid-template-rows: repeat(3, minmax(var(--bsp-h3-gal-min-height), 1fr));
}

.bsp-h3-gallery__grid--bento .bsp-h3-gallery__item--1 {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.bsp-h3-gallery__grid--bento .bsp-h3-gallery__item--2 {
  grid-column: 3;
  grid-row: 1;
}

.bsp-h3-gallery__grid--bento .bsp-h3-gallery__item--3 {
  grid-column: 3;
  grid-row: 2;
}

.bsp-h3-gallery__grid--bento .bsp-h3-gallery__item--4 {
  grid-column: 1;
  grid-row: 3;
}

.bsp-h3-gallery__grid--bento .bsp-h3-gallery__item--5 {
  grid-column: 2;
  grid-row: 3;
}

.bsp-h3-gallery__grid--bento .bsp-h3-gallery__item--6 {
  grid-column: 3;
  grid-row: 3;
}

.bsp-h3-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: var(--bsp-h3-gal-min-height);
  border: 0;
  border-radius: var(--bsp-h3-gal-radius);
  background: var(--bsp-h3-gal-media-bg);
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
}

.bsp-h3-gallery__media {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.bsp-h3-gallery__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s ease;
}

.bsp-h3-gallery__item:hover .bsp-h3-gallery__media img,
.bsp-h3-gallery__item:focus-within .bsp-h3-gallery__media img {
  transform: scale(1.04);
}

.bsp-h3-gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 18px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.55) 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.bsp-h3-gallery__item:hover .bsp-h3-gallery__caption,
.bsp-h3-gallery__item:focus-within .bsp-h3-gallery__caption {
  opacity: 1;
  transform: translateY(0);
}

.bsp-h3-gallery__caption-text {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.bsp-h3-gallery__empty-note {
  margin: 0;
  padding: 24px 0;
  color: var(--bsp-h3-gal-subtitle);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 900px) {
  .bsp-h3-gallery__header {
    margin-bottom: 20px;
  }

  .bsp-h3-gallery__grid,
  .bsp-h3-gallery__grid--bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .bsp-h3-gallery__grid--bento .bsp-h3-gallery__item--1,
  .bsp-h3-gallery__grid--bento .bsp-h3-gallery__item--2,
  .bsp-h3-gallery__grid--bento .bsp-h3-gallery__item--3,
  .bsp-h3-gallery__grid--bento .bsp-h3-gallery__item--4,
  .bsp-h3-gallery__grid--bento .bsp-h3-gallery__item--5,
  .bsp-h3-gallery__grid--bento .bsp-h3-gallery__item--6 {
    grid-column: auto;
    grid-row: auto;
  }

  .bsp-h3-gallery__grid--bento .bsp-h3-gallery__item--1 {
    grid-column: 1 / -1;
    min-height: 280px;
  }
}

@media (max-width: 576px) {
  .bsp-h3-gallery__grid,
  .bsp-h3-gallery__grid--bento {
    grid-template-columns: 1fr;
  }

  .bsp-h3-gallery__item {
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bsp-h3-gallery__media img,
  .bsp-h3-gallery__caption {
    transition: none;
  }

  .bsp-h3-gallery__item:hover .bsp-h3-gallery__media img,
  .bsp-h3-gallery__item:focus-within .bsp-h3-gallery__media img {
    transform: none;
  }
}

@media (hover: none) {
  .bsp-h3-gallery__caption {
    opacity: 1;
    transform: none;
  }
}

/* Gallery fullscreen lightbox */

.bsp-h3-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bsp-h3-gallery-lightbox[hidden] {
  display: none !important;
}

.bsp-h3-gallery-lightbox.is-open {
  display: flex;
}

body.bsp-h3-gallery-open {
  overflow: hidden;
}

.bsp-h3-gallery-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.92);
  cursor: zoom-out;
}

.bsp-h3-gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 1200px);
  max-height: calc(100vh - 40px);
  outline: none;
}

.bsp-h3-gallery-lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
  max-width: 100%;
  max-height: calc(100vh - 220px);
}

.bsp-h3-gallery-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 260px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  background: #111;
}

.bsp-h3-gallery-lightbox__caption {
  margin: 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

.bsp-h3-gallery-lightbox__caption:empty {
  display: none;
}

.bsp-h3-gallery-lightbox__close,
.bsp-h3-gallery-lightbox__nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.bsp-h3-gallery-lightbox__close:hover,
.bsp-h3-gallery-lightbox__nav:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.2);
}

.bsp-h3-gallery-lightbox__close {
  top: 0;
  right: 0;
}

.bsp-h3-gallery-lightbox__nav--prev {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.bsp-h3-gallery-lightbox__nav--next {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.bsp-h3-gallery-lightbox__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.bsp-h3-gallery-lightbox__counter {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.bsp-h3-gallery-lightbox__thumbs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 720px;
  margin-top: 14px;
  padding: 4px 2px 2px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.bsp-h3-gallery-lightbox__thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bsp-h3-gallery-lightbox__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bsp-h3-gallery-lightbox__thumb:hover {
  opacity: 0.9;
}

.bsp-h3-gallery-lightbox__thumb.is-active {
  border-color: #ffffff;
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .bsp-h3-gallery-lightbox {
    padding: 12px;
  }

  .bsp-h3-gallery-lightbox__close {
    top: -4px;
    right: -4px;
  }

  .bsp-h3-gallery-lightbox__nav--prev {
    left: -4px;
  }

  .bsp-h3-gallery-lightbox__nav--next {
    right: -4px;
  }

  .bsp-h3-gallery-lightbox__close,
  .bsp-h3-gallery-lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .bsp-h3-gallery-lightbox__image {
    max-height: calc(100vh - 240px);
  }

  .bsp-h3-gallery-lightbox__thumb {
    width: 52px;
    height: 52px;
  }
}

/* -------------------------------------------------------------------------- */
/* Testimonials                                                               */
/* -------------------------------------------------------------------------- */

.bsp-h3-ts {
  --bsp-h3-ts-section-bg: #f4f6f8;
  --bsp-h3-ts-heading: #111111;
  --bsp-h3-ts-subtitle: #6b7280;
  --bsp-h3-ts-card-bg: #ffffff;
  --bsp-h3-ts-quote: #374151;
  --bsp-h3-ts-name: #111111;
  --bsp-h3-ts-role: #9ca3af;
  --bsp-h3-ts-star: #e2a93b;
  --bsp-h3-ts-padding-y: 56px;
  --bsp-h3-ts-gap: 20px;
  --bsp-h3-ts-radius: 16px;
  --bsp-h3-ts-cols: 3;
  background: var(--bsp-h3-ts-section-bg);
  padding: var(--bsp-h3-ts-padding-y) 0;
}

.bsp-h3-ts__container {
  max-width: var(--bsp-container, 1600px);
  margin: 0 auto;
  padding: 0 20px;
}

.bsp-h3-ts__header {
  max-width: 640px;
  margin: 0 0 32px;
}

.bsp-h3-ts__heading {
  margin: 0 0 8px;
  color: var(--bsp-h3-ts-heading);
  font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.bsp-h3-ts__subtitle {
  margin: 0;
  color: var(--bsp-h3-ts-subtitle);
  font-size: 0.975rem;
  line-height: 1.55;
}

.bsp-h3-ts__slider {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.bsp-h3-ts__arrow {
  position: absolute;
  top: 42%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bsp-h3-ts__arrow--prev {
  left: -8px;
}

.bsp-h3-ts__arrow--next {
  right: -8px;
}

.bsp-h3-ts__arrow:hover:not(:disabled) {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.bsp-h3-ts__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.bsp-h3-ts__carousel {
  flex: 1 1 auto;
  min-width: 0;
  --bsp-h3-ts-card-width: calc((100% - (var(--bsp-h3-ts-gap) * (var(--bsp-h3-ts-cols) - 1))) / var(--bsp-h3-ts-cols));
}

.bsp-h3-ts__viewport {
  overflow: hidden;
  width: 100%;
}

.bsp-h3-ts__track {
  display: flex;
  gap: var(--bsp-h3-ts-gap);
}

.bsp-h3-ts__carousel.is-slider .bsp-h3-ts__card {
  flex: 0 0 var(--bsp-h3-ts-card-width);
  width: var(--bsp-h3-ts-card-width);
}

.bsp-h3-ts__carousel:not(.is-slider) .bsp-h3-ts__track {
  display: grid;
  grid-template-columns: repeat(var(--bsp-h3-ts-cols), minmax(0, 1fr));
}

.bsp-h3-ts__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  min-height: 100%;
  padding: 28px 24px;
  border-radius: var(--bsp-h3-ts-radius);
  background: var(--bsp-h3-ts-card-bg);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

.bsp-h3-ts__stars {
  display: flex;
  gap: 3px;
}

.bsp-h3-ts__star {
  color: #d1d5db;
  font-size: 14px;
  line-height: 1;
}

.bsp-h3-ts__star.is-filled {
  color: var(--bsp-h3-ts-star);
}

.bsp-h3-ts__quote {
  margin: 0;
  flex: 1 1 auto;
}

.bsp-h3-ts__quote p {
  margin: 0;
  color: var(--bsp-h3-ts-quote);
  font-size: 0.975rem;
  font-weight: 400;
  line-height: 1.65;
}

.bsp-h3-ts__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.bsp-h3-ts__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.bsp-h3-ts__avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #4b5563;
  font-size: 1rem;
  font-weight: 700;
}

.bsp-h3-ts__meta {
  min-width: 0;
}

.bsp-h3-ts__name,
.bsp-h3-ts__role {
  margin: 0;
  line-height: 1.35;
}

.bsp-h3-ts__name {
  color: var(--bsp-h3-ts-name);
  font-size: 0.9375rem;
  font-weight: 600;
}

.bsp-h3-ts__role {
  margin-top: 2px;
  color: var(--bsp-h3-ts-role);
  font-size: 0.8125rem;
}

.bsp-h3-ts__empty-note {
  margin: 0;
  padding: 24px 0;
  color: var(--bsp-h3-ts-subtitle);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 1023px) {
  .bsp-h3-ts__carousel:not(.is-slider) .bsp-h3-ts__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .bsp-h3-ts__arrow--prev {
    left: 4px;
  }

  .bsp-h3-ts__arrow--next {
    right: 4px;
  }
}

@media (max-width: 639px) {
  .bsp-h3-ts__carousel:not(.is-slider) .bsp-h3-ts__track {
    grid-template-columns: 1fr;
  }

  .bsp-h3-ts__slider {
    padding: 0 38px;
  }

  .bsp-h3-ts__card {
    padding: 22px 18px;
  }

  .bsp-h3-ts__quote p {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .bsp-h3-ts__arrow {
    width: 34px;
    height: 34px;
  }

  .bsp-h3-ts__arrow--prev {
    left: 0;
  }

  .bsp-h3-ts__arrow--next {
    right: 0;
  }
}

/* -------------------------------------------------------------------------- */
/* News and Updates (blog grid)                                               */
/* -------------------------------------------------------------------------- */

.bsp-h3-blog {
  --bsp-h3-blog-section-bg: #ffffff;
  --bsp-h3-blog-heading: #111111;
  --bsp-h3-blog-view-all: #111111;
  --bsp-h3-blog-category-bg: #eceff2;
  --bsp-h3-blog-category-text: #374151;
  --bsp-h3-blog-meta: #6b7280;
  --bsp-h3-blog-card-title: #111111;
  --bsp-h3-blog-btn-border: #111111;
  --bsp-h3-blog-btn-text: #111111;
  --bsp-h3-blog-btn-hover-bg: #111111;
  --bsp-h3-blog-btn-hover-text: #ffffff;
  --bsp-h3-blog-padding-y: 56px;
  --bsp-h3-blog-gap: 24px;
  --bsp-h3-blog-radius: 14px;
  --bsp-h3-blog-cols: 4;
  background: var(--bsp-h3-blog-section-bg);
  padding: var(--bsp-h3-blog-padding-y) 0;
}

.bsp-h3-blog__container {
  max-width: var(--bsp-container, 1600px);
  margin: 0 auto;
  padding: 0 20px;
}

.bsp-h3-blog__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.bsp-h3-blog__heading {
  margin: 0;
  color: var(--bsp-h3-blog-heading);
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  font-weight: 700;
  line-height: 1.25;
}

.bsp-h3-blog__view-all {
  flex-shrink: 0;
  color: var(--bsp-h3-blog-view-all);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bsp-h3-blog__view-all:hover,
.bsp-h3-blog__view-all:focus-visible {
  opacity: 0.75;
}

.bsp-h3-blog__grid {
  display: grid;
  grid-template-columns: repeat(var(--bsp-h3-blog-cols, 4), minmax(0, 1fr));
  gap: var(--bsp-h3-blog-gap);
}

.bsp-h3-blog__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bsp-h3-blog__media {
  display: block;
  overflow: hidden;
  border-radius: var(--bsp-h3-blog-radius);
  background: #f3f4f6;
  aspect-ratio: 4 / 3;
}

.bsp-h3-blog__image,
.bsp-h3-blog__image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.bsp-h3-blog__image-placeholder {
  background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
}

.bsp-h3-blog__media:hover .bsp-h3-blog__image,
.bsp-h3-blog__media:focus-visible .bsp-h3-blog__image {
  transform: scale(1.04);
}

.bsp-h3-blog__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 14px;
}

.bsp-h3-blog__category {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bsp-h3-blog-category-bg);
  color: var(--bsp-h3-blog-category-text);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
}

.bsp-h3-blog__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bsp-h3-blog-meta);
  font-size: 0.8125rem;
  line-height: 1.3;
}

.bsp-h3-blog__date-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.bsp-h3-blog__card-title {
  margin: 12px 0 0;
  color: var(--bsp-h3-blog-card-title);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.bsp-h3-blog__card-title a {
  color: inherit;
  text-decoration: none;
}

.bsp-h3-blog__card-title a:hover,
.bsp-h3-blog__card-title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bsp-h3-blog__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 18px;
  padding: 10px 22px;
  border: 1px solid var(--bsp-h3-blog-btn-border);
  border-radius: 6px;
  background: transparent;
  color: var(--bsp-h3-blog-btn-text);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bsp-h3-blog__btn:hover,
.bsp-h3-blog__btn:focus-visible {
  background: var(--bsp-h3-blog-btn-hover-bg);
  border-color: var(--bsp-h3-blog-btn-hover-bg);
  color: var(--bsp-h3-blog-btn-hover-text);
}

.bsp-h3-blog__empty-note {
  margin: 0;
  padding: 24px 0;
  color: #6b7280;
  font-size: 0.9375rem;
}

@media (max-width: 1100px) {
  .bsp-h3-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bsp-h3-blog__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 22px;
  }

  .bsp-h3-blog__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bsp-h3-blog__card-title {
    font-size: 1rem;
  }

  .bsp-h3-blog__btn {
    width: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/* Store Features (USP strip)                                                 */
/* -------------------------------------------------------------------------- */

.bsp-h3-usps {
  --bsp-h3-usps-section-bg: #ffffff;
  --bsp-h3-usps-icon: #111111;
  --bsp-h3-usps-title: #111111;
  --bsp-h3-usps-text: #6b7280;
  --bsp-h3-usps-padding-y: 40px;
  --bsp-h3-usps-gap: 24px;
  --bsp-h3-usps-cols: 5;
  background: var(--bsp-h3-usps-section-bg);
  padding: var(--bsp-h3-usps-padding-y) 0;
}

.bsp-h3-usps__container {
  max-width: var(--bsp-container, 1600px);
  margin: 0 auto;
  padding: 0 20px;
}

.bsp-h3-usps__grid {
  display: grid;
  grid-template-columns: repeat(var(--bsp-h3-usps-cols, 5), minmax(0, 1fr));
  gap: var(--bsp-h3-usps-gap);
  align-items: start;
}

.bsp-h3-usps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.bsp-h3-usps__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--bsp-h3-usps-icon);
  font-size: 28px;
  line-height: 1;
}

.bsp-h3-usps__title {
  margin: 0 0 8px;
  color: var(--bsp-h3-usps-title);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.bsp-h3-usps__text {
  margin: 0;
  max-width: 220px;
  color: var(--bsp-h3-usps-text);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .bsp-h3-usps__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .bsp-h3-usps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }

  .bsp-h3-usps__text {
    max-width: 260px;
  }
}

@media (max-width: 420px) {
  .bsp-h3-usps {
    padding: 32px 0;
  }

  .bsp-h3-usps__icon {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .bsp-h3-usps__title {
    font-size: 0.875rem;
  }

  .bsp-h3-usps__text {
    max-width: none;
    font-size: 0.75rem;
  }
}
