/* JamboMart - Unified Tablet Product Layout */
@media (min-width: 750px) and (max-width: 1366px) {

  body.single-product .hx-product {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: calc(100% - 32px) !important;
    max-width: 820px !important;
    margin: 0 auto !important;
    padding: 20px 0 0 !important;
    gap: 20px !important;
    box-sizing: border-box !important;
  }

  body.single-product .hx-product__media,
  body.single-product .hx-product__info {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: stretch !important;
  }

  body.single-product .hx-product__title {
    font-size: 26px !important;
    line-height: 1.4 !important;
  }

  body.single-product .hx-gallery {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  body.single-product .hx-order {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.single-product .jm-description-full {
    width: calc(100% - 32px) !important;
    max-width: 820px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.single-product .hx-sbuy {
    display: block !important;
  }

  body.single-product .hx-sbuy__in {
    max-width: 680px !important;
    margin: 0 auto !important;
  }

  body.single-product .hx-sbuy__btn {
    font-size: 18px !important;
    white-space: nowrap !important;
    animation: jmTabletHeartbeat 3s ease-in-out infinite !important;
  }
}

@keyframes jmTabletHeartbeat {
  0%, 12%, 28%, 100% { transform: scale(1); }
  18% { transform: scale(1.045); }
  34% { transform: scale(1.025); }
  42% { transform: scale(1); }
}

@media (min-width: 1367px) {
  body.single-product .hx-sbuy {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product .hx-sbuy__btn {
    animation: none !important;
  }
}

/* JamboMart - Tablet final width and sticky refinements */
@media (min-width: 750px) and (max-width: 1366px) {
  body.single-product .hx-product {
    width: calc(100% - 24px) !important;
    max-width: 1100px !important;
    padding: 16px 0 0 !important;
    gap: 18px !important;
  }

  body.single-product .jm-description-full {
    width: calc(100% - 24px) !important;
    max-width: 1100px !important;
  }

  body.single-product .hx-sbuy {
    display: block !important;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom)) !important;
  }

  body.single-product .hx-sbuy__in {
    direction: ltr !important;
    width: 100% !important;
    max-width: 760px !important;
    gap: 16px !important;
  }

  body.single-product .hx-sbuy__price {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  body.single-product .hx-sbuy__btn {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 54px !important;
    padding: 10px 18px !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  body.single-product.hx-sbuy-pad {
    padding-bottom: 90px !important;
  }
}



/* JM UNIFIED IPAD STICKY */
@media (min-width: 750px) and (max-width: 1366px) {
  html body.single-product .hx-sbuy__btn {
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    min-height: 60px !important;
    white-space: normal !important;
  }

  html body.single-product .hx-sbuy__price .hx-pp__num {
    font-size: 25px !important;
    font-weight: 900 !important;
  }

  html body.single-product .hx-sbuy__price .hx-pp__cur {
    font-size: 15px !important;
  }
}