/* WooCommerce extras that replace WooCommerce's own stylesheet. */

body { overflow-x: hidden; }
.cc-fullbleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.cc-wc { padding-bottom: 0; }
.cc-wc > .woocommerce-notices-wrapper { padding-top: 16px; }
.single-product .cc-wc, .single-product div.product { position: relative; }

/* Star ratings without the WooCommerce icon font */
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1.2em; line-height: 1.2; font-size: 15px; letter-spacing: .08em; overflow: hidden; font-family: var(--cc-sans); vertical-align: middle; }
.star-rating::before { content: "★★★★★"; color: #E0D4C9; position: absolute; top: 0; left: 0; }
.star-rating span { position: absolute; top: 0; left: 0; overflow: hidden; padding-top: 1.5em; height: 1.2em; }
.star-rating span::before { content: "★★★★★"; color: var(--cc-star); position: absolute; top: 0; left: 0; }
p.stars { margin: 6px 0 16px; }
p.stars span { display: inline-flex; gap: 4px; }
p.stars a { position: relative; width: 26px; height: 26px; font-size: 0; text-decoration: none; display: inline-block; flex: 0 0 26px; } /* px, not em: the font size is 0 */
p.stars a::before { content: "☆"; font-size: 24px; line-height: 1; color: var(--cc-star); position: absolute; top: 0; left: 0; }
p.stars:hover a::before, p.stars.selected a::before { content: "★"; }
p.stars:hover a:hover ~ a::before, p.stars.selected a.active ~ a::before { content: "☆"; }

/* Classic checkout: form on the left, order summary on the right */
form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); gap: 0 48px; align-items: start; padding-bottom: 80px; }
form.woocommerce-checkout > * { grid-column: 1; }
form.woocommerce-checkout > #customer_details { grid-row: 1 / span 4; }
form.woocommerce-checkout > #order_review_heading { display: none; } /* Printed inside #order_review instead (cc_checkout_order_heading). */
form.woocommerce-checkout > #order_review { grid-column: 2; grid-row: 1 / span 4; background: var(--cc-paper); border: 1px solid var(--cc-line); border-radius: 16px; padding: 24px 28px 28px; }
#order_review .cc-order-heading { font-size: 28px; margin: 0 0 8px; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
.woocommerce-checkout .col2-set::after, .woocommerce form .form-row::after { content: ""; display: table; clear: both; }
.woocommerce-form-coupon, .woocommerce-form-login { background: var(--cc-paper); border: 1px solid var(--cc-line); border-radius: 16px; padding: 20px; margin-bottom: 24px; }
/* Checkout coupon: one row (field + Apply) instead of WooCommerce's floats, which leaked into the checkout grid below. */
form.checkout_coupon { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
form.checkout_coupon > p:not(.form-row) { flex: 0 0 100%; margin: 0; color: var(--cc-ink-2); }
form.checkout_coupon .form-row { float: none; width: auto; margin: 0; padding: 0; }
form.checkout_coupon .form-row-first { flex: 1 1 140px; min-width: 0; max-width: 420px; }
form.checkout_coupon .form-row-first .input-text { width: 100%; }
form.checkout_coupon .form-row-last { flex: 0 0 auto; }
form.checkout_coupon .button { font-size: 13px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
form.checkout_coupon .clear { display: none; }
form.checkout_coupon .coupon-error-notice { display: block; margin: 6px 0 0; padding: 0; font-size: 14px; line-height: 1.4; color: #9C2F2F; }
.woocommerce-terms-and-conditions-wrapper { font-size: 14px; color: var(--cc-ink-2); }
.woocommerce-invalid input { border-color: var(--cc-rose); }
abbr.required { color: var(--cc-rose); text-decoration: none; }

/* Sold-individually products: no quantity control */
.quantity:has(input.qty[type="hidden"]) { display: none; }

/* Cart quantity in table */
table.shop_table .quantity { height: 44px; }
table.shop_table .quantity .qty { height: 40px; width: 40px; }
table.shop_table .cc-qty-btn { height: 40px; width: 36px; }
.cc-free-label { display: inline-block; background: var(--cc-blush); color: var(--cc-rose-dark); border-radius: 999px; padding: 2px 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-left: 6px; }

/* Single product spacing tweaks */
.single-product .woocommerce-breadcrumb { margin-bottom: 0; }
.single-product .cc-pairs-wrap { padding-top: 80px; padding-bottom: 80px; }
.single-product .woocommerce-tabs { display: none; }
.woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.single_variation_wrap { width: 100%; }
.woocommerce-variation-add-to-cart.woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button { opacity: .6; }

@media (max-width: 860px) {
	form.woocommerce-checkout { grid-template-columns: 1fr; }
	form.woocommerce-checkout > #order_review { grid-column: 1; grid-row: auto; }
	form.woocommerce-checkout > #customer_details { grid-row: auto; }
}

/* ==========================================================================
   1.2 design pass: bag, checkout, confirmation and My account
   ========================================================================== */

/* Progress steps (bag + checkout) */
.cc-steps-bar { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cc-muted); }
.cc-steps-bar li + li::before { content: "—"; margin-right: 22px; color: var(--cc-line-2); }
.cc-steps-bar .is-current { color: var(--cc-rose); font-weight: 600; }
.cc-steps-bar a { color: inherit; }
.cc-steps-bar--cart { padding-top: 32px; }
.cc-cart-head { margin: 20px 0 28px; }
.cc-cart-head h1 { font-size: clamp(33px, 3.2vw, 46px); margin: 0; }

/* Quiet checkout header */
.cc-checkout-head { border-bottom: 1px solid var(--cc-line); background: var(--cc-bg); }
.cc-checkout-head__inner { display: flex; align-items: center; gap: 16px 40px; min-height: 84px; }
.cc-checkout-head__back { display: none; color: var(--cc-ink); width: 44px; height: 44px; align-items: center; justify-content: center; }
.cc-checkout-head .cc-steps-bar { flex: 1 1 auto; justify-content: center; }
.cc-checkout-head__secure { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--cc-ink-2); }
.cc-checkout-head__bars { display: none; }
.cc-footer--checkout { background: transparent; }
.cc-footer--checkout .cc-footer__bottom { border-top: 1px solid var(--cc-line); padding-top: 24px; padding-bottom: 24px; }

/* Bag: two columns */
.cc-cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); gap: 0 48px; align-items: start; }
.cc-cart-grid > * { grid-column: 1; }
.cc-cart-grid > .cc-steps-bar, .cc-cart-grid > .cc-cart-head, .cc-cart-grid > .cc-cart-progress, .cc-cart-grid > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
/* Dense flow: the summary sits beside the bag items whatever full-width rows (notices, progress bar) come first. */
.cc-cart-grid { grid-auto-flow: row dense; }
.cc-cart-grid > .cart-collaterals { grid-column: 2; grid-row: auto / span 6; margin-top: 0; position: sticky; top: 24px; }
.cart-collaterals .cart_totals { max-width: none; width: 100%; float: none; background: var(--cc-paper); border: 1px solid var(--cc-line); border-radius: 16px; padding: 28px; }
.cart_totals h2 { font-size: 28px; margin: 0 0 16px; }
.cart_totals .shop_table { border: 0; background: none; }
.cart_totals .order-total td, .cart_totals .order-total th { font-size: 28px; font-family: var(--cc-serif); font-weight: 400; }
.cc-points-row td { font-size: 14px !important; color: var(--cc-muted); padding-top: 0 !important; border: 0 !important; font-family: var(--cc-sans) !important; }
.cc-trust--summary { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--cc-ink-2); }
.cc-trust--summary li { display: flex; gap: 10px; align-items: center; }
/* Bag items as a list */
.woocommerce-cart-form table.shop_table { background: none; border: 0; border-top: 1px solid var(--cc-line); border-radius: 0; }
.woocommerce-cart-form thead { display: none; }
.woocommerce-cart-form td { padding: 24px 0; border-bottom: 1px solid var(--cc-line); background: none; }
.woocommerce-cart-form .product-thumbnail img { width: 120px; height: 150px; object-fit: cover; border-radius: 12px; }
.woocommerce-cart-form .product-name :is(a, .cc-cart-item-name) { font-family: var(--cc-serif); font-size: 22px; color: var(--cc-ink); }
.woocommerce-cart-form .product-name .variation { font-size: 15px; color: var(--cc-ink-2); }
.woocommerce-cart-form .product-price { display: none; }
.woocommerce-cart-form .product-subtotal { font-size: 18px; text-align: right; }
.woocommerce-cart-form .quantity { height: 44px; }
.woocommerce-cart-form td.actions { border-bottom: 0; }
.woocommerce-cart-form a.remove { font-size: 13px !important; width: auto !important; height: auto !important; letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; color: var(--cc-ink-2) !important; background: none !important; }
.cc-cart-cross { margin-top: 72px; }
/* Empty bag */
.cc-empty-bag { text-align: center; background: var(--cc-paper); border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 72px 24px; max-width: 760px; margin: 40px auto 0; }
.cc-empty-bag__icon { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: var(--cc-blush); margin-bottom: 24px; }
.cc-empty-bag__title { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin: 0 0 12px; }
.cc-empty-bag__text { color: var(--cc-ink-2); font-size: 17px; max-width: 440px; margin: 0 auto 32px; }
.cc-empty-bag__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cc-empty-bag__actions .btn { min-height: 52px; min-width: 220px; }
.cc-empty-bag__note { font-size: 14px; line-height: 1.5; color: var(--cc-muted); margin: 28px 0 0; text-wrap: balance; }
.cc-empty-bag__note svg { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.cc-empty-bag-picks { margin-top: 72px; }
@media (max-width: 600px) {
	.cc-empty-bag { padding: 48px 20px; margin-top: 16px; }
	.cc-empty-bag__actions .btn { width: 100%; min-width: 0; }
	.cc-empty-bag-picks { margin-top: 48px; }
}

/* Checkout as cards */
.woocommerce-checkout #customer_details .woocommerce-billing-fields,
.woocommerce-checkout #customer_details .woocommerce-shipping-fields,
.cc-pay-card { background: var(--cc-paper); border: 1px solid var(--cc-line); border-radius: 16px; padding: 28px; margin-bottom: 24px; }
.woocommerce-checkout #customer_details h3, .cc-pay-card h3 { font-size: 26px; margin: 0 0 18px; }
.cc-pay-card #payment { background: none; padding: 0; border: 0; }
#payment ul.payment_methods { padding: 0; border: 0; }
#payment li.wc_payment_method { border: 1px solid var(--cc-line-2); border-radius: 12px; padding: 18px; margin-bottom: 10px; list-style: none; }
#payment li.wc_payment_method:has(input:checked) { border: 1.5px solid var(--cc-rose); background: var(--cc-bg); }
#payment input.input-radio { accent-color: var(--cc-rose); width: 20px; height: 20px; }
#payment .place-order { padding: 0; margin-top: 16px; }
#place_order { width: 100%; min-height: 56px; font-size: 15px; }
.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] { accent-color: var(--cc-rose); width: 20px; height: 20px; }
.cc-customs-row td { font-size: 14px; color: var(--cc-muted); border: 0 !important; padding-top: 0 !important; }
#order_review_heading { font-size: 28px; }
.woocommerce-checkout form.checkout { align-items: start; }
.woocommerce-checkout #order_review { position: sticky; top: 24px; }
.cc-mobile-summary { background: var(--cc-sand); border: 0; border-bottom: 1px solid var(--cc-line); border-radius: 0; margin: 0 -16px 20px; }
.cc-mobile-summary summary { min-height: 56px; padding: 0 20px; color: var(--cc-rose-dark); }
.cc-mobile-summary summary strong { font-size: 18px; color: var(--cc-ink); }

