/* Baby Salar single product v0.11.3
 * Finalized against the approved product-page prototype.
 * Everything is scoped to the WooCommerce single-product experience.
 */

html,
body.single-product {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.bs-single {
  --sp-accent: var(--bs-product-pink, #e9477c);
  --sp-accent-dark: var(--bs-product-pink-dark, #cf2f67);
  --sp-accent-soft: var(--bs-product-pink-soft, #fff1f6);
  --sp-ink: #25262a;
  --sp-muted: #77777d;
  --sp-line: #ececef;
  --sp-surface: #fafafb;
  --sp-success: #2f9258;
  --sp-radius: 22px;
  width: min(calc(100% - 40px), var(--bs-container, 1280px));
  max-width: 100%;
  margin-inline: auto;
  padding-bottom: 52px;
  color: var(--sp-ink);
}

.bs-single,
.bs-single *,
.bs-single *::before,
.bs-single *::after {
  box-sizing: border-box;
}

.bs-single img,
.bs-single table,
.bs-single form,
.bs-single fieldset {
  max-width: 100%;
}

.bs-single__breadcrumbs {
  min-width: 0;
  padding: 17px 0 24px;
  color: #929096;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bs-single__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.bs-single__breadcrumbs a:hover {
  color: var(--sp-accent);
}

.bs-single__breadcrumbs span {
  padding-inline: 6px;
}

/* Hero / above-the-fold */
.bs-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);
  align-items: start;
  gap: clamp(34px, 4.3vw, 58px);
  min-width: 0;
  max-width: 100%;
  padding: 10px 0 42px;
}

.bs-single__layout > *,
.bs-single__gallery,
.bs-single__summary,
.bs-single__gallery-shell,
.bs-single__stage,
.bs-single__form,
.bs-single__form form.cart,
.bs-single__form .single_variation_wrap,
.bs-single__form .woocommerce-variation-add-to-cart {
  min-width: 0;
  max-width: 100%;
}

/* Gallery */
.bs-single__gallery-shell {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  direction: ltr;
}

/* A product with only one image has no thumbnail rail. Keep the stage on the
 * full gallery width instead of letting CSS Grid place it in the 82px rail. */
.bs-single__gallery-shell.is-single-image {
  grid-template-columns: minmax(0, 1fr);
}

.bs-single__gallery-shell.is-single-image .bs-single__stage {
  grid-column: 1 / -1;
  width: 100%;
}

.bs-single__thumbs {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 660px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1px;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

.bs-single__thumb {
  flex: 0 0 94px;
  width: 80px;
  height: 94px;
  padding: 0;
  border: 1px solid #e8e6e9;
  border-radius: 13px;
  background: #fafafa;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bs-single__thumb:hover {
  border-color: #ef9ab6;
  transform: translateY(-1px);
}

.bs-single__thumb.is-active {
  border-color: var(--sp-accent);
  box-shadow: 0 0 0 2px rgba(233, 71, 124, .09);
}

.bs-single__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bs-single__stage {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  border: 1px solid #f0edef;
  border-radius: var(--sp-radius);
  background: var(--sp-surface);
  direction: rtl;
  isolation: isolate;
}

.bs-single__main-image {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  object-fit: contain;
  object-position: center;
  transition: opacity .2s ease;
}


.bs-single__sale,
.bs-single__counter,
.bs-single__zoom,
.bs-single__prev,
.bs-single__next,
.bs-single__wishlist {
  position: absolute;
  z-index: 3;
}

.bs-single__sale {
  top: 15px;
  right: 15px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: var(--sp-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 7px 20px rgba(233, 71, 124, .12);
}

.bs-single__wishlist {
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  padding: 0;
  border: 1px solid rgba(32, 33, 37, .07);
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: #4f4d53;
  box-shadow: 0 8px 22px rgba(28, 26, 30, .06);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: color .16s ease, border-color .16s ease, transform .16s ease, background .16s ease;
}

.bs-single__wishlist:hover {
  color: var(--sp-accent);
  border-color: #f0aec4;
  transform: scale(1.04);
}

.bs-single__wishlist[aria-pressed="true"],
.bs-single__wishlist.is-active {
  color: var(--sp-accent);
  border-color: #f0aec4;
  background: #fff4f8;
}

.bs-single__wishlist[aria-pressed="true"] .bs-icon,
.bs-single__wishlist.is-active .bs-icon {
  fill: currentColor;
}

.bs-single__wishlist .bs-icon {
  width: 19px;
  height: 19px;
}

.bs-single__counter {
  right: 15px;
  bottom: 15px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #69666d;
  font-size: 11px;
  box-shadow: 0 5px 15px rgba(25,25,30,.04);
}

.bs-single__stage button.bs-single__zoom,
.bs-single__stage button.bs-single__prev,
.bs-single__stage button.bs-single__next {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(32, 33, 37, .08);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #444248;
  box-shadow: 0 7px 20px rgba(28, 25, 30, .06);
  cursor: pointer;
  backdrop-filter: blur(5px);
}

.bs-single__prev,
.bs-single__next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 25px;
}

.bs-single__prev {
  right: 14px;
}

.bs-single__next {
  left: 14px;
}

.bs-single__zoom {
  left: 15px;
  bottom: 15px;
}

.bs-single__zoom .bs-icon {
  width: 18px;
  height: 18px;
}

/* Summary */
.bs-single__summary {
  padding-top: 4px;
}

.bs-single__category {
  margin-bottom: 9px;
  color: var(--sp-accent-dark);
  font-size: 11px;
}

.bs-single__category a {
  color: inherit;
  text-decoration: none;
}

.bs-single__title-row {
  display: block;
}

.bs-single__title-row h1 {
  max-width: 100%;
  margin: 0;
  color: #232429;
  font-size: clamp(24px, 2.35vw, 31px);
  font-weight: 800;
  line-height: 1.62;
  letter-spacing: -.5px;
  overflow-wrap: anywhere;
}

.bs-single__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
  margin-top: 8px;
  color: #6f6d73;
  font-size: 11px;
}

.bs-single__rating .star-rating {
  margin: 0;
  color: #f2ad32;
}

.bs-single__rating strong {
  color: #454349;
  font-weight: 600;
}

.bs-single__rating a {
  color: #7f7c82;
  text-decoration: none;
}

.bs-single__rating a:hover {
  color: var(--sp-accent-dark);
}

.bs-single__short {
  max-width: 620px;
  margin-top: 16px;
  color: #737177;
  font-size: 11.5px;
  line-height: 2;
}

.bs-single__short p {
  margin: 0;
}

.bs-single__commercial {
  margin-top: 20px;
  padding: 17px 0 16px;
  border-block: 1px solid var(--sp-line);
}

.bs-single__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  min-height: 34px;
  color: var(--sp-accent-dark);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.6;
}

.bs-single__price > span,
.bs-single__price .price {
  max-width: 100%;
}

.bs-single__price small {
  color: var(--sp-muted);
  font-size: 11px;
  font-weight: 500;
}

.bs-single__price del {
  color: #aaa6aa;
  font-size: 11px;
  font-weight: 400;
  opacity: 1;
}

.bs-single__price ins {
  color: inherit;
  text-decoration: none;
}

.bs-single__price .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.bs-single__price .woocommerce-Price-currencySymbol {
  font-size: 11px;
}

.bs-single__stock {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  color: var(--sp-success);
  font-size: 11px;
}

.bs-single__stock::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #39aa6c;
  box-shadow: 0 0 0 4px rgba(57,170,108,.09);
}

