/* The cart, the checkout and the order-received page (template-parts/pages/cart.php, checkout.php,
   woocommerce/checkout/thankyou.php). WooCommerce's Cart and Checkout blocks are drawn here with CSS only.
   The recipe is the Shopify checkout's (themes/shopify-eh-3.0/docs/README.md § Checkout): white main, the
   order summary on Off-white, the place-order button Signal with Ink text as the one Signal moment, errors
   in Score poor, 6px radius. Fields follow the form rules in eh.css. Tokens come from eh.css. */

.eh-co{--wc-separator-color:var(--rule);padding:clamp(36px,4.8vw,60px) 0 clamp(56px,8vw,96px);font-family:var(--eh-font);color:var(--ink)}
.eh-co-head{max-width:62ch;margin:0 0 clamp(20px,3.2vw,36px)}
.eh-co-title{font:800 clamp(30px,4.2vw,44px)/1.06 var(--eh-font);letter-spacing:-.024em;margin:0;text-wrap:balance}
.eh-co-lede{font-size:17px;line-height:1.55;color:var(--body2);margin:12px 0 0}
.eh-co-note{display:flex;gap:10px;align-items:flex-start;margin:14px 0 0;font-size:14.5px;line-height:1.5;color:var(--muted)}
.eh-co-note svg{flex:none;width:18px;height:18px;margin-top:1px;fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.eh-co-note a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;font-weight:600}
.eh-co .wp-block-woocommerce-checkout,.eh-co .wp-block-woocommerce-cart{font-family:var(--eh-font);color:var(--ink);margin:0}
.eh-co .wc-block-components-sidebar-layout{margin-bottom:0}
.eh-co a{color:var(--ink)}

/* steps */
.eh-co .wc-block-components-checkout-step__title{font:700 20px/1.25 var(--eh-font);letter-spacing:-.012em;color:var(--ink);margin:0}
.eh-co .wc-block-components-checkout-step__heading-container{margin-bottom:14px}
.eh-co .wc-block-components-checkout-step__description{font-size:14.5px;line-height:1.5;color:var(--body2);margin:-4px 0 14px;max-width:60ch}
.eh-co .wc-block-checkout__guest-checkout-notice{display:none} /* guest only: the lede already says "no account" */

/* fields: a quiet line at rest, Ink on hover, Ink with a soft Signal glow in focus (eh.css, forms) */
.eh-co .wc-block-components-text-input input:is([type=email],[type=text],[type=tel],[type=number],[type=password],[type=url]),
.eh-co .wc-blocks-components-select .wc-blocks-components-select__select,
.eh-co .wc-block-components-textarea{border:1.5px solid var(--muted);border-radius:6px;background:var(--paper);color:var(--ink);font:400 16px/1.4 var(--eh-font);
 transition:border-color .2s ease,box-shadow .25s ease}
.eh-co .wc-block-components-text-input input:is([type=email],[type=text],[type=tel],[type=number],[type=password],[type=url]){height:54px;padding:16px 14px}
.eh-co .wc-block-components-text-input.is-active input:is([type=email],[type=text],[type=tel],[type=number],[type=password],[type=url]),
.eh-co .wc-block-components-text-input input:-webkit-autofill{padding:24px 14px 6px}
.eh-co .wc-block-components-text-input.is-active input:is([type=email],[type=text],[type=tel],[type=number],[type=password],[type=url]):focus-within{padding:24px 14px 6px}
.eh-co .wc-block-components-text-input label{left:15.5px;top:27px;color:var(--muted)}
.eh-co .wc-block-components-text-input.is-active label,.eh-co .wc-block-components-text-input input:-webkit-autofill+label{top:7px;transform:scale(.8)}
.eh-co .wc-block-components-text-input input:hover,.eh-co .wc-blocks-components-select__select:hover,.eh-co .wc-block-components-textarea:hover{border-color:var(--ink)}
.eh-co .wc-block-components-text-input input:focus,.eh-co .wc-blocks-components-select .wc-blocks-components-select__select:focus,.eh-co .wc-block-components-textarea:focus{
 outline:none!important;border:1.5px solid var(--ink);box-shadow:0 0 0 4px rgba(232,244,0,.6)}
