.products-details-page .carousel {
  position: relative;
}

.products-details-page .products-details {
  margin-top: 3rem;
}

/* Bar mode: trail flush under header — trail sits outside .main-container */
.products-details-page.products-details-page--bc-bar .products-details {
  margin-top: 1.75rem;
}

@media (max-width: 767.98px) {
  .products-details-page.products-details-page--bc-bar .products-details {
    margin-top: 1.25rem;
  }
}

.products-details-page #product-images-slick img {
  object-fit: contain;
  cursor: pointer;
}

.products-details-page #carousel-thumbs {
  padding: 0 50px;
}

.products-details-page #carousel-thumbs img:hover {
  opacity: 100%;
}

.products-details-page #carousel-thumbs img {
  opacity: 80%;
  border: 3px solid transparent;
  cursor: pointer;
}

.products-details-page #carousel-thumbs .selected img {
  opacity: 100%;
}

.products-details-page .carousel-control-prev,
.products-details-page .carousel-control-next {
  width: 44px;
  height: 44px;
}

.products-details-page .carousel-fullscreen-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  z-index: 4;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(255,255,255,.80)'  viewBox='0 0 16 16'%3E%3Cpath d='M1.5 1a.5.5 0 0 0-.5.5v4a.5.5 0 0 1-1 0v-4A1.5 1.5 0 0 1 1.5 0h4a.5.5 0 0 1 0 1h-4zM10 .5a.5.5 0 0 1 .5-.5h4A1.5 1.5 0 0 1 16 1.5v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 1-.5-.5zM.5 10a.5.5 0 0 1 .5.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 0 1h-4A1.5 1.5 0 0 1 0 14.5v-4a.5.5 0 0 1 .5-.5zm15 0a.5.5 0 0 1 .5.5v4a1.5 1.5 0 0 1-1.5 1.5h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 1 .5-.5z' /%3E%3C/svg%3E");
}

.products-details-page .carousel-fullscreen-icon:hover {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgb(255,255,255)' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 1a.5.5 0 0 0-.5.5v4a.5.5 0 0 1-1 0v-4A1.5 1.5 0 0 1 1.5 0h4a.5.5 0 0 1 0 1h-4zM10 .5a.5.5 0 0 1 .5-.5h4A1.5 1.5 0 0 1 16 1.5v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 1-.5-.5zM.5 10a.5.5 0 0 1 .5.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 0 1h-4A1.5 1.5 0 0 1 0 14.5v-4a.5.5 0 0 1 .5-.5zm15 0a.5.5 0 0 1 .5.5v4a1.5 1.5 0 0 1-1.5 1.5h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 1 .5-.5z' /%3E%3C/svg%3E");
}

.products-details-page .pause .carousel-pause-icon {
  position: absolute;
  top: 3.75rem;
  left: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  z-index: 4;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(255,255,255,.80)'  viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM6.25 5C5.56 5 5 5.56 5 6.25v3.5a1.25 1.25 0 1 0 2.5 0v-3.5C7.5 5.56 6.94 5 6.25 5zm3.5 0c-.69 0-1.25.56-1.25 1.25v3.5a1.25 1.25 0 1 0 2.5 0v-3.5C11 5.56 10.44 5 9.75 5z' /%3E%3C/svg%3E");
}

.products-details-page .pause .carousel-pause-icon:hover {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgb(255,255,255)'  viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM6.25 5C5.56 5 5 5.56 5 6.25v3.5a1.25 1.25 0 1 0 2.5 0v-3.5C7.5 5.56 6.94 5 6.25 5zm3.5 0c-.69 0-1.25.56-1.25 1.25v3.5a1.25 1.25 0 1 0 2.5 0v-3.5C11 5.56 10.44 5 9.75 5z' /%3E%3C/svg%3E");
}

.products-details-page .play .carousel-pause-icon {
  position: absolute;
  top: 3.75rem;
  left: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  z-index: 4;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(255,255,255,.80)'  viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM6.79 5.093A.5.5 0 0 0 6 5.5v5a.5.5 0 0 0 .79.407l3.5-2.5a.5.5 0 0 0 0-.814l-3.5-2.5z' /%3E%3C/svg%3E");
}

.products-details-page .play .carousel-pause-icon:hover {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgb(255,255,255)'  viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM6.79 5.093A.5.5 0 0 0 6 5.5v5a.5.5 0 0 0 .79.407l3.5-2.5a.5.5 0 0 0 0-.814l-3.5-2.5z' /%3E%3C/svg%3E");
}

.products-details-page #carousel-thumbs .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(0,0,0,.60)' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.products-details-page #carousel-thumbs .carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%60000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.products-details-page .modal-content {
  border: none;
}

.products-details-page #lightbox-container-image img {
  width: auto;
  max-height: 520px;
}

.products-details-page .lg-thumbs {
  margin-right: -7.5px;
  margin-left: -7.5px;
  margin-bottom: 25px;
}

.products-details-page .lg-thumbs a {
  cursor: pointer;
}

.products-details-page .lg-thumbs img,
.carousel-img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.products-details-page .lg-thumbs .col-3 {
  flex: 0 0 20%;
  max-width: 20%;
  margin-top: 15px;
  padding-right: 7.5px;
  padding-left: 7.5px;
}

.products-details-page .lg-thumbs .row {
  margin-left: 7.5px;
  margin-right: 7.5px;
}

.products-details-page .carousel-fullscreen-control {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 44px;
  height: 44px;
  background-color: #e1e1e1;
}

.products-details-page h4 {
  font-size: 1.3rem;
}

#product-custom-user-dropdown-fields label {
  display: block;
  color: var(--primary-color);
}

#product-custom-user-dropdown-fields select,
.select-quantity-div select {
  display: block;
  width: 100%;
  padding: 10px 5px;
  border-color: #ccc;
  border-radius: 3px;
  height: auto;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
}

#product-custom-user-dropdown-fields > div.form-group > div,
.select-quantity-div > div.form-group > div {
  position: relative;
}

#product-custom-user-dropdown-fields > div.form-group > div:after,
.select-quantity-div > div.form-group > div:after {
  content: "\e94b";
  font-family: "icomoon";
  font-size: 20px;
  color: #333;
  right: 0px;
  top: 24px;
  padding: 5px 8px;
  border-left: 1px solid #ccc;
  position: absolute;
  pointer-events: none;
  height: 40px;
  width: 40px;
}

.rtl #product-custom-user-dropdown-fields > div.form-group > div:after,
.select-quantity-div div.form-group > div:after {
  right: unset;
  left: 0px;
  border-left: 0;
  border-right: 1px solid #ccc;
}

.rtl .ekko-lightbox-nav-overlay a:last-child span {
  text-align: left;
}

.select-quantity-div > div.form-group {
  width: 100px;
}

.select-quantity-div > div.form-group > div:after {
  top: 0px;
}

#product-custom-user-option-fields .form-group label {
  display: inline-block;
  width: 100%;
  padding: 10px 10px;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 3px;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
}

#product-custom-user-option-fields,
.add-review-form-checkbox {
  display: flex;
  flex-wrap: wrap;
}

#product-custom-user-option-fields .form-group,
.add-review-form-checkbox .form-group {
  width: 100%;
}

#product-custom-user-option-fields input + span,
.add-review-form-checkbox input + span {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1px solid #ced4da;
  border-radius: 3px;
  cursor: pointer;
  right: 2px;
  top: 4px;
  position: relative;
}

.rtl #product-custom-user-option-fields input + span,
.rtl .add-review-form-checkbox input + span {
  right: -2px;
}

.add-review-form-checkbox input + span {
  right: 0 !important;
}

#product-custom-user-option-fields input:checked + span:after,
.add-review-form-checkbox input:checked + span:after {
  position: absolute;
  top: -2px;
  content: "\e910";
  font-family: "icomoon";
  font-size: 14px;
}

#product-custom-user-option-fields input,
.add-review-form-checkbox input {
  display: none;
}

.description-icon {
  font-size: 32px;
  width: 32px;
  color: var(--primary-color);
}

.description-title {
  font-size: 1.733rem;
  font-weight: 500;
  color: var(--secondary-color-alt3);
  margin-left: 40px;
}

.rtl .description-title {
  margin-left: unset;
  margin-right: 40px;
}
#nav-metafields td,
#nav-metafields th {
  border: 2px solid #dddddd;
  text-align: center;
  padding: 8px;
}

/* Product detail tabs ? ui.md strip: bottom border only, no vertical scroll */
.products-details-page {
  --tp-text-1: #767a7d;
  --tp-text-body: #010f1c;
}

.tp-product-details-tab-nav.tp-tab.pd-detail-tabs {
  padding: 16px;
  margin-top: 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--secondary-color-alt7, #ebebeb);
  overflow: visible;
}

.tp-product-details-tab-nav .nav.nav-tabs.tp-product-tab {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 16px clamp(24px, 4vw, 40px);
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #e0e2e3;
  overflow: visible;
}

.tp-tab.pd-detail-tabs .tp-product-tab.nav-tabs .nav-link {
  position: relative;
  margin: 0;
  padding: 0 9px 12px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
  font-size: 20px;
  font-weight: 500;
  color: var(--tp-text-1);
  white-space: normal;
  flex: 0 1 auto;
  text-align: center;
  cursor: pointer !important;
  transition: color 0.15s ease-in-out;
  -webkit-appearance: none;
  text-align: center;
}

.tp-tab.pd-detail-tabs .tp-product-tab.nav-tabs .nav-link:hover,
.tp-tab.pd-detail-tabs .tp-product-tab.nav-tabs .nav-link:focus {
  color: var(--tp-text-body);
}

.tp-tab.pd-detail-tabs .tp-product-tab.nav-tabs .nav-link.active {
  color: var(--tp-text-body) !important;
  background-color: transparent !important;
}

/* Themed tabs (product page ? settings: inactive / active / hover / accent) */
.tp-tab.pd-detail-tabs.pd-detail-tabs--themed
  .tp-product-tab.nav-tabs
  .nav-link {
  color: var(--pd-tab-inactive, var(--tp-text-1)) !important;
}

.tp-tab.pd-detail-tabs.pd-detail-tabs--themed
  .tp-product-tab.nav-tabs
  .nav-link:hover,
.tp-tab.pd-detail-tabs.pd-detail-tabs--themed
  .tp-product-tab.nav-tabs
  .nav-link:focus {
  color: var(
    --pd-tab-hover,
    var(--pd-tab-active, var(--tp-text-body))
  ) !important;
}

.tp-tab.pd-detail-tabs.pd-detail-tabs--themed
  .tp-product-tab.nav-tabs
  .nav-link.active {
  color: var(--pd-tab-active, var(--tp-text-body)) !important;
}

/* Desktop: accent line under active tab */
.tp-tab.pd-detail-tabs.pd-detail-tabs--themed
  .tp-product-tab.nav-tabs
  .nav-link.active::after {
  content: "";
  position: absolute;
  inset-inline: 4px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--pd-tab-accent, var(--primary-color, #3d0b17));
}

/* PDP tabs ? narrow phones: vertical list instead of wrapped row */
@media (max-width: 449.98px) {
  .tp-product-details-tab-nav .nav.nav-tabs.tp-product-tab {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    border-bottom: none;
    padding-bottom: 4px;
  }

  .tp-tab.pd-detail-tabs .tp-product-tab.nav-tabs .nav-link {
    width: 100%;
    max-width: none;
    flex: none;
    text-align: start;
    padding: 12px 14px;
    margin: 0;
    border-radius: 10px !important;
    border: 1px solid var(--secondary-color-alt7, #e0e2e3) !important;
    font-size: 1rem;
    line-height: 1.35;
    box-sizing: border-box;
  }

  .tp-tab.pd-detail-tabs .tp-product-tab.nav-tabs .nav-link.active {
    background-color: rgba(0, 0, 0, 0.03) !important;
    border-color: var(
      --pd-tab-accent,
      var(--primary-color, #3d0b17)
    ) !important;
    box-shadow: inset 3px 0 0
      var(--pd-tab-accent, var(--primary-color, #3d0b17));
  }

  .tp-tab.pd-detail-tabs.pd-detail-tabs--themed
    .tp-product-tab.nav-tabs
    .nav-link.active::after {
    display: none;
  }

  .rtl .tp-tab.pd-detail-tabs .tp-product-tab.nav-tabs .nav-link.active {
    box-shadow: inset -3px 0 0
      var(--pd-tab-accent, var(--primary-color, #3d0b17));
  }
}

.tp-product-tab-content.tp-product-tab-content {
  background: transparent;
}

.tp-product-tab-content
  > .pd-tab-pane
  > .pd-tab-pane-shell
  > .tp-title-section:first-child,
.tp-product-tab-content
  > .pd-tab-pane
  > .pd-tab-pane-shell
  > .tp-title-section--inline-actions:first-child {
  margin-bottom: 8px;
  text-align: center;
}

.tp-product-tab-content > .pd-tab-pane > .pd-tab-pane-shell {
  padding: 16px 20px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ebebeb;
}

.tp-product-tab-content .pd-tab-pane-shell > .tp-title-section--inline-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

/* Questions tab ? title + ?Add question? stacked (not one row) */
.tp-product-tab-content
  .pd-section-questions
  .pd-tab-pane-shell
  > .tp-title-section--inline-actions.pd-questions-title-stack {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
}

.tp-product-tab-content
  .pd-section-questions
  .pd-tab-pane-shell
  > .tp-title-section--inline-actions.pd-questions-title-stack
  .tp-title-section__titles {
  flex: none;
  min-width: 0;
  width: 100%;
}

.tp-product-tab-content
  .pd-section-questions
  .pd-tab-pane-shell
  > .tp-title-section--inline-actions.pd-questions-title-stack
  .add-review-btn {
  align-self: flex-start;
}

.tp-product-tab-content
  .pd-tab-pane-shell
  .tp-title-section--inline-actions
  .tp-title-section__titles {
  flex: 1;
  min-width: 180px;
}

.tp-product-tab-content .tp-title-section h3 {
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--tp-text-body);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.tp-product-tab-content .enhanced-title-border.home-block-line {
  display: block;
  height: 3px;
  width: 48px;
  border-radius: 2px;
  background: var(--primary-color);
}

.tp-product-tab-content .pd-tab-pane .description-box,
.tp-product-tab-content .pd-tab-pane .bundle-offer-title-description {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--secondary-color-alt8);
}

.tp-product-tab-content
  #nav-metafields
  .pd-tab-pane-shell
  .description-paragrah {
  padding: 0;
  background: transparent;
  border: none;
}

.tp-product-tab-content
  #nav-description
  .pd-tab-pane-shell
  .description-box.description-paragrah {
  padding: 0;
  background: transparent;
  border: none;
}

.tp-product-tab-content .description-paragrah,
.tp-product-tab-content .card-table {
  margin-left: 0;
}

.rtl .tp-product-tab-content .description-paragrah,
.rtl .tp-product-tab-content .card-table {
  margin-right: 0;
}

.tp-product-tab-content
  #nav-reviews
  .pd-tab-pane-shell
  .reviews-break-down-div {
  margin-top: 8px;
  padding: 0;
  background: transparent;
  border: none;
}

.tp-product-tab-content
  #nav-reviews
  .pd-ui-reviews-summary
  .product-rating
  .rating-average {
  margin-right: 0;
}

.rtl
  .tp-product-tab-content
  #nav-reviews
  .pd-ui-reviews-summary
  .product-rating
  .rating-average {
  margin-left: 0;
}

.tp-product-tab-content #nav-reviews .comment-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8eaed;
}

.tp-product-tab-content #nav-variants .card-table .card {
  border-radius: 10px;
  border: 1px solid #e8eaed;
  overflow: hidden;
}

.tp-product-tab-content #nav-variants .options-table .card {
  border-radius: 10px;
  border: 1px solid #e8eaed;
  margin-bottom: 12px;
  box-shadow: none;
}

/* Product options tab ? variant rows (grid desktop / stack mobile) */
.tp-product-tab-content #nav-variants .pd-variant-panel {
  border-radius: 10px;
  border: 1px solid #e8eaed;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

.tp-product-tab-content #nav-variants .pd-variant-panel--header {
  padding: 0;
  background-color: var(--secondary-color-alt4);
  color: var(--secondary-color-alt3);
}

.tp-product-tab-content
  #nav-variants
  .pd-variant-panel--header
  .pd-variant-cell--head {
  font-size: 1.167rem;
  font-weight: var(--font-weight-sizeOne);
}

.tp-product-tab-content #nav-variants .pd-variant-card {
  margin-bottom: 12px;
}

.tp-product-tab-content #nav-variants .pd-variant-card:last-child {
  margin-bottom: 0;
}

.tp-product-tab-content #nav-variants .pd-variant-card > .pd-variant-panel {
  padding: 12px 14px;
}

.tp-product-tab-content
  #nav-variants
  .pd-variant-panel--header
  .pd-variant-grid {
  padding: 10px;
}

.tp-product-tab-content #nav-variants .pd-variant-grid {
  gap: 12px;
}

@media (min-width: 992px) {
  .tp-product-tab-content #nav-variants .pd-variants-table .pd-variant-grid {
    display: grid;
    grid-template-columns: repeat(var(--pd-variant-cols, 4), minmax(0, 1fr));
    align-items: center;
  }
}

@media (max-width: 991.98px) {
  .tp-product-tab-content #nav-variants .pd-variants-table .pd-variant-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .tp-product-tab-content #nav-variants .pd-variant-cell--option,
  .tp-product-tab-content #nav-variants .pd-variant-cell--price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
  }
}

.tp-product-tab-content #nav-variants .pd-variant-cell__label {
  margin-right: 12px;
  min-width: min(38%, 140px);
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary-color-alt8, #484848);
}

.rtl .tp-product-tab-content #nav-variants .pd-variant-cell__label {
  margin-right: unset;
  margin-left: 12px;
}

.tp-product-tab-content #nav-variants .pd-variant-cell__value {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.tp-product-tab-content #nav-variants .pd-variant-cell__muted {
  color: var(--secondary-color-alt8, #484848);
  font-size: 0.95rem;
}

.tp-product-tab-content #nav-variants .pd-variant-price {
  font-size: 1.2rem;
  font-weight: var(--font-weight-sizeTwo);
  margin: 0;
}

.tp-product-tab-content #nav-variants .pd-variant-thumb-link {
  width: 100%;
  height: 100%;
}

.tp-product-tab-content #nav-variants .pd-variant-thumbs {
  gap: 8px;
}

.tp-product-tab-content #nav-bundle .bundle-offer-products {
  margin-top: 8px;
}

.tp-product-tab-content #nav-related .products-slider-wrapper {
  padding-top: 8px;
}