.bs-single__stock:has(.out-of-stock)::before {
  background: #c5475d;
  box-shadow: 0 0 0 4px rgba(197,71,93,.09);
}

.bs-single__stock .out-of-stock {
  color: #b43f57;
}

.bs-single__stock p {
  margin: 0;
}

/* Native WooCommerce form kept authoritative */
.bs-single__form {
  width: 100%;
  margin-top: 20px;
}

.bs-single__form form.cart {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}

.bs-single__form .variations_form.cart {
  display: block;
}

.bs-single__form table.variations {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 8px;
  border: 0;
  border-collapse: collapse;
}

.bs-single__form .variations tbody {
  display: block;
  width: 100%;
}

.bs-single__form .variations tr {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  margin-bottom: 18px;
}

.bs-single__form .variations th,
.bs-single__form .variations td {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  text-align: right;
}

.bs-single__form .variations th {
  color: #444248;
  font-size: 12px;
  font-weight: 700;
}

.bs-single__form .variations label {
  font-weight: 700;
}

.bs-single__form .variations select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  pointer-events: none;
}

.bs-single__form .reset_variations {
  display: inline-flex;
  margin: 7px 0 0;
  color: var(--sp-accent-dark);
  font-size: 11px;
}

.bs-single__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin-top: 10px;
}

.bs-single__choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 56px;
  min-height: 39px;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid #e4e2e5;
  border-radius: 10px;
  background: #fff;
  color: #4d4b51;
  font: inherit;
  font-size: 11px;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease;
}

.bs-single__choice:hover:not(:disabled) {
  border-color: #ef9ab6;
}

.bs-single__choice[aria-pressed="true"] {
  border-color: var(--sp-accent);
  background: var(--sp-accent);
  color: #fff;
}

.bs-single__choice:disabled {
  opacity: .35;
  text-decoration: line-through;
  cursor: not-allowed;
}

.bs-single__choice--color[aria-pressed="true"] {
  background: #fff;
  color: var(--sp-accent-dark);
  box-shadow: 0 0 0 2px rgba(233,71,124,.08);
}

.bs-single__swatch {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #d9dade;
}

.bs-single__choice--color[aria-pressed="true"] .bs-single__swatch {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--sp-accent);
}

