/* RishtaBox Best Sellers - compact pink infinite marquee */
#bestSellerSection.best-seller-showcase {
  box-sizing: border-box;
  padding: 9px 0 11px;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF9FB 0%, #FCE8EF 52%, #FFF7FA 100%);
}

#bestSellerSection .container {
  max-width: 1180px;
}

#bestSellerSection .best-seller-heading {
  text-align: center;
  margin: 0 auto 7px;
  padding: 0 12px;
}

#bestSellerSection .best-seller-heading-ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 18px;
  margin-bottom: 2px;
}

#bestSellerSection .best-seller-heading-ornament > span:not(.best-seller-star) {
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: #E35486;
}

#bestSellerSection .best-seller-heading-ornament .best-seller-star {
  color: #E35486;
  font-size: 18px;
  line-height: 1;
}

#bestSellerSection .best-seller-heading h2 {
  margin: 0;
  text-align: center;
  color: #4A2635;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.4px;
}

#bestSellerSection .best-seller-heading p {
  margin: 2px 0 0;
  color: #806775;
  font-size: clamp(10px, 1vw, 13px);
  line-height: 1.35;
}

/* One single horizontal row */
#bestSellerSection #bestSellerGrid,
#bestSellerSection #bestSellerGrid.rb-best-seller-marquee-track {
  display: flex !important;
  flex-flow: row nowrap !important;
  justify-content: flex-start;
  align-items: stretch;
  gap: 7px;
  width: max-content;
  max-width: none;
  padding: 2px 3px 9px;
  margin: 0;
  animation: rbBestSellerScroll 34s linear infinite;
  will-change: transform;
}

#bestSellerSection #bestSellerGrid.rb-best-seller-marquee-track:hover {
  animation-play-state: paused;
}

#bestSellerSection #bestSellerGrid .product-card {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 clamp(145px, 16vw, 185px);
  flex-direction: column;
  width: clamp(145px, 16vw, 185px);
  min-width: 0;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(227, 84, 134, .2);
  border-radius: 10px;
  box-shadow: 0 3px 11px rgba(74, 38, 53, .07);
}

#bestSellerSection #bestSellerGrid .product-card:hover {
  box-shadow: 0 7px 17px rgba(74, 38, 53, .12);
}

#bestSellerSection #bestSellerGrid .product-card-image-wrapper {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
}

#bestSellerSection #bestSellerGrid .product-card-image-wrapper > img {
  display: block;
  width: 100%;
  height: 100px;
  aspect-ratio: auto;
  object-fit: cover;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-badge {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #E35486;
  color: #FFFFFF;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 750;
  white-space: nowrap;
}

#bestSellerSection #bestSellerGrid .rb-product-share-btn {
  position: absolute;
  z-index: 3;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  padding: 6px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: #4A2635;
  cursor: pointer;
}

#bestSellerSection #bestSellerGrid .rb-product-share-btn svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#bestSellerSection #bestSellerGrid .product-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 6px;
}

#bestSellerSection #bestSellerGrid .product-brand:empty {
  display: none;
}

#bestSellerSection #bestSellerGrid .product-card-content h3 {
  margin: 0;
  color: #4A2635;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
}

#bestSellerSection #bestSellerGrid .product-rating {
  color: #E35486;
  font-size: 11px;
  line-height: 1.3;
}

#bestSellerSection #bestSellerGrid .product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}

#bestSellerSection #bestSellerGrid .current-price {
  color: #D83D79;
  font-size: 13px;
  font-weight: 800;
}

#bestSellerSection #bestSellerGrid .original-price {
  color: #89818A;
  font-size: 11px;
}

#bestSellerSection #bestSellerGrid .product-stock-status {
  font-size: 10px;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
  width: 100%;
  min-height: 27px;
  margin-top: 0;
  padding: 4px 6px;
  border: 1px solid #E35486;
  border-radius: 8px;
  background: #E35486;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  transition: background .18s ease;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn:hover:not(:disabled) {
  background: #C83E70;
  border-color: #C83E70;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

#bestSellerSection .best-seller-view-all-wrap {
  display: flex;
  justify-content: center;
  padding: 5px 10px 0;
}

#bestSellerSection .best-seller-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 32px;
  padding: 6px 16px;
  border: 1.5px solid #E35486;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  color: #D83D79;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

