/* Homepage 2 — Machic-style electronics homepage */

#bsp-homepage-2 {
  background: #ffffff;
}

/* ============ Hero banner ============ */

.bsp-h2-hero {
  --bsp-h2-hero-bg: #f4f4f4;
  --bsp-h2-hero-min-height: 480px;
  --bsp-h2-hero-badge-bg: #ffb400;
  --bsp-h2-hero-badge-text: #1a1a1a;
  --bsp-h2-hero-title: #1a1a1a;
  --bsp-h2-hero-text: #1a1a1a;
  --bsp-h2-hero-highlight: #e52727;
  --bsp-h2-hero-btn-bg: #1668e3;
  --bsp-h2-hero-btn-text: #ffffff;
  --bsp-h2-hero-btn-hover-bg: #0f56c4;
  --bsp-h2-hero-dot: #1668e3;
  --bsp-h2-hero-title-size: 48px;

  padding: 24px 0 32px;
  background: #ffffff;
}

.bsp-h2-hero__viewport {
  position: relative;
  background: var(--bsp-h2-hero-bg);
  border-radius: 6px;
  overflow: hidden;
}

.bsp-h2-hero__track {
  display: flex;
  transition: transform 0.55s ease;
}

.bsp-h2-hero__slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: var(--bsp-h2-hero-min-height);
}

