/* Custom Checkout – cart (design E) and checkout (design D). Brand: #a2307f. */
.cco-checkout, .cco-cart, .cco-orderpage { --cco-brand: #a2307f; --cco-brand-dark: #7e2262; --cco-tint: #fbf2f8; --cco-ink: #2a2228; --cco-muted: #5e5560; --cco-line: #eee4ea; --cco-field: #d9cdd4; --cco-soft: #fbf7f9; --cco-error: #b42318; }

/* Theme header: keep the logo, hide menus, social and account links on checkout (Astra and common themes). */
.cco-checkout .main-header-bar-navigation, .cco-checkout .ast-builder-menu, .cco-checkout .ast-builder-menu-1, .cco-checkout .main-header-menu-toggle, .cco-checkout .ast-mobile-header-content, .cco-checkout .ast-header-social-wrap, .cco-checkout .ast-header-social-1-wrap, .cco-checkout .ast-header-account-wrap, .cco-checkout .ast-site-header-cart, .cco-checkout .site-header .primary-navigation, .cco-checkout .site-header .main-navigation, .cco-checkout .ast-breadcrumbs-wrapper, .cco-checkout .woocommerce-breadcrumb { display: none !important; }
.cco-checkout .entry-header, .cco-cart .entry-header, .cco-checkout .ast-archive-description, .cco-checkout .page-header { display: none; }

.cco-form, .cco-cart-layout, .cco-topbar, .cco-cross-sells { color: var(--cco-ink); }
.cco-h1 { font-size: 32px; line-height: 1.2; font-weight: 800; margin: 0 0 8px; color: var(--cco-ink); }
.cco-lead { margin: 0 0 20px; color: var(--cco-muted); font-size: 15px; }
.cco-muted { color: var(--cco-muted); font-size: 14px; }
.cco-form abbr.required, .cco-terms abbr.required, .cco-modal abbr.required { color: var(--cco-error); text-decoration: none; border: 0; }
.cco-link { background: none !important; border: 0 !important; padding: 0 !important; margin: 0; color: var(--cco-brand) !important; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; box-shadow: none !important; min-height: 0; }
.cco-link:hover, .cco-link:focus { color: var(--cco-brand-dark) !important; }
.cco-icon { flex: none; }

/* Top bar */
.cco-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 0 0 16px; margin: 0 0 24px; border-bottom: 1px solid var(--cco-line); font-size: 14px; }
.cco-topbar__secure { display: inline-flex; align-items: center; gap: 6px; color: var(--cco-muted); }
.cco-topbar__secure .cco-icon { width: 16px; height: 16px; }
.cco-topbar__back { font-weight: 600; color: var(--cco-brand); }