#bestSellerSection .best-seller-view-all:hover {
  background: #E35486;
  color: #FFFFFF;
}

#bestSellerSection .best-seller-view-all span {
  font-size: 19px;
  line-height: 1;
}

@keyframes rbBestSellerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
to   { transform: translateX(0); }
}

@media (max-width: 600px) {
  #bestSellerSection.best-seller-showcase {
    padding: 7px 0 9px;
  }

  #bestSellerSection .best-seller-heading {
    margin-bottom: 6px;
  }

  #bestSellerSection #bestSellerGrid,
  #bestSellerSection #bestSellerGrid.rb-best-seller-marquee-track {
    gap: 7px;
    animation-duration: 28s;
  }

  #bestSellerSection #bestSellerGrid .product-card {
    flex-basis: 130px;
    width: 130px;
    border-radius: 11px;
  }

  #bestSellerSection #bestSellerGrid .product-card-image-wrapper > img {
    height: 82px;
  }

  #bestSellerSection #bestSellerGrid .product-card-content {
    padding: 6px;
    gap: 4px;
  }

  #bestSellerSection #bestSellerGrid .product-card-content h3 {
    font-size: 11px;
  }

  #bestSellerSection #bestSellerGrid .current-price {
    font-size: 13px;
  }

  #bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
    min-height: 26px;
    padding: 4px 3px;
    font-size: 11px;
  }

  #bestSellerSection .best-seller-view-all {
    min-height: 30px;
    padding: 5px 13px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #bestSellerSection #bestSellerGrid.rb-best-seller-marquee-track {
    animation: none;
    overflow-x: auto;
  }
}


/* Best Sellers visual polish - scoped to this section only */
#bestSellerSection #bestSellerGrid .rb-best-seller-badge {
  background: #E51D78;
  color: #FFFFFF;
  font-weight: 750;
  box-shadow: 0 2px 7px rgba(180, 20, 90, .18);
}

#bestSellerSection #bestSellerGrid .product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6F6A73;
  font-size: 12px;
  line-height: 1.25;
}

#bestSellerSection #bestSellerGrid .rb-rating-star {
  color: #F5B400;
  font-size: 18px;
  line-height: 1;
}

#bestSellerSection #bestSellerGrid .rb-rating-value {
  color: #625B65;
  font-weight: 650;
}

/* RishtaBox Best Sellers - compact pink infinite marquee */
#bestSellerSection.best-seller-showcase {
  box-sizing: border-box;
  padding: 9px 0 11px;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF9FB 0%, #FCE8EF 52%, #FFF7FA 100%);
}

#bestSellerSection .container {
  max-width: 1180px;
}

#bestSellerSection .best-seller-heading {
  text-align: center;
  margin: 0 auto 7px;
  padding: 0 12px;
}

#bestSellerSection .best-seller-heading-ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 18px;
  margin-bottom: 2px;
}

#bestSellerSection .best-seller-heading-ornament > span:not(.best-seller-star) {
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: #E35486;
}

#bestSellerSection .best-seller-heading-ornament .best-seller-star {
  color: #E35486;
  font-size: 18px;
  line-height: 1;
}

#bestSellerSection .best-seller-heading h2 {
  margin: 0;
  text-align: center;
  color: #4A2635;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.4px;
}

#bestSellerSection .best-seller-heading p {
  margin: 2px 0 0;
  color: #806775;
  font-size: clamp(10px, 1vw, 13px);
  line-height: 1.35;
}

/* One single horizontal row */
#bestSellerSection #bestSellerGrid,
#bestSellerSection #bestSellerGrid.rb-best-seller-marquee-track {
  display: flex !important;
  flex-flow: row nowrap !important;
  justify-content: flex-start;
  align-items: stretch;
  gap: 7px;
  width: max-content;
  max-width: none;
  padding: 2px 3px 9px;
  margin: 0;
  animation: rbBestSellerScroll 34s linear infinite;
  will-change: transform;
}

#bestSellerSection #bestSellerGrid.rb-best-seller-marquee-track:hover {
  animation-play-state: paused;
}

