/* Home product/editorial strips — isolated deploy-safe overrides. */
.best-selling-section,
.newest-products-section,
.blog-section {
  background: #fff;
}

.best-selling-section { padding: 16px 0 0; }
.newest-products-section { padding: 16px 0 0; }
.blog-section { padding: 16px 0 36px; }

.home-strip-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 10px;
  padding-inline: 2px;
  direction: rtl;
}

.home-strip-heading__copy {
  position: relative;
  padding-right: 0;
}

.home-strip-heading__copy::before {
  display: none;
}

.home-product-strip-section .strip-title--outside {
  display: flex;
  align-items: center;
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.25rem, 3.4vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.2;
  direction: rtl;
}

.home-product-strip-section .strip-title--outside .section-title--accent,
.blog-section.home-product-strip-section .blog-strip-heading .section-title--strip,
.blog-section.home-product-strip-section .blog-strip-heading .section-title--accent {
  color: #0f172a;
}

.home-strip-heading__link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #596579;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, gap .2s ease;
}

.home-strip-heading__link:hover { color: #e84c87; gap: 5px; }

.best-selling-section .home-product-strip-panel,
.newest-products-section .home-product-strip-panel,
.best-selling-section .home-product-strip-panel::before,
.newest-products-section .home-product-strip-panel::before {
  position: relative;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.best-selling-section .product-ribbon__arrow,
.newest-products-section .product-ribbon__arrow { display: none; }

.best-selling-section .product-ribbon,
.newest-products-section .product-ribbon { margin: 0; gap: 0; }

.best-selling-section .product-ribbon__track,
.newest-products-section .product-ribbon__track {
  gap: 12px;
  padding: 4px 4px 8px;
  perspective: 900px;
  scrollbar-width: none;
}

.best-selling-section .product-ribbon__track::-webkit-scrollbar,
.newest-products-section .product-ribbon__track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.best-selling-section .product-ribbon--compact .product-ribbon__cell,
.newest-products-section .product-ribbon--compact .product-ribbon__cell {
  flex: 0 0 clamp(156px, 20vw, 188px);
  min-width: clamp(156px, 20vw, 188px);
  max-width: clamp(156px, 20vw, 188px);
}

.best-selling-section .home-strip-card__actions .shelby-stepper,
.newest-products-section .home-strip-card__actions .shelby-stepper {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: 100%;
  gap: 2px;
  padding-inline: 3px;
}

.best-selling-section .home-strip-card__actions .shelby-stepper__btn,
.newest-products-section .home-strip-card__actions .shelby-stepper__btn {
  width: 24px;
  height: 26px;
  flex: 0 0 24px;
}

.best-selling-section .home-strip-card__actions .shelby-stepper__count,
.newest-products-section .home-strip-card__actions .shelby-stepper__count {
  min-width: 18px;
  flex: 1 1 auto;
}

.best-selling-section .home-strip-card,
.newest-products-section .home-strip-card {
  border: 0;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 18px 30px -22px rgba(31,45,82,.58), 0 7px 16px -11px rgba(31,45,82,.25);
  overflow: hidden;
  transform-style: preserve-3d;
}

.best-selling-section .home-strip-card:hover,
.newest-products-section .home-strip-card:hover {
  border-color: transparent;
  box-shadow: 0 24px 36px -22px rgba(31,45,82,.62), 0 10px 20px -12px rgba(31,45,82,.28);
  transform: translateY(-3px) rotateX(1deg);
}

.best-selling-section .home-strip-card__media,
.newest-products-section .home-strip-card__media {
  height: 142px;
  background: linear-gradient(145deg,#fff 0%,#fbfcff 100%);
}

.best-selling-section .home-strip-card__media img,
.newest-products-section .home-strip-card__media img {
  max-height: 126px;
  filter: drop-shadow(0 7px 7px rgba(31,45,82,.12));
}

.best-selling-section .home-strip-card__body,
.newest-products-section .home-strip-card__body {
  padding: 9px 10px 10px;
  gap: 6px;
  background: #fff;
}

.best-selling-section .home-strip-card__title,
.newest-products-section .home-strip-card__title {
  display: block;
  width: 100%;
  font-size: .78rem;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.best-selling-section .home-strip-card__title a,
.newest-products-section .home-strip-card__title a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-strip-card__actions {
  display: flex;
  align-items: stretch;
  gap: 7px;
  direction: rtl;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.home-strip-card__add-btn,
.home-strip-card__oos-btn { flex: 1 1 auto; width: auto; min-width: 0; }
.home-strip-card__wish-btn { width: 34px; min-width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; }

.blog-strip-heading { margin-bottom: 12px; }
.blog-section__content--ribbon { margin-bottom: 0; }

.blog-home-ribbon .product-ribbon__track {
  gap: 14px;
  padding: 4px 4px 0;
  align-items: stretch;
  scrollbar-width: none;
}

.blog-home-ribbon .product-ribbon__track::-webkit-scrollbar { display: none; width: 0; height: 0; }

.blog-home-ribbon .product-ribbon__cell {
  flex: 0 0 clamp(270px, 28vw, 310px);
  min-width: clamp(270px, 28vw, 310px);
  max-width: clamp(270px, 28vw, 310px);
}

.blog-card--ribbon {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 34px -24px rgba(31,45,82,.55), 0 7px 17px -12px rgba(31,45,82,.2);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card--ribbon:hover { transform: translateY(-3px); box-shadow: 0 24px 38px -23px rgba(31,45,82,.6), 0 10px 20px -12px rgba(31,45,82,.24); }
.blog-card--ribbon .blog-card__link { display: flex; flex-direction: column; height: 100%; }
.blog-card--ribbon .blog-card__image { height: auto; aspect-ratio: 16/9; background: #f6f8fb; }
.blog-card--ribbon .blog-card__image--img { object-fit: cover; }

.blog-card--ribbon .blog-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 13px 14px 14px;
}

.blog-card--ribbon .blog-card__meta {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}

.blog-card--ribbon .blog-card__meta--item {
  gap: 4px;
  min-width: 0;
  color: #8490a2;
  font-size: .68rem;
  font-weight: 500;
  white-space: nowrap;
}

.blog-card--ribbon .blog-card__meta--item:nth-child(3) { display: none; }
.blog-card--ribbon .blog-card__meta--icon { width: 14px; height: 14px; flex: 0 0 14px; color: #ef6f9d; }

.blog-card--ribbon .blog-card__title {
  display: -webkit-box;
  min-height: 2.9em;
  margin: 0 0 7px;
  overflow: hidden;
  color: #172033;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-card--ribbon .blog-card__excerpt {
  display: -webkit-box;
  margin: 0 0 11px;
  overflow: hidden;
  color: #687487;
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-card--ribbon .blog-card__footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding-top: 9px;
  border-top: 0;
}

.blog-card--ribbon .blog-card__read-time { gap: 4px; color: #7a8698; font-size: .68rem; font-weight: 500; }
.blog-card--ribbon .blog-card__read-more { width: auto; padding: 0; border-radius: 0; background: transparent; color: #e84c87; font-size: .73rem; font-weight: 700; }
.blog-card--ribbon .blog-card__read-more:hover { background: transparent; color: #c8185e; }

body:has(.home-page) .site-footer.site-footer--redesigned {
  margin-top: 0;
  padding-top: 12px;
  border-top: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body:has(.home-page) .site-footer.site-footer--redesigned::before,
body:has(.home-page) .site-footer.site-footer--redesigned::after { display: none; }

@media (max-width: 575px) {
  .best-selling-section { padding: 8px 0 0; }
  .newest-products-section { padding: 8px 0 0; }
  .blog-section { padding: 8px 0 40px; }
  .home-strip-heading { margin-bottom: 8px; padding-inline: 4px; }
  .home-strip-heading__copy { padding-right: 0; }
  .home-strip-heading__link { font-size: .72rem; }

  .best-selling-section .product-ribbon--compact .product-ribbon__cell,
  .newest-products-section .product-ribbon--compact .product-ribbon__cell {
    flex-basis: clamp(140px, 37vw, 164px);
    min-width: clamp(140px, 37vw, 164px);
    max-width: clamp(140px, 37vw, 164px);
  }

  .best-selling-section .home-strip-card__media,
  .newest-products-section .home-strip-card__media { height: 112px; }
  .best-selling-section .home-strip-card__media img,
  .newest-products-section .home-strip-card__media img { max-height: 98px; }
  .best-selling-section .home-strip-card__body,
  .newest-products-section .home-strip-card__body { padding: 8px 8px 9px; gap: 5px; }
  .best-selling-section .home-strip-card__title,
  .newest-products-section .home-strip-card__title { font-size: .74rem; line-height: 1.4; }
  .best-selling-section .home-strip-card__add-btn,
  .newest-products-section .home-strip-card__add-btn,
  .best-selling-section .home-strip-card__oos-btn,
  .newest-products-section .home-strip-card__oos-btn { min-height: 32px; height: 32px; padding-block: 0; }
  .best-selling-section .home-strip-card__wish-btn,
  .newest-products-section .home-strip-card__wish-btn { width: 32px; min-width: 32px; height: 32px; flex-basis: 32px; }

  .blog-strip-heading { margin-bottom: 9px; }
  .blog-home-ribbon .product-ribbon__cell {
    flex-basis: clamp(258px, 74vw, 310px);
    min-width: clamp(258px, 74vw, 310px);
    max-width: clamp(258px, 74vw, 310px);
  }
  .blog-card--ribbon .blog-card__content { padding: 11px 12px 12px; }
  .blog-card--ribbon .blog-card__title { font-size: .86rem; }
  .blog-card--ribbon .blog-card__excerpt { font-size: .72rem; }
}