.eh-co .wc-blocks-components-select .wc-blocks-components-select__container{border-radius:6px;background:var(--paper)}
.eh-co .wc-blocks-components-select .wc-blocks-components-select__select,.eh-co .wc-blocks-components-select .wc-blocks-components-select__select:focus{height:54px;padding:20px 42px 0 14px}
.eh-co .wc-blocks-components-select .wc-blocks-components-select__label{left:15.5px;top:7px;font-size:12.5px;color:var(--muted)}
.eh-co .wc-blocks-components-select .wc-blocks-components-select__expand{fill:var(--ink);right:14px}
.eh-co .wc-block-components-textarea{padding:14px;line-height:1.5}
.eh-co .wc-block-components-address-form__address_2-toggle{font-weight:600;text-decoration:underline;text-underline-offset:3px;color:var(--ink)}
/* errors in Score poor, never WooCommerce's red */
.eh-co .wc-block-components-text-input.has-error input,.eh-co .has-error .wc-blocks-components-select .wc-blocks-components-select__container,
.eh-co .has-error .wc-blocks-components-select .wc-blocks-components-select__select{border-color:var(--poor)}
.eh-co .wc-block-components-text-input.has-error input:focus{box-shadow:0 0 0 4px rgba(196,50,10,.14)}
.eh-co .wc-block-components-text-input.has-error label,.eh-co .has-error .wc-blocks-components-select .wc-blocks-components-select__label,
.eh-co .has-error .wc-blocks-components-select .wc-blocks-components-select__select{color:var(--poor)}
.eh-co .has-error .wc-blocks-components-select .wc-blocks-components-select__expand{fill:var(--poor)}
.eh-co .wc-block-components-validation-error{color:var(--poor);font-size:13.5px}
.eh-co .wc-block-components-validation-error svg{fill:var(--poor)}
.eh-co .wc-block-components-checkbox.has-error .wc-block-components-checkbox__input{border-color:var(--poor)!important}

/* the address once it is filled in */
.eh-co .wc-block-components-address-card{border:1.5px solid var(--rule);border-radius:6px;padding:16px 18px;font-size:15px;line-height:1.5}
.eh-co .wc-block-components-address-card__edit{color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* checkboxes: a quiet square, Ink when ticked */
.eh-co .wc-block-components-checkbox{margin-top:16px}
.eh-co .wc-block-components-checkbox label{align-items:flex-start;font-size:15px;line-height:1.45}
.eh-co .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]{width:22px;height:22px;min-width:22px;border:1.5px solid var(--muted);border-radius:4px;background:var(--paper)}
.eh-co .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:hover{border-color:var(--ink)}
.eh-co .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked{background:var(--ink);border-color:var(--ink)}
.eh-co .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:focus{outline:none}
.eh-co .wc-block-components-checkbox .wc-block-components-checkbox__mark{fill:var(--paper);width:16px;height:16px;margin:3px 0 0 3px}
.eh-co .wc-block-components-checkbox__label{padding-top:1px}

