/* DentifyLab ID 129: mobile visual order only. Do not change JS/cart logic. */
@media screen and (max-width: 767.98px) {
  /* Both the calculator and the photo gallery live below the same product row. */
  body#product.product-id-129 #main > .dl-product-page-row {
    display: flex !important;
    flex-flow: column nowrap !important;
    align-items: stretch !important;
  }
  body#product.product-id-129 #main > .dl-product-page-row > .dlrp137-widget[data-product="129"] {
    order: -99 !important;
    display: block !important;
    float: none !important;
    clear: both !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
    position: relative !important;
    visibility: visible !important;
  }
  body#product.product-id-129 #main > .dl-product-page-row > .dl-purchase-shell {
    order: 0 !important;
    flex: 0 0 auto !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  /* Other row children (tabs etc.) remain after the gallery. */
  body#product.product-id-129 #main > .dl-product-page-row > :not(.dlrp137-widget):not(.dl-purchase-shell) {
    order: 1 !important;
  }

  /* Flatten .dlr-layout visually. The existing positioning JS places purchase
     either inside .dlr-layout OR after it. Both must yield the same order. */
  body#product.product-id-129 .dlrp137-widget[data-product="129"] #dl-roche-calculator-product {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  body#product.product-id-129 .dlrp137-widget[data-product="129"] #dl-roche-calculator-product > .dlr-layout {
    display: contents !important;
  }
  body#product.product-id-129 .dlrp137-widget[data-product="129"] .dlr-layout > .dlr-panel:first-child {
    order: 1 !important;
  }
  body#product.product-id-129 .dlrp137-widget[data-product="129"] .dlrp137-purchase {
    order: 2 !important;
    display: block !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 !important;
    box-sizing: border-box !important;
  }
  body#product.product-id-129 .dlrp137-widget[data-product="129"] .dlr-layout > .dlr-panel:last-child {
    order: 3 !important;
  }
  body#product.product-id-129 .dlrp137-widget[data-product="129"] .dlr-layout > .dlr-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  body#product.product-id-129 .dlrp137-widget[data-product="129"] .dlrp137-add {
    width: 100% !important;
  }
}
/* ID 129 - Mobil başlık ve açıklama kenar boşlukları */
@media screen and (max-width: 767.98px) {

  body#product.product-id-129
  .dlrp137-widget[data-product="129"] > h3 {
    padding-left: 22px !important;
    padding-right: 22px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  body#product.product-id-129
  .dlrp137-widget[data-product="129"] .dlr-intro {
    padding-left: 22px !important;
    padding-right: 22px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

}
/* ID 129 - Partner klinikleri butonunu gizle */
body#product.product-id-129
.dlr-panel > a.dlr-action[href="/tr/tarama-partneri-klinikler"] {
    display: none !important;
}