/* PDP only: hide WhatsApp on mobile/tablet; desktop keeps it. */
@media screen and (max-width: 992px) {
  .floating-side-actions__chat {
    display: none;
  }
}

/* Desktop (lg+): gallery sticks top; CTA bar sticks bottom of viewport until end of right column. */
@media (min-width: 992px) {
  .product-details > .container > .row {
    align-items: stretch;
  }
  .product-details .product-detail-img-wrapper {
    align-self: stretch;
  }
  .product-details .product-detail-img-sticky {
    position: sticky;
    /* Clear fixed navbar (#navbar.fixed-top in new_base) */
    top: 5.75rem;
    /* No z-index here — keeps slick arrows above body-appended .zoomContainer (see styles.css) */
  }

  .product-details .product-detail-attributes-wrapper {
    position: relative;
  }

  
.maylike-products {
  margin-top: 80px;
}

  .related-collections-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
  }

  .product-details .product-detail-cta-sticky {
    position: sticky;
    bottom: 0;
    z-index: 12;
    background-color: #fff;
    padding-top: 0px;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
    margin-top: 8px;

  }

  /* Undo global .mob-floating-btns sticky (max-width:991 rules) on desktop */
  .product-details .product-detail-cta-sticky .mob-floating-btns {
    position: static;
    bottom: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 0;
    box-shadow: none;
  }

  .product-details .product-detail-cta-sticky .mob-floating-btns .p-btn.add-to-cart-btn,
  .product-details .product-detail-cta-sticky .mob-floating-btns .rent-now-btn {
    width: 100% !important;
    min-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    order: unset !important;
    height: auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Grid overrides Bootstrap .d-flex { display:flex !important }; avoids stretched flex-line cross size */
  .product-details .product-detail-attributes-wrapper .product-detail-cta-sticky .product-action-button .d-flex {
    display: grid !important;
    grid-template-columns: 1fr auto;
    column-gap: 12px;
    row-gap: 12px;
    align-items: stretch !important;
  }

  .product-details .product-detail-attributes-wrapper .product-detail-cta-sticky .product-action-button .d-flex > input[type="hidden"] {
    grid-column: 1 / -1;
    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .product-details .product-detail-attributes-wrapper .product-detail-cta-sticky .product-action-button .qty-input-group {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  /* Isolated row: row height = ADD TO CART; wishlist stretch + aspect-ratio → square side = that height */
  .product-details .product-detail-attributes-wrapper .product-detail-cta-sticky .product-action-button .product-detail-cta-cart-row {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 12px;
    align-items: stretch;
    grid-column: 1 / -1;
    min-width: 0;
  }

  .product-details .product-detail-attributes-wrapper .product-detail-cta-sticky .product-action-button .product-detail-cta-cart-row .p-btn.add-to-cart-btn {
    grid-column: 1;
    width: auto;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 0;
    margin-top: 0 !important;
    margin-left: 0 !important;
    order: unset !important;
    padding: 14px 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    /* Soft lift from duration row above (same orange when “1” is selected) */
    box-shadow: 0 -5px 14px rgba(9, 28, 66, 0.14);
  }

  /* Not logged in: no wishlist sibling — span full row so width matches RENT NOW below */
  .product-details .product-detail-attributes-wrapper .product-detail-cta-sticky .product-action-button .product-detail-cta-cart-row .p-btn.add-to-cart-btn:only-child {
    grid-column: 1 / -1;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100%;
  }

  .product-details .product-detail-attributes-wrapper .product-detail-cta-sticky .product-action-button .product-detail-cta-cart-row .favorite-btn {
    grid-column: 2;
    margin-left: 0 !important;
    box-sizing: border-box;
    align-self: stretch;
    justify-self: end;
    aspect-ratio: 1;
    width: auto;
    min-width: 0;
    height: auto;
    max-width: none;
    max-height: none;
    overflow: hidden;
  }

  .product-details .product-detail-attributes-wrapper .product-detail-cta-sticky .product-action-button .product-detail-cta-cart-row .favorite-btn span {
    height: 100%;
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;
  }

  .product-details .product-detail-cta-sticky .product-detail-cta-offer {
    margin-bottom: 0 !important;
    margin-top: 10px !important;
    text-align: center;
  }
}

/* Mobile / tablet: desktop ADD TO CART is hidden; wishlist above .mob-floating-btns — left-align with form fields */
@media (max-width: 991.98px) {
  .product-details .product-detail-attributes-wrapper .product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    max-width: 100%;
  }

  .product-details .product-detail-attributes-wrapper .product-title-row .product-title {
    flex: 1 1 auto;
    min-width: 0;
  }

  .product-details .product-detail-attributes-wrapper .favorite-btn--title {
    flex: 0 0 auto;
    margin-top: 2px;
    position: relative;
    height: 36px;
    width: 36px;
    min-width: 36px;
  }

  .product-details .product-detail-attributes-wrapper .favorite-btn--title span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    border: 1px solid #ffbe4a;
    box-sizing: border-box;
  }

  .product-details .product-detail-attributes-wrapper .favorite-btn--title span .ic-favorite {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url(../../newdesign/images/ic_favorite.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
  }

  .product-details .product-detail-attributes-wrapper .favorite-btn--title input[type="checkbox"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    pointer-events: none;
  }

  .product-details .product-detail-attributes-wrapper .favorite-btn--title input[type="checkbox"]:checked ~ span .ic-favorite {
    background-image: url(../../newdesign/images/ic_favorite-filled.svg);
  }

  /* On mobile, keep wishlist only near title (not beside CTA). */
  .product-details
    .product-detail-attributes-wrapper
    .product-detail-cta-sticky
    .product-detail-cta-cart-row
    .favorite-btn--cta {
    display: none !important;
  }

  .product-details
    .product-detail-attributes-wrapper
    .product-detail-cta-sticky
    .product-action-button
    .d-flex {
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  .maylike-products {
    margin-top: 40px;
  }

  .related-collections-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
  }
  

  .filter-menu {
      padding-top: 0;
      padding-bottom: 0;
  }
   

  .product-details
    .product-detail-attributes-wrapper
    .product-detail-cta-sticky
    .product-detail-cta-cart-row {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .product-details
    .product-detail-attributes-wrapper
    .product-detail-cta-sticky
    .product-detail-cta-cart-row
    .favorite-btn {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 12px !important;
  }
}

/* Style for disabled/blocked dates in calendar */
.blocked-date {
  border: 2px solid red !important;
  background-color: #fff5f5 !important;
}
.blocked-date a {
  color: #cc0000 !important;
  font-weight: bold;
}
.filter-menu .fl-select-piece {
  margin-top: 30px;
}
.filter-menu .fl-select-piece ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filter-menu .fl-select-piece ul li {
  margin-bottom: 0px;
}
.filter-menu .fl-select-piece ul li .cat-item {
  position: relative;
  width: 100%;
  height: 50px;
  border: 1px solid #091c42;
  padding: 10px 15px 10px 50px;
  align-items: center;
  justify-content: space-between;
}
.filter-menu .fl-select-piece ul li .cat-item span:not(.cat-item-radio) {
  font-weight: 600;
  color: #ffbe4a;
}
.filter-menu .fl-select-piece ul li .cat-item .cat-item-radio {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #091c42;
}
.filter-menu .fl-select-piece ul li input[type=radio], .filter-menu .fl-select-piece ul li input[type=checkbox] {
  z-index: 1;
}
.filter-menu .fl-select-piece ul li input[type=radio]:checked ~ .cat-item .cat-item-radio::after, .filter-menu .fl-select-piece ul li input[type=checkbox]:checked ~ .cat-item .cat-item-radio::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #091c42;
}

/* ezPlus inner zoom: same frame as image; arrows above zoom layer */
.product-details .product-detail-img-slider .slider-blk {
  position: relative;
  overflow: hidden;
}

/* Reserve gallery layout before Slick init — stops stacked slides causing CLS */
.product-details .product-detail-img-slider:not(.slick-initialized) {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  min-height: 496px;
}

.product-details .product-detail-img-slider:not(.slick-initialized) > .slider-blk {
  flex: 0 0 50%;
  max-width: 50%;
  height: 480px;
  padding: 8px;
  box-sizing: border-box;
}

.product-details .product-detail-img-slider:not(.slick-initialized) > .slider-blk:nth-child(n + 3) {
  display: none;
}

.product-details .product-detail-img-slider:not(.slick-initialized) > .slider-blk img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .product-details .product-detail-img-slider:not(.slick-initialized) > .slider-blk {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .product-details .product-detail-img-slider:not(.slick-initialized) > .slider-blk:nth-child(n + 2) {
    display: none;
  }
}

.product-details .product-detail-img-slider .product-gallery-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-details .product-detail-img-slider .product-gallery-viewport .zoomContainer {
  z-index: 10 !important;
}

.product-details .product-detail-img-slider .product-gallery-viewport .zoomWindowContainer {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
}

.product-details .product-detail-img-slider .product-gallery-viewport .zoomWindow {
  top: 0 !important;
  left: 0 !important;
}

.product-details .product-detail-img-slider .slick-prev,
.product-details .product-detail-img-slider .slick-next {
  z-index: 30;
}

/* Busy sizes (disabled due to current/future bookings): fade + no hover */
.filter-menu .fl-size ul li.size-option--busy {
  opacity: 0.45;
}
.filter-menu .fl-size ul li.size-option--busy .cat-item,
.filter-menu .fl-size ul li.size-option--busy small {
  cursor: not-allowed;
}
/* Prevent hover / click feel on busy size */
.filter-menu .fl-size ul li.size-option--busy input[type="radio"] {
  pointer-events: none;
}
.filter-menu .fl-size ul li.size-option--busy .cat-item {
  pointer-events: none;
}


.product-details .product-detail-attributes-wrapper .product-action-button{
  margin-top: 0px;
}

.product-details-hero.inner-page-hero-secction{
  padding: 15px 0;
}

/* Related collections: match product tabs / description width; arrows inside strip */
.product-details .maylike-products .buy-new-prod.collections-section,
.product-details .pdp-related-collections.buy-new-prod {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

/* PDP related collections: left-align when few items; carousel gutters only when needed */
.product-details .pdp-related-collections__slider:not(.slick-initialized) {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.product-details .pdp-related-collections--static .pdp-related-collections__slider,
.product-details .pdp-related-collections__slider:not(.slick-initialized) {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.product-details .pdp-related-collections--static .slider-blk,
.product-details .pdp-related-collections__slider:not(.slick-initialized) .slider-blk {
  flex: 0 0 calc(100% / var(--pdp-slides-visible, 4));
  max-width: calc(100% / var(--pdp-slides-visible, 4));
  box-sizing: border-box;
}

/* If legacy global Slick ran, keep static row left-aligned */
.product-details .pdp-related-collections--static .slick-list,
.product-details .pdp-related-collections--static .slick-track {
  display: flex !important;
  width: 100% !important;
  transform: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.product-details .pdp-related-collections--static .slick-slide {
  width: calc(100% / var(--pdp-slides-visible, 4)) !important;
  max-width: calc(100% / var(--pdp-slides-visible, 4)) !important;
  float: none !important;
  height: auto !important;
}

.product-details .pdp-related-collections--static .slick-arrow {
  display: none !important;
}

.product-details .pdp-related-collection-card {
  display: block;
  text-decoration: none;
  color: inherit;
  max-width: 100%;
  min-width: 0;
}

.product-details .pdp-related-collections .slider-blk {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.product-details .pdp-related-collections .slick-slide {
  height: auto;
}

.product-details .pdp-related-collections .slick-slide > div {
  width: 100%;
  max-width: 100%;
}

.product-details .pdp-related-collection-card .slider-blk-content {
  max-width: 100%;
  min-width: 0;
  text-align: center;
}

/* Override global h3 (3.2rem) — match former slider h4 card title */
.product-details .pdp-related-collections .pdp-related-collection-card__title,
.product-details .pdp-related-collections .slider-blk h3,
.product-details .pdp-related-collection-card h3 {
  margin: 15px 0 5px;
  padding: 0;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1a1b29;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  hyphens: auto;
}

.product-details .pdp-related-collections .buy-slider-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 8px;
}

.product-details .pdp-related-collections .buy-slider-price .offer-price {
  font-size: 1.8rem;
  font-weight: 600;
  margin-right: 0;
}

.product-details .pdp-related-collections .buy-slider-price .real-price {
  opacity: 0.6;
  font-size: 1.4rem;
  text-decoration: line-through;
}

.product-details .pdp-related-collections .buy-slider-price .mrp-font {
  opacity: 0.6;
  font-size: 1.4rem;
}

.product-details .pdp-related-collection-card__title,
.product-details .pdp-related-collection-card h4,
.product-details .pdp-related-collections .slider-blk h4 {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.35;
  max-width: 100%;
  hyphens: auto;
}

.product-details .pdp-related-collections--carousel-pending:not(.pdp-related-collections--ready) .pdp-related-collections__slider {
  visibility: hidden;
  min-height: 300px;
}

.product-details .pdp-related-collections--carousel-pending.pdp-related-collections--ready .pdp-related-collections__slider {
  visibility: visible;
  min-height: 0;
}

.product-details .pdp-related-collections--carousel .pdp-related-collections__slider.slick-slider .slick-list {
  margin-left: 52px;
  margin-right: 52px;
}

.product-details .pdp-related-collections--carousel .slick-prev,
.product-details .pdp-related-collections--carousel .slick-prev:hover {
  left: 4px !important;
}

.product-details .pdp-related-collections--carousel .slick-next,
.product-details .pdp-related-collections--carousel .slick-next:hover {
  right: 4px !important;
}

@media (max-width: 575.98px) {
  .product-details .pdp-related-collections--carousel .pdp-related-collections__slider.slick-slider .slick-list {
    margin-left: 40px;
    margin-right: 40px;
  }
}

/* Size/duration chips: label.cat-item keeps a11y without breaking chip CSS */
.product-details .filter-menu ul li label.cat-item {
  margin-bottom: 0;
  font-weight: inherit;
  cursor: pointer;
}

.product-details .filter-menu .fl-durations label.cat-item {
  display: inline-flex;
  margin-bottom: 0;
  font-weight: inherit;
}

.product-details .pdp-size-chart-btn {
  color: inherit;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.product-details .pdp-branch-unavailable {
  padding: 1rem 0 1.5rem;
}

.product-details .pdp-branch-unavailable__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.3;
}

.product-details .pdp-branch-unavailable__hint {
  font-size: 1.125rem;
  color: #3d3d4f;
  margin: 0;
  line-height: 1.4;
}
