/* Seller store homepage builder output — fills shared store box */
.kb-seller-store-homepage-builder-output {
  width: 100%;
  max-width: none;
  margin: 0 0 1rem;
  padding: 0;
  box-sizing: border-box;
}
/* Customer Reviews (left) + Newsletter Subscribe (right) in one row */
.kb-seller-store-homepage-builder-output--after-jfy {
  display: block;
  margin-bottom: 0 !important;
  padding: 0 0.75rem;
  box-sizing: border-box;
}
.kb-seller-store-homepage-builder-output--after-jfy:has(> .kb-shp-sec--testimonials):has(> .kb-shp-sec--newsletter) {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}
.kb-seller-store-homepage-builder-output--after-jfy > .kb-shp-sec {
  margin-bottom: 0;
  height: 100%;
}
.kb-seller-store-homepage-builder-output--after-jfy:has(> .kb-shp-sec--testimonials):has(> .kb-shp-sec--newsletter) > .kb-shp-sec--newsletter {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kb-seller-store-homepage-builder-output--after-jfy:has(> .kb-shp-sec--testimonials):has(> .kb-shp-sec--newsletter) .kb-shp-newsletter__form {
  flex-direction: column;
  align-items: stretch;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.kb-seller-store-homepage-builder-output--after-jfy:has(> .kb-shp-sec--testimonials):has(> .kb-shp-sec--newsletter) .kb-shp-newsletter__form .form-control,
.kb-seller-store-homepage-builder-output--after-jfy:has(> .kb-shp-sec--testimonials):has(> .kb-shp-sec--newsletter) .kb-shp-newsletter__form .kb-shp-btn {
  width: 100%;
}
.kb-seller-store-homepage-builder-output--after-jfy:has(> .kb-shp-sec--testimonials):has(> .kb-shp-sec--newsletter) .kb-shp-newsletter__sub {
  white-space: normal;
  text-align: left;
  max-width: 100%;
}
@media (max-width: 767.98px) {
  .kb-seller-store-homepage-builder-output--after-jfy:has(> .kb-shp-sec--testimonials):has(> .kb-shp-sec--newsletter) {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
}
.kb-shp-sec {
  margin-bottom: 1rem;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.kb-shp-sec--boxed .kb-shp-sec__inner.container,
.kb-shp-sec__inner.container {
  max-width: 100% !important;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  box-sizing: border-box;
}
.kb-shp-sec--announcement_bar,
.kb-shp-sec--announcement_bar .kb-shp-sec__inner.container {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100%;
  box-sizing: border-box;
}
.kb-shp-sec--announcement_bar .kb-shp-sec__inner.container {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.kb-shp-sec--hero_banner .kb-shp-sec__inner.container,
.kb-shp-sec--promo_banner .kb-shp-sec__inner.container,
.kb-shp-sec--image_slider .kb-shp-sec__inner.container {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

/* Hero banner: stay inside boxed store width (400×270 ratio), mobile-friendly */
.kb-seller-store-page .kb-shp-sec.kb-shp-sec--hero_banner {
  width: 100%;
  max-width: var(--kb-store-box-max, 1200px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
  overflow: hidden;
  box-sizing: border-box;
}
.kb-seller-store-page .kb-shp-sec--hero_banner .kb-shp-sec__inner.container {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.kb-seller-store-page .kb-shp-hero-carousel,
.kb-seller-store-page .kb-shp-hero-carousel .carousel-inner,
.kb-seller-store-page .kb-shp-hero-carousel .carousel-item,
.kb-seller-store-page .kb-shp-hero {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.kb-seller-store-page .kb-shp-hero {
  aspect-ratio: 400 / 135 !important;
  min-height: 0 !important;
  height: auto !important;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 0 !important;
}
@media (max-width: 767.98px) {
  .kb-seller-store-page .kb-shp-sec.kb-shp-sec--hero_banner {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .kb-seller-store-page .kb-shp-hero {
    border-radius: 0 !important;
  }
}
/* Keep all builder sections on the store content width */
.kb-seller-store-page .kb-seller-store-homepage-builder-output > .kb-shp-sec {
  max-width: var(--kb-store-box-max, 1200px);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
html.kb-layout-full .kb-seller-store-page .kb-seller-store-homepage-builder-output > .kb-shp-sec {
  max-width: none;
}
html.kb-layout-full .kb-seller-store-page .kb-shp-sec.kb-shp-sec--hero_banner {
  max-width: none !important;
  padding-left: var(--kb-front-pad-x, 1rem) !important;
  padding-right: var(--kb-front-pad-x, 1rem) !important;
}

/* Categories: same as homepage — mobile 5×2 slide, desktop ≤15 centered */
.kb-shp-sec--categories_grid,
.kb-shp-sec--categories_grid.kb-shp-sec--boxed,
.kb-shp-sec--categories_grid.kb-shp-sec--flush {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: visible !important;
}
.kb-shp-sec--categories_grid .kb-shp-sec__title {
  display: none !important;
}
.kb-shp-sec--categories_grid .kb-shp-sec__inner.container {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}
.kb-shp-sec--categories_grid .kb-seller-store-main-cats__strip.kb-shp-cats {
  display: block !important;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  container-type: inline-size;
  container-name: kb-shp-cats;
  background: transparent !important;
  border: 0 !important;
  justify-content: flex-start !important;
}
.kb-shp-sec--categories_grid .kb-seller-store-main-cats__strip.kb-shp-cats::-webkit-scrollbar {
  display: none;
}
.kb-shp-sec--categories_grid .kb-seller-store-main-cats__track {
  display: flex !important;
  flex-wrap: nowrap !important;
  grid-template-rows: none !important;
  grid-auto-flow: unset !important;
  grid-auto-columns: unset !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0.45rem !important;
  width: max-content !important;
  max-width: none !important;
  margin: 0 !important;
  background: transparent !important;
}
.kb-shp-sec--categories_grid .kb-seller-store-main-cats__item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 4.75rem !important;
  width: 4.75rem !important;
  min-width: 4.75rem !important;
  max-width: 4.75rem !important;
  text-decoration: none !important;
  transition: transform 0.18s ease;
}
.kb-shp-sec--categories_grid .kb-seller-store-main-cats__img-wrap {
  position: relative;
  width: 72px !important;
  max-width: 100%;
  height: 72px !important;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: hidden;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: transform 0.18s ease;
}
.kb-shp-sec--categories_grid .kb-seller-store-main-cats__img-wrap img,
.kb-shp-sec--categories_grid .kb-shp-cat-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.kb-shp-sec--categories_grid .kb-seller-store-main-cats__img-wrap--rotate .kb-shp-cat-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.92) translateY(6px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s ease;
  pointer-events: none;
}
.kb-shp-sec--categories_grid .kb-seller-store-main-cats__img-wrap--rotate .kb-shp-cat-img.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  z-index: 2;
}
.kb-shp-sec--categories_grid .kb-seller-store-main-cats__img-wrap--rotate.is-swapping .kb-shp-cat-img:not(.is-active) {
  opacity: 0;
  transform: scale(1.06) translateY(-4px);
  filter: blur(1px);
  z-index: 1;
}
.kb-shp-sec--categories_grid .kb-seller-store-main-cats__name {
  width: 100%;
  font-size: 0.68rem !important;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #374151;
  transition: color 0.18s ease;
}
.kb-shp-sec--categories_grid .kb-seller-store-main-cats__item:hover {
  transform: translateY(-3px);
  text-decoration: none !important;
}
.kb-shp-sec--categories_grid .kb-seller-store-main-cats__item:hover .kb-seller-store-main-cats__img-wrap {
  transform: scale(1.06);
}
.kb-shp-sec--categories_grid .kb-seller-store-main-cats__item:hover .kb-seller-store-main-cats__name {
  color: #0d9488;
}
.kb-shp-sec--categories_grid .kb-seller-store-main-cats__item:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 3px;
  border-radius: 6px;
}
@media (min-width: 768px) {
  .kb-shp-sec--categories_grid .kb-seller-store-main-cats__strip.kb-shp-cats {
    display: flex !important;
    justify-content: center !important;
    overflow-x: visible !important;
    width: 100%;
  }
  .kb-shp-sec--categories_grid .kb-seller-store-main-cats__track {
    display: flex !important;
    flex-wrap: wrap !important;
    grid-template-rows: none !important;
    grid-auto-flow: unset !important;
    grid-auto-columns: unset !important;
    justify-content: center !important;
    align-content: center !important;
    gap: 0.5rem 0.55rem !important;
    width: 100% !important;
    max-width: calc(15 * 4.75rem + 14 * 0.55rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .kb-shp-sec--categories_grid .kb-seller-store-main-cats__item {
    flex: 0 0 4.75rem !important;
    width: 4.75rem !important;
    max-width: 4.75rem !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kb-shp-sec--categories_grid .kb-seller-store-main-cats__img-wrap--rotate .kb-shp-cat-img {
    transition: none;
    filter: none;
  }
}

.kb-shp-sec--hero_banner .kb-shp-sec__inner.container,
.kb-shp-sec--promo_banner .kb-shp-sec__inner.container,
.kb-shp-sec--image_slider .kb-shp-sec__inner.container {
  padding-left: 0;
  padding-right: 0;
}
.kb-shp-announce {
  width: 100%;
  box-sizing: border-box;
}
.kb-shp-sec--full .kb-shp-sec__inner--full {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.kb-shp-sec__title { margin-bottom: 1rem; color: #111827; }
.kb-shp-hero-carousel {
  width: 100%;
  position: relative;
}
.kb-shp-hero-carousel .carousel-item {
  background: #eef2ff;
}
.kb-shp-hero-carousel .kb-shp-hero {
  min-height: inherit;
}
.kb-shp-hero-carousel__control {
  width: 42px;
  height: 42px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 50%;
  opacity: 1;
}
.kb-shp-hero-carousel__control:hover { background: rgba(15, 23, 42, 0.55); opacity: 1; }
.kb-shp-hero-carousel .carousel-control-prev { left: 10px; }
.kb-shp-hero-carousel .carousel-control-next { right: 10px; }
.kb-shp-hero-carousel__indicators {
  margin-bottom: 0.65rem;
}
.kb-shp-hero-carousel__indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.65);
}
.kb-shp-hero {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.kb-shp-hero__overlay {
  position: absolute;
  inset: 0;
  background: #0f172a;
  pointer-events: none;
  z-index: 0;
}
.kb-shp-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.kb-shp-hero--top_left { align-items: flex-start; justify-content: flex-start; }
.kb-shp-hero--top_center { align-items: flex-start; justify-content: center; }
.kb-shp-hero--top_right { align-items: flex-start; justify-content: flex-end; }
.kb-shp-hero--center { align-items: center; justify-content: center; }
.kb-shp-hero--bottom_left { align-items: flex-end; justify-content: flex-start; }
.kb-shp-hero--bottom_center { align-items: flex-end; justify-content: center; }
.kb-shp-hero--bottom_right { align-items: flex-end; justify-content: flex-end; }
.kb-shp-hero--top_right .kb-shp-hero__content,
.kb-shp-hero--bottom_right .kb-shp-hero__content { text-align: right; }
.kb-shp-hero--top_center .kb-shp-hero__content,
.kb-shp-hero--bottom_center .kb-shp-hero__content,
.kb-shp-hero--center .kb-shp-hero__content { text-align: center; }
.kb-shp-hero__title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: .5rem; color: #0f172a; text-shadow: 0 1px 2px rgba(255,255,255,.65); }
.kb-shp-hero__sub { color: #334155; margin-bottom: 1rem; text-shadow: 0 1px 2px rgba(255,255,255,.5); }
.kb-shp-btn--hero { margin-top: .25rem; }
.kb-shp-btn { display: inline-flex; align-items: center; justify-content: center; padding: .55rem 1.25rem; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; border: 0; }
.kb-shp-btn--wa { background: #25d366 !important; }
.kb-shp-wa-wrap { display: flex; width: 100%; }
.kb-shp-wa-wrap--left { justify-content: flex-start; }
.kb-shp-wa-wrap--center { justify-content: center; }
.kb-shp-wa-wrap--right { justify-content: flex-end; }

/* Live seller store: builder WhatsApp section becomes a frontend-style floating round button */
.kb-seller-store-page .kb-shp-sec--whatsapp_button {
  margin: 0;
  overflow: visible;
}
.kb-seller-store-page .kb-shp-sec--whatsapp_button .kb-shp-sec__inner.container {
  padding: 0;
}
.kb-seller-store-page .kb-shp-sec--whatsapp_button .kb-shp-wa-wrap {
  position: fixed;
  z-index: 10050;
  right: var(--kb-float-edge, 24px);
  bottom: calc(var(--kb-float-edge, 24px) + var(--kb-bottom-nav-h, 0px));
  width: auto;
  display: block;
}
.kb-seller-store-page .kb-shp-sec--whatsapp_button .kb-shp-wa-wrap--left {
  left: var(--kb-float-edge, 24px);
  right: auto;
}
.kb-seller-store-page .kb-shp-sec--whatsapp_button .kb-shp-wa-wrap--center {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}
.kb-seller-store-page .kb-shp-wa-float-link {
  width: 56px;
  height: 56px;
  padding: 0 !important;
  border-radius: 50%;
  background: #25d366 !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  animation: kb-shp-wa-pulse 2.4s ease-in-out infinite;
}
.kb-seller-store-page .kb-shp-wa-float-link .fab {
  margin: 0 !important;
}
.kb-seller-store-page .kb-shp-wa-float-link .kb-shp-wa-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.kb-seller-store-page .kb-shp-wa-float-link:hover {
  color: #fff !important;
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}
.kb-seller-store-page .kb-shp-sec--whatsapp_button .kb-shp-wa-wrap--center .kb-shp-wa-float-link:hover {
  transform: translateY(-4px) scale(1.07);
}
@keyframes kb-shp-wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.35); }
  55% { box-shadow: 0 6px 26px rgba(37, 211, 102, 0.5), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (max-width: 575.98px) {
  .kb-seller-store-page .kb-shp-sec--whatsapp_button .kb-shp-wa-wrap {
    right: var(--kb-float-edge, 16px);
    bottom: calc(var(--kb-float-edge, 16px) + var(--kb-bottom-nav-h, 0px));
  }
  .kb-seller-store-page .kb-shp-sec--whatsapp_button .kb-shp-wa-wrap--left {
    left: var(--kb-float-edge, 16px);
    right: auto;
  }
  .kb-seller-store-page .kb-shp-wa-float-link {
    width: 52px;
    height: 52px;
    font-size: 1.55rem;
  }
}
.kb-shp-sec--features {
  background: #fff !important;
  background-color: #fff !important;
  border-radius: 12px;
  margin-top: 0 !important;
  margin-bottom: 0.35rem !important;
  padding-top: 0.2rem !important;
  padding-bottom: 0.25rem !important;
}
.kb-shp-sec--promo_banner + .kb-shp-sec--features,
.kb-shp-sec--hero_banner + .kb-shp-sec--features,
.kb-shp-sec--image_slider + .kb-shp-sec--features {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.kb-shp-sec--features .kb-shp-sec__title {
  display: none !important;
}
.kb-shp-sec--features .kb-shp-sec__inner.container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.kb-shp-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.15rem 0.35rem;
  padding: 0.25rem 0.15rem;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-sizing: border-box;
}
.kb-shp-features__item {
  min-width: 0;
  max-width: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.1rem 0.05rem;
  text-align: center;
  box-shadow: none;
}
.kb-shp-features__item i {
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  margin: 0 auto 0.12rem;
  border-radius: 50%;
  background: transparent;
}
.kb-shp-features__item:nth-child(4n+1) i {
  color: #16a34a;
  background: rgba(22, 163, 74, 0.12);
}
.kb-shp-features__item:nth-child(4n+2) i {
  color: #ea580c;
  background: rgba(234, 88, 12, 0.12);
}
.kb-shp-features__item:nth-child(4n+3) i {
  color: #0891b2;
  background: rgba(8, 145, 178, 0.12);
}
.kb-shp-features__item:nth-child(4n+4) i {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.12);
}
.kb-shp-features__item strong {
  display: block;
  font-size: .68rem;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kb-shp-features__item span {
  display: none !important;
}
@media (min-width: 768px) {
  .kb-shp-features {
    gap: 0.2rem 0.5rem;
    max-width: 640px;
  }
  .kb-shp-features__item i {
    font-size: 0.95rem;
    width: 1.7rem;
    height: 1.7rem;
  }
  .kb-shp-features__item strong {
    font-size: .74rem;
  }
}
@media (max-width: 575.98px) {
  .kb-shp-features {
    gap: 0.1rem 0.2rem;
    max-width: 100%;
  }
  .kb-shp-features__item strong {
    font-size: .6rem;
  }
}
.kb-shp-carousel { display: flex; gap: .75rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; }
.kb-shp-carousel__item { flex: 0 0 160px; scroll-snap-align: start; }
/* Optional left-side ad beside product grids */
.kb-shp-product-row {
  display: block;
  width: 100%;
}
.kb-shp-product-row.has-side-ad {
  display: grid;
  grid-template-columns: minmax(110px, 160px) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}
.kb-shp-side-ad {
  margin: 0;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  align-self: stretch;
}
.kb-shp-side-ad__link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.kb-shp-side-ad__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
}
.kb-shp-product-row.has-side-ad .kb-shp-product-grid {
  min-width: 0;
}
@media (min-width: 992px) {
  .kb-shp-product-row.has-side-ad {
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
    gap: 0.9rem;
  }
  .kb-shp-side-ad__img {
    min-height: 260px;
  }
}
@media (max-width: 575.98px) {
  .kb-shp-product-row.has-side-ad {
    grid-template-columns: minmax(88px, 112px) minmax(0, 1fr);
    gap: 0.5rem;
  }
  .kb-shp-side-ad__img {
    min-height: 180px;
  }
}
.kb-shp-rich { display: block; }
.kb-shp-rich--has-image.kb-shp-rich--left,
.kb-shp-rich--has-image.kb-shp-rich--right {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1.25rem;
  align-items: start;
}
.kb-shp-rich--has-image.kb-shp-rich--right .kb-shp-rich__media { order: 2; }
.kb-shp-rich--has-image.kb-shp-rich--top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.kb-shp-rich__media { margin: 0; }
.kb-shp-rich__img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
}
.kb-shp-rich__body { min-width: 0; line-height: 1.65; color: #374151; }
.kb-shp-rich__body p { margin-bottom: 0.75rem; }
.kb-shp-rich__body p:last-child { margin-bottom: 0; }

.kb-shp-image-text { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center; }
.kb-shp-image-text--right .kb-shp-image-text__img { order: 2; }
.kb-shp-image-text--top { grid-template-columns: 1fr; }
.kb-shp-image-text__img { width: 100%; border-radius: 12px; object-fit: cover; max-height: 280px; }
.kb-shp-testimonials {
  display: block;
  overflow: hidden;
}
.kb-shp-testimonials__viewport {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.kb-shp-testimonials__track {
  display: flex;
  align-items: stretch;
  gap: 0.7rem;
  width: max-content;
  animation: kb-shp-testimonials-marquee 34s linear infinite;
}
.kb-shp-testimonials:hover .kb-shp-testimonials__track,
.kb-shp-testimonials:focus-within .kb-shp-testimonials__track {
  animation-play-state: paused;
}
.kb-shp-testimonial {
  flex: 0 0 calc((100vw - 4rem) / 3);
  max-width: 200px;
  min-width: 168px;
  min-height: 0;
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  margin: 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.kb-shp-testimonial__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.4rem;
}
.kb-shp-testimonial__author {
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.25;
  color: #334155;
}
.kb-shp-testimonial__stars {
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
  font-size: 0.68rem;
}
.kb-shp-testimonial__text,
.kb-shp-testimonial p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #334155;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kb-shp-testimonial__product-row {
  margin-top: auto;
}
.kb-shp-testimonial__product-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none !important;
  color: inherit;
  min-width: 0;
}
.kb-shp-testimonial__product-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 40px;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
}
.kb-shp-testimonial__product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1 1 auto;
}
.kb-shp-testimonial__product-name {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.25;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kb-shp-testimonial__date {
  display: block;
  font-size: 0.65rem;
  line-height: 1.2;
  color: #94a3b8;
}
@keyframes kb-shp-testimonials-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 0.35rem)); }
}
@media (min-width: 768px) {
  .kb-shp-testimonial {
    flex-basis: 210px;
    max-width: 210px;
    min-width: 210px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kb-shp-testimonials__track {
    animation: none;
  }
}
.kb-shp-newsletter__form { display: flex; gap: .5rem; max-width: 420px; margin: .75rem auto 0; flex-wrap: wrap; justify-content: center; }
.kb-shp-newsletter--box {
  position: relative;
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.78) 0%, rgba(219, 234, 254, 0.55) 48%, rgba(191, 219, 254, 0.42) 100%);
  border: 1px solid rgba(96, 165, 250, 0.55);
  box-shadow:
    0 10px 28px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  overflow: hidden;
  animation: kbShpNlBoxIn .4s ease both;
}
.kb-shp-newsletter--box::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 70%);
  pointer-events: none;
}
.kb-shp-newsletter--box > * {
  position: relative;
  z-index: 1;
}
@keyframes kbShpNlBoxIn {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.kb-shp-newsletter__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-family: Georgia, "Times New Roman", "Palatino Linotype", serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0c4a6e;
  margin: 0 0 .35rem;
  line-height: 1.25;
  white-space: nowrap;
}
.kb-shp-newsletter__title i {
  color: #2563eb;
  font-size: .95rem;
}
.kb-shp-newsletter__sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin: 0 auto .85rem;
  max-width: 100%;
  font-family: Georgia, "Times New Roman", "Palatino Linotype", serif;
  font-size: .9rem;
  font-weight: 700;
  color: #075985;
  line-height: 1.25;
  white-space: nowrap;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.75), rgba(191, 219, 254, 0.55));
  border: 1px solid rgba(147, 197, 253, 0.7);
  border-left: 3px solid #2563eb;
  padding: .32rem .7rem .32rem .55rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}