.bsp-h2-hero__content {
  padding: 48px 24px 48px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.bsp-h2-hero__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--bsp-h2-hero-badge-bg);
  color: var(--bsp-h2-hero-badge-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bsp-h2-hero__title {
  margin: 0;
  color: var(--bsp-h2-hero-title);
  font-size: var(--bsp-h2-hero-title-size);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.bsp-h2-hero__title-line,
.bsp-h2-hero__title-bold {
  display: block;
}

.bsp-h2-hero__title-bold {
  font-weight: 800;
}

.bsp-h2-hero__text {
  margin: 0;
  color: var(--bsp-h2-hero-text);
  font-size: 17px;
}

.bsp-h2-hero__highlight {
  color: var(--bsp-h2-hero-highlight);
  font-weight: 800;
  font-size: 1.35em;
  line-height: 1;
}

.bsp-h2-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.bsp-h2-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 999px;
  background: var(--bsp-h2-hero-btn-bg);
  color: var(--bsp-h2-hero-btn-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bsp-h2-hero__btn:hover {
  background: var(--bsp-h2-hero-btn-hover-bg);
  transform: translateY(-1px);
}

.bsp-h2-hero__btn--secondary {
  border: 1px solid var(--bsp-h2-hero-title);
  background: transparent;
  color: var(--bsp-h2-hero-title);
}

.bsp-h2-hero__btn--secondary:hover {
  border-color: var(--bsp-h2-hero-btn-hover-bg);
  background: var(--bsp-h2-hero-btn-hover-bg);
  color: var(--bsp-h2-hero-btn-text);
}

.bsp-h2-hero__media {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 100%;
  overflow: hidden;
}

.bsp-h2-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- Dots ---- */

.bsp-h2-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}

.bsp-h2-hero__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bsp-h2-hero-dot);
  opacity: 0.3;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bsp-h2-hero__dot.is-active {
  opacity: 1;
  transform: scale(1.15);
}

/* ---- Customizer empty note ---- */

.bsp-h2-hero--empty .bsp-h2-hero__empty-note {
  margin: 0;
  padding: 48px 24px;
  text-align: center;
  background: var(--bsp-h2-hero-bg);
  border-radius: 6px;
  color: #6b7280;
}

/* ============ Brand logos strip ============ */

.bsp-h2-brands {
  --bsp-h2-brands-bg: #ffffff;
  --bsp-h2-brands-text: #b3b3b3;
  --bsp-h2-brands-logo-h: 32px;
  --bsp-h2-brands-gap: 64px;

  padding: 28px 0 36px;
  background: var(--bsp-h2-brands-bg);
}

.bsp-h2-brands__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px var(--bsp-h2-brands-gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

.bsp-h2-brands__item {
  display: flex;
}

.bsp-h2-brands__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.bsp-h2-brands__image {
  display: block;
  max-height: var(--bsp-h2-brands-logo-h);
  width: auto;
  object-fit: contain;
}

.bsp-h2-brands__wordmark {
  color: var(--bsp-h2-brands-text);
  font-size: calc(var(--bsp-h2-brands-logo-h) * 0.62);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

/* Grayscale effect: muted by default, full color on hover */
.bsp-h2-brands--grayscale .bsp-h2-brands__image {
  filter: grayscale(1);
  opacity: 0.55;
}

.bsp-h2-brands--grayscale .bsp-h2-brands__logo:hover .bsp-h2-brands__image {
  filter: grayscale(0);
  opacity: 1;
}

.bsp-h2-brands--grayscale a.bsp-h2-brands__logo:hover .bsp-h2-brands__wordmark {
  color: #6b7280;
}

/* ============ Responsive ============ */

@media (max-width: 1199px) {
  .bsp-h2-hero__content {
    padding: 40px 20px 40px 48px;
  }

  .bsp-h2-hero__title {
    font-size: calc(var(--bsp-h2-hero-title-size) * 0.85);
  }
}

/* ---- Tablet & mobile: full-width image with content on top ---- */
@media (max-width: 992px) {
  .bsp-h2-hero {
    padding: 16px 0 24px;
  }

  .bsp-h2-hero__slide {
    display: block;
    position: relative;
    min-height: calc(var(--bsp-h2-hero-min-height) * 0.85);
  }

  .bsp-h2-hero__media {
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .bsp-h2-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Readability scrim over the image */
  .bsp-h2-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.6) 55%,
      rgba(255, 255, 255, 0.35) 100%
    );
  }

  .bsp-h2-hero__content {
    position: relative;
    z-index: 2;
    min-height: calc(var(--bsp-h2-hero-min-height) * 0.85);
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 28px 48px;
    gap: 14px;
  }

  .bsp-h2-hero__title {
    font-size: calc(var(--bsp-h2-hero-title-size) * 0.7);
  }

  .bsp-h2-hero__text {
    font-size: 15px;
    max-width: 52ch;
  }

  .bsp-h2-hero__actions {
    justify-content: center;
  }

  .bsp-h2-hero__btn {
    padding: 11px 24px;
    font-size: 13px;
  }

  .bsp-h2-hero__dots {
    bottom: 14px;
  }
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
  .bsp-h2-brands {
    padding: 20px 0 26px;
  }

  .bsp-h2-brands__list {
    gap: 18px calc(var(--bsp-h2-brands-gap) * 0.5);
  }

  .bsp-h2-hero {
    padding: 12px 0 20px;
  }

  .bsp-h2-hero__slide,
  .bsp-h2-hero__content {
    min-height: calc(var(--bsp-h2-hero-min-height) * 0.72);
  }

  .bsp-h2-hero__content {
    padding: 32px 20px 44px;
    gap: 12px;
  }

  .bsp-h2-hero__title {
    font-size: clamp(26px, 7.5vw, calc(var(--bsp-h2-hero-title-size) * 0.62));
    line-height: 1.18;
  }

  .bsp-h2-hero__text {
    font-size: 14px;
    max-width: 46ch;
  }
}

/* ---- Small phones ---- */
@media (max-width: 480px) {
  .bsp-h2-hero__slide,
  .bsp-h2-hero__content {
    min-height: calc(var(--bsp-h2-hero-min-height) * 0.65);
  }

  .bsp-h2-hero__content {
    padding: 28px 16px 44px;
  }

  .bsp-h2-hero__badge {
    font-size: 10px;
    padding: 5px 12px;
  }

  .bsp-h2-hero__actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .bsp-h2-hero__btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ------------------------------------------------------------------
   Products showcase (two-column Machic layout)
------------------------------------------------------------------ */
.bsp-h2-showcase,
.bsp-h2-newprod {
  --bsp-h2-sc-accent: #1668e3;
  --bsp-h2-sc-title: #1a1a1a;
  --bsp-h2-sc-muted: #6b7280;
  --bsp-h2-sc-border: #e5e7eb;
  --bsp-h2-sc-banner-bg: #f3f5f7;
  --bsp-h2-sc-sale: #e52727;
  --bsp-h2-sc-badge-bg: #e52727;
  --bsp-h2-sc-badge-text: #ffffff;
  --bsp-h2-sc-top-badge: #16a34a;
  --bsp-h2-sc-progress: #ffb400;
  --bsp-h2-sc-coupon-bg: #101b3f;
  --bsp-h2-sc-coupon-text: #ffffff;

  padding: 36px 0 44px;
  background: #ffffff;
}

.bsp-h2-showcase__grid {
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.bsp-h2-showcase__side {
  display: grid;
  gap: 24px;
  position: sticky;
  top: 90px;
}

.bsp-h2-showcase__main {
  display: grid;
  gap: 28px;
}

/* Section headers (Best Sellers / Latest Deals) */
.bsp-h2-showcase__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--bsp-h2-sc-border);
}

.bsp-h2-showcase__title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--bsp-h2-sc-title);
}