/* choices (shipping, payment): cards with a quiet line, the chosen one framed in Ink */
.eh-co .wc-block-components-radio-control--highlight-checked:after{border:1.5px solid var(--rule);border-radius:6px}
.eh-co .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted,
.eh-co .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted{border-radius:6px;box-shadow:inset 0 0 0 1.5px var(--ink)}
.eh-co .wc-block-components-radio-control__option{padding:18px 18px 18px 54px}
.eh-co .wc-block-components-radio-control .wc-block-components-radio-control__input{width:22px;height:22px;left:18px;border:1.5px solid var(--muted);background:var(--paper)}
.eh-co .wc-block-components-radio-control .wc-block-components-radio-control__input:checked{border:1.5px solid var(--ink)}
.eh-co .wc-block-components-radio-control .wc-block-components-radio-control__input:checked:before{background:var(--ink);width:10px;height:10px}
.eh-co .wc-block-components-radio-control .wc-block-components-radio-control__input:focus{outline:none}
.eh-co .wc-block-components-radio-control .wc-block-components-radio-control__input:focus-visible{outline:3px solid var(--signal)!important;outline-offset:2px}
.eh-co .wc-block-components-radio-control__label{font-weight:600;font-size:15.5px;line-height:1.35}
.eh-co .wc-block-components-radio-control__secondary-label{font-weight:600;font-variant-numeric:tabular-nums}
.eh-co .wc-block-components-radio-control__description,.eh-co .wc-block-components-radio-control__secondary-description{font-size:14px;color:var(--muted)}
.eh-co .wc-block-components-radio-control-accordion-content{padding:0 18px 18px 54px;font-size:14.5px;line-height:1.5;color:var(--body2)}

/* buttons. The place-order and go-to-checkout buttons are the one Signal moment: Signal, Ink text,
   the K2 charge stripes on hover, an Ink inner ring on keyboard focus inside the Signal focus ring */
.eh-co .wc-block-components-button:not(.is-link){border-radius:6px;font-family:var(--eh-font)}
.eh-co .wc-block-components-checkout-place-order-button,.eh-co .wc-block-cart__submit-button{
 background-color:var(--signal);color:var(--ink);border:0;border-radius:6px;min-height:58px;font:700 17px/1.2 var(--eh-font);text-decoration:none;box-shadow:none;
 background-image:repeating-linear-gradient(90deg,rgba(17,20,24,0) 0 3px,transparent 3px 18px);transition:background-image .25s ease,transform .12s ease}
.eh-co .wc-block-components-checkout-place-order-button:hover,.eh-co .wc-block-cart__submit-button:hover{background-color:var(--signal);color:var(--ink);
 background-image:repeating-linear-gradient(90deg,rgba(17,20,24,.13) 0 3px,transparent 3px 18px)}
.eh-co .wc-block-components-checkout-place-order-button:focus-visible,.eh-co .wc-block-cart__submit-button:focus-visible{box-shadow:inset 0 0 0 2px var(--ink)}
.eh-co .wc-block-components-checkout-place-order-button:active,.eh-co .wc-block-cart__submit-button:active{transform:scale(.99)}
.eh-co .wc-block-components-checkout-place-order-button:disabled{opacity:.6}
.eh-co .wc-block-components-checkout-place-order-button .wc-block-components-button__text>svg{fill:var(--ink)}
.eh-co .wc-block-components-checkout-return-to-cart-button{color:var(--ink);font-weight:600}

/* lines: name, the chosen option, then the delivery line and the fit, one per row */
.eh-co .wc-block-components-product-name{font:600 16px/1.35 var(--eh-font);color:var(--ink);text-decoration:none}
.eh-co a.wc-block-components-product-name:hover{text-decoration:underline;text-underline-offset:3px}
.eh-co .wc-block-components-product-metadata__description{display:none} /* the long product text belongs on the product page */
/* WooCommerce joins the details with " / " text inside each detail; font-size 0 hides that text and only the
   name and the value are sized, so each detail gets its own row */
