/*
 * Cart, checkout and order-received pages.
 * Loads only on those pages, after the theme styles and before the gateway stylesheet, so gateway
 * overrides below carry an ID or extra class where the plugin uses !important.
 * Layout only: no field name, ID or script depends on this file.
 */
.htr-order-page{max-width:1280px;--store-line:#dfe5e1;--store-field:#c6d0ca;--store-ink:#1a1a1a;--store-body:#39453f;--store-muted:#5f6b65;--store-green:#1f4d3f;--store-green-dark:#173a30;--store-soft:#f6f8f6;--store-mint:#eef4f0;--store-danger:#a23b2d;--store-field-h:50px;--store-sticky:106px;color:var(--store-body)}
body.admin-bar .htr-order-page{--store-sticky:138px}
.section:has(>.htr-order-page){padding-block:44px 88px}
.htr-order-page h1{margin:0 0 28px;font-size:clamp(2rem,3.2vw,2.75rem);line-height:1.12;font-weight:500;letter-spacing:-.03em;color:var(--store-ink)}
.htr-order-page p{color:var(--store-body)}
.htr-order-page a:not(.button){color:var(--store-green);text-decoration:underline;text-underline-offset:2px}

/* Notices */
.htr-order-page .woocommerce-info,.htr-order-page .woocommerce-message,.htr-order-page .woocommerce-error{margin:0 0 20px;padding:14px 28px;border:1px solid var(--store-line);border-radius:10px;background:var(--store-soft);font-size:.94rem;line-height:1.5;color:var(--store-body);list-style:none;text-wrap:pretty}
.htr-order-page .woocommerce-error{border-color:#ecd2cd;background:#fdf5f3;color:var(--store-ink)}
.htr-order-page .woocommerce-error li{margin:0;list-style:none}
.htr-order-page .woocommerce-message .button,.htr-order-page .woocommerce-error .button,.htr-order-page .woocommerce-info .button{float:right;min-height:0;padding:0;margin-left:16px;border:0;background:none;color:var(--store-green);font-weight:600;text-decoration:underline}

/* Buttons */
.htr-order-page .button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;border:1px solid var(--store-green);border-radius:999px;background:var(--store-green);color:#fff;font-size:.95rem;font-weight:500;line-height:1.2;white-space:nowrap;text-decoration:none;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.htr-order-page .button:hover:not(:disabled){background:var(--store-green-dark);border-color:var(--store-green-dark);color:#fff}
.htr-order-page .coupon .button,.htr-order-page .checkout_coupon .button,.htr-order-page button[name=update_cart],.htr-order-page .woocommerce-button.view{background:#fff;color:var(--store-green)}
.htr-order-page .coupon .button:hover,.htr-order-page .checkout_coupon .button:hover,.htr-order-page button[name=update_cart]:hover:not(:disabled),.htr-order-page .woocommerce-button.view:hover{background:var(--store-mint);border-color:var(--store-green);color:var(--store-green)}
/* WooCommerce disables this button until a quantity changes, so it stays out of the way until then. */
.htr-order-page button[name=update_cart]:disabled{display:none}
.htr-order-page .button.alt{width:100%;min-height:56px;font-size:1.02rem;font-weight:600}

/* Fields: one height and border for inputs, native selects and Select2 */
.htr-order-page .form-row{margin:0;padding:0;min-width:0}
.htr-order-page .form-row label:not(.checkbox){display:block;margin:0 0 6px;font-size:.875rem;font-weight:500;line-height:1.35;letter-spacing:0;text-transform:none;color:var(--store-ink)}
.htr-order-page .form-row label.screen-reader-text{margin:-1px}
.htr-order-page .required,.htr-order-page abbr.required{color:var(--store-muted);font-weight:400;text-decoration:none;border:0}
.htr-order-page .optional{font-weight:400;color:var(--store-muted)}
.htr-order-page .woocommerce-input-wrapper{display:block;width:100%}
.htr-order-page .form-row input.input-text,.htr-order-page .coupon input.input-text,.htr-order-page .form-row textarea,.htr-order-page .form-row select:not(.select2-hidden-accessible),.htr-order-page .anet-payment-form input.text-input-credit-card{display:block;width:100%;max-width:100%;height:var(--store-field-h);min-height:0;margin:0;padding:0 14px;border:1px solid var(--store-field);border-radius:10px;background-color:#fff;color:var(--store-ink);font:inherit;font-size:1rem;line-height:1.3;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.htr-order-page .form-row textarea{height:84px;padding:12px 14px;resize:vertical}
.htr-order-page .form-row select:not(.select2-hidden-accessible),.htr-order-page .anet-payment-form select#anet-card-expiry-month,.htr-order-page .anet-payment-form select#anet-card-expiry-year{appearance:none;-webkit-appearance:none;width:100%!important;height:var(--store-field-h)!important;padding:0 34px 0 14px!important;border:1px solid var(--store-field);border-radius:10px;font-size:1rem!important;line-height:1.3!important;color:var(--store-ink);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231f4d3f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 13px center}
.htr-order-page ::placeholder{color:#76827c;opacity:1}
.htr-order-page .anet-payment-form :is(select#anet-card-expiry-month,select#anet-card-expiry-year):has(option[value=""]:checked){color:#76827c}
.htr-order-page .anet-payment-form select option{color:var(--store-ink)}
.htr-order-page .form-row input.input-text:focus,.htr-order-page .coupon input.input-text:focus,.htr-order-page .form-row textarea:focus,.htr-order-page .form-row select:not(.select2-hidden-accessible):focus,.htr-order-page .anet-payment-form input[type].text-input-credit-card:focus,.htr-order-page .anet-payment-form input[type].text-input-credit-card:focus-visible,.htr-order-page .anet-payment-form select.text-input-credit-card:focus,.htr-order-page .anet-payment-form select.text-input-credit-card:focus-visible{border-color:var(--store-green);box-shadow:0 0 0 3px #1f4d3f26;outline:0}
.htr-order-page .select2-container{display:block;width:100%!important}
.htr-order-page .select2-container--default .select2-selection--single{height:var(--store-field-h);border:1px solid var(--store-field);border-radius:10px;background:#fff}
.htr-order-page .select2-container--default .select2-selection--single .select2-selection__rendered{padding:0 34px 0 14px;font-size:1rem;line-height:calc(var(--store-field-h) - 2px);color:var(--store-ink)}
.htr-order-page .select2-container--default .select2-selection--single .select2-selection__arrow{top:0;right:0;width:37px;height:calc(var(--store-field-h) - 2px);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231f4d3f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat left 12px center}
.htr-order-page .select2-container--default .select2-selection--single .select2-selection__arrow b{display:none}
.htr-order-page .select2-container--open .select2-selection--single,.htr-order-page .select2-container--focus .select2-selection--single{border-color:var(--store-green);box-shadow:0 0 0 3px #1f4d3f26}
.select2-dropdown{border-color:var(--store-field,#c6d0ca);border-radius:10px;overflow:hidden}
.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background:#1f4d3f;color:#fff}
.select2-container--default .select2-search--dropdown .select2-search__field{height:40px;padding:0 10px;border:1px solid #c6d0ca;border-radius:8px}
.htr-order-page .form-row.woocommerce-invalid input.input-text,.htr-order-page .form-row.woocommerce-invalid select,.htr-order-page .form-row.woocommerce-invalid input.text-input-credit-card,.htr-order-page .form-row.woocommerce-invalid select.text-input-credit-card,.htr-order-page .form-row.woocommerce-invalid .select2-selection--single,.htr-order-page .anet-payment-form .woocommerce-invalid select#anet-card-expiry-month,.htr-order-page .anet-payment-form .woocommerce-invalid select#anet-card-expiry-year,.htr-order-page #payment .anet-payment-form .form-row.woocommerce-invalid input.text-input-credit-card{border-color:var(--store-danger)}
.htr-order-page .checkout-inline-error-message{margin:6px 0 0;font-size:.82rem;color:var(--store-danger)}
.htr-order-page label.checkbox,.htr-order-page .woocommerce-form__label-for-checkbox{position:relative;display:block;margin:0;padding-left:28px;font-size:.94rem;font-weight:400;line-height:1.45;color:var(--store-ink);cursor:pointer}
.htr-order-page label.checkbox input[type=checkbox]{position:absolute;left:0;top:2px;width:18px;height:18px;margin:0;accent-color:var(--store-green)}

/* Tables */
.htr-order-page .shop_table{width:100%;margin:0;border-collapse:collapse}
.htr-order-page .shop_table th,.htr-order-page .shop_table td{padding:14px 0;border:0;border-bottom:1px solid var(--store-line);text-align:left;vertical-align:middle;font-size:.95rem;line-height:1.45;font-weight:400;color:var(--store-body)}
.htr-order-page .shop_table strong{font-weight:600;color:var(--store-ink)}
.htr-order-page .amount{white-space:nowrap}

/* Cart: items on the left, sticky totals on the right */
.woocommerce-cart .htr-order-page>.woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 400px;column-gap:48px;align-items:start}
.woocommerce-cart .htr-order-page>.woocommerce>:not(.woocommerce-cart-form):not(.cart-collaterals){grid-column:1/-1}
.woocommerce-cart .woocommerce-cart-form{grid-column:1;min-width:0}
.woocommerce-cart .cart-collaterals{grid-column:2;position:sticky;top:var(--store-sticky)}
.htr-order-page .woocommerce-cart-form__contents{table-layout:fixed}
.htr-order-page .woocommerce-cart-form__contents thead th,.htr-order-page .woocommerce-cart-form__contents thead th.product-name{padding:0 12px 12px;font-size:.78rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--store-muted)}
.htr-order-page .woocommerce-cart-form__contents td{padding:18px 12px;font-size:1rem}
.htr-order-page .woocommerce-cart-form__contents .product-remove{width:40px;padding-inline:0}
.htr-order-page .woocommerce-cart-form__contents .product-thumbnail{width:100px;padding-inline:6px 14px}
.htr-order-page .woocommerce-cart-form__contents .product-thumbnail img{display:block;width:80px;height:80px;object-fit:cover;border:1px solid var(--store-line);border-radius:10px;background:var(--store-soft)}
.htr-order-page .woocommerce-cart-form__contents .product-name{font-weight:500;color:var(--store-ink)}
.htr-order-page .woocommerce-cart-form__contents .product-name a{color:inherit;text-decoration:none}
.htr-order-page .woocommerce-cart-form__contents .product-price{width:176px}
.htr-order-page .woocommerce-cart-form__contents .product-price .subscription-details{display:block;font-size:.84rem;color:var(--store-muted)}
.htr-order-page .woocommerce-cart-form__contents .product-quantity{width:96px}
.htr-order-page .woocommerce-cart-form__contents .product-subtotal,.htr-order-page .woocommerce-cart-form__contents th.product-subtotal{width:108px;padding-right:0;text-align:right}
.htr-order-page .woocommerce-cart-form__contents .product-subtotal .amount{font-weight:600;color:var(--store-ink)}
.htr-order-page a.remove{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:var(--store-muted);font-size:1.25rem;line-height:1;text-decoration:none;transition:background .15s,color .15s}
.htr-order-page a.remove:hover{background:var(--store-mint);color:var(--store-ink)}
.htr-order-page .quantity input.qty:not([type=hidden]){width:72px;height:44px;padding:0 8px;border:1px solid var(--store-field);border-radius:10px;text-align:center;font-size:1rem}
.htr-order-page .htr-qty-fixed{display:inline-block;min-width:1ch}
.htr-order-page .woocommerce-cart-form__contents td.actions{padding:20px 0 0;border-bottom:0}
.htr-order-page td.actions{display:table-cell;overflow:hidden}
.htr-order-page td.actions .coupon{display:inline-flex;align-items:center;gap:10px;float:left;max-width:100%}
.htr-order-page td.actions .coupon input.input-text{width:220px;height:48px}
.htr-order-page td.actions button[name=update_cart]{float:right}
.htr-order-page .cart_totals{padding:26px 28px 28px;border:1px solid var(--store-line);border-radius:16px;background:var(--store-soft)}
.htr-order-page .cart_totals h2{margin:0 0 10px;font-size:1.3rem;line-height:1.25;font-weight:600;letter-spacing:-.02em;color:var(--store-ink)}
.htr-order-page .wc-proceed-to-checkout{margin:20px 0 0}
.htr-order-page .wc-proceed-to-checkout .button{width:100%;min-height:54px;font-size:1rem;font-weight:600}

/* Totals rows shared by the cart and the order summary: label left, value right, no shared columns */
.htr-order-page .cart_totals .shop_table,.htr-order-page .cart_totals .shop_table tbody,.htr-order-page .woocommerce-checkout-review-order-table,.htr-order-page .woocommerce-checkout-review-order-table :is(thead,tbody,tfoot){display:block;width:100%}
.htr-order-page .cart_totals .shop_table tr,.htr-order-page .woocommerce-checkout-review-order-table tr{display:flex;justify-content:space-between;align-items:baseline;gap:16px;border-bottom:1px solid var(--store-line)}
.htr-order-page .cart_totals .shop_table :is(th,td),.htr-order-page .woocommerce-checkout-review-order-table :is(th,td){display:block;padding:12px 0;border:0}
.htr-order-page .cart_totals .shop_table th,.htr-order-page .woocommerce-checkout-review-order-table tfoot th{flex:none}
.htr-order-page .cart_totals .shop_table td,.htr-order-page .woocommerce-checkout-review-order-table td:last-child{min-width:0;text-align:right;text-wrap:balance}
.htr-order-page .cart_totals .shop_table tr:last-child,.htr-order-page .woocommerce-checkout-review-order-table tfoot tr:last-child{border-bottom:0}
.htr-order-page .order-total:not(.recurring-total) th,.htr-order-page .order-total:not(.recurring-total) td{font-size:1.08rem;font-weight:600;color:var(--store-ink)}
.htr-order-page tr.recurring-totals th{padding:18px 0 4px;font-size:.78rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--store-muted)}
.htr-order-page .recurring-total th,.htr-order-page .recurring-total td{font-size:.9rem}
.htr-order-page .first-payment-date small{display:block;margin-top:4px;font-size:.8rem;white-space:nowrap;color:var(--store-muted)}
.htr-order-page .woocommerce-shipping-methods{margin:0;padding:0;list-style:none}
.htr-order-page .woocommerce-shipping-methods label{display:inline;margin:0;font:inherit;color:inherit}
.htr-order-page .woocommerce-shipping-destination strong{white-space:nowrap}
.htr-order-page .woocommerce-shipping-destination,.htr-order-page .woocommerce-shipping-calculator{margin:6px 0 0;text-wrap:balance;font-size:.82rem;color:var(--store-muted)}

/* Checkout: billing and payment on the left, sticky order summary on the right */
.htr-order-page .woocommerce-form-coupon-toggle .woocommerce-info{margin-bottom:20px}
.htr-order-page .checkout_coupon{display:flex;gap:10px;align-items:center;max-width:460px;margin:0 0 20px;padding:0}
.htr-order-page .checkout_coupon .form-row-first{flex:1}
.htr-order-page .checkout_coupon .clear{display:none}
.htr-order-page form.checkout{display:block}
.htr-order-page form.checkout>wc-order-attribution-inputs{display:contents}
.htr-order-page #customer_details{display:block}
.htr-order-page #customer_details .col-1,.htr-order-page #customer_details .col-2{float:none;width:auto;max-width:none}
.htr-order-page .woocommerce-billing-fields,.htr-order-page .woocommerce-shipping-fields:not(:empty),.htr-order-page .woocommerce-additional-fields{margin:0 0 24px;padding:26px 28px 28px;border:1px solid var(--store-line);border-radius:16px;background:#fff}
.htr-order-page .woocommerce-shipping-fields:not(:has(*)){display:none}
.htr-order-page .woocommerce-shipping-fields .shipping_address{margin-top:18px}
.htr-order-page #customer_details h3,.htr-order-page .htr-autorenew h3,.htr-order-page #order_review_heading{margin:0 0 18px;font-size:1.3rem;line-height:1.25;font-weight:600;letter-spacing:-.02em;color:var(--store-ink)}
.htr-order-page #customer_details h3#ship-to-different-address{margin:0;font-size:.95rem;font-weight:400;letter-spacing:0}
.htr-order-page .woocommerce-billing-fields__field-wrapper,.htr-order-page .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.htr-order-page .woocommerce-billing-fields__field-wrapper>.form-row,.htr-order-page .woocommerce-shipping-fields__field-wrapper>.form-row{grid-column:1/-1;float:none;width:auto}
.htr-order-page :is(#billing_first_name_field,#billing_last_name_field,#shipping_first_name_field,#shipping_last_name_field,#billing_phone_field,#billing_email_field){grid-column:span 3}
.htr-order-page :is(#billing_city_field,#billing_state_field,#billing_postcode_field,#shipping_city_field,#shipping_state_field,#shipping_postcode_field){grid-column:span 2}
.htr-order-page :is(#billing_address_2_field,#shipping_address_2_field){margin-top:-6px}

/* Order summary */
.htr-order-page .woocommerce-checkout-review-order-table{padding:0 28px 12px;background:var(--store-soft)}
.htr-order-page .woocommerce-checkout-review-order-table thead th,.htr-order-page .woocommerce-checkout-review-order-table thead th.product-name{padding:0 0 8px;font-size:.78rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--store-muted)}
.htr-order-page .woocommerce-checkout-review-order-table .product-name{flex:1;min-width:0;font-weight:500;color:var(--store-ink)}
.htr-order-page .woocommerce-checkout-review-order-table .product-total{flex:none}
.htr-order-page .woocommerce-checkout-review-order-table .product-quantity{font-weight:400;color:var(--store-muted)}
.htr-order-page .wcs-checkout-item-price{margin-top:2px;font-size:.84rem;font-weight:400;color:var(--store-muted)}
.htr-order-page #order_review_heading{margin:0;padding:26px 28px 14px;border:1px solid var(--store-line);border-bottom:0;border-radius:16px 16px 0 0;background:var(--store-soft)}
.htr-order-page .woocommerce-checkout-review-order-table{border:1px solid var(--store-line);border-top:0;border-radius:0 0 16px 16px}

/* Payment: renewal terms, card form and the place-order step read as one block */
.htr-order-page .htr-autorenew{padding:26px 28px 24px;border:1px solid var(--store-line);border-bottom:0;border-radius:16px 16px 0 0;background:#fff}
.htr-order-page .htr-autorenew h3{margin-bottom:10px}
.htr-order-page .htr-autorenew p{margin:0 0 12px;font-size:.94rem;line-height:1.55;color:var(--store-body)}
.htr-order-page .htr-autorenew .form-row{margin:14px 0 0}
.htr-order-page #payment{margin:0;padding:24px 28px 28px;border:1px solid var(--store-line);border-radius:16px;background:#fff}
.htr-order-page .htr-autorenew+#payment{border-top-color:var(--store-line);border-radius:0 0 16px 16px}
.htr-order-page .wc_payment_methods{margin:0;padding:0;list-style:none}
.htr-order-page .wc_payment_method{margin:0;padding:0}
.htr-order-page .wc_payment_method>label{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 14px;font-size:1.3rem;line-height:1.25;font-weight:600;letter-spacing:-.02em;color:var(--store-ink)}
.htr-order-page .wc_payment_method>label img{display:inline-block;flex:0 0 auto;width:38px;height:24px;margin:0!important;object-fit:contain;border-radius:4px;box-shadow:0 0 0 1px var(--store-line)}
.htr-order-page .wc_payment_method>label img:first-of-type{margin-left:auto!important}
.htr-order-page .payment_box{margin:0;padding:0;background:none}
.htr-order-page .payment_box>p{margin:0 0 18px;font-size:.92rem;line-height:1.5;color:var(--store-body)}
.htr-order-page .woocommerce-SavedPaymentMethods{display:grid;gap:8px;margin:0 0 16px;padding:0;list-style:none}
.htr-order-page .woocommerce-SavedPaymentMethods li{display:flex;align-items:center;gap:10px;margin:0;padding:12px 14px;border:1px solid var(--store-field);border-radius:10px}
.htr-order-page .woocommerce-SavedPaymentMethods li:has(input:checked){border-color:var(--store-green);background:var(--store-mint)}
.htr-order-page .woocommerce-SavedPaymentMethods li input[type=radio]{flex:none;width:18px!important;height:18px;margin:0;padding:0;accent-color:var(--store-green)}
.htr-order-page .woocommerce-SavedPaymentMethods li label{display:block;flex:1;margin:0;font-size:.95rem;font-weight:400;color:var(--store-ink);cursor:pointer}
.htr-order-page .anet-payment-form.anet-checkout-page{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}
.htr-order-page .anet-payment-form>:not(.form-row-pair){grid-column:1/-1}
.htr-order-page .anet-payment-form>.woocommerce-error,.htr-order-page .anet-payment-form>.woocommerce-NoticeGroup{margin:0}
.htr-order-page .anet-payment-form .form-row-pair{display:contents}
.htr-order-page .anet-payment-form .form-row-pair>.form-row{flex:none;min-width:0;width:auto;float:none}
.htr-order-page .anet-payment-form #anet-card-number-div{grid-column:1/-1;order:1}
.htr-order-page .anet-payment-form #anet-card-expiry-month-div{order:2}
.htr-order-page .anet-payment-form #anet-card-expiry-year-div{order:3}
.htr-order-page .anet-payment-form #anet-card-cvc-div{order:4}
.htr-order-page #wc-anet-subscription-notice .woocommerce-info,.htr-order-page #wc-anet-pre-order-notice .woocommerce-info{margin:18px 0 0;padding:12px 14px;border:0;border-radius:10px;background:var(--store-soft);font-size:.86rem;line-height:1.5;color:var(--store-body)}
.htr-order-page .place-order{margin:20px 0 0;padding:20px 0 0;border-top:1px solid var(--store-line)}
.htr-order-page .woocommerce-terms-and-conditions-wrapper{margin:0 0 18px}
.htr-order-page .woocommerce-privacy-policy-text p{margin:0 0 12px;font-size:.86rem;line-height:1.5;color:var(--store-body)}

@media(min-width:1001px){
    .htr-order-page form.checkout{display:grid;grid-template-columns:minmax(0,1fr) 400px;grid-template-rows:auto auto auto auto;column-gap:48px;align-items:start}
    .htr-order-page form.checkout>.woocommerce-NoticeGroup{grid-column:1/-1;grid-row:1}
    .htr-order-page #customer_details{grid-column:1;grid-row:2}
    .htr-order-page #order_review{display:contents}
    .htr-order-page #order_review_heading{grid-column:2;grid-row:2/5;position:sticky;top:var(--store-sticky);align-self:start;height:66px;z-index:1}
    .htr-order-page .woocommerce-checkout-review-order-table{grid-column:2;grid-row:2/5;position:sticky;top:calc(var(--store-sticky) + 66px);align-self:start;margin-top:66px}
    .htr-order-page .htr-autorenew{grid-column:1;grid-row:3}
    .htr-order-page #payment{grid-column:1;grid-row:4}
}

/* Order received */
.htr-order-page .woocommerce-order{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:0 48px;align-items:start}
.htr-order-page .woocommerce-order>*{grid-column:1/-1}
.htr-order-page .woocommerce-order>.woocommerce-thankyou-order-received{display:flex;align-items:center;gap:14px;margin:0 0 20px;padding:18px 22px;border-radius:14px;background:var(--store-mint);font-size:1.08rem;font-weight:500;color:var(--store-ink)}
.htr-order-page .woocommerce-thankyou-order-received::before{content:"";flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--store-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1.5 5.5 3.7 3.7 7.3-7.7'/%3E%3C/svg%3E") no-repeat center}
.htr-order-page .woocommerce-order>.woocommerce-thankyou-order-failed{margin:0 0 16px;padding:16px 20px;border:1px solid #ecd2cd;border-radius:12px;background:#fdf5f3;color:var(--store-ink)}
.htr-order-page .woocommerce-order>.woocommerce-thankyou-order-failed-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}
.htr-order-page .woocommerce-thankyou-order-failed-actions .button+.button{background:#fff;color:var(--store-green)}
.htr-order-page .order_details .woocommerce-button{min-height:36px;padding:6px 16px;font-size:.86rem}
.htr-order-page .order_details .woocommerce-button.cancel{background:#fff;color:var(--store-green)}
.htr-order-page .woocommerce-order-overview{display:flex;flex-wrap:wrap;gap:0;margin:0 0 24px;padding:0;border:1px solid var(--store-line);border-radius:14px;list-style:none;overflow:hidden}
.htr-order-page .woocommerce-order-overview li{flex:1 1 auto;padding:16px 28px;border-right:1px solid var(--store-line);font-size:.82rem;line-height:1.4;color:var(--store-muted);min-width:0}
.htr-order-page .woocommerce-order-overview li:last-child{border-right:0}
.htr-order-page .woocommerce-order-overview strong{display:block;margin-top:3px;font-size:.98rem;font-weight:600;color:var(--store-ink);overflow-wrap:break-word}
.htr-order-page .woocommerce-order>p{margin:0 0 8px;font-size:.96rem}
.htr-order-page .woocommerce-order-details{grid-column:1;margin-top:16px;padding:26px 28px;border:1px solid var(--store-line);border-radius:16px;min-width:0}
.htr-order-page .woocommerce-customer-details{grid-column:2;margin-top:16px;padding:26px 28px;border:1px solid var(--store-line);border-radius:16px;background:var(--store-soft)}
.htr-order-page .woocommerce-order h2{margin:0 0 12px;font-size:1.25rem;line-height:1.25;font-weight:600;letter-spacing:-.02em;color:var(--store-ink)}
.htr-order-page .woocommerce-order-details>header{margin-top:28px}
.htr-order-page .woocommerce-table--order-details .product-quantity{font-weight:400;color:var(--store-muted)}
.htr-order-page .woocommerce-table--order-details tfoot tr:has(td>.amount):not(:has(~tr td>.amount)) :is(th,td){font-weight:600;color:var(--store-ink)}
.htr-order-page .woocommerce-table--order-details td:last-child,.htr-order-page .woocommerce-table--order-details th:last-child,.htr-order-page .woocommerce-table--order-details tfoot td{text-align:right}
.htr-order-page .woocommerce-table--order-details thead th,.htr-order-page .my_account_orders thead th{padding-top:0;font-size:.78rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--store-muted)}
.htr-order-page .my_account_orders th,.htr-order-page .my_account_orders td{padding-right:12px}
.htr-order-page .my_account_orders td:last-child{padding-right:0;text-align:right}
.htr-order-page .woocommerce-button.view{min-height:36px;padding:6px 16px;font-size:.86rem}
.htr-order-page .woocommerce-customer-details address{font-style:normal;line-height:1.6;color:var(--store-body)}
.htr-order-page .woocommerce-customer-details address p{margin:8px 0 0;overflow-wrap:anywhere}

/* Empty cart */
.htr-order-page .return-to-shop{margin:20px 0 0}

@media(max-width:1000px){
    .woocommerce-cart .htr-order-page>.woocommerce{grid-template-columns:minmax(0,1fr)}
    .woocommerce-cart .cart-collaterals{grid-column:1;position:static;margin-top:28px}
    .htr-order-page .woocommerce-checkout-review-order-table{margin-bottom:24px}
    .htr-order-page .woocommerce-order{grid-template-columns:minmax(0,1fr)}
    .htr-order-page .woocommerce-order-details,.htr-order-page .woocommerce-customer-details{grid-column:1}
}

@media(max-width:700px){
    .section:has(>.htr-order-page){padding-block:28px 56px}
    .htr-order-page h1{margin-bottom:20px}
    .htr-order-page .woocommerce-info,.htr-order-page .woocommerce-message,.htr-order-page .woocommerce-error{padding-inline:20px}
    .htr-order-page .shop_table{overflow:visible}
    .htr-order-page .woocommerce-table--order-details{display:table}

    /* Cart items become rows of label and value beside the thumbnail */
    .htr-order-page .woocommerce-cart-form__contents,.htr-order-page .woocommerce-cart-form__contents tbody{display:block;width:100%}
    .htr-order-page .woocommerce-cart-form__contents thead{display:none}
    .htr-order-page .woocommerce-cart-form__contents tr.cart_item{display:grid;grid-template-columns:72px minmax(0,1fr) 30px;column-gap:14px;padding:4px 0 14px;border-bottom:1px solid var(--store-line)}
    .htr-order-page .woocommerce-cart-form__contents tr.cart_item td{display:block;width:auto;padding:0;border:0;text-align:left}
    .htr-order-page .woocommerce-cart-form__contents tr.cart_item .product-thumbnail{grid-column:1;grid-row:1/5;padding:12px 0 0}
    .htr-order-page .woocommerce-cart-form__contents .product-thumbnail img{width:72px;height:72px}
    .htr-order-page .woocommerce-cart-form__contents tr.cart_item .product-name{grid-column:2;grid-row:1;padding:12px 0 6px}
    .htr-order-page .woocommerce-cart-form__contents tr.cart_item .product-remove{grid-column:3;grid-row:1;padding:8px 0 0}
    .htr-order-page .woocommerce-cart-form__contents tr.cart_item :is(.product-price,.product-quantity,.product-subtotal){grid-column:2/4;display:flex;justify-content:flex-end;flex-wrap:wrap;align-items:baseline;gap:0 5px;padding:4px 0;font-size:.94rem;text-align:right}
    .htr-order-page .woocommerce-cart-form__contents tr.cart_item :is(.product-price,.product-quantity,.product-subtotal)::before{content:attr(data-title);flex:none;margin-right:auto;padding-right:12px;font-size:.86rem;color:var(--store-muted)}
    .htr-order-page .woocommerce-cart-form__contents .product-price .subscription-details{display:inline}
    .htr-order-page .woocommerce-cart-form__contents tr:not(.cart_item),.htr-order-page .woocommerce-cart-form__contents td.actions{display:block}
    .htr-order-page .woocommerce-cart-form__contents td.actions{padding-top:14px}
    .htr-order-page .woocommerce-cart-form__contents .product-remove a.remove{margin-right:-8px}
    .htr-order-page td.actions .coupon{display:flex;float:none;width:100%}
    .htr-order-page td.actions .coupon input.input-text{flex:1;width:auto;min-width:0}
    .htr-order-page td.actions .coupon .button{flex:none;padding-inline:18px}
    .htr-order-page td.actions button[name=update_cart]{float:none;width:100%;margin-top:10px}
    .htr-order-page .cart_totals,.htr-order-page .woocommerce-billing-fields,.htr-order-page .woocommerce-shipping-fields:not(:empty),.htr-order-page .woocommerce-additional-fields,.htr-order-page .htr-autorenew,.htr-order-page #payment{padding:20px}
    .htr-order-page #order_review_heading{padding:20px 20px 12px}
    .htr-order-page .woocommerce-checkout-review-order-table{padding-inline:20px}
    .htr-order-page .woocommerce-billing-fields__field-wrapper,.htr-order-page .woocommerce-shipping-fields__field-wrapper{gap:14px}
    .htr-order-page :is(#billing_phone_field,#billing_email_field,#billing_city_field,#shipping_city_field){grid-column:1/-1}
    .htr-order-page :is(#billing_state_field,#billing_postcode_field,#shipping_state_field,#shipping_postcode_field){grid-column:span 3}
    .htr-order-page .anet-payment-form.anet-checkout-page{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
    .htr-order-page .anet-payment-form #anet-card-cvc-div{grid-column:1/-1}
    .htr-order-page .wc_payment_method>label::after{content:"";flex-basis:100%;order:1;height:0}
    .htr-order-page .wc_payment_method>label img{order:2}
    .htr-order-page .wc_payment_method>label img:first-of-type{margin-left:0!important}
    .htr-order-page .wc_payment_method>label{gap:8px 6px}
    .htr-order-page .woocommerce-order-overview{display:block}
    .htr-order-page .woocommerce-order-overview li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 20px;border-right:0;border-bottom:1px solid var(--store-line)}
    .htr-order-page .woocommerce-order-overview strong{margin:0;text-align:right}
    .htr-order-page .first-payment-date small{font-size:.76rem}
    .htr-order-page .woocommerce-order-overview li:last-child{border-bottom:0}
    .htr-order-page .woocommerce-order-details,.htr-order-page .woocommerce-customer-details{padding:20px}

    /* Related subscriptions collapse to rows of label and value */
    .htr-order-page .my_account_orders thead{display:none}
    .htr-order-page .my_account_orders,.htr-order-page .my_account_orders tbody,.htr-order-page .my_account_orders tr{display:block;width:100%}
    .htr-order-page .my_account_orders td{display:flex;justify-content:space-between;gap:12px;padding:8px 0;text-align:right}
    .htr-order-page .my_account_orders td[data-title]::before{content:attr(data-title);color:var(--store-muted)}
    .htr-order-page .my_account_orders td.order-actions{justify-content:flex-end;border-bottom:0}
}

/* Empty cart */
.htr-order-page .wc-empty-cart-message{margin:0}
.htr-order-page .cart-empty.woocommerce-info{padding:32px 28px;text-align:center;font-size:1.05rem;color:var(--store-ink)}
.htr-order-page .return-to-shop{text-align:center}