.bsp-h2-showcase__view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bsp-h2-sc-accent);
  text-decoration: none;
}

.bsp-h2-showcase__view-all i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.bsp-h2-showcase__view-all:hover i {
  transform: translateX(3px);
}

/* Promo banners */
.bsp-h2-sc-banner {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bsp-h2-sc-banner-bg);
  min-height: 170px;
}

.bsp-h2-sc-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 26px 28px;
  max-width: 62%;
}

.bsp-h2-sc-banner__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bsp-h2-sc-accent);
}

.bsp-h2-sc-banner__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bsp-h2-sc-title);
}

.bsp-h2-sc-banner__text {
  margin: 0;
  font-size: 13px;
  color: var(--bsp-h2-sc-muted);
}

.bsp-h2-sc-banner__btn {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 8px 18px;
  border-radius: 3px;
  background: var(--bsp-h2-sc-accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.bsp-h2-sc-banner__btn:hover {
  filter: brightness(0.92);
  color: #ffffff;
}

.bsp-h2-sc-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bsp-h2-sc-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.bsp-h2-sc-banner--wide {
  min-height: 150px;
}

.bsp-h2-sc-banner--wide .bsp-h2-sc-banner__content {
  max-width: 46%;
}

/* Side (vertical) promo banner */
.bsp-h2-sc-banner--side {
  flex-direction: column;
  min-height: 380px;
}

.bsp-h2-sc-banner--side .bsp-h2-sc-banner__content {
  max-width: 100%;
  padding: 24px 22px 0;
  justify-content: flex-start;
}

.bsp-h2-sc-banner--side .bsp-h2-sc-banner__media {
  position: static;
  margin-top: auto;
}

.bsp-h2-sc-banner--side .bsp-h2-sc-banner__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}

/* Paired banners row */
.bsp-h2-showcase__banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* Products grid */
.bsp-h2-showcase__products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 22px;
}

/* Product card */
.bsp-h2-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bsp-h2-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 4px;
}

.bsp-h2-card__image-link {
  position: absolute;
  inset: 0;
  display: block;
}

.bsp-h2-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.bsp-h2-card:hover .bsp-h2-card__image {
  transform: scale(1.06);
}

.bsp-h2-card__image--secondary {
  opacity: 0;
  z-index: 1;
}

.bsp-h2-card:hover .bsp-h2-card__image--secondary {
  opacity: 1;
}

.bsp-h2-card:hover .bsp-h2-card__image-link:has(.bsp-h2-card__image--secondary) .bsp-h2-card__image:not(.bsp-h2-card__image--secondary) {
  opacity: 0;
}