.eh-co .wc-block-components-product-details.wc-block-components-product-details{margin:6px 0 0;padding:0;font-size:0;line-height:0}
.eh-co .wc-block-components-product-details>*{display:block;margin:3px 0 0;font-size:0;line-height:0}
.eh-co .wc-block-components-product-details>*>*{font-size:13.5px;line-height:1.45}
.eh-co .wc-block-components-product-details>*>:not(.wc-block-components-product-details__name):not(.wc-block-components-product-details__value){display:none}
.eh-co .wc-block-components-product-details__name{margin-right:.35em}
.eh-co .wc-block-components-product-details__name{color:var(--muted);font-weight:400}
.eh-co .wc-block-components-product-details__value{color:var(--ink);font-weight:600}
.eh-co .wc-block-components-product-price,.eh-co .wc-block-formatted-money-amount,.eh-co .wc-block-components-totals-item__value,
.eh-co .wc-block-components-order-summary-item__total-price,.eh-co .wc-block-components-quantity-selector__input{font-variant-numeric:tabular-nums}

/* the cart */
.eh-co .wc-block-cart-items{border-bottom:1px solid var(--rule)}
.eh-co .wc-block-cart-items__header th,.eh-co .wc-block-cart__totals-title{font:600 11px/1 var(--eh-font)!important;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
.eh-co .wc-block-cart-items td{border-top:1px solid var(--rule)}
.eh-co .wc-block-cart-item__image img{border-radius:6px;background:var(--off)}
.eh-co .wc-block-cart-item__prices{font-size:14px;color:var(--muted)}
.eh-co .wc-block-cart-item__total{font-weight:600}
.eh-co .wc-block-components-quantity-selector{border-radius:6px}
.eh-co .wc-block-components-quantity-selector:after{border:1.5px solid var(--rule);border-radius:6px}
.eh-co .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button{color:var(--ink);opacity:1}
.eh-co .wc-block-cart-item__remove-link{color:var(--ink)}
.eh-co .wp-block-woocommerce-cart-totals-block{background:var(--off);border:1px solid var(--rule);border-radius:10px;padding:22px 22px 6px}
.eh-co .wc-block-cart .wp-block-woocommerce-cart-order-summary-block{border-bottom-color:var(--rule)}

/* totals, in tabular figures; the total in Ink, the VAT line quiet */
.eh-co .wc-block-components-totals-item{font-size:15px}
.eh-co .wc-block-components-totals-item__description{font-size:13.5px;color:var(--muted)}
.eh-co .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font:700 20px/1.3 var(--eh-font)}
.eh-co .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font:800 22px/1.3 var(--eh-font);letter-spacing:-.01em}
.eh-co .wc-block-components-totals-footer-item-tax{font-size:13px;font-weight:400;color:var(--muted)}

/* the order summary on Off-white */
.eh-co .wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill{background:var(--off);border:1px solid var(--rule);border-radius:10px}
.eh-co .wc-block-components-checkout-order-summary__title-text{font:700 18px/1.3 var(--eh-font)}
.eh-co .wc-block-components-order-summary-item__image img{border-radius:6px;background:var(--paper)}
.eh-co .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity{background:var(--ink);border:2px solid var(--off);font-weight:700}
.eh-co .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity span{color:var(--paper)}
.eh-co .wc-block-components-order-summary-item__individual-prices{font-size:13.5px;color:var(--muted)}
.eh-co .wc-block-checkout__sidebar.is-sticky{top:96px}
/* phones: the summary folds into a bar above the form */
.eh-co .wc-block-components-checkout-order-summary__title{background:var(--off);border:1px solid var(--rule);border-radius:10px;padding:14px 16px}

/* notices and the terms line */
.eh-co .wc-block-components-notice-banner{border-radius:10px;font-size:15px;line-height:1.5}
.eh-co .wc-block-components-notice-banner.is-error{border-color:var(--poor);background:#FFF5F2;color:var(--ink)}
.eh-co .wc-block-components-notice-banner.is-error>svg{background-color:var(--poor);fill:var(--paper)}
.eh-co .wc-block-checkout__terms{font-size:14px;line-height:1.5;color:var(--body2)}
.eh-co .wc-block-checkout__terms a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}

/* the empty cart page uses the pop-up's empty battery (template-parts/cart/empty.php) */
.eh-co .wp-block-woocommerce-empty-cart-block .eh-ce{max-width:720px;margin:8px auto 0}

