.yellow-bg {
  background-color: #FFD700;
}

/* =========================================================
   KHILONA STORE – Clean, professional product cards
   ========================================================= */

/* ---- Card ---- */
.theme-prod-box {
  background: #ffffff !important;
  border: 1px solid #EFEDF5 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 10px rgba(30, 28, 50, 0.05) !important;
  padding: 12px 12px 16px !important;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.theme-prod-box:hover {
  border-color: #E4E0EE !important;
  box-shadow: 0 10px 28px rgba(30, 28, 50, 0.10) !important;
}
.theme-prod-box .theme-product-box-content {
  border: none !important;
  box-shadow: none !important;
  width: 100%;
}

/* ---- Image area: square, soft tint ---- */
.theme-prod-box .theme-product-image-area {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 12px;
  overflow: hidden;
  background: #FFF1F4;
}
.theme-prod-box:nth-child(4n+2) .theme-product-image-area { background: #EFF9F4; }
.theme-prod-box:nth-child(4n+3) .theme-product-image-area { background: #EEF5FD; }
.theme-prod-box:nth-child(4n+4) .theme-product-image-area { background: #FFF9E8; }

.theme-prod-box .theme-product-image-area picture {
  position: absolute !important;
  inset: 0;
  display: block !important;
}
.theme-prod-box .theme-product-image-area img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  padding: 14px;
  mix-blend-mode: multiply;
  transition: transform .4s ease;
}
.theme-prod-box:hover .theme-product-image-area img {
  transform: scale(1.04);
}

/* ---- Sale badge ---- */
.theme-prod-box .theme-product-ribbon-area {
  position: absolute !important;
  top: 10px;
  left: 10px;
  z-index: 2;
}
.theme-prod-box .theme-product-ribbon-area > * {
  background: #FF5A5F !important;
  color: #ffffff !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-radius: 6px !important;
  padding: 4px 10px !important;
  box-shadow: none !important;
  transform: none !important;
}

/* ---- Text ---- */
.theme-prod-box .theme-product-details-area,
.theme-prod-box .theme-product-name-rating-price {
  text-align: center !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Nunito', sans-serif !important;
}
.theme-prod-box .theme-product-name {
  width: 100%;
  min-width: 0;
  justify-content: center;
  margin-top: 14px;
}
.theme-prod-box .theme-product-name a {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  color: #2A2838 !important;
  line-height: 1.35 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  white-space: normal !important;
  min-height: 2.7em;
}
.theme-prod-box .theme-product-name-rating-price {
  color: #2A2838;
  font-weight: 700;
}

/* ---- Variant dropdown (fixes the cut-off text) ---- */
.theme-prod-box select:not([data-zs-variants]) {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 40px !important;
  line-height: 1.4 !important;
  padding: 8px 36px 8px 14px !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 14px !important;
  color: #2A2838 !important;
  background-color: #ffffff !important;
  border: 1px solid #E4E0EE !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

/* ---- Hide quantity box on cards ---- */
.theme-prod-box .theme-product-list-quantity {
  display: none !important;
}

/* ---- Add to Cart ---- */
.theme-prod-box .theme-product-list-quantity-addcart,
.theme-prod-box .theme-product-button-area {
  width: 100% !important;
  flex: 1 1 100% !important;
}
.theme-prod-box a[data-zs-add-to-cart] {
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  width: 100% !important;
  min-height: 44px;
  margin-top: 10px;
  padding: 11px 16px !important;
  border: none !important;
  border-radius: 10px !important;
  background: #FF5A5F !important;
  color: #ffffff !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-transform: none !important;
  letter-spacing: .2px;
  white-space: nowrap !important;
  box-shadow: none !important;
  transition: background .2s ease;
}
.theme-prod-box a[data-zs-add-to-cart]:hover {
  background: #E8474C !important;
}

/* =========================================================
   MOBILE (phones)
   ========================================================= */
@media (max-width: 767px) {

  /* Products: one big card per screen, swipe sideways */
  .zpfilmstrip .zpfilmstrip-overflow-hidden {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 12px;
  }
  .zpfilmstrip .zpfilmstrip-overflow-hidden::-webkit-scrollbar { display: none; }
  .zpfilmstrip .theme-store-style-collection-row-10 {
    width: auto !important;
    transform: none !important;
    left: 0 !important;
    margin-left: 0 !important;
    flex-wrap: nowrap !important;
  }
  .zpfilmstrip .theme-prod-box {
    flex: 0 0 82% !important;
    width: 82% !important;
    max-width: 82% !important;
    margin-right: 12px !important;
    scroll-snap-align: start;
  }
  .zpfilmstrip .zpcarousel-arrows-container {
    display: none !important;
  }

  /* Shop by Category: 2 tiles per row */
  .zpelem-col:has(img[src*="tile-"]) {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    padding: 0 6px !important;
    margin-bottom: 12px;
  }

  /* Less empty space at the sides */
  .zpsection:has(img[src*="tile-"]) .zpcontainer,
  .zpsection:has(.zpfilmstrip) .zpcontainer {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* =========================================================
   DESKTOP: wider sections
   ========================================================= */
@media (min-width: 992px) {
  .zpsection:has(img[src*="tile-"]) .zpcontainer,
  .zpsection:has(.zpfilmstrip) .zpcontainer {
    width: 94% !important;
    max-width: 1500px !important;
  }
}

/* All 4 category tiles the same size */
.zpsection:has(img[src*="tile-"]) .zpimage-container,
.zpsection:has(img[src*="tile-"]) .zpimage-container figure,
.zpsection:has(img[src*="tile-"]) .zpimage-container picture,
.zpsection:has(img[src*="tile-"]) img.zpimage {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Center the "Shop by Category" heading */
.zpsection:has(img[src*="tile-"]) .zpheading {
  text-align: center !important;
}