/* =========================================================
   KETHRON MOBILE PRODUCT DETAIL FIX — V24
   2026-08-15
   Keeps quantity and CTA buttons clean on 393–480px phones.
   ========================================================= */

@media (max-width: 767.98px) {
  .product-about {
    overflow: hidden;
  }

  .product-about .product-price {
    margin-bottom: 24px !important;
    font-size: clamp(30px, 9vw, 38px) !important;
    line-height: 1.08 !important;
  }

  .product-about .product-price del {
    margin-left: 8px !important;
    font-size: 16px !important;
  }

  .product-about .actions {
    width: 100%;
    margin-bottom: 24px !important;
    gap: 0 !important;
  }

  .product-about .quantity {
    display: grid !important;
    grid-template-columns: auto minmax(118px, 148px);
    width: 100% !important;
    align-items: center !important;
    justify-content: start !important;
    gap: 14px !important;
  }

  .product-about .quantity .screen-reader-text {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
  }

  .product-about .quantity__field {
    width: 100% !important;
    min-width: 0 !important;
    height: 50px !important;
    padding-right: 14px !important;
    border-width: 1.5px !important;
    border-radius: 10px !important;
  }

  .product-about .qty-input {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    height: 46px !important;
    padding: 0 10px !important;
    text-align: center !important;
    font-size: 15px !important;
  }

  .product-about .quantity__buttons {
    width: 20px;
    flex: 0 0 20px;
    align-items: center;
  }

  .product-about .qty-btn {
    width: 20px;
    height: 21px;
    justify-content: center;
    margin: 0 !important;
  }

  .product-about .pro-btns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100% !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
  }

  .product-about .pro-btns .vs-btn {
    display: inline-flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    height: 52px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 420px) {
  .product-about {
    padding: 18px !important;
  }

  .product-about .quantity {
    grid-template-columns: auto minmax(112px, 138px);
    gap: 12px !important;
  }

  .product-about .pro-btns {
    gap: 10px !important;
  }

  .product-about .pro-btns .vs-btn {
    min-height: 50px !important;
    height: 50px !important;
    padding: 0 7px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 360px) {
  .product-about .pro-btns {
    grid-template-columns: 1fr;
  }
}