/* Layout */
.cco-layout, .cco-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 40px; align-items: start; }
.cco-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.cco-place { background: #fff; border: 1px solid var(--cco-line); border-radius: 16px; padding: 20px; }
.cco-place .cco-terms { margin: 0 !important; }
.cco-place .woocommerce-terms-and-conditions-wrapper { margin: 0 !important; padding: 0 !important; }
.cco-place .woocommerce-terms-and-conditions-wrapper > *:not(.cco-terms) { margin-top: 12px; }
.cco-place .woocommerce-terms-and-conditions-wrapper:empty, .cco-place .woocommerce-privacy-policy-text:empty { display: none; }
.cco-summary { background: #fff; border: 1px solid var(--cco-line); border-radius: 16px; padding: 24px; }
/* Themes float WooCommerce's order review to the side: undo that inside the summary. */
.cco-summary #order_review, .cco-summary #order_review_heading, .cco-form #payment, .cco-layout .cco-main { float: none !important; width: auto !important; clear: none !important; }
.cco-summary > * { display: block; }
.cco-summary > p.cco-trust { display: flex; }
.cco-form, .cco-cart-layout, .cco-cross-sells { text-align: left; }
.cco-summary__title { font-size: 20px; font-weight: 700; margin: 0 0 16px; color: var(--cco-ink); }

/* Steps */
.cco-step { background: #fff; border: 1px solid var(--cco-line); border-radius: 16px; padding: 24px; margin: 0 0 20px; }
.cco-step__title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; margin: 0 0 16px; color: var(--cco-ink); line-height: 1.3; }
.cco-step__num { width: 28px; height: 28px; border-radius: 50%; background: var(--cco-brand); color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* Fields */
.cco-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.cco-form .form-row:not(.cco-step) { float: none !important; width: auto !important; margin: 0 0 14px !important; padding: 0 !important; }
.cco-form .cco-step.place-order { float: none; width: auto; padding: 24px; margin: 0 0 20px; }
.cco-form .form-row-wide, .cco-form .create-account, .cco-form .woocommerce-account-fields { grid-column: 1 / -1; }
.cco-form .form-row label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; color: var(--cco-ink); line-height: 1.4; }
.cco-form .form-row input.input-text, .cco-form .form-row select, .cco-form .form-row textarea, .cco-form .select2-container .select2-selection--single, .cco-coupon input.input-text, .cco-modal input.input-text { width: 100%; min-height: 48px; padding: 12px 14px; font-size: 16px; border: 1px solid var(--cco-field); border-radius: 10px; background: #fff; color: var(--cco-ink); box-sizing: border-box; box-shadow: none; }
.cco-form .select2-container .select2-selection--single { padding: 8px 10px; }
.cco-form .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.cco-form .form-row input:focus, .cco-form .form-row select:focus, .cco-coupon input:focus, .cco-modal input:focus { outline: 2px solid var(--cco-brand); outline-offset: 1px; border-color: var(--cco-brand); }
.cco-form .cco-req .optional { display: none; }
.cco-form .cco-req > label::after { content: " *"; color: var(--cco-error); }
.cco-form .form-row .description { font-size: 13px; color: var(--cco-muted) !important; margin-top: 6px; background: none !important; padding: 0 !important; position: static !important; display: block !important; box-shadow: none !important; border: 0 !important; width: auto !important; }
.cco-form .form-row .description::before { display: none; }
.cco-form .woocommerce-invalid input.input-text, .cco-form .woocommerce-invalid select, .cco-form [aria-invalid="true"] { border-color: var(--cco-error) !important; }
.cco-field-error { display: block; color: var(--cco-error); font-size: 13px; font-weight: 600; margin-top: 6px; }
.cco-form .checkout-inline-error-message { color: var(--cco-error); font-size: 13px; font-weight: 600; margin: 6px 0 0; }

/* Option cards (shipping and payment) */
.cco-options { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cco-option, .cco-options > li.cco-option > label.cco-option__label { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.cco-option { padding: 16px 20px; border: 1px solid var(--cco-field); border-radius: 12px; background: #fff; margin: 0; }
.cco-options li.cco-option { display: block; padding: 0; }
.cco-options li.cco-option > input.input-radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cco-options li.cco-option > label.cco-option__label { padding: 16px 20px; margin: 0; font-weight: 400; }
.cco-options li.cco-option > label.cco-option__label::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--cco-field); flex: none; box-sizing: border-box; }
.cco-options li.cco-option.is-selected > label.cco-option__label::before, .cco-options li.cco-option > input:checked + label::before { border: 6px solid var(--cco-brand); }
.cco-options li.cco-option > input:focus-visible + label { outline: 2px solid var(--cco-brand); outline-offset: 2px; border-radius: 12px; }
.cco-option input[type="radio"].shipping_method { width: 20px; height: 20px; margin: 0; accent-color: var(--cco-brand); flex: none; }
.cco-option.is-selected, .cco-option:has(input:checked) { border: 2px solid var(--cco-brand); background: var(--cco-tint); padding: 15px 19px; }
.cco-options li.cco-option.is-selected, .cco-options li.cco-option:has(> input:checked) { padding: 0; }
.cco-option__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cco-option__name { font-weight: 700; }
.cco-option__line { font-size: 14px; color: var(--cco-muted); }
.cco-option__price { font-weight: 700; white-space: nowrap; }
.cco-option__label img { max-height: 24px; width: auto; margin-left: auto; }
.cco-form #payment, .cco-form #payment ul.payment_methods { background: none; border: 0; padding: 0; border-radius: 0; }
.cco-form #payment div.payment_box { background: var(--cco-soft); color: var(--cco-muted); margin: 0 20px 16px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.cco-form #payment div.payment_box::before { display: none; }
.cco-form #payment div.form-row { padding: 0; }

/* Address panel */
.cco-address__intro { margin: -8px 0 14px; }
.cco-address[hidden], .cco-branch[hidden] { display: none; }
.cco-alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #8a1c12; font-size: 14px; font-weight: 600; margin: 0 0 14px; }
.cco-alert[hidden] { display: none; }

/* Date buttons */
.cco-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.cco-date { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 68px; padding: 10px 6px; border: 1px solid var(--cco-field); border-radius: 12px; background: #fff; cursor: pointer; text-align: center; margin: 0; box-sizing: border-box; }
.cco-date input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cco-date:focus-within { outline: 2px solid var(--cco-brand); outline-offset: 2px; }
.cco-date.is-selected { border: 2px solid var(--cco-brand); background: var(--cco-tint); }
.cco-date__day { font-size: 13px; font-weight: 600; color: var(--cco-muted); }
.cco-date__date { font-size: 18px; font-weight: 800; color: var(--cco-ink); }
.cco-date--more select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.cco-arrival { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--cco-soft); margin: 12px 0 0; }
.cco-tbc { margin: 0; }

/* Terms and button */
.cco-terms__label { display: flex !important; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--cco-field); border-radius: 12px; font-weight: 400 !important; cursor: pointer; }
.cco-terms__label input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--cco-brand); }
.cco-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--cco-field); background: #fff; color: var(--cco-ink); font-weight: 700; text-decoration: none; cursor: pointer; box-sizing: border-box; font-size: 16px; line-height: 1.2; }
.cco-btn--primary, .cco-form #place_order.cco-btn--primary, .cco-cart .checkout-button.cco-btn--primary { background: var(--cco-brand) !important; border-color: var(--cco-brand) !important; color: #fff !important; }
.cco-btn--primary:hover, .cco-btn--primary:focus { background: var(--cco-brand-dark) !important; color: #fff !important; }
.cco-btn--big { width: 100%; min-height: 56px; font-size: 18px; margin: 0; float: none !important; }
.cco-btn--small { min-height: 44px; padding: 0 16px; }
.cco-submit { margin-top: 16px; }

/* Your order */
.cco-items li { list-style: none; margin: 0; }
.cco-items { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cco-item { display: flex; align-items: center; gap: 14px; }
.cco-item__thumb { position: relative; flex: none; width: 64px; }

.cco-item__qty { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--cco-ink); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cco-item__name { flex: 1; min-width: 0; font-weight: 600; line-height: 1.35; }
.cco-item__name .variation { font-weight: 400; font-size: 14px; color: var(--cco-muted); margin: 2px 0 0; }
.cco-item__name .variation dt, .cco-item__name .variation dd { display: inline; margin: 0; float: none; }
.cco-item__price { font-weight: 700; white-space: nowrap; }
.cco-coupon { margin: 0 0 12px; }
.cco-coupon__box { display: flex; gap: 8px; margin-top: 10px; }
.cco-coupon__box[hidden] { display: none; }
.cco-totals { margin: 0; padding: 14px 0 0; border-top: 1px solid var(--cco-line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.cco-totals__row { display: flex; justify-content: space-between; gap: 12px; margin: 0; }
.cco-totals__row dt { font-weight: 400; margin: 0; }
.cco-totals__row dd { margin: 0; text-align: right; }
.cco-arrives { color: var(--cco-muted); }
.cco-totals__total { border-top: 1px solid var(--cco-line); padding-top: 14px; font-size: 18px; font-weight: 700; align-items: baseline; }
.cco-totals__total dd, .cco-totals__amount { font-size: 24px; font-weight: 800; display: flex; flex-direction: column; align-items: flex-end; }
.cco-totals__amount small { font-size: 13px; font-weight: 400; }
.cco-trust { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--cco-muted); background: var(--cco-soft); border-radius: 12px; padding: 14px; margin: 16px 0 0; }
.cco-trust .cco-icon { width: 20px; height: 20px; }
.cco-mobile-summary { display: none; }

/* Cart */
.cco-cart-items { min-width: 0; }
.cco-cart-list, .cco-cart-list li { list-style: none; }
.cco-cart-list { margin: 0 0 12px; padding: 0; background: #fff; border: 1px solid var(--cco-line); border-radius: 16px; }
.cco-cart-layout .cco-h1, .cco-cart-item, .cco-cart-item * { text-align: left; }
.cco-cart-item { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; padding: 20px 24px; border-bottom: 1px solid var(--cco-line); }
.cco-cart-item:last-child { border-bottom: 0; }
.cco-cart-item__thumb { flex: none; width: 96px; }
.cco-cart-item__thumb img, .cco-item__thumb img { max-width: 100% !important; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; display: block; margin: 0 !important; }
.cco-cart-item__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cco-cart-item__info > a { font-weight: 700; font-size: 17px; color: var(--cco-ink); text-decoration: none; }
.cco-tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--cco-brand-dark); background: var(--cco-tint); border-radius: 999px; padding: 4px 10px; }
.cco-tag .cco-icon { width: 14px; height: 14px; }
.cco-stepper { display: inline-flex; align-items: center; border: 1px solid var(--cco-field); border-radius: 10px; overflow: hidden; background: #fff; }
.cco-stepper__btn { width: 44px; height: 44px; border: 0 !important; background: #fff !important; color: var(--cco-ink) !important; font-size: 18px; cursor: pointer; padding: 0 !important; box-shadow: none !important; }
.cco-stepper .quantity { margin: 0 !important; }
.cco-stepper .quantity input.qty { width: 48px; height: 44px; border: 0; border-left: 1px solid var(--cco-line); border-right: 1px solid var(--cco-line); text-align: center; font-size: 16px; padding: 0; -moz-appearance: textfield; border-radius: 0; }
.cco-stepper .quantity input.qty::-webkit-outer-spin-button, .cco-stepper .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cco-cart-item__total { font-weight: 800; font-size: 18px; min-width: 70px; text-align: right; }
.cco-remove { display: inline-flex !important; align-items: center; justify-content: center; width: 44px !important; height: 44px !important; border-radius: 50% !important; background: var(--cco-soft) !important; color: var(--cco-muted) !important; }
.cco-remove .cco-icon { width: 18px; height: 18px; }
.cco-cart-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0 0; }
.cco-cart-actions .coupon { position: absolute; left: -9999px; }
.cco-continue { font-weight: 600; color: var(--cco-brand); }
.cco-update[disabled] { opacity: .45; cursor: default; }
.cco-cart-actions .cco-update { min-height: 44px; }
.cco-cart-side .cart_totals, .cco-totals-card { width: 100% !important; float: none !important; background: #fff; border: 1px solid var(--cco-line); border-radius: 16px; padding: 24px; box-sizing: border-box; position: sticky; top: 24px; }
.cco-ship-list { border-top: 1px solid var(--cco-line); margin-top: 14px; padding-top: 14px; font-size: 15px; }
.cco-ship-list__title { margin: 0 0 8px; }
.cco-ship-list ul { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; color: var(--cco-muted); }
.cco-ship-list li { display: flex; justify-content: space-between; gap: 12px; }
.cco-totals-card .cco-coupon { border-top: 1px solid var(--cco-line); margin: 14px 0 0; padding-top: 14px; }
.cco-totals-card > .cco-totals__total { margin: 14px 0 16px; }
.cco-cross-sells { margin-top: 40px; }
.cco-cross-sells .cross-sells { width: 100% !important; float: none !important; }

/* Modal (login) */
.cco-modal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cco-modal__x { width: 44px; height: 44px; border: 0 !important; border-radius: 50% !important; background: var(--cco-soft, #fbf7f9) !important; color: var(--cco-ink, #2a2228) !important; font-size: 24px; line-height: 1; cursor: pointer; padding: 0 !important; }
.cco-login-form .form-row { margin: 0 0 14px; }
.cco-login-form label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.cco-login-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.cco-login-row label { display: inline-flex; gap: 8px; align-items: center; font-weight: 400; margin: 0; }
.cco-login-form .cco-btn { width: 100%; }
.cco-modal .cco-btn { width: 100%; }
.cco-or { display: flex; align-items: center; gap: 12px; color: #5e5560; font-size: 13px; margin: 14px 0 !important; }
.cco-or::before, .cco-or::after { content: ""; flex: 1; height: 1px; background: #eee4ea; }

/* Phones and narrow screens */
@media (max-width: 920px) {
	.cco-layout, .cco-cart-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.cco-side { display: contents; }
	.cco-summary, .cco-totals-card { position: static; }
	.cco-layout .cco-summary { order: -1; display: none; }
	.cco-layout .cco-summary.is-open { display: block; }
	.cco-layout .cco-main { order: 0; }
	.cco-layout .cco-place { order: 1; padding: 16px; }
	.cco-place .cco-terms__label { padding: 10px 12px; font-size: 14px; }
	.cco-mobile-summary { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 56px; padding: 0 16px; margin: 0 0 16px; background: var(--cco-tint) !important; color: var(--cco-ink) !important; border: 1px solid var(--cco-line) !important; border-radius: 12px; font-weight: 600; cursor: pointer; }
	.cco-mobile-summary__label { color: var(--cco-brand); }
}
@media (max-width: 600px) {
	.cco-grid { grid-template-columns: minmax(0, 1fr); }
	.cco-step, .cco-summary { padding: 18px; border-radius: 14px; }
	.cco-dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cco-h1 { font-size: 26px; }
	.cco-cart-item { padding: 16px; gap: 12px; flex-wrap: wrap; }
	.cco-cart-item__info { flex-basis: calc(100% - 90px); }
	.cco-cart-item__thumb { width: 72px; }
}

.cco-modal .cco-btn:not(.cco-btn--primary) { background: #fff !important; color: #2a2228 !important; border: 1px solid #d9cdd4 !important; }

/* ---------- Stage 3: progress banner ---------- */
.cco-progress { margin: 0 0 24px; }
.cco-progress ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; }
.cco-progress__step { flex: 1; display: flex; align-items: center; gap: 10px; position: relative; margin: 0; min-width: 0; color: var(--cco-muted); font-size: 15px; }
.cco-progress__step:not(:last-child)::after { content: ""; flex: 1; height: 2px; background: var(--cco-line); margin: 0 12px; min-width: 16px; }
.cco-progress__step.is-done:not(:last-child)::after { background: var(--cco-brand); }
.cco-progress__dot { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 14px; font-weight: 700; border: 2px solid var(--cco-field); background: #fff; color: var(--cco-muted); box-sizing: border-box; }
.cco-progress__step.is-done .cco-progress__dot { background: var(--cco-brand); border-color: var(--cco-brand); color: #fff; }
.cco-progress__step.is-current .cco-progress__dot { border-color: var(--cco-brand); color: var(--cco-brand); box-shadow: 0 0 0 4px var(--cco-tint); }
.cco-progress__step.is-current, .cco-progress__step.is-done { color: var(--cco-ink); }
.cco-progress__step.is-current .cco-progress__label { font-weight: 700; }
.cco-progress__text { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.cco-progress__label a { color: inherit; text-decoration: underline; }
.cco-progress__note { font-size: 12px; color: var(--cco-muted); font-weight: 400; }
@media (max-width: 600px) {
	.cco-progress__step { font-size: 13px; gap: 6px; }
	.cco-progress__step:not(:last-child)::after { margin: 0 6px; min-width: 8px; }
	.cco-progress__dot { width: 24px; height: 24px; font-size: 12px; }
}

/* ---------- Stage 3: payment screen ---------- */
.cco-pay .woocommerce-notices-wrapper:empty { display: none; }
.cco-banner { border-radius: 14px; padding: 16px 20px; margin: 0 0 20px; border: 1px solid; }
.cco-banner p { margin: 0; }
.cco-banner p + p { margin-top: 4px; }
.cco-banner__title { font-weight: 700; font-size: 17px; }
.cco-banner--warn { background: #fff6e5; border-color: #f2c46d; color: #5c3b00; }
.cco-banner--ok { background: #ecf8ef; border-color: #9fd3ad; color: #1f4d2b; }
.cco-note { background: var(--cco-soft); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--cco-muted); margin: 0 0 16px; }
.cco-payform .cco-submit { margin-top: 16px; }
.cco-later p { margin: 0 0 12px; }
.cco-later__form { padding: 0 0 16px; margin: 0 0 16px; border-bottom: 1px solid var(--cco-line); }
.cco-later__form .form-row { margin: 0 0 16px; max-width: 360px; }
.cco-later__form .cco-btn { width: auto; }
.cco-later__cancel { margin: 0; }
.cco-later__cancel .cco-link { color: var(--cco-muted) !important; font-weight: 400; }
.cco-paylayout .cco-side { top: 24px; }

/* ---------- Stage 3: order received ---------- */
.cco-orderpage .cco-progress { max-width: 640px; }
.cco-confirming { display: flex; gap: 16px; align-items: flex-start; background: var(--cco-tint); border: 1px solid var(--cco-line); border-radius: 14px; padding: 18px 20px; margin: 0 0 24px; color: var(--cco-ink); }
.cco-confirming p { margin: 0; }
.cco-confirming__title { font-weight: 700; font-size: 17px; margin-bottom: 4px !important; }
.cco-confirming__text { font-size: 14px; color: var(--cco-muted); }
.cco-spinner { width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--cco-line); border-top-color: var(--cco-brand); animation: cco-spin .9s linear infinite; flex: none; margin-top: 2px; }
@keyframes cco-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cco-spinner { animation-duration: 3s; } }
.cco-confirming-on .woocommerce-thankyou-order-received { display: none; }
@media (max-width: 900px) {
	.cco-paylayout .cco-summary { display: block; order: 2; }
}
.cco-banner p, .cco-later p, .cco-confirming p { font-size: 15px; line-height: 1.5; }
.cco-banner .cco-banner__title, .cco-confirming .cco-confirming__title { font-size: 17px; }
.cco-later .cco-muted { font-size: 14px; }
.cco-payform .cco-step { padding-bottom: 24px; }
.cco-payform #payment { background: none !important; border-radius: 0; padding: 0 !important; }
.cco-later .cco-btn, .cco-later .cco-btn:hover { background: #fff !important; color: var(--cco-ink) !important; border: 1px solid var(--cco-field) !important; box-shadow: none !important; }
.cco-later .cco-btn:hover, .cco-later .cco-btn:focus { border-color: var(--cco-brand) !important; color: var(--cco-brand) !important; }
.cco-later__cancel .cco-link { font-size: 14px !important; }

/* ---------- 0.3.1 ---------- */
.cco-terms-step { padding: 20px 24px; }
.cco-terms-step .cco-terms { margin: 0 !important; }
.cco-terms-step .woocommerce-terms-and-conditions-wrapper { margin: 0 !important; padding: 0 !important; }
.cco-place { background: none; border: 0; padding: 0; }
.cco-place .cco-submit { margin-top: 0; }
.cco-item__name span[title] { cursor: help; }
/* Cart: one compact stepper (Astra adds its own +/- buttons), more room for the name and date. */
.cco-stepper .quantity .minus, .cco-stepper .quantity .plus, .cco-stepper > .minus, .cco-stepper > .plus, .cco-stepper .ast-qty-placeholder, .cco-stepper .quantity > a, .cco-stepper .quantity > button { display: none !important; }
.cco-stepper .quantity { display: block !important; width: auto !important; border: 0 !important; padding: 0 !important; }
.cco-stepper__btn { width: 34px; height: 38px; font-size: 17px; }
.cco-stepper .quantity input.qty { width: 38px !important; height: 38px; min-height: 0; margin: 0 !important; }
.cco-cart-item__qty { flex: none; }
.cco-cart-item__total { min-width: 0; }
.cco-cart-item__remove { flex: none; }
.cco-tag { line-height: 1.35; }
.cco-stepper__btn { display: inline-flex !important; align-items: center; justify-content: center; text-align: center; line-height: 1; }
@media (min-width: 901px) { .cco-tag { white-space: nowrap; } }
.cco-cart-actions .cco-update { background: #fff !important; color: var(--cco-ink) !important; border: 1px solid var(--cco-field) !important; border-radius: 12px !important; padding: 0 18px !important; font-weight: 700; }
.cco-cart-actions .cco-update.cco-btn--primary { background: var(--cco-brand) !important; border-color: var(--cco-brand) !important; color: #fff !important; opacity: 1; }

/* ---------- 0.3.3: cart spacing, amounts with cents ---------- */
.cco-cart-list { margin: 0 0 12px !important; padding: 0 !important; }
.cco-cart-list > li.cco-cart-item { margin: 0 !important; padding: 16px 24px !important; gap: 16px; }
.cco-cart-item__thumb { margin: 0 !important; padding: 0 !important; width: 88px; }
.cco-cart-item__info { flex: 1 1 0; min-width: 120px; }
.cco-cart-item__total, .cco-totals__row dd, .cco-totals__amount, .cco-option__price, .cco-item__price, .cco-mobile-summary #cco-mobile-total { white-space: nowrap; }
.cco-cart-item__total { flex: none; }
.cco-totals__row dt { min-width: 0; }
.cco-btn--big { white-space: nowrap; }
@media (max-width: 600px) {
	.cco-cart-list > li.cco-cart-item { padding: 14px 16px !important; gap: 10px 12px; }
	.cco-cart-item__thumb { width: 64px; }
	.cco-cart-item__info { flex-basis: calc(100% - 76px); }
	.cco-cart-item__qty { margin-left: 76px; }
	.cco-cart-item__total { margin-left: auto; font-size: 17px; }
	.cco-btn--big { font-size: 16px; padding: 0 12px; }
	.cco-totals__total dd, .cco-totals__total .cco-totals__amount { font-size: 22px; }
}
@media (max-width: 360px) {
	.cco-btn--big { font-size: 15px; }
}
@media (min-width: 601px) { .cco-cart-item__total { min-width: 118px; text-align: right !important; } }
@media (max-width: 600px) { .cco-cart-item__qty { margin-left: 0; } .cco-cart-actions .cco-update { margin-left: auto; } }
@media (max-width: 900px) { .cco-layout .cco-place { padding: 0 !important; } }

/* ---------- 0.3.4: even spacing, one Your order box, bigger button ---------- */
.cco-main > .cco-step, .cco-main > #payment, .cco-main > #customer_details, .cco-main > #cco-step-date, .cco-main > #cco-address { margin: 0 0 20px !important; }
.cco-main > #payment { padding: 0 !important; border: 0 !important; background: none !important; }
.cco-main > #payment > .cco-step { margin: 0 !important; }
.cco-main > :last-child { margin-bottom: 0 !important; }
.cco-step { padding: 24px !important; }
.cco-step > :last-child, .cco-step > :last-child > :last-child, .cco-step .cco-options, .cco-step .cco-options > li:last-child, .cco-step .cco-arrival, .cco-step .cco-dates:last-child, .cco-step .cco-grid > .form-row:last-child, .cco-step .woocommerce-account-fields:last-child, .cco-step .woocommerce-account-fields > :last-child { margin-bottom: 0 !important; }
.cco-step .cco-arrival { margin-top: 16px !important; }
.cco-step > input[type="hidden"]:last-child { display: none; }
.cco-summary { padding: 24px !important; }
.cco-summary #order_review_heading, .cco-summary #order_review, .cco-summary .woocommerce-checkout-review-order { border: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; }
.cco-summary #order_review_heading { margin: 0 0 16px !important; }
.cco-summary > :last-child, .cco-summary .cco-review > :last-child { margin-bottom: 0 !important; }
.cco-form #place_order.cco-btn--big, .cco-payform #place_order.cco-btn--big { font-size: 20px; min-height: 60px; }
@media (max-width: 600px) {
	.cco-step, .cco-summary { padding: 18px !important; }
	.cco-form #place_order.cco-btn--big, .cco-payform #place_order.cco-btn--big { font-size: 18px; min-height: 56px; }
}

/* ---------- 0.3.6: EFT block, Back to checkout ---------- */
.cco-orderpage .cco-topbar--received { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 0 0 16px; margin: 0 0 24px; border-bottom: 1px solid var(--cco-line); font-size: 14px; color: var(--cco-ink); }
.cco-orderpage .cco-topbar__secure { display: inline-flex; align-items: center; gap: 6px; color: var(--cco-muted); }
.cco-orderpage .cco-topbar__secure .cco-icon { width: 16px; height: 16px; }
.cco-orderpage .cco-topbar__back { font-weight: 600; color: var(--cco-brand); }
.cco-eft { background: #fff; border: 1px solid var(--cco-line); border-left: 4px solid var(--cco-brand); border-radius: 14px; padding: 20px 24px; margin: 0 0 28px; color: var(--cco-ink); }
.cco-eft p { margin: 0 0 10px; font-size: 15px; line-height: 1.55; }
.cco-eft p:last-child { margin-bottom: 0; }
.cco-eft__title { font-size: 20px; font-weight: 700; margin: 0 0 12px; color: var(--cco-ink); }
.cco-banner--info { background: var(--cco-tint); border-color: var(--cco-line); color: var(--cco-ink); }
.cco-eft { padding-bottom: 22px !important; } .cco-eft > p:last-child { margin-bottom: 0 !important; }

/* ---------- Stage 4: order received (design F) ---------- */
.cco-thanks-page .entry-header, .cco-thanks-page .ast-archive-description, .cco-thanks-page .page-header { display: none; }
.cco-thanks { color: var(--cco-ink); }
.cco-thanks__hero { display: flex; gap: 16px; align-items: center; margin: 0 0 28px; }
.cco-thanks__tick { width: 56px; height: 56px; border-radius: 50%; background: #e4f4e8; color: #1f7a3a; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cco-thanks__title { font-size: 30px; line-height: 1.2; font-weight: 800; margin: 0 0 4px; color: var(--cco-ink); }
.cco-thanks__meta { margin: 0; color: var(--cco-muted); font-size: 15px; }
.cco-thanks .cco-main > section { margin: 0 0 20px !important; }
.cco-thanks .cco-side { display: flex; flex-direction: column; gap: 16px; }
.cco-eftcard__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin: 0 0 12px; }
.cco-eftcard__head p { margin: 2px 0 0; }
.cco-eftcard__title { font-size: 22px; font-weight: 800; margin: 0; color: var(--cco-ink); }
.cco-badge { background: #fff1d6; color: #7a4b00; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.cco-bank { margin: 0 0 16px; }
.cco-bank__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--cco-line); margin: 0; }
.cco-bank__row dt { color: var(--cco-muted); font-weight: 400; margin: 0; }
.cco-bank__row dd { margin: 0; display: flex; align-items: center; gap: 10px; text-align: right; flex-wrap: wrap; justify-content: flex-end; }
.cco-bank__ref { font-size: 18px; }
.cco-copy { background: var(--cco-tint) !important; color: var(--cco-brand) !important; border: 0 !important; border-radius: 8px !important; padding: 6px 12px !important; font-size: 13px !important; font-weight: 700; cursor: pointer; min-height: 0 !important; line-height: 1.3 !important; box-shadow: none !important; }
.cco-copy.is-copied { background: #e4f4e8 !important; color: #1f7a3a !important; }
.cco-window { display: flex; gap: 10px; align-items: flex-start; background: #fff6e5; border-radius: 12px; padding: 12px 14px; color: #5c3b00; font-size: 14px; margin: 0 0 12px !important; }
.cco-window .cco-icon { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.cco-proof { font-size: 14px; margin: 0 !important; }
.cco-next__list { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 14px; }
.cco-next__step { display: flex; gap: 12px; align-items: flex-start; margin: 0; line-height: 1.4; }
.cco-next__step .cco-muted { font-size: 14px; }
.cco-next__num { width: 28px; height: 28px; border-radius: 50%; background: var(--cco-soft); border: 1px solid var(--cco-line); color: var(--cco-muted); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cco-next__step.is-current .cco-next__num { background: #fff; border: 2px solid var(--cco-brand); color: var(--cco-brand); }
.cco-next__step.is-done .cco-next__num { background: var(--cco-brand); border-color: var(--cco-brand); color: #fff; }
.cco-thanks__shop { margin-top: 18px !important; background: #fff !important; color: var(--cco-ink) !important; border: 1px solid var(--cco-field) !important; font-size: 17px !important; min-height: 52px !important; }
.cco-thanks__shop:hover, .cco-thanks__shop:focus { border-color: var(--cco-brand) !important; color: var(--cco-brand) !important; }
.cco-delivery address { font-style: normal; line-height: 1.5; margin: 0 0 8px; }
.cco-delivery p { margin: 0 0 6px; font-size: 15px; }
.cco-thanks .cco-summary { position: static; }
@media (max-width: 900px) {
	.cco-thanks .cco-side { display: flex; }
	.cco-thanks .cco-summary { display: block !important; }
	.cco-thanks__title { font-size: 24px; }
}
@media (max-width: 600px) {
	.cco-thanks__tick { width: 44px; height: 44px; }
	.cco-eftcard__head { flex-direction: column-reverse; }
	.cco-bank__row { flex-wrap: wrap; }
}
@media (max-width: 900px) { .cco-thanks .cco-layout .cco-summary { order: 2; } }

.cco-bank__row dt { font-size: 15px; }
.cco-bank__row dd strong { font-size: 16px; }
.cco-bank__row dd .cco-bank__ref { font-size: 18px; }
.cco-next__step strong { font-size: 16px; }
.cco-delivery address, .cco-delivery address * { font-size: 15px !important; line-height: 1.5; }

/* ---------- 0.4.1: accounts ---------- */
.cco-who { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--cco-line); border-radius: 14px; padding: 14px 18px; margin: 0 0 20px; color: var(--cco-ink); }
.cco-who__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--cco-tint); color: var(--cco-brand); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cco-who__text { flex: 1; min-width: 0; }
.cco-who__text p { margin: 0 !important; line-height: 1.4; }
.cco-who__hi { font-weight: 700; font-size: 16px; }
.cco-who__sub { font-size: 14px; color: var(--cco-muted); }
.cco-who__out { font-size: 14px; font-weight: 600; color: var(--cco-brand); white-space: nowrap; }
@media (max-width: 600px) { .cco-who { flex-wrap: wrap; } .cco-who__out { margin-left: 54px; } }
.cco-form .cco-createacc { margin: 18px 0 0 !important; }
.cco-form .cco-createacc__label { display: flex !important; gap: 14px; align-items: flex-start; border: 1px solid var(--cco-brand); background: var(--cco-tint); border-radius: 12px; padding: 16px 18px; cursor: pointer; font-weight: 400 !important; margin: 0 !important; }
.cco-form .cco-createacc__label input { width: 22px; height: 22px; margin: 1px 0 0 !important; flex: none; accent-color: var(--cco-brand); }
.cco-createacc__text { display: flex; flex-direction: column; gap: 4px; line-height: 1.45; }
.cco-createacc__title { font-weight: 700; font-size: 16px; color: var(--cco-ink); }
.cco-createacc__tag { font-size: 13px; font-weight: 700; color: var(--cco-brand); margin-left: 4px; }
.cco-createacc__why { font-size: 14px; color: var(--cco-muted); }
.cco-noaccount { border-top: 1px solid #eee4ea; margin: 24px 0 0; padding: 20px 0 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cco-noaccount p { margin: 0 !important; line-height: 1.5; }
.cco-noaccount p span { color: #5e5560; }
.cco-noaccount__shop { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid #d9cdd4; border-radius: 12px; font-weight: 700; color: #2a2228 !important; text-decoration: none !important; background: #fff; }
.cco-noaccount__shop:hover, .cco-noaccount__shop:focus { border-color: #a2307f; color: #a2307f !important; }
.cco-form .woocommerce-account-fields { margin-top: 18px !important; padding-top: 0 !important; } .cco-form .cco-createacc { margin: 0 !important; padding: 0 !important; }

/* 0.5.0: order received – plain text instead of the Continue shopping button. */
.cco-thanks__done { margin: 16px 0 4px; font-weight: 700; font-size: 16px !important; line-height: 1.4; }
.cco-thanks__links { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.cco-thanks__links { font-size: 15px; line-height: 1.5; align-items: baseline; }
.cco-thanks__links a { color: var(--cco-brand); font-weight: 600; font-size: 15px !important; }
