/* Copyright 2026 Btipe Tech. Commerce studio: native WooCommerce controls. */
body.edy-custom .edy-flow{--studio-blue:#2159e8;--studio-ink:#101c32;--studio-line:#dce4ef;max-width:1240px!important;margin-inline:auto!important;padding:24px clamp(16px,3vw,36px)!important;color:var(--studio-ink);font-size:16px;line-height:1.55}
.edy-flow .edy-flow-head{background:#fff!important;color:var(--studio-ink)!important;border:1px solid var(--studio-line);border-bottom:0;min-height:0!important;padding:28px!important;box-shadow:none!important;overflow:hidden}.edy-flow .edy-flow-head:before,.edy-flow .edy-flow-head:after{display:none!important}.edy-flow .edy-flow-head h2{color:var(--studio-ink)!important;font-size:clamp(26px,3vw,38px)!important;letter-spacing:-.045em}.edy-flow .edy-flow-head p,.edy-flow .edy-flow-kicker{color:#52647e!important}.edy-flow .edy-flow-head a{color:var(--studio-blue)!important;background:#f8eef0!important;border:0!important}.edy-flow .edy-flow-steps{margin-bottom:24px!important;box-shadow:none!important}.edy-flow .edy-flow-intro{display:none!important}
body.edy-custom .edy-flow-content .wc-block-components-sidebar-layout{grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:24px!important}.edy-flow .wc-block-cart__main,.edy-flow .wc-block-checkout__main,.edy-flow .wc-block-cart__sidebar,.edy-flow .wc-block-checkout__sidebar{border:1px solid var(--studio-line)!important;box-shadow:0 8px 32px #13274b08!important;padding:24px!important;border-radius:20px!important}.edy-flow .edy-studio-label{font-size:20px;font-weight:750;letter-spacing:-.025em;margin:0 0 20px;color:var(--studio-ink)}
.edy-flow .wc-block-cart-items thead{display:none!important}.edy-flow .wc-block-cart-items tbody tr{display:grid!important;grid-template-columns:96px minmax(0,1fr) auto;gap:16px;align-items:start;padding:20px 0!important;border:0!important;border-bottom:1px solid var(--studio-line)!important;border-radius:0!important;box-shadow:none!important}.edy-flow .wc-block-cart-items tbody td{display:block!important;width:auto!important;max-width:none!important;padding:0!important;border:0!important;text-align:left!important}.edy-flow .wc-block-cart-item__image img{width:96px!important;height:96px!important;object-fit:contain;background:#f5f7fb}.edy-flow .wc-block-components-product-name{font-size:16px!important;font-weight:650!important;text-decoration:none!important;color:var(--studio-ink)!important}.edy-flow .wc-block-cart-item__total{justify-self:end}.edy-flow .wc-block-cart-item__total-price-and-sale-badge{font-weight:700}.edy-flow .wc-block-cart-item__remove-link{font-size:13px!important;text-decoration:underline!important}.edy-flow .wc-block-components-quantity-selector{background:#f5f7fb!important;min-height:44px!important}
.edy-flow .wc-block-components-checkout-step{border:0!important;margin:0 0 22px!important;padding:0 0 22px!important;border-bottom:1px solid var(--studio-line)!important}.edy-flow .wc-block-components-checkout-step__title{display:flex;align-items:center;gap:12px;font-size:21px!important}.edy-flow .wc-block-components-checkout-step__title:before{content:counter(edy-step,decimal-leading-zero)!important;position:static!important;display:inline-grid!important;place-items:center;width:36px;height:36px;flex:none;border-radius:12px;background:#eaf0ff;color:#2159e8;font-size:13px;font-weight:800}.edy-flow .wc-block-checkout__main{counter-reset:edy-step}.edy-flow .wc-block-components-checkout-step{counter-increment:edy-step}.edy-flow .wc-block-components-text-input input{min-height:56px!important;background:#f8faff!important;border:1px solid #c6d3e5!important}.edy-flow .wc-block-components-radio-control__option{display:flex;align-items:center;min-height:64px;padding:16px!important;box-sizing:border-box}.edy-flow .wc-block-components-radio-control__input{position:relative!important;inset:auto!important;transform:none!important;margin:0 12px 0 0!important;flex:none}.edy-flow .wc-block-components-radio-control__label{font-weight:650}.edy-flow .wc-block-components-radio-control-accordion-option{border-radius:14px!important;overflow:hidden}.edy-flow .wc-block-components-radio-control-accordion-content{padding:12px 18px!important;background:#f5f8ff}.edy-flow .wc-block-components-order-summary-item{display:grid!important;grid-template-columns:56px minmax(0,1fr)!important;gap:10px;padding:12px!important}.edy-flow .wc-block-components-order-summary-item__image{width:56px!important}.edy-flow .wc-block-components-order-summary-item__total-price{grid-column:2;text-align:right;justify-self:stretch}.edy-flow .wc-block-components-order-summary-item__description{min-width:0}.edy-flow .wc-block-components-totals-footer-item{margin-top:12px!important}.edy-flow .wc-block-components-totals-item__value{white-space:nowrap}.edy-flow .wc-block-components-checkout-place-order-button,.edy-flow .wc-block-cart__submit-button{min-height:56px!important;font-size:16px!important}
.edy-flow .wp-block-woocommerce-empty-cart-block{padding:32px 20px!important}.edy-flow .edy-empty-symbol{width:104px;height:104px;background:#eaf1ff;animation:edy-studio-float 3s ease-in-out infinite}.edy-flow .wp-block-woocommerce-empty-cart-block h2{font-size:clamp(24px,3vw,34px)!important;letter-spacing:-.035em}.edy-flow .wc-block-grid__products,.edy-flow .wc-block-product-template{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px!important;margin:24px 0 0!important;padding:0!important;list-style:none!important}.edy-flow .wc-block-grid__products > li,.edy-flow .wc-block-product-template > li{display:flex!important;flex-direction:column;align-items:stretch;max-width:none!important;width:auto!important;flex:none!important;margin:0!important;text-align:left!important;padding:16px!important}.edy-flow .wc-block-grid__product-link,.edy-flow .wc-block-grid__product-title,.edy-flow .wc-block-product-template a:not(.wp-block-button__link){color:var(--studio-ink)!important;text-decoration:none!important}.edy-flow .wc-block-grid__product-title{font-size:15px!important;line-height:1.45!important}.edy-flow .wc-block-grid__product-price{margin-top:auto!important}.edy-flow .wc-block-grid__product-add-to-cart{margin-top:auto!important}.edy-flow .wc-block-grid__product-add-to-cart a{display:flex!important;align-items:center;justify-content:center;width:100%;box-sizing:border-box}.edy-flow .edy-flow-help{margin-top:28px!important}.edy-flow .edy-studio-label{animation:edy-shop-enter .45s ease-out both}@keyframes edy-studio-float{50%{transform:translateY(-5px)}}
@media(max-width:900px){body.edy-custom .edy-flow-content .wc-block-components-sidebar-layout{grid-template-columns:minmax(0,1fr)}.edy-flow .wc-block-grid__products,.edy-flow .wc-block-product-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:540px){body.edy-custom .edy-flow{padding:12px!important}.edy-flow .edy-flow-head{padding:18px!important}.edy-flow .wc-block-cart__main,.edy-flow .wc-block-checkout__main,.edy-flow .wc-block-cart__sidebar,.edy-flow .wc-block-checkout__sidebar{padding:16px!important}.edy-flow .wc-block-cart-items tbody tr{grid-template-columns:64px minmax(0,1fr);gap:12px}.edy-flow .wc-block-cart-item__image img{width:64px!important;height:64px!important}.edy-flow .wc-block-cart-item__total{grid-column:2;justify-self:start}.edy-flow .wc-block-grid__products > li,.edy-flow .wc-block-product-template > li{padding:10px!important}.edy-flow .wc-block-grid__product-title{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){.edy-flow *,.edy-flow *:before,.edy-flow *:after{animation:none!important;transition:none!important}}

/* Empty basket only: suppress legacy recommendations, including client-rendered blocks. */
.edy-flow .wp-block-woocommerce-empty-cart-block :is(.wp-block-woocommerce-product-new,.wp-block-woocommerce-product-collection,.wp-block-woocommerce-all-products,.wc-block-grid,.wc-block-product-template,.wp-block-separator){display:none!important}
.edy-flow .edy-empty-clean{text-align:center;min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#fff;border:1px solid #dce5f2;border-radius:20px;box-sizing:border-box}
.edy-flow .edy-empty-clean h2,.edy-flow .edy-empty-clean p{margin:0!important}.edy-flow .edy-empty-shop{display:inline-flex;padding:14px 24px;background:#802c36;color:#fff!important;border-radius:10px;text-decoration:none!important;font-weight:700}.edy-flow .edy-empty-shop:hover{background:#1745b5}.edy-flow .edy-empty-shop:focus-visible{outline:3px solid #93c5fd;outline-offset:3px}

/* 1.4.0: native empty block stays under WooCommerce control; guard against stale markup. */
.edy-flow:has(.wc-block-cart-items tbody .wc-block-cart-items__row) .wp-block-woocommerce-empty-cart-block,
.edy-flow:has(.wc-block-cart-item__product) .wp-block-woocommerce-empty-cart-block,
.edy-flow:has(.woocommerce-cart-form .cart_item) .wp-block-woocommerce-empty-cart-block{display:none!important}
.edy-flow .wp-block-woocommerce-empty-cart-block:has(.edy-empty-clean){padding:0!important;border:0;background:transparent}
/* Confirmation motion is scoped to the order endpoint, not enquiry confirmations. */
body.woocommerce-order-received .edy-confirm-hero .edy-confirm-check{animation:edy-order-pop-140 .85s cubic-bezier(.2,.8,.25,1.25) both}
body.woocommerce-order-received .edy-confirm-hero .edy-confirm-check path{stroke-dasharray:50;animation:edy-confirm-draw .65s .35s both}
body.woocommerce-order-received .edy-confirm-hero h2{animation:edy-order-reveal-140 .65s .25s both}
body.woocommerce-order-received .edy-confirm-hero strong{animation:edy-order-reveal-140 .65s .55s both}
body.woocommerce-order-received .edy-confirm-hero .edy-confirm-check circle:first-child{transform-origin:center;animation:edy-order-ring-140 1.4s .5s ease-out 2}
@keyframes edy-order-pop-140{0%{opacity:0;transform:scale(.45)}70%{opacity:1;transform:scale(1.12)}100%{opacity:1;transform:scale(1)}}
@keyframes edy-order-reveal-140{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes edy-order-ring-140{0%,100%{opacity:1;transform:scale(1)}65%{opacity:.3;transform:scale(1.12)}}
@media(prefers-reduced-motion:reduce){body.woocommerce-order-received .edy-confirm-hero *{animation:none!important;transition:none!important}}

/* 1.4.1: restore animated journey hero without changing native cart state. */
body.edy-commerce-journey .page-header,
body.edy-commerce-journey main > .entry-title,
body.edy-commerce-journey main .woocommerce-breadcrumb{display:none!important}
.edy-flow .edy-flow-head{background:linear-gradient(115deg,#0b1730,#183b83 65%,#802c36)!important;color:#fff!important;border-color:transparent;min-height:160px!important;padding:clamp(24px,4vw,44px)!important}
.edy-flow .edy-flow-head:after{display:block!important;animation:edy-orbit 6s ease-in-out infinite alternate}
.edy-flow .edy-flow-head h2{color:#fff!important;font-size:clamp(30px,4vw,44px)!important;animation:edy-order-reveal-140 .7s .12s both}
.edy-flow .edy-flow-head p{color:#dbeafe!important;animation:edy-order-reveal-140 .7s .24s both}
.edy-flow .edy-flow-kicker{display:inline-block;color:#bfdbfe!important;animation:edy-order-reveal-140 .6s both}
.edy-flow .edy-flow-head a{color:#fff!important;background:#ffffff18!important;border:1px solid #ffffff55!important;animation:edy-order-reveal-140 .7s .3s both;white-space:normal}
.edy-flow .edy-flow-head a:hover{background:#ffffff30!important}
@media(max-width:540px){.edy-flow .edy-flow-head{min-height:0!important;padding:24px!important}}
@media(prefers-reduced-motion:reduce){.edy-flow .edy-flow-head,.edy-flow .edy-flow-head *,.edy-flow .edy-flow-head:after{animation:none!important;transition:none!important}}