/* Quick view button */
.bsp-h2-card__quick-view {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--bsp-h2-sc-title);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.bsp-h2-card:hover .bsp-h2-card__quick-view,
.bsp-h2-card:focus-within .bsp-h2-card__quick-view {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.bsp-h2-card__quick-view:hover {
  background: var(--bsp-h2-sc-accent);
  color: #ffffff;
}

.bsp-h2-card__quick-view i {
  font-size: 12px;
}

.bsp-h2-card__badge {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--bsp-h2-sc-badge-bg, #e52727);
  color: var(--bsp-h2-sc-badge-text, #ffffff);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.bsp-h2-card__badge--top {
  background: var(--bsp-h2-sc-top-badge, #16a34a);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 10px;
}

.bsp-h2-card__wishlist {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--bsp-h2-sc-muted);
  font-size: 15px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.bsp-h2-card__wishlist:hover,
.bsp-h2-card__wishlist.is-active {
  color: var(--bsp-h2-sc-sale);
}

.bsp-h2-card__wishlist.is-active i {
  font-weight: 900;
}

.bsp-h2-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bsp-h2-card__title {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.bsp-h2-card__title a {
  color: var(--bsp-h2-sc-title);
  text-decoration: none;
}

.bsp-h2-card__title a:hover {
  color: var(--bsp-h2-sc-accent);
}

.bsp-h2-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #ffb400;
}

.bsp-h2-card__rating .star-rating {
  font-size: 11px;
}

.bsp-h2-card__review-count {
  color: var(--bsp-h2-sc-muted);
}

.bsp-h2-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bsp-h2-card__price {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 700;
  color: var(--bsp-h2-sc-title);
}

.bsp-h2-card__price del {
  font-size: 13px;
  font-weight: 500;
  color: var(--bsp-h2-sc-muted);
}

.bsp-h2-card__price ins {
  text-decoration: none;
  color: var(--bsp-h2-sc-sale);
}

.bsp-h2-card__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--bsp-h2-sc-border);
  border-radius: 3px;
  color: var(--bsp-h2-sc-accent);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bsp-h2-card__cart:hover {
  background: var(--bsp-h2-sc-accent);
  border-color: var(--bsp-h2-sc-accent);
  color: #ffffff;
}

.bsp-h2-card__cart.added {
  display: none;
}

.bsp-h2-card__delivery,
.bsp-h2-card__stock-note {
  margin: 0;
  font-size: 11px;
  color: var(--bsp-h2-sc-muted);
}

.bsp-h2-card__stock-note {
  color: var(--bsp-h2-sc-sale);
}

/* Deal of the week card */
.bsp-h2-deal-week__heading {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  color: var(--bsp-h2-sc-title);
}

.bsp-h2-deal-week__card {
  border: 1px solid var(--bsp-h2-sc-border);
  border-radius: 4px;
  padding: 18px 18px 20px;
  background: #ffffff;
}

.bsp-h2-deal-week__card .bsp-h2-card__title a {
  color: var(--bsp-h2-sc-accent);
}

.bsp-h2-deal-week__countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.bsp-h2-deal-week__unit {
  min-width: 38px;
  padding: 8px 6px;
  border: 1px solid var(--bsp-h2-sc-border);
  border-radius: 3px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--bsp-h2-sc-title);
  font-variant-numeric: tabular-nums;
}

.bsp-h2-deal-week__sep {
  color: var(--bsp-h2-sc-muted);
  font-weight: 700;
}

.bsp-h2-deal-week__note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11px;
  color: var(--bsp-h2-sc-muted);
}

/* Latest deals wide cards */
.bsp-h2-deals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.bsp-h2-deal {
  display: flex;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--bsp-h2-sc-border);
  border-radius: 4px;
  background: #ffffff;
}

.bsp-h2-deal__media {
  position: relative;
  flex: 0 0 130px;
  overflow: hidden;
  border-radius: 4px;
}

.bsp-h2-deal__image-link {
  position: relative;
  display: block;
}

.bsp-h2-deal__media img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.bsp-h2-deal:hover .bsp-h2-deal__media img {
  transform: scale(1.06);
}

.bsp-h2-deal__image--secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
}

.bsp-h2-deal:hover .bsp-h2-deal__image--secondary {
  opacity: 1;
}

.bsp-h2-deal:hover .bsp-h2-deal__image-link:has(.bsp-h2-deal__image--secondary) .bsp-h2-deal__image:not(.bsp-h2-deal__image--secondary) {
  opacity: 0;
}

