/* ══════════════════════════════════════════
   SHOP BY CATEGORY
══════════════════════════════════════════ */
.shop-by-category {
  background-color: #eeece4;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.bubble-cluster {
  position: absolute;
  pointer-events: none;
}
.bubble-cluster--tr {
  top: -10px;
  right: 140px;
  width: 210px;
  height: 200px;
}
.bubble-cluster--bl {
  bottom: 10px;
  left: -20px;
  width: 160px;
  height: 150px;
}
.bubble-cluster svg {
  width: 100%;
  height: 100%;
}

.sbc__header {
  text-align: center;
  margin-bottom: 48px;
}
.sbc__label {
  color: var(--brown);
  display: block;
  margin-bottom: 10px;
}
.sbc__title {
  font: var(--h2);
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.sbc__divider {
  margin-bottom: 30px;
}
.sbc__divider svg {
  width: 80px;
  height: 14px;
}
.sbc__desc {
  margin: 0 auto;
  text-align: center;
}

.sbc__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.sbc__card {
  background: #ffffff;
  background-image: url("https://torontovape360.com/wp-content/themes/vapestore/assets/img/icon/card-bg.svg");
  background-repeat: no-repeat;
  background-position: bottom right; /* adjust as needed */
  background-size: contain; /* or cover */
  border-radius: 16px;
  padding: 32px 40px 32px 32px;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.sbc__card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.sbc__card-img {
  flex-shrink: 0;
  width: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sbc__card-img img {
  width: 100%;
  object-fit: contain;
  display: block;
}
.sbc__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.sbc__card-desc {
  color: var(--black);
  max-width: 300px;
}

/* Shop by category responsive */
@media (max-width: 1024px) {
  .sbc__card-img {
    width: 140px;
  }
  .sbc__card-img img {
    height: 190px;
  }
}
 
@media (max-width: 900px) {
  .sbc__grid {
    grid-template-columns: 1fr;
  }
  .sbc__card {
    padding: 28px 32px;
  }
  .sbc__card-img {
    width: 130px;
  }
  .sbc__card-img img {
    height: 170px;
  }
}
 
@media (max-width: 768px) {
  .shop-by-category {
    padding: 120px 0 120px;
  }
  .sbc__title {
    font-size: 36px;
  }
  .sbc__grid {
    gap: 16px;
  }
}
 
@media (max-width: 480px) {
  .sbc__card {
    flex-direction: column;
    align-items: center; /* center whole card content */
    text-align: center;  /* center text */
    padding: 24px 20px;
    gap: 20px;
  }
  .sbc__card-img {
    width: 100%;
    justify-content: center;
  }
  .sbc__card-body {
    align-items: center; /* center inner content */
  }
  .sbc__card-img img {
    width: 120px;
    height: 150px;
  }
  .sbc__title {
    font-size: 28px;
  }
  .sbc__card-desc {
    max-width: 100%;
  }
}