/* Staging only. All layout overrides are limited to small phones. */
.weedn-stg-buy, .weedn-stg-checkout, .weedn-stg-products-toggle, .weedn-stg-notes > summary { display:none; }
@media (max-width:480px) {
  #weedn-cookie-banner { padding:6px 8px !important; box-sizing:border-box; }
  #weedn-cookie-banner > div { flex-direction:row !important; flex-wrap:nowrap !important; gap:8px !important; min-height:0 !important; height:auto !important; margin:0 !important; padding:0 !important; }
  #weedn-cookie-banner p { font-size:12px !important; line-height:16px !important; margin:0 !important; white-space:nowrap; min-width:0; }
  #weedn-cookie-banner p a { color:var(--weedn-green-neon); }
  #weedn-cookie-banner > div > div { gap:6px !important; flex-shrink:0; }
  #weedn-cookie-banner button { padding:0 10px !important; min-height:44px; height:44px !important; box-sizing:border-box; margin:0 !important; line-height:1 !important; width:auto !important; font-size:13px !important; letter-spacing:1px !important; }
  .weedn-stg-buy, .weedn-stg-checkout { display:block; position:fixed; left:0; right:0; bottom:var(--weedn-stg-cookie-height,0px); z-index:9989; background:#0b0f0d; color:#eef4ef; border-top:1px solid #39ff7a; padding:8px 12px; }
  .weedn-stg-buy { max-height:42dvh; overflow:auto; }
  .weedn-stg-buy .v2p-cart { margin:0 !important; }
  .weedn-stg-buy .variations { margin:0 !important; }
  .weedn-stg-buy select { min-height:44px; width:100%; }
  .weedn-stg-buy .single_add_to_cart_button { min-height:44px; padding:12px !important; margin-top:4px !important; }
  .weedn-stg-buy .woocommerce-variation-price, .weedn-stg-buy .price { font-size:24px !important; margin-bottom:4px !important; }
  body.single-product .site-footer { padding-bottom:calc(42dvh + 60px) !important; }
  .weedn-stg-checkout { display:flex; gap:12px; align-items:center; justify-content:space-between; font-size:13px; }
  .weedn-stg-checkout a { background:#39ff7a; color:#070a08; padding:12px; min-height:44px; box-sizing:border-box; text-decoration:none; font-weight:700; }
  body.woocommerce-checkout .weedn-checkout-block { padding:12px; margin-bottom:12px; }
  body.woocommerce-checkout .weedn-form-grid { gap:8px; }
  body.woocommerce-checkout .weedn-checkout-wrap .form-row { margin-bottom:8px !important; }
  body.woocommerce-checkout .weedn-block-desc { margin-bottom:10px; }
  body.woocommerce-checkout .weedn-checkout-top { margin-bottom:16px; }
  body.woocommerce-checkout .weedn-checkout-h1 { margin-bottom:16px; }
  body.woocommerce-checkout .weedn-aside-block { padding:14px; }
  body.woocommerce-checkout .site-footer { padding-bottom:140px !important; }
  .weedn-stg-notes > summary { display:list-item; cursor:pointer; padding:12px; }
  .weedn-stg-products-toggle { display:block; min-height:44px; margin-bottom:8px; cursor:pointer; }
  #order_review:not(.weedn-stg-products-open) .shop_table tbody { display:none !important; }
  body.woocommerce-checkout .weedn-checkout-main,
  body.woocommerce-checkout .weedn-checkout-aside { width:100%; }
  body.woocommerce-checkout .weedn-form-grid { grid-template-columns:1fr 1fr; }
  body.woocommerce-checkout .weedn-form-grid input { min-height:44px; }
  #payment { scroll-margin-top:100px; }
}

body.woocommerce-checkout #shipping_method li { display:flex; align-items:center; min-height:48px; gap:10px; }
body.woocommerce-checkout #shipping_method li input[type="radio"] { flex:0 0 22px; width:22px; height:22px; margin:0; }
body.woocommerce-checkout #shipping_method li label { display:flex; align-items:center; flex:1; min-height:48px; cursor:pointer; }
body.woocommerce.single-product select.weedn-stg-native-weight { position:absolute !important; width:1px !important; height:1px !important; min-height:0 !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip-path:inset(50%); }
.weedn-stg-pills { display:flex; flex-wrap:wrap; gap:8px; }
.weedn-stg-pills button { min-height:44px; min-width:44px; padding:8px 12px; border:1px solid #39ff7a; border-radius:24px; background:#0b0f0d; color:#eef4ef; cursor:pointer; }
.weedn-stg-pills button[aria-pressed="true"] { background:#39ff7a; color:#070a08; }
.weedn-stg-pills button:disabled { opacity:.4; cursor:default; }
@media (max-width:480px) {
  body:has(.weedn-stg-buy) #j41-sticky { display:none !important; }
  .weedn-stg-buy .weedn-stg-pills { flex-wrap:nowrap; overflow-x:auto; }
  body.woocommerce.single-product .v2p-cart form.cart { padding-bottom:86px !important; }
  body.woocommerce.single-product .v2p-cart .reset_variations { display:none !important; }
  body.woocommerce.single-product .v2p-cart .single_add_to_cart_button { position:fixed !important; left:12px; right:12px; top:auto !important; bottom:calc(var(--weedn-stg-cookie-height,57px) + 17px) !important; width:calc(100% - 24px) !important; height:52px; min-height:44px; margin:0 !important; padding:12px !important; box-sizing:border-box; z-index:9990; }
}
@media (min-width:1024px) {
  #weedn-cookie-banner { padding:5px 24px !important; box-sizing:border-box; }
  #weedn-cookie-banner > div { flex-wrap:nowrap !important; }
  #weedn-cookie-banner p { margin:0 !important; line-height:20px !important; white-space:nowrap; }
  #weedn-cookie-banner button { height:44px !important; min-height:44px; padding:0 24px !important; margin:0 !important; box-sizing:border-box; line-height:1 !important; }
}