.tp-product-tab-content #nav-question .pd-tab-pane-shell .pd-faq-list {
  margin-top: 12px;
  border: none;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.tp-product-tab-content
  #nav-question
  .pd-tab-pane-shell
  .pd-faq-item:first-child {
  border-top: 1px solid var(--secondary-color-alt7, #ebebeb);
}

/* Product Q&A accordion */
.pd-faq-list {
  border-top: 1px solid var(--secondary-color-alt7, #ebebeb);
}

.pd-faq-item {
  border-bottom: 1px solid var(--secondary-color-alt7, #ebebeb);
}

.pd-faq-summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 12px;
  padding-inline-start: 10px;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  color: var(--secondary-color-alt3, #494949);
}

.pd-faq-summary::-webkit-details-marker {
  display: none;
}

.pd-faq-summary__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-right: 2px solid var(--secondary-color-alt8, #484848);
  border-bottom: 2px solid var(--secondary-color-alt8, #484848);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.pd-faq-item[open] .pd-faq-summary__chevron {
  transform: rotate(45deg);
  margin-top: 8px;
}

.pd-faq-summary__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: start;
}

.pd-faq-author {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--secondary-color-alt8, #484848);
}

.pd-faq-q {
  font-size: 1rem;
  line-height: 1.45;
}

.pd-faq-panel {
  padding-block: 0 16px;
  padding-inline-end: 12px;
  padding-inline-start: 32px;
}

.pd-faq-a {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--secondary-color-alt8, #484848);
}

.pd-faq-a--pending {
  font-style: italic;
}

.rtl .pd-faq-summary {
  flex-direction: row-reverse;
}

.rtl .pd-faq-summary__chevron {
  transform: rotate(45deg);
}

.rtl .pd-faq-item[open] .pd-faq-summary__chevron {
  transform: rotate(-45deg);
}

.description-paragrah {
  margin-left: 72px;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--secondary-color-alt8);
  line-height: 1.6;
}

.rtl .description-paragrah {
  margin-left: unset;
  margin-right: 72px;
}

.tooltip-info-icon {
  font-size: 1.5rem;
  color: var(--secondary-color-alt3);
}

.card-table {
  margin-left: 72px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.rtl .card-table {
  margin-left: unset;
  margin-right: 72px;
}

.card-table-header {
  background-color: var(--secondary-color-alt4);
  color: var(--secondary-color-alt3);
  font-size: 1.167rem;
  font-weight: var(--font-weight-sizeOne);
}
.card-text-color {
  color: var(--secondary-color-alt3);
  font-size: 1.333rem;
  font-weight: var(--font-weight-sizeOne);
}
.card-price {
  color: var(--primary-color);
  font-size: 1.333rem;
  font-weight: var(--font-wieght-sizeTwo);
  margin: 10px 20px;
}

.card-body {
  padding: 10px;
}

.variant-image-wrapper {
  width: 60px;
  margin-right: 10px;
}

.rtl .variant-image-wrapper {
  margin-right: unset;
  margin-left: 10px;
}

.variant-image-wrapper img {
  object-fit: contain;
}

.add-review-btn {
  margin-left: 15px;
}

.rtl .add-review-btn {
  margin-left: unset;
  margin-right: 15px;
}

.icon-star1,
.icon-border-star {
  margin-right: 2px;
  margin-left: 2px;
  margin-top: 1px;
}

.icon-star1.deactive:before {
  color: #cccccc;
}

.row.card-rate .rating_count_5,
.row.card-rate .rating_count_4,
.row.card-rate .rating_count_3,
.row.card-rate .rating_count_2,
.row.card-rate .rating_count_1 {
  width: 25px;
}

.user-review-date {
  margin-left: auto;
  color: #cccccc;
}

.rtl .user-review-date {
  margin-left: unset;
  margin-right: auto;
}

.card-name-customer {
  font-size: 1.22rem;
  margin: 0px 2px 0px 2px;
}

.user-review-text {
  color: #484848;
  margin-left: 0;
}

.rtl .user-review-text {
  margin-left: unset;
  margin-right: 0;
}

.card-review .icon-account_circle {
  width: 38px;
  height: 38px;
  font-size: 20px;
  background: #f0f2f5;
  text-align: center;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-review .review-images-container {
  margin-left: 50px;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 15px;
}

.rtl .card-review .review-images-container {
  margin-left: unset;
  margin-right: 50px;
}

.card-review .review-images-container img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 5px;
  border: #ced4da 1px solid;
  overflow: hidden;
  cursor: pointer;
}

.card-review .review-reply-card {
  padding: 10px;
  border-radius: 10px;
  margin-left: 50px;
}

.rtl .card-review .review-reply-card {
  margin-left: unset;
  margin-right: 50px;
  background-color: var(--primary-color-op-5, #ced4da33);
}

/* Store reply ? compact collapsible */
.card-review .pd-review-reply-details--lite {
  border-radius: 8px;
  border: 1px solid var(--secondary-color-alt7, #ebebeb);
  background: rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.card-review .pd-review-reply-summary--lite {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--primary-color, #3d0b17);
  user-select: none;
}

.card-review .pd-review-reply-summary--lite::-webkit-details-marker {
  display: none;
}

.card-review .pd-review-reply-summary__chevron {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 1px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  opacity: 0.75;
}

.card-review
  .pd-review-reply-details--lite[open]
  .pd-review-reply-summary__chevron {
  transform: rotate(45deg);
  margin-top: 3px;
}

.card-review
  .pd-review-reply-details--lite[open]
  .pd-review-reply-summary--lite {
  border-bottom: 1px solid var(--secondary-color-alt7, #ececec);
  background: rgba(255, 255, 255, 0.6);
}

.card-review .pd-review-reply-panel--lite {
  padding: 10px 12px 12px;
  padding-inline-start: 14px;
  border-inline-start: 3px solid var(--primary-color, #3d0b17);
  margin: 0 10px 10px;
  background: #fff;
  border-radius: 0 8px 8px 0;
}

.rtl .card-review .pd-review-reply-panel--lite {
  border-radius: 8px 0 0 8px;
}

.card-review .pd-review-reply-text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--secondary-color-alt8, #484848);
}

.rtl .card-review .pd-review-reply-summary--lite {
  flex-direction: row-reverse;
  text-align: end;
}

.rtl .card-review .pd-review-reply-summary__chevron {
  transform: rotate(45deg);
}

.rtl
  .card-review
  .pd-review-reply-details--lite[open]
  .pd-review-reply-summary__chevron {
  transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .card-review .pd-review-reply-summary__chevron {
    transition: none;
  }
}

.card-review .review-reply-card .icon-account_circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-review .card-name {
  margin-left: 0;
}

.rtl .card-review .card-name {
  margin-left: unset;
  margin-right: 0;
}

.card-review .card-body > .review-images-container {
  margin-left: 0;
}

.rtl .card-review .card-body > .review-images-container {
  margin-left: unset;
  margin-right: 0;
}

.product-social i {
  font-size: 20px;
  color: var(--primary-color);
}

.product-social {
  margin-right: -7.5px;
  margin-left: -7.5px;
}

.product-social a {
  padding: 0px 7.5px;
}

.add-review-btn {
  background-color: var(--primary-color);
  color: var(--text-color-primary-bg);
}

.btn-add-to-cart {
  background-color: var(--primary-color);
  color: var(--text-color-primary-bg);
  width: 100%;
  padding: 10px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.add-to-cart-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-color: transparent;
  mask-size: contain !important;
}

.buy-now-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-color: transparent;
  mask-size: contain !important;
}

.btn-buy-now {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  width: 100%;
  height: 100%;
  padding: 10px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.border-product {
  margin-top: 20px;
}

.options-table .col {
  flex-basis: 0;
}

.options-table .variant-name-sm {
  margin-right: 20px;
  width: 22%;
}

.rtl .options-table .variant-name-sm {
  margin-right: unset;
  margin-left: 20px;
}

.options-table .m-col {
  margin: 5px 0px;
}

.rating-section {
  margin-top: 15px;
  margin-bottom: 15px;
}

.rating-section-top {
  margin-top: 0px;
  margin-bottom: 0px;
}

.rating-section h4 {
  font-size: 1rem;
  font-weight: 400;
  margin: 0px;
  margin-left: 4px;
}

.rtl .rating-section h4 {
  margin-left: unset;
  margin-right: 4px;
}

.review-details .rating-section {
  margin-left: 15px;
}

.rtl .review-details .rating-section {
  margin-left: unset;
  margin-right: 15px;
}

.rating-average {
  font-size: 2rem !important;
  min-width: 80px;
  margin: 0px;
}

/*-- Product --*/
.modal-comment-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

.modal-product-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}

.modal-product-title {
  font-size: 1.833rem;
  font-weight: var(--font-weight-sizeTwo);
  color: var(--primary-color);
}

.btnrating.active > i:before {
  color: #edb900;
}

.btnrating > i:before,
.btnrating.deactive > i:before {
  color: #cccccc;
}

.btnrating {
  cursor: pointer;
  font-size: 18px;
}

.div-btnrating {
  margin-left: auto;
}

.rtl .div-btnrating {
  margin-left: unset;
  margin-right: auto;
}

.bottom-buttons,
.review-remaining-count {
  text-align: right;
}

.rtl .bottom-buttons,
.rtl .review-remaining-count {
  text-align: left;
}

.product-features {
  margin-right: -7.5px;
  margin-left: -7.5px;
  margin-bottom: 15px;
}

.product-features > div {
  padding-right: 7.5px;
  padding-left: 7.5px;
}

.bundle-offer-title-description {
  font-size: 1rem;
}

.bundle-offer-more {
  text-align: right;
}

.rtl .bundle-offer-more {
  text-align: left;
}

.bundle-offer-more > a {
  color: var(--primary-color);
  text-decoration: underline;
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-dialog-scrollable .modal-dialog {
  overflow-y: initial !important;
}

.modal-dialog-scrollable .modal-body .bundle-offer-products {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.bundle-offer-title {
  unicode-bidi: isolate;
}

.bundle-offer-products-dialog .bundle-offer-title,
.bundle-offer-products-dialog .bundle-offer-title-description {
  margin-right: 40px;
}

.rtl .bundle-offer-products-dialog .bundle-offer-title,
.rtl .bundle-offer-products-dialog .bundle-offer-title-description {
  margin-right: 0px;
  margin-left: 40px;
}

.description-text-clear * {
  max-width: 100% !important;
}

.bundle-offer-details-products {
  overflow-x: visible;
  flex-wrap: wrap;
}

.form-notify-me {
  border: 1px solid var(--primary-color);
  padding: 15px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-notify-me-phone-row {
  display: flex;
  gap: 20px;
  direction: ltr;
}

.form-notify-me-phone-row > input:first-child {
  max-width: 80px;
}

.form-notify-me-submit-button-row {
  display: flex;
  justify-content: end;
}

.btn-send-notify {
  margin-left: 15px;
  width: 100px;
  height: 40px;
}

.rtl .btn-send-notify {
  margin-left: unset;
  margin-right: 15px;
}

/* Figma: carousel dots under main image (thumbs removed) */
.products-details-page:not(.products-details-page--gallery-dots) .slick-dots {
  display: none !important;
}
.products-details-page--gallery-dots .slick-dots {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: static;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  width: 100%;
}
.products-details-page--gallery-dots .slick-dots li {
  margin: 0;
  width: auto;
  height: auto;
}
.products-details-page--gallery-dots .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d9d9d9;
  font-size: 0;
  line-height: 0;
  opacity: 1;
}
.products-details-page--gallery-dots .slick-dots li button:before {
  display: none;
}
.products-details-page--gallery-dots .slick-dots li.slick-active button {
  background: #9896ff;
  width: 12px;
  height: 12px;
}
.products-details-page--gallery-dots .slick-arrow {
  display: none !important;
}

.products-details-page .slick-arrow {
  background-color: rgba(204, 204, 204, 0.7);
  border-radius: 50%;
  z-index: 2;
  opacity: 0.5;
}

.products-details-page .slick-next.slick-arrow > span,
.products-details-page .slick-prev.slick-arrow > span {
  color: #ffffff;
}

.products-details-page .slick-prev {
  left: 0px;
}
[dir="rtl"] .products-details-page .slick-prev {
  right: 0px;
  left: auto;
}

.products-details-page .slick-next {
  right: 0px;
}

[dir="rtl"] .products-details-page .slick-next {
  right: auto;
  left: 0px;
}

.col-product-info {
  padding-top: 0px;
}

.col-product-info-single-image {
  padding-top: 0px;
}

.col-product-image-wrapper {
  padding-right: 15px;
  padding-left: 15px;
}

#product-custom-user-input-fields .file-label {
  margin-bottom: 0px;
}

#product-custom-user-input-fields .icon-close::after {
  font-family: "icomoon" !important;
  content: "\f05c";
  font-size: 18px;
  cursor: pointer;
}

#product-custom-user-input-fields .file-label > * {
  margin-right: 10px;
}

.rtl #product-custom-user-input-fields .file-label > * {
  margin-right: unset;
  margin-left: 10px;
}

@media only screen and (max-width: 768px) {
  .user-review-text {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }

  .card-review .review-images-container {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }

  .card-review .review-reply-card {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }

  .description-paragrah {
    margin: 0px !important;
  }

  .card-table {
    margin: 0px 0px 10px 0px !important;
  }

  .options-table .col {
    flex-basis: unset;
  }

  .description-title {
    margin-left: 20px;
  }

  .rtl .description-title {
    margin-left: unset;
    margin-right: 20px;
  }

  .bundle-offer-details-products {
    overflow-x: scroll;
    flex-wrap: nowrap;
  }

  .add-review-btn {
    margin-left: auto;
  }

  .rtl .add-review-btn {
    margin-left: unset;
    margin-right: auto;
  }

  .products-details-page .lg-thumbs {
    display: flex;
  }

  .products-details-page .slick-dots {
    display: none !important;
  }

  .products-details-page .products-details {
    margin-top: 0px;
  }

  /* Breathing room between the thumbnail strip and the product title. */
  .col-product-info {
    padding-top: 20px;
  }

  .col-product-info-single-image {
    padding-top: 25px;
  }

  .col-product-image-wrapper {
    padding: 0px;
  }

  .products-details-page .slick-arrow {
    display: none !important;
  }
}

.product-images-carousel-init {
  overflow: hidden;
}

/* Zid product options (#product-variants-options): chips (default) + optional dropdown/select */
.products-details-page .pd-pdp-options #product-variants-options {
  margin-bottom: 0.25rem;
}

.products-details-page .pd-pdp-options #product-variants-options .form-group {
  margin-bottom: 1.25rem;
}

.products-details-page
  .pd-pdp-options
  #product-variants-options
  .form-group:last-child {
  margin-bottom: 0;
}

.products-details-page .pd-pdp-options #product-variants-options label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.products-details-page .pd-pdp-options #product-variants-options select {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.22);
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
}

.products-details-page .pd-pdp-options #product-variants-options ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.products-details-page .pd-pdp-options #product-variants-options ul li {
  margin: 0;
  padding: 0;
  display: inline-flex;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid rgba(26, 26, 26, 0.28);
  background: #fff;
  box-shadow: none;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.products-details-page .pd-pdp-options #product-variants-options ul li:hover {
  border-color: rgba(26, 26, 26, 0.55);
}

.products-details-page .pd-pdp-options #product-variants-options ul li.active {
  border-color: #9896ff;
  color: #fff;
  background: #9896ff;
  box-shadow: none;
}

.products-details-page .pd-pdp-options #product-variants-options ul:not(.pd-opt-colors) {
  gap: 8px;
}

.products-details-page .pd-pdp-options #product-variants-options ul:not(.pd-opt-colors) li {
  border-radius: 8px;
  border-color: #9896ff;
  background: #9896ff;
  color: #fff;
}

.products-details-page .pd-pdp-options #product-variants-options ul:not(.pd-opt-colors) li:hover {
  border-color: #7f7de6;
  background: #7f7de6;
}

.products-details-page .pd-pdp-options #product-variants-options ul:not(.pd-opt-colors) li.active {
  border-color: #9896ff;
  background: #9896ff;
  color: #fff;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #292d32;
}

.products-details-page .pd-pdp-options #product-variants-options ul:not(.pd-opt-colors) li span,
.products-details-page .pd-pdp-options #product-variants-options ul:not(.pd-opt-colors) li a {
  min-width: 58px;
  min-height: 58px;
  padding: 8px 10px;
  font-size: 16px;
  font-weight: 500;
}

.products-details-page .pd-pdp-options .pd-opt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 16px;
}

.products-details-page .pd-pdp-options .pd-opt-head label {
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 400;
  color: #000;
  letter-spacing: 0;
  text-transform: none;
}

.products-details-page .pd-size-guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 35px;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #292d32;
  border-radius: 0;
  background: transparent;
  color: #292d32;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.products-details-page .pd-size-guide-btn__icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 20px;
}

.pd-size-guide {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pd-size-guide[hidden] {
  display: none;
}

.pd-size-guide__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.55);
  cursor: pointer;
}

.pd-size-guide__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 20px 20px 16px;
}

.pd-size-guide__close {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f3f3f3;
  color: #292d32;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.pd-size-guide__title {
  margin: 0 40px 12px 0;
  font-size: 20px;
  font-weight: 500;
  color: #000;
}

.pd-size-guide__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

html.pd-size-guide-open {
  overflow: hidden;
}

.products-details-page .pd-pdp-options #product-variants-options ul li a,
.products-details-page .pd-pdp-options #product-variants-options ul li span {
  color: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0.45rem 0.85rem;
  text-decoration: none;
}

/* Color options: 36px swatches from choices_metadata.type_value (Figma 111:1477) */
.products-details-page .pd-pdp-options #product-variants-options .form-group:has(ul.pd-opt-colors) label {
  font-size: 20px;
  font-weight: 400;
  color: #000;
  margin-bottom: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.products-details-page .pd-pdp-options #product-variants-options ul.pd-opt-colors {
  gap: 12px;
}

.products-details-page .pd-pdp-options #product-variants-options ul.pd-opt-colors > li.pd-opt-swatch {
  position: relative;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 60px;
  background: var(--pd-swatch, #ccc) !important;
  color: transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.products-details-page .pd-pdp-options #product-variants-options ul.pd-opt-colors > li.pd-opt-swatch:hover {
  border-color: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.12),
    0 0 0 2px rgba(26, 26, 26, 0.18);
}

.products-details-page .pd-pdp-options #product-variants-options ul.pd-opt-colors > li.pd-opt-swatch.active {
  border-color: transparent;
  background: var(--pd-swatch, #ccc) !important;
  color: transparent;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px #1a1a1a;
}

.products-details-page .pd-pdp-options #product-variants-options ul.pd-opt-colors > li.pd-opt-swatch > span,
.products-details-page .pd-pdp-options #product-variants-options ul.pd-opt-colors > li.pd-opt-swatch > a {
  position: absolute;
  width: 1px;
  height: 1px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Dropdown / Select mode — only clips native UL after JS wraps it (.pd-zid-opt-dd__native) */
.products-details-page
  .pd-pdp-options[data-pd-options-ui="dropdown"]
  .pd-zid-opt-dd__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.products-details-page
  .pd-pdp-options[data-pd-options-ui="dropdown"]
  .pd-zid-opt-dd {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.products-details-page
  .pd-pdp-options[data-pd-options-ui="dropdown"]
  .pd-zid-opt-dd__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.22);
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
  text-align: start;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.products-details-page
  .pd-pdp-options[data-pd-options-ui="dropdown"]
  .pd-zid-opt-dd__trigger::after {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 0.2rem;
  opacity: 0.55;
}

.products-details-page
  .pd-pdp-options[data-pd-options-ui="dropdown"]
  .pd-zid-opt-dd__trigger:hover,
