/* ==================================================================
 * Wave 4 — end-to-end purchase flow (Mobbin-grounded).
 * Loaded only when hachayal_flow_on() (kill: option hachayal_purchase_flow=0).
 * PDP qty stepper + buy-now · side-cart drawer · checkout stepper ·
 * cart cards + sticky totals · checkout 2-col + sticky summary · thank-you.
 * ================================================================== */
:root{--hc-okd:#157A3C;--hc-err:#8A1C12;--hc-lock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E")}

/* ---------- Qty stepper (PDP + cart) ---------- */
.woocommerce .quantity:has(> .hc-qty__btn){
	display:inline-flex;align-items:stretch;flex:0 0 auto;min-height:48px;margin:0;
	border:1.5px solid var(--hc-line);border-radius:12px;background:#fff;overflow:hidden;
	transition:border-color .15s,box-shadow .15s
}
.woocommerce .quantity:has(> .hc-qty__btn):focus-within{border-color:var(--hc-navy);box-shadow:0 0 0 3px rgba(20,50,75,.14)}
.woocommerce .quantity:has(> .hc-qty__btn) .qty{
	width:3rem;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;
	text-align:center;font-weight:700;font-size:16px;color:var(--hc-ink);-moz-appearance:textfield;appearance:textfield
}
.woocommerce .quantity:has(> .hc-qty__btn) .qty:focus{outline:0}
.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.hc-qty__btn{
	width:44px;min-height:44px;padding:0;border:0;background:transparent;color:var(--hc-navy);
	display:grid;place-items:center;cursor:pointer;transition:background .15s,color .15s
}
.hc-qty__btn svg{width:18px;height:18px}
.hc-qty__btn:hover:not(:disabled){background:var(--hc-mist)}
.hc-qty__btn:focus-visible{outline:3px solid var(--hc-accent);outline-offset:-3px}
.hc-qty__btn:disabled{color:#B5C0CB;cursor:not-allowed}
.woocommerce .quantity:has(> input[type=hidden]) > .hc-qty__btn,
.woocommerce .quantity:has(> input[readonly]) > .hc-qty__btn{display:none}

/* ---------- PDP: ATC row + buy-now ---------- */
.woocommerce div.product form.cart:not(.variations_form):not(.grouped_form),
.woocommerce div.product .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:stretch;gap:.6rem}
.woocommerce div.product form.cart .quantity{margin:0}
.woocommerce div.product form.cart div.quantity:has(> .hc-qty__btn){display:inline-flex}
.woocommerce div.product form.cart button.single_add_to_cart_button{
	flex:1 1 9rem;min-height:52px;margin:0;border-radius:12px;font-weight:700;
	display:inline-flex;align-items:center;justify-content:center;gap:.45rem;transition:background .15s,transform .1s
}
.woocommerce div.product form.cart .single_add_to_cart_button:active{transform:scale(.985)}
.woocommerce div.product form.cart .single_add_to_cart_button.is-busy{cursor:progress;opacity:.9}
.woocommerce div.product form.cart .single_add_to_cart_button.is-added{background:var(--hc-okd)!important;color:#fff}
.woocommerce div.product form.cart .single_add_to_cart_button svg{width:20px;height:20px}
.woocommerce div.product form.cart .hc-buy-now{
	flex:1 1 100%;min-height:50px;margin:0;border-radius:12px;
	display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
	background:#fff;color:var(--hc-navy);border:2px solid var(--hc-navy);font-weight:700;font-size:1.02rem;
	cursor:pointer;transition:background .15s,color .15s
}
.woocommerce div.product form.cart .hc-buy-now:hover{background:var(--hc-navy);color:#fff}
.woocommerce div.product form.cart .hc-buy-now:focus-visible{outline:3px solid var(--hc-accent);outline-offset:2px}
.hc-buy-now__ico{width:18px;height:18px}
.hc-atc-msg{flex:1 1 100%;margin:0;padding:.65rem .85rem;border-radius:10px;font-size:.92rem;font-weight:600;line-height:1.4}
.hc-atc-msg.is-error{background:#FDECEA;color:var(--hc-err)}
.hc-atc-msg.is-ok{background:#EAF6EE;color:#14532D}
.hc-atc-msg a{color:inherit;text-decoration:underline}

/* Archive AJAX add → the drawer replaces WC's "view cart" link. */
body.hc-flow-js .added_to_cart.wc-forward{display:none!important}

/* ---------- Side-cart drawer ---------- */
html.hc-drawer-lock,html.hc-drawer-lock body{overflow:hidden}
.hc-drawer{position:fixed;inset:0;z-index:10000}
.hc-drawer[hidden]{display:none}
.hc-drawer__scrim{position:absolute;inset:0;background:rgba(10,20,30,.5);opacity:0;transition:opacity .25s ease}
.hc-drawer__panel{
	position:absolute;top:0;bottom:0;inset-inline-end:0;width:min(420px,100%);
	display:flex;flex-direction:column;background:#fff;outline:0;
	box-shadow:0 0 40px rgba(10,20,30,.25);transform:translateX(-100%);
	transition:transform .3s cubic-bezier(.2,.8,.2,1)
}
html:not([dir=rtl]) .hc-drawer__panel{transform:translateX(100%)}
.hc-drawer.is-open .hc-drawer__scrim{opacity:1}
.hc-drawer.is-open .hc-drawer__panel{transform:none}
.hc-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem .75rem .75rem 1.1rem;padding-inline:1.1rem .6rem;border-bottom:1px solid var(--hc-line)}
.hc-drawer__title{margin:0;font-size:1.2rem;font-weight:700;color:var(--hc-navy)}
.hc-drawer__x{width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--hc-ink);display:grid;place-items:center;cursor:pointer}
.hc-drawer__x:hover{background:var(--hc-mist)}
.hc-drawer :focus-visible{outline:3px solid var(--hc-accent);outline-offset:2px}
.hc-drawer__status:empty{display:none}
.hc-drawer__status{
	display:flex;align-items:center;gap:.5rem;margin:.75rem 1.1rem 0;padding:.65rem .85rem;border-radius:10px;
	background:#EAF6EE;color:#14532D;font-weight:700;font-size:.92rem
}
.hc-drawer__status svg{width:18px;height:18px;flex:0 0 auto}
.hc-drawer__status.is-error{background:#FDECEA;color:var(--hc-err)}
.hc-drawer__body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;transition:opacity .15s}
.hc-drawer.is-busy .hc-drawer__body{opacity:.55;pointer-events:none}
.hc-drawer__count{margin:.85rem 1.1rem .1rem;font-size:.85rem;color:var(--hc-muted)}
.hc-drawer__items{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;list-style:none;margin:0;padding:0 1.1rem}
.hc-drawer__item{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:.85rem;align-items:start;padding:.9rem 0;border-bottom:1px solid var(--hc-line)}
.hc-drawer__item:last-child{border-bottom:0}
.hc-drawer__thumb{display:block}
.hc-drawer__thumb img{display:block;width:72px;height:72px;object-fit:cover;border-radius:10px;border:1px solid var(--hc-line);background:var(--hc-mist)}
.hc-drawer__info{min-width:0}
.hc-drawer__name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--hc-ink);font-weight:700;font-size:.95rem;line-height:1.3;text-decoration:none}
a.hc-drawer__name:hover{color:var(--hc-navy);text-decoration:underline}
.hc-drawer__meta{font-size:.8rem;color:var(--hc-muted)}
.hc-drawer__meta dl{margin:.2rem 0 0;display:flex;flex-wrap:wrap;gap:0 .3rem}
.hc-drawer__meta dt,.hc-drawer__meta dd{margin:0;float:none;font-weight:400}
.hc-drawer__meta dd p{margin:0;display:inline}
.hc-drawer__qty{display:block;margin-top:.3rem;font-size:.82rem;color:var(--hc-muted)}
.hc-drawer__end{display:flex;flex-direction:column;align-items:flex-end;gap:.45rem}
.hc-drawer__line{font-weight:700;color:var(--hc-navy);white-space:nowrap}
.hc-drawer__remove{width:40px;height:40px;border:1px solid var(--hc-line);border-radius:10px;background:#fff;color:var(--hc-muted);display:grid;place-items:center;cursor:pointer;transition:color .15s,border-color .15s}
.hc-drawer__remove svg{width:18px;height:18px}
.hc-drawer__remove:hover{color:#B3261E;border-color:#B3261E}
.hc-drawer__foot{flex:0 0 auto;padding:1rem 1.1rem calc(1rem + env(safe-area-inset-bottom));border-top:1px solid var(--hc-line);background:#fff;box-shadow:0 -6px 18px rgba(20,50,75,.06)}
.hc-drawer__row{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.35rem}
.hc-drawer__row strong{font-size:1.25rem;color:var(--hc-navy)}
.hc-drawer__row--disc{color:var(--hc-okd);font-size:.9rem}
.hc-drawer__ship{display:flex;align-items:center;gap:.45rem;margin:.15rem 0 .9rem;font-size:.82rem;color:var(--hc-muted)}
.hc-drawer__ship svg{width:18px;height:18px;flex:0 0 auto;stroke:var(--hc-navy)}
.hc-drawer__cta{
	display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;min-height:52px;
	border-radius:12px;background:var(--hc-cta);color:#fff!important;font-weight:700;font-size:1.05rem;text-decoration:none;
	transition:background .15s
}
.hc-drawer__cta:hover{background:var(--hc-cta-dark)}
.hc-drawer__cta svg{width:19px;height:19px}
.hc-drawer__cart{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:.4rem;color:var(--hc-navy);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.hc-drawer__empty{margin:auto;padding:2rem 1.5rem;display:flex;flex-direction:column;align-items:center;gap:.4rem;text-align:center}
.hc-drawer__empty-ico{width:76px;height:76px;border-radius:50%;background:var(--hc-mist);color:var(--hc-navy);display:grid;place-items:center}
.hc-drawer__empty-ico svg{width:34px;height:34px}
.hc-drawer__empty-title{margin:.6rem 0 0;font-size:1.15rem;font-weight:700;color:var(--hc-navy)}
.hc-drawer__empty-sub{margin:0 0 .8rem;color:var(--hc-muted)}
.hc-drawer__empty .hc-drawer__cta{width:auto;padding:0 1.75rem}
.hc-drawer__skel{display:grid;gap:.9rem;padding:1.1rem}
.hc-drawer__skel span{display:block;height:72px;border-radius:10px;background:linear-gradient(90deg,var(--hc-mist) 0%,#E9EDF1 50%,var(--hc-mist) 100%);background-size:200% 100%;animation:hc-shimmer 1.2s linear infinite}
@keyframes hc-shimmer{to{background-position:-200% 0}}

/* ---------- Checkout progress stepper ---------- */
.hc-steps{margin:0 0 1.75rem}
.hc-steps__list{list-style:none;margin:0 auto;padding:0;display:flex;max-width:620px}
.hc-steps__item{flex:1 1 0;position:relative;display:flex;flex-direction:column;align-items:center;gap:.4rem;text-align:center;font-size:.85rem;color:var(--hc-muted)}
.hc-steps__item::before{content:"";position:absolute;top:15px;height:2px;inset-inline-start:calc(-50% + 22px);inset-inline-end:calc(50% + 22px);background:var(--hc-line);border-radius:2px}
.hc-steps__item:first-child::before{display:none}
.hc-steps__item.is-done::before,.hc-steps__item.is-current::before{background:var(--hc-okd)}
.hc-steps__link{display:flex;flex-direction:column;align-items:center;gap:.4rem;color:inherit;text-decoration:none;border-radius:10px}
.hc-steps__link:hover .hc-steps__label{text-decoration:underline}
.hc-steps__dot{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;position:relative;z-index:1;border:2px solid var(--hc-line);background:#fff;color:var(--hc-muted);font-weight:700;font-size:.9rem}
.hc-steps__dot svg{width:16px;height:16px;stroke-width:3}
.hc-steps__item.is-current .hc-steps__dot{border-color:var(--hc-navy);background:var(--hc-navy);color:#fff;box-shadow:0 0 0 4px rgba(20,50,75,.12)}
.hc-steps__item.is-done .hc-steps__dot{border-color:var(--hc-okd);background:var(--hc-okd);color:#fff}
.hc-steps__item.is-current .hc-steps__label{color:var(--hc-navy);font-weight:700}
.hc-steps__item.is-done .hc-steps__label{color:var(--hc-ink)}

/* ---------- Cart ---------- */
.woocommerce-cart table.shop_table.cart td.product-name a{color:var(--hc-ink);font-weight:700;text-decoration:none}
.woocommerce-cart table.shop_table.cart td.product-name a:hover{color:var(--hc-navy);text-decoration:underline}
.woocommerce-cart table.shop_table.cart td.product-name dl.variation{margin:.3rem 0 0;font-size:.82rem;color:var(--hc-muted)}
.woocommerce-cart table.shop_table.cart td.product-subtotal{font-weight:700;color:var(--hc-navy)}
.woocommerce-cart table.cart img{width:80px;height:80px;object-fit:cover;border:1px solid var(--hc-line)}
.woocommerce-cart table.shop_table.cart a.remove{
	display:flex!important;align-items:center;justify-content:center;width:40px!important;height:40px!important;
	line-height:1!important;font-size:1.35rem;border:1px solid var(--hc-line);border-radius:10px;background:#fff
}
.woocommerce-cart table.shop_table.cart a.remove:hover{background:#B3261E!important;border-color:#B3261E}
.woocommerce-cart table.shop_table.cart td.actions{text-align:start}
.hc-coupon-toggle{
	display:inline-flex;align-items:center;gap:.35rem;min-height:44px;padding:0;border:0;background:none;
	color:var(--hc-navy);font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer
}
.hc-coupon-toggle svg{width:18px;height:18px;transition:transform .2s}
.hc-coupon-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.woocommerce-cart td.actions .coupon[hidden]{display:none!important}
body.hc-flow-js .woocommerce-cart-form td.actions .coupon{display:flex;flex-wrap:wrap;gap:.5rem;float:none;margin:.35rem 0 0;max-width:30rem}
body.hc-flow-js .woocommerce-cart-form td.actions .coupon .input-text{flex:1 1 10rem;width:auto!important;min-height:48px;font-size:16px;margin:0}
body.hc-flow-js .woocommerce-cart-form td.actions .coupon .button{flex:0 0 auto;width:auto!important;min-height:48px;margin:0}
body.hc-flow-js .woocommerce-cart-form [name=update_cart]{display:none!important}
body.hc-flow-js .woocommerce-cart-form.is-updating{opacity:.6;pointer-events:none;transition:opacity .15s}

/* Totals card: flex rows, shipping methods as selectable cards. */
.woocommerce-cart .cart-collaterals .cart_totals{float:none;width:100%;background:#fff;border:1px solid var(--hc-line);border-radius:var(--hc-radius-lg);padding:1.25rem;box-shadow:var(--hc-shadow)}
.woocommerce-cart .cart_totals h2{font-size:1.2rem;margin:0 0 .4rem}
.woocommerce-cart .cart_totals table.shop_table,
.woocommerce-cart .cart_totals table.shop_table tbody{display:block;border:0;border-radius:0;overflow:visible}
.woocommerce-cart .cart_totals table.shop_table tr{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.3rem 1rem;padding:.75rem 0;border-top:1px solid var(--hc-line)}
.woocommerce-cart .cart_totals table.shop_table tr:first-child{border-top:0}
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td{display:block;width:auto;padding:0;border:0;background:none!important;text-align:start!important;color:var(--hc-ink)}
.woocommerce-cart .cart_totals table.shop_table th{font-weight:700}
.woocommerce-cart .cart_totals table.shop_table td::before{display:none!important}
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals{flex-direction:column;align-items:stretch}
.woocommerce-cart .cart_totals tr.order-total th,
.woocommerce-cart .cart_totals tr.order-total td{font-size:1.1rem;color:var(--hc-navy)}
.woocommerce-cart .cart_totals tr.order-total .amount{font-size:1.4rem}
.woocommerce ul#shipping_method{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.woocommerce ul#shipping_method li{
	display:flex;align-items:center;gap:.6rem;margin:0;padding:.75rem .85rem;text-indent:0;
	border:1.5px solid var(--hc-line);border-radius:12px;background:#fff;line-height:1.35;cursor:pointer;transition:border-color .15s,background .15s
}
.woocommerce ul#shipping_method li:has(input:checked){border-color:var(--hc-navy);background:#F2F6FA}
.woocommerce ul#shipping_method li input{margin:0;flex:0 0 auto;width:18px;height:18px;accent-color:var(--hc-navy)}
.woocommerce ul#shipping_method li label{margin:0;cursor:pointer;font-weight:600;color:var(--hc-ink)}
.woocommerce ul#shipping_method li label .amount{font-weight:700;color:var(--hc-navy)}
.woocommerce .woocommerce-shipping-destination{margin:.5rem 0 0;font-size:.82rem;color:var(--hc-muted)}
.woocommerce .shipping-calculator-button{font-size:.85rem;color:var(--hc-navy);font-weight:700}
.woocommerce-cart .wc-proceed-to-checkout{padding:1rem 0 0}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #payment #place_order{
	display:flex;align-items:center;justify-content:center;gap:.55rem;width:100%;min-height:56px;margin:0;float:none;
	border:0;border-radius:12px;background:var(--hc-cta);color:#fff;font-size:1.12rem;font-weight:700;
	box-shadow:0 6px 16px rgba(180,83,9,.22);transition:background .15s,transform .1s
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #payment #place_order:hover{background:var(--hc-cta-dark)}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:active,
.woocommerce-checkout #payment #place_order:active{transform:scale(.99)}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button::before,
.woocommerce-checkout #payment #place_order::before{
	content:"";flex:0 0 auto;width:20px;height:20px;background:currentColor;
	-webkit-mask:var(--hc-lock) center/contain no-repeat;mask:var(--hc-lock) center/contain no-repeat
}

@media (min-width:1000px){
	.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form){
		display:grid;grid-template-columns:minmax(0,1fr) 380px;column-gap:2rem;align-items:stretch
	}
	.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form) > *{grid-column:1/-1}
	.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form) > form.woocommerce-cart-form{grid-column:1;margin:0}
	.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form) > .cart-collaterals{grid-column:2;width:auto;float:none;margin:0}
	.woocommerce-cart .cart-collaterals .cart_totals{position:sticky;top:calc(var(--hc-header-h,72px) + 1rem)}
}

/* Cart rows → cards at every width (6 table columns don't fit beside a 380px summary). */
@media screen{
	.woocommerce-cart table.shop_table.cart{display:block;border:0;border-radius:0;overflow:visible;background:transparent}
	.woocommerce-cart table.shop_table.cart thead{display:none}
	.woocommerce-cart table.shop_table.cart tbody{display:block}
	.woocommerce-cart table.shop_table.cart tr.cart_item{
		display:grid;grid-template-columns:76px minmax(0,1fr) auto;
		grid-template-areas:"thumb name remove" "thumb price price" "thumb qty sub";
		column-gap:.85rem;row-gap:.4rem;align-items:center;margin:0 0 .75rem;padding:.9rem;
		border:1px solid var(--hc-line);border-radius:var(--hc-radius);background:#fff;box-shadow:0 1px 3px rgba(20,50,75,.05)
	}
	.woocommerce-cart table.shop_table.cart tr.cart_item td{display:block;padding:0!important;border:0!important;background:none!important;text-align:start!important}
	.woocommerce-cart table.shop_table.cart tr.cart_item td::before{display:none!important}
	.woocommerce-cart table.shop_table.cart td.product-thumbnail{grid-area:thumb;display:block!important;align-self:start}
	.woocommerce-cart table.shop_table.cart td.product-thumbnail img{width:76px;height:76px}
	.woocommerce-cart table.shop_table.cart td.product-name{grid-area:name;line-height:1.3;font-size:.95rem}
	.woocommerce-cart table.shop_table.cart td.product-remove{grid-area:remove;align-self:start}
	.woocommerce-cart table.shop_table.cart td.product-price{grid-area:price;font-size:.85rem;color:var(--hc-muted)}
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-price::before{display:inline!important;float:none!important;content:attr(data-title) ": ";font-weight:400}
	.woocommerce-cart table.shop_table.cart td.product-quantity{grid-area:qty}
	.woocommerce-cart table.shop_table.cart td.product-subtotal{grid-area:sub;white-space:nowrap}
	.woocommerce-cart table.shop_table.cart tr:not(.cart_item){display:block}
	.woocommerce-cart table.shop_table.cart td.actions{display:block;padding:0!important;border:0!important;background:none!important}
}
@media (min-width:768px){
	.woocommerce-cart table.shop_table.cart tr.cart_item{grid-template-columns:96px minmax(0,1fr) auto;column-gap:1.1rem;padding:1rem 1.1rem}
	.woocommerce-cart table.shop_table.cart td.product-thumbnail img{width:96px;height:96px}
	.woocommerce-cart table.shop_table.cart td.product-name{font-size:1rem}
	.woocommerce-cart table.shop_table.cart td.product-subtotal{font-size:1.05rem}
}

/* ---------- Checkout ---------- */
.woocommerce-checkout:not(.woocommerce-order-received) #customer_details .col-1,
.woocommerce-checkout:not(.woocommerce-order-received) #customer_details .col-2{
	float:none;width:100%;max-width:none;box-sizing:border-box;margin:0 0 1rem;padding:1.25rem;
	background:#fff;border:1px solid var(--hc-line);border-radius:var(--hc-radius-lg)
}
.woocommerce-checkout #customer_details h3{margin:0 0 1rem;font-size:1.15rem;color:var(--hc-navy)}
.woocommerce-checkout #customer_details h3#ship-to-different-address{font-size:1rem}
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout form .form-row textarea{min-height:48px;font-size:16px;border-width:1.5px}
.woocommerce-checkout form .form-row textarea{min-height:96px}
.woocommerce-checkout form .form-row.woocommerce-invalid input.input-text,
.woocommerce-checkout form .form-row.woocommerce-invalid select{border-color:var(--hc-sale)}
.woocommerce-checkout form .form-row.woocommerce-validated input.input-text{border-color:#9FD3B2}
.woocommerce-checkout wc-order-attribution-inputs{display:none}

.woocommerce-checkout #order_review_heading{font-size:1.2rem}
.woocommerce-checkout #order_review{background:#fff}
.woocommerce-checkout #order_review_heading{background:#fff}
.woocommerce-checkout #order_review table.shop_table{display:block;margin:0 0 1rem;border:0;border-radius:0;overflow:visible;background:transparent}
.woocommerce-checkout #order_review table.shop_table thead{display:none}
.woocommerce-checkout #order_review table.shop_table tbody,
.woocommerce-checkout #order_review table.shop_table tfoot{display:block}
.woocommerce-checkout #order_review table.shop_table tr{display:flex;justify-content:space-between;align-items:center;gap:.4rem 1rem;padding:.75rem 0;border-top:1px solid var(--hc-line)}
.woocommerce-checkout #order_review table.shop_table tbody tr:first-child{border-top:0;padding-top:0}
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td{display:block;width:auto;padding:0;border:0;background:none;text-align:start;color:var(--hc-ink)}
.woocommerce-checkout #order_review td.product-name{flex:1 1 auto;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:.75rem;align-items:center;font-weight:600;line-height:1.3}
.woocommerce-checkout #order_review td.product-name > :not(.hc-rv-thumb){grid-column:2}
.woocommerce-checkout #order_review td.product-name .product-quantity{font-weight:400;color:var(--hc-muted);font-size:.85rem}
.woocommerce-checkout #order_review td.product-name dl.variation{margin:.2rem 0 0;font-size:.8rem;color:var(--hc-muted);font-weight:400}
.woocommerce-checkout #order_review td.product-name dl.variation dt,
.woocommerce-checkout #order_review td.product-name dl.variation dd{display:inline;margin:0;float:none}
.woocommerce-checkout #order_review td.product-name dl.variation dd p{display:inline;margin:0}
.woocommerce-checkout #order_review td.product-total{white-space:nowrap;font-weight:700}
.hc-rv-thumb{grid-row:1 / span 3;display:block}
.hc-rv-thumb img{display:block;width:56px;height:56px;object-fit:cover;border-radius:10px;border:1px solid var(--hc-line);background:var(--hc-mist)}
.woocommerce-checkout #order_review tr.woocommerce-shipping-totals{flex-direction:column;align-items:stretch}
.woocommerce-checkout #order_review tr.order-total th,
.woocommerce-checkout #order_review tr.order-total td{font-size:1.1rem;font-weight:700;color:var(--hc-navy)}
.woocommerce-checkout #order_review tr.order-total .amount{font-size:1.4rem}
.woocommerce-checkout #payment ul.payment_methods li{list-style:none;margin:0 0 .6rem;padding:.85rem 1rem;border:1.5px solid var(--hc-line);border-radius:12px;background:#fff}
.woocommerce-checkout #payment ul.payment_methods li:has(> input:checked){border-color:var(--hc-navy)}
.woocommerce-checkout #payment ul.payment_methods li label{font-weight:700;color:var(--hc-ink)}
.woocommerce-checkout #payment div.form-row.place-order{padding:1rem 0 0;margin:0}
.woocommerce-checkout .woocommerce-form-coupon-toggle{margin:0 0 1rem}

@media (min-width:1000px){
	.woocommerce-checkout form.checkout{
		display:grid;grid-template-columns:minmax(0,1fr) 420px;grid-template-rows:auto 1fr;column-gap:2.5rem;row-gap:0;align-items:start
	}
	.woocommerce-checkout form.checkout > *{grid-column:1}
	.woocommerce-checkout form.checkout > #customer_details{grid-column:1;grid-row:1 / span 2}
	.woocommerce-checkout form.checkout > #order_review_heading{grid-column:2;grid-row:1}
	.woocommerce-checkout form.checkout > #order_review{grid-column:2;grid-row:2;align-self:start;position:sticky;top:calc(var(--hc-header-h,72px) + 1rem)}
}

/* ---------- Mobile pay bar (cart + checkout) ---------- */
.hc-paybar{
	position:fixed;inset-inline:0;bottom:0;z-index:950;display:flex;align-items:center;gap:.75rem;
	padding:.6rem .9rem calc(.6rem + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--hc-line);
	box-shadow:0 -4px 18px rgba(20,50,75,.12);transform:translateY(110%);visibility:hidden;transition:transform .22s ease,visibility .22s
}
.hc-paybar.is-visible{transform:none;visibility:visible}
.hc-paybar.is-suppressed{transform:translateY(110%);visibility:hidden}
.hc-paybar__info{display:flex;flex-direction:column;flex:1 1 auto;min-width:0;line-height:1.2}
.hc-paybar__label{font-size:.78rem;color:var(--hc-muted)}
.hc-paybar__total{font-size:1.15rem;font-weight:700;color:var(--hc-navy)}
.hc-paybar__btn{
	flex:0 0 auto;min-height:48px;min-width:10rem;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
	padding:0 1.1rem;border:0;border-radius:12px;background:var(--hc-cta);color:#fff!important;font:inherit;font-weight:700;font-size:1rem;
	text-decoration:none;cursor:pointer
}
.hc-paybar__btn svg{width:18px;height:18px}
.hc-paybar__btn:hover{background:var(--hc-cta-dark)}
.hc-paybar__btn:focus-visible{outline:3px solid var(--hc-accent);outline-offset:2px}
@media (min-width:1000px){.hc-paybar{display:none!important}}
@media (max-width:999px){
	body.hc-has-paybar{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
	body.hc-paybar-on .hc-floating{bottom:calc(84px + env(safe-area-inset-bottom))}
}

/* ---------- Thank-you ---------- */
.hc-ty{
	display:flex;align-items:flex-start;gap:1rem;margin:0 0 1.25rem;padding:1.5rem;
	border:1px solid #CDE9D7;border-radius:var(--hc-radius-lg);background:linear-gradient(180deg,#EEF8F2 0%,#fff 100%)
}
.hc-ty__badge{flex:0 0 auto;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:var(--hc-okd);color:#fff;box-shadow:0 0 0 8px rgba(21,122,60,.12);animation:hc-ty-pop .45s cubic-bezier(.2,.9,.3,1.3) both}
.hc-ty__badge svg{width:30px;height:30px;stroke-width:3}
@keyframes hc-ty-pop{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}
.hc-ty__eyebrow{margin:0;font-size:.85rem;font-weight:700;color:var(--hc-muted)}
.hc-ty__title{margin:.15rem 0 .35rem;font-size:clamp(1.35rem,1.1rem + 1vw,1.85rem);line-height:1.2;color:var(--hc-navy)}
.hc-ty__sub{margin:0;color:var(--hc-ink)}
.hc-ty ~ .woocommerce-thankyou-order-received{display:none}
.woocommerce-order-received .woocommerce ul.order_details{list-style:none;margin:0 0 1.25rem;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem}
.woocommerce-order-received .woocommerce ul.order_details::before,
.woocommerce-order-received .woocommerce ul.order_details::after{display:none}
.woocommerce-order-received .woocommerce ul.order_details li{
	float:none;margin:0;padding:.85rem 1rem;border:1px solid var(--hc-line)!important;border-radius:12px;background:#fff;
	font-size:.78rem;text-transform:none;color:var(--hc-muted);line-height:1.4
}
.woocommerce-order-received .woocommerce ul.order_details li strong{display:block;margin-top:.2rem;font-size:1rem;color:var(--hc-navy);overflow-wrap:anywhere}
.hc-next{margin:0 0 2rem;padding:1.25rem;border:1px solid var(--hc-line);border-radius:var(--hc-radius-lg);background:#fff;box-shadow:var(--hc-shadow)}
.hc-next__title{margin:0 0 .9rem;font-size:1.15rem;color:var(--hc-navy)}
.hc-next__list{list-style:none;margin:0 0 1.1rem;padding:0;display:grid;gap:.85rem}
.hc-next__item{display:flex;align-items:flex-start;gap:.75rem}
.hc-next__ico{flex:0 0 auto;width:40px;height:40px;padding:10px;box-sizing:border-box;border-radius:12px;background:var(--hc-mist);stroke:var(--hc-navy)}
.hc-next__item > span{display:flex;flex-direction:column;min-width:0;line-height:1.4}
.hc-next__item strong{color:var(--hc-navy)}
.hc-next__item > span > span{color:var(--hc-muted);font-size:.9rem;overflow-wrap:anywhere}
.hc-next__item a{color:var(--hc-navy);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.hc-next__cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 1.5rem;border-radius:12px;background:var(--hc-navy);color:#fff!important;font-weight:700;text-decoration:none}
.hc-next__cta:hover{background:var(--hc-navy-dark)}

@media (max-width:480px){
	.hc-ty{padding:1.15rem;gap:.8rem}
	.hc-ty__badge{width:46px;height:46px}
	.hc-steps__item{font-size:.78rem}
	.hc-drawer__item{grid-template-columns:64px minmax(0,1fr) auto;gap:.7rem}
	.hc-drawer__thumb img{width:64px;height:64px}
}

@media (prefers-reduced-motion:reduce){
	.hc-drawer__panel,.hc-drawer__scrim,.hc-paybar{transition:none}
	.hc-drawer__skel span,.hc-ty__badge{animation:none}
}
