/* Loaded after WooCommerce/plugin styles to keep the IDO storefront layer in control. */
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results-layout{grid-template-columns:minmax(0,1fr)!important}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results{width:100%;overflow:visible}
#main-content.ido-shop-page.ido-shop-page--single-product .woocommerce-product-gallery,#main-content.ido-shop-page.ido-shop-page--single-product .woocommerce-product-gallery__wrapper,#main-content.ido-shop-page.ido-shop-page--single-product .woocommerce-product-gallery__image{opacity:1!important;visibility:visible!important}
#main-content.ido-shop-page.ido-shop-page--single-product .woocommerce-product-gallery__image img{display:block!important;width:100%;height:auto;min-height:240px;object-fit:contain;opacity:1!important;visibility:visible!important}

/* WooCommerce storefront polish: product, cart, checkout, receipt, account. */
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-content{padding-block:clamp(20px,3vw,36px) 64px}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results{padding:clamp(16px,2vw,28px);border-color:#e1e9f2;border-radius:20px;box-shadow:0 18px 44px #102d500d}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product{grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);align-items:start;gap:clamp(22px,4vw,56px);padding:clamp(0px,1vw,10px)}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product span.onsale{position:absolute!important;top:14px!important;left:14px!important;right:auto!important;z-index:4;display:inline-flex!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;padding:8px 12px!important;border:0!important;border-radius:999px!important;background:linear-gradient(135deg,#ff7a22,#e94225)!important;color:#fff!important;font-size:.74rem!important;font-weight:850!important;line-height:1.15!important;box-shadow:0 8px 20px #db502633!important}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-product-gallery__image{min-height:clamp(300px,38vw,520px);border:1px solid #e8eef5;border-radius:18px;background:linear-gradient(145deg,#f9fbfd,#f2f6fa)}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-product-gallery__image img{width:100%;height:100%;max-height:520px;min-height:clamp(300px,38vw,520px);object-fit:contain}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .summary{padding:8px 2px}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .product_title{margin:0 0 16px;color:#0a2c62;font-size:clamp(1.7rem,2.8vw,2.55rem);line-height:1.16;letter-spacing:-.025em}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .summary .price,#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .summary .price *{color:#e45d23!important;font-size:clamp(1.2rem,1.8vw,1.55rem);font-weight:850}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .summary .woocommerce-product-details__short-description{margin:18px 0;color:#536982;font-size:1rem;line-height:1.75}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.cart{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:22px 0 18px}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.cart table.variations{flex:1 0 100%;margin:0 0 4px}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.cart table.variations th{width:190px}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.cart table.variations select{width:100%;min-height:48px;border-color:#ccd8e6;border-radius:10px;background:#fff}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.cart .quantity{margin:0}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.cart .quantity input.qty{width:82px;min-height:48px;border-radius:10px}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.cart .single_add_to_cart_button{min-height:48px;padding:12px 20px;border-radius:10px;background:linear-gradient(135deg,#f47723,#e84627)!important;color:#fff!important;font-weight:850;box-shadow:0 8px 20px #e9552728}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.cart .single_add_to_cart_button:hover{background:#d93c20!important;transform:translateY(-1px)}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .product_meta{padding-top:15px;border-top:1px solid #e9eef4;color:#718198;font-size:.84rem;line-height:1.8}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-tabs{margin-top:clamp(22px,3vw,40px);padding:clamp(16px,2.5vw,30px);border:1px solid #e7edf4;border-radius:16px;background:#fff}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px;padding:0;border:0}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-tabs ul.tabs:before,#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-tabs ul.tabs li:before,#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-tabs ul.tabs li:after{display:none!important}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-tabs ul.tabs li{margin:0;padding:0;border:0;background:transparent}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-tabs ul.tabs li a{display:block;padding:10px 15px;border:1px solid #dfe7f0;border-radius:9px;background:#f7f9fc;color:#315071;font-weight:750}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-tabs ul.tabs li.active a{border-color:#123d78;background:#123d78;color:#fff}

/* Cart table and coupon actions. Keep controls together and labels readable. */
.ido-commerce-flow .woocommerce-cart-form table.shop_table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid #e2e9f1;border-radius:14px}
.ido-commerce-flow .woocommerce-cart-form table.shop_table th.product-remove,.ido-commerce-flow .woocommerce-cart-form table.shop_table td.product-remove{width:42px!important;min-width:42px!important;padding-inline:5px!important;text-align:center}
.ido-commerce-flow .woocommerce-cart-form table.shop_table th.product-thumbnail,.ido-commerce-flow .woocommerce-cart-form table.shop_table td.product-thumbnail{width:76px!important;min-width:76px!important;text-align:center}
.ido-commerce-flow .woocommerce-cart-form table.shop_table th.product-price,.ido-commerce-flow .woocommerce-cart-form table.shop_table td.product-price{width:112px}
.ido-commerce-flow .woocommerce-cart-form table.shop_table th.product-quantity,.ido-commerce-flow .woocommerce-cart-form table.shop_table td.product-quantity{width:112px}
.ido-commerce-flow .woocommerce-cart-form table.shop_table th.product-subtotal,.ido-commerce-flow .woocommerce-cart-form table.shop_table td.product-subtotal{width:128px}
.ido-commerce-flow .woocommerce-cart-form table.shop_table th{padding:14px 12px;background:#f3f7fb;color:#18385f;font-weight:800}
.ido-commerce-flow .woocommerce-cart-form table.shop_table td{padding:13px 12px;vertical-align:middle}
.ido-commerce-flow .woocommerce-cart-form .product-thumbnail img{width:58px;height:58px;max-width:none;object-fit:cover;border:1px solid #e7edf4;border-radius:9px;background:#f5f7fa}
.ido-commerce-flow .woocommerce-cart-form .product-name a{color:#173d77;font-weight:700;text-decoration:none}
.ido-commerce-flow .woocommerce-cart-form .product-remove a.remove{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;background:#fff3f1;color:#d94438!important;font-size:1.2rem;line-height:1}
.ido-commerce-flow .woocommerce-cart-form table.shop_table td.actions{display:table-cell!important;width:auto!important;padding:12px!important;text-align:left;vertical-align:middle}
.ido-commerce-flow .woocommerce-cart-form table.shop_table td.actions .coupon{display:inline-grid;grid-template-columns:minmax(180px,260px) auto;align-items:center;gap:9px;float:left;width:auto;max-width:calc(100% - 170px);margin:0}
.ido-commerce-flow .woocommerce-cart-form .actions .coupon .input-text{box-sizing:border-box;width:100%;min-height:46px;padding:10px 13px;border:1px solid #d6dfeb;border-radius:10px}
.ido-commerce-flow .woocommerce-cart-form .actions .button,.ido-commerce-flow .woocommerce-cart-form .actions .coupon .button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:10px 17px;border-radius:10px;white-space:nowrap;word-break:normal;overflow-wrap:normal}
.ido-commerce-flow .woocommerce-cart-form .actions>button[name="update_cart"]{float:right;margin:0}
.ido-commerce-flow .woocommerce-cart-form table.shop_table td.actions:after{display:block;clear:both;content:""}
.ido-commerce-flow .woocommerce .cart-collaterals{align-items:start;margin-top:22px}
.ido-commerce-flow .woocommerce .cart_totals{padding:22px;border:1px solid #e2e9f1;border-radius:14px;background:#fff;box-shadow:0 10px 28px #102d5009}
.ido-commerce-flow .woocommerce .cart_totals h2{margin:0 0 16px;font-size:1.35rem}
.ido-commerce-flow .woocommerce .cart_totals .checkout-button{display:flex;min-height:50px;align-items:center;justify-content:center;margin-top:16px;border-radius:10px;background:linear-gradient(135deg,#f47723,#e84627);color:#fff}

/* Checkout: one predictable billing column, then shipping and order review. */
#main-content.ido-commerce-flow .woocommerce-checkout #customer_details{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px;max-width:920px;margin:0 auto}
#main-content.ido-commerce-flow .woocommerce-checkout #customer_details>.col-1,#main-content.ido-commerce-flow .woocommerce-checkout #customer_details>.col-2{float:none!important;width:100%!important;min-width:0;padding:clamp(16px,2.5vw,26px);border:1px solid #e4ebf3;border-radius:14px;background:#fff}
#main-content.ido-commerce-flow .woocommerce-checkout #customer_details>.col-2:empty{display:none}
#main-content.ido-commerce-flow .woocommerce-checkout #customer_details .woocommerce-billing-fields>h3,#main-content.ido-commerce-flow .woocommerce-checkout #customer_details .woocommerce-shipping-fields>h3,#main-content.ido-commerce-flow .woocommerce-checkout #customer_details .woocommerce-additional-fields>h3{margin:0 0 18px;font-size:1.2rem}
#main-content.ido-commerce-flow .woocommerce-checkout #order_review_heading{margin:30px 0 12px;color:#0b2d63;font-size:1.45rem}
#main-content.ido-commerce-flow .woocommerce-checkout #order_review{width:100%;margin:0;padding:clamp(16px,2.5vw,26px);border:1px solid #e2e9f1;border-radius:14px;background:#f8fafc}
#main-content.ido-commerce-flow .woocommerce-checkout #payment{margin-top:18px;border-color:#e0e8f1;border-radius:12px}
.ido-commerce-flow .woocommerce-info{position:relative;padding:14px 18px 14px 46px;border-color:#dce8f5;border-radius:11px;background:#f5f9fe;font-size:.92rem}
.ido-commerce-flow .woocommerce-info:before{left:16px;top:14px;color:#2874b8}
.ido-commerce-flow .woocommerce form.checkout_coupon{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:12px 0 22px;padding:18px;border-radius:12px}
.ido-commerce-flow .woocommerce form.checkout_coupon p{margin:0}
.ido-commerce-flow .woocommerce form.checkout_coupon .form-row-first{float:none;width:min(100%,360px);flex:1 1 240px}
.ido-commerce-flow .woocommerce form.checkout_coupon .form-row-last{float:none;width:auto;flex:0 0 auto}
.ido-commerce-flow .woocommerce-order{width:100%;max-width:none}
.ido-commerce-flow .woocommerce-order-overview{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;width:100%;margin:8px 0 26px;padding:0;list-style:none}
.ido-commerce-flow .woocommerce-order-overview li{float:none!important;width:auto!important;max-width:none!important;min-width:0;margin:0;padding:14px;border:1px solid #e2e9f1;border-radius:11px;background:#f7f9fc;font-size:.76rem;text-align:left;text-transform:none}
.ido-commerce-flow .woocommerce-order-overview li strong{display:block;margin-top:6px;color:#153d78;font-size:.98rem;overflow-wrap:anywhere}
.ido-commerce-flow .woocommerce-order-details,.ido-commerce-flow .woocommerce-customer-details{margin-top:26px}
.ido-commerce-flow .woocommerce-order-details__title,.ido-commerce-flow .woocommerce-column__title{margin-bottom:12px;font-size:1.25rem}
.ido-commerce-flow .woocommerce-customer-details .col2-set{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ido-commerce-flow .woocommerce-customer-details .woocommerce-column{float:none;width:auto;min-width:0;padding:18px;border:1px solid #e2e9f1;border-radius:12px;background:#f8fafc}

/* Account navigation and form controls. */
.ido-commerce-flow__content--account-dashboard>.woocommerce{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);align-items:start;gap:20px}
.ido-commerce-flow__content--account-dashboard>.woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1}
.ido-commerce-flow .woocommerce-MyAccount-navigation{box-sizing:border-box;grid-column:1;float:none!important;width:auto!important;min-width:0;padding:0}
.ido-commerce-flow .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;margin:0;padding:0;list-style:none}
.ido-commerce-flow .woocommerce-MyAccount-navigation li{margin:0}
.ido-commerce-flow .woocommerce-MyAccount-navigation a{padding:11px 13px;border-radius:9px;text-decoration:none;font-weight:700}
.ido-commerce-flow .woocommerce-MyAccount-content{box-sizing:border-box;grid-column:2;float:none!important;width:auto!important;min-width:0;padding:clamp(16px,2.5vw,25px);border:1px solid #e3eaf2;border-radius:14px;background:#fff}
.ido-commerce-flow .woocommerce-MyAccount-content p:last-child{margin-bottom:0}
.ido-commerce-flow .woocommerce-MyAccount-content .woocommerce-orders-table,.ido-commerce-flow .woocommerce-MyAccount-content .shop_table{font-size:.9rem}
.ido-commerce-flow .woocommerce-MyAccount-content .button{white-space:nowrap}
.ido-commerce-flow .woocommerce form.login,.ido-commerce-flow .woocommerce form.register{padding:clamp(16px,2.4vw,26px);border-radius:14px;background:#fff}
.ido-commerce-flow .woocommerce form.login .button,.ido-commerce-flow .woocommerce form.register .button{white-space:nowrap}

/* The legacy archive rule forced three columns at every width; restore a mobile grid. */
@media(max-width:760px){
  .ido-shop-page .ido-shop-results .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
  .ido-shop-page .ido-shop-results .woocommerce ul.products li.product{min-width:0;padding:10px!important}
  #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results{padding:14px}
  #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product{grid-template-columns:minmax(0,1fr);gap:18px;padding:0}
  #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-product-gallery__image,#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-product-gallery__image img{min-height:clamp(250px,82vw,420px);max-height:420px}
  #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .summary{padding:4px 2px}
  #main-content.ido-commerce-flow .woocommerce-checkout #customer_details>.col-1,#main-content.ido-commerce-flow .woocommerce-checkout #customer_details>.col-2{padding:16px}
  .ido-commerce-flow__content--account-dashboard>.woocommerce{grid-template-columns:minmax(0,1fr);gap:14px}
  .ido-commerce-flow .woocommerce .woocommerce-MyAccount-navigation{float:none;width:100%;padding:0}
  .ido-commerce-flow .woocommerce-MyAccount-navigation,.ido-commerce-flow .woocommerce-MyAccount-content{grid-column:1}
  .ido-commerce-flow .woocommerce .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px}
  .ido-commerce-flow .woocommerce .woocommerce-MyAccount-content{float:none;width:100%;padding:16px}
  .ido-commerce-flow .woocommerce-order-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ido-commerce-flow .woocommerce-customer-details .col2-set{grid-template-columns:minmax(0,1fr)}
  .ido-commerce-flow .woocommerce .cart-collaterals{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:560px){
  .ido-commerce-flow{padding-block:22px 42px}
  .ido-commerce-flow__inner{width:min(100% - 24px,1080px)}
  .ido-commerce-flow__panel{padding:14px;border-radius:14px}
  .ido-commerce-flow__heading{margin-bottom:14px}
  .ido-commerce-flow__heading h1{font-size:clamp(1.8rem,9vw,2.4rem)}
  .ido-commerce-flow .woocommerce-checkout #customer_details{gap:12px}
  .ido-commerce-flow .woocommerce .woocommerce-billing-fields__field-wrapper,.ido-commerce-flow .woocommerce .woocommerce-shipping-fields__field-wrapper{grid-template-columns:minmax(0,1fr)}
  .ido-commerce-flow .woocommerce .woocommerce-billing-fields__field-wrapper .form-row-wide,.ido-commerce-flow .woocommerce .woocommerce-shipping-fields__field-wrapper .form-row-wide{grid-column:auto}
  .ido-commerce-flow .woocommerce form .form-row-first,.ido-commerce-flow .woocommerce form .form-row-last{float:none;width:100%}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table{display:block;width:100%;border:0;overflow:visible}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table tbody{display:grid;gap:12px}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table tr.cart_item{display:grid;grid-template-columns:68px minmax(0,1fr) 34px;gap:0 10px;padding:10px;border:1px solid #e2e9f1;border-radius:12px;background:#fff}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table tr.cart_item td{min-width:0;padding:7px 0;border:0;background:transparent}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail{grid-column:1;grid-row:1/6;align-self:start;padding:7px 0}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail img{width:60px;height:60px}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table tr.cart_item td.product-remove{grid-column:3;grid-row:1;justify-self:end}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table tr.cart_item td.product-name{grid-column:2;grid-row:1;align-self:center;padding-right:4px;font-size:.9rem}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table tr.cart_item td.product-price,.ido-commerce-flow .woocommerce-cart-form table.shop_table tr.cart_item td.product-quantity,.ido-commerce-flow .woocommerce-cart-form table.shop_table tr.cart_item td.product-subtotal{grid-column:2/4;display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:8px;border-top:1px solid #edf1f5;font-size:.84rem}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table tr.cart_item td.product-price{grid-row:2}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table tr.cart_item td.product-quantity{grid-row:3}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table tr.cart_item td.product-subtotal{grid-row:4}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table tr.cart_item td.product-price:before,.ido-commerce-flow .woocommerce-cart-form table.shop_table tr.cart_item td.product-quantity:before,.ido-commerce-flow .woocommerce-cart-form table.shop_table tr.cart_item td.product-subtotal:before{content:attr(data-title);color:#73839a;font-size:.76rem;font-weight:700}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table tr:not(.cart_item){display:block;width:100%}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table td.actions{display:flex!important;flex-direction:column;align-items:stretch;gap:9px;width:auto!important;padding:10px!important}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table td.actions .coupon{display:grid;grid-template-columns:minmax(0,1fr) auto;float:none;width:100%;max-width:none}
  .ido-commerce-flow .woocommerce-cart-form table.shop_table td.actions>button[name="update_cart"]{float:none;width:100%;margin:0}
  .ido-commerce-flow .woocommerce .cart_totals{padding:16px}
  .ido-commerce-flow .woocommerce table.shop_table th,.ido-commerce-flow .woocommerce table.shop_table td{padding:9px}
  .ido-commerce-flow .woocommerce table.shop_table_responsive tr td{white-space:normal}
  .ido-commerce-flow .woocommerce-order-overview{gap:8px}
  .ido-commerce-flow .woocommerce-order-overview li{padding:11px;font-size:.7rem}
  .ido-commerce-flow .woocommerce-order-overview li strong{font-size:.85rem}
  #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .product_title{font-size:1.65rem}
  #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.cart table.variations th{width:100%;display:block;padding-bottom:3px}
  #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.cart .single_add_to_cart_button{flex:1 1 190px}
  #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-tabs ul.tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}
  #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-tabs ul.tabs li{flex:0 0 auto}
}
@media(max-width:360px){
  .ido-shop-page .ido-shop-results .woocommerce ul.products{grid-template-columns:minmax(0,1fr)!important}
  .ido-commerce-flow .woocommerce-cart-form .actions .coupon{grid-template-columns:minmax(0,1fr)}
  .ido-commerce-flow .woocommerce-cart-form .actions .coupon .button{width:100%}
  .ido-commerce-flow .woocommerce .woocommerce-MyAccount-navigation ul{grid-template-columns:minmax(0,1fr)}
}

/* Block based Cart/Checkout use the same palette while retaining Woo's block scripts. */
.ido-commerce-flow .wc-block-cart,.ido-commerce-flow .wc-block-checkout{color:#18385f}
.ido-commerce-flow .wc-block-components-sidebar,.ido-commerce-flow .wc-block-components-order-summary,.ido-commerce-flow .wc-block-components-checkout-step{border-color:#e2e9f1;border-radius:14px}
.ido-commerce-flow .wc-block-components-button:not(.is-link){min-height:46px;border-radius:10px;background:#f36b24;color:#fff;font-weight:800}
@media(max-width:760px){.ido-commerce-flow__content--account-dashboard>.woocommerce{grid-template-columns:minmax(0,1fr)}.ido-commerce-flow .woocommerce-order-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* r4: match the rendered product markup (the product wrapper has no .woocommerce ancestor). */
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;align-items:start;gap:clamp(22px,4vw,56px);box-sizing:border-box;width:100%!important;float:none!important;position:relative}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.woocommerce-product-gallery{grid-column:1;grid-row:1;float:none!important;width:auto!important;max-width:100%;margin:0!important;box-sizing:border-box}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.summary{grid-column:2;grid-row:1;float:none!important;width:auto!important;max-width:100%;min-width:0;margin:0!important;box-sizing:border-box}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.woocommerce-tabs{grid-column:1/-1;grid-row:2;float:none!important;width:100%!important;clear:both;box-sizing:border-box}

/* Cart update remains disabled until Woo detects a changed quantity; keep that state legible. */
#main-content.ido-commerce-flow .woocommerce-cart-form .actions button[name="update_cart"]:disabled,
#main-content.ido-commerce-flow .woocommerce-cart-form .actions input[name="update_cart"]:disabled,
#main-content.ido-commerce-flow .woocommerce-cart-form .actions button[name="update_cart"].disabled,
#main-content.ido-commerce-flow .woocommerce-cart-form .actions input[name="update_cart"].disabled{background:#e4ebf3!important;border:1px solid #cad7e5!important;color:#536b85!important;opacity:1!important;box-shadow:none!important;cursor:not-allowed}

/* Receipt summary: override legacy float widths so all five facts align in one grid. */
#main-content.ido-commerce-flow .woocommerce-order .woocommerce-order-overview{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch;gap:10px;width:100%!important;max-width:100%;box-sizing:border-box}
#main-content.ido-commerce-flow .woocommerce-order .woocommerce-order-overview>li{display:block!important;float:none!important;width:auto!important;max-width:none!important;min-width:0!important;box-sizing:border-box;overflow-wrap:anywhere}
#main-content.ido-commerce-flow .woocommerce-order .woocommerce-order-overview>li strong{overflow-wrap:anywhere;word-break:break-word}

/* Account dashboard: an explicit vertical navigation rail on desktop, compact tabs on phones. */
#main-content.ido-commerce-flow.ido-commerce-flow--account .ido-commerce-flow__content--account-dashboard>.woocommerce{display:grid!important;grid-template-columns:minmax(180px,230px) minmax(0,1fr)!important;align-items:start;gap:18px}
#main-content.ido-commerce-flow.ido-commerce-flow--account .ido-commerce-flow__content--account-dashboard>.woocommerce>.woocommerce-MyAccount-navigation{grid-column:1;float:none!important;width:auto!important;min-width:0;box-sizing:border-box;padding:12px;border:1px solid #e2e9f1;border-radius:14px;background:#f8fafc}
#main-content.ido-commerce-flow.ido-commerce-flow--account .ido-commerce-flow__content--account-dashboard>.woocommerce>.woocommerce-MyAccount-navigation ul{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px;margin:0;padding:0;list-style:none}
#main-content.ido-commerce-flow.ido-commerce-flow--account .ido-commerce-flow__content--account-dashboard>.woocommerce>.woocommerce-MyAccount-navigation li{display:block;float:none!important;width:100%;margin:0}
#main-content.ido-commerce-flow.ido-commerce-flow--account .ido-commerce-flow__content--account-dashboard>.woocommerce>.woocommerce-MyAccount-navigation a{display:flex;min-height:42px;align-items:center;box-sizing:border-box;padding:10px 12px;border:1px solid #dce5ef;border-radius:9px;background:#fff;color:#17385f;text-decoration:none;font-weight:750}
#main-content.ido-commerce-flow.ido-commerce-flow--account .ido-commerce-flow__content--account-dashboard>.woocommerce>.woocommerce-MyAccount-navigation .is-active a{border-color:#123d78;background:#123d78;color:#fff}
#main-content.ido-commerce-flow.ido-commerce-flow--account .ido-commerce-flow__content--account-dashboard>.woocommerce>.woocommerce-MyAccount-content{grid-column:2;float:none!important;width:auto!important;min-width:0;box-sizing:border-box}
@media(max-width:760px){
 #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product{grid-template-columns:minmax(0,1fr)!important;gap:18px}
 #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.woocommerce-product-gallery,#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.summary,#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.woocommerce-tabs{grid-column:1;grid-row:auto}
 #main-content.ido-commerce-flow.ido-commerce-flow--account .ido-commerce-flow__content--account-dashboard>.woocommerce{grid-template-columns:minmax(0,1fr)!important}
 #main-content.ido-commerce-flow.ido-commerce-flow--account .ido-commerce-flow__content--account-dashboard>.woocommerce>.woocommerce-MyAccount-navigation,#main-content.ido-commerce-flow.ido-commerce-flow--account .ido-commerce-flow__content--account-dashboard>.woocommerce>.woocommerce-MyAccount-content{grid-column:1}
 #main-content.ido-commerce-flow.ido-commerce-flow--account .ido-commerce-flow__content--account-dashboard>.woocommerce>.woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #main-content.ido-commerce-flow .woocommerce-order .woocommerce-order-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:480px){#main-content.ido-commerce-flow .woocommerce-order .woocommerce-order-overview{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:360px){#main-content.ido-commerce-flow.ido-commerce-flow--account .ido-commerce-flow__content--account-dashboard>.woocommerce>.woocommerce-MyAccount-navigation ul{grid-template-columns:minmax(0,1fr)!important}}

/* Variable products: keep native Woo controls usable and show variation media as gallery thumbnails. */
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.variations_form table.variations{display:table!important;width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0 8px}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.variations_form table.variations th,#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.variations_form table.variations td{padding:8px 12px;vertical-align:middle;border:0}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.variations_form table.variations th{width:36%;color:#19375f;font-weight:750;text-align:left}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.variations_form table.variations select{box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:10px 40px 10px 13px;border:1px solid #cbd8e7;border-radius:10px;background-color:#fff;color:#18385f;font:inherit;line-height:1.35}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.variations_form table.variations select:focus{outline:3px solid #2d7fc533;outline-offset:1px;border-color:#2d7fc5}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.variations_form .reset_variations{display:inline-flex;margin:4px 0 0;color:#1e69a6;font-size:.88rem;text-decoration:underline}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.variations_form .single_variation_wrap{display:flex;flex:1 0 100%;flex-wrap:wrap;align-items:center;gap:12px;width:100%;margin-top:4px}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.variations_form .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:center;gap:10px;width:100%}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.variations_form .woocommerce-variation-price{flex:1 0 100%;margin:0 0 4px}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.variations_form .single_add_to_cart_button:disabled,
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.variations_form .single_add_to_cart_button.disabled{background:#aebdd0!important;color:#fff!important;opacity:1!important;box-shadow:none;cursor:not-allowed}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.variations_form .single_add_to_cart_button:not(:disabled):not(.disabled){background:linear-gradient(135deg,#f47723,#e84627)!important;color:#fff!important;opacity:1!important}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-product-gallery{overflow:hidden;border-radius:17px}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-product-gallery .flex-viewport{border-radius:16px}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-product-gallery ol.flex-control-thumbs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;float:none!important;width:100%!important;margin:10px 0 0!important;padding:0!important;list-style:none}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-product-gallery ol.flex-control-thumbs li{float:none!important;width:auto!important;min-width:0;margin:0!important;padding:0!important}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-product-gallery ol.flex-control-thumbs img{display:block;width:100%;height:76px;object-fit:contain;border:1px solid #e1e8f0;border-radius:9px;background:#fff;opacity:.72;cursor:pointer}
#main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-product-gallery ol.flex-control-thumbs img.flex-active{border-color:#17477f;opacity:1}

/* Receipt: reset legacy order-details floats regardless of the wrapper around the native Woo template. */
#main-content.ido-commerce-flow .woocommerce-order-overview,
#main-content.ido-commerce-flow ul.woocommerce-thankyou-order-details.order_details,
body.woocommerce-order-received #main-content .woocommerce-order-overview{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-flow:row;align-items:stretch;gap:10px;width:100%!important;max-width:100%!important;margin:8px 0 26px!important;padding:0!important;box-sizing:border-box;list-style:none}
#main-content.ido-commerce-flow .woocommerce-order-overview>li,
body.woocommerce-order-received #main-content .woocommerce-order-overview>li{display:block!important;position:static!important;float:none!important;clear:none!important;grid-column:auto!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:14px!important;box-sizing:border-box;overflow-wrap:anywhere;border:1px solid #e2e9f1;border-radius:11px;background:#f7f9fc;font-size:.76rem;text-align:left;text-transform:none}
#main-content.ido-commerce-flow .woocommerce-order-overview>li strong,
body.woocommerce-order-received #main-content .woocommerce-order-overview>li strong{display:block;margin-top:6px;overflow-wrap:anywhere;word-break:break-word;color:#153d78;font-size:.98rem}
@media(max-width:760px){
 #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-product-gallery ol.flex-control-thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}
 #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product .woocommerce-product-gallery ol.flex-control-thumbs img{height:64px}
 #main-content.ido-commerce-flow .woocommerce-order-overview,body.woocommerce-order-received #main-content .woocommerce-order-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:480px){
 #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.variations_form table.variations th{width:100%;display:block;padding:4px 2px}
 #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product form.variations_form table.variations td{display:block;padding:4px 2px}
 #main-content.ido-commerce-flow .woocommerce-order-overview,body.woocommerce-order-received #main-content .woocommerce-order-overview{grid-template-columns:minmax(0,1fr)!important}
}

/* Blade owns the product order: title, price, cart, gallery, then other Woo content. */
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product{
 display:flex!important;
 flex-direction:column;
 align-items:stretch!important;
 gap:0!important;
 float:none!important;
 width:100%!important;
 position:relative;
 box-sizing:border-box;
}
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.summary,
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.ido-product-gallery-slot,
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.ido-product-details-slot{display:block!important;float:none!important;width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box}
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.summary{order:1;padding:0 0 4px!important;margin:0!important}
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.summary>.product_title{margin:0 0 12px}
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.summary>.price{margin:0 0 16px}
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.summary>form.cart{margin:0 0 20px}
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.summary>.ido-product-quote-single{width:max-content;max-width:100%;margin:0 0 20px}
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.ido-product-gallery-slot{order:2;position:relative;margin:0 0 26px}
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.ido-product-gallery-slot .woocommerce-product-gallery,
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.ido-product-gallery-slot>.images{float:none!important;width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box}
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.ido-product-gallery-slot .woocommerce-product-gallery__image{min-height:clamp(280px,42vw,560px);border:1px solid #e8eef5;border-radius:18px;background:linear-gradient(145deg,#f9fbfd,#f2f6fa)}
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.ido-product-gallery-slot .woocommerce-product-gallery__image img{display:block;width:100%;height:auto;max-height:560px;min-height:clamp(280px,42vw,560px);object-fit:contain}
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.ido-product-gallery-slot span.onsale{position:absolute!important;top:14px!important;left:14px!important;right:auto!important;z-index:5;display:inline-flex!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:8px 12px!important;border:0!important;border-radius:999px!important;background:linear-gradient(135deg,#ff7a22,#e94225)!important;color:#fff!important;font-size:.74rem!important;font-weight:850!important;line-height:1.15!important;box-shadow:0 8px 20px #db502633!important}
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.ido-product-details-slot{order:3;padding-top:2px}
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.ido-product-details-slot .woocommerce-tabs,
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.ido-product-details-slot>.related,
body.single-product #main-content.ido-shop-page.ido-shop-page--single-product .ido-shop-results div.product>.ido-product-details-slot>.upsells{float:none!important;width:100%!important;max-width:none!important;clear:both;box-sizing:border-box}

/* The sticky bar delegates clicks to Woo's native form, including variation validation. */
.ido-sticky-purchase{position:fixed;z-index:10020;right:0;bottom:0;left:0;box-sizing:border-box;padding:10px max(16px,env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom));border-top:1px solid #dce5ef;background:rgba(255,255,255,.97);box-shadow:0 -10px 30px #102d5018;backdrop-filter:blur(12px);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(110%);transition:opacity .2s ease,transform .2s ease,visibility .2s ease}
.ido-sticky-purchase.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.ido-sticky-purchase__inner{display:grid;grid-template-columns:52px minmax(0,1fr) auto auto;align-items:center;gap:14px;width:min(100%,1240px);margin:0 auto}
.ido-sticky-purchase__image{display:block;width:52px;height:52px;overflow:hidden;border:1px solid #e2e9f1;border-radius:10px;background:#f5f8fb}
.ido-sticky-purchase__image img{display:block;width:100%;height:100%;object-fit:contain}
.ido-sticky-purchase__details{display:grid;min-width:0;gap:4px}
.ido-sticky-purchase__title{overflow:hidden;color:#16365e;font-size:.9rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.ido-sticky-purchase__price,.ido-sticky-purchase__current-price{color:#db541d;font-size:.9rem;font-weight:850}
.ido-sticky-purchase__price del,.ido-sticky-purchase__current-price del{margin-right:6px;color:#8492a5;font-size:.82em;font-weight:500}
.ido-sticky-purchase__price ins,.ido-sticky-purchase__current-price ins{text-decoration:none}
.ido-sticky-purchase__current-price{display:none}
.ido-sticky-purchase__button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:11px 19px;border:0;border-radius:9px;background:linear-gradient(135deg,#f47723,#e84627);color:#fff;font:inherit;font-size:.9rem;font-weight:850;white-space:nowrap;cursor:pointer;box-shadow:0 7px 18px #e9552728}
.ido-sticky-purchase__button:hover{background:#d93c20}
.ido-sticky-purchase__button.is-unavailable{background:#8093ad;box-shadow:none}
@media(max-width:640px){
 .ido-sticky-purchase{padding-right:max(12px,env(safe-area-inset-right));padding-left:max(12px,env(safe-area-inset-left))}
 .ido-sticky-purchase__inner{grid-template-columns:44px minmax(0,1fr) auto;gap:10px}
 .ido-sticky-purchase__image{width:44px;height:44px}
 .ido-sticky-purchase__title{font-size:.78rem}
 .ido-sticky-purchase__price{display:none}
 .ido-sticky-purchase__current-price{display:block;grid-column:2;grid-row:2;font-size:.8rem}
 .ido-sticky-purchase__button{grid-column:3;grid-row:1 / span 2;min-height:44px;padding:10px 13px;font-size:.8rem}
}
@media(max-width:360px){.ido-sticky-purchase__inner{grid-template-columns:38px minmax(0,1fr) auto;gap:8px}.ido-sticky-purchase__image{width:38px;height:38px}.ido-sticky-purchase__button{padding:9px 10px;font-size:.74rem}}
@media(prefers-reduced-motion:reduce){.ido-sticky-purchase{transition:none}}