/* the order-received page (woocommerce/checkout/thankyou.php) */
.eh-thx-head{max-width:62ch;margin:0 0 clamp(24px,3.6vw,40px)}
.eh-thx-head .eh-label{margin-bottom:14px}
.eh-thx-mark{display:inline-grid;place-items:center;width:44px;height:50px;margin-bottom:18px}
.eh-thx-mark svg{width:44px;height:50px;fill:var(--ink)} /* Ink hexagon, Signal tick: Signal never sits on white */
.eh-thx-mark svg path.tick{fill:none;stroke:var(--signal);stroke-width:16;stroke-linecap:round;stroke-linejoin:round}
.eh-thx-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:clamp(24px,4vw,48px);align-items:start}
.eh-thx-h{font:700 20px/1.25 var(--eh-font);letter-spacing:-.012em;margin:0 0 14px}
.eh-thx-lines{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
.eh-thx-line{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:14px;padding:16px 0;border-bottom:1px solid var(--rule);align-items:start}
.eh-thx-ph{width:64px;height:64px;border-radius:6px;background:var(--off);overflow:hidden}
.eh-thx-ph img{width:100%;height:100%;object-fit:contain}
.eh-thx-name{font:600 16px/1.35 var(--eh-font);margin:0}
.eh-thx-meta{margin:6px 0 0;display:grid;grid-template-columns:auto 1fr;gap:2px 8px;font-size:13.5px;line-height:1.45}
.eh-thx-meta dt{color:var(--muted)}
.eh-thx-meta dd{margin:0;font-weight:600}
.eh-thx-qty{font-size:13.5px;color:var(--muted);margin:4px 0 0}
.eh-thx-total{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.eh-thx-side{display:grid;gap:16px}
.eh-thx-card{background:var(--off);border:1px solid var(--rule);border-radius:10px;padding:20px 22px}
.eh-thx-sum{margin:0;display:grid;grid-template-columns:1fr auto;gap:10px 16px;font-size:15px}
.eh-thx-sum dt{color:var(--body2)}
.eh-thx-sum dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}
.eh-thx-sum .is-total{padding-top:12px;border-top:1px solid var(--rule);font:800 20px/1.3 var(--eh-font);color:var(--ink)}
.eh-thx-sum .is-total small,.eh-thx-sum small.includes_tax{display:block;font:400 13px/1.4 var(--eh-font);color:var(--muted)}
.eh-thx-addr{font-style:normal;font-size:15px;line-height:1.55;margin:0}
.eh-thx-card .eh-label{margin-bottom:10px}
.eh-thx-pay{font-size:14.5px;line-height:1.5;color:var(--body2);margin:0}
.eh-thx-actions{margin-top:clamp(24px,3.6vw,40px)}
.eh-thx-fail{max-width:62ch}
.eh-thx-fail .eh-btn{margin-top:16px}
@media (max-width:860px){.eh-thx-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:480px){.eh-thx-line{grid-template-columns:52px minmax(0,1fr)}.eh-thx-ph{width:52px;height:52px}.eh-thx-total{grid-column:2}}
/* «≈ 662 €» under the total, with the note beside it, on the de, nl and en site (assets/js/eh-eur.js) */
.eh-eur-note{display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:baseline;gap:6px 16px;margin:0;font-size:13px;line-height:1.45;color:var(--muted)}
/* WooCommerce pads the order-meta slot 16px 0; line the note up with the totals rows (0 in the cart, 16px at checkout) */
.wc-block-components-totals-wrapper.slot-wrapper .eh-eur-note{padding:12px 0 4px}
.wc-block-checkout .wc-block-components-totals-wrapper.slot-wrapper .eh-eur-note{padding:12px 16px 14px}
.eh-eur-note b{flex:none;font:600 15px/1.3 var(--eh-font);color:var(--ink)}