.bsp-h2-deal__quick-view {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--bsp-h2-sc-title);
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.bsp-h2-deal:hover .bsp-h2-deal__quick-view,
.bsp-h2-deal:focus-within .bsp-h2-deal__quick-view {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.bsp-h2-deal__quick-view:hover {
  background: var(--bsp-h2-sc-accent);
  color: #ffffff;
}

/* Card hover lift */
.bsp-h2-deal {
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.bsp-h2-deal:hover {
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.bsp-h2-deal__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.bsp-h2-deal__body .bsp-h2-card__price {
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
}

.bsp-h2-deal__progress {
  height: 4px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--bsp-h2-sc-border);
  overflow: hidden;
}

.bsp-h2-deal__progress-bar {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--bsp-h2-sc-progress);
}

.bsp-h2-deal__meta {
  display: flex;
  gap: 18px;
  margin: 0;
  font-size: 11px;
  color: var(--bsp-h2-sc-muted);
}

.bsp-h2-deal__meta strong {
  color: var(--bsp-h2-sc-title);
  font-weight: 600;
}

/* Coupon strip */
.bsp-h2-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
  border-radius: 4px;
  background: var(--bsp-h2-sc-coupon-bg);
  color: var(--bsp-h2-sc-coupon-text);
}

.bsp-h2-coupon__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.bsp-h2-coupon__line1 {
  font-size: 14px;
  font-weight: 700;
}

.bsp-h2-coupon__line2 {
  font-size: 12px;
  opacity: 0.7;
}

.bsp-h2-coupon__code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Category section (Smartphones & Accessories style) */
.bsp-h2-catsec__grid {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.bsp-h2-catsec__promo {
  border: 1px solid var(--bsp-h2-sc-border);
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  position: sticky;
  top: 90px;
}

.bsp-h2-catsec__promo .bsp-h2-sc-banner--cat {
  flex-direction: column;
  min-height: 300px;
  border-radius: 0;
}

.bsp-h2-catsec__promo .bsp-h2-sc-banner--cat .bsp-h2-sc-banner__content {
  max-width: 100%;
  padding: 24px 20px 0;
  justify-content: flex-start;
}

.bsp-h2-catsec__promo .bsp-h2-sc-banner--cat .bsp-h2-sc-banner__media {
  position: static;
  margin-top: auto;
}

.bsp-h2-catsec__promo .bsp-h2-sc-banner--cat .bsp-h2-sc-banner__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}

.bsp-h2-catsec__subcats {
  padding: 18px 20px 20px;
}

.bsp-h2-catsec__subcats-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bsp-h2-sc-title);
}

.bsp-h2-catsec__subcats-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bsp-h2-catsec__subcats-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.bsp-h2-catsec__subcats-item a {
  color: var(--bsp-h2-sc-muted);
  text-decoration: none;
}

.bsp-h2-catsec__subcats-item a:hover {
  color: var(--bsp-h2-sc-accent);
}

.bsp-h2-catsec__subcats-count {
  color: var(--bsp-h2-sc-muted);
  opacity: 0.75;
  white-space: nowrap;
}

.bsp-h2-catsec__products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* New Products & Trending section */
.bsp-h2-newprod {
  padding-top: 0;
}

.bsp-h2-newprod__grid {
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.bsp-h2-newprod__side {
  position: sticky;
  top: 90px;
}

.bsp-h2-newprod__main {
  display: grid;
  gap: 28px;
}

.bsp-h2-newprod__side-title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bsp-h2-sc-border);
  font-size: 17px;
  font-weight: 600;
  color: var(--bsp-h2-sc-title);
}

/* Trending list */
.bsp-h2-trending {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bsp-h2-trending__item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bsp-h2-trending__thumb {
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--bsp-h2-sc-border);
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
}

.bsp-h2-trending__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.bsp-h2-trending__item:hover .bsp-h2-trending__thumb img {
  transform: scale(1.08);
}

.bsp-h2-trending__body {
  min-width: 0;
}

.bsp-h2-trending__title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.bsp-h2-trending__title a {
  color: var(--bsp-h2-sc-title);
  text-decoration: none;
}

.bsp-h2-trending__title a:hover {
  color: var(--bsp-h2-sc-accent);
}

.bsp-h2-trending__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--bsp-h2-sc-title);
}