.bs-single__form .bs-single__option-row th {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bs-single__form .single_variation_wrap {
  width: 100%;
}

.bs-single__form .woocommerce-variation {
  max-width: 100%;
}

.bs-single__form .woocommerce-variation-price {
  display: none;
}

.bs-single__form .woocommerce-variation-availability {
  margin-bottom: 5px;
  color: var(--sp-success);
  font-size: 11px;
}

.bs-single__form .woocommerce-variation-add-to-cart {
  width: 100%;
  display: flex !important;
  align-items: stretch;
  gap: 10px;
  margin-top: 8px;
}

.bs-single__form .quantity {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 112px;
  width: 112px;
  min-width: 0;
  height: 49px;
  margin: 0 !important;
  border: 1px solid #e6e4e7;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.bs-single__form .quantity input.qty {
  width: 42px !important;
  min-width: 0;
  height: 47px;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: 0;
  background: transparent;
  color: #333137;
  text-align: center;
  direction: ltr;
  appearance: textfield;
  box-shadow: none !important;
}

.bs-single__form .quantity input.qty::-webkit-inner-spin-button,
.bs-single__form .quantity input.qty::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.bs-single__form .quantity button {
  flex: 0 0 34px;
  width: 34px;
  height: 47px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #87556a;
  font-size: 17px;
  cursor: pointer;
}

/* WooCommerce's default .button.alt is more specific; override it deliberately. */
body.single-product .bs-single__form button.single_add_to_cart_button.button,
body.single-product .bs-single__form button.single_add_to_cart_button.button.alt,
body.single-product .bs-single__form .single_add_to_cart_button {
  flex: 1 1 220px;
  width: auto;
  min-width: 0;
  min-height: 49px;
  margin: 0 !important;
  padding: 8px 20px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #ef4f84, #df326c) !important;
  color: #fff !important;
  font-family: var(--bs-font) !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  box-shadow: 0 10px 24px rgba(223,50,108,.17) !important;
  opacity: 1;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

body.single-product .bs-single__form button.single_add_to_cart_button:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: saturate(1.04);
  box-shadow: 0 13px 28px rgba(223,50,108,.22) !important;
}

body.single-product .bs-single__form button.single_add_to_cart_button:disabled,
body.single-product .bs-single__form button.single_add_to_cart_button.disabled {
  background: #c8c9cc !important;
  box-shadow: none !important;
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.bs-single__guide-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin-top: 7px;
  padding: 5px 0;
  border: 0;
  background: none;
  color: var(--sp-accent-dark);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.bs-single__guide-link .bs-icon {
  width: 16px;
  height: 16px;
}

.bs-single__form .bs-single__option-row .bs-single__guide-link {
  margin: 0;
  padding: 0;
}

.bs-single__summary > .bs-single__guide-link:has(+ .bs-single__benefits) {
  display: inline-flex;
}

/* Trust: one clean row on desktop, 2x2 on mobile */
.bs-single__benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--sp-line);
}

.bs-single__benefits span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 0 2px;
  color: #65636a;
  font-size: 11px;
  line-height: 1.65;
}

.bs-single__benefits b {
  min-width: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.bs-single__benefits .bs-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--sp-accent);
}

.bs-single__sku {
  display: block;
  margin-top: 15px;
  color: #918e94;
  font-size: 11px;
}

/* Product details */
.bs-single__details {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 24px;
  padding: 0;
  border-top: 1px solid var(--sp-line);
  background: #fff;
}

.bs-single__section-head {
  padding-top: 24px;
}

.bs-single__section-head p {
  margin: 0 0 5px;
  color: var(--sp-accent);
  font-size: 11px;
}

.bs-single__section-head h2 {
  margin: 0;
  color: #28272c;
  font-size: 20px;
}

.bs-single__tabs {
  display: flex;
  align-items: center;
  gap: 29px;
  width: 100%;
  min-width: 0;
  margin-top: 15px;
  border-bottom: 1px solid var(--sp-line);
  overflow-x: auto;
  scrollbar-width: none;
}

.bs-single__tabs::-webkit-scrollbar {
  display: none;
}

.bs-single__tabs button {
  flex: none;
  min-height: 53px;
  padding: 0 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #858289;
  font: inherit;
  font-size: 11px;
  white-space: nowrap;
  cursor: pointer;
}

.bs-single__tabs button[aria-selected="true"] {
  border-bottom-color: var(--sp-accent);
  color: #29282d;
  font-weight: 700;
}

.bs-single__accordions {
  max-width: 950px;
}

.bs-single__accordion-trigger {
  display: none;
}

.bs-single__panel {
  width: 100%;
  max-width: 950px;
  min-width: 0;
  padding: 30px 0 7px;
  color: #66646b;
  font-size: 11px;
  line-height: 2.15;
  overflow-wrap: anywhere;
}

.bs-single__panel[hidden] {
  display: none !important;
}

.bs-single__panel h2,
.bs-single__panel h3 {
  color: #302f34;
}

.bs-single__panel h2 {
  font-size: 18px;
}

.bs-single__panel table {
  width: 100%;
  border-collapse: collapse;
}

.bs-single__panel th,
.bs-single__panel td {
  padding: 10px;
  border-bottom: 1px solid var(--sp-line);
  text-align: right;
  overflow-wrap: anywhere;
}

.bs-single__panel img,
.bs-single__panel iframe,
.bs-single__panel video {
  max-width: 100%;
  height: auto;
}

/* Reviews can otherwise inject wide default WooCommerce blocks. */
.bs-single__panel #reviews,
.bs-single__panel #comments,
.bs-single__panel #review_form_wrapper,
.bs-single__panel .comment-form,
.bs-single__panel .comment-form > * {
  max-width: 100%;
  min-width: 0;
}

/* Related products */
.bs-single__related {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 62px 0 24px;
  overflow: hidden;
}

