/* Heova purchase flow. All rules are scoped to cart and checkout, on the light surface tokens. */
.hv-purchase .hv-transaction{padding-top:clamp(20px,3vw,36px);padding-bottom:clamp(48px,6vw,80px)}
.hv-purchase .hv-transaction h1{font-size:clamp(32px,3.4vw,46px);margin:6px 0 14px}
.hv-purchase .hv-purchase-intro{color:var(--muted);margin:0 0 28px;max-width:65ch}
.hv-purchase .woocommerce form{min-width:0}
.hv-purchase .woocommerce table.shop_table{width:100%;border:0;border-collapse:collapse;border-radius:0;margin:0 0 20px;background:transparent;font-size:15px}
.hv-purchase .woocommerce table.shop_table th,
.hv-purchase .woocommerce table.shop_table td{padding:16px 10px;border:0;border-bottom:1px solid var(--line);vertical-align:middle;line-height:1.5}
.hv-purchase .woocommerce table.shop_table thead th{padding-block:10px;font-family:var(--mono);font-size:11px;font-weight:400;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);background:transparent}
.hv-purchase .woocommerce .amount{white-space:nowrap;font-family:var(--mono);font-size:.92em;font-variant-numeric:tabular-nums}
.hv-purchase .woocommerce .button{min-height:48px;white-space:normal;box-shadow:none}
.hv-purchase .woocommerce .button:disabled,
.hv-purchase .woocommerce .button:disabled[disabled]{opacity:1;color:var(--muted);background:var(--fog);border-color:var(--line);cursor:not-allowed;padding:12px 18px}
.hv-purchase .woocommerce input.input-text,
.hv-purchase .woocommerce textarea,
.hv-purchase .woocommerce select{font:400 16px/1.5 var(--sans);color:var(--ink);background:var(--field);border:1px solid var(--line-strong);border-radius:var(--radius);min-height:48px;padding:10px 12px;max-width:100%;box-shadow:none}
.hv-purchase .woocommerce .woocommerce-notices-wrapper:empty{display:none}
.hv-purchase .woocommerce .blockUI.blockOverlay{background:var(--paper)!important;opacity:.65!important}