#bestSellerSection #bestSellerGrid .product-card {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 clamp(145px, 16vw, 185px);
  flex-direction: column;
  width: clamp(145px, 16vw, 185px);
  min-width: 0;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(227, 84, 134, .2);
  border-radius: 10px;
  box-shadow: 0 3px 11px rgba(74, 38, 53, .07);
}

#bestSellerSection #bestSellerGrid .product-card:hover {
  box-shadow: 0 7px 17px rgba(74, 38, 53, .12);
}

#bestSellerSection #bestSellerGrid .product-card-image-wrapper {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
}

#bestSellerSection #bestSellerGrid .product-card-image-wrapper > img {
  display: block;
  width: 100%;
  height: 100px;
  aspect-ratio: auto;
  object-fit: cover;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-badge {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #E35486;
  color: #FFFFFF;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 750;
  white-space: nowrap;
}

#bestSellerSection #bestSellerGrid .rb-product-share-btn {
  position: absolute;
  z-index: 3;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  padding: 6px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: #4A2635;
  cursor: pointer;
}

#bestSellerSection #bestSellerGrid .rb-product-share-btn svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#bestSellerSection #bestSellerGrid .product-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 6px;
}

#bestSellerSection #bestSellerGrid .product-brand:empty {
  display: none;
}

#bestSellerSection #bestSellerGrid .product-card-content h3 {
  margin: 0;
  color: #4A2635;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
}

#bestSellerSection #bestSellerGrid .product-rating {
  color: #E35486;
  font-size: 11px;
  line-height: 1.3;
}

#bestSellerSection #bestSellerGrid .product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}

#bestSellerSection #bestSellerGrid .current-price {
  color: #D83D79;
  font-size: 13px;
  font-weight: 800;
}

#bestSellerSection #bestSellerGrid .original-price {
  color: #89818A;
  font-size: 11px;
}

#bestSellerSection #bestSellerGrid .product-stock-status {
  font-size: 10px;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
  width: 100%;
  min-height: 27px;
  margin-top: 0;
  padding: 4px 6px;
  border: 1px solid #E35486;
  border-radius: 8px;
  background: #E35486;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  transition: background .18s ease;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn:hover:not(:disabled) {
  background: #C83E70;
  border-color: #C83E70;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

#bestSellerSection .best-seller-view-all-wrap {
  display: flex;
  justify-content: center;
  padding: 5px 10px 0;
}

#bestSellerSection .best-seller-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 32px;
  padding: 6px 16px;
  border: 1.5px solid #E35486;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  color: #D83D79;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

#bestSellerSection .best-seller-view-all:hover {
  background: #E35486;
  color: #FFFFFF;
}

#bestSellerSection .best-seller-view-all span {
  font-size: 19px;
  line-height: 1;
}

@keyframes rbBestSellerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
to   { transform: translateX(0); }
}

@media (max-width: 600px) {
  #bestSellerSection.best-seller-showcase {
    padding: 7px 0 9px;
  }

  #bestSellerSection .best-seller-heading {
    margin-bottom: 6px;
  }

  #bestSellerSection #bestSellerGrid,
  #bestSellerSection #bestSellerGrid.rb-best-seller-marquee-track {
    gap: 7px;
    animation-duration: 28s;
  }

  #bestSellerSection #bestSellerGrid .product-card {
    flex-basis: 130px;
    width: 130px;
    border-radius: 11px;
  }

  #bestSellerSection #bestSellerGrid .product-card-image-wrapper > img {
    height: 82px;
  }

  #bestSellerSection #bestSellerGrid .product-card-content {
    padding: 6px;
    gap: 4px;
  }

  #bestSellerSection #bestSellerGrid .product-card-content h3 {
    font-size: 11px;
  }

  #bestSellerSection #bestSellerGrid .current-price {
    font-size: 13px;
  }

  #bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
    min-height: 26px;
    padding: 4px 3px;
    font-size: 11px;
  }

  #bestSellerSection .best-seller-view-all {
    min-height: 30px;
    padding: 5px 13px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #bestSellerSection #bestSellerGrid.rb-best-seller-marquee-track {
    animation: none;
    overflow-x: auto;
  }
}


/* Best Sellers visual polish - scoped to this section only */
#bestSellerSection #bestSellerGrid .rb-best-seller-badge {
  background: #E51D78;
  color: #FFFFFF;
  font-weight: 750;
  box-shadow: 0 2px 7px rgba(180, 20, 90, .18);
}