.kb-shp-newsletter__sub i {
  flex: 0 0 auto;
  color: #2563eb;
  font-size: .85rem;
  animation: kbShpNlBell 2.4s ease-in-out infinite;
}
.kb-shp-newsletter__sub span {
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes kbShpNlBell {
  0%, 88%, 100% { transform: rotate(0deg); }
  92% { transform: rotate(12deg); }
  96% { transform: rotate(-10deg); }
}
.kb-shp-newsletter--box .kb-shp-newsletter__form .form-control {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(147, 197, 253, 0.75);
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  font-weight: 500;
  color: #0f172a;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.kb-shp-newsletter--box .kb-shp-newsletter__form .form-control:focus {
  background: #fff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.kb-shp-newsletter__form .kb-shp-btn,
.kb-shp-newsletter__form .kb-shp-newsletter__btn {
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px;
  font-weight: 700;
  padding: .55rem 1.15rem;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 45%, #1d4ed8 100%) !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.32);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.kb-shp-newsletter__form .kb-shp-btn:hover,
.kb-shp-newsletter__form .kb-shp-newsletter__btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 22px rgba(29, 78, 216, 0.4);
  transform: translateY(-1px);
}
.kb-shp-newsletter__form .kb-shp-btn:active,
.kb-shp-newsletter__form .kb-shp-newsletter__btn:active {
  transform: translateY(0);
}
@media (max-width: 575.98px) {
  .kb-shp-newsletter__sub {
    font-size: .82rem;
    white-space: normal;
    text-align: left;
    border-radius: 12px;
  }
}
.kb-shp-newsletter__form .kb-shp-newsletter__msg {
  flex: 1 1 100%;
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 1.2em;
}
.kb-shp-newsletter__msg.is-success { color: #15803d; }
.kb-shp-newsletter__msg.is-error { color: #b91c1c; }
.kb-shp-newsletter__msg.is-info { color: #1d4ed8; }

/* Seller store newsletter: viewport-fixed bottom-right, lifts above main footer */
.kb-shp-newsletter-float {
  position: fixed !important;
  right: max(14px, env(safe-area-inset-right, 0px)) !important;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px) + var(--kb-bottom-nav-h, 0px) + var(--kb-shp-nl-footer-gap, 0px)) !important;
  left: auto !important;
  top: auto !important;
  z-index: 1080;
  width: min(340px, calc(100vw - 28px));
  pointer-events: none;
  margin: 0 !important;
  transition: bottom .18s ease;
}
.kb-shp-newsletter-float__fab,
.kb-shp-newsletter-float__panel,
.kb-shp-newsletter-float__close {
  pointer-events: auto;
}
.kb-shp-newsletter-float__fab {
  display: none;
  margin-left: auto;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.42);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.kb-shp-newsletter-float__fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px rgba(29, 78, 216, 0.5);
}
.kb-shp-newsletter-float.is-minimized .kb-shp-newsletter-float__fab {
  display: inline-flex;
}
.kb-shp-newsletter-float.is-minimized .kb-shp-newsletter-float__panel {
  display: none;
}
.kb-shp-newsletter-float__panel {
  position: relative;
  padding: 1.05rem 1.1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 12px 36px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  animation: kbShpNlFloatIn .35s ease both;
}
@keyframes kbShpNlFloatIn {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.kb-shp-newsletter-float__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  color: #1e3a8a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  backdrop-filter: blur(6px);
}
.kb-shp-newsletter-float__close:hover {
  background: rgba(255, 255, 255, 0.85);
  color: #1e40af;
}
.kb-shp-newsletter-float__title {
  font-family: Georgia, "Times New Roman", "Palatino Linotype", serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0c4a6e;
  margin: 0 1.55rem .4rem 0;
  line-height: 1.25;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}
.kb-shp-newsletter-float__sub {
  margin: 0 0 .9rem;
  font-family: Georgia, "Times New Roman", "Palatino Linotype", serif;
  font-size: 1.28rem;
  font-weight: 800;
  color: #075985;
  line-height: 1.3;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.18), rgba(59, 130, 246, 0.08));
  border-left: 3px solid #2563eb;
  padding: .35rem .55rem .35rem .6rem;
  border-radius: 0 8px 8px 0;
}
.kb-shp-newsletter-float__form {
  margin: 0;
  max-width: none;
  flex-direction: column;
  align-items: stretch;
  gap: .5rem;
}
.kb-shp-newsletter-float__form .form-control {
  width: 100%;
  font-size: .85rem;
  font-weight: 500;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}
