/* ONLINE PRICE NEON LAB V7 */

/* Нижняя иллюстрация заполняет весь блок */
#store .layout > section.panel::after {
  display: block !important;
  width: 100% !important;
  height: 155px !important;
  min-height: 0 !important;
  margin: 0 !important;
  background:
    linear-gradient(
      to bottom,
      #07100c 0%,
      transparent 35%,
      rgba(7,16,12,.12) 70%,
      #07100c 100%
    ),
    url('/neon-lab-v4.webp') center 55% / cover no-repeat
    !important;
  -webkit-mask-image:
    linear-gradient(to bottom,transparent,#000 25%,#000 75%,transparent)
    !important;
  mask-image:
    linear-gradient(to bottom,transparent,#000 25%,#000 75%,transparent)
    !important;
  opacity: .75 !important;
}

/* Корзина: убираем внутреннюю прокрутку */
@media (min-width:851px) {
  #store aside.panel {
    position: sticky !important;
    top: 8px !important;
    max-height: none !important;
    overflow: visible !important;
    align-self: start !important;
  }
}

/* Более компактный блок заказа */
#store aside.panel > h2 {
  padding: 13px 17px !important;
  font-size: 24px !important;
}

#store .cartbody {
  padding: 10px 16px 14px !important;
}

#store #cart {
  min-height: 0 !important;
  margin-bottom: 6px !important;
}

#store .total {
  margin: 7px 0 12px !important;
  padding: 11px 13px !important;
}

#store .cart-customer-fields {
  margin: 0 !important;
  gap: 7px !important;
}

#store .cartbody label {
  margin-top: 7px !important;
  margin-bottom: 4px !important;
}

#store .cartbody input {
  min-height: 40px !important;
  padding: 8px 12px !important;
}

#store .cartbody textarea {
  min-height: 65px !important;
  height: 65px !important;
  padding: 9px 12px !important;
  resize: vertical;
}

#store .cartbody .checkout-open {
  min-height: 46px !important;
  padding: 9px 12px !important;
  margin-top: 9px !important;
}

#store .cartbody .tracking-open {
  min-height: 40px !important;
  padding: 8px 12px !important;
}

#store .cartbody .actions {
  margin-top: 7px !important;
  gap: 7px !important;
}

#store .cartbody #copy,
#store .cartbody #clear {
  padding: 8px 10px !important;
}

/* На телефоне сохраняем удобный размер элементов */
@media (max-width:850px) {
  #store aside.panel {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #store .layout > section.panel::after {
    height: 85px !important;
    opacity: .45 !important;
  }
}

@media (max-width:600px) {
  #store .cartbody input {
    min-height: 46px !important;
    font-size: 16px !important;
  }

  #store .cartbody .checkout-open {
    min-height: 52px !important;
  }

  #store .layout > section.panel::after {
    height: 60px !important;
  }
}

/* ONLINE PRICE V8 — FULL WIDTH LAB IMAGE */

#store .layout > section.panel::after {
  display: block !important;
  width: 100% !important;
  height: 180px !important;
  min-height: 180px !important;
  margin: 0 !important;

  background-image:
    linear-gradient(
      to bottom,
      #07100c 0%,
      transparent 30%,
      transparent 70%,
      #07100c 100%
    ),
    url('/neon-lab-v4.webp') !important;

  background-size: 100% 100%, 100% 100% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;

  opacity: .85 !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

@media (max-width: 600px) {
  #store .layout > section.panel::after {
    height: 90px !important;
    min-height: 90px !important;
  }
}

/* ONLINE PRICE — CART CORNERS FIX */

#store .layout > aside.panel {
  border-radius: 20px !important;
  overflow: hidden !important;
  background-clip: padding-box !important;
}

#store .layout > aside.panel > h2 {
  border-radius: 19px 19px 0 0 !important;
  background-clip: padding-box !important;
}

@media (min-width: 851px) {
  #store .layout > aside.panel {
    position: sticky !important;
    top: 8px !important;
    max-height: none !important;
  }
}

@media (max-width: 850px) {
  #store .layout > aside.panel {
    position: static !important;
  }
}