#bestSellerSection #bestSellerGrid .product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6F6A73;
  font-size: 12px;
  line-height: 1.25;
}

#bestSellerSection #bestSellerGrid .rb-rating-star {
  color: #F5B400;
  font-size: 18px;
  line-height: 1;
}

#bestSellerSection #bestSellerGrid .rb-rating-value {
  color: #625B65;
  font-weight: 650;
}

#bestSellerSection #bestSellerGrid .product-stock-status {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
  background: #E51D78;
  border-color: #E51D78;
  border-radius: 8px;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn:hover:not(:disabled) {
  background: #C91463;
  border-color: #C91463;
}

#bestSellerSection .best-seller-view-all {
  color: #D81B70;
  border-color: #E51D78;
}

#bestSellerSection .best-seller-view-all:hover {
  background: #E51D78;
  color: #FFFFFF;
}

/* Final Best Sellers heading and magenta theme */
#bestSellerSection.best-seller-showcase {
  background: linear-gradient(135deg, #FCE4EF 0%, #F8C4DC 50%, #FDE8F2 100%);
}

#bestSellerSection .best-seller-heading {
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#bestSellerSection .best-seller-heading h2,
#bestSellerSection .best-seller-heading p,
#bestSellerSection .best-seller-heading-ornament {
  text-align: center;
  justify-content: center;
}

#bestSellerSection .best-seller-heading-ornament .best-seller-star {
  color: #E51D78;
}

#bestSellerSection .best-seller-heading-ornament > span:not(.best-seller-star) {
  background: #E51D78;
}

/* Best Sellers: white background and magenta discount badge */
#bestSellerSection.best-seller-showcase {
  background: #FFFFFF !important;
}

#bestSellerSection #bestSellerGrid .discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #E51D78 !important;
  color: #FFFFFF !important;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}


/* Responsive Best Sellers layout */
#bestSellerSection.best-seller-showcase {
  width: 100%;
  box-sizing: border-box;
  padding: 18px 0 22px;
  overflow: hidden;
  background: #FFFFFF !important;
}

#bestSellerSection .container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

#bestSellerSection .best-seller-heading {
  text-align: center;
  margin: 0 auto 14px;
  padding: 0 12px;
}

#bestSellerSection .best-seller-heading h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
}

#bestSellerSection .best-seller-heading p {
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 1.4;
}

#bestSellerSection #bestSellerGrid,
#bestSellerSection #bestSellerGrid.rb-best-seller-marquee-track {
  gap: clamp(9px, 1vw, 14px);
}

#bestSellerSection #bestSellerGrid .product-card {
  flex: 0 0 clamp(180px, 19vw, 225px);
  width: clamp(180px, 19vw, 225px);
  min-width: 0;
  height: auto;
  min-height: 0;
  align-self: stretch;
}

#bestSellerSection #bestSellerGrid .product-card-image-wrapper > img {
  display: block;
  width: 100%;
  height: clamp(125px, 13vw, 165px);
  object-fit: cover;
}

#bestSellerSection #bestSellerGrid .product-card-content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px;
  gap: 7px;
}

#bestSellerSection #bestSellerGrid .product-card-content h3 {
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#bestSellerSection #bestSellerGrid .product-price {
  align-items: center;
  gap: 5px;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
  min-height: 36px;
  margin-top: 0;
  font-size: 12px;
}

#bestSellerSection #bestSellerGrid .discount {
  background: #E51D78 !important;
  color: #FFFFFF !important;
}