.bsp-h2-trending__price del {
  font-size: 12px;
  font-weight: 500;
  color: var(--bsp-h2-sc-muted);
  margin-left: 6px;
}

.bsp-h2-trending__price ins {
  text-decoration: none;
  color: var(--bsp-h2-sc-sale);
}

/* Category feature cards */
.bsp-h2-npcats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.bsp-h2-npcat {
  display: flex;
  gap: 18px;
  padding: 22px 20px;
  border: 1px solid var(--bsp-h2-sc-border);
  border-radius: 4px;
  background: #ffffff;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.bsp-h2-npcat:hover {
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.bsp-h2-npcat__media {
  flex: 0 0 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bsp-h2-npcat__media img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
}

.bsp-h2-npcat__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.bsp-h2-npcat__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
}

.bsp-h2-npcat__title a {
  color: var(--bsp-h2-sc-title);
  text-decoration: none;
}

.bsp-h2-npcat__title a:hover {
  color: var(--bsp-h2-sc-accent);
}

.bsp-h2-npcat__links {
  display: grid;
  gap: 7px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.bsp-h2-npcat__links a {
  font-size: 12px;
  color: var(--bsp-h2-sc-muted);
  text-decoration: none;
}

.bsp-h2-npcat__links a:hover {
  color: var(--bsp-h2-sc-accent);
}

.bsp-h2-npcat__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--bsp-h2-sc-accent);
  text-decoration: none;
}

.bsp-h2-npcat__all i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.bsp-h2-npcat__all:hover i {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1100px) {
  .bsp-h2-showcase__products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bsp-h2-npcats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .bsp-h2-showcase__grid {
    grid-template-columns: 1fr;
  }

  .bsp-h2-showcase__side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    position: static;
  }

  .bsp-h2-showcase__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bsp-h2-catsec__grid {
    grid-template-columns: 1fr;
  }

  .bsp-h2-catsec__promo {
    position: static;
  }

  .bsp-h2-newprod__grid {
    grid-template-columns: 1fr;
  }

  .bsp-h2-newprod__side {
    position: static;
  }
}

@media (max-width: 767px) {
  .bsp-h2-showcase {
    padding: 26px 0 32px;
  }

  .bsp-h2-showcase__side {
    grid-template-columns: 1fr;
  }

  .bsp-h2-showcase__banners,
  .bsp-h2-deals {
    grid-template-columns: 1fr;
  }

  .bsp-h2-sc-banner--wide .bsp-h2-sc-banner__content,
  .bsp-h2-sc-banner__content {
    max-width: 74%;
    padding: 22px 20px;
  }

  .bsp-h2-coupon {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
  }
}

@media (max-width: 767px) {
  .bsp-h2-npcats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .bsp-h2-showcase__products {
    grid-template-columns: 1fr;
  }

  .bsp-h2-deal {
    flex-direction: column;
  }

  .bsp-h2-deal__media {
    flex-basis: auto;
  }
}

/* ------------------------------------------------------------------
   Featured Products — horizontal specification cards
------------------------------------------------------------------ */
.bsp-h2-featured {
  --bsp-h2-ft-bg: #ffffff;
  --bsp-h2-ft-title: #1a1a1a;
  --bsp-h2-ft-muted: #6b7280;
  --bsp-h2-ft-border: #e5e7eb;
  --bsp-h2-ft-accent: #1668e3;
  --bsp-h2-ft-sale: #e52727;
  --bsp-h2-ft-badge-bg: #e52727;
  --bsp-h2-ft-badge-text: #ffffff;
  --bsp-h2-ft-top-badge: #f97316;
  --bsp-h2-ft-card-bg: #ffffff;

  padding: 36px 0 48px;
  background: var(--bsp-h2-ft-bg);
}

.bsp-h2-featured__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--bsp-h2-ft-border);
}

.bsp-h2-featured__heading {
  margin: 0;
  color: var(--bsp-h2-ft-title);
  font-size: 17px;
  font-weight: 600;
}

.bsp-h2-featured__view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bsp-h2-ft-accent);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.bsp-h2-featured__view-all i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.bsp-h2-featured__view-all:hover i {
  transform: translateX(3px);
}