.bs-single__related .bs-single__section-head {
  padding-top: 0;
}

.bs-single__related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 19px;
}

.bs-single__related-grid > * {
  min-width: 0 !important;
  max-width: 100%;
}

/* Dialogs */
.bs-single__dialog {
  width: min(560px, calc(100% - 28px));
  max-width: calc(100vw - 28px);
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 22px;
  border: 1px solid var(--sp-line);
  border-radius: 18px;
  background: #fff;
  color: var(--sp-ink);
  font: inherit;
  overflow: auto;
  box-shadow: 0 25px 75px rgba(29,17,26,.25);
}

.bs-single__dialog::backdrop {
  background: rgba(23,18,23,.72);
  backdrop-filter: blur(4px);
}

.bs-single__dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.bs-single__dialog h2 {
  margin: 0;
  font-size: 19px;
}

.bs-single__dialog p,
.bs-single__guide-content {
  font-size: 11px;
  line-height: 2;
}

.bs-single__guide-content table {
  width: 100%;
  max-width: 100%;
}

.bs-single__dialog button[data-bs-close-dialog] {
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f6f1f3;
  font-size: 22px;
  cursor: pointer;
}

.bs-single__dialog--image {
  width: min(1000px, calc(100% - 24px));
  height: min(90dvh, 900px);
  padding: 8px;
  overflow: hidden;
  background: #f9f9fa;
}

.bs-single__dialog--image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.bs-single__dialog--image button[data-bs-close-dialog] {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  background: #fff;
}

/* Sticky mobile purchase bar */
.bs-single__mobile-buy {
  display: none;
}

/* motion */
.bs-single__enter {
  animation: bs-sp-enter .45s both;
}

.bs-single__summary {
  animation-delay: .06s;
}

.bs-single__reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}