/* Cart */
.hv-purchase.woocommerce-cart .hv-page-content>.woocommerce{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.hv-purchase.woocommerce-cart .hv-page-content>.woocommerce>:not(.woocommerce-cart-form):not(.cart-collaterals){grid-column:1/-1}
.hv-purchase.woocommerce-cart .woocommerce-cart-form{margin:0;min-width:0}
.hv-purchase.woocommerce-cart table.cart .product-remove{width:48px;padding-inline:0 4px}
.hv-purchase.woocommerce-cart table.cart a.remove{display:grid;place-items:center;width:44px;height:44px;margin:0;border-radius:var(--radius);color:var(--muted)!important;font-size:24px;font-weight:400;line-height:1;text-decoration:none;background:transparent}
.hv-purchase.woocommerce-cart table.cart a.remove:hover{color:var(--paper)!important;background:var(--ink-dark)}
.hv-purchase.woocommerce-cart table.cart .product-thumbnail{width:92px;padding-inline:4px 12px}
.hv-purchase.woocommerce-cart table.cart .product-thumbnail a{display:block;width:76px;height:76px;background:var(--tile);border-radius:var(--radius);overflow:hidden}
.hv-purchase.woocommerce-cart table.cart .product-thumbnail img{width:76px;max-width:76px;height:76px;object-fit:cover;mix-blend-mode:multiply}
.hv-purchase.woocommerce-cart table.cart .product-name{font-weight:600;min-width:0}
.hv-purchase.woocommerce-cart table.cart .product-name a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;overflow-wrap:anywhere}
.hv-purchase.woocommerce-cart table.cart .quantity .qty{width:68px;min-height:48px;padding:8px 6px;text-align:center}
.hv-purchase.woocommerce-cart table.cart .product-subtotal{text-align:right;padding-right:0}
.hv-purchase.woocommerce-cart table.cart td.actions{padding:20px 0 0;border:0;background:transparent}
.hv-purchase.woocommerce-cart table.cart td.actions .coupon{display:flex;gap:8px;float:left;padding:0;max-width:100%}
.hv-purchase.woocommerce-cart table.cart td.actions .coupon .input-text{width:170px;margin:0;float:none}
.hv-purchase.woocommerce-cart table.cart td.actions .coupon .button{float:none;margin:0;background:transparent;color:var(--ink);border-color:var(--line-strong)}
.hv-purchase.woocommerce-cart table.cart td.actions>.button{float:right;margin:0 0 0 10px;background:transparent;color:var(--ink);border-color:var(--line-strong)}
.hv-purchase.woocommerce-cart table.cart td.actions .button:hover:not(:disabled){background:var(--ink-dark);color:var(--paper);border-color:var(--ink-dark)}
.hv-purchase.woocommerce-cart .cart-collaterals{min-width:0;margin-top:32px;width:100%}
.hv-purchase.woocommerce-cart .cart-collaterals .cart_totals{width:100%;float:none;margin:0;padding:clamp(18px,2vw,28px);background:var(--fog);border:1px solid var(--line);border-radius:var(--radius)}
.hv-purchase.woocommerce-cart .cart_totals h2{font-size:22px;margin:0 0 14px}
.hv-purchase.woocommerce-cart .cart_totals table th{width:36%;font-size:14px;font-weight:500;vertical-align:top;padding-left:0}
.hv-purchase.woocommerce-cart .cart_totals table td{padding-right:0;text-align:right;vertical-align:top;background:transparent}
.hv-purchase.woocommerce-cart .cart_totals .shipping-calculator-form{text-align:left}
.hv-purchase.woocommerce-cart .cart_totals .shipping-calculator-button{display:inline-flex;align-items:center;min-height:44px;margin-top:4px}
.hv-purchase .woocommerce ul#shipping_method{margin:0;padding:0;list-style:none}
.hv-purchase .woocommerce ul#shipping_method li{padding:0;margin:0;line-height:1.5;font-size:14px}
.hv-purchase.woocommerce-cart .woocommerce-shipping-destination{font-size:13px;line-height:1.5;margin:10px 0 0;color:var(--muted)}
.hv-purchase .woocommerce .order-total th,
.hv-purchase .woocommerce .order-total td{padding-block:18px;border-bottom:0;font-size:18px!important;font-weight:600;color:var(--ink)}
.hv-purchase.woocommerce-cart .wc-proceed-to-checkout{padding:0}
.hv-purchase.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:flex;width:100%;margin:12px 0 0;padding:14px 18px;background:var(--btn-bg);border-color:var(--btn-bg);color:var(--btn-ink);font-size:16px;min-height:54px}
.hv-purchase.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{background:var(--btn-hover);border-color:var(--btn-hover)}
.hv-purchase .hv-cart-help{font-size:13px;line-height:1.55;color:var(--muted);margin:0}
.hv-purchase .hv-cart-help a{display:inline-block;padding-block:10px;line-height:24px}
.hv-purchase.woocommerce-cart .cart-empty{margin:0 0 18px}
.hv-purchase.woocommerce-cart .return-to-shop{margin:0}