/* Tablet */
@media (min-width: 601px) and (max-width: 1024px) {
  #bestSellerSection.best-seller-showcase {
    padding: 16px 0 20px;
  }

  #bestSellerSection .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  #bestSellerSection #bestSellerGrid .product-card {
    flex-basis: 180px;
    width: 180px;
  }

  #bestSellerSection #bestSellerGrid .product-card-image-wrapper > img {
    height: 130px;
  }

  #bestSellerSection #bestSellerGrid .product-card-content {
    padding: 9px;
    gap: 6px;
  }

  #bestSellerSection #bestSellerGrid .product-card-content h3 {
    font-size: 13px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  #bestSellerSection.best-seller-showcase {
    padding: 14px 0 18px;
  }

  #bestSellerSection .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  #bestSellerSection .best-seller-heading {
    margin-bottom: 11px;
  }

  #bestSellerSection .best-seller-heading h2 {
    font-size: 22px;
  }

  #bestSellerSection .best-seller-heading p {
    font-size: 12px;
  }

  #bestSellerSection #bestSellerGrid,
  #bestSellerSection #bestSellerGrid.rb-best-seller-marquee-track {
    gap: 10px;
    animation-duration: 28s;
  }

  #bestSellerSection #bestSellerGrid .product-card {
    flex-basis: 155px;
    width: 155px;
    border-radius: 11px;
  }

  #bestSellerSection #bestSellerGrid .product-card-image-wrapper > img {
    height: 112px;
  }

  #bestSellerSection #bestSellerGrid .product-card-content {
    padding: 8px;
    gap: 6px;
  }

  #bestSellerSection #bestSellerGrid .product-card-content h3 {
    font-size: 12px;
    line-height: 1.35;
  }

  #bestSellerSection #bestSellerGrid .current-price {
    font-size: 14px;
  }

  #bestSellerSection #bestSellerGrid .original-price {
    font-size: 10px;
  }

  #bestSellerSection #bestSellerGrid .discount {
    padding: 4px 6px;
    font-size: 10px;
  }

  #bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
    min-height: 32px;
    padding: 6px 4px;
    font-size: 11px;
  }

  #bestSellerSection .best-seller-view-all-wrap {
    padding-top: 10px;
  }

  #bestSellerSection .best-seller-view-all {
    min-height: 36px;
    padding: 7px 16px;
    font-size: 13px;
  }
}

/* RB_BEST_SELLER_FINAL_COMPACT_OVERRIDES */
#bestSellerSection.best-seller-showcase {
  background: #FFFFFF !important;
}

#bestSellerSection #bestSellerGrid .product-card {
  height: auto;
  min-height: 0;
  align-self: stretch;
}

#bestSellerSection #bestSellerGrid .product-card-content {
  flex: 0 0 auto;
  min-height: 0;
  padding: 8px;
  gap: 5px;
}

#bestSellerSection #bestSellerGrid .product-card-content h3 {
  margin: 0;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
  margin-top: 0;
  flex-shrink: 0;
}

#bestSellerSection .best-seller-view-all-wrap {
  padding-bottom: 0;
}
/* END RB_BEST_SELLER_FINAL_COMPACT_OVERRIDES */

/* RB_BEST_SELLER_GAP_FIX_20261111 */
#bestSellerSection #bestSellerGrid {
  padding-bottom: 3px !important;
  margin-bottom: 0 !important;
}

#bestSellerSection .best-seller-view-all-wrap {
  padding: 2px 10px 0 !important;
  margin-top: 0 !important;
}

#bestSellerSection.best-seller-showcase {
  padding-bottom: 4px !important;
}

@media (max-width: 600px) {
  #bestSellerSection #bestSellerGrid {
    padding-bottom: 3px !important;
  }

  #bestSellerSection .best-seller-view-all-wrap {
    padding-top: 2px !important;
  }

  #bestSellerSection.best-seller-showcase {
    padding-bottom: 4px !important;
  }
}
/* END RB_BEST_SELLER_GAP_FIX_20261111 */

/* RB_BEST_SELLER_CARD_DETAILS_SPACING_FIX */
#bestSellerSection #bestSellerGrid .product-card-content {
  flex: 0 0 auto !important;
  min-height: 0 !important;
  padding: 5px 7px 6px !important;
  gap: 3px !important;
}

#bestSellerSection #bestSellerGrid .product-card-content h3 {
  margin: 0 !important;
  line-height: 1.2 !important;
}

#bestSellerSection #bestSellerGrid .product-rating {
  margin: 0 !important;
  gap: 3px !important;
  line-height: 1.15 !important;
}

#bestSellerSection #bestSellerGrid .product-price {
  margin: 0 !important;
  gap: 3px !important;
  line-height: 1.2 !important;
}

#bestSellerSection #bestSellerGrid .discount {
  padding: 2px 5px !important;
  line-height: 1.15 !important;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
  margin-top: 0 !important;
  min-height: 28px !important;
  padding: 4px 5px !important;
}

