/* OTEL CORE V11.12.26 — Mobile product purchasing improvements.
   CSS-only; preserves WooCommerce variation, stock and cart handlers. */
@media (max-width: 781px) {
  body.single-product .otel-core-pdp {
    gap: 14px !important;
    align-items: stretch !important;
  }
  body.single-product .otel-core-pdp > .wp-block-column {
    min-width: 0 !important;
    width: 100% !important;
    flex-basis: 100% !important;
    padding: 17px !important;
    border-radius: 19px !important;
  }
  body.single-product .otel-core-pdp .woocommerce-product-gallery,
  body.single-product .otel-core-pdp .wc-block-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  body.single-product .otel-core-pdp .woocommerce-product-gallery img,
  body.single-product .otel-core-pdp .wc-block-product-gallery img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
  body.single-product .otel-core-pdp .wp-block-post-title {
    font-size: clamp(25px, 5.5vw, 32px) !important;
    line-height: 1.18 !important;
    overflow-wrap: anywhere;
  }
  body.single-product .otel-core-pdp table.variations,
  body.single-product .otel-core-pdp table.variations select,
  body.single-product .otel-core-pdp form.cart,
  body.single-product .otel-core-pdp .single_variation_wrap {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.single-product .otel-core-pdp .variations select {
    min-height: 52px !important;
    font-size: 16px !important; /* prevent iOS field zoom */
  }
  body.single-product .otel-core-pdp .variations_form .woocommerce-variation-add-to-cart,
  body.single-product .otel-core-pdp form.cart:not(.variations_form) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  body.single-product .otel-core-pdp .quantity {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    min-width: 150px !important;
    min-height: 52px !important;
  }
  body.single-product .otel-core-pdp .quantity input.qty {
    min-width: 52px !important;
    width: 58px !important;
    height: 52px !important;
    font-size: 16px !important;
  }
  body.single-product .otel-core-pdp .otel-pdp-qty-control {
    min-width: 42px !important;
    height: 52px !important;
  }
  body.single-product .otel-core-pdp .single_add_to_cart_button {
    flex: 1 1 180px !important;
    min-height: 52px !important;
    margin: 0 !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }
  body.single-product .otel-core-pdp .otel-pdp-variation-help {
    margin: 6px 0 9px !important;
    line-height: 1.45 !important;
  }
  body.single-product .otel-core-pdp .otel-teslimat-bilgisi,
  body.single-product .otel-core-pdp .otel-delivery-info {
    margin-top: 12px !important;
  }
}
@media (max-width: 390px) {
  body.single-product .otel-core-pdp > .wp-block-column { padding: 14px !important; }
  body.single-product .otel-core-pdp .variations_form .woocommerce-variation-add-to-cart,
  body.single-product .otel-core-pdp form.cart:not(.variations_form) {
    flex-direction: column !important;
  }
  body.single-product .otel-core-pdp .quantity { align-self: flex-start !important; }
  body.single-product .otel-core-pdp .single_add_to_cart_button {
    flex: 0 0 auto !important;
    width: 100% !important;
  }
}
