/* v3.9.62: conservative mobile layout stability and accessible touch targets.
   Layout only: no gallery, variation, stock, checkout or cart behaviour altered. */
@media (max-width: 800px) {
  /* Allow grid children to shrink without causing sideways page movement. */
  body.single-product main.woocommerce-main .vcc-woo-content,
  body.single-product main.woocommerce-main .vcc-woo-content div.product,
  body.single-product main.woocommerce-main .vcc-woo-content div.product > .summary,
  body.single-product main.woocommerce-main .vcc-woo-content div.product > .woocommerce-product-gallery {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  /* Give the gallery a predictable image area while letting native FlexSlider
     determine its own slide positions and variation image replacement. */
  body.single-product main.woocommerce-main .vcc-woo-content .woocommerce-product-gallery__image img {
    display:block;
    width:100%;
    height:min(75vw,380px)!important;
    max-height:380px!important;
    object-fit:contain;
  }
  body.single-product main.woocommerce-main .vcc-woo-content .woocommerce-product-gallery .flex-control-thumbs li {
    min-width:0;
    box-sizing:border-box;
  }
  body.single-product main.woocommerce-main .vcc-woo-content .woocommerce-product-gallery .flex-control-thumbs li img {
    display:block;
    width:100%!important;
    height:64px!important;
    object-fit:contain;
  }
  /* Variation messages can change text/price; avoid width overflow and jumps
     caused by long supplier labels. WooCommerce still controls visibility. */
  body.single-product main.woocommerce-main .vcc-woo-content form.variations_form,
  body.single-product main.woocommerce-main .vcc-woo-content .single_variation_wrap,
  body.single-product main.woocommerce-main .vcc-woo-content .woocommerce-variation,
  body.single-product main.woocommerce-main .vcc-woo-content .woocommerce-variation-description,
  body.single-product main.woocommerce-main .vcc-woo-content .woocommerce-variation-availability {
    min-width:0;
    max-width:100%;
    overflow-wrap:anywhere;
  }
  body.single-product main.woocommerce-main .vcc-woo-content form.variations_form select {
    box-sizing:border-box;
    max-width:100%;
    font-size:16px;
  }
  body.single-product main.woocommerce-main .vcc-woo-content .summary .quantity input.qty {
    font-size:16px;
    min-height:44px;
  }
  /* Consistent finger-sized controls; no changes to their click handlers. */
  body.single-product main.woocommerce-main .vcc-woo-content .single_add_to_cart_button,
  body.single-product main.woocommerce-main .vcc-woo-content .reset_variations,
  body.single-product main.woocommerce-main .vcc-woo-content .vcc-3914-buy {
    min-height:44px;
  }
  body .woocommerce ul.products li.product.vcc-unified-card,
  body.home .vcc-home-product-cards ul.products li.product {
    min-width:0;
    max-width:100%;
  }
  body .woocommerce ul.products li.product.vcc-unified-card a.woocommerce-loop-product__link > img,
  body.home .vcc-home-product-cards ul.products li.product > a.woocommerce-loop-product__link > img {
    box-sizing:border-box;
    width:100%!important;
    height:180px!important;
    max-height:180px!important;
    object-fit:contain!important;
  }
  body .woocommerce ul.products li.product.vcc-unified-card > a.button,
  body.home .vcc-home-product-cards ul.products li.product > a.button {
    min-height:44px!important;
  }
}
@media (max-width: 480px) {
  body.single-product main.woocommerce-main .vcc-woo-content div.product > .summary.entry-summary {
    padding:16px!important;
  }
  body.single-product main.woocommerce-main .vcc-woo-content div.product > .woocommerce-product-gallery {
    padding:12px!important;
  }
}
/* Visible focus for keyboard users; mirrors existing teal brand accent. */
body.single-product main.woocommerce-main .vcc-woo-content :is(select,button,a,input):focus-visible,
body .woocommerce ul.products li.product :is(a,button):focus-visible {
  outline:3px solid #087e73;
  outline-offset:3px;
}
@media (prefers-reduced-motion: reduce) {
  body.single-product main.woocommerce-main .vcc-woo-content :is(button,a,input,select) {
    scroll-behavior:auto;
    transition-duration:0.01ms!important;
  }
}