@media (max-width: 600px) {
  #bestSellerSection #bestSellerGrid .product-card-content {
    padding: 4px 6px 5px !important;
    gap: 2px !important;
  }

  #bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
    min-height: 26px !important;
    padding: 3px 4px !important;
    font-size: 11px !important;
  }
}
/* END RB_BEST_SELLER_CARD_DETAILS_SPACING_FIX */
/* Best Sellers: viewport-edge fade like Gifts by Relationship */
#bestSellerSection .best-seller-marquee-viewport {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
}

#bestSellerSection .best-seller-marquee-viewport #bestSellerGrid {
  position: relative;
  max-width: none !important;
}

@media (max-width: 600px) {
  #bestSellerSection .best-seller-marquee-viewport {
  }
}


/* Match Gifts by Relationship: smooth right-to-left infinite scroll */
#bestSellerSection #bestSellerGrid.rb-best-seller-marquee-track {
  animation-name: rbBestSellerScroll;
  animation-duration: 45s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
  background: #E51D78;
  border-color: #E51D78;
  border-radius: 8px;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn:hover:not(:disabled) {
  background: #C91463;
  border-color: #C91463;
}

#bestSellerSection .best-seller-view-all {
  color: #D81B70;
  border-color: #E51D78;
}

#bestSellerSection .best-seller-view-all:hover {
  background: #E51D78;
  color: #FFFFFF;
}

/* Final Best Sellers heading and magenta theme */
#bestSellerSection.best-seller-showcase {
  background: linear-gradient(135deg, #FCE4EF 0%, #F8C4DC 50%, #FDE8F2 100%);
}

#bestSellerSection .best-seller-heading {
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#bestSellerSection .best-seller-heading h2,
#bestSellerSection .best-seller-heading p,
#bestSellerSection .best-seller-heading-ornament {
  text-align: center;
  justify-content: center;
}

#bestSellerSection .best-seller-heading-ornament .best-seller-star {
  color: #E51D78;
}

#bestSellerSection .best-seller-heading-ornament > span:not(.best-seller-star) {
  background: #E51D78;
}

/* Best Sellers: white background and magenta discount badge */
#bestSellerSection.best-seller-showcase {
  background: #FFFFFF !important;
}

#bestSellerSection #bestSellerGrid .discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #E51D78 !important;
  color: #FFFFFF !important;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}


/* Responsive Best Sellers layout */
#bestSellerSection.best-seller-showcase {
  width: 100%;
  box-sizing: border-box;
  padding: 18px 0 22px;
  overflow: hidden;
  background: #FFFFFF !important;
}

#bestSellerSection .container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

#bestSellerSection .best-seller-heading {
  text-align: center;
  margin: 0 auto 14px;
  padding: 0 12px;
}

#bestSellerSection .best-seller-heading h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
}

#bestSellerSection .best-seller-heading p {
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 1.4;
}

#bestSellerSection #bestSellerGrid,
#bestSellerSection #bestSellerGrid.rb-best-seller-marquee-track {
  gap: clamp(9px, 1vw, 14px);
}

#bestSellerSection #bestSellerGrid .product-card {
  flex: 0 0 clamp(180px, 19vw, 225px);
  width: clamp(180px, 19vw, 225px);
  min-width: 0;
  height: auto;
  min-height: 0;
  align-self: stretch;
}

#bestSellerSection #bestSellerGrid .product-card-image-wrapper > img {
  display: block;
  width: 100%;
  height: clamp(125px, 13vw, 165px);
  object-fit: cover;
}

#bestSellerSection #bestSellerGrid .product-card-content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px;
  gap: 7px;
}

#bestSellerSection #bestSellerGrid .product-card-content h3 {
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#bestSellerSection #bestSellerGrid .product-price {
  align-items: center;
  gap: 5px;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
  min-height: 36px;
  margin-top: 0;
  font-size: 12px;
}

#bestSellerSection #bestSellerGrid .discount {
  background: #E51D78 !important;
  color: #FFFFFF !important;
}