/* Checkout: native controls, selectors, fragment updates and tab order are kept. */
.hv-purchase.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:start;margin-top:24px}
.hv-purchase.woocommerce-checkout form.checkout::before,
.hv-purchase.woocommerce-checkout form.checkout::after{display:none}
.hv-purchase.woocommerce-checkout #customer_details,
.hv-purchase.woocommerce-checkout #order_review_heading,
.hv-purchase.woocommerce-checkout #order_review{width:auto;float:none;min-width:0}
.hv-purchase.woocommerce-checkout #customer_details{margin:0 0 32px}
.hv-purchase.woocommerce-checkout #customer_details .col-1,
.hv-purchase.woocommerce-checkout #customer_details .col-2{float:none;width:100%;min-width:0}
.hv-purchase.woocommerce-checkout .woocommerce-billing-fields h3,
.hv-purchase.woocommerce-checkout .woocommerce-additional-fields h3{font-size:22px;line-height:1.25;margin:0 0 20px}
.hv-purchase.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.hv-purchase.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hv-purchase.woocommerce-checkout .woocommerce-billing-fields__field-wrapper>.form-row,
.hv-purchase.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper>.form-row{grid-column:1/-1;float:none;width:100%;margin:0;padding:0;min-width:0}
.hv-purchase.woocommerce-checkout .woocommerce-billing-fields__field-wrapper>.form-row-first,
.hv-purchase.woocommerce-checkout .woocommerce-billing-fields__field-wrapper>.form-row-last,
.hv-purchase.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper>.form-row-first,
.hv-purchase.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper>.form-row-last{grid-column:auto}
.hv-purchase.woocommerce-checkout .woocommerce-input-wrapper{display:block;width:100%;min-width:0}
.hv-purchase.woocommerce-checkout .woocommerce form .form-row label{font-size:14px;line-height:1.5;font-weight:500;margin-bottom:6px}
.hv-purchase.woocommerce-checkout .woocommerce form .form-row .required{color:var(--ink);text-decoration:none}
.hv-purchase.woocommerce-checkout .woocommerce form .form-row input.input-text,
.hv-purchase.woocommerce-checkout .woocommerce form .form-row textarea{width:100%;line-height:1.5}
.hv-purchase.woocommerce-checkout .woocommerce form .form-row textarea{min-height:104px;resize:vertical}
.hv-purchase.woocommerce-checkout .woocommerce form .form-row .woocommerce-input-wrapper>strong{display:flex;align-items:center;min-height:48px;font-size:16px;font-weight:400}
.hv-purchase.woocommerce-checkout #customer_details .select2-container{max-width:100%;width:100%!important}
.hv-purchase.woocommerce-checkout .select2-container--default .select2-selection--single{height:48px;min-height:48px;border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--field)}
.hv-purchase.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{padding:0 36px 0 12px;line-height:46px;color:var(--ink);font-size:16px}
.hv-purchase.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px;top:0;right:8px}
.hv-purchase.woocommerce-checkout .select2-container--focus .select2-selection,
.hv-purchase.woocommerce-checkout .select2-container--open .select2-selection{outline:2px solid var(--ink-dark);outline-offset:3px}
.hv-purchase .select2-dropdown{border-color:#6d7278;background:#fbfbfa;color:#121416;font-size:16px}
.hv-purchase .select2-results__option{padding:10px 12px;min-height:44px}
.hv-purchase .select2-container--default .select2-results__option--highlighted[aria-selected],
.hv-purchase .select2-container--default .select2-results__option--highlighted[data-selected]{background:#121416;color:#f4f4f2}
.hv-purchase.woocommerce-checkout #ship-to-different-address{font:600 16px/1.5 var(--sans);letter-spacing:0;margin:24px 0 16px}
.hv-purchase.woocommerce-checkout #ship-to-different-address label{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}
.hv-purchase.woocommerce-checkout input[type=checkbox]{accent-color:var(--ink-dark);width:20px;height:20px;min-height:20px;flex-shrink:0;margin:0 8px 0 0;vertical-align:middle}
.hv-purchase.woocommerce-checkout .woocommerce-additional-fields{margin-top:24px}
.hv-purchase.woocommerce-checkout #order_review_heading{font-size:22px;line-height:1.25;margin:0;padding:24px 24px 14px;background:var(--fog);border:1px solid var(--line);border-bottom:0;border-radius:var(--radius) var(--radius) 0 0}
.hv-purchase.woocommerce-checkout #order_review{margin:0;padding:0 24px 24px;background:var(--fog);border:1px solid var(--line);border-top:0;border-radius:0 0 var(--radius) var(--radius)}
.hv-purchase.woocommerce-checkout #order_review table{margin:0 0 18px;table-layout:fixed}
.hv-purchase.woocommerce-checkout #order_review table th,
.hv-purchase.woocommerce-checkout #order_review table td{padding:14px 0;vertical-align:top;font-size:14px;background:transparent}
.hv-purchase.woocommerce-checkout #order_review table th:first-child,
.hv-purchase.woocommerce-checkout #order_review table td:first-child{width:61%;padding-right:18px;text-align:left}
.hv-purchase.woocommerce-checkout #order_review table th:last-child,
.hv-purchase.woocommerce-checkout #order_review table td:last-child{text-align:right}
.hv-purchase.woocommerce-checkout #order_review .product-name{overflow-wrap:anywhere;font-weight:500}
.hv-purchase.woocommerce-checkout #order_review .product-quantity{white-space:nowrap;font-weight:600}
.hv-purchase.woocommerce-checkout #order_review .woocommerce-shipping-totals td{font-weight:400}
.hv-purchase.woocommerce-checkout #order_review .woocommerce-shipping-totals th{width:36%}
.hv-purchase.woocommerce-checkout #order_review ul#shipping_method li{font-size:13px}
.hv-purchase.woocommerce-checkout #payment{background:transparent;border-radius:0;margin-top:20px;min-width:0}
.hv-purchase.woocommerce-checkout #payment ul.payment_methods{border:0;border-top:1px solid var(--line);padding:18px 0 0;margin:0;list-style:none}
.hv-purchase.woocommerce-checkout #payment ul.payment_methods>li{padding:0;line-height:1.5;font-size:16px;font-weight:600;list-style:none}
.hv-purchase.woocommerce-checkout #payment ul.payment_methods>li label{display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}
.hv-purchase.woocommerce-checkout #payment ul.payment_methods>li img{max-height:24px;width:auto;margin:0}
.hv-purchase.woocommerce-checkout #payment div.payment_box{background:transparent;color:var(--muted);padding:0;margin:6px 0 0;font-size:14px;font-weight:400;line-height:1.5}
.hv-purchase.woocommerce-checkout #payment div.payment_box::before{display:none}
.hv-purchase.woocommerce-checkout #payment div.payment_box p{margin:0}
.hv-purchase.woocommerce-checkout #payment .place-order{padding:18px 0 0;margin:0;float:none;width:100%}
.hv-purchase.woocommerce-checkout .woocommerce-privacy-policy-text{font-size:13px;line-height:1.55;color:var(--muted)}
.hv-purchase.woocommerce-checkout .woocommerce-privacy-policy-text p{margin:0 0 14px}
.hv-purchase.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row{margin:0 0 18px}
.hv-purchase.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label.checkbox{font-size:14px;line-height:1.6;font-weight:400;min-height:44px;cursor:pointer}
.hv-purchase.woocommerce-checkout #payment .woocommerce-error{margin-top:16px}
.hv-purchase.woocommerce-checkout #place_order{width:100%;float:none;margin:10px 0 0;min-height:54px;font-size:16px}
.hv-purchase.woocommerce-checkout form.checkout_coupon,
.hv-purchase.woocommerce-checkout form.woocommerce-form-login{border:1px solid var(--line);background:var(--fog);padding:20px;border-radius:var(--radius);margin:0 0 24px}
.hv-purchase.woocommerce-checkout .woocommerce-invalid input.input-text,
.hv-purchase.woocommerce-checkout .woocommerce-invalid .select2-selection{border-color:var(--ink-dark)!important;border-width:2px}
.hv-purchase .hv-checkout-policies{border-top:1px solid var(--line);padding-top:18px}
.hv-purchase .hv-checkout-policies h3{font-family:var(--mono);font-size:11px;font-weight:400;font-stretch:100%;line-height:1.6;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}
.hv-purchase .hv-checkout-policies ul{margin:0;padding:0;list-style:none}
.hv-purchase .hv-checkout-policies li{margin:0;padding:0}
.hv-purchase .hv-checkout-policies a{display:flex;align-items:center;min-height:44px;padding:8px 0;font-size:14px;line-height:1.4;font-weight:500;color:var(--ink)}

@media(min-width:960px){
  .hv-purchase.woocommerce-checkout form.checkout{grid-template-columns:minmax(0,1.1fr) minmax(360px,1fr);grid-template-rows:min-content 1fr;column-gap:48px;row-gap:0}
  .hv-purchase.woocommerce-checkout #customer_details{grid-column:1;grid-row:1/span 2;margin:0}
  .hv-purchase.woocommerce-checkout #order_review_heading{grid-column:2;grid-row:1}
  .hv-purchase.woocommerce-checkout #order_review{grid-column:2;grid-row:2}
  .hv-purchase.woocommerce-checkout form.checkout>.woocommerce-NoticeGroup{grid-column:1/-1;grid-row:1}
  .hv-purchase.woocommerce-checkout form.checkout:has(>.woocommerce-NoticeGroup){grid-template-rows:min-content min-content 1fr}
  .hv-purchase.woocommerce-checkout form.checkout:has(>.woocommerce-NoticeGroup) #customer_details{grid-row:2/span 2}
  .hv-purchase.woocommerce-checkout form.checkout:has(>.woocommerce-NoticeGroup) #order_review_heading{grid-row:2}
  .hv-purchase.woocommerce-checkout form.checkout:has(>.woocommerce-NoticeGroup) #order_review{grid-row:3}
}
@media(min-width:1100px){
  .hv-purchase.woocommerce-cart .hv-page-content>.woocommerce{grid-template-columns:minmax(0,1.7fr) minmax(330px,1fr);column-gap:36px;align-items:start}
  .hv-purchase.woocommerce-cart .cart-collaterals{margin-top:0}
}
@media(max-width:767px){
  .hv-purchase .woocommerce table.shop_table td{background:transparent}
  .hv-purchase.woocommerce-cart table.cart{display:block;margin:0}
  .hv-purchase.woocommerce-cart table.cart thead{display:none}
  .hv-purchase.woocommerce-cart table.cart tbody{display:block}
  .hv-purchase.woocommerce-cart table.cart .cart_item{display:grid;grid-template-columns:76px minmax(0,1fr) 44px;grid-template-areas:'image name remove' 'image price price' 'quantity quantity subtotal';gap:6px 12px;padding:20px 0;border-top:1px solid var(--line);align-items:start;background:transparent}
  .hv-purchase.woocommerce-cart table.cart .cart_item>td,
  .hv-purchase.woocommerce-cart table.cart .cart_item>th{display:block;min-width:0;width:auto;padding:0;border:0;text-align:left!important;background:transparent!important}
  .hv-purchase.woocommerce-cart table.cart .cart_item>td::before,
  .hv-purchase.woocommerce-cart table.cart .cart_item>th::before{display:none}
  .hv-purchase.woocommerce-cart table.cart .product-remove{grid-area:remove;justify-self:end}
  .hv-purchase.woocommerce-cart table.cart .product-thumbnail{grid-area:image}
  .hv-purchase.woocommerce-cart table.cart .product-name{grid-area:name;padding-top:3px}
  .hv-purchase.woocommerce-cart table.cart .product-price{grid-area:price;font-size:14px;color:var(--muted)}
  .hv-purchase.woocommerce-cart table.cart .product-price::after{content:' each';font-size:13px}
  .hv-purchase.woocommerce-cart table.cart .cart_item>.product-quantity{grid-area:quantity;display:flex;align-items:center;gap:12px;padding-top:10px}
  .hv-purchase.woocommerce-cart table.cart .cart_item>.product-quantity::before{content:'Quantity';display:block;float:none;font-size:14px;font-weight:500}
  .hv-purchase.woocommerce-cart table.cart .cart_item>.product-subtotal{grid-area:subtotal;justify-self:end;padding-top:10px;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;min-height:58px;font-weight:600}
  .hv-purchase.woocommerce-cart table.cart .cart_item>.product-subtotal::before{content:'Item total';display:block;float:none;white-space:nowrap;font-size:12px;font-weight:400;color:var(--muted)}
  .hv-purchase.woocommerce-cart table.cart tr:has(>td.actions){display:block}
  .hv-purchase.woocommerce-cart table.cart td.actions{display:block;padding:20px 0 0;border-top:1px solid var(--line)}
  .hv-purchase.woocommerce-cart table.cart td.actions::before{display:none}
  .hv-purchase.woocommerce-cart table.cart td.actions .coupon{float:none;width:100%;margin:0 0 12px}
  .hv-purchase.woocommerce-cart table.cart td.actions .coupon .input-text{flex:1;min-width:0;width:0}
  .hv-purchase.woocommerce-cart table.cart td.actions .coupon .button{width:auto;flex:0 0 auto;font-size:14px;padding-inline:14px}
  .hv-purchase.woocommerce-cart table.cart td.actions>.button{float:none;margin:0;width:100%}
  .hv-purchase.woocommerce-cart .cart-collaterals{margin-top:28px}
  .hv-purchase.woocommerce-cart .cart_totals table tr{display:table-row}
  .hv-purchase.woocommerce-cart .cart_totals table th{display:table-cell;padding-right:12px}
  .hv-purchase.woocommerce-cart .cart_totals table td{display:table-cell;text-align:right!important}
  .hv-purchase.woocommerce-cart .cart_totals table td::before{display:none}
  .hv-purchase.woocommerce-cart .cart_totals table tr:nth-child(2n) td{background:transparent}
  .hv-purchase.woocommerce-checkout #order_review_heading{padding:20px 18px 12px}
  .hv-purchase.woocommerce-checkout #order_review{padding:0 18px 20px}
  .hv-purchase.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  .hv-purchase.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{grid-template-columns:minmax(0,1fr);gap:16px}
  .hv-purchase.woocommerce-checkout #order_review table th:first-child,
  .hv-purchase.woocommerce-checkout #order_review table td:first-child{width:56%;padding-right:12px}
  .hv-purchase .woocommerce .woocommerce-message .button{float:none;display:flex;width:100%;margin:0 0 12px}
}
@media(prefers-reduced-motion:reduce){
  .hv-purchase .woocommerce *,.hv-purchase .woocommerce *::before,.hv-purchase .woocommerce *::after{transition:none!important;animation:none!important}
}
