.paylix-product-screen {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  min-height: 200px;
  position: relative;
}

@media (max-width: 768px) {
  .paylix-product-screen {
    margin: 1rem auto !important;
  }
}

.paylix-product-screen.excavator-exit {
  display: none;
}

.paylix-product-screen.hide-excavator-exit {
  display: none;
}

.shop-product-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  transition: transform 0.5s ease;
}
@media (max-width: 768px) {
  .shop-product-container {
    flex-direction: column-reverse !important;
    min-height: 500px;
    margin-bottom: 1.5rem;
  }
}

.shop-product-info {
  display: flex;
  position: relative;
  width: calc(100% - 340px - 2rem);
  margin-right: 1rem;
  border-radius: 0 0.5rem 0.5rem 0.5rem;
  overflow: hidden;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 1;
}

@media (max-width: 1024px) {
  .shop-product-info {
    width: calc(100% - 340px - 1.5rem);
  }
}

@media (max-width: 768px) {
  .shop-product-info {
    width: 100%;
    margin: 0 0 2rem 0;
    flex-direction: column;
  }
}

.shop-product-info-description {
  width: 100%;
}
.shop-product-info-description.with-image {
  width: 100%;
}
@media (max-width: 1024px) {
  .shop-product-info-description.with-image {
    width: 100%;
  }
}

.shop-product-card {
  width: 340px;
  position: relative;
  border-radius: 0.5rem;
  min-height: 300px;
  z-index: 9;
  transition: transform 0.5s ease;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .shop-product-card {
    width: 100%;
    max-width: 100%;
    margin-top: 1rem;
  }
}
.shop-product-card .sticky-inner-wrapper {
  transition: transform 0.35s ease;
}

.shop-product-info .player-wrapper {
  width: 100%;
  height: 100%;
}

.shop-product-info .player-wrapper > div {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
}

.shop-product-info .player-wrapper > div > div {
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  position: absolute;
}

.shop-product-info .carousel-root {
  width: 50%;
  margin-right: 1rem;
}

.shop-product-info .carousel-status {
  margin-right: 0.6rem;
  background: var(--backgroundAccentLight);
  border-radius: 3px;
  margin-top: 0.5rem;
  text-shadow: none !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  color: var(--darkFontColor) !important;
}

.shop-product-info .carousel-root.isOne .carousel-status,
.shop-product-info .carousel-root.isOne .control-dots {
  display: none;
}
@media (max-width: 768px) {
  .shop-product-info .carousel-root {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }
}
.shop-product-info .carousel-root .slide img {
  border-radius: 0.5rem;
}
.shop-product-info .carousel-root iframe {
  width: 100% !important;
  margin: 0 !important;
}
.shop-product-info .carousel-root ~ div.shop-product-info-product-description {
  width: 50%;
}

/* Purchase widget count control fixes */
.purchase-detail-wrapper .paylix-cart-add-button,
.purchase-detail-wrapper .paylix-cart-remove-button {
  width: 36px !important;
  height: 36px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--borderColor) !important;
  background: var(--background_main_color) !important;
}

.purchase-detail-wrapper .paylix-cart-add-button i,
.purchase-detail-wrapper .paylix-cart-remove-button i {
  width: 14px !important;
  height: 14px !important;
  margin: 0 !important;
}

.purchase-detail-wrapper .cart-product-quantity,
.purchase-detail-wrapper .cart-dropdown-item-buttons-quantity {
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: 1px solid var(--borderColor) !important;
  border-radius: 9999px !important;
  background: var(--background_main_color) !important;
}

/* Remove any pill/oval group background around the trio */
.purchase-detail-wrapper .count,
.purchase-detail-wrapper .quantity,
.purchase-detail-wrapper .quantity-wrapper,
.purchase-detail-wrapper .quantity-control {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Explicitly override legacy group style that renders the oval around +/- */
.purchase-detail-wrapper .paylix-stock-count {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.purchase-detail-wrapper .paylix-stock-count input {
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  text-align: center !important;
  background: var(--background_main_color) !important;
  border: 1px solid var(--borderColor) !important;
  border-radius: 9999px !important;
  padding: 0 !important;
}

.purchase-detail-wrapper .paylix-stock-count i {
  width: 14px !important;
  height: 14px !important;
  margin: 0 !important;
  line-height: 1 !important;
}
@media (max-width: 768px) {
  .shop-product-info .carousel-root ~ div.shop-product-info-product-description {
    width: 100%;
  }
}

.shop-product-info-image {
  width: 100%;
  height: auto;
  margin-right: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
}
.shop-product-info-image > img + p {
  display: none;
}
@media (max-width: 768px) {
  .shop-product-info-image {
    display: flex;
    width: 100%;
  }
}
