/* Sepahan 2.2.3: checkout province/city order and mobile Strip Products smooth touch. */

body.woocommerce-checkout .parsan-checkout-address #billing_state_field,
body.woocommerce-checkout .parsan-checkout-address p.form-row:has([name="billing_state"]),
body.woocommerce-checkout .parsan-checkout-address p.form-row:has(#billing_state),
body.woocommerce-checkout .woocommerce-billing-fields #billing_state_field,
body.woocommerce-checkout .woocommerce-billing-fields p.form-row:has([name="billing_state"]),
body.woocommerce-checkout .woocommerce-billing-fields p.form-row:has(#billing_state){
  order:50!important;
  grid-column:1/-1!important;
}

body.woocommerce-checkout .parsan-checkout-address #billing_city_field,
body.woocommerce-checkout .parsan-checkout-address p.form-row:has([name="billing_city"]),
body.woocommerce-checkout .parsan-checkout-address p.form-row:has(#billing_city),
body.woocommerce-checkout .woocommerce-billing-fields #billing_city_field,
body.woocommerce-checkout .woocommerce-billing-fields p.form-row:has([name="billing_city"]),
body.woocommerce-checkout .woocommerce-billing-fields p.form-row:has(#billing_city){
  order:60!important;
  grid-column:1/-1!important;
}

body.woocommerce-checkout .parsan-checkout-address #billing_address_1_field,
body.woocommerce-checkout .woocommerce-billing-fields #billing_address_1_field{
  order:70!important;
}

@media (max-width: 768px){
  html body .sepahan-products-strip-scroll{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-x:contain!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-x pan-y pinch-zoom!important;
    scroll-behavior:auto!important;
    scroll-snap-type:x proximity!important;
    cursor:grab!important;
  }

  html body .sepahan-products-strip-scroll.sepahan-v298-native-touch{
    touch-action:pan-x pan-y pinch-zoom!important;
  }

  html body .sepahan-products-strip-list{
    display:flex!important;
    flex-wrap:nowrap!important;
    max-width:none!important;
    will-change:scroll-position!important;
    transform:translateZ(0);
  }

  html body .sepahan-products-strip-card{
    scroll-snap-align:start!important;
    scroll-snap-stop:normal!important;
  }
}
