/* ===== Cart + checkout ===== */
.woocommerce-cart .wp-block-post-title,.woocommerce-checkout .wp-block-post-title{text-align:center;font-size:clamp(2.2rem,5vw,3.6rem);margin-block:clamp(24px,4vw,48px) 1rem}
.woocommerce-cart main,.woocommerce-checkout main{max-width:1240px;margin-inline:auto;padding-inline:clamp(16px,3vw,40px)}
.hz-prog--page{max-width:1240px;margin:0 auto 1.4rem}
.hz-prog--page .hz-prog__msg{text-align:center}

/* Fields */
.wc-block-components-text-input input,.wc-block-components-textarea,.wc-blocks-components-select__select,.wc-block-components-combobox .components-combobox-control__input,.wc-block-components-form .wc-block-components-text-input input{border-radius:14px!important;border:1px solid var(--hz-line)!important;background:#fff!important;font-family:var(--hz-sans)!important;box-shadow:none!important}
.wc-block-components-text-input input:focus,.wc-blocks-components-select__select:focus{border-color:var(--hz-gold)!important;box-shadow:0 0 0 3px rgba(185,138,62,.2)!important;outline:0!important}
.wc-block-components-text-input label,.wc-blocks-components-select__label{color:var(--hz-muted)}
.wc-block-components-checkout-step__title,.wc-block-components-title,.wc-block-cart__totals-title{font-family:var(--hz-serif)!important;font-size:1.55rem!important;font-weight:500!important;color:var(--hz-plum)!important;text-transform:none!important;letter-spacing:0!important}
.wc-block-components-checkout-step{padding-block:.4rem}
.wc-block-components-checkbox__mark{color:var(--hz-wine)}

/* Options (shipping / payment) */
.wc-block-components-radio-control__option{border-radius:16px!important;border:1px solid var(--hz-line)!important;background:#fff;padding:1rem 1rem 1rem 1.2rem!important;margin-bottom:.6rem!important;transition:.25s}
.wc-block-components-radio-control__option-checked{border-color:var(--hz-plum)!important;box-shadow:0 14px 28px -22px rgba(62,23,48,.7);background:var(--hz-blush)}
.wc-block-components-radio-control__input:checked:before{background:var(--hz-plum)}
.wc-block-components-radio-control--highlight-checked:after{display:none}

/* Summary card */
.wc-block-components-sidebar{background:var(--hz-sand);border-radius:26px;padding:1.5rem 1.4rem!important;position:sticky;top:120px;align-self:start}
.wc-block-components-sidebar .wc-block-components-totals-wrapper{border-color:rgba(62,23,48,.12)!important}
.wc-block-components-totals-item__value,.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{color:var(--hz-plum);font-weight:600}
.wc-block-components-totals-footer-item{font-size:1.15rem}
.wc-block-components-order-summary-item__image img,.wc-block-cart-item__image img{border-radius:999px 999px 12px 12px;aspect-ratio:3/4;object-fit:cover;background:var(--hz-blush)}
.wc-block-components-order-summary-item__quantity{background:var(--hz-plum)!important;color:#fff!important;border:0!important}
.wc-block-components-product-name{font-family:var(--hz-serif);font-size:1.15rem;color:var(--hz-plum);text-decoration:none}
.wc-block-components-product-price,.wc-block-components-formatted-money-amount{font-family:var(--hz-sans)}
.wc-block-cart-items th{font:600 .8rem var(--hz-sans);letter-spacing:.12em;color:var(--hz-gold);text-transform:uppercase}
.wc-block-cart-items__row{border-color:var(--hz-line)!important}
.wc-block-components-quantity-selector{border-radius:999px!important;border-color:var(--hz-line)!important;background:#fff}
.wc-block-cart-item__remove-link{color:var(--hz-muted)!important}
.wc-block-components-totals-coupon-link,.wc-block-components-panel__button{color:var(--hz-wine)!important}

/* Buttons */
.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{min-height:56px;width:100%;font-size:1.05rem!important}
.wc-block-components-checkout-return-to-cart-button{color:var(--hz-wine)!important}

/* Free gift line */
.hz-gift-row .wc-block-cart-item__quantity,.hz-gift-row .wc-block-cart-item__remove-link,.hz-gift-row .wc-block-components-quantity-selector{display:none!important}
.hz-gift-row .wc-block-components-product-name:before{content:"🎁 מתנה · ";color:var(--hz-gold);font:600 .8rem var(--hz-sans)}

/* Trust list */
.hz-trust-mini{list-style:none;margin:1rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem 1rem;justify-content:center;font-size:.82rem;color:var(--hz-muted)}

/* Empty cart */
.wp-block-woocommerce-empty-cart-block{text-align:center;padding-block:3rem}
.wp-block-woocommerce-empty-cart-block h2{font-size:clamp(1.8rem,3vw,2.6rem)}

/* Checkout header */
.hz-co-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;max-width:1240px;margin-inline:auto;padding:18px clamp(16px,3vw,40px);border-bottom:1px solid var(--hz-line);background:var(--hz-ivory)}
.hz-co-head .hz-logo{justify-self:center}
.hz-co-back{justify-self:start;color:var(--hz-wine);text-decoration:none;font-weight:600;font-size:.92rem}
.hz-co-secure{justify-self:end;font-size:.85rem;color:var(--hz-muted)}

@media (max-width:781px){
	.wc-block-components-sidebar{position:static;border-radius:20px}
	.hz-co-head{grid-template-columns:auto 1fr;}
	.hz-co-head .hz-logo{grid-column:2;justify-self:end;font-size:1.6rem}
	.hz-co-secure{display:none}
}
.woocommerce-cart .wp-block-post-content>*,.woocommerce-checkout .wp-block-post-content>*,.woocommerce-cart main>*,.woocommerce-checkout main>*{max-width:1240px!important;margin-inline:auto!important}
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{max-width:none!important}
.woocommerce-cart main,.woocommerce-checkout main{width:100%;box-sizing:border-box}

/* RTL-safe padding for shipping/payment options (the radio sits at the inline start) */
.wc-block-components-radio-control__option{padding:1rem 3.2rem 1rem 1rem!important;padding-block:1rem!important;padding-inline-start:3.2rem!important;padding-inline-end:1rem!important}
.wc-block-components-radio-control__option .wc-block-components-radio-control__input{inset-inline-start:1rem;left:auto}
[dir=rtl] .wc-block-components-radio-control__option .wc-block-components-radio-control__input{right:1rem;left:auto}
