.p-main-image:not(.ji-ready) {visibility: hidden;}

.p-info-wrapper:has(.default-variant:not(.no-display)) .delivery-in-detail {margin-top: 0;}
.delivery-in-detail {display: flex;justify-content: space-between;align-items: center;}
.delivery-in-detail .ji-modal-link {font-size: 14px;font-weight: bold;display: inline-flex;align-items: center;}
.delivery-in-detail .ji-modal-link::before {content: "";width: 20px;flex: 0 0 20px;height: 20px;background-image: url(img/font-styl.png);background-size: contain;background-repeat: no-repeat;margin-right: 4px;}

@media (max-width: 479px) {
  .delivery-in-detail {display: flex!important;}
  .shipping-options, .delivery-in-detail .ji-modal-link {font-size: 13px;}
}

#dkLabNoteMainWrapper {order: -1;flex: 0 0 100%;margin-top: -24px;margin-bottom: 0;}
.p-info-wrapper:has(.default-variant:not(.no-display)) #dkLabNoteMainWrapper {display: none;}
.p-detail.ji-hide-note #dkLabNoteMainWrapper {display: none;}
.surcharge-list select.ji-invalid {border-color: #d63500;box-shadow: 0 0 3px #d63500;}

#dkLabFavouriteDiv {display: block;flex: 0 0 100%;}

#content .ji-customization {display: block;font-size: 18px;text-decoration: none !important;background: #f6f6f6;border: 1px solid #E4E4E4;padding: 7px 15px;color: #24242E;margin-bottom: 10px;}
#content .ji-customization:hover {background-color: var(--color-primary);color: #fff;}
#content .ji-customization strong {text-decoration: underline;}
#content .ji-customization:hover strong {text-decoration: none;}
#content .ji-customization small {font-size: 15px;}

.ji-ajax-modal .colorbox-html-content>h3:first-child {margin-top: 10px;}

.basic-description>h3:first-child:has(+ h2, + h1) {display: none;}
.basic-description>h3 + h2, .basic-description>h3 + h1 {margin-top: 0;}

:is(.table-60-40,.table-40-60,.table-50-50,.table-30-30-30) {margin: 20px 0;width: 100% !important;}
:is(.table-60-40,.table-40-60,.table-50-50,.table-30-30-30) tbody {display: contents;}
:is(.table-60-40,.table-40-60,.table-50-50,.table-30-30-30) tr {display: grid;column-gap: 20px;height: auto !important;align-items: center;}
:is(.table-60-40,.table-40-60,.table-50-50,.table-30-30-30) td {width: unset !important;padding: 0 !important;}
:is(.table-60-40,.table-40-60,.table-50-50,.table-30-30-30) td>:first-child {margin-top: 0;}

.table-60-40 tr {grid-template-columns: 60fr 40fr;}
.table-40-60 tr {grid-template-columns: 40fr 60fr;}
.table-50-50 tr {grid-template-columns: 50fr 50fr;}
.table-30-30-30 tr {grid-template-columns: 30fr 30fr 30fr;}

@media (max-width: 991px) {
  :is(.table-30-30-30) tr {display: flex;flex-flow: column;row-gap: 10px;}
  :is(.table-30-30-30) td:has(img) {order:-1;margin-bottom: 15px;}
  :is(.table-30-30-30) td:has(+ td img) {margin-bottom: 0;}
  :is(.table-30-30-30) td>:last-child {margin-bottom: 0;}
  :is(.table-30-30-30) td>:last-child>:last-child {margin-bottom: 0;}
  :is(.table-30-30-30) td>:last-child>:last-child>:last-child {margin-bottom: 0;}
}

@media (max-width: 767px) {
  :is(.table-50-50,.table-60-40,.table-40-60) tr {display: flex;flex-flow: column;row-gap: 10px;}
  :is(.table-50-50,.table-60-40,.table-40-60) td:has(img) {order:-1;margin-bottom: 15px;}
  :is(.table-50-50,.table-60-40,.table-40-60) td:has(+ td img) {margin-bottom: 0;}
  :is(.table-50-50,.table-60-40,.table-40-60) td>:last-child {margin-bottom: 0;}
  :is(.table-50-50,.table-60-40,.table-40-60) td>:last-child>:last-child {margin-bottom: 0;}
  :is(.table-50-50,.table-60-40,.table-40-60) td>:last-child>:last-child>:last-child {margin-bottom: 0;}
}