.products-details-page
  .pd-pdp-options[data-pd-options-ui="dropdown"]
  .pd-zid-opt-dd__trigger:focus {
  outline: none;
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.products-details-page
  .pd-pdp-options[data-pd-options-ui="dropdown"]
  .pd-zid-opt-dd__menu {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 240px;
  overflow-y: auto;
  padding: 0.35rem;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(26, 26, 26, 0.12);
}

.products-details-page
  .pd-pdp-options[data-pd-options-ui="dropdown"]
  .pd-zid-opt-dd__option {
  display: block;
  width: 100%;
  text-align: start;
  padding: 0.55rem 0.75rem;
  margin: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  font: inherit;
  font-size: 0.9375rem;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.12s ease;
}

.products-details-page
  .pd-pdp-options[data-pd-options-ui="dropdown"]
  .pd-zid-opt-dd__option:hover {
  background: rgba(26, 26, 26, 0.06);
}

.products-details-page
  .pd-pdp-options[data-pd-options-ui="dropdown"]
  .pd-zid-opt-dd__option--active {
  background: #1a1a1a;
  color: #fff;
  font-weight: 600;
}

.rtl.products-details-page
  .pd-pdp-options[data-pd-options-ui="dropdown"]
  .pd-zid-opt-dd__menu,
.rtl
  .products-details-page
  .pd-pdp-options[data-pd-options-ui="dropdown"]
  .pd-zid-opt-dd__menu {
  text-align: right;
}

.rtl.products-details-page
  .pd-pdp-options[data-pd-options-ui="dropdown"]
  .pd-zid-opt-dd__option,
.rtl
  .products-details-page
  .pd-pdp-options[data-pd-options-ui="dropdown"]
  .pd-zid-opt-dd__option {
  text-align: right;
}

.tabby-product-widget .tabby-promo-snippet {
  font-family: inherit;
}

.all-reviews-btn {
  background-color: transparent;
  color: var(--primary-color);
  text-decoration: underline;
  padding-left: 0px;
  padding-right: 0px;
}

.products-reviews-page .product-image {
  width: 150px;
  height: auto;
  margin-right: 15px;
  object-fit: contain;
  max-height: 180px;
}

.rtl .products-reviews-page .product-image {
  margin-right: 0px;
  margin-left: 15px;
}

.footer-sticky {
  display: block;
  bottom: 0;
  left: 0;
  position: -webkit-sticky;
  position: sticky;
  padding: 0px 20px;
  padding-bottom: calc(0px + env(safe-area-inset-bottom));
  width: 100%;
  background-color: #f9f9f9;
  box-shadow: 0 0 10px rgb(0 0 0 / 20%);
  -webkit-transform: translateZ(0);
}

.questions-card-init {
  padding: 24px;
}

.questions-card-init .image-box {
  margin-bottom: 18px;
}

.questions-card-init .content-box {
  margin-bottom: 18px;
}

.questions-card-init .content-box p {
  font-size: 16px;
  color: #81808c;
  font-weight: 400;
}

.questions-card-preview {
  padding: 16px;
}

.questions-view_more a {
  color: var(--primary-color);
  font-size: 14px;
}

.questions-card-preview .customer-name {
  margin-bottom: 8px;
  color: #494949;
  font-weight: 400;
}

.questions-card-preview .question-box .question {
  font-size: 16px;
  font-weight: 500;
  color: #494949;
  margin-bottom: 24px;
}

.questions-card-preview .answer-box .answer {
  font-size: 16px;
  font-weight: 400;
  color: #494949;
}

.questions-pagination .page-item {
  font-size: 16px;
}

.questions-pagination .page-item .page-link {
  color: var(--primary-color);
}

.questions-pagination .page-item.selected a {
  background-color: var(--primary-color);
  color: #ffffff;
}

.play-icon,
.iframe-video {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0 auto;
}
.play-icon {
  z-index: 2;
  cursor: pointer;
  opacity: 0.5;
  width: 70px !important;
  max-width: 25%;
  border: none !important;
}

.play-icon:hover {
  opacity: 1;
}
.iframe-video {
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  background-color: black;
}

/* --- Product page layout settings (pd-*) --- */
.products-details-page .pd-first-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  text-decoration: none;
  color: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0.88;
}