.bsp-h2-featured__grid {
  display: grid;
  grid-template-columns: repeat(var(--bsp-h2-ft-columns, 3), minmax(0, 1fr));
  gap: 34px 28px;
}

.bsp-h2-featured__card {
  display: grid;
  grid-template-columns: minmax(108px, 42%) minmax(0, 1fr);
  gap: 17px;
  min-width: 0;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--bsp-h2-ft-card-bg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.bsp-h2-featured__card:hover {
  border-color: var(--bsp-h2-ft-border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
  transform: translateY(-3px);
}

.bsp-h2-featured__media {
  position: relative;
  min-height: 166px;
  overflow: hidden;
  border-radius: 4px;
}

.bsp-h2-featured__image-link {
  position: absolute;
  inset: 0;
  display: block;
}

.bsp-h2-featured__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.bsp-h2-featured__card:hover .bsp-h2-featured__image {
  transform: scale(1.06);
}

.bsp-h2-featured__image--secondary {
  z-index: 1;
  opacity: 0;
}

.bsp-h2-featured__card:hover .bsp-h2-featured__image--secondary {
  opacity: 1;
}

.bsp-h2-featured__card:hover .bsp-h2-featured__image-link:has(.bsp-h2-featured__image--secondary) .bsp-h2-featured__image:not(.bsp-h2-featured__image--secondary) {
  opacity: 0;
}

.bsp-h2-featured__badge {
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: 3;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--bsp-h2-ft-badge-bg);
  color: var(--bsp-h2-ft-badge-text);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.bsp-h2-featured__badge--top {
  background: var(--bsp-h2-ft-top-badge);
  text-transform: uppercase;
}

.bsp-h2-featured__wishlist {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--bsp-h2-ft-border);
  border-radius: 50%;
  background: var(--bsp-h2-ft-card-bg);
  color: var(--bsp-h2-ft-muted);
  font-size: 13px;
  cursor: pointer;
}

.bsp-h2-featured__wishlist:hover,
.bsp-h2-featured__wishlist.is-active {
  color: var(--bsp-h2-ft-sale);
}

.bsp-h2-featured__wishlist.is-active i {
  font-weight: 900;
}

.bsp-h2-featured__quick-view {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bsp-h2-ft-card-bg);
  color: var(--bsp-h2-ft-title);
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.bsp-h2-featured__card:hover .bsp-h2-featured__quick-view,
.bsp-h2-featured__card:focus-within .bsp-h2-featured__quick-view {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.bsp-h2-featured__quick-view:hover {
  background: var(--bsp-h2-ft-accent);
  color: #ffffff;
}

.bsp-h2-featured__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 7px 0;
}

.bsp-h2-featured__title {
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.bsp-h2-featured__title a {
  color: var(--bsp-h2-ft-title);
  text-decoration: none;
}

.bsp-h2-featured__title a:hover {
  color: var(--bsp-h2-ft-accent);
}

.bsp-h2-featured__rating {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: #ffb400;
  font-size: 11px;
}

.bsp-h2-featured__rating .star-rating {
  font-size: 10px;
}

.bsp-h2-featured__rating > span {
  color: var(--bsp-h2-ft-muted);
}

.bsp-h2-featured__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 9px;
  color: var(--bsp-h2-ft-title);
  font-size: 15px;
  font-weight: 700;
}

.bsp-h2-featured__price del {
  color: var(--bsp-h2-ft-muted);
  font-size: 11px;
  font-weight: 500;
}

.bsp-h2-featured__price ins {
  color: var(--bsp-h2-ft-sale);
  text-decoration: none;
}

.bsp-h2-featured__specs {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0 0 0 13px;
  color: var(--bsp-h2-ft-muted);
  font-size: 10px;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .bsp-h2-featured__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .bsp-h2-featured {
    padding: 28px 0 36px;
  }

  .bsp-h2-featured__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 420px) {
  .bsp-h2-featured__card {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 13px;
    padding: 7px;
  }

  .bsp-h2-featured__media {
    min-height: 145px;
  }
}

