/* Cart, checkout and account pages: WooCommerce's own markup dressed in the Glengallan design.
   WooCommerce's default shop styles are switched off (inc/woo.php), so this file is the whole look.
   Colours, sizes and radii come from the canvas boards Cart A, Checkout A, Account B and Account A pages. */

/* ---------- basics ---------- */
.h .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.h .form-row.hidden, .h .woocommerce .hidden { display: none !important; }
.h .clear { clear: both; }
.h .co-main .woocommerce-notices-wrapper:empty { display: none; }
.h .co-main { position: relative; }
.h .co-main a:not(.pill) { color: var(--g); }
/* WooCommerce wraps its pages in .woocommerce (max-width 1000px in block themes): the design runs full width */
.h .wp-block-post-content > .woocommerce, .h main > .woocommerce { max-width: none; margin: 0; padding: 0; }
.h .co-main mark { background: none; color: var(--g-dd); font-weight: 600; }
.h .co-main .pill { cursor: pointer; font-family: inherit; }
.h .co-main button.pill-green { border: 0; }
.h .co-main button.pill-line { background: #ffffff; }

/* ---------- notices ---------- */
.h .woocommerce-message, .h .woocommerce-info, .h .woocommerce-error, .h .woocommerce-notice:not(.woocommerce-thankyou-order-received) {
	list-style: none; margin: 0 0 18px; padding: 14px 18px; border-radius: 14px; background: var(--mint); color: var(--g-dd);
	font-size: 15px; line-height: 1.5; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
}
.h .woocommerce-error { background: #FBEAE8; color: #8C1D18; display: grid; gap: 4px; }
.h .woocommerce-error li { margin: 0; }
.h .woocommerce-message .button, .h .woocommerce-info .button, .h .woocommerce-message a.wc-forward, .h .woocommerce-info a.wc-forward {
	order: 2; margin-left: auto; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--g); text-decoration: underline; cursor: pointer;
}
.h .woocommerce-message[role="alert"]:focus, .h .woocommerce-error:focus { outline: 0; }

/* ---------- form fields (woocommerce_form_field + the theme's .co-f labels) ---------- */
.h .co-main .form-row { display: grid; gap: 6px; margin: 0; padding: 0; width: auto; float: none; min-width: 0; }
.h .co-main .form-row > label, .h .co-main .co-f > span { font-size: 14px; font-weight: 600; color: var(--g-dd); line-height: 1.4; margin: 0; }
.h .co-main .form-row > label small { margin-left: 8px; font-size: 13px; font-weight: 500; color: var(--body); }
.h .co-main .form-row .required, .h .co-main .co-f em { color: #B3261E; text-decoration: none; border: 0; font-style: normal; font-weight: 600; }
.h .co-main .form-row .optional { font-weight: 500; color: var(--mute); }
.h .co-main .woocommerce-input-wrapper { display: block; position: relative; }
.h .co-main .co-f { display: grid; gap: 6px; }
.h .co-main .form-row input.input-text, .h .co-main .form-row select, .h .co-main .form-row textarea,
.h .co-main .co-f input, .h .co-main .co-f select, .h .co-main .co-f textarea {
	width: 100%; height: 50px; padding: 0 16px; border: 1.5px solid #CDD5C8; border-radius: 12px; font: inherit; font-size: 15.5px;
	color: var(--ink); background: #ffffff; box-sizing: border-box; box-shadow: none; outline: 0; margin: 0;
}
.h .co-main .form-row textarea, .h .co-main .co-f textarea { height: 90px; padding: 12px 16px; resize: none; }
.h .co-main .form-row input::placeholder, .h .co-main .co-f input::placeholder, .h .co-main textarea::placeholder { color: #8A9086; }
.h .co-main .form-row input.input-text:focus, .h .co-main .form-row select:focus, .h .co-main .form-row textarea:focus, .h .co-main .co-f input:focus {
	border-color: var(--g); box-shadow: 0 0 0 3px rgba(68, 115, 58, .14);
}
.h .co-main .form-row select, .h .co-main .co-f select {
	appearance: none; -webkit-appearance: none; padding-right: 46px; font-weight: 600; color: var(--g-dd);
	background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344733A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px 18px;
}
.h .co-main .woocommerce-invalid input.input-text, .h .co-main .woocommerce-invalid select { border-color: #B3261E; }
.h .co-main .woocommerce-invalid > label { color: #8C1D18; }
.h .co-main .checkout-inline-error-message { font-size: 13px; color: #8C1D18; margin: 0; }

/* select2 (state box) to match the fields */
.h .co-main .select2-container { width: 100% !important; }
.h .co-main .select2-container .select2-selection--single { display: flex; align-items: center; height: 50px; border: 1.5px solid #CDD5C8; border-radius: 12px; background: #ffffff; }
.h .co-main .select2-container .select2-selection--single .select2-selection__rendered { line-height: 1.4; padding-top: 0; padding-bottom: 0; padding-left: 16px; padding-right: 40px; font-size: 15.5px; font-weight: 600; color: var(--g-dd); }
.h .co-main .select2-container .select2-selection--single .select2-selection__arrow { height: 47px; right: 10px; }
.select2-dropdown { border: 1.5px solid #CDD5C8 !important; border-radius: 12px !important; overflow: hidden; font-family: Poppins, Helvetica, Arial, sans-serif; }
.select2-results__option--highlighted[aria-selected], .select2-results__option--highlighted[data-selected] { background: var(--g, #44733A) !important; }

/* tick boxes: the real checkbox drawn as the design's square */
.h .co-main .co-chk, .h .co-main label.checkbox { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 400; color: var(--body); line-height: 1.5; cursor: pointer; }
.h .co-main .co-chk input[type="checkbox"], .h .co-main label.checkbox input[type="checkbox"] {
	appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px; border: 2px solid #A9B3A4; background: #ffffff; cursor: pointer;
}
.h .co-main .co-chk input[type="checkbox"]:checked, .h .co-main label.checkbox input[type="checkbox"]:checked {
	border-color: var(--g); background: var(--g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 14px 14px;
}

/* show-password eye (added by WooCommerce's script) */
.h .co-main .password-input { position: relative; display: block; }
.h .co-main .show-password-input {
	position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; padding: 0; border: 0; cursor: pointer;
	background: var(--mute); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center / 20px 20px;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center / 20px 20px;
}
.h .co-main .show-password-input.display-password { background: var(--g); }
.h .co-main .password-input input { padding-right: 48px; }

/* ---------- summary tables (cart summary, checkout "Your order") ---------- */
.h .co-sum table, .h .co-sum tbody, .h .co-sum tfoot { display: block; width: 100%; border: 0; margin: 0; padding: 0; border-collapse: collapse; }
.h .co-sum .co-dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; font-size: 15.5px; }
/* prices are spans inside the total and line cells: keep the cell's size (the design's .co-tot span / .co-mini span rules are for labels) */
.h .co-sum .co-dl tr.co-tot td span, .h .co-sum .co-dl tr.co-tot td bdi, .h .co-sum tr.co-mini td.product-total span, .h .co-sum tr.co-mini td.product-total bdi, .h .co-lt span, .h .co-lt bdi { font: inherit; color: inherit; }
.h .co-sum .co-dl tr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.h .co-sum .co-dl th, .h .co-sum .co-dl td { padding: 0; border: 0; background: none; text-align: left; font-weight: 400; color: var(--body); }
.h .co-sum .co-dl td { text-align: right; font-weight: 600; color: var(--ink); white-space: nowrap; }
.h .co-sum .co-dl td[colspan] { white-space: normal; text-align: left; font-weight: 400; font-size: 14px; color: var(--mute); }
.h .co-sum .co-dl th a { margin-left: 4px; font-size: 14px; font-weight: 600; }
.h .co-sum .co-dl tr.co-tot { align-items: baseline; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.h .co-sum .co-dl tr.co-tot th { font-size: 17px; font-weight: 600; color: var(--g-dd); }
.h .co-sum .co-dl tr.co-tot td b, .h .co-sum .co-dl tr.co-tot td strong { font-size: 30px; font-weight: 700; color: var(--g); }
.h .co-sum .co-dl tr.co-tot small { display: block; font-size: 12.5px; font-weight: 500; color: var(--mute); }
.h .co-sum .gl-ship input.shipping_method[type="radio"] {
	appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 0 8px 0 0; vertical-align: -2px; border-radius: 50%; border: 2px solid #A9B3A4; background: #ffffff; cursor: pointer;
}
.h .co-sum .gl-ship input.shipping_method[type="radio"]:checked { border: 5px solid var(--g); }
.h .co-sum .gl-ship label { cursor: pointer; }
.h .co-sum .gl-ship:not(.on) td { color: var(--mute); font-weight: 500; }
.h .co-sum .wc-proceed-to-checkout { margin: 0; padding: 0; }
.h .co-sum .wc-proceed-to-checkout .pill { width: 100%; }
.h .co-sum .co-trust { margin: 0; list-style: none; padding: 14px 0 0; }
.h .co-sum .co-trust a { color: inherit; text-decoration: none; }

/* ---------- cart ---------- */
.h .gl-cart-items { display: grid; gap: 14px; }
.h .co-item .co-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h .co-item .product-name a { color: inherit; text-decoration: none; }
.h .co-item .product-remove { display: contents; }
.h .co-q .sa-qty span[role="button"] { cursor: pointer; }
.h .co-q .sa-qty input { -moz-appearance: textfield; }
.h .gl-cart-actions { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.h .woocommerce-cart-form.processing, .h .cart_totals.processing { opacity: .6; }
.h .gl-empty { max-width: 640px; margin: 0 auto; padding: 44px 36px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.h .gl-empty .cart-empty, .h .gl-empty .wc-empty-cart-message { display: none; }
.h .gl-empty .h3 { font-size: 26px; }
.h .gl-empty .btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }

/* ---------- checkout ---------- */
.h form.checkout.ck-grid { margin: 0; }
.h .ck-left > * + * { margin-top: 18px; }
.h #customer_details { display: grid; gap: 18px; }
.h .co-sec { position: relative; }
.h .co-sec .co-sh small a { cursor: pointer; }

/* returning-customer log in (opened by the "Log in" link in step 2) */
.h .co-main > .box > form.woocommerce-form-login.login { margin: 0 0 18px; padding: 24px 28px; border-radius: 19px; background: #ffffff; border: 1px solid var(--line); box-shadow: var(--sh); display: grid; gap: 14px; }
.h .co-main > .box > form.woocommerce-form-login.login[style*="none"] { display: none !important; }
.h .co-main > .box > form.woocommerce-form-login.login > p:first-child { margin: 0; font-size: 15px; color: var(--body); }
.h .co-main form.woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.h .co-main .woocommerce-form-login__submit { min-height: 48px; padding: 0 28px; border-radius: 24px; background: var(--g); color: #ffffff; font: inherit; font-weight: 600; border: 0; cursor: pointer; }
.h .co-main .lost_password { margin: 0; font-size: 14.5px; }

/* step 1: the delivery and pickup plugin's boxes */
.h .gl-dps #dps-datetime-picker { display: grid; gap: 18px; }
.h .gl-dps #dps-datetime-picker > div:first-child {
	display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: auto !important; margin: 0 !important; padding: 6px;
	text-align: left !important; border: 1.5px solid var(--line); border-radius: 16px; background: #ffffff;
}
.h .gl-dps #dps-datetime-picker > div:first-child h3 { display: none; }
.h .co-main .gl-dps a.dps-order-type-btn {
	display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; margin: 0; padding: 0 12px; border: 0; border-radius: 12px;
	background: var(--g); color: #ffffff; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; opacity: 1 !important; cursor: pointer;
}
.h .co-main .gl-dps a.dps-order-type-btn[style*="0.3"] { background: transparent; color: var(--g); }
.h .gl-dps .dps-order-type-btn::before { content: ""; width: 19px; height: 19px; background: currentColor; -webkit-mask: var(--gl-ic) no-repeat center / contain; mask: var(--gl-ic) no-repeat center / contain; }
.h .gl-dps .dps-order-type-btn-delivery { --gl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 3h15v13H1z'/%3E%3Cpath d='M16 8h4l3 3v5h-7V8z'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E"); }
.h .gl-dps .dps-order-type-btn-pickup { --gl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E"); }
.h .gl-dps .dps-order-type-btn-pickup::after { content: " from Massie"; font-weight: 600; margin-left: -5px; }
.h .co-main .gl-dps #lpac_dps_delivery_date_field input.input, .h .co-main .gl-dps #lpac_dps_pickup_date_field input.input {
	height: 50px !important; min-height: 50px;
	padding-left: 46px; font-weight: 600; color: var(--g-dd); border-color: var(--g); cursor: pointer;
	background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344733A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") no-repeat 16px center / 19px 19px;
}
.h .gl-dps .glt-pickup-cutoff { display: none !important; } /* snippet 131 line: step 1 already says the rule */
/* the design's notes follow the Delivery / Pickup choice */
.h .co-sec:has(.dps-order-type-btn-delivery[style*="0.3"]) .gl-for-d { display: none; }
.h .co-sec:has(.dps-order-type-btn-pickup[style*="0.3"]) .gl-for-p { display: none; }
.h .co-sec .ck-note, .h .co-sec .co-hint { margin: 0; }
.h .co-sec .co-hint { display: block; padding: 0; background: none; border-radius: 0; font-size: 14.5px; line-height: 1.5; color: var(--body); }

/* the plugin's calendar (flatpickr) in the design's colours */
.flatpickr-calendar { border-radius: 16px !important; border: 1.5px solid #E3E8E1 !important; box-shadow: 0 12px 30px rgba(22, 36, 12, .12) !important; font-family: Poppins, Helvetica, Arial, sans-serif !important; }
.flatpickr-calendar.arrowTop::before, .flatpickr-calendar.arrowTop::after { display: none !important; }
.flatpickr-months .flatpickr-month, .flatpickr-current-month { color: #2F5228 !important; fill: #44733A !important; font-weight: 600 !important; }
.flatpickr-weekday { color: #44733A !important; font-weight: 600 !important; }
.flatpickr-day { border-radius: 10px !important; color: #44733A !important; font-weight: 600; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: rgba(68, 115, 58, .3) !important; font-weight: 500; }
.flatpickr-day:hover:not(.flatpickr-disabled) { background: #EEF4E9 !important; border-color: #EEF4E9 !important; }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: #44733A !important; border-color: #44733A !important; color: #ffffff !important; }
.flatpickr-day.today:not(.selected) { border-color: #89C642 !important; }

/* step 2: your details on a 6-column grid (halves and thirds, like the design's rows) */
.h .woocommerce-billing-fields__field-wrapper, .h .woocommerce-shipping-fields__field-wrapper {
	display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 14px;
}
.h .woocommerce-billing-fields__field-wrapper > .form-row, .h .woocommerce-shipping-fields__field-wrapper > .form-row { grid-column: 1 / -1; }
.h .woocommerce-billing-fields__field-wrapper > .gl-half { grid-column: span 3; }
.h .woocommerce-billing-fields__field-wrapper > .gl-third { grid-column: span 2; }
.h .woocommerce-shipping-fields__field-wrapper > .form-row-first, .h .woocommerce-shipping-fields__field-wrapper > .form-row-last { grid-column: span 3; }
.h .co-main .gl-country, .h .co-main #shipping_country_field, .h .co-main #billing_country_field { display: none !important; }
.h .co-main #billing_address_2_field { margin-top: -8px; }
.h .co-main #billing_address_1_field::before { content: "Delivery address"; display: block; margin: 4px 0 4px; font-size: 15px; font-weight: 600; color: var(--g-dd); }
.h form.checkout:has(.dps-order-type-btn-delivery[style*="0.3"]) #billing_address_1_field::before { content: "Billing address"; }
.h .co-main #billing_address_1_field::before { padding-top: 14px; border-top: 1px solid var(--line); }
.h .woocommerce-account-fields, .h .woocommerce-shipping-fields { margin-top: 18px; }
.h .woocommerce-shipping-fields .shipping_address { margin-top: 16px; }
.h .co-main .create-account { margin: 0; }

/* step 3: payment, then the notes box, then Place order */
.h .gl-step3 { display: flex; flex-direction: column; gap: 18px; }
.h .gl-step3 .co-sh { order: 0; }
.h .gl-step3 #payment { display: contents; }
.h .gl-step3 ul.payment_methods { order: 1; }
.h .gl-step3 .woocommerce-additional-fields { order: 2; }
.h .gl-step3 .place-order { order: 3; }
.h ul.payment_methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.h ul.payment_methods > li.wc_payment_method { margin: 0; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; background: #ffffff; }
.h ul.payment_methods > li.wc_payment_method:has(> input:checked) { border-color: var(--g); }
.h ul.payment_methods > li.wc_payment_method > input.input-radio {
	appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0 12px 0 0; vertical-align: -5px; border-radius: 50%; border: 2px solid #A9B3A4; background: #ffffff; cursor: pointer;
}
.h ul.payment_methods > li.wc_payment_method > input.input-radio:checked { border: 7px solid var(--g); }
.h ul.payment_methods > li.wc_payment_method > label { font-size: 16px; font-weight: 600; color: var(--g-dd); cursor: pointer; }
.h ul.payment_methods > li.wc_payment_method > label img { max-height: 24px; width: auto; vertical-align: middle; margin-left: 8px; }
.h ul.payment_methods .payment_box { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--tint); font-size: 14.5px; color: var(--body); }
.h ul.payment_methods .payment_box p { margin: 0; }
.h ul.payment_methods > li:not(.wc_payment_method) { list-style: none; }
.h .gl-step3 .place-order { display: grid; gap: 12px; justify-items: center; text-align: center; margin: 0; padding: 0; }
.h .gl-step3 #place_order { width: 100%; min-height: 62px; font-size: 19px; gap: 10px; }
.h .gl-step3 #place_order::before {
	content: ""; width: 20px; height: 20px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='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") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='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") no-repeat center / contain;
}
.h .gl-step3 .woocommerce-terms-and-conditions-wrapper, .h .gl-step3 .woocommerce-privacy-policy-text { width: 100%; }
.h .gl-step3 .woocommerce-privacy-policy-text p { margin: 0 auto; max-width: 520px; font-size: 13px; color: var(--mute); }
.h .gl-step3 .woocommerce-additional-fields .form-row input.input-text { height: 50px; }

/* "Your order" column */
.h .co-sum .woocommerce-checkout-review-order { position: relative; }
.h .co-sum tbody.gl-mini { display: grid; gap: 14px; margin-bottom: 16px; }
.h .co-sum tr.co-mini { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.h .co-sum tr.co-mini td { padding: 0; border: 0; }
.h .co-sum tr.co-mini .co-img { width: 64px; height: 64px; border-radius: 12px; }
.h .co-sum tr.co-mini .co-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h .co-sum tr.co-mini b { display: block; font-size: 15.5px; color: var(--g-dd); }
.h .co-sum tr.co-mini span { font-size: 13.5px; color: var(--mute); }
.h .co-sum tr.co-mini strong { font-size: 16px; color: var(--ink); }
.h .blockUI.blockOverlay { border-radius: 19px; }

/* ---------- order received (step 3: Done) ---------- */
.h .gl-done { max-width: 820px; margin: 0 auto; }
.h .gl-done-card { padding: 36px 36px 32px; display: grid; gap: 16px; justify-items: center; text-align: center; }
.h .gl-done-tick { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--g-dd); }
.h .gl-done-tick .ic { width: 30px; height: 30px; stroke-width: 2.6; }
.h .woocommerce-thankyou-order-received { margin: 0; font-size: 21px; font-weight: 600; color: var(--g-dd); line-height: 1.4; }
.h ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; width: 100%; margin: 6px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); }
.h ul.woocommerce-order-overview li { display: grid; gap: 2px; margin: 0; }
.h ul.woocommerce-order-overview li span { font-size: 13px; color: var(--mute); }
.h ul.woocommerce-order-overview li strong { font-size: 16px; color: var(--g-dd); }
.h .gl-done-q { margin: 0; font-size: 14.5px; color: var(--body); }
.h .gl-done-more { margin-top: 18px; display: grid; gap: 18px; }

/* order details tables (thank you page and View order in the account) */
.h .co-main section.woocommerce-order-details, .h .co-main section.woocommerce-customer-details, .h .co-main #dps-order-details, .h .co-main .woocommerce-order-details ~ section {
	background: #ffffff; border: 1px solid var(--line); border-radius: 19px; padding: 24px 28px; box-shadow: var(--sh);
}
.h .co-main .woocommerce-order-details__title, .h .co-main .woocommerce-column__title { margin: 0 0 12px; font-size: 21px; color: var(--g); }
.h .co-main table.shop_table:not(.co-dl) { width: 100%; border-collapse: collapse; font-size: 15px; }
.h .co-main table.shop_table:not(.co-dl) th, .h .co-main table.shop_table:not(.co-dl) td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--body); }
.h .co-main table.shop_table:not(.co-dl) td:last-child, .h .co-main table.shop_table:not(.co-dl) th:last-child { text-align: right; }
.h .co-main table.shop_table:not(.co-dl) tfoot th { font-weight: 600; color: var(--g-dd); }
.h .co-main table.shop_table:not(.co-dl) tfoot tr:last-child td, .h .co-main table.shop_table:not(.co-dl) tfoot tr:last-child th { border-bottom: 0; font-size: 18px; font-weight: 700; color: var(--g); }
.h .co-main .woocommerce-customer-details address { font-style: normal; line-height: 1.6; color: var(--body); border: 0; padding: 0; }
.h .co-main .woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.h .co-main .order-again .button, .h .co-main .woocommerce-order-details .order-again a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border-radius: 24px; background: var(--g); color: #ffffff; font-weight: 600; text-decoration: none; }

/* ---------- account ---------- */
.h .ac-card wc-order-attribution-inputs { display: none; }
.h .ac-card .woocommerce-privacy-policy-text p { margin: 0; text-align: center; font-size: 13px; color: var(--mute); }
.h .co-main.gl-tint { background: var(--tint); }
.h .ac-two.ac-solo { grid-template-columns: minmax(0, 520px); justify-content: center; }
.h .ac-card > form { display: contents; }
.h .ac-card button.pill { width: 100%; }
.h .ac-card .ac-line .co-chk { font-size: 14.5px; }
.h .ai-nav a { text-decoration: none; }
.h .ai-main > .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 0; }
.h .ai-main > p:not([class]) { margin: 0; font-size: 15.5px; color: var(--body); }
.h .ai-form > button.pill { justify-self: start; }
.h .gl-addr-form .woocommerce-address-fields { display: grid; gap: 18px; }
.h .gl-addr-form .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.h .gl-addr-form .woocommerce-address-fields__field-wrapper > .form-row { grid-column: 1 / -1; }
.h .gl-addr-form .woocommerce-address-fields__field-wrapper > .form-row-first, .h .gl-addr-form .woocommerce-address-fields__field-wrapper > .form-row-last { grid-column: auto; }
.h .gl-addr-form button.pill { justify-self: start; }
.h .gl-orders { display: grid; gap: 16px; }
.h .ai-order .btn-row, .h .ai-cta .btn-row, .h .gl-none .btn-row, .h .woocommerce-pagination.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.h .ai-order .chip { text-transform: none; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
	.h .woocommerce-billing-fields__field-wrapper > .gl-half, .h .woocommerce-billing-fields__field-wrapper > .gl-third,
	.h .woocommerce-shipping-fields__field-wrapper > .form-row-first, .h .woocommerce-shipping-fields__field-wrapper > .form-row-last,
	.h .gl-addr-form .woocommerce-address-fields__field-wrapper > .form-row-first, .h .gl-addr-form .woocommerce-address-fields__field-wrapper > .form-row-last { grid-column: 1 / -1; }
	.h .gl-dps .dps-order-type-btn-pickup::after { content: none; }
	.h .co-sum .co-dl tr.co-tot td b { font-size: 26px; }
	.h .gl-done-card { padding: 26px 18px; }
	.h .co-main section.woocommerce-order-details, .h .co-main section.woocommerce-customer-details { padding: 20px 18px; }
	.h .ai-form > button.pill, .h .gl-addr-form button.pill { justify-self: stretch; width: 100%; }
}

/* Fixes from the staging test order (13 Nov) */
.h .co-main .gl-dps select { height: 50px !important; min-height: 50px; padding-top: 0; padding-bottom: 0; }
.h ul.woocommerce-order-overview li strong, .h ul.woocommerce-order-overview li strong span, .h ul.woocommerce-order-overview li strong bdi { font: inherit; font-size: 16px; font-weight: 700; color: var(--g-dd); }
.h ul.woocommerce-order-overview li.email strong { overflow-wrap: anywhere; }
.h .co-main table.shop_table:not(.co-dl) tfoot tr:last-child td, .h .co-main table.shop_table:not(.co-dl) tfoot tr:last-child th { font-size: 15px; font-weight: 600; color: var(--g-dd); }
.h .co-main table.shop_table:not(.co-dl) tfoot tr:has(.woocommerce-Price-amount) th:only-of-type { color: var(--g-dd); }

/* 14 Nov order test: when the checkout shows an error, WooCommerce puts its messages first in the two-column grid,
   which pushed "Delivery or pickup" into the right-hand column. The messages now run full width above both columns. */
.h form.checkout.ck-grid > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
@media (min-width: 1001px) {
	.h form.checkout.ck-grid > .ck-left { grid-column: 1; }
	.h form.checkout.ck-grid > .co-sum { grid-column: 2; }
}

/* 15 Nov: the under-40 m² delivery line now blocks the order as an error, but keeps the blue info look it had as a notice
   (WooCommerce's block banner colours). When other errors show too it sits in their red list as one line. */
.h .wc-block-components-notice-banner.is-error[data-id="gl-min-m2"] { background-color: #f4f8ff; border-color: #007cba; }
.h .wc-block-components-notice-banner.is-error[data-id="gl-min-m2"] > svg { background-color: #007cba; transform: none; }

/* 15 Nov her call: delivery under 40 m2 (our 40 m2 line is showing in the summary) doesn't mark the delivery day and
   time boxes red after Place order, as delivery can't be booked anyway (the "select a day / time" lines are hidden too). */
.h form.checkout:has(.gl-no-ship-msg) #lpac_dps_delivery_date_field.woocommerce-invalid input.input-text:not(:focus),
.h form.checkout:has(.gl-no-ship-msg) #lpac_dps_delivery_time_field.woocommerce-invalid input.input-text:not(:focus) { border-color: #CDD5C8; }
.h form.checkout:has(.gl-no-ship-msg) #lpac_dps_delivery_date_field.woocommerce-invalid > label,
.h form.checkout:has(.gl-no-ship-msg) #lpac_dps_delivery_time_field.woocommerce-invalid > label { color: var(--g-dd); }