/* Tablet */
@media (min-width: 601px) and (max-width: 1024px) {
  #bestSellerSection.best-seller-showcase {
    padding: 16px 0 20px;
  }

  #bestSellerSection .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  #bestSellerSection #bestSellerGrid .product-card {
    flex-basis: 180px;
    width: 180px;
  }

  #bestSellerSection #bestSellerGrid .product-card-image-wrapper > img {
    height: 130px;
  }

  #bestSellerSection #bestSellerGrid .product-card-content {
    padding: 9px;
    gap: 6px;
  }

  #bestSellerSection #bestSellerGrid .product-card-content h3 {
    font-size: 13px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  #bestSellerSection.best-seller-showcase {
    padding: 14px 0 18px;
  }

  #bestSellerSection .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  #bestSellerSection .best-seller-heading {
    margin-bottom: 11px;
  }

  #bestSellerSection .best-seller-heading h2 {
    font-size: 22px;
  }

  #bestSellerSection .best-seller-heading p {
    font-size: 12px;
  }

  #bestSellerSection #bestSellerGrid,
  #bestSellerSection #bestSellerGrid.rb-best-seller-marquee-track {
    gap: 10px;
    animation-duration: 28s;
  }

  #bestSellerSection #bestSellerGrid .product-card {
    flex-basis: 155px;
    width: 155px;
    border-radius: 11px;
  }

  #bestSellerSection #bestSellerGrid .product-card-image-wrapper > img {
    height: 112px;
  }

  #bestSellerSection #bestSellerGrid .product-card-content {
    padding: 8px;
    gap: 6px;
  }

  #bestSellerSection #bestSellerGrid .product-card-content h3 {
    font-size: 12px;
    line-height: 1.35;
  }

  #bestSellerSection #bestSellerGrid .current-price {
    font-size: 14px;
  }

  #bestSellerSection #bestSellerGrid .original-price {
    font-size: 10px;
  }

  #bestSellerSection #bestSellerGrid .discount {
    padding: 4px 6px;
    font-size: 10px;
  }

  #bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
    min-height: 32px;
    padding: 6px 4px;
    font-size: 11px;
  }

  #bestSellerSection .best-seller-view-all-wrap {
    padding-top: 10px;
  }

  #bestSellerSection .best-seller-view-all {
    min-height: 36px;
    padding: 7px 16px;
    font-size: 13px;
  }
}

/* RB_BEST_SELLER_FINAL_COMPACT_OVERRIDES */
#bestSellerSection.best-seller-showcase {
  background: #FFFFFF !important;
}

#bestSellerSection #bestSellerGrid .product-card {
  height: auto;
  min-height: 0;
  align-self: stretch;
}

#bestSellerSection #bestSellerGrid .product-card-content {
  flex: 0 0 auto;
  min-height: 0;
  padding: 8px;
  gap: 5px;
}

#bestSellerSection #bestSellerGrid .product-card-content h3 {
  margin: 0;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
  margin-top: 0;
  flex-shrink: 0;
}

#bestSellerSection .best-seller-view-all-wrap {
  padding-bottom: 0;
}
/* END RB_BEST_SELLER_FINAL_COMPACT_OVERRIDES */

/* RB_BEST_SELLER_GAP_FIX_20261111 */
#bestSellerSection #bestSellerGrid {
  padding-bottom: 3px !important;
  margin-bottom: 0 !important;
}

#bestSellerSection .best-seller-view-all-wrap {
  padding: 2px 10px 0 !important;
  margin-top: 0 !important;
}

#bestSellerSection.best-seller-showcase {
  padding-bottom: 4px !important;
}

@media (max-width: 600px) {
  #bestSellerSection #bestSellerGrid {
    padding-bottom: 3px !important;
  }

  #bestSellerSection .best-seller-view-all-wrap {
    padding-top: 2px !important;
  }

  #bestSellerSection.best-seller-showcase {
    padding-bottom: 4px !important;
  }
}
/* END RB_BEST_SELLER_GAP_FIX_20261111 */

/* RB_BEST_SELLER_CARD_DETAILS_SPACING_FIX */
#bestSellerSection #bestSellerGrid .product-card-content {
  flex: 0 0 auto !important;
  min-height: 0 !important;
  padding: 5px 7px 6px !important;
  gap: 3px !important;
}