.products-details-page .pd-first-category__label {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

@media (max-width: 767.98px) {
  .products-details-page .pd-first-category {
    font-size: 16px;
  }
}

.products-details-page .pd-first-category:hover {
  opacity: 1;
  color: var(--primary-color, #3d0b17);
}

.products-details-page .pd-first-category--static {
  cursor: default;
  pointer-events: none;
}

.products-details-page .pd-first-category--static:hover {
  opacity: 0.88;
  color: inherit;
}

.products-details-page .pd-first-category__img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Price: sale + old + discount on one row (desktop); wraps on small screens */
.products-details-page .pd-price-block {
  display: flex;
  justify-content: flex-start;
  margin: 0.35rem 0 0.65rem;
}

.products-details-page .pd-price-block__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
}

.products-details-page .pd-price-block__row .product-formatted-price {
  margin: 0;
  line-height: 1.2;
  font-size: 22px;
  font-weight: 600;
  color: var(--pd-price, inherit);
}
.products-details-page .pd-price-block__row .product-formatted-price .riyal-svg {
  width: 0.85em;
  height: 1em;
}
@media (max-width: 991.98px) {
  .products-details-page .pd-price-block__row .product-formatted-price {
    font-size: 18px;
  }
}

.products-details-page .pd-price-block__row .product-formatted-price-old {
  margin: 0;
  font-size: 0.95em;
  opacity: 0.88;
  color: var(--pd-compare-price, inherit);
}

.products-details-page .pd-price-block__row .product-formatted-price-discount {
  margin: 0;
  font-size: 0.95em;
  font-weight: 600;
  white-space: nowrap;
  color: var(--pd-discount-badge, #f25f5f);
}

.products-details-page .pd-sold-count,
.products-details-page .pd-low-stock-soft {
  gap: 0.4rem;
  margin-top: 0.55rem;
  font-size: 14px;
  line-height: 1.4;
  color: #555;
}
.products-details-page .pd-sold-count__ico {
  color: #ffcf57;
  font-size: 15px;
}
.products-details-page .pd-low-stock-soft {
  color: #ec5550;
  font-weight: 500;
}
.products-details-page .pd-low-stock-soft__ico {
  font-size: 14px;
}
.ath-listing-infinite-loading {
  opacity: 0.72;
  pointer-events: none;
}

.products-details-page .pd-price-block__row .product-formatted-price-old:empty,
.products-details-page
  .pd-price-block__row
  .product-formatted-price-discount:empty {
  display: none;
}

@media (min-width: 992px) {
  .products-details-page .pd-price-block__row {
    flex-wrap: nowrap;
  }
}

@media (max-width: 575.98px) {
  .products-details-page .pd-price-block__row {
    align-items: flex-start;
    gap: 0.2rem;
  }
}

/* Promotional offer countdown (placement + colors from theme; JS: product-card.js .tp-countdown) */
@keyframes pd-sale-tada {
  0%,
  100% {
    transform: scaleX(1);
  }
  10%,
  20% {
    transform: scale3d(0.9, 0.9, 0.9) rotate(-3deg);
  }
  30%,
  50%,
  70%,
  90% {
    transform: scale3d(1.1, 1.1, 1.1) rotate(3deg);
  }
  40%,
  60%,
  80% {
    transform: scale3d(1.1, 1.1, 1.1) rotate(-3deg);
  }
}

.products-details-page .pd-sale-end-in {
  margin: 0.5rem 0 0.85rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: var(--pd-sale-cd-label, #000);
  --pc-cd-unit-text: var(--pd-sale-cd-tx, #fff);
  --pc-cd-unit-bg: var(--pd-sale-cd-bg, #ff7272);
}

@supports not (background: color-mix(in srgb, black 50%, white)) {
  .products-details-page .pd-sale-end-in {
    --pc-cd-unit-bg: var(--pd-sale-cd-bg, #ff7272);
    border: 0;
    background: transparent;
    box-shadow: none;
  }
}

/* Above thumbs + main image (full width of #wrap / gallery column) */
.products-details-page .pd-gallery-offer-before {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.products-details-page
  .pd-gallery-offer-before
  .pd-sale-end-in--before_gallery {
  margin-top: 0;
  margin-bottom: 0.85rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.products-details-page .pd-sale-end-in--after_gallery {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.products-details-page .pd-sale-end-in__head.end-in {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.5rem;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
}

@media (max-width: 449.98px) {
  .products-details-page .pd-sale-end-in {
    text-align: center;
  }

  .products-details-page .pd-sale-end-in__head.end-in {
    justify-content: center;
  }

  .products-details-page .pd-sale-end-in .tp-countdown.pc-sale-countdown--media,
  .products-details-page .pd-sale-end-in .tp-countdown__units--stacked,
  .products-details-page .pd-sale-end-in ul.tp-countdown__units {
    justify-content: center;
  }
}

.products-details-page .pd-sale-end-in__ico {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  color: currentColor;
  animation: pd-sale-tada 2s ease-in-out infinite;
}

.products-details-page .pd-sale-end-in .tp-countdown.pc-sale-countdown--media {
  width: 100%;
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.products-details-page .pd-sale-end-in .tp-countdown__unit {
  max-width: none;
  padding: 8px 4px 6px;
}

.products-details-page .pd-sale-end-in .tp-countdown__val {
  font-size: 0.95rem;
}

.products-details-page .pd-sale-end-in .tp-countdown__lbl {
  font-size: 0.65rem;
}

.products-details-page .pd-promo-block {
  margin-bottom: 12px;
}

.products-details-page .pd-promo-badges-list {
  gap: 8px 10px;
}

.products-details-page .pd-promo-badge-item {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  unicode-bidi: isolate;
}

/* Promo ticker ? same CSS engine as components/header-announcement-bar.jinja (dual strip + announcement-ticker-marquee-kf). */
.products-details-page .pd-promo-ticker {
  background: var(--pd-promo-tk-bg, #0ea94c);
  color: var(--pd-promo-tk-fg, #fff);
  border-radius: 10px;
  overflow: hidden;
  padding: 0.55rem 0;
  position: relative;
}

.products-details-page .pd-promo-ticker-viewport {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
  contain: layout;
  direction: ltr;
  unicode-bidi: isolate;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}

.products-details-page .pd-promo-ticker-marquee-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  min-width: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-animation: announcement-ticker-marquee-kf linear infinite;
  -webkit-animation-duration: var(--ab-scroll-dur, 18s);
  animation: announcement-ticker-marquee-kf linear infinite;
  animation-duration: var(--ab-scroll-dur, 18s);
}

@media (hover: hover) and (pointer: fine) {
  .products-details-page
    .pd-promo-ticker-viewport:hover
    .pd-promo-ticker-marquee-row {
    animation-play-state: paused;
  }
}

.products-details-page .pd-promo-ticker-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-inline: 1.5rem;
  flex-shrink: 0;
  width: max-content;
  white-space: nowrap;
}

.products-details-page .pd-promo-ticker-item {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pd-promo-tk-fg, #fff);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.products-details-page .pd-promo-ticker-star {
  color: #ffd23f;
}

@media (prefers-reduced-motion: reduce) {
  .products-details-page .pd-promo-ticker-marquee-row {
    -webkit-animation: none !important;
    animation: none !important;
    transform: none !important;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    row-gap: 0.5rem;
  }
  .products-details-page .pd-promo-ticker-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 767.98px) {
  .products-details-page .pd-promo-ticker {
    padding: 0.45rem 0;
    border-radius: 8px;
  }
  .products-details-page .pd-promo-ticker-item {
    font-size: 12px;
  }
  .products-details-page .pd-promo-ticker-content {
    gap: 1.1rem;
    padding-inline: 1.1rem;
  }
}

.products-details-page .pd-promo-strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 0;
}

.products-details-page .pd-promo-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  background: #fff !important;
  border: 1px solid var(--pd-badge-accent, rgba(0, 0, 0, 0.14));
  color: var(--pd-badge-accent, rgba(0, 0, 0, 0.88));
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.products-details-page .pd-promo-strip-note-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.products-details-page .pd-promo-note-ico {
  flex-shrink: 0;
  color: var(--primary-color, #3d0b17);
  animation: pd-promo-note-ico-pulse 1.35s ease-in-out infinite;
}

@keyframes pd-promo-note-ico-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  45% {
    opacity: 0.08;
    transform: scale(0.92);
  }
  55% {
    opacity: 0.08;
  }
}

@media (prefers-reduced-motion: reduce) {
  .products-details-page .pd-promo-note-ico {
    animation: none;
  }
}

.products-details-page .pd-promo-strip-note {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.78);
  unicode-bidi: isolate;
}

.products-details-page .pd-urgency-flash {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.products-details-page .pd-urgency-flash__ico {
  flex-shrink: 0;
  color: var(--primary-color, #3d0b17);
  animation: pd-urgency-flash-pulse 1.15s ease-in-out infinite;
}

.products-details-page .pd-urgency-flash__text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  unicode-bidi: isolate;
}

@keyframes pd-urgency-flash-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.12;
  }
}

@media (prefers-reduced-motion: reduce) {
  .products-details-page .pd-urgency-flash__ico {
    animation: none;
  }
}

.products-details-page .pd-trust-line {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  unicode-bidi: isolate;
}

/* Activity row ? directly under price; stacked lines when multiple blocks */
.products-details-page .tf-product-info-liveview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.products-details-page
  .tf-product-info-liveview
  .pd-live-activity-rotator.product-extra-info-rotator {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
}

.products-details-page .pd-live-activity-rotator.product-extra-info-rotator {
  position: relative;
  flex: 1;
  min-width: min(100%, 220px);
}

.products-details-page
  .pd-live-activity-rotator:not(.pd-live-activity-rotator--multi) {
  min-height: 0;
}

.products-details-page
  .pd-live-activity-rotator:not(.pd-live-activity-rotator--multi)
  .pd-live-activity-slide {
  display: flex;
  align-items: center;
  gap: 8px;
}

.products-details-page .pd-live-activity-rotator--multi {
  min-height: 2.4rem;
}

.products-details-page
  .pd-live-activity-rotator--multi
  .pd-live-activity-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.22s ease-in-out;
  pointer-events: none;
}

.products-details-page
  .pd-live-activity-rotator--multi
  .pd-live-activity-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Both lines visible ? no rotation */
.products-details-page .pd-live-activity-rotator--stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  min-height: 0;
}

.products-details-page
  .pd-live-activity-rotator--stack
  .pd-live-activity-slide {
  position: relative;
  inset: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 1;
  pointer-events: auto;
}

.products-details-page .pd-live-activity-ico.pulse-icon {
  flex-shrink: 0;
  animation: pd-live-activity-ico-pulse 2.2s ease-in-out infinite;
}

.products-details-page .pd-live-ico-fire {
  color: #d32f2f;
}

.products-details-page .pd-live-fire-txt {
  font-size: 0.92rem;
  font-weight: 600;
  color: #d32f2f;
  unicode-bidi: isolate;
}

.products-details-page .pd-live-show-now {
  display: flex;
  align-items: center;
  width: 100%;
}

.products-details-page .pd-show-now-section.show-now-section {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  unicode-bidi: isolate;
}

.products-details-page .pd-watchers-text.viewers-text {
  font-weight: 500;
  font-size: inherit;
  color: inherit;
}

.products-details-page .pd-watchers-n {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  unicode-bidi: isolate;
}

.products-details-page .pd-watch-pulse-ico.pulse-icon {
  flex-shrink: 0;
  display: block;
  animation: pd-watch-eye-zoom 2.1s ease-in-out infinite;
}

@keyframes pd-live-activity-ico-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes pd-watch-eye-zoom {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.14);
  }
}

@media (max-width: 991.98px) {
  .products-details-page .pd-show-now-section.show-now-section {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .products-details-page .pd-watch-pulse-ico.pulse-icon {
    animation: none;
  }

  .products-details-page .pd-live-activity-ico.pulse-icon {
    animation: none;
  }

  .products-details-page
    .pd-live-activity-rotator--multi
    .pd-live-activity-slide {
    transition-duration: 0.01ms;
  }
}

.products-details-page .pd-live-activity-suffix {
  font-size: 0.92rem;
  font-weight: 500;
  color: #000;
  unicode-bidi: isolate;
}

/* Layout — product_page → extra → info_text_align_mobile = center (<992px) */
@media (max-width: 991.98px) {
.products-details-page .col-product-info.pd-info-align-m-center {
  text-align: center;
}

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-first-category {
    display: flex;
    margin-inline: auto;
    width: fit-content;
    max-width: 100%;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-promo-strip-row {
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-promo-badges-list {
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-promo-ticker {
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-promo-strip-note-wrap {
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-urgency-flash {
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-product-title {
    text-align: center;
  }

  .products-details-page .col-product-info.pd-info-align-m-center .pd-title-row {
    display: block;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-title-row
    .pd-product-title {
    width: 100%;
    text-align: center;
  }

  .products-details-page .col-product-info.pd-info-align-m-center .pd-meta-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem 1rem;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-meta-row
    .pd-meta-sku,
  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-meta-row
    .pd-weight-chip {
    justify-content: center;
    width: auto;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-price-block {
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-price-block
    > div {
    max-width: 100%;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-price-block__row {
    align-items: center;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .tf-product-info-liveview {
    align-items: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-live-activity-slide {
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-show-now-section {
    justify-content: center;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-live-activity-suffix {
    width: 100%;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .product-features {
    align-items: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .product-features
    > div {
    justify-content: center;
    width: 100%;
  }

  .products-details-page .col-product-info.pd-info-align-m-center .product-count,
  .products-details-page
    .col-product-info.pd-info-align-m-center
    .low-quantity-section {
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .bundle-offer-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .text-short-description {
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-trust-line {
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .div-product-weight
    .pd-weight-chip__heading,
  .products-details-page
    .col-product-info.pd-info-align-m-center
    .div-product-weight
    .pd-weight-chip__value {
    text-align: center;
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-weight-chip {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .product-flex-box.div-product-sku {
    justify-content: center;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .size-box
    .product-title {
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .size-box
    #product-variants-options
    ul {
    justify-content: center;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-qty-stepper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-qty-stepper__inner {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .products-details-page .col-product-info.pd-info-align-m-center .pd-hot-stock {
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-hot-stock__alert {
    align-items: center;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-hot-stock__body {
    align-items: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-hot-stock
    .hotStock-progress {
    max-width: 100%;
    margin-inline: auto;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .product-buttons
    > .d-flex.align-center {
    justify-content: center;
    flex-wrap: wrap;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .add-to-wishlist {
    margin-inline: auto;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-features-product.features-product {
    justify-items: stretch;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-features-product.features-product
    li,
  .products-details-page
    .col-product-info.pd-info-align-m-center
    .features-product__hit {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-features-product
    .content-features-product {
    text-align: center;
    width: 100%;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .pd-post-cta-banner.small-banner {
    margin-inline: auto;
  }

  .products-details-page
    .col-product-info.pd-info-align-m-center
    .section-out-of-stock-notify-me
    .form-notify-me-submit-button-row {
    justify-content: center;
  }
}

/* Layout — product_page → extra → info_text_align_desktop = center (≥992px) */
@media (min-width: 992px) {
.products-details-page .col-product-info.pd-info-align-d-center {
  text-align: center;
}

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-first-category {
    display: flex;
    margin-inline: auto;
    width: fit-content;
    max-width: 100%;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-promo-strip-row {
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-promo-badges-list {
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-promo-ticker {
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-promo-strip-note-wrap {
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-urgency-flash {
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-product-title {
    text-align: center;
  }

  .products-details-page .col-product-info.pd-info-align-d-center .pd-title-row {
    display: block;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-title-row
    .pd-product-title {
    width: 100%;
    text-align: center;
  }

  .products-details-page .col-product-info.pd-info-align-d-center .pd-meta-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem 1rem;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-meta-row
    .pd-meta-sku,
  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-meta-row
    .pd-weight-chip {
    justify-content: center;
    width: auto;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-price-block {
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-price-block
    > div {
    max-width: 100%;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-price-block__row {
    align-items: center;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .tf-product-info-liveview {
    align-items: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-live-activity-slide {
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-show-now-section {
    justify-content: center;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-live-activity-suffix {
    width: 100%;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .product-features {
    align-items: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .product-features
    > div {
    justify-content: center;
    width: 100%;
  }

  .products-details-page .col-product-info.pd-info-align-d-center .product-count,
  .products-details-page
    .col-product-info.pd-info-align-d-center
    .low-quantity-section {
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .bundle-offer-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .text-short-description {
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-trust-line {
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .div-product-weight
    .pd-weight-chip__heading,
  .products-details-page
    .col-product-info.pd-info-align-d-center
    .div-product-weight
    .pd-weight-chip__value {
    text-align: center;
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-weight-chip {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .product-flex-box.div-product-sku {
    justify-content: center;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .size-box
    .product-title {
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .size-box
    #product-variants-options
    ul {
    justify-content: center;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-qty-stepper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-qty-stepper__inner {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .products-details-page .col-product-info.pd-info-align-d-center .pd-hot-stock {
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-hot-stock__alert {
    align-items: center;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-hot-stock__body {
    align-items: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-hot-stock
    .hotStock-progress {
    max-width: 100%;
    margin-inline: auto;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .product-buttons
    > .d-flex.align-center {
    justify-content: center;
    flex-wrap: wrap;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .add-to-wishlist {
    margin-inline: auto;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-features-product.features-product {
    justify-items: stretch;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-features-product.features-product
    li,
  .products-details-page
    .col-product-info.pd-info-align-d-center
    .features-product__hit {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-features-product
    .content-features-product {
    text-align: center;
    width: 100%;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .pd-post-cta-banner.small-banner {
    margin-inline: auto;
  }

  .products-details-page
    .col-product-info.pd-info-align-d-center
    .section-out-of-stock-notify-me
    .form-notify-me-submit-button-row {
    justify-content: center;
  }
}

/* Below ATC: banner + features + payment marquee */
.products-details-page .pd-post-cta-banner.small-banner {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 14px;
  border-radius: 8px;
}

.products-details-page .pd-features-product.features-product {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 14px;
  list-style: none;
  padding: 0;
  width: 100%;
  align-items: stretch;
}

/* 2?2 (and 2+n) layout from small tablets up; single column on narrow phones */
@media (min-width: 480px) {
  .products-details-page .pd-features-product.features-product {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.products-details-page .pd-features-product.features-product li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 12px 14px;
  height: 100%;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
}

/* Linked feature: single child fills the grid cell */
.products-details-page
  .pd-features-product.features-product
  li
  > .features-product__hit {
  flex: 1;
  min-width: 0;
  align-self: stretch;
}

.products-details-page .features-product__hit {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 10px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}

.products-details-page .features-product__hit:focus-visible {
  outline: 2px solid var(--primary-color, #3d0b17);
  outline-offset: 2px;
  border-radius: 6px;
}

.products-details-page .pd-features-product.features-product img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.products-details-page .pd-features-product .content-features-product {
  flex: 1;
  min-width: 0;
}

.products-details-page .pd-features-product .content-features-product h3 {
  font-size: 17px;
  margin-bottom: 0;
  font-weight: 700;
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.products-details-page .pd-features-product .content-features-product p {
  margin: 2px 0 0;
  font-size: 0.88rem;
  opacity: 0.85;
  white-space: pre-line;
  line-height: 1.35;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* After-CTA feature chips: compact on phones (theme often ships 72?72 icons in markup) */
@media (max-width: 767.98px) {
  .products-details-page .pd-features-product.features-product {
    margin-top: 12px;
    gap: 8px 10px;
  }

  .products-details-page .pd-features-product.features-product li {
    padding: 8px 10px;
    gap: 8px;
    border-radius: 8px;
  }

  .products-details-page .features-product__hit {
    gap: 8px;
    align-items: center;
  }

  .products-details-page .pd-features-product.features-product img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px;
    max-height: 40px;
  }

  .products-details-page .pd-features-product .content-features-product h3 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.22;
  }

  .products-details-page .pd-features-product .content-features-product p {
    font-size: 0.76rem;
    line-height: 1.28;
    margin-top: 1px;
  }
}

@media (max-width: 399.98px) {
  .products-details-page .pd-features-product.features-product li {
    padding: 7px 8px;
    gap: 6px;
  }

  .products-details-page .features-product__hit {
    gap: 6px;
  }

  .products-details-page .pd-features-product.features-product img {
    width: 34px !important;
    height: 34px !important;
    max-width: 34px;
    max-height: 34px;
  }

  .products-details-page .pd-features-product .content-features-product h3 {
    font-size: 0.85rem;
  }

  .products-details-page .pd-features-product .content-features-product p {
    font-size: 0.72rem;
  }
}

/* Payment logos marquee ? viewport/track/content + JS translate3d (announcement-bar engine) */
.products-details-page .payment-methods.pd-pay-marquee-root {
  margin-top: 16px;
  width: 100%;
  border-radius: 10px;
  padding: 0.55rem 0;
  background: rgba(0, 0, 0, 0.03);
  overflow: hidden;
  position: relative;
}

.products-details-page .pd-pay-marquee-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}

.products-details-page .pd-pay-marquee-track {
  display: flex;
  align-items: center;
  width: 100%;
  direction: ltr;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.products-details-page .pd-pay-marquee-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-inline: 2rem;
  flex-shrink: 0;
  width: max-content;
  white-space: nowrap;
  list-style: none;
  margin: 0;
}

.products-details-page .pd-pay-marquee-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.products-details-page .pd-pay-marquee-item img {
  height: 24px;
  width: auto;
  max-width: none;
  display: block;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .products-details-page .pd-pay-marquee-track {
    transform: none !important;
  }
  .products-details-page .pd-pay-marquee-viewport {
    overflow-x: auto;
  }
}

@media (max-width: 767.98px) {
  .products-details-page .payment-methods.pd-pay-marquee-root {
    border-radius: 8px;
    padding: 0.45rem 0;
  }
  .products-details-page .pd-pay-marquee-content {
    gap: 1.75rem;
    padding-inline: 1.25rem;
  }
  .products-details-page .pd-pay-marquee-item img {
    height: 22px;
  }
}

/* Gallery shell — overlays (countdown / actions) must not be clipped */
.products-details-page .pd-gallery-shell {
  position: relative;
  width: 100%;
  overflow: visible;
}
.products-details-page .pd-gallery-shell .product-images-carousel-init,
.products-details-page .pd-gallery-shell .product-images-carousel {
  overflow: hidden;
}

/* Figma 30:759 — rounded frame + hairline border on the main photo.
   --pd-gallery-r comes from the theme setting; 0 gives square corners.
   Background / border can be turned off from Product gallery settings. */
.products-details-page .pd-gallery-shell .product-images-carousel,
.products-details-page .pd-gallery-shell .product-images-empty {
  border-radius: var(--pd-gallery-r, 24px);
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.products-details-page--gallery-no-border .pd-gallery-shell .product-images-carousel,
.products-details-page--gallery-no-border .pd-gallery-shell .product-images-empty {
  border-color: transparent;
}

.products-details-page .pd-gallery-shell #product-images-slick .box-1-1,
.products-details-page .pd-gallery-shell .carousel-img {
  border-radius: var(--pd-gallery-r, 24px);
}

/* Thumbnail strip — Figma 30:800: 100x109 cells, 12px gap, Swiper with arrows */
.products-details-page .pd-thumbs-strip {
  position: relative;
  margin-top: 12px;
  padding-inline: 34px;
}

.products-details-page .pd-thumbs-strip.d-none-important,
.products-details-page .pd-thumbs-strip--single {
  display: none !important;
}

.products-details-page .pd-thumbs-swiper {
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.products-details-page .pd-thumbs-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
  box-sizing: content-box;
}

.products-details-page .pd-thumbs-slide {
  flex: 0 0 auto;
  width: 100px;
  height: 109px;
}

.products-details-page .pd-thumbs-slide .thumb-image-a {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--pd-thumb-r, 12px);
  overflow: hidden;
  cursor: pointer;
  background: var(--pd-gallery-bg, #f7f5f2);
  transition:
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.products-details-page .pd-thumbs-slide .thumb-image-a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.products-details-page .pd-thumbs-slide.is-active .thumb-image-a {
  border-color: var(--primary-color, #4b2a31);
  border-width: 2px;
}

.products-details-page .pd-thumbs-slide:not(.is-active) .thumb-image-a:hover {
  border-color: rgba(0, 0, 0, 0.35);
}

.products-details-page .pd-thumbs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.2s ease,
    background 0.2s ease;
}

/* Chevron: physical top+left borders make a "Γ", so -45deg points left and
   135deg points right regardless of direction. Logical borders here would
   flip the corner under RTL and turn the arrows into up/down chevrons. */
.products-details-page .pd-thumbs-nav:before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid #292d32;
  border-left: 1.5px solid #292d32;
}

.products-details-page .pd-thumbs-nav--prev {
  inset-inline-start: 0;
}

.products-details-page .pd-thumbs-nav--next {
  inset-inline-end: 0;
}

/* LTR: prev points left, next points right. */
.products-details-page .pd-thumbs-nav--prev:before {
  transform: rotate(-45deg);
  margin-inline-start: 2px;
}

.products-details-page .pd-thumbs-nav--next:before {
  transform: rotate(135deg);
  margin-inline-end: 2px;
}

/* RTL: prev sits on the right and points right; next mirrors it. */
[dir="rtl"] .products-details-page .pd-thumbs-nav--prev:before {
  transform: rotate(135deg);
}

[dir="rtl"] .products-details-page .pd-thumbs-nav--next:before {
  transform: rotate(-45deg);
}

.products-details-page .pd-thumbs-nav.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.products-details-page .pd-thumbs-nav.swiper-button-lock {
  display: none;
}

@media (max-width: 767.98px) {
  .products-details-page .pd-thumbs-strip {
    padding-inline: 0;
    margin-top: 10px;
  }

  .products-details-page .pd-thumbs-nav {
    display: none;
  }

  .products-details-page .pd-thumbs-slide {
    width: 68px;
    height: 74px;
  }
}

/* Main gallery photo — always show full image (no crop).
   --pd-gallery-frame is set from the photo's real ratio (see product-details.js);
   125% is the fallback when the ratio can't be read. */
.products-details-page
  .pd-gallery-shell
  .product-images-carousel.box-1-1:before,
.products-details-page .pd-gallery-shell .product-images-empty.box-1-1:before,
.products-details-page .pd-gallery-shell #product-images-slick .box-1-1:before {
  padding-top: var(--pd-gallery-frame, 125%);
}
.products-details-page .pd-gallery-shell .carousel-img,
.products-details-page .pd-gallery-shell #product-images-slick .carousel-img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  background: var(--pd-gallery-bg, #f7f5f2);
}
.products-details-page--gallery-bg-transparent .pd-gallery-shell .carousel-img,
.products-details-page--gallery-bg-transparent .pd-gallery-shell #product-images-slick .carousel-img,
.products-details-page--gallery-bg-transparent .pd-thumbs-slide .thumb-image-a {
  background: transparent;
}
.products-details-page--gallery-no-border .pd-thumbs-slide .thumb-image-a {
  border-color: transparent;
}
.products-details-page--gallery-no-border .pd-thumbs-slide.is-active .thumb-image-a {
  border-color: var(--primary-color, #4b2a31);
}

.products-details-page .col-product-image-wrapper {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  max-width: 100%;
}

/* Product badge over main gallery image — physical left so it never sits on the countdown */
.products-details-page .pd-gallery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;
  inset-inline-start: auto;
  inset-inline-end: auto;
  z-index: 48;
  max-width: min(42%, 200px);
  pointer-events: none;
}

.products-details-page .pd-gallery-badge * {
  pointer-events: auto;
}

/* Zid injects the badge span with its own per-instance <style> (position:absolute,
   top/right hardcoded) that ignores this wrapper entirely — neutralize it so the
   badge just flows inside .pd-gallery-badge at the position set above (left). */
.products-details-page .pd-gallery-badge .badge-name {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  inset: auto !important;
  margin: 0 !important;
  transform: none !important;
}

/* Weight chip (SKU & weight fieldset) ? theme vars from product.jinja inline style */
.products-details-page .pd-weight-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.35;
  box-sizing: border-box;
  background: var(--pd-weight-bg, #fffdf7);
  border: 1px solid var(--pd-weight-bd, #ffe493);
  color: var(--pd-weight-tx, #333);
}

.products-details-page .pd-weight-chip__heading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  color: inherit;
}

.products-details-page .pd-weight-chip__ico {
  flex-shrink: 0;
  color: var(--pd-weight-icon, #c9a227);
}

.products-details-page .pd-weight-chip__label::after {
  content: "\00a0:"; /* nbsp + colon after localized "Weight" */
}

.products-details-page .pd-weight-chip__value,
.products-details-page .pd-weight-chip .product-weight {
  font-weight: 600;
  color: inherit;
  unicode-bidi: isolate;
}

/* SKU row below CTAs ? single flex line */
.products-details-page .product-flex-box.div-product-sku {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  row-gap: 0;
  margin-top: 12px;
  margin-bottom: 8px;
}

.products-details-page .div-product-sku h3.product-title,
.products-details-page .div-product-sku h2.product-title {
  font-size: 15px;
  font-weight: 400;
  margin: 0;
  min-width: unset;
}

.products-details-page .product-flex-box.div-product-sku h3.product-title {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.products-details-page .product-flex-box.div-product-sku span.product-sku {
  opacity: 0.9;
  font-size: 15px;
  word-break: break-word;
}

/* Desktop: thumbnail column beside main image (layout.schema ? thumbnails_desktop: beside).
   Compact fixed-height thumbs (see ui.html / vertical swiper ~92px) ? not full box-1-1 column width. */
@media (min-width: 992px) {
  .products-details-page .pd-gallery-layout-row--beside-lg {
    align-items: stretch !important;
  }

  .products-details-page .pd-gallery-thumbs-aside {
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-self: stretch;
  }

  .products-details-page .pd-gallery-thumbs--beside-lg {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    min-height: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .products-details-page .pd-gallery-thumbs--beside-lg > .col-12 {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 10px;
    padding-left: 0;
    padding-right: 0;
  }

  .products-details-page .pd-gallery-thumbs--beside-lg > .col-12:last-child {
    margin-bottom: 0;
  }

  /* Drop 1:1 padding trick ? use short cells like storefront vertical thumbs */
  .products-details-page .pd-gallery-thumbs--beside-lg .box-1-1:before {
    display: none;
  }

  .products-details-page .pd-gallery-thumbs--beside-lg .box-1-1 {
    height: 92px;
    width: 100%;
    max-width: 92px;
    margin-inline: auto;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.04);
  }

  .products-details-page .pd-gallery-thumbs--beside-lg .box-1-1 .content {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .products-details-page .pd-gallery-thumbs--beside-lg .thumb-image-a {
    width: 100%;
    height: 100%;
  }

  .products-details-page
    .pd-gallery-thumbs--beside-lg
    .thumb-image-a
    img:not(.play-icon) {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }

  .products-details-page .pd-gallery-thumbs--beside-lg .play-icon {
    max-height: 28px;
    width: auto;
  }

  .products-details-page .pd-gallery-layout-row {
    margin-left: 0;
    margin-right: 0;
  }
}

.products-details-page .pd-gallery-actions {
  position: absolute;
  top: auto;
  bottom: 12px;
  inset-inline-end: 12px;
  inset-inline-start: auto;
  right: auto;
  left: auto;
  z-index: 500;
  pointer-events: none;
  display: none !important;
}
@media (max-width: 767.98px) {
  .products-details-page .pd-gallery-actions {
    display: block !important;
  }
}

.products-details-page .pd-gallery-actions__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  pointer-events: auto;
}

.products-details-page .pd-gallery-actions__item {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-details-page .pd-gallery-action-btn {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  color: rgba(30, 30, 30, 0.85);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.products-details-page .pd-gallery-action-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

.products-details-page .pd-gallery-heart.icon-heart-mask {
  width: 22px;
  height: 22px;
  display: block;
  pointer-events: none;
  flex-shrink: 0;
  background-color: var(--primary-color, #3d0b17);
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-image: var(--heart-outlined-icon);
  mask-image: var(--heart-outlined-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.products-details-page .pd-gallery-heart.icon-heart-mask.filled,
.products-details-page
  .add-to-wishlist.is-in-wishlist
  .pd-gallery-heart.icon-heart-mask {
  -webkit-mask-image: var(--heart-filled-icon);
  mask-image: var(--heart-filled-icon);
  background-color: var(--primary_color, var(--primary-color, #c94f6d));
}

.products-details-page .pd-gallery-wishlist .pd-gallery-action-btn--wishlist {
  cursor: pointer;
}

.products-details-page button.pd-gallery-action-btn--wishlist {
  appearance: none;
  -webkit-appearance: none;
}

.products-details-page .pd-gallery-share-ico {
  display: block;
}

.products-details-page .pd-gallery-wishlist .loader {
  position: absolute;
  inset: 0;
  margin: auto;
}

.products-details-page .pd-gallery-wishlist {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quantity stepper */
.products-details-page .pd-qty-stepper {
  margin-bottom: 12px;
}

.products-details-page .pd-qty-stepper__label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.products-details-page .pd-qty-stepper__controls.quantity-input {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  width: max-content;
  border: 1px solid #d3d8de;
  border-radius: 8px;
  background: #fff;
}

.products-details-page .pd-qty-stepper .btn-quantity {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #000000;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.products-details-page .pd-qty-stepper .btn-quantity:hover:not(:disabled) {
  opacity: 0.55;
}

.products-details-page .pd-qty-stepper .btn-quantity:active:not(:disabled) {
  opacity: 0.85;
}

.products-details-page .pd-qty-stepper .btn-quantity:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.products-details-page .pd-qty-cap-hint {
  line-height: 1.45;
}

/* Hot stock ? alert banner above quantity (fixed palette, no theme settings) */
.products-details-page
  .pd-hot-stock.productView-hotStock.pd-hot-stock--before-qty {
  margin: 0 0 18px;
}

.products-details-page .pd-hot-stock__alert {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(100, 116, 139, 0.22);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
}

.products-details-page .pd-hot-stock__icon-wrap {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #64748b 0%, #475569 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(71, 85, 105, 0.3);
}

.products-details-page .pd-hot-stock__warn-icon {
  display: block;
  flex-shrink: 0;
  animation: pd-hot-stock-warn-pulse 1.35s ease-in-out infinite;
}

@keyframes pd-hot-stock-warn-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.92;
  }
}

.products-details-page .pd-hot-stock__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.products-details-page .pd-hot-stock__message.hotStock-text {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #334155;
  white-space: pre-line;
}

.products-details-page .pd-hot-stock .hotStock-progress {
  width: 100%;
  max-width: 420px;
  height: 10px;
  background-color: rgba(148, 163, 184, 0.45);
  text-align: start;
  margin: 0;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(100, 116, 139, 0.22);
}

.products-details-page .pd-hot-stock .hotStock-progress-item {
  display: block;
  width: 0;
  height: 100%;
  background: #64748b;
  border-radius: inherit;
  transition: width 1s ease-out;
  box-shadow: 0 0 10px rgba(100, 116, 139, 0.25);
}

/* Stock tier skins: 1 ? 2?3 ? 4?10 ? 11+ */
.products-details-page .pd-hot-stock--t-one .pd-hot-stock__alert {
  border-color: rgba(185, 28, 28, 0.32);
  background: linear-gradient(180deg, #fff5f5 0%, #ffe4e6 100%);
  box-shadow: 0 4px 20px rgba(127, 29, 29, 0.12);
}

.products-details-page .pd-hot-stock--t-one .pd-hot-stock__icon-wrap {
  background: linear-gradient(145deg, #f87171 0%, #b91c1c 100%);
  box-shadow: 0 3px 12px rgba(185, 28, 28, 0.45);
}

.products-details-page
  .pd-hot-stock--t-one
  .pd-hot-stock__message.hotStock-text {
  color: #7f1d1d;
  font-weight: 800;
}

.products-details-page .pd-hot-stock--t-one .hotStock-progress {
  background-color: rgba(254, 202, 202, 0.75);
  border-color: rgba(248, 113, 113, 0.35);
}

.products-details-page .pd-hot-stock--t-one .hotStock-progress-item {
  background: linear-gradient(90deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.35);
}

.products-details-page .pd-hot-stock--t-few .pd-hot-stock__alert {
  border-color: rgba(180, 83, 9, 0.22);
  background: linear-gradient(180deg, #fffaf5 0%, #fff5eb 100%);
  box-shadow: 0 4px 18px rgba(124, 45, 18, 0.07);
}

.products-details-page .pd-hot-stock--t-few .pd-hot-stock__icon-wrap {
  background: linear-gradient(145deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.35);
}

.products-details-page
  .pd-hot-stock--t-few
  .pd-hot-stock__message.hotStock-text {
  color: #7c2d12;
}

.products-details-page .pd-hot-stock--t-few .hotStock-progress {
  background-color: rgba(254, 215, 170, 0.65);
  border-color: rgba(251, 146, 60, 0.25);
}

.products-details-page .pd-hot-stock--t-few .hotStock-progress-item {
  background: #ea580c;
  box-shadow: 0 0 10px rgba(234, 88, 12, 0.28);
}

.products-details-page .pd-hot-stock--t-mid .pd-hot-stock__alert {
  border-color: rgba(13, 148, 136, 0.28);
  background: linear-gradient(180deg, #f0fdfa 0%, #ccfbf1 100%);
  box-shadow: 0 4px 18px rgba(15, 118, 110, 0.08);
}

.products-details-page .pd-hot-stock--t-mid .pd-hot-stock__icon-wrap {
  background: linear-gradient(145deg, #2dd4bf 0%, #0d9488 100%);
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.35);
}

.products-details-page
  .pd-hot-stock--t-mid
  .pd-hot-stock__message.hotStock-text {
  color: #115e59;
}

.products-details-page .pd-hot-stock--t-mid .hotStock-progress {
  background-color: rgba(153, 246, 228, 0.65);
  border-color: rgba(45, 212, 191, 0.35);
}

.products-details-page .pd-hot-stock--t-mid .hotStock-progress-item {
  background: linear-gradient(90deg, #14b8a6 0%, #0f766e 100%);
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.3);
}

.products-details-page .pd-hot-stock--t-many .pd-hot-stock__alert {
  border-color: rgba(71, 85, 105, 0.2);
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.products-details-page .pd-hot-stock--t-many .pd-hot-stock__icon-wrap {
  background: linear-gradient(145deg, #94a3b8 0%, #64748b 100%);
  box-shadow: 0 2px 8px rgba(71, 85, 105, 0.22);
}

.products-details-page .pd-hot-stock--t-many .pd-hot-stock__warn-icon {
  animation: none;
}

.products-details-page
  .pd-hot-stock--t-many
  .pd-hot-stock__message.hotStock-text {
  color: #475569;
  font-weight: 600;
}

.products-details-page .pd-hot-stock--t-many .hotStock-progress {
  background-color: rgba(203, 213, 225, 0.55);
  border-color: rgba(148, 163, 184, 0.28);
}

.products-details-page .pd-hot-stock--t-many .hotStock-progress-item {
  background: #64748b;
  box-shadow: none;
}

/* High stock (11+): optional theme colors ? set on root via inline --pd-hs-* (product page settings) */
.products-details-page
  .pd-hot-stock--custom-high.pd-hot-stock--t-many
  .pd-hot-stock__alert {
  background: var(
    --pd-hs-alert-bg,
    linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%)
  );
  border-color: var(--pd-hs-alert-border, rgba(71, 85, 105, 0.2));
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.products-details-page
  .pd-hot-stock--custom-high.pd-hot-stock--t-many
  .pd-hot-stock__icon-wrap {
  background: var(
    --pd-hs-icon-bg,
    linear-gradient(145deg, #94a3b8 0%, #64748b 100%)
  );
  box-shadow: 0 2px 8px rgba(71, 85, 105, 0.22);
}

.products-details-page
  .pd-hot-stock--custom-high.pd-hot-stock--t-many
  .pd-hot-stock__message.hotStock-text {
  color: var(--pd-hs-text, #475569);
}

.products-details-page
  .pd-hot-stock--custom-high.pd-hot-stock--t-many
  .hotStock-progress {
  background-color: var(--pd-hs-track, rgba(203, 213, 225, 0.55));
  border-color: var(--pd-hs-alert-border, rgba(148, 163, 184, 0.28));
}

.products-details-page
  .pd-hot-stock--custom-high.pd-hot-stock--t-many
  .hotStock-progress-item {
  background: var(--pd-hs-fill, #64748b);
  box-shadow: none;
}

@media (max-width: 767.98px) {
  .products-details-page
    .pd-hot-stock.productView-hotStock.pd-hot-stock--before-qty {
    margin: 0 0 12px;
  }

  .products-details-page .pd-hot-stock__alert {
    padding: 9px 11px;
    gap: 10px;
    border-radius: 10px;
  }

  .products-details-page .pd-hot-stock__body {
    gap: 7px;
  }

  .products-details-page .pd-hot-stock__icon-wrap {
    width: 38px;
    height: 38px;
  }

  .products-details-page .pd-hot-stock__warn-icon {
    width: 22px;
    height: 22px;
  }

  .products-details-page .pd-hot-stock__message.hotStock-text {
    font-size: 0.9375rem;
    line-height: 1.38;
    letter-spacing: 0;
  }

  .products-details-page .pd-hot-stock .hotStock-progress {
    max-width: none;
    height: 6px;
  }
}

.products-details-page .pd-qty-stepper:not(.pd-qty-stepper--figma) .pd-qty-glyph {
  display: none;
}

.products-details-page .pd-qty-stepper .btn-quantity svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  pointer-events: none;
}

@media (min-width: 992px) {
  .products-details-page .pd-qty-stepper:not(.pd-qty-stepper--figma) .btn-quantity svg {
    width: 24px;
    height: 24px;
  }

  .products-details-page .pd-qty-stepper:not(.pd-qty-stepper--figma) .btn-quantity svg path {
    stroke-width: 2;
  }
}

.products-details-page .pd-qty-display.product-quantity-input {
  width: 52px;
  border: 0;
  text-align: center;
  padding: 0;
  font-weight: 600;
  font-size: 1.15rem;
  background: transparent;
  outline: none;
  direction: ltr;
}

.products-details-page input[type="number"].product-quantity-input {
  -moz-appearance: textfield;
}

/* Side-by-side cart / buy now ? pills + hover */
.products-details-page .product-buttons .d-flex.align-center > .btn-add-to-cart,
.products-details-page .product-buttons .d-flex.align-center > .btn-buy-now {
  flex: 1 1 0;
  width: auto;
  min-width: 140px;
}

.products-details-page .product-buttons .pd-btn-pill-atc,
.products-details-page .product-buttons .pd-btn-pill-bn {
  border-radius: var(--pd-btn-r, 8px);
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  justify-content: center;
  gap: 4px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.products-details-page .pd-purchase-btns__row.pd-btn-pill-atc,
.products-details-page .pd-purchase-btns__row .pd-btn-pill-atc,
.products-details-page .pd-purchase-btns__row .pd-btn-pill-bn {
  width: auto;
}

.products-details-page .product-buttons .pd-pill-btn-ico {
  flex-shrink: 0;
}

.products-details-page .product-buttons .pd-btn-pill-atc:hover:not(:disabled),
.products-details-page .product-buttons .pd-btn-pill-bn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  filter: brightness(1.03);
}

.products-details-page .product-buttons .pd-btn-pill-atc:active:not(:disabled),
.products-details-page .product-buttons .pd-btn-pill-bn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.products-details-page .product-buttons .pd-btn-pill-atc:focus-visible,
.products-details-page .product-buttons .pd-btn-pill-bn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.products-details-page .btn-buy-now.pd-buy-now-outline {
  background-color: var(--pd-bn-bg, #ffffff) !important;
  border-width: 2px !important;
  border-style: solid !important;
  border-color: var(--pd-bn-border, #1a1a1a) !important;
  color: var(--pd-bn-text, #1a1a1a) !important;
}

.products-details-page .btn-buy-now.pd-buy-now-outline .pd-pill-btn-ico {
  stroke: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .products-details-page .product-buttons .pd-btn-pill-atc:hover:not(:disabled),
  .products-details-page .product-buttons .pd-btn-pill-bn:hover:not(:disabled),
  .products-details-page
    .product-buttons
    .pd-btn-pill-atc:active:not(:disabled),
  .products-details-page
    .product-buttons
    .pd-btn-pill-bn:active:not(:disabled) {
    transform: none;
    filter: none;
  }
}

/* Share modal */
body.pd-share-open {
  overflow: hidden;
}

.pd-share-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 10040;
}

.products-details-page .pd-share-popup.share-popup {
  position: fixed;
  inset: 0;
  margin: auto;
  width: calc(100% - 32px);
  max-width: 420px;
  height: fit-content;
  max-height: min(560px, 90vh);
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  z-index: 10050;
  padding: 28px 24px 24px;
  animation: pdShareFadeIn 0.2s ease-out;
}

@keyframes pdShareFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.products-details-page .pd-share-popup-close {
  position: absolute;
  top: 10px;
  inset-inline-end: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.45);
}

.products-details-page .share-popup-title {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.products-details-page .share-popup-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.products-details-page .share-option {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: #222;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.products-details-page .share-option:hover {
  background: #fff;
  transform: translateY(-2px);
}

.products-details-page .share-link-row {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.products-details-page .share-link-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.65);
}

.products-details-page .share-link-input-wrapper {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.products-details-page .share-link-input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: #333;
  background-color: #f9f9f9;
  direction: ltr;
}

.products-details-page .share-link-copy-btn {
  border: none;
  border-radius: 8px;
  padding: 0 14px;
  background-color: #121212;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.products-details-page .share-link-copy-btn:hover {
  background-color: #333;
}

/* Gallery lightbox ? wide modal + swipe (Slick) */
body.pd-gl-open {
  overflow: hidden;
}

.products-details-page #product-images-slick .image-link .carousel-img {
  cursor: zoom-in;
}

.pd-gl-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px
    max(24px, env(safe-area-inset-bottom));
  background: rgba(12, 12, 12, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: pdGlBackdropIn 0.28s ease-out both;
}

.pd-gl-backdrop[hidden] {
  display: none !important;
}

@keyframes pdGlBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.pd-gl-panel {
  position: relative;
  width: min(80vw, 920px);
  max-width: 100%;
  max-height: min(88vh, 900px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  padding: 48px 28px 28px;
  overflow: hidden;
  animation: pdGlPanelIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pdGlPanelIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pd-gl-close {
  position: absolute;
  top: 10px;
  inset-inline-end: 12px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.pd-gl-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #000;
}

.pd-gl-slick {
  width: 100%;
}

.products-details-page .pd-gl-slick .pd-gl-slide-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.products-details-page .pd-gl-slick .pd-gl-slide-inner img {
  max-height: min(72vh, 680px);
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
  object-fit: contain;
}

.products-details-page .pd-gl-slick .pd-gl-arrow {
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.products-details-page .pd-gl-slick .pd-gl-arrow:before {
  display: none;
}

.products-details-page .pd-gl-slick .pd-gl-arrow span {
  font-size: 22px;
  color: #222;
}

.products-details-page .pd-gl-slick .slick-prev.pd-gl-arrow {
  inset-inline-start: 4px;
}

.products-details-page .pd-gl-slick .slick-next.pd-gl-arrow {
  inset-inline-end: 4px;
}

.products-details-page .pd-gl-slick .slick-dots {
  bottom: -8px;
}

.products-details-page .pd-gl-slick .slick-dots li button:before {
  font-size: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .pd-gl-backdrop,
  .pd-gl-panel {
    animation: none;
  }
}

/* Reviews listing page ? same card shell as product tabs */
.products-reviews-page .pd-tab-pane-shell,
.product .pd-tab-pane-shell {
  padding: 16px 20px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ebebeb;
}

.pd-ui-reviews .rating-number {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding-top: 4px;
}

.pd-ui-reviews .product-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.pd-ui-reviews .pd-product-rating--solo {
  justify-content: flex-start;
}

.pd-ui-reviews .rating-average {
  color: var(--pd-review-accent, var(--secondary-color-alt3, #26265c));
  font-weight: 800 !important;
  font-size: clamp(2rem, 5vw, 3.125rem) !important;
  line-height: 1;
  min-width: 72px;
  margin: 0;
}

.pd-ui-reviews .rating-stars-block {
  position: relative;
  width: 118px;
  flex-shrink: 0;
  direction: ltr;
  text-align: left;
}

.pd-ui-reviews .rating-stars-block .pd-rating-star-layer {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  gap: 4px;
  align-items: center;
}

.pd-ui-reviews .rating-stars-block .pd-rating-star-layer .icon-star1:before {
  font-size: 18px;
}

.pd-ui-reviews
  .rating-stars-block
  .pd-rating-star-layer
  .icon-star1.deactive:before {
  font-size: 18px;
}

.pd-ui-reviews .rating-stars-block .active-stars-block {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  height: 28px;
  max-width: 100%;
}

.pd-ui-reviews .rating-stars-block .active-stars.position-absolute {
  top: 0;
  left: 0;
}

.pd-ui-reviews h4.count.text-start {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-top: 0;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.55;
  padding-inline-start: 4px;
  color: var(--pd-review-accent, #26265c) !important;
}

.pd-ui-reviews h4.count .rating-count {
  font-weight: 600;
  opacity: 1;
}

.pd-ui-reviews .pd-rate-bar-block {
  border: none;
  background: transparent;
}

.pd-ui-reviews .pd-rate-bar-block tbody tr:last-child td {
  border-bottom: none;
}

.pd-ui-reviews .pd-rate-bar-block td {
  vertical-align: middle;
  border-top: none;
  padding-top: 10px;
  padding-bottom: 10px;
}

.pd-ui-reviews .pd-rate-bar-block .count-r {
  width: 2rem;
  font-weight: 700;
  color: var(--tp-text-body, #333);
}

.pd-ui-reviews .pd-rate-bar-block .rating-bar {
  width: 100%;
}

.pd-ui-reviews .pd-rate-bar-block .bar-container {
  height: 8px;
  background: var(--secondary-color-alt7, #ececec);
  border-radius: 4px;
  overflow: hidden;
}

.pd-ui-reviews .pd-rate-bar-block .rating-bar .bar-container > [class*="bar-"] {
  height: 100%;
  min-height: 8px;
  border-radius: 4px;
  min-width: 0;
  background: var(--primary-color, var(--pd-review-accent, #26265c));
}

.pd-ui-reviews .pd-rate-bar-block .rating-label {
  white-space: nowrap;
  padding-inline-start: 14px;
  color: var(--tp-text-body, #666);
}

.pd-ui-reviews .pd-rate-bar-block .rating_count_5,
.pd-ui-reviews .pd-rate-bar-block .rating_count_4,
.pd-ui-reviews .pd-rate-bar-block .rating_count_3,
.pd-ui-reviews .pd-rate-bar-block .rating_count_2,
.pd-ui-reviews .pd-rate-bar-block .rating_count_1 {
  width: auto;
  display: inline;
  font-weight: 600;
  margin-inline-end: 4px;
}

.pd-ui-reviews .btn-add-review.btn-colored {
  border-radius: 4px;
  font-weight: 600;
  padding: 6px 12px;
  font-size: 11px !important;
  line-height: 1.3;
  border: 0;
  box-shadow: none !important;
  background: var(--primary-color, var(--pd-review-accent, #26265c));
  color: #fff !important;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.pd-ui-reviews .btn-add-review.btn-colored:hover {
  opacity: 0.92;
  color: #fff !important;
  text-decoration: none;
}

.pd-ui-reviews .reviews-list .title-p-small {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tp-text-1, #222);
  margin-bottom: 12px;
}

/* STT-style reviews summary + cards ? CSS vars from theme (.pd-reviews-stt on shell) */
.pd-ui-reviews.pd-reviews-stt {
  --pd-rev-accent-fallback: #1a1a1a;
  --pd-rev-star-bar-fallback: var(--primary-color, #3d0b17);
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-rating-num {
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--pd-rev-accent, var(--pd-rev-accent-fallback));
  font-size: var(--pd-rev-score-fs, 50px);
  font-family: ui-monospace, "Cousine", monospace;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-product-rate {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-layer-wrap.rating-stars-block {
  width: 148px;
  height: 32px;
}

.pd-ui-reviews.pd-reviews-stt
  .pd-stt-layer-wrap
  .pd-stt-layer-track
  .icon-star1:before {
  font-size: 22px;
  color: rgba(0, 0, 0, 0.18);
}

.pd-ui-reviews.pd-reviews-stt
  .pd-stt-layer-wrap
  .pd-stt-layer-track
  .icon-star1.deactive:before {
  font-size: 22px;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-layer-fill .icon-star1:before {
  font-size: 22px;
  color: var(--pd-rev-star-bar, var(--pd-rev-star-bar-fallback));
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-layer-wrap .active-stars-block {
  height: 32px;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-rating-users {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: var(
    --pd-rev-muted,
    var(--pd-rev-accent, var(--pd-rev-accent-fallback))
  );
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-rating-users__ico {
  font-size: 1.25rem;
  opacity: 0.85;
  color: inherit;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-rating-desc {
  padding-top: 4px;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-rating-row {
  margin-bottom: 14px;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-rating-row--last {
  margin-bottom: 0;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-rating-row__labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  width: 100%;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-rating-row__star-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-rev-count {
  font-weight: 700;
  font-size: 1rem;
  min-width: 2rem;
  color: var(--pd-rev-accent, var(--pd-rev-accent-fallback));
  flex-shrink: 0;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-row-star:before {
  font-size: 15px;
  color: var(--pd-rev-star-bar, var(--pd-rev-star-bar-fallback));
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-star-count {
  font-weight: 700;
  font-size: 1rem;
  color: var(--pd-rev-accent, var(--pd-rev-accent-fallback));
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-progress {
  height: 10px;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-progress-bar {
  background-color: var(--pd-rev-star-bar, var(--pd-rev-star-bar-fallback));
  border-radius: 6px;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-review-card__body {
  padding-top: 14px;
  padding-bottom: 14px;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  width: 100%;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-review-card__rate {
  flex-shrink: 0;
  min-width: 0;
}

.pd-ui-reviews.pd-reviews-stt
  .pd-stt-review-card__rate
  .product-card-rating
  .icon-star1:before {
  color: var(--pd-rev-star-bar, var(--pd-rev-star-bar-fallback));
}

.pd-ui-reviews.pd-reviews-stt
  .pd-stt-review-card__rate
  .product-card-rating
  .icon-star1.deactive:before {
  color: rgba(0, 0, 0, 0.15);
}

.pd-ui-reviews.pd-reviews-stt
  .pd-stt-review-card__rate
  .product-card-rating
  .icon-half-star:before {
  color: var(--pd-rev-star-bar, var(--pd-rev-star-bar-fallback));
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-review-card__time {
  font-size: 0.75rem;
  color: var(--pd-rev-muted, var(--secondary-color-alt9, #8b8b8b));
  white-space: nowrap;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-review-card__description {
  font-size: 18px;
  line-height: 1.55;
  color: var(--pd-rev-accent, var(--pd-rev-accent-fallback));
  padding-inline-start: 2px;
  margin-bottom: 0;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-review-card__footer {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 10px;
}

.pd-ui-reviews.pd-reviews-stt .pd-stt-review-card__author {
  font-weight: 500;
  font-size: 11px;
  color: var(--pd-rev-accent, var(--pd-rev-accent-fallback));
  text-align: end;
}

.pd-ui-reviews.pd-reviews-stt .card-review .pd-review-reply-text {
  color: var(--pd-rev-accent, var(--pd-rev-accent-fallback));
}

/* Related products tab — same responsive grid tokens as listing pages */
.products-details-page
  .pd-related-products-wrap.products-container
  .ath-products-grid {
  display: grid;
  grid-template-columns: repeat(var(--ath-pl-cols-xs, 2), minmax(0, 1fr));
  gap: clamp(12px, 2.2vw, 20px);
  margin-bottom: 24px;
  width: 100%;
  align-items: stretch;
}

.products-details-page .pd-related-products-wrap .ath-products-grid__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.products-details-page
  .pd-related-products-wrap
  .ath-products-grid__item
  .product-item {
  width: 100%;
  max-width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

@media (min-width: 768px) {
  .products-details-page
    .pd-related-products-wrap.products-container
    .ath-products-grid {
    grid-template-columns: repeat(var(--ath-pl-cols-sm, 3), minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .products-details-page
    .pd-related-products-wrap.products-container
    .ath-products-grid {
    grid-template-columns: repeat(var(--ath-pl-cols-md, 4), minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .products-details-page
    .pd-related-products-wrap.products-container
    .ath-products-grid {
    grid-template-columns: repeat(var(--ath-pl-cols-lg, 5), minmax(0, 1fr));
  }
}

/* -----------------------------------------------------------
   Zahra PDP refactor (Figma) ? toolbar, countdown on image,
   accordions, reviews block, related, why, community
   ----------------------------------------------------------- */

/* Countdown on gallery — top inline-end corner on all breakpoints (same as former mobile). */
.products-details-page .pd-gallery-countdown {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  inset-inline-end: auto;
  bottom: auto;
  left: 10px;
  right: auto;
  transform: none;
  z-index: 60;
  pointer-events: none;
  display: block;
  width: max-content;
  max-width: calc(100% - 20px);
}
.products-details-page .pd-gallery-countdown .pd-sale-end-in--on_gallery {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  pointer-events: auto;
  color: #1a1a1a;
  width: auto;
  max-width: 100%;
  /* kill card/box chrome from .pd-sale-end-in */
  --pc-cd-unit-text: #1a1a1a;
  --pc-cd-unit-bg: rgba(255, 255, 255, 0.72);
}
/* Card overlay uses position:absolute — nest must stay in the wrapper flow */
.products-details-page .pd-gallery-countdown .pc-sale-countdown,
.products-details-page .pd-gallery-countdown .pc-sale-countdown--overlay,
.products-details-page .pd-gallery-countdown .tp-countdown {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: auto;
}
.products-details-page
  .pd-gallery-countdown
  .pd-sale-end-in--on_gallery
  .tp-countdown__units--stacked,
.products-details-page
  .pd-gallery-countdown
  .pd-sale-end-in--on_gallery
  ul.tp-countdown__units {
  width: auto !important;
  max-width: 100%;
  justify-content: flex-start !important;
  gap: 6px;
  flex-direction: row;
}
.products-details-page
  .pd-gallery-countdown
  .pd-sale-end-in--on_gallery
  .tp-countdown[dir="rtl"]
  .tp-countdown__units--stacked {
  flex-direction: row-reverse;
}
.products-details-page
  .pd-gallery-countdown
  .pd-sale-end-in--on_gallery
  .tp-countdown__unit {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  min-width: 60px;
  max-width: 60px;
  padding: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: none !important;
  border: 0 !important;
  gap: 2px;
  color: #1a1a1a !important;
}
.products-details-page
  .pd-gallery-countdown
  .pd-sale-end-in--on_gallery
  .tp-countdown__val,
.products-details-page
  .pd-gallery-countdown
  .pd-sale-end-in--on_gallery
  .pc-cd-d,
.products-details-page
  .pd-gallery-countdown
  .pd-sale-end-in--on_gallery
  .pc-cd-h,
.products-details-page
  .pd-gallery-countdown
  .pd-sale-end-in--on_gallery
  .pc-cd-m,
.products-details-page
  .pd-gallery-countdown
  .pd-sale-end-in--on_gallery
  .pc-cd-s {
  color: #1a1a1a !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  padding: 0;
}
.products-details-page
  .pd-gallery-countdown
  .pd-sale-end-in--on_gallery
  .tp-countdown__lbl,
.products-details-page
  .pd-gallery-countdown
  .pd-sale-end-in--on_gallery
  .tp-countdown-label {
  color: #1a1a1a !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  padding: 0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  opacity: 1 !important;
}
@media (max-width: 767.98px) {
  .products-details-page
    .pd-gallery-countdown
    .pd-sale-end-in--on_gallery
    .tp-countdown__unit {
    width: 36px;
    height: 36px;
    min-width: 36px;
    max-width: 36px;
  }
  .products-details-page
    .pd-gallery-countdown
    .pd-sale-end-in--on_gallery
    .tp-countdown__val,
  .products-details-page
    .pd-gallery-countdown
    .pd-sale-end-in--on_gallery
    .pc-cd-d,
  .products-details-page
    .pd-gallery-countdown
    .pd-sale-end-in--on_gallery
    .pc-cd-h,
  .products-details-page
    .pd-gallery-countdown
    .pd-sale-end-in--on_gallery
    .pc-cd-m,
  .products-details-page
    .pd-gallery-countdown
    .pd-sale-end-in--on_gallery
    .pc-cd-s {
    font-size: 13px !important;
  }
  .products-details-page
    .pd-gallery-countdown
    .pd-sale-end-in--on_gallery
    .tp-countdown__lbl,
  .products-details-page
    .pd-gallery-countdown
    .pd-sale-end-in--on_gallery
    .tp-countdown-label {
    font-size: 9px !important;
  }
  .products-details-page
    .pd-gallery-countdown
    .pd-sale-end-in--on_gallery
    ul.tp-countdown__units {
    gap: 4px;
    flex-wrap: nowrap;
  }

  /* Mobile thumbs under main image (legacy grid strip — `beside` layout) */
  .products-details-page .lg-thumbs.product-images-carousel-thumbs {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    margin-top: 10px;
    padding-bottom: 4px;
  }
  .products-details-page .lg-thumbs .col-3 {
    flex: 0 0 22%;
    max-width: 22%;
    margin-top: 0;
  }
}

/* Info toolbar: navigation trail (Home / Category / Product) */
.products-details-page .pd-info-toolbar {
  display: block;
  margin: 0 0 24px;
  width: 100%;
}

.products-details-page > .pd-info-toolbar--bc-bar {
  margin: 0;
  width: 100%;
  max-width: none;
}

@media (max-width: 767.98px) {
  .products-details-page .pd-info-toolbar:not(.pd-info-toolbar--bc-bar) {
    margin-block: 14px;
  }
}
.products-details-page .pd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: var(--ath-breadcrumb-link, #1a1a1a);
  min-width: 0;
}
@media (max-width: 767.98px) {
  .products-details-page .pd-breadcrumb {
    font-size: 14px;
  }
}
/* No hover state — hover shares the idle declaration.
   Colors come from General → breadcrumb, same tokens as listing pages. */
.products-details-page .pd-breadcrumb a,
.products-details-page .pd-breadcrumb a:hover {
  color: var(--ath-breadcrumb-link, #1a1a1a);
  text-decoration: none;
}
.products-details-page .pd-breadcrumb__item--current {
  color: var(--ath-breadcrumb-active, var(--primary-color, #3d0b17));
  font-weight: 600;
}
.products-details-page .pd-breadcrumb__sep {
  color: var(--ath-breadcrumb-link, #1a1a1a);
  opacity: 0.45;
  font-weight: 400;
  padding-inline: 0.1rem;
  user-select: none;
}

/* Title row: name + heart then share (Figma) */
.products-details-page .pd-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0 0 0.65rem;
}
.products-details-page .pd-title-row .pd-product-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--pd-name, inherit);
}
.products-details-page .pd-title-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .products-details-page .pd-title-actions {
    display: flex;
  }
}
.products-details-page .pd-title-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e8e4df;
  background: #fff;
  color: #8a8a8a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
  padding: 0;
}
.products-details-page .pd-title-action-btn:hover {
  border-color: #cfc9c0;
  color: #1a1a1a;
  background: #fff;
}
.products-details-page .pd-title-heart.icon-heart-mask {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
  background-color: #8a8a8a;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-image: var(--heart-outlined-icon);
  mask-image: var(--heart-outlined-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.products-details-page .pd-title-heart.icon-heart-mask.filled,
.products-details-page
  .add-to-wishlist.is-in-wishlist
  .pd-title-heart.icon-heart-mask {
  -webkit-mask-image: var(--heart-filled-icon);
  mask-image: var(--heart-filled-icon);
  background-color: var(--primary_color, var(--primary-color, #c94f6d));
}
.products-details-page
  .pd-title-action-btn--wishlist:hover
  .pd-title-heart.icon-heart-mask:not(.filled) {
  background-color: #1a1a1a;
}
.products-details-page button.pd-title-action-btn--wishlist {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.products-details-page .pd-title-wishlist {
  position: relative;
  display: inline-flex;
}
.products-details-page .pd-title-wishlist .loader {
  position: absolute;
  inset: 0;
  margin: auto;
}

/* Legacy square action styles (gallery overlay etc.) */
.products-details-page .pd-info-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.products-details-page .pd-info-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #d8d4ce;
  background: #fff;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.products-details-page .pd-info-action-btn:hover {
  border-color: #1a1a1a;
  background: #faf9f7;
}
.products-details-page .pd-info-heart.icon-heart-mask {
  width: 18px;
  height: 18px;
  display: block;
  background-color: #1a1a1a;
  mask-size: contain !important;
}
.products-details-page .pd-info-wishlist {
  position: relative;
  display: inline-flex;
}
.products-details-page .pd-info-wishlist .loader {
  position: absolute;
  inset: 0;
  margin: auto;
}

/* Hot stock under title ? compact */
.products-details-page .pd-title-row + .pd-hot-stock,
.products-details-page .pd-product-title + .pd-hot-stock {
  margin: 0.35rem 0 0.85rem;
}
.products-details-page .pd-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 0.75rem 0 1rem;
  font-size: 0.875rem;
  color: #555;
}
.products-details-page .pd-meta-row .pd-meta-sku,
.products-details-page .pd-meta-row .pd-weight-chip {
  margin-bottom: 0;
}
.products-details-page .pd-rating-trust-row {
  gap: 0.75rem 1.25rem;
  margin: 0.5rem 0 0.75rem;
}
.products-details-page .pd-trust-line--inline {
  margin: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.8125rem;
}

/* CTA row ? Buy now solid + ATC outline (Figma) */
.products-details-page .pd-cta-row:not(.pd-purchase-btns__row) {
  flex-wrap: wrap;
  width: 100%;
}
.products-details-page .pd-cta-row:not(.pd-purchase-btns__row) > .btn {
  flex: 1 1 140px;
  margin-bottom: 0 !important;
  min-height: 52px;
  border-radius: 8px;
  font-weight: 600;
}
.products-details-page .btn-buy-now.pd-buy-now-solid {
  background: var(--pd-bn-bg, #ffffff);
  border: 1px solid var(--pd-bn-border, #1a1a1a);
  color: var(--pd-bn-text, #1a1a1a);
  border-radius: var(--pd-btn-r, 8px);
}
.products-details-page .btn-buy-now.pd-buy-now-solid:hover {
  filter: brightness(1.08);
  color: var(--pd-bn-text, #1a1a1a);
}
.products-details-page .pd-btn-atc-outline {
  background: var(--pd-atc-bg, #1a1a1a) !important;
  border: 1px solid var(--pd-atc-bd, #1a1a1a) !important;
  color: var(--pd-atc-tx, #ffffff) !important;
}
.products-details-page .pd-btn-atc-outline:hover {
  filter: brightness(1.08);
}

/* Accordions */
.products-details-page .pd-info-accordions {
  margin-top: 1.5rem;
  border-top: 1px solid #e8e4df;
}
.products-details-page .pd-accordion {
  border-bottom: 1px solid #e8e4df;
}
.products-details-page .pd-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--pd-desc-title, #1a1a1a);
}
.products-details-page .pd-accordion__title {
  color: inherit;
}
.products-details-page .pd-accordion__summary::-webkit-details-marker {
  display: none;
}
.products-details-page .pd-accordion__chev {
  width: 10px;
  height: 13px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}
.products-details-page .pd-accordion__chev svg {
  display: block;
  width: 10px;
  height: 13px;
}
.products-details-page .pd-accordion[open] .pd-accordion__chev {
  transform: rotate(0deg);
}
.products-details-page .pd-accordion__body {
  padding: 0 0 1.15rem;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}
.products-details-page .pd-acc-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.products-details-page .pd-acc-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.products-details-page .pd-acc-item__ico {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.products-details-page .pd-acc-item__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: inherit;
  line-height: 1.55;
  color: #444;
}
@media (max-width: 767.98px) {
  .products-details-page .pd-accordion__body {
    font-size: 14px;
  }
}

/* Reviews block — full-bleed, no section background tint */
.products-details-page .pd-reviews-block {
  width: 100%;
  background-color: transparent;
}
.products-details-page .pd-reviews-block__row {
  margin-left: 0;
  margin-right: 0;
}
.products-details-page .pd-reviews-block__kicker {
  margin: 0;
  font-family: var(--ath-body-font-family, inherit);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pd-rev-kicker, var(--primary-color, #3d0b17));
}
.products-details-page .pd-reviews-block__title {
  margin: 0.5rem 0 0;
  font-family: var(--ath-body-font-family, inherit);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--pd-rev-title, #1a1a1a);
}
.products-details-page .pd-reviews-block__comments-title {
  margin: 0 0 1rem;
  font-size: 18px !important;
  font-weight: 700;
  color: var(--pd-rev-comments-title, #1a1a1a);
}
.products-details-page
  .pd-reviews-block
  .pd-stt-add-review-wrap
  .btn-add-review,
.products-details-page .pd-reviews-block .pd-ui-reviews .btn-add-review.btn-colored,
.products-details-page .pd-reviews-block .pd-stt-add-btn {
  background: var(--pd-rev-btn-bg, var(--primary-color, #3d0b17)) !important;
  border-color: var(--pd-rev-btn-bg, var(--primary-color, #3d0b17)) !important;
  color: var(--pd-rev-btn-fg, var(--text-color-primary-bg, #fff)) !important;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-size: 16px !important;
}
.products-details-page .pd-reviews-empty {
  padding: 1.25rem 0 0.5rem;
}
.products-details-page .pd-reviews-empty__msg {
  font-size: 16px;
  line-height: 1.7;
  color: var(--pd-rev-muted, #6a7282);
  max-width: 28rem;
}

/* Desktop: original 5/7 columns, full container width, title on one line.
   Mobile already stacks and centres. */
@media (min-width: 992px) {
  .products-details-page .pd-reviews-block__row {
    justify-content: center;
  }

  .products-details-page .pd-reviews-block__title {
    white-space: nowrap;
  }
}

/* Q&A block — same Zid gate as soft-theme-vitrin (store questions_enabled + theme toggle) */
.products-details-page .pd-questions-block {
  width: 100%;
}
.products-details-page .pd-questions-block__title {
  font-family: var(--ath-body-font-family, inherit);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: var(--primary-color, #3d0b17);
}
.products-details-page .pd-questions-block__add-btn {
  font-size: 16px;
  border-radius: 999px;
  background: var(--primary-color, #3d0b17) !important;
  border-color: var(--primary-color, #3d0b17) !important;
  color: var(--text-color-primary-bg, #fff) !important;
}
.products-details-page .pd-questions-block .questions-card-init .button-box {
  display: none;
}

/* Related */
.products-details-page .pd-related-block__title {
  font-family: var(--ath-body-font-family, inherit);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: #1a1a1a;
}
.products-details-page .pd-related-block__sub {
  color: #666;
  font-size: 0.9375rem;
  max-width: 36rem;
}

/* Why Zahra */
.pd-why__head {
  text-align: center;
  margin-bottom: 2rem;
}
.pd-why__kicker {
  margin: 0;
  font-family: var(--ath-body-font-family, inherit);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c5a059;
}
.pd-why__title {
  margin: 0.65rem 0 0;
  font-family: var(--ath-body-font-family, inherit);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: #1a1a1a;
}
.pd-why__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 0.75rem;
}
@media (min-width: 576px) {
  .pd-why__grid {
    gap: 1.75rem 1.25rem;
  }
}
@media (min-width: 992px) {
  .pd-why__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 450px) {
  .pd-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.65rem;
  }
  .pd-why__ico {
    width: 40px;
    height: 40px;
    margin-bottom: 0.55rem;
  }
  .pd-why__item-title {
    font-size: 0.875rem;
  }
  .pd-why__item-text {
    font-size: 0.75rem;
  }
}
.pd-why__item {
  text-align: center;
}
.pd-why__ico {
  margin: 0 auto 0.85rem;
  width: 48px;
  height: 48px;
}
.pd-why__ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pd-why__item-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
}
.pd-why__item-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #707070;
}

/* Community on PDP */
.pd-com__head {
  text-align: center;
  margin-bottom: 1.75rem;
}
.pd-com__kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ath-body-font-family, inherit);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c5a059;
}
.pd-com__kicker-ico {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
}
.pd-com__kicker-ico img,
.pd-com__kicker-ico svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pd-com__title {
  margin: 0.75rem 0 0;
  font-family: var(--ath-body-font-family, inherit);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: #1a1a1a;
}
.pd-com__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 768px) {
  .pd-com__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .pd-com__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.pd-com__tile {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #e8e4df;
  text-decoration: none;
  color: inherit;
}
.pd-com__media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
}
.pd-com__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.pd-com__overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.pd-com__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.pd-com__badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
}
.pd-com__ico {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.pd-com__tile--icon:hover .pd-com__overlay,
.pd-com__tile--icon:focus-visible .pd-com__overlay {
  opacity: 1;
}
.pd-com__tile--icon:hover .pd-com__img,
.pd-com__tile--icon:focus-visible .pd-com__img {
  transform: scale(1.04);
}
@media (hover: none), (max-width: 767px) {
  .pd-com__tile--icon .pd-com__overlay {
    opacity: 1;
  }
  .pd-com__tile--icon .pd-com__img {
    transform: none;
  }
}

/* -- Figma QA pass: portrait gallery, inline stock, reviews, related -- */

/* Main image frame — shell rule above owns the ratio */
.products-details-page .product-images-carousel.box-1-1:before,
.products-details-page .product-images-empty.box-1-1:before,
.products-details-page #product-images-slick .box-1-1:before {
  padding-top: var(--pd-gallery-frame, 125%);
}

/* Compact bag + accent stock under title (chip with background) */
.products-details-page .pd-hot-stock--inline,
.products-details-page .pd-hot-stock--figma-inline {
  margin: 0.35rem 0 0.85rem;
}
.products-details-page .pd-hot-stock--inline .pd-hot-stock__alert,
.products-details-page .pd-hot-stock--figma-inline .pd-hot-stock__alert {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem;
  margin: 0;
  background: var(--pd-hs-bg, #fff4e5) !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 6px;
}
.products-details-page .pd-hot-stock--inline .pd-hot-stock__icon-wrap,
.products-details-page .pd-hot-stock--figma-inline .pd-hot-stock__icon-wrap {
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  color: var(--pd-hs-accent, #bf7900);
}
/* Exact Figma SVGs: Icon (3) stock + Button (2) ATC */
.products-details-page .pd-hot-stock__bag-icon {
  display: block;
  width: 20px;
  height: 20px;
  color: var(--pd-hs-accent, #bf7900);
  flex-shrink: 0;
}
.products-details-page .pd-atc-bag-ico,
.products-details-page .pd-buy-wallet-ico {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.products-details-page .pd-hot-stock--inline .pd-hot-stock__body,
.products-details-page .pd-hot-stock--figma-inline .pd-hot-stock__body {
  flex: 0 1 auto;
}
.products-details-page
  .pd-hot-stock--inline
  .pd-hot-stock__message.hotStock-text,
.products-details-page
  .pd-hot-stock--figma-inline
  .pd-hot-stock__message.hotStock-text {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pd-hs-accent, #bf7900) !important;
  line-height: 1.35;
}
.products-details-page .pd-hot-stock--inline .hotStock-progress,
.products-details-page .pd-hot-stock--figma-inline .hotStock-progress {
  display: none !important;
}

/* Short description + about accordion body.
   Wrapper is a div: Zid short_description is often already a <p>, and <p><p>
   would break the colored wrapper out of the tree. */
.products-details-page .text-short-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--pd-short-desc, #444);
  margin: 0.75rem 0;
}
.products-details-page .text-short-description,
.products-details-page .text-short-description :where(p, span, div, strong, em, b, i, a) {
  color: var(--pd-short-desc, #444);
  font-size: 16px;
}
.products-details-page .pd-accordion__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--pd-desc-body, #444);
}
.products-details-page .pd-accordion__body :where(p, span, div, li, strong, em, b, i) {
  color: inherit;
}
@media (max-width: 767.98px) {
  .products-details-page .pd-accordion__body {
    font-size: 10px;
    line-height: 1.5;
  }
}

.products-details-page .pd-bestseller-line {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.35rem 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--primary-color, #3d0b17);
}
.products-details-page .pd-bestseller-line__ico {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: inherit;
}
@media (max-width: 767.98px) {
  .products-details-page .pd-bestseller-line {
    font-size: 12px;
  }
  .products-details-page .pd-bestseller-line__ico {
    width: 12px;
    height: 12px;
  }
}

/* Reviews Figma summary stack */
.products-details-page .pd-stt-review-well--stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.products-details-page .pd-stt-rating-desc--figma {
  width: 100%;
}
.products-details-page .pd-stt-rating-row--figma {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}
.products-details-page .pd-stt-rating-row--figma .pd-stt-progress {
  height: 6px;
  border-radius: 999px;
  background: #e8e4df;
  overflow: hidden;
  margin: 0;
}
.products-details-page .pd-stt-rating-row--figma .pd-stt-progress-bar {
  background: var(--pd-rev-star-bar, var(--primary-color, #3d0b17));
  border-radius: 999px;
}
.products-details-page .pd-stt-add-review-wrap--figma {
  margin-top: 1rem;
  padding-top: 0.25rem;
}
.products-details-page .pd-stt-add-prompt {
  margin: 0 0 0.75rem;
  font-size: 16px;
  line-height: 1.5;
  color: var(--pd-rev-muted, #333);
}
.products-details-page .pd-stt-add-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.7rem 1.5rem !important;
  border-radius: 999px !important;
  background: var(--pd-rev-btn-bg, var(--primary-color, #3d0b17)) !important;
  border-color: var(--pd-rev-btn-bg, var(--primary-color, #3d0b17)) !important;
  color: var(--pd-rev-btn-fg, var(--text-color-primary-bg, #fff)) !important;
  font-size: 16px;
  font-weight: 600;
  visibility: visible !important;
  opacity: 1 !important;
}
.products-details-page .pd-stt-add-btn.d-none {
  display: none !important;
}
/* Review cards Figma */
.products-details-page .pd-stt-review-card--figma {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e8e4df;
}
.products-details-page .pd-stt-review-card--figma .pd-stt-review-card__body {
  padding: 1.15rem 0;
}
.products-details-page .pd-stt-review-card__top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}
.products-details-page .pd-stt-review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8e4df;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.products-details-page .pd-stt-review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.products-details-page .pd-stt-review-card__initial {
  font-weight: 700;
  color: #c5a059;
  text-transform: uppercase;
}
.products-details-page .pd-stt-review-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}
.products-details-page .pd-stt-review-card__author {
  font-size: 0.9375rem;
  color: #1a1a1a;
}
.products-details-page .pd-stt-review-card__dot {
  color: #bbb;
}
.products-details-page .pd-stt-review-card__time {
  font-size: 0.75rem;
  color: #999;
  text-transform: uppercase;
}
.products-details-page
  .pd-stt-review-card--figma
  .pd-stt-review-card__description {
  margin: 0 0 0.65rem;
  text-align: start;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #333;
}
.products-details-page .pd-stt-review-card--figma .pd-stt-review-card__rate {
  margin: 0;
}

/* Related header arrows */
.products-details-page .pd-related-block__arrows {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.products-details-page .pd-related-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d8d4ce;
  background: #fff;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.products-details-page .pd-related-arrow:hover {
  border-color: #1a1a1a;
  background: #faf9f7;
}

/* Related products ? single-row slick carousel (never a tall vertical list) */
.products-details-page .pd-related-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.products-details-page #related-products.pd-related-slider {
  display: none;
  height: auto !important;
  max-width: 100%;
}
.products-details-page #related-products.pd-related-slider.slick-initialized {
  display: block;
}
.products-details-page #related-products.pd-related-slider .slick-list {
  overflow: hidden;
  margin: 0 -8px;
}
.products-details-page #related-products.pd-related-slider .slick-track {
  display: flex !important;
  align-items: stretch;
}
.products-details-page #related-products.pd-related-slider .slick-slide {
  height: auto;
  display: flex !important;
  float: none;
}
.products-details-page #related-products.pd-related-slider .slick-slide > div {
  width: 100%;
  display: flex;
  height: 100%;
}
.products-details-page #related-products.pd-related-slider .pd-related-slide,
.products-details-page #related-products.pd-related-slider .prod-col {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0 8px;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  height: auto;
  white-space: normal;
}
.products-details-page #related-products.pd-related-slider .product-item {
  width: 100%;
  max-width: 100%;
  flex: 1 1 auto;
  min-width: 0;
}

/* Keep related swiper arrows on mobile (same as desktop) */
@media (max-width: 767.98px) {
  .products-details-page .pd-related-block__head {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 10px;
  }

  .products-details-page .pd-related-block__titles {
    flex: 1 1 auto;
    min-width: 0;
  }

  .products-details-page .pd-related-block__arrows {
    display: inline-flex;
    flex-shrink: 0;
  }

  .products-details-page .pd-related-arrow {
    width: 36px;
    height: 36px;
  }

  /* Title: full width — actions live beside breadcrumb on mobile */
  .products-details-page .pd-title-row {
    display: block;
    text-align: center;
  }

  .products-details-page .pd-title-row .pd-product-title {
    width: 100%;
    text-align: center;
    font-size: 19px !important;
    font-weight: 600;
    line-height: 1.35;
  }

  .products-details-page .pd-meta-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    text-align: start;
    gap: 0.5rem 1rem;
  }

  .products-details-page .pd-meta-row .pd-meta-sku,
  .products-details-page .pd-meta-row .pd-weight-chip {
    justify-content: flex-start;
  }

  .products-details-page .col-product-info.pd-info-align-m-center .pd-meta-row {
    justify-content: center;
    text-align: center;
  }

  .products-details-page .col-product-info.pd-info-align-m-center .pd-meta-row .pd-meta-sku,
  .products-details-page .col-product-info.pd-info-align-m-center .pd-meta-row .pd-weight-chip {
    justify-content: center;
  }

  .products-details-page .reviews-list.pd-reviews-block__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .products-details-page .pd-reviews-block__comments-title {
    width: 100%;
    text-align: center;
  }

  .products-details-page .pd-reviews-block__list .comment-section,
  .products-details-page .pd-reviews-block__list .pd-reviews-empty {
    width: 100%;
  }

  .products-details-page .pd-reviews-block__list .pd-stt-review-card__top {
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .products-details-page .pd-reviews-block__list .pd-stt-review-card__meta {
    justify-content: center;
  }

  .products-details-page
    .pd-reviews-block__list
    .pd-stt-review-card--figma
    .pd-stt-review-card__description {
    text-align: center;
  }

  .products-details-page .pd-reviews-block__list .pd-stt-review-card__rate,
  .products-details-page .pd-reviews-block__list .review-images-container {
    justify-content: center;
  }

  .products-details-page .pd-reviews-empty__msg {
    margin-inline: auto;
    text-align: center;
  }
}

/* Weight chip under meta ? quieter like Figma text meta */
.products-details-page .pd-meta-row .pd-weight-chip {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 0.8125rem;
  color: #666;
}
.products-details-page .pd-meta-row .pd-meta-sku {
  font-size: 0.8125rem;
  color: #666;
  gap: 0.25rem;
}
.products-details-page .pd-meta-row .pd-meta-sku .product-title {
  font-size: inherit;
  font-weight: 500;
  margin: 0;
}

/* Figma 30:688 — info column vertical rhythm (desc-first / purchase zone) */
.products-details-page.products-details-page--info-desc_first .pd-info-figma-intro {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
  width: 100%;
}

.products-details-page.products-details-page--info-desc_first .pd-info-figma-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.products-details-page.products-details-page--info-desc_first .pd-info-figma-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  margin-top: 24px;
}

.products-details-page.products-details-page--info-desc_first .pd-info-figma-form > .border-product {
  display: none;
}

.products-details-page.products-details-page--info-desc_first .pd-info-figma-form .pd-pdp-options {
  margin: 0;
}

.products-details-page.products-details-page--info-desc_first .pd-title-row .pd-product-title {
  margin: 0;
  /* Same type scale as standard layout — order changes, not hierarchy */
  font-size: 29px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--pd-name, #292d32);
}

.products-details-page.products-details-page--info-desc_first .text-short-description {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--pd-short-desc, rgba(0, 0, 0, 0.5));
}
.products-details-page.products-details-page--info-desc_first .text-short-description :where(p, span, div, strong, em, b, i, a) {
  color: inherit;
  font-size: inherit;
}

.products-details-page.products-details-page--info-desc_first .pd-price-block {
  margin: 0;
}

.products-details-page.products-details-page--info-desc_first .pd-price-block__row .product-formatted-price {
  font-size: 24px;
  font-weight: 600;
  color: var(--pd-price, #4b2a31);
}

.products-details-page.products-details-page--info-desc_first .pd-price-block__row {
  align-items: center;
  gap: 8px;
}

.products-details-page.products-details-page--info-desc_first .pd-info-purchase-stack {
  margin: 0;
}

.products-details-page .pd-info-purchase-stack__divider.border-product,
.products-details-page .pd-info-purchase-stack .pd-purchase-divider {
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  height: 0;
  width: 100%;
}

/* Purchase block — Figma 30:727 + 30:736 / mobile 97:1828 */
.products-details-page .pd-purchase-block,
.products-details-page .pd-info-purchase-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  width: 100%;
}

.products-details-page .pd-purchase-block {
  margin: 0 0 12px;
}

.products-details-page .pd-info-purchase-stack {
  margin: 24px 0 0;
}

.products-details-page .pd-purchase-qty {
  width: 100%;
  margin: 0;
}

.products-details-page .pd-qty-stepper--figma {
  margin-bottom: 0;
}

.products-details-page .pd-qty-stepper--figma .pd-qty-stepper__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.products-details-page .pd-qty-stepper--figma .pd-qty-stepper__label {
  display: block;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--pd-qty-label-tx, #292d32);
  white-space: nowrap;
}

.products-details-page .pd-qty-stepper--figma .pd-qty-stepper__controls.quantity-input {
  display: inline-flex;
  align-items: center;
  border: none !important;
  background: transparent !important;
  gap: 4px;
  padding: 0 !important;
  width: auto;
  max-width: none;
}

.products-details-page .pd-qty-stepper--figma .btn-quantity,
.products-details-page .pd-qty-stepper--figma .pd-qty-display.product-quantity-input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0.6px solid var(--pd-qty-pill-bd, rgba(0, 0, 0, 0.3)) !important;
  border-radius: var(--pd-qty-pill-r, 48px) !important;
  color: var(--pd-qty-pill-tx, rgba(0, 0, 0, 0.9)) !important;
  background: var(--pd-qty-pill-bg, #fff) !important;
  box-shadow: none;
}

.products-details-page .pd-qty-stepper--figma .btn-quantity {
  width: 41px;
  min-width: 41px;
  height: auto;
  min-height: 36px;
  padding: 4px 0;
}

.products-details-page .pd-qty-stepper--figma .btn-quantity svg {
  display: none;
}

.products-details-page .pd-qty-stepper--figma .pd-qty-glyph {
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  pointer-events: none;
}

.products-details-page .pd-qty-stepper--figma .pd-qty-display.product-quantity-input {
  box-sizing: border-box;
  width: 41px;
  min-width: 41px;
  max-width: 41px;
  height: 41px;
  min-height: 41px;
  flex: 0 0 41px;
  padding: 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  text-align: center;
}

.products-details-page .pd-purchase-btns {
  width: 100%;
  margin: 0;
}

.products-details-page .pd-purchase-btns__row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 11px;
  width: 100%;
  flex-wrap: nowrap;
}

/* CTA layout setting — stack (تحت بعض) on all viewports */
.products-details-page--cta-stack .pd-purchase-btns__row {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.products-details-page--cta-stack .pd-purchase-btns__row > .btn-buy-now,
.products-details-page--cta-stack .pd-purchase-btns__row > .btn-add-to-cart {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.products-details-page .pd-purchase-btns__row > .btn-buy-now,
.products-details-page .pd-purchase-btns__row > .btn-add-to-cart {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc(50% - 6px);
  max-width: calc(50% - 6px);
  min-width: 140px;
  min-height: 54px;
  margin: 0 !important;
  padding: 12px 16px !important;
  border-radius: var(--pd-btn-r, 8px) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  overflow: visible !important;
  width: auto !important;
  gap: 4px;
}

.products-details-page .pd-purchase-btns__row > .btn-buy-now > .pd-buy-btn-label,
.products-details-page .pd-purchase-btns__row > .btn-add-to-cart > .pd-atc-btn-label {
  display: inline !important;
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
  overflow: visible;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}

.products-details-page .pd-purchase-btns__row .pd-pill-btn-ico,
.products-details-page .pd-purchase-btns__row .pd-atc-bag-ico,
.products-details-page .pd-purchase-btns__row .pd-buy-wallet-ico,
.products-details-page .pd-purchase-btns__row .add-to-cart-icon,
.products-details-page .pd-purchase-btns__row .buy-now-icon {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
  flex-shrink: 0 !important;
  color: inherit !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.products-details-page .pd-purchase-btns__row > .btn-add-to-cart .add-to-cart-progress,
.products-details-page .pd-purchase-btns__row > .btn-buy-now .buy-now-progress {
  position: absolute;
  width: 25px;
  height: 25px;
}

.products-details-page .pd-purchase-btns__row > .btn-add-to-cart,
.products-details-page .pd-purchase-btns__row > .btn-buy-now {
  position: relative;
}

.products-details-page .pd-purchase-btns__row > .btn-buy-now {
  order: 1;
}

.products-details-page .pd-purchase-btns__row > .btn-add-to-cart {
  order: 2;
}

.products-details-page .pd-btn-atc-outline {
  background: var(--pd-atc-bg, #1a1a1a) !important;
  border: 1px solid var(--pd-atc-bd, #1a1a1a) !important;
  color: var(--pd-atc-tx, #ffffff) !important;
}

.products-details-page .btn-buy-now.pd-buy-now-solid {
  background: var(--pd-bn-bg, #ffffff);
  border: 1px solid var(--pd-bn-border, #1a1a1a);
  color: var(--pd-bn-text, #1a1a1a);
}

.products-details-page .pd-purchase-wallet {
  width: 100%;
  margin: 0;
}

@media (max-width: 767.98px) {
  /* Default CTA = side by side; stack only when setting is «تحت بعض» */
  .products-details-page--cta-row .pd-purchase-btns__row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch !important;
    gap: 8px;
  }

  .products-details-page--cta-row .pd-purchase-btns__row > .btn-buy-now,
  .products-details-page--cta-row .pd-purchase-btns__row > .btn-add-to-cart {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .products-details-page--cta-stack .pd-purchase-btns__row {
    flex-direction: column;
    align-items: stretch !important;
    gap: 12px;
  }

  .products-details-page--cta-stack .pd-purchase-btns__row > .btn-buy-now,
  .products-details-page--cta-stack .pd-purchase-btns__row > .btn-add-to-cart {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    order: unset;
  }

  .products-details-page--cta-stack .pd-purchase-btns__row > .btn-buy-now {
    order: 1;
  }

  .products-details-page--cta-stack .pd-purchase-btns__row > .btn-add-to-cart {
    order: 2;
  }

  /* Figma 97:994 — mobile info: category, name, price, short description centered */
  .products-details-page .pd-first-category {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .products-details-page.products-details-page--info-desc_first .pd-info-figma-intro,
  .products-details-page.products-details-page--info-desc_first .pd-info-figma-head {
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  .products-details-page.products-details-page--info-desc_first .pd-info-figma-head {
    gap: 8px;
  }

  .products-details-page .pd-title-row .pd-product-title,
  .products-details-page.products-details-page--info-desc_first .pd-title-row .pd-product-title,
  .products-details-page .pd-info-figma-head .pd-product-title {
    font-size: 19px !important;
    line-height: 1.35;
    font-weight: 600;
    text-align: center;
  }

  .products-details-page .text-short-description,
  .products-details-page.products-details-page--info-desc_first .text-short-description,
  .products-details-page .pd-info-figma-head .text-short-description,
  .products-details-page .text-short-description :where(p, span, div, strong, em, b, i, a) {
    font-size: 16px !important;
    line-height: 1.5;
    color: var(--pd-short-desc, rgba(0, 0, 0, 0.5));
    text-align: center !important;
  }

  .products-details-page .pd-price-block,
  .products-details-page .pd-price-block__row {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .products-details-page .pd-sale-end-in:not(.pd-sale-end-in--on_gallery) {
    text-align: center;
  }

  .products-details-page .pd-sale-end-in:not(.pd-sale-end-in--on_gallery) .pd-sale-end-in__head.end-in {
    justify-content: center;
  }

  .products-details-page .pd-sale-end-in:not(.pd-sale-end-in--on_gallery) .tp-countdown__units--stacked,
  .products-details-page .pd-sale-end-in:not(.pd-sale-end-in--on_gallery) ul.tp-countdown__units {
    justify-content: center !important;
  }

  .products-details-page.products-details-page--info-desc_first .pd-price-block__row .product-formatted-price {
    font-size: 20px;
    font-weight: 600;
  }

  .products-details-page .pd-info-purchase-stack {
    gap: 16px;
    align-items: stretch;
    width: 100%;
  }

  .products-details-page .col-product-info.pd-info-align-m-center .pd-info-purchase-stack {
    text-align: right;
  }

  .products-details-page .col-product-info.pd-info-align-m-center .pd-info-purchase-stack .pd-qty-stepper,
  .products-details-page .col-product-info.pd-info-align-m-center .pd-info-purchase-stack .pd-qty-stepper__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
  }

  .products-details-page .col-product-info.pd-info-align-m-center .pd-info-purchase-stack .product-buttons > .d-flex.align-center {
    justify-content: stretch;
    width: 100%;
  }

  .products-details-page .pd-qty-stepper--figma .pd-qty-stepper__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .products-details-page .pd-qty-stepper--figma .pd-qty-stepper__controls.quantity-input {
    flex: 0 0 auto;
    flex-shrink: 0;
    width: auto;
    max-width: none;
  }

  .products-details-page .pd-qty-stepper--figma .btn-quantity {
    width: 34px;
    min-width: 34px;
    min-height: 32px;
    padding: 2px 0;
    flex: 0 0 auto;
  }

  .products-details-page .pd-qty-stepper--figma .pd-qty-display.product-quantity-input {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    flex: 0 0 34px !important;
    padding: 0 !important;
    font-size: 16px;
  }

  .products-details-page .pd-qty-stepper--figma .pd-qty-glyph {
    font-size: 16px;
  }

  .products-details-page .pd-qty-stepper--figma .pd-qty-stepper__label {
    font-size: 16px;
    font-weight: 500;
  }
}

/* Description section — Figma 36:841 (full width, centered) */
/* Tail padding under the product block. Whatever comes next (description,
   reviews, related) already pads its own top, so keep this small. */
.products-details-page .pd-product-block {
  padding-bottom: 1.5rem;
}

@media (max-width: 767.98px) {
  .products-details-page .pd-product-block {
    padding-bottom: 0;
  }
}

.products-details-page .pd-description-section {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(12px, 3vw, 32px);
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

/* Figma 109:1698 — colored rounded frame; content inset so bg shows around images */
.products-details-page .pd-description-section__frame {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  box-sizing: border-box;
  background-color: var(--pd-desc-bg, transparent);
  border-radius: var(--pd-desc-radius, 0);
  overflow: hidden;
  padding: clamp(1.25rem, 3.5vw, 3rem) clamp(12px, 3vw, 40px);
}

.products-details-page .pd-description-section:not(.pd-description-section--has-bg) .pd-description-section__frame {
  padding-inline: 0;
  padding-block: 0;
  overflow: visible;
}

.products-details-page .pd-description-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  width: 100%;
  max-width: 1118px;
  margin: 0 auto;
}

.products-details-page .pd-description-section__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  width: 100%;
}

.products-details-page .pd-description-section__title {
  margin: 0;
  font-family: "Thmanyah Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
  font-feature-settings: "salt" 1;
  line-height: normal;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  color: #000;
}

.products-details-page .pd-description-section__dash {
  display: block;
  flex: 0 0 33px;
  width: 33px;
  height: 4px;
  border-radius: 21px;
  background: #000;
}

.products-details-page .pd-description-section__body {
  width: 100%;
  max-width: 1118px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  font-size: 12px;
  line-height: 2;
  color: var(--pd-desc-body, #000);
  background: transparent;
  box-sizing: border-box;
}

.products-details-page .pd-description-section__body :where(p, li, span, div, h1, h2, h3, h4, h5, h6, strong, em, b, i) {
  text-align: center !important;
  max-width: 100% !important;
}

.products-details-page .pd-description-section__body :where(p, li, span, div, h1, h2, h3, h4, h5, h6, strong, em, b, i) {
  color: inherit;
}

.products-details-page .pd-description-section__body p {
  margin: 0 0 0;
}

.products-details-page .pd-description-section__body p + p {
  margin-top: 0.75em;
}

/* Images inset inside the frame (Figma ~1118 inside ~1280) — bg shows as side band */
.products-details-page .pd-description-section__body img,
.products-details-page .pd-description-section__body video,
.products-details-page .pd-description-section__body iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border: 0;
}

.products-details-page .pd-description-section__body figure {
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.products-details-page .pd-description-section__body table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

.products-details-page .pd-description-section__body > *:first-child {
  margin-top: 0;
}

.products-details-page .pd-description-section__body > *:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .products-details-page .pd-description-section__body {
    font-size: 14px;
  }
}

@media (min-width: 992px) {
  .products-details-page .pd-description-section__body {
    font-size: 20px;
    line-height: 1.6;
  }
}

.products-details-page .pd-desc-first-divider {
  margin-top: 16px;
  margin-bottom: 4px;
}

.products-details-page .pd-desc-first-after-ctas {
  margin-top: 14px;
}

.products-details-page.products-details-page--info-desc_first .pd-desc-first-after-ctas + .pd-meta-row,
.products-details-page.products-details-page--info-desc_first .pd-meta-row:last-child {
  margin-top: 12px;
}

/* PDP navigation trail — full-width bar under the categories strip */
.products-details-page > .pd-info-toolbar--bc-bar,
.products-details-page .pd-info-toolbar--bc-bar {
  margin: 0;
  margin-inline: 0;
  width: 100%;
  max-width: none;
  padding: 20px 16px 21px;
  background: #9896ff;
  box-sizing: border-box;
}

.products-details-page .pd-info-toolbar--bc-bar .pd-breadcrumb {
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
}

@media (max-width: 767.98px) {
  .products-details-page .pd-info-toolbar--bc-bar .pd-breadcrumb {
    font-size: 16px;
  }
}

/* Inside main-container (inline mode) — bleed to viewport edges when bar class leaked */
.products-details-page .main-container .pd-info-toolbar--bc-bar {
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

.products-details-page .pd-info-toolbar--bc-align-center .pd-breadcrumb,
.products-details-page .pd-breadcrumb--align-center {
  justify-content: center;
}

.products-details-page .pd-info-toolbar--bc-align-start .pd-breadcrumb,
.products-details-page .pd-breadcrumb--align-start {
  justify-content: flex-start;
}

.products-details-page .pd-info-toolbar--bc-bar .pd-breadcrumb a,
.products-details-page .pd-info-toolbar--bc-bar .pd-breadcrumb a:hover {
  color: #ffffff;
}

.products-details-page .pd-info-toolbar--bc-bar .pd-breadcrumb__item--current {
  color: #ffffff;
  font-weight: 500;
}

.products-details-page .pd-info-toolbar--bc-bar .pd-breadcrumb__sep {
  color: #ffffff;
  opacity: 1;
}

/* Description-first info column — divider + post-CTA widgets */

/* ── Product feature videos (before reviews) ── */
.pd-fv__head {
  margin: 0 0 1.25rem;
  text-align: center;
}
.pd-fv__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.pd-fv__slider-wrap {
  position: relative;
}
.pd-fv__swiper-view {
  position: relative;
}
/* When slides don't fill the row, Swiper centers them (centerInsufficientSlides) */
.pd-fv--centered .pd-fv__arrows,
.pd-fv--centered .pd-fv__scrollbar-outer {
  display: none;
}
.pd-fv__swiper:not(.swiper-initialized) {
  opacity: 0;
}
.pd-fv__swiper.swiper-initialized {
  opacity: 1;
  transition: opacity 0.25s ease;
}
.pd-fv__slide {
  height: auto;
}
.pd-fv__tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
.pd-fv__tile--caption {
  overflow: hidden;
  border-radius: 12px;
  background: var(--pd-fv-caption-bg, transparent);
}
.pd-fv__tile--caption .pd-fv__frame {
  border-radius: 12px 12px 0 0;
}
.pd-fv__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.pd-fv__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #0a0a0a;
}
.pd-fv__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.28));
}
.pd-fv__play-ico {
  width: 28px;
  height: 28px;
  display: block;
}
@media (hover: hover) and (pointer: fine) {
  .pd-fv__frame:hover .pd-fv__play,
  .pd-fv__frame:focus-within .pd-fv__play {
    opacity: 1;
    pointer-events: auto;
  }
  .pd-fv__play:hover,
  .pd-fv__play:focus-visible {
    opacity: 1;
    background: rgba(255, 255, 255, 0.32);
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 2px;
  }
  .pd-fv__play:active {
    transform: translate(-50%, -50%) scale(0.94);
  }
}
@media (hover: none), (pointer: coarse) {
  .pd-fv__play {
    display: none !important;
  }
}
.pd-fv__caption {
  margin: 0;
  padding: 14px 10px;
  min-height: 52px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--pd-fv-caption-fg, inherit);
  background: var(--pd-fv-caption-bg, transparent);
  overflow: hidden;
  white-space: normal;
}
@media (max-width: 767.98px) {
  .pd-fv__caption {
    min-height: 48px;
    padding: 12px 8px;
    font-size: 14px;
  }
}
.pd-fv__arrows {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}
.pd-fv__prev,
.pd-fv__next {
  pointer-events: auto;
}
.pd-fv__scrollbar-outer {
  margin-top: 0.85rem;
  padding: 0 0.25rem;
}
.pd-fv__scrollbar {
  position: relative;
  max-width: 220px;
  min-width: 160px;
  margin: 0 auto 0.15rem;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.09) 100%);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}
.pd-fv__scrollbar .swiper-scrollbar-drag {
  background: var(--primary-color, #3d0b17);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  cursor: grab;
}
@media (prefers-reduced-motion: reduce) {
  .pd-fv__play {
    transition: none;
  }
}

/* —— Section dividers (opt-in: show_section_dividers) —— */
.products-details-page .pd-section-divider {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  height: 0;
  width: 100%;
}

.products-details-page.products-details-page--section-dividers .pd-section-divider {
  display: block;
  margin-top: 20px;
  margin-bottom: 20px;
}

.products-details-page.products-details-page--section-dividers
  .pd-pdp-options
  #product-variants-options
  .form-group {
  margin-bottom: 0;
  padding-bottom: 20px;
  margin-top: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.products-details-page.products-details-page--section-dividers
  .pd-pdp-options
  #product-variants-options
  .form-group:first-child {
  margin-top: 0;
}

.products-details-page.products-details-page--section-dividers
  .pd-pdp-options
  #product-variants-options
  .form-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.products-details-page.products-details-page--section-dividers .pd-info-purchase-stack {
  gap: 0;
}

.products-details-page.products-details-page--section-dividers .pd-info-purchase-stack > .pd-section-divider {
  margin-top: 20px;
  margin-bottom: 20px;
}

.products-details-page.products-details-page--section-dividers .pd-info-accordions {
  margin-top: 1.5rem;
  border-top: none;
}

/* —— Sharp option chips (layout_style = chips_sharp) —— */
.products-details-page
  .pd-pdp-options[data-pd-options-ui="chips_sharp"]
  #product-variants-options
  ul {
  gap: 8px;
}

.products-details-page
  .pd-pdp-options[data-pd-options-ui="chips_sharp"]
  #product-variants-options
  ul
  li {
  border-radius: 0;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  min-width: 0;
  min-height: 0;
}

.products-details-page
  .pd-pdp-options[data-pd-options-ui="chips_sharp"]
  #product-variants-options
  ul
  li:hover {
  border-color: #000;
}

.products-details-page
  .pd-pdp-options[data-pd-options-ui="chips_sharp"]
  #product-variants-options
  ul
  li.active {
  border-color: #9896ff;
  background: #9896ff;
  color: #fff;
}

.products-details-page
  .pd-pdp-options[data-pd-options-ui="chips_sharp"]
  #product-variants-options
  ul
  li
  a,
.products-details-page
  .pd-pdp-options[data-pd-options-ui="chips_sharp"]
  #product-variants-options
  ul
  li
  span {
  min-height: 40px;
  min-width: 40px;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  border-radius: 0;
}

.products-details-page
  .pd-pdp-options[data-pd-options-ui="chips_sharp"]
  #product-variants-options
  label {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ========== Figma PDP refactor (41:4329 / 41:5029) ========== */

.products-details-page .pd-first-category,
.products-details-page .pd-first-category__label {
  color: var(--pd-cat, #9896ff);
}

.products-details-page .pd-cta-row--stack {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px;
  width: 100%;
}
.products-details-page .pd-purchase-btns__row.pd-cta-row--stack > .btn-buy-now,
.products-details-page .pd-purchase-btns__row.pd-cta-row--stack > .btn-add-to-cart,
.products-details-page--cta-stack .pd-purchase-btns__row > .btn-buy-now,
.products-details-page--cta-stack .pd-purchase-btns__row > .btn-add-to-cart {
  flex: 1 1 auto !important;
  align-self: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.products-details-page .product-buttons .pd-btn-atc-figma {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 57px;
  padding: 12px 32px;
  border-radius: 12px;
  border: 0 !important;
  background: var(--pd-atc-bg, #9896ff) !important;
  color: var(--pd-atc-tx, #fff) !important;
  font-size: 16px;
  font-weight: 400;
}
.products-details-page .product-buttons .pd-btn-atc-figma .pd-atc-btn-price {
  font-size: 20px;
  white-space: nowrap;
}
.products-details-page .product-buttons .pd-btn-pill-bn {
  min-height: 54px;
  border-radius: 12px;
  border: 0 !important;
  background: var(--pd-bn-bg, #eaeaea) !important;
  color: var(--pd-bn-text, #292d32) !important;
}

.products-details-page .pd-qty-stepper--figma .btn-quantity,
.products-details-page .pd-qty-stepper--figma .pd-qty-display.product-quantity-input {
  box-sizing: border-box;
  border-radius: 36px !important;
  border: 0.6px solid rgba(0, 0, 0, 0.3);
  background: var(--pd-qty-pill-bg, transparent);
  color: var(--pd-qty-pill-tx, rgba(0, 0, 0, 0.9));
  width: 41px !important;
  min-width: 41px !important;
  max-width: 41px !important;
  height: 41px !important;
  min-height: 41px !important;
  padding: 0 !important;
  flex: 0 0 41px;
}

/* Size guide detached from chips row */
.products-details-page .pd-pdp-options .product-option,
.products-details-page .pd-pdp-options .option-wrapper,
.products-details-page #product-variants-options > div {
  position: relative;
}
.products-details-page .pd-pdp-options a[href*="size"],
.products-details-page .pd-pdp-options a[href*="guide"],
.products-details-page .pd-pdp-options .size-guide,
.products-details-page .pd-pdp-options .size-chart-link,
.products-details-page .pd-pdp-options [class*="size-guide"],
.products-details-page .pd-pdp-options [class*="size_guide"] {
  border-bottom: 1px solid #292d32;
  text-decoration: none;
  color: #292d32;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 35px;
  margin-inline-start: auto;
}

.products-details-page .pd-sale-end-in {
  --pd-sale-cd-bg: #ff7272;
  --pd-sale-cd-tx: #fff;
  --pd-sale-cd-label: #000;
}
.products-details-page .pd-sale-end-in__head {
  color: var(--pd-sale-cd-label, #000);
}
.products-details-page .pd-sale-end-in .end-time-item,
.products-details-page .pd-sale-end-in .pd-sale-end-in__cell,
.products-details-page .pd-sale-end-in [class*="countdown"] > div {
  background: var(--pd-sale-cd-bg, #ff7272) !important;
  color: var(--pd-sale-cd-tx, #fff) !important;
  border-radius: 8px;
}

/* Reviews Figma */
.products-details-page .pd-reviews-block--figma {
  padding-top: 48px;
  padding-bottom: 48px;
}
.products-details-page .pd-reviews-block__head--bars {
  margin-bottom: 48px;
}
.products-details-page .pd-reviews-block__title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.products-details-page .pd-reviews-block__bar {
  display: block;
  width: 33px;
  height: 4px;
  border-radius: 21px;
  background: #000;
}
.products-details-page .pd-reviews-block--figma .pd-reviews-block__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #000;
}
.products-details-page .pd-stt-review-well--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px 64px;
  width: 100%;
}
.products-details-page .pd-stt-review-well--row .pd-stt-add-review-wrap {
  flex: 0 0 280px;
  max-width: 100%;
}
.products-details-page .pd-stt-review-well--row .pd-stt-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  border-radius: 12px;
  border: 0 !important;
  background: var(--pd-rev-btn-bg, #9896ff) !important;
  color: var(--pd-rev-btn-fg, #fff) !important;
  font-size: 16px;
  font-weight: 500;
}
.products-details-page .pd-stt-review-well--row .pd-stt-rating-desc {
  flex: 1 1 280px;
  max-width: 480px;
}
.products-details-page .pd-stt-review-well--row .pd-stt-score-block {
  flex: 0 0 240px;
}
.products-details-page .pd-stt-review-well--row .pd-stt-rating-num {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: #292d32;
}
.products-details-page .pd-stt-progress-bar {
  background: var(--pd-rev-star-bar, #9896ff) !important;
}
.products-details-page .pd-reviews-block__divider {
  height: 1px;
  width: 100%;
  background: rgba(0, 0, 0, 0.1);
  margin: 32px 0 24px;
}
.products-details-page .pd-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 992px) {
  .products-details-page .pd-reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.products-details-page .pd-reviews-grid .pd-stt-review-card--figma {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  background: #fff;
  padding: 0;
}
.products-details-page .pd-reviews-grid .pd-stt-review-card--figma .pd-stt-review-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.products-details-page .pd-reviews-grid .pd-stt-review-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}
.products-details-page .pd-reviews-grid .pd-stt-review-card__who {
  display: flex;
  align-items: center;
  gap: 8px;
}
.products-details-page .pd-reviews-grid .pd-stt-review-card__avatar {
  background: #f0efff;
}
.products-details-page .pd-reviews-grid .pd-stt-review-card__initial {
  color: #9896ff;
  font-weight: 700;
}
.products-details-page .pd-reviews-grid .pd-stt-review-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.products-details-page .pd-reviews-grid .pd-stt-review-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #9896ff;
}
.products-details-page .pd-reviews-grid .pd-stt-review-card__verified-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9896ff;
}
.products-details-page .pd-reviews-grid .pd-stt-review-card__time {
  color: #909090;
  text-transform: none;
  font-size: 12px;
}
.products-details-page .pd-reviews-grid .pd-stt-review-card__description {
  margin: 0;
  color: #494d5e;
  font-size: 14px;
  line-height: 1.7;
  text-align: start;
}
.products-details-page .pd-reviews-block__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.products-details-page .pd-reviews-more-btn {
  min-width: 220px;
  height: 54px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1.5px solid #9896ff;
  background: transparent;
  color: #9896ff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.products-details-page .pd-reviews-more-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}
.products-details-page .pd-reviews-more-btn.is-hidden {
  display: none;
}

@media (max-width: 991.98px) {
  .products-details-page .pd-stt-review-well--row {
    flex-direction: column;
    gap: 28px;
  }
  .products-details-page .pd-stt-review-well--row .pd-stt-score-block {
    order: -1;
  }
  .products-details-page .pd-stt-review-well--row .pd-stt-rating-num {
    font-size: 48px;
  }
}

/* Card overlay pins the units to the bottom of the nearest positioned
   ancestor. On the PDP info column they belong inside .pd-sale-end-in,
   under the heading. Gallery placement keeps its own overlay rules. */
.products-details-page .pd-sale-end-in:not(.pd-sale-end-in--on_gallery) {
  position: relative;
}

.products-details-page .pd-sale-end-in:not(.pd-sale-end-in--on_gallery) .tp-countdown.pc-sale-countdown--overlay {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  z-index: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: auto;
}

.products-details-page .pd-sale-end-in:not(.pd-sale-end-in--on_gallery) .tp-countdown__units--stacked,
.products-details-page .pd-sale-end-in:not(.pd-sale-end-in--on_gallery) ul.tp-countdown__units {
  width: 100%;
  max-width: 100%;
  justify-content: flex-end;
  gap: 8px;
}

.products-details-page .pd-sale-end-in:not(.pd-sale-end-in--on_gallery) .tp-countdown__unit {
  flex: 0 0 58px;
  width: 58px !important;
  min-width: 58px;
  max-width: 58px;
  height: 58px !important;
  min-height: 58px;
  max-height: 58px;
}

.products-details-page .pd-sale-end-in .tp-countdown__unit {
  background: var(--pd-sale-cd-bg, #ff7272) !important;
  color: var(--pd-sale-cd-tx, #fff) !important;
  border-radius: 8px;
  min-width: 58px;
  min-height: 58px;
}
.products-details-page .pd-sale-end-in .tp-countdown__val,
.products-details-page .pd-sale-end-in .tp-countdown__lbl {
  color: var(--pd-sale-cd-tx, #fff) !important;
}
.products-details-page .pd-sale-end-in__head.end-in {
  color: var(--pd-sale-cd-label, #000) !important;
  font-size: 16px !important;
}