.kb-shp-newsletter-float__form .form-control:focus {
  background: rgba(255, 255, 255, 0.92);
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.kb-shp-newsletter-float__form .form-control::placeholder {
  color: #64748b;
  font-weight: 500;
}
.kb-shp-newsletter-float__form .kb-shp-btn {
  width: 100%;
  border: 0;
  color: #fff !important;
  border-radius: 999px;
  padding: .55rem .9rem;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 45%, #1d4ed8 100%) !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.kb-shp-newsletter-float__form .kb-shp-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.42);
  transform: translateY(-1px);
}
.kb-shp-newsletter-float__form .kb-shp-newsletter__msg {
  color: #0f172a;
}
.kb-shp-newsletter-float__form .kb-shp-newsletter__msg.is-success { color: #047857; }
.kb-shp-newsletter-float__form .kb-shp-newsletter__msg.is-error { color: #b91c1c; }
.kb-shp-newsletter-float__form .kb-shp-newsletter__msg.is-info { color: #1d4ed8; }
body.kb-seller-store-has-nl-float .kb-footer-newsletter-float {
  display: none !important;
}
@media (max-width: 575.98px) {
  .kb-shp-newsletter-float {
    right: 10px !important;
    bottom: calc(70px + env(safe-area-inset-bottom, 0px) + var(--kb-bottom-nav-h, 0px) + var(--kb-shp-nl-footer-gap, 0px)) !important;
    width: min(300px, calc(100vw - 20px));
  }
  .kb-shp-newsletter-float__sub {
    font-size: 1.12rem;
  }
}
.kb-shp-footer-links { display: flex; flex-wrap: wrap; gap: .75rem 1rem; justify-content: center; }
.kb-shp-footer-links a { color: #334155; text-decoration: none; font-weight: 600; }
.kb-shp-rating__score { font-size: 2rem; font-weight: 800; color: #FFA41C; }
.kb-shp-countdown__timer { font-size: 1.5rem; font-weight: 800; letter-spacing: .05em; }
.kb-shp-anim { animation-duration: .6s; animation-fill-mode: both; }
.kb-shp-sec--highlight { outline: 3px solid #6366f1 !important; outline-offset: 2px; transition: outline .2s ease; }

/* Responsive visibility (live store = real viewport; builder embed = preview device class) */
@media (max-width: 767.98px) {
  body:not(.kb-shp-is-device-preview) .kb-shp-sec.kb-shp-sec--hide-mobile { display: none !important; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  body:not(.kb-shp-is-device-preview) .kb-shp-sec.kb-shp-sec--hide-tablet { display: none !important; }
}
@media (min-width: 992px) {
  body:not(.kb-shp-is-device-preview) .kb-shp-sec.kb-shp-sec--hide-desktop { display: none !important; }
}
body.kb-shp-is-device-preview.kb-shp-preview-device-mobile .kb-shp-sec.kb-shp-sec--hide-mobile { display: none !important; }
body.kb-shp-is-device-preview.kb-shp-preview-device-tablet .kb-shp-sec.kb-shp-sec--hide-tablet { display: none !important; }
body.kb-shp-is-device-preview.kb-shp-preview-device-desktop .kb-shp-sec.kb-shp-sec--hide-desktop { display: none !important; }

/* Product grids — same as main KBKART home (6 desktop / 2 mobile); no card padding overrides */
.kb-seller-store-homepage-builder-output .kb-shp-product-grid,
.kb-seller-store-box .kb-shp-product-grid {
  width: 100%;
}
/* Carousel / product rail: one horizontal sliding row (mobile + desktop) */
.kb-seller-store-homepage-builder-output .kb-shp-product-grid--carousel,
.kb-seller-store-box .kb-shp-product-grid--carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .35rem;
  grid-template-columns: none !important;
  scrollbar-width: thin;
}
.kb-seller-store-homepage-builder-output .kb-shp-product-grid--carousel > .kb-home-product-cell,
.kb-seller-store-box .kb-shp-product-grid--carousel > .kb-home-product-cell {
  flex: 0 0 calc((100% - 0.5rem) / 2);
  max-width: calc((100% - 0.5rem) / 2);
  scroll-snap-align: start;
  min-width: 0;
}
.kb-seller-store-homepage-builder-output .kb-shp-product-grid--carousel > .kb-home-product-cell[hidden],
.kb-seller-store-box .kb-shp-product-grid--carousel > .kb-home-product-cell[hidden] {
  display: none !important;
}
.kb-seller-store-page section[data-kb-home-list="flash_sale"] .kb-shp-product-grid--carousel > .kb-home-product-cell:nth-child(n+7) {
  display: block !important;
}
.kb-seller-store-page section[data-kb-home-list="flash_sale"] .kb-shp-product-grid--carousel > .kb-home-product-cell[hidden],
.kb-seller-store-page section[data-kb-home-list="flash_sale"] .kb-shp-product-grid--carousel > .kb-home-product-cell.is-rail-extra[hidden] {
  display: none !important;
}
@media (min-width: 992px) {
  .kb-seller-store-homepage-builder-output .kb-shp-product-grid--carousel > .kb-home-product-cell,
  .kb-seller-store-box .kb-shp-product-grid--carousel > .kb-home-product-cell {
    flex: 0 0 calc((100% - 2.5rem) / 6);
    max-width: calc((100% - 2.5rem) / 6);
  }
}
.kb-shp-product-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}
.kb-shp-product-rail__title {
  margin: 0 !important;
}
.kb-shp-product-rail__more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(37, 99, 235, 0.28);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.95);
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.kb-shp-product-rail__more:hover {
  background: #dbeafe;
  border-color: #3b82f6;
}
.kb-shp-product-rail.is-expanded ~ .kb-shp-product-rail__head .kb-shp-product-rail__more i,
.kb-shp-product-rail__head.is-expanded .kb-shp-product-rail__more i {
  transform: rotate(90deg);
}

/* Fix double product image when hover gallery is active (fallback if style.css missing) */
.kb-seller-store-homepage-builder-output .product-img-wrapper.kb-product-img-hover-wrap,
.kb-seller-store-homepage-builder-output .kb-flash-product-card__hero.kb-product-img-hover-wrap {
  position: relative;
  overflow: hidden;
}
.kb-seller-store-homepage-builder-output .kb-product-img-hover-wrap .kb-product-hover-stack {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.kb-seller-store-homepage-builder-output .kb-product-img-hover-wrap .kb-product-img-hover-secondary {
  opacity: 0;
  transition: opacity .35s ease;
}
.kb-seller-store-homepage-builder-output .kb-product-img-hover-wrap:hover .kb-product-img-hover-secondary,
.kb-seller-store-homepage-builder-output .kb-product-img-hover-wrap .product-img-link:hover .kb-product-img-hover-secondary {
  opacity: 1;
}
@keyframes kbShpFadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 768px) {
  .kb-shp-rich--has-image.kb-shp-rich--left,
  .kb-shp-rich--has-image.kb-shp-rich--right {
    grid-template-columns: 1fr;
  }
  .kb-shp-rich--has-image.kb-shp-rich--right .kb-shp-rich__media { order: 0; }
  .kb-shp-image-text { grid-template-columns: 1fr; }
  .kb-shp-image-text--right .kb-shp-image-text__img { order: 0; }
}