/* Confirmation */
.cc-steps strong { font-weight: 600; }

/* My account */
.woocommerce-account:not(.logged-in) .woocommerce { display: block; padding-bottom: 0; }
.cc-account-hero { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; padding: 32px 0 24px; }
.cc-account-hero h1 { margin-top: 12px; }
@media (min-width: 961px) {
	.woocommerce-MyAccount-navigation { flex: 0 0 260px; }
	.woocommerce-MyAccount-navigation ul { background: #fff; border: 1px solid var(--cc-line); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
	.woocommerce-MyAccount-navigation li a { min-height: 52px; padding: 0 16px; border: 0 !important; border-radius: 12px; font-size: 16px; }
	.woocommerce-MyAccount-navigation li a:hover { background: var(--cc-sand); }
	.woocommerce-MyAccount-navigation li.is-active a { background: var(--cc-blush); color: var(--cc-rose-dark); font-weight: 600; }
	.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--cc-muted); }
}
@media (max-width: 960px) {
	.woocommerce-MyAccount-navigation li a { background: #fff; border-color: var(--cc-line); }
	.woocommerce-MyAccount-navigation li.is-active a { background: var(--cc-blush); border-color: var(--cc-blush); color: var(--cc-rose-dark); }
	.woocommerce-MyAccount-navigation li.is-active a svg { color: var(--cc-rose-dark); }
}
.cc-dash__points { background: var(--cc-forest); border-color: var(--cc-forest); color: var(--cc-bg); }
.cc-dash__points .eyebrow { color: var(--cc-foil); }
.cc-dash__points .cc-dash__big { font-size: 48px; color: inherit; }
.cc-dash__points .cc-dash__big span { font-size: 22px; color: inherit; }
.cc-dash__points p:not(.cc-dash__big) { color: #E6E1D8; }
.cc-dash__points .btn { background: var(--cc-bg); border-color: var(--cc-bg); color: var(--cc-ink); }
.cc-points-note { background: var(--cc-blush); }
.cc-pill--dispatched, .cc-pill--shipped { background: #E3ECE6; color: var(--cc-forest); }
.cc-pill--completed { background: var(--cc-sand); color: var(--cc-ink-2); }
.woocommerce-orders-table .button { min-height: 44px; padding: 0 20px; font-size: 13px; }
.woocommerce-MyAccount-content button[name="save_account_details"], .woocommerce-MyAccount-content button[name="save_address"] { background: var(--cc-rose); border-color: var(--cc-rose); color: #fff; }
/* Log in: photo on top of a blush panel */
.cc-login { align-items: stretch; }
.cc-login__side { background: var(--cc-blush); min-height: 0; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; }
.cc-login__side img { position: static; height: 340px; width: 100%; object-fit: cover; }
.cc-login__perks { position: static; background: none; padding: 32px 36px 36px; border-radius: 0; }
.cc-login__perks h2 { font-size: 30px; margin-bottom: 20px; }
.cc-login__perks ul { gap: 16px; font-size: 16px; }
.cc-login__perks svg { box-sizing: content-box; padding: 10px; background: var(--cc-bg); border-radius: 999px; }
.cc-login .cc-card { padding: 32px; }

@media (max-width: 960px) {
	.cc-cart-grid { grid-template-columns: minmax(0, 1fr); }
	.cc-cart-grid > .cart-collaterals { grid-column: 1; grid-row: auto; position: static; }
	.woocommerce-checkout #order_review { position: static; }
}
@media (max-width: 768px) {
	.cc-checkout-head__inner { min-height: 60px; justify-content: space-between; }
	.cc-checkout-head__back { display: inline-flex; }
	.cc-checkout-head .cc-steps-bar { display: none; }
	.cc-checkout-head__secure span { display: none; }
	.cc-checkout-head__bars { display: flex; gap: 6px; padding: 0 16px 10px; }
	.cc-checkout-head__bars span { flex: 1 1 0; height: 3px; border-radius: 999px; background: #E0D4C9; }
	.cc-checkout-head__bars .is-on { background: var(--cc-rose); }
}
@media (max-width: 640px) {
	.cc-cart-head h1 { font-size: 33px; }
	.cc-steps-bar { font-size: 11px; gap: 4px 12px; }
	.cc-steps-bar li + li::before { margin-right: 12px; }
	.woocommerce-cart-form .shop_table_responsive td::before { display: none; }
	.woocommerce-cart-form .product-thumbnail img { width: 96px; height: 120px; }
	.woocommerce-checkout #customer_details h3, .cc-pay-card h3 { font-size: 24px; }
	.woocommerce-checkout #customer_details .woocommerce-billing-fields, .woocommerce-checkout #customer_details .woocommerce-shipping-fields, .cc-pay-card { padding: 20px; }
	.cc-dash__points .cc-dash__big { font-size: 35px; }
	.cc-account-hero h1 { font-size: 36px; }
	.cc-login__perks { padding: 24px 27px 27px; }
	.cc-login__perks h2 { font-size: 24px; }
	.cc-login .cc-card { padding: 24px; }
	.cc-thanks-hero .cc-wrap { padding-top: 40px; padding-bottom: 35px; }
	.cc-thanks-hero h1 { font-size: 36px; }
	.cc-thanks-main h2 { font-size: 26px !important; }
}

/* ---------- 1.2.3 font weights: match the design boards ----------
   Design uses three weights only: 400 for body text and every serif heading,
   600 for labels, buttons, eyebrows and product names, and bold (700) for inline <strong>.
   Table headers and variation labels default to bold in browsers, so reset them. */
table.shop_table tbody th, table.shop_table tfoot th { font-weight: 400; }
.cart_totals .order-total th, .woocommerce-checkout-review-order-table .order-total th {
	font-family: var(--cc-sans); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; vertical-align: baseline;
}
.cart_totals .order-total td, .woocommerce-checkout-review-order-table .order-total td { font-family: var(--cc-sans); font-size: 28px; font-weight: 400; vertical-align: baseline; }
.cart_totals .order-total td strong, .woocommerce-checkout-review-order-table .order-total td strong { font-weight: 400; }
dl.variation dt, dl.variation dd, dl.variation dd p { font-weight: 400; }
.product-quantity, strong.product-quantity { font-weight: 400; }
.cc-mobile-summary summary strong { font-weight: 400; }
.ywpar_myaccount_entry_info .points_worth { font-weight: 400; }

/* Summary amounts sit on the right, as in the design. */
.cart_totals table.shop_table td, .woocommerce-checkout-review-order-table tfoot td { text-align: right; }
.woocommerce-checkout-review-order-table td.product-total, .woocommerce-checkout-review-order-table th.product-total { text-align: right; }
.cart_totals table.shop_table tr.cc-points-row td, .woocommerce-checkout-review-order-table tfoot tr.cc-points-row td, .woocommerce-checkout-review-order-table tfoot tr.cc-customs-row td { text-align: left; }
/* Variation line reads "Colour: Soft Sand" on one line. */
dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 2px 6px; margin: 4px 0 0; justify-content: start; }
dl.variation dt, dl.variation dd { margin: 0; padding: 0; }
dl.variation dd p { margin: 0; }

/* Mobile bag items (Mobile-Cart board): photo left; name + line total, colour, then qty and Remove. */
@media (max-width: 640px) {
	.woocommerce-cart-form tr.cart_item {
		display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; column-gap: 16px; row-gap: 6px;
		grid-template-areas: "thumb name sub" "thumb qty qty" "thumb remove remove";
		align-items: start; padding: 20px 0; border-bottom: 1px solid var(--cc-line);
	}
	.woocommerce-cart-form tr.cart_item > td { display: block; padding: 0 !important; border: 0 !important; text-align: left; }
	.woocommerce-cart-form tr.cart_item > td::before { display: none !important; }
	.woocommerce-cart-form tr.cart_item td.product-thumbnail { grid-area: thumb; display: block !important; }
	.woocommerce-cart-form tr.cart_item td.product-name { grid-area: name; }
	.woocommerce-cart-form tr.cart_item td.product-name :is(a, .cc-cart-item-name) { font-size: 20px; line-height: 1.2; }
	.woocommerce-cart-form tr.cart_item td.product-subtotal { grid-area: sub; text-align: right; font-size: 17px; }
	.woocommerce-cart-form tr.cart_item td.product-price { display: none !important; }
	.woocommerce-cart-form tr.cart_item td.product-quantity { grid-area: qty; margin-top: 8px; }
	.woocommerce-cart-form tr.cart_item td.product-remove { grid-area: remove; }
	.woocommerce-cart-form tr.cart_item td.product-remove a.remove { display: inline-flex !important; align-items: center; min-height: 32px; }
	.woocommerce-cart-form tr.cart_item .quantity { justify-content: flex-start; }
}
@media (max-width: 768px) {
	/* Summary keeps its own label column, so drop the stacked-table data-title labels. */
	.cart_totals table.shop_table_responsive tr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--cc-line); }
	.cart_totals table.shop_table_responsive tr:last-child, .cart_totals table.shop_table_responsive tr.cc-points-row { border-bottom: 0; }
	.cart_totals table.shop_table_responsive tr > * { border-bottom: 0 !important; }
	.cart_totals table.shop_table_responsive tr th { display: block; }
	.cart_totals table.shop_table_responsive tr td { display: block; }
	.cart_totals table.shop_table_responsive tr td::before { display: none !important; content: none; }
	.cart_totals table.shop_table_responsive tr.cc-points-row { display: block; }
	.woocommerce-cart-form td.actions { text-align: left; }
	.woocommerce-cart-form td.actions::before { display: none !important; }
}

/* Checkout: "Includes VAT £x" line under the total. */
.woocommerce-checkout-review-order-table tfoot tr.cc-vat-row th, .woocommerce-checkout-review-order-table tfoot tr.cc-vat-row td { font-size: 14px; color: var(--cc-muted); padding-top: 0 !important; border: 0 !important; font-family: var(--cc-sans); }

/* 1.2.14 Design audit: checkout and bag type sizes */
.woocommerce form .form-row label, .woocommerce form .form-row label .optional { font-size: 16px; }
#payment li.wc_payment_method > label { font-size: 16px; font-weight: 600; }
.woocommerce-terms-and-conditions-checkbox-text { font-size: 15px; }
.cc-checkout-head__secure { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.woocommerce-checkout .cc-page-hero h1 { font-size: clamp(33px, 3.6vw, 46px); }
.woocommerce-cart .coupon .button { font-size: 13px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.woocommerce-order-received .cart-subtotal th, .woocommerce-order-received .cart-subtotal td { font-size: 15px; }
@media (max-width: 640px) {
	.woocommerce-checkout .cc-page-hero h1 { font-size: 33px; }
	#order_review_heading, .cart_totals h2 { font-size: 26px; }
	.cc-steps-bar { font-size: 13px; }
}
/* Account: "Edit addresses" is a text link in the design; "Not X? Log out" line is 15px */
.cc-lnk { display: inline-block; margin-top: 14px; font-size: 15px; color: var(--cc-rose); text-decoration: underline; }
.cc-lnk:hover { color: var(--cc-rose-dark); }
.cc-account-hero p { font-size: 15px; }
@media (max-width: 640px) {
	.cc-dash__promo h2 { font-size: 22px; }
}


/* 1.2.38 Bag saving with a page load: dim the bag while it reloads */
.cc-cart-updating .woocommerce-cart-form { opacity: .55; pointer-events: none; transition: opacity .15s; }

/* 1.2.39 Bag: quantity changes save on their own, so no "Update cart" button;
   the discount code error sits as one line under the code field. */
.woocommerce-cart-form button[name="update_cart"] { display: none !important; }
.woocommerce-cart-form .coupon { align-items: center; }
.woocommerce-cart-form .coupon .coupon-error-notice { flex: 0 0 100%; order: 3; margin: 2px 0 0; padding: 0; font-size: 14px; line-height: 1.4; color: #9C2F2F; }
.woocommerce-cart-form .coupon { display: flex; flex-wrap: wrap; width: 100%; max-width: 420px; }
.woocommerce-cart-form .coupon #coupon_code { flex: 1 1 140px; min-width: 0; width: auto; }
.woocommerce-cart-form .coupon .button { flex: 0 0 auto; }

/* 1.2.49 Product buy box spacing, all product pages (design: product artboards).
   Points 24 → description 24 → (notice, -8 above / 24 below) → "Colour" label 12 → swatches →
   (colour note) → 28 → quantity + add to bag → 24 → (bundle link 14) → free gift bar 24 → bullets. */
.single-product .summary .price { line-height: 1.2; }
.single-product .summary .cc-points { margin-bottom: 24px; }
.single-product .summary:not(:has(.woocommerce-product-details__short-description)) .cc-points { margin-bottom: 28px; } /* No description: 28, as on the Planner artboard */
.single-product .summary .woocommerce-product-details__short-description { margin: 0 0 24px; }
.single-product .summary .woocommerce-product-details__short-description > p:last-child { margin-bottom: 0; }
.single-product .summary .cc-notice-box { margin: -8px 0 24px; }
.single-product .summary form.cart { margin-bottom: 24px; }
.single-product .summary table.variations { margin-bottom: 0; }
.single-product .summary table.variations th.label { margin-bottom: 12px; }
.single-product .summary table.variations td.value { margin-bottom: 8px; }
.single-product .summary .woocommerce-variation-description p { margin: 0 0 28px; }
.single-product .summary .woocommerce-variation-availability .stock { margin: 0 0 28px; }
.single-product .summary .woocommerce-variation-add-to-cart { margin-top: 20px; }
.single-product .summary .cc-bundle-link { margin-bottom: 14px; }

/* 1.2.63 Checkout audit */
/* Floated half-width rows (town + county) hung out of their card: contain the floats. */
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: flow-root; }
/* "Deliver to a different address?" as a plain checkbox row, not a 26px serif heading. */
.woocommerce-checkout #customer_details h3#ship-to-different-address { font-family: var(--cc-sans); font-size: 16px; line-height: 1.4; margin: 0; }
#ship-to-different-address label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
#ship-to-different-address input[type="checkbox"] { accent-color: var(--cc-rose); width: 20px; height: 20px; margin: 0; flex: 0 0 auto; }
.woocommerce-shipping-fields .shipping_address { margin-top: 20px; }
/* Payment method radios sat above their labels. */
/* theme.css "#payment ul.payment_methods li" outranked the card padding (12px 0), so radios touched the card edge.
   Radio + label sit on one centred flex row; the payment box wraps underneath at full width. */
#payment ul.payment_methods li.wc_payment_method { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; padding: 16px 18px; }
#payment ul.payment_methods li.wc_payment_method > input.input-radio { flex: 0 0 auto; margin: 0; position: static; }
#payment ul.payment_methods li.wc_payment_method > label { flex: 1 1 0; min-width: 0; margin: 0; line-height: 1.3; cursor: pointer; }
#payment ul.payment_methods li.wc_payment_method > .payment_box { flex: 0 0 100%; }
.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] { vertical-align: middle; margin: -3px 8px 0 0; }
/* Stripe: drop the browser's grey fieldset frame and keep its hidden style probe inside the card (it widened phones). */
#wc-stripe-upe-form { border: 0; padding: 0; margin: 0; min-width: 0; position: relative; }
#wc-stripe-hidden-style-input { left: 0; max-width: 100%; }
/* Summary: single delivery method shown without a bullet; quantity stays with its name. */
#order_review #shipping_method, .cart_totals #shipping_method { list-style: none; margin: 0; padding: 0; }
#order_review #shipping_method li, .cart_totals #shipping_method li { margin: 0; }
/* The global "label { font-size: 14px }" shrank the delivery value below its row; match the other totals. */
#order_review #shipping_method label, .cart_totals #shipping_method label { font-size: inherit; line-height: inherit; color: inherit; margin: 0; }
.woocommerce-checkout-review-order-table .product-quantity { white-space: nowrap; }
/* Sticky panels clear the WordPress admin bar when it is showing. */
.woocommerce-checkout #order_review, .cc-cart-grid > .cart-collaterals { top: calc(24px + var(--wp-admin--admin-bar--height, 0px)); }

/* 1.2.65 #add-review anchor: lands just above the "Add a review" form */
.cc-anchor { display: block; height: 0; scroll-margin-top: 64px; } /* room for the review card's top edge */
@media (max-width: 960px) { .cc-anchor { scroll-margin-top: 120px; } } /* plus the sticky header on phones/tablets */

/* 1.4.0 Order received: order details + addresses in the main column, one sticky summary card on the side. */
.cc-thanks-hero h1 { text-wrap: balance; }
.cc-thanks-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 32px; align-items: start; padding-top: 48px; }
.cc-thanks-main { gap: 32px; }
.cc-thanks-side { max-width: none; position: sticky; top: calc(24px + var(--wp-admin--admin-bar--height, 0px)); }
.cc-thanks .cc-thanks-h2, .cc-thanks .woocommerce-order-details__title, .cc-thanks .woocommerce-column__title { font-size: 28px; line-height: 1.2; margin: 0 0 20px; }
.cc-thanks-summary .cc-thanks-h2 { font-size: 24px; margin-bottom: 8px; }
/* Summary rows: label left, value right. */
.cc-thanks .woocommerce-order-overview { display: block; margin: 0; }
.cc-thanks .woocommerce-order-overview li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; background: none; border: 0; border-bottom: 1px solid var(--cc-line); border-radius: 0; padding: 14px 0; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--cc-muted); }
.cc-thanks .woocommerce-order-overview li strong { display: inline; margin: 0; font-size: 15px; text-align: right; }
.cc-thanks .woocommerce-order-overview li.total { border-bottom: 0; padding-bottom: 0; color: var(--cc-ink); font-weight: 600; }
.cc-thanks .woocommerce-order-overview li.total strong { font-family: var(--cc-serif, inherit); font-size: 24px; }
.cc-thanks-payment:not(:empty) { margin-top: 18px; font-size: 14px; color: var(--cc-ink-2); }
.cc-thanks-payment > :first-child { margin-top: 0; }
.cc-thanks-payment > :last-child { margin-bottom: 0; }
.cc-thanks-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.cc-thanks-actions .btn { width: 100%; justify-content: center; text-align: center; }
.cc-thanks-help { font-size: 14px; margin: 16px 4px 0; }
.cc-thanks-help a { text-decoration: underline; }
/* Order details and addresses as cards in the main column. */
.cc-thanks-order > * { margin: 0 0 32px; }
.cc-thanks-order > :last-child { margin-bottom: 0; }
.cc-thanks .woocommerce-order-details, .cc-thanks .woocommerce-customer-details > .woocommerce-columns--addresses, .cc-thanks .woocommerce-customer-details > address { background: var(--cc-paper); border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 28px; }
.cc-thanks .woocommerce-customer-details { margin: 0; }
.cc-thanks .woocommerce-columns--addresses { gap: 28px; }
.cc-thanks .woocommerce-columns--addresses .woocommerce-column__title { font-size: 13px; font-family: var(--cc-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cc-muted); font-weight: 600; margin-bottom: 10px; }
.cc-thanks .woocommerce-customer-details address { background: none; border: 0; border-radius: 0; padding: 0; font-size: 15px; line-height: 1.7; color: var(--cc-ink-2); }
.cc-thanks .woocommerce-customer-details address p { margin: 6px 0 0; }
/* Order details table. */
.cc-thanks table.woocommerce-table--order-details { background: none; border: 0; border-radius: 0; margin: 0; table-layout: auto; }
.cc-thanks .woocommerce-table--order-details th, .cc-thanks .woocommerce-table--order-details td { padding: 14px 0; vertical-align: top; font-size: 15px; }
.cc-thanks .woocommerce-table--order-details thead th { padding-top: 0; font-size: 12px; }
.cc-thanks .woocommerce-table--order-details thead .product-name { width: 72%; }
.cc-thanks .woocommerce-table--order-details .product-total, .cc-thanks .woocommerce-table--order-details tfoot td { text-align: right; white-space: nowrap; padding-left: 16px; }
.cc-thanks .woocommerce-table--order-details tbody .product-name a { color: var(--cc-ink); font-size: 16px; }
.cc-thanks .woocommerce-table--order-details .product-quantity { font-weight: 400; color: var(--cc-muted); white-space: nowrap; }
.cc-thanks .woocommerce-table--order-details tbody tr:last-child td { border-bottom: 1px solid var(--cc-line-2, var(--cc-line)); }
.cc-thanks ul.wc-item-meta { list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; color: var(--cc-muted); }
.cc-thanks ul.wc-item-meta li { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 0; }
.cc-thanks ul.wc-item-meta li .wc-item-meta-label { font-weight: 400; float: none; margin: 0; }
.cc-thanks ul.wc-item-meta li p { margin: 0; display: inline; }
.cc-thanks .woocommerce-table--order-details tfoot th, .cc-thanks .woocommerce-table--order-details tfoot td { padding: 10px 0; border-bottom: 0; color: var(--cc-ink-2); }
.cc-thanks .woocommerce-table--order-details tfoot tr:first-child > * { padding-top: 18px; }
.cc-thanks .woocommerce-table--order-details tfoot .shipped_via { display: block; font-size: 13px; color: var(--cc-muted); }
.cc-thanks .woocommerce-table--order-details tfoot tr:last-child > * { border-top: 1px solid var(--cc-line); padding-top: 16px; color: var(--cc-ink); font-weight: 600; font-size: 17px; }
.cc-thanks .woocommerce-order-details .order-again { margin: 20px 0 0; }
@media (max-width: 960px) {
	.cc-thanks-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; }
	.cc-thanks-side { position: static; grid-row: 1; }
}
@media (max-width: 640px) {
	.cc-thanks .cc-card, .cc-thanks .woocommerce-order-details, .cc-thanks .woocommerce-customer-details > .woocommerce-columns--addresses { padding: 22px 20px; }
	.cc-thanks .cc-thanks-h2, .cc-thanks .woocommerce-order-details__title { font-size: 24px !important; }
	.cc-thanks .woocommerce-columns--addresses .woocommerce-column__title { font-size: 13px !important; }
}

/* 1.4.3 Shop/category sort: the native arrow hugged the pill's right edge; draw our own chevron inset 16px. */
.woocommerce-ordering select.orderby { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding: 0 42px 0 18px; background-color: var(--cc-paper, #fff); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%232B2627' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 12px 8px; cursor: pointer; }
.woocommerce-ordering select.orderby::-ms-expand { display: none; }