#bestSellerSection #bestSellerGrid .product-card-content h3 {
  margin: 0 !important;
  line-height: 1.2 !important;
}

#bestSellerSection #bestSellerGrid .product-rating {
  margin: 0 !important;
  gap: 3px !important;
  line-height: 1.15 !important;
}

#bestSellerSection #bestSellerGrid .product-price {
  margin: 0 !important;
  gap: 3px !important;
  line-height: 1.2 !important;
}

#bestSellerSection #bestSellerGrid .discount {
  padding: 2px 5px !important;
  line-height: 1.15 !important;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
  margin-top: 0 !important;
  min-height: 28px !important;
  padding: 4px 5px !important;
}

@media (max-width: 600px) {
  #bestSellerSection #bestSellerGrid .product-card-content {
    padding: 4px 6px 5px !important;
    gap: 2px !important;
  }

  #bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
    min-height: 26px !important;
    padding: 3px 4px !important;
    font-size: 11px !important;
  }
}
/* END RB_BEST_SELLER_CARD_DETAILS_SPACING_FIX */
/* Best Sellers: viewport-edge fade like Gifts by Relationship */
#bestSellerSection .best-seller-marquee-viewport {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
}

#bestSellerSection .best-seller-marquee-viewport #bestSellerGrid {
  position: relative;
  max-width: none !important;
}

@media (max-width: 600px) {
  #bestSellerSection .best-seller-marquee-viewport {
  }
}


/* Match Gifts by Relationship: smooth right-to-left infinite scroll */
#bestSellerSection #bestSellerGrid.rb-best-seller-marquee-track {
  animation-name: rbBestSellerScroll;
  animation-duration: 45s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}




/* FINAL FIX: compact Best Seller cards and reduce side fade */
#bestSellerSection #bestSellerGrid .product-card-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 6px !important;
  gap: 3px !important;
}

#bestSellerSection #bestSellerGrid .product-stock-status {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#bestSellerSection #bestSellerGrid .rb-best-seller-add-btn {
  margin-top: 0 !important;
  flex: 0 0 auto !important;
}

/* Best Seller: exact same side fade as Relationship section */
#bestSellerSection .best-seller-marquee-viewport {
}
/* Best Seller fade - match Corporate Gifting */
#bestSellerSection .best-seller-marquee-viewport {

}


/* Best Seller - very subtle Corporate-style edge fade */
#bestSellerSection .best-seller-marquee-viewport {

}


/* Match Best Seller edge fade with Gifts by Relationship */
#bestSellerSection #bestSellerGrid {
}

/* Best Seller: match Corporate Gifts catalog fade across full section */
#bestSellerSection {
}

#bestSellerSection #bestSellerGrid {
}

/* =====================================================
   BEST SELLER - SINGLE CORPORATE STYLE EDGE FADE
   One source of truth for all screen sizes
===================================================== */

#bestSellerSection {
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

#bestSellerSection .best-seller-marquee-viewport {
  -webkit-mask-image: linear-gradient( to right, transparent, #000 4%, #000 96%, transparent ) !important;

  mask-image: linear-gradient( to right, transparent, #000 4%, #000 96%, transparent ) !important;
}

#bestSellerSection #bestSellerGrid {
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* =====================================================
   SAME EDGE FADE FOR ALL HOME SLIDERS
   Best Seller = Corporate Gifting = Relationship = Festival
   (matches .shop-slider-wrapper in order-tracking-checkout.css)
===================================================== */
#corporateGifting .shop-slider-wrapper,
#relationships .shop-slider-wrapper,
#festivals .shop-slider-wrapper,
#bestSellerSection .best-seller-marquee-viewport {
  -webkit-mask-image: linear-gradient( to right, transparent, #000 4%, #000 96%, transparent ) !important;
  mask-image: linear-gradient( to right, transparent, #000 4%, #000 96%, transparent ) !important;
}

/* =====================================================
   BEST SELLER - FULL WIDTH SLIDER LIKE CORPORATE GIFTING
   Container was capped (max-width 1180px), so cards were
   cut off ~160px inside each screen edge. Let the slider
   use the full section width; heading stays centered.
===================================================== */
#bestSellerSection .container {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

#bestSellerSection .best-seller-marquee-viewport {
  width: 100% !important;
  max-width: 100% !important;
}