.bs-single__reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes bs-sp-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Tablet */
@media (max-width: 1080px) {
  .bs-single__layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .95fr);
    gap: 28px;
  }

  .bs-single__gallery-shell {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .bs-single__thumb {
    width: 66px;
    height: 80px;
    flex-basis: 80px;
  }

  .bs-single__stage {
    min-height: 0;
  }

  .bs-single__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 12px;
  }

  .bs-single__related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 767px) {
  html,
  body.single-product {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body.single-product {
    --bs-single-mobile-nav-height: 66px;
    padding-bottom: calc(var(--bs-single-mobile-nav-height) + 78px + env(safe-area-inset-bottom, 0px));
  }

  .single-product .container.bs-single,
  .bs-single {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    padding-bottom: 28px;
    overflow: visible;
  }

  .bs-single__breadcrumbs {
    padding: 9px 0 13px;
    font-size: 11px;
  }

  .bs-single__layout {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 4px 0 26px;
    overflow: visible;
  }

  .bs-single__gallery,
  .bs-single__summary {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .bs-single__gallery-shell {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .bs-single__stage {
    order: 1;
    width: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    aspect-ratio: auto;
    border-radius: 17px;
  }

  .bs-single__main-image {
    width: 100%;
    height: auto;
    padding: 0;
    object-fit: contain;
    object-position: center;
  }

  .bs-single__stage:hover .bs-single__main-image {
    transform: none;
  }

  .bs-single__thumbs {
    order: 2;
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    gap: 7px;
    max-height: none;
    padding-bottom: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
  }

  .bs-single__thumbs::-webkit-scrollbar {
    display: none;
  }

  .bs-single__thumb {
    flex: 0 0 61px;
    width: 61px;
    height: 69px;
    border-radius: 10px;
    scroll-snap-align: start;
  }

  .bs-single__prev,
  .bs-single__next,
  .bs-single__zoom {
    display: none !important;
  }

  .bs-single__sale {
    top: 10px;
    right: 10px;
    min-height: 27px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .bs-single__wishlist {
    top: 9px;
    left: 9px;
    width: 36px;
    height: 36px;
  }

  .bs-single__counter {
    right: 10px;
    bottom: 10px;
    font-size: 11px;
  }

  .bs-single__summary {
    padding-top: 22px;
  }

  .bs-single__category {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .bs-single__title-row h1 {
    font-size: 21px;
    line-height: 1.65;
    letter-spacing: 0;
  }

  .bs-single__rating {
    margin-top: 7px;
    font-size: 11px;
  }

  .bs-single__short {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.95;
  }

  .bs-single__commercial {
    margin-top: 16px;
    padding: 14px 0;
  }

  .bs-single__price {
    font-size: 20px;
  }

  .bs-single__stock {
    font-size: 11px;
  }

  .bs-single__form {
    margin-top: 18px;
  }

  .bs-single__choices {
    gap: 7px;
  }

  .bs-single__choice {
    min-width: 52px;
    min-height: 38px;
    padding-inline: 10px;
    font-size: 11px;
  }

  /* Sticky CTA is the single mobile purchase action; keep native controls in the DOM for WooCommerce. */
  .bs-single.has-mobile-buy .bs-single__form form.cart:not(.variations_form) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .bs-single.has-mobile-buy .bs-single__form .woocommerce-variation-add-to-cart {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .bs-single__guide-link {
    font-size: 11px;
  }

  .bs-single__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 18px;
    padding: 12px;
    border: 1px solid #f0edef;
    border-radius: 14px;
  }

  .bs-single__benefits span {
    min-height: 43px;
    padding: 6px;
    font-size: 11px;
  }

  .bs-single__benefits .bs-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .bs-single__sku {
    margin-top: 12px;
    font-size: 11px;
  }

  .bs-single__details {
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
    border-top: 1px solid var(--sp-line);
    overflow: visible;
  }

  .bs-single__section-head {
    padding-top: 20px;
  }

  .bs-single__section-head h2 {
    font-size: 17px;
  }

  .bs-single__tabs {
    display: none;
  }

  .bs-single__accordions {
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
    border-top: 1px solid var(--sp-line);
  }

  .bs-single__accordion-trigger {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 53px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--sp-line);
    background: #fff;
    color: var(--sp-ink);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
  }

  .bs-single__accordion-trigger span {
    flex: 0 0 auto;
    font-size: 19px;
    font-weight: 400;
    transition: transform .18s ease;
  }

  .bs-single__accordion-trigger[aria-expanded="true"] span {
    transform: rotate(45deg);
  }

  .bs-single__panel {
    width: 100%;
    max-width: 100%;
    padding: 13px 0 17px;
    border-bottom: 1px solid var(--sp-line);
    font-size: 11px;
    line-height: 2;
    overflow-wrap: anywhere;
    overflow-x: auto;
  }

  .bs-single__panel table {
    display: table;
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
  }

  .bs-single__panel th,
  .bs-single__panel td {
    padding: 8px 5px;
    word-break: break-word;
  }

  /* No horizontal product track on mobile: two clean cards per row. */
  .bs-single__related {
    width: 100%;
    max-width: 100%;
    margin-top: 44px;
    overflow: visible;
  }

  .bs-single__related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    padding: 0;
    overflow: visible;
  }

  .bs-single__related-grid > .product-card {
    width: 100%;
    min-width: 0 !important;
    max-width: 100%;
  }

  .bs-single__dialog {
    max-width: calc(100vw - 24px);
  }

  .bs-single__dialog--image {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  .bs-single__mobile-buy {
    position: fixed;
    z-index: 94;
    right: 0;
    left: 0;
    bottom: calc(var(--bs-single-mobile-nav-height) + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(150px, 1.15fr);
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 74px;
    padding: 8px 12px;
    border-top: 1px solid #eee9ec;
    background: rgba(255,255,255,.98);
    box-shadow: 0 -9px 28px rgba(25,25,30,.07);
    backdrop-filter: blur(8px);
  }

  .bs-single__mobile-buy.has-quantity {
    grid-template-columns: minmax(66px, .68fr) 92px minmax(142px, 1.32fr);
  }

  .bs-single__mobile-price {
    display: flex;
    min-width: 0;
    flex-direction: column;
  }

  .bs-single__mobile-quantity {
    display: grid;
    min-width: 0;
    gap: 3px;
  }

  .bs-single__mobile-quantity[hidden] {
    display: none !important;
  }

  .bs-single__mobile-quantity > small {
    color: #969399;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
  }

  .bs-single__mobile-qty-stepper {
    display: grid;
    grid-template-columns: 30px minmax(26px, 1fr) 30px;
    align-items: center;
    height: 40px;
    overflow: hidden;
    border: 1px solid #e8e3e6;
    border-radius: 11px;
    background: #fff;
  }

  .bs-single__mobile-qty-stepper button {
    width: 30px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #7f5668;
    font-family: var(--bs-font);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
  }

  .bs-single__mobile-qty-stepper button:disabled {
    color: #c8c3c6;
    cursor: not-allowed;
  }

  .bs-single__mobile-qty-stepper span {
    min-width: 0;
    color: #343137;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
  }

  .bs-single__mobile-buy small {
    color: #969399;
    font-size: 11px;
  }

  .bs-single__mobile-buy strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: var(--sp-accent-dark);
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .bs-single__mobile-buy strong del {
    display: none;
  }

  .bs-single__mobile-buy strong ins {
    text-decoration: none;
  }

  .bs-single__mobile-buy > button {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 8px 10px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #ef4f84, #df326c);
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.45;
    white-space: normal;
    cursor: pointer;
    box-shadow: 0 9px 20px rgba(223,50,108,.16);
  }

  .bs-single__mobile-buy > button:disabled {
    background: #c7c9cc;
    box-shadow: none;
    cursor: not-allowed;
  }

  .single-product .site-footer {
    margin-bottom: 0;
  }
}

@media (max-width: 420px) {
  .bs-single__benefits {
    padding-inline: 8px;
  }

  .bs-single__related-grid {
    gap: 8px;
  }

  .bs-single__mobile-buy {
    grid-template-columns: minmax(0, .78fr) minmax(142px, 1.22fr);
    padding-inline: 10px;
  }

  .bs-single__mobile-buy.has-quantity {
    grid-template-columns: minmax(62px, .6fr) 86px minmax(136px, 1.4fr);
    gap: 7px;
  }

  .bs-single__mobile-qty-stepper {
    grid-template-columns: 28px minmax(24px, 1fr) 28px;
  }

  .bs-single__mobile-qty-stepper button {
    width: 28px;
  }
}

@media (max-width: 360px) {
  .single-product .container.bs-single,
  .bs-single {
    width: calc(100% - 22px) !important;
    max-width: calc(100% - 22px) !important;
  }

  .bs-single__benefits {
    grid-template-columns: 1fr;
  }

  .bs-single__related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bs-single__mobile-buy {
    grid-template-columns: minmax(0, .7fr) minmax(132px, 1.3fr);
  }

  .bs-single__mobile-buy.has-quantity {
    grid-template-columns: minmax(58px, .56fr) 82px minmax(128px, 1.44fr);
    gap: 6px;
    padding-inline: 8px;
  }

  .bs-single__mobile-quantity > small {
    font-size: 11px;
  }

  .bs-single__mobile-qty-stepper {
    grid-template-columns: 26px minmax(22px, 1fr) 26px;
  }

  .bs-single__mobile-qty-stepper button {
    width: 26px;
  }

  .bs-single__mobile-buy strong {
    font-size: 11px;
  }

  .bs-single__mobile-buy > button {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bs-single__enter {
    animation: none;
  }

  .bs-single__reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bs-single__main-image,
  .bs-single__accordion-trigger span {
    transition: none;
  }
}

/* Baby Salar product-level size guide */
.bs-single__dialog--guide{
  width:min(720px,calc(100vw - 28px));
  padding:24px;
}
.bs-single__guide-product{
  margin:5px 0 0!important;
  color:#8c878e;
  font-size:11px!important;
  line-height:1.7!important;
}
.bs-single__guide-available{
  margin:14px 0 0;
  padding:10px 12px;
  border-radius:10px;
  background:#fff5f8;
  color:#704454;
}
.bs-single__guide-table-wrap{
  width:100%;
  max-width:100%;
  margin-top:16px;
  border:1px solid #eee4e8;
  border-radius:14px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
}
.bs-single__guide-table{
  width:100%;
  min-width:480px;
  border:0;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  color:#454249;
  font-size:11px;
  text-align:center;
}
.bs-single__guide-table th,
.bs-single__guide-table td{
  min-width:92px;
  padding:12px 14px;
  border:0;
  border-left:1px solid #f1e9ec;
  border-bottom:1px solid #f1e9ec;
  text-align:center;
  white-space:nowrap;
}
.bs-single__guide-table tr>*:last-child{border-left:0}
.bs-single__guide-table tbody tr:last-child>*{border-bottom:0}
.bs-single__guide-table thead th{
  background:#fbf5f7;
  color:#6a3548;
  font-weight:800;
}
.bs-single__guide-table tbody th{
  position:sticky;
  right:0;
  z-index:1;
  background:#fffafb;
  color:#5e3946;
  font-weight:800;
  box-shadow:-1px 0 0 #f1e9ec;
}
.bs-single__dialog--guide .bs-single__guide-content{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid #f0e9ec;
  color:#77727a;
}
.bs-single__dialog--guide .bs-single__guide-content p{margin:0}

@media (max-width:767px){
  .bs-single__dialog--guide{
    inset:auto 0 0 0;
    width:100vw;
    max-width:100vw;
    max-height:min(82dvh,720px);
    margin:0;
    padding:18px 14px calc(18px + env(safe-area-inset-bottom,0px));
    border:0;
    border-top:1px solid #eee4e8;
    border-radius:22px 22px 0 0;
    box-shadow:0 -18px 55px rgba(29,17,26,.18);
  }
  .bs-single__dialog--guide .bs-single__dialog-head{
    position:sticky;
    top:-18px;
    z-index:4;
    margin:-18px -14px 0;
    padding:16px 14px 12px;
    border-bottom:1px solid #f0e9ec;
    background:rgba(255,255,255,.97);
    backdrop-filter:blur(10px);
  }
  .bs-single__dialog--guide::before{
    content:"";
    display:block;
    width:42px;
    height:4px;
    margin:-8px auto 12px;
    border-radius:999px;
    background:#ddd5d9;
  }
  .bs-single__guide-table-wrap{
    margin-top:13px;
    border-radius:12px;
  }
  .bs-single__guide-table{
    min-width:440px;
    font-size:11px;
  }
  .bs-single__guide-table th,
  .bs-single__guide-table td{
    min-width:84px;
    padding:10px 11px;
  }
}

/* Baby Salar single-product gallery polish v0.10.2 */
@media (min-width: 768px) {
  .bs-single__thumb-rail {
    position: relative;
    align-self: stretch;
    min-width: 0;
    min-height: 0;
    height: 100%;
    max-height: 660px;
    overflow: hidden;
    border-radius: 16px;
  }

  .bs-single__thumbs {
    width: 100%;
    height: 100%;
    max-height: none;
    gap: 10px;
    padding: 40px 7px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
  }

  .bs-single__thumbs::-webkit-scrollbar {
    display: none;
  }

  .bs-single__thumb {
    flex: 0 0 96px;
    width: 100%;
    height: 96px;
    border: 1px solid #e9e5e8;
    border-radius: 14px;
    background: #f8f7f8;
    scroll-snap-align: center;
    box-shadow: 0 3px 10px rgba(26, 22, 25, .025);
  }

  .bs-single__thumb:hover {
    border-color: rgba(233,71,124,.52);
    box-shadow: 0 8px 20px rgba(54,40,48,.07);
    transform: translateY(-1px);
  }

  .bs-single__thumb.is-active {
    border-color: var(--sp-accent);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(233,71,124,.18), 0 9px 22px rgba(54,40,48,.08);
  }

  .bs-single__thumb-scroll {
    position: absolute;
    right: 50%;
    z-index: 7;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(48,42,46,.08);
    border-radius: 50%;
    background: rgba(255,255,255,.96);
    color: #5c575c;
    box-shadow: 0 7px 20px rgba(35,29,33,.08);
    transform: translateX(50%);
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: color .16s ease, border-color .16s ease, transform .16s ease, opacity .16s ease;
  }

  .bs-single__thumb-scroll:hover {
    color: var(--sp-accent-dark);
    border-color: rgba(233,71,124,.35);
    transform: translateX(50%) scale(1.04);
  }

  .bs-single__thumb-scroll span {
    width: 8px;
    height: 8px;
    border-top: 1.8px solid currentColor;
    border-right: 1.8px solid currentColor;
  }

  .bs-single__thumb-scroll--up {
    top: 5px;
  }

  .bs-single__thumb-scroll--up span {
    transform: rotate(-45deg) translate(-1px, 1px);
  }

  .bs-single__thumb-scroll--down {
    bottom: 5px;
  }

  .bs-single__thumb-scroll--down span {
    transform: rotate(135deg) translate(-1px, 1px);
  }

  .bs-single__thumb-scrollbar {
    position: absolute;
    top: 43px;
    bottom: 43px;
    left: 1px;
    z-index: 6;
    width: 3px;
    border-radius: 999px;
    background: rgba(49,43,47,.07);
    cursor: pointer;
  }

  .bs-single__thumb-scrollbar span {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    min-height: 28px;
    border-radius: inherit;
    background: linear-gradient(180deg, #f08aae, var(--sp-accent));
    box-shadow: 0 2px 7px rgba(233,71,124,.18);
    will-change: transform;
  }

  .bs-single__thumb-rail.is-static .bs-single__thumb-scroll,
  .bs-single__thumb-rail.is-static .bs-single__thumb-scrollbar {
    opacity: 0;
    pointer-events: none;
  }

  .bs-single__thumb-rail.is-static .bs-single__thumbs {
    padding-top: 2px;
    padding-bottom: 2px;
  }
}

.bs-single__stage {
  box-shadow: 0 12px 36px rgba(32, 25, 29, .035);
}

.bs-single__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(255,255,255,.18);
  opacity: 0;
  transition: opacity .16s ease;
}

.bs-single__stage.is-switching::after {
  opacity: 1;
}

.bs-single__main-image {
  cursor: zoom-in;
}

.bs-single__stage button.bs-single__prev,
.bs-single__stage button.bs-single__next {
  width: 42px;
  height: 42px;
  border-color: rgba(43,38,41,.08);
  background: rgba(255,255,255,.90);
  box-shadow: 0 9px 25px rgba(31,25,29,.08);
  transition: transform .17s ease, background .17s ease, color .17s ease, border-color .17s ease;
}

.bs-single__stage button.bs-single__prev:hover,
.bs-single__stage button.bs-single__next:hover {
  background: #fff;
  color: var(--sp-accent-dark);
  border-color: rgba(233,71,124,.32);
}

.bs-single__prev,
.bs-single__next {
  font-size: 0;
}

.bs-single__next {
  right: 14px;
  left: auto;
}

.bs-single__prev {
  left: 14px;
  right: auto;
}

.bs-single__prev span,
.bs-single__next span,
.bs-single__lightbox-prev span,
.bs-single__lightbox-next span {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.bs-single__next span,
.bs-single__lightbox-next span {
  transform: rotate(45deg) translate(-1px, 1px);
}

.bs-single__prev span,
.bs-single__lightbox-prev span {
  transform: rotate(-135deg) translate(-1px, 1px);
}

/* Keep size helper visually attached to the size selector instead of floating on its own. */
.bs-single__form .bs-single__option-row th,
.bs-single__form .bs-single__option-heading {
  justify-content: flex-start;
  gap: 10px;
}

.bs-single__guide-link {
  min-height: 32px;
  margin-top: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(233,71,124,.28);
  border-radius: 10px;
  background: #fff8fb;
  color: var(--sp-accent-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 4px 14px rgba(233,71,124,.055);
  transition: color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.bs-single__guide-link:hover {
  border-color: rgba(233,71,124,.52);
  background: #fff1f6;
  color: #c72c61;
  box-shadow: 0 7px 18px rgba(233,71,124,.09);
  transform: translateY(-1px);
}

.bs-single__guide-link .bs-icon {
  width: 15px;
  height: 15px;
}

.bs-single__form .bs-single__option-row .bs-single__guide-link.is-inline {
  min-height: 30px;
  margin: 0;
  padding: 5px 9px;
}

/* Full-screen product lightbox with gallery navigation and click-to-zoom. */
.bs-single__dialog--image {
  width: min(1180px, calc(100vw - 34px));
  height: min(92dvh, 940px);
  max-width: calc(100vw - 34px);
  max-height: 92dvh;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #161418;
  color: #fff;
  box-shadow: 0 32px 90px rgba(0,0,0,.38);
}

.bs-single__dialog--image::backdrop {
  background: rgba(13,10,12,.84);
  backdrop-filter: blur(8px);
}

.bs-single__lightbox-bar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(9,8,10,.70), rgba(9,8,10,0));
  pointer-events: none;
}

.bs-single__lightbox-counter {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(25,22,25,.42);
  color: rgba(255,255,255,.9);
  font-size: 11px;
  direction: ltr;
  backdrop-filter: blur(9px);
  pointer-events: auto;
}

.bs-single__lightbox-actions {
  display: flex;
  gap: 7px;
  pointer-events: auto;
}

.bs-single__dialog--image .bs-single__lightbox-actions button,
.bs-single__dialog--image button[data-bs-close-dialog] {
  position: static;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: rgba(25,22,25,.46);
  color: #fff;
  font-size: 23px;
  cursor: pointer;
  backdrop-filter: blur(9px);
  transition: background .16s ease, transform .16s ease, border-color .16s ease;
}

.bs-single__dialog--image .bs-single__lightbox-actions button:hover,
.bs-single__dialog--image button[data-bs-close-dialog]:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  transform: scale(1.04);
}

.bs-single__lightbox-zoom-toggle .bs-icon {
  width: 17px;
  height: 17px;
}

.bs-single__lightbox-zoom-toggle[aria-pressed="true"] {
  color: #ff9dbd;
  border-color: rgba(255,157,189,.42) !important;
}

.bs-single__lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.bs-single__lightbox-viewport {
  width: 100%;
  height: 100%;
  padding: 62px 72px 28px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.24) transparent;
}

.bs-single__lightbox-viewport img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
  cursor: zoom-in;
  transform-origin: center center;
  transition: transform .22s ease;
}

.bs-single__lightbox-viewport.is-zoomed img {
  transform: scale(1.75);
  cursor: zoom-out;
}

.bs-single__lightbox-prev,
.bs-single__lightbox-next {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: rgba(25,22,25,.42);
  color: #fff;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .16s ease, transform .16s ease, border-color .16s ease;
}

.bs-single__lightbox-next {
  right: 14px;
}

.bs-single__lightbox-prev {
  left: 14px;
}

.bs-single__lightbox-prev:hover,
.bs-single__lightbox-next:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-50%) scale(1.04);
}

@media (max-width: 767px) {
  .bs-single__thumb-rail {
    order: 2;
    position: relative;
    width: 100%;
    max-width: 100%;
  }

  .bs-single__thumb-rail .bs-single__thumbs {
    order: initial;
    padding: 2px 0 4px;
  }

  .bs-single__thumb-scroll,
  .bs-single__thumb-scrollbar {
    display: none !important;
  }

  .bs-single__thumb {
    border-radius: 11px;
  }

  .bs-single__thumb.is-active {
    box-shadow: 0 0 0 2px rgba(233,71,124,.14);
  }

  .bs-single__form .bs-single__option-row th,
  .bs-single__form .bs-single__option-heading {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .bs-single__form .bs-single__option-row .bs-single__guide-link.is-inline {
    min-height: 29px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .bs-single__dialog--image {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .bs-single__lightbox-bar {
    min-height: 60px;
    padding: 9px 11px;
  }

  .bs-single__lightbox-viewport {
    padding: 58px 14px 72px;
  }

  .bs-single__lightbox-prev,
  .bs-single__lightbox-next {
    top: auto;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 43px;
    height: 43px;
    transform: none;
  }

  .bs-single__lightbox-next {
    right: calc(50% - 52px);
  }

  .bs-single__lightbox-prev {
    left: calc(50% - 52px);
  }

  .bs-single__lightbox-prev:hover,
  .bs-single__lightbox-next:hover {
    transform: none;
  }

  .bs-single__lightbox-viewport.is-zoomed img {
    transform: scale(1.5);
  }
}

@media (min-width: 768px) {
  .bs-single__thumb-rail::before,
  .bs-single__thumb-rail::after {
    content: "";
    position: absolute;
    right: 4px;
    left: 4px;
    z-index: 5;
    height: 44px;
    pointer-events: none;
    opacity: 1;
    transition: opacity .16s ease;
  }

  .bs-single__thumb-rail::before {
    top: 0;
    background: linear-gradient(180deg, #fff 20%, rgba(255,255,255,0));
  }

  .bs-single__thumb-rail::after {
    bottom: 0;
    background: linear-gradient(0deg, #fff 20%, rgba(255,255,255,0));
  }

  .bs-single__thumb-rail.is-static::before,
  .bs-single__thumb-rail.is-static::after {
    opacity: 0;
  }
}

.bs-single__dialog--image.is-single-image .bs-single__lightbox-prev,
.bs-single__dialog--image.is-single-image .bs-single__lightbox-next {
  display: none;
}

/* Related items use the shared natural-height image, just like home and archives. */
.bs-single__related-grid .product-card__media{
  aspect-ratio:auto;
  height:auto;
}
.bs-single__related-grid .product-card__image{
  object-fit:contain;
  object-position:center;
}
