/* CART-FP (owner 2026-09-25): /cart/ and /checkout/ in the local-paper
   design (project-control/EDITORIAL-STYLE.md). Loaded on those pages only,
   after lgs-c2.css; scoped to body.lgs-c2-cartfp. Type, colour, rules and
   frames only: WooCommerce's cart, checkout, payment and order handling are
   unchanged. Built to survive plugin updates:
   - the cart is WooCommerce's Cart block, styled on its long-standing
     wc-block-* classes; if a class changes, WooCommerce's own look stands;
   - the checkout is Elementor's checkout widget around WooCommerce's
     standard form (#customer_details, #order_review, #payment,
     #place_order); Elementor's own class names are used only for the
     two-column frame, which falls back to Elementor's layout if renamed;
   - !important is used where Elementor's per-page CSS or the older
     lgs-c2-acct commerce rules would otherwise win. */

body.lgs-c2-cartfp {
	--fp-ground: #fbf9f4; --fp-tint: #f4f0e8; --fp-ink: #1e2f3c; --fp-navy: #1d3a4d; --fp-blush: #f3d9d2;
	--fp-steel: #3b6b88; --fp-blue: #dfe9ef; --fp-hair: #cdc7ba; --fp-muted: #4c5b66;
	--fp-serif: "Newsreader", Georgia, "Times New Roman", serif;
	--fp-sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	background: #fbf9f4 !important;
}

/* ---- page frame + masthead (cart: the theme's H1; checkout: ours) ---- */
body.lgs-c2-cartfp .site-main { max-width: 1168px; margin: 0 auto; padding: 0 24px 56px; box-sizing: border-box; color: var(--fp-ink); }
body.lgs-c2-cartfp .site-main > .page-header,
body.lgs-c2-cartfp .site-main > .page-content { max-width: none; width: auto; margin: 0; padding-left: 0; padding-right: 0; }
body.lgs-c2-cartfp .site-main h1.entry-title,
body.lgs-c2-cartfp .lgs-cartfp__head h1 {
	font-family: var(--fp-serif) !important; font-weight: 700 !important; font-size: clamp(40px, 5.4vw, 72px) !important; line-height: 1 !important;
	letter-spacing: -.025em !important; color: var(--fp-ink) !important; text-transform: none !important; margin: 0 !important;
}
body.lgs-c2-cartfp .site-main > .page-header { border-top: 3px solid var(--fp-ink); padding: 18px 0 8px; margin-top: 24px; }
body.lgs-c2-cartfp .lgs-cartfp__head { grid-column: 1 / -1; border-top: 3px solid var(--fp-ink); padding: 18px 0 8px; margin: 24px 0 20px; }
body.lgs-c2-cartfp .lgs-cartfp__kicker { font-family: var(--fp-sans); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fp-ink); margin: 0 0 10px; }
body.lgs-c2-cartfp .lgs-cartfp__lede { font-family: var(--fp-serif); font-style: italic; font-size: clamp(18px, 1.8vw, 21px); color: var(--fp-steel); margin: 10px 0 0; }

/* ---- notices (added to cart, errors): the paper's blue note ---- */
body.lgs-c2-cartfp :is(.woocommerce-info, .woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner) {
	background: var(--fp-blue) !important; border: 0 !important; border-left: 3px solid var(--fp-navy) !important; border-radius: 0 !important; box-shadow: none !important;
	color: var(--fp-ink) !important; font-family: var(--fp-sans) !important; font-size: 15px !important; padding: 12px 16px !important; list-style: none;
}
body.lgs-c2-cartfp :is(.woocommerce-error, .wc-block-components-notice-banner.is-error) { background: var(--fp-blush) !important; border-left-color: var(--fp-ink) !important; }
body.lgs-c2-cartfp :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::before { display: none !important; }
body.lgs-c2-cartfp .wc-block-components-notice-banner > svg { background: var(--fp-navy) !important; fill: #fff !important; border-radius: 0 !important; }
body.lgs-c2-cartfp :is(.woocommerce-message, .woocommerce-info) a.button {
	float: right; background: none !important; border: 0 !important; color: var(--fp-navy) !important; padding: 0 !important; min-height: 0 !important;
	font-family: var(--fp-sans) !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .02em; text-decoration: none; border-radius: 0 !important;
}
body.lgs-c2-cartfp :is(.woocommerce-message, .woocommerce-info) a.button::after { content: " \2192"; }
body.lgs-c2-cartfp :is(.woocommerce-message, .woocommerce-info) a { color: var(--fp-navy) !important; }

/* ---- the cart (WooCommerce Cart block) ---- */
body.lgs-c2-cartfp .wp-block-woocommerce-cart { max-width: none !important; margin: 20px 0 0 !important; font-family: var(--fp-serif); color: var(--fp-ink); }
body.lgs-c2-cartfp .wc-block-cart { gap: 0; }
body.lgs-c2-cartfp .wc-block-cart-items { border: 0 !important; }
body.lgs-c2-cartfp .wc-block-cart-items__header th { border-bottom: 2px solid var(--fp-ink) !important; padding: 0 0 10px !important; }
body.lgs-c2-cartfp .wc-block-cart-items__header span,
body.lgs-c2-cartfp .wc-block-cart__totals-title { font-family: var(--fp-sans) !important; font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: .12em !important; text-transform: uppercase !important; color: var(--fp-ink) !important; }
body.lgs-c2-cartfp .wc-block-cart-items__row td { border-bottom: 1px solid var(--fp-hair) !important; border-top: 0 !important; padding-top: 20px !important; padding-bottom: 20px !important; }
body.lgs-c2-cartfp .wc-block-cart-item__image img { border: 1px solid var(--fp-hair); border-radius: 0; background: #fff; }
body.lgs-c2-cartfp .wc-block-cart-items .wc-block-components-product-name { font-family: var(--fp-serif); font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--fp-ink) !important; text-decoration: none; }
body.lgs-c2-cartfp .wc-block-cart-items a.wc-block-components-product-name:hover { text-decoration: underline; text-underline-offset: 3px; }
body.lgs-c2-cartfp .wc-block-cart-item__prices,
body.lgs-c2-cartfp .wc-block-cart-item__total { font-family: var(--fp-sans); font-size: 15px; font-weight: 600; color: var(--fp-ink); }
body.lgs-c2-cartfp .wc-block-components-product-metadata { font-family: var(--fp-serif); font-size: 15px; color: var(--fp-muted); }
body.lgs-c2-cartfp .wc-block-components-product-details { font-family: var(--fp-sans); font-size: 13px; }
/* quantity: a square ink box */
body.lgs-c2-cartfp .wc-block-components-quantity-selector { border-radius: 0 !important; border: 1px solid var(--fp-ink) !important; background: #fff; }
body.lgs-c2-cartfp .wc-block-components-quantity-selector::after { display: none !important; }
body.lgs-c2-cartfp .wc-block-components-quantity-selector input { font-family: var(--fp-sans) !important; font-weight: 600; color: var(--fp-ink) !important; }
body.lgs-c2-cartfp .wc-block-components-quantity-selector button { color: var(--fp-ink) !important; border-radius: 0 !important; }
body.lgs-c2-cartfp .wc-block-cart-item__remove-link { color: var(--fp-ink) !important; }
body.lgs-c2-cartfp .wc-block-cart-item__remove-link:hover { color: var(--fp-steel) !important; }

/* the totals: a framed 1px ink box */
body.lgs-c2-cartfp .wc-block-cart__sidebar { padding: 0 !important; }
body.lgs-c2-cartfp .wc-block-cart__sidebar > .wp-block-woocommerce-cart-order-summary-block,
body.lgs-c2-cartfp .wc-block-cart__sidebar { font-family: var(--fp-sans); color: var(--fp-ink); }
body.lgs-c2-cartfp .wc-block-cart.is-large .wc-block-cart__sidebar { border: 1px solid var(--fp-ink); background: var(--fp-ground); padding: 20px 22px 22px !important; margin-left: 32px; box-sizing: border-box; }
body.lgs-c2-cartfp .wc-block-cart__totals-title { display: block !important; border-bottom: 2px solid var(--fp-ink); padding: 0 0 10px !important; margin: 0 !important; text-align: left !important; }
body.lgs-c2-cartfp .wc-block-cart__sidebar .wc-block-components-totals-wrapper { border-top-color: var(--fp-hair) !important; padding-left: 0 !important; padding-right: 0 !important; }
body.lgs-c2-cartfp .wc-block-cart__sidebar .wc-block-components-totals-wrapper::after { border-color: var(--fp-hair) !important; }
body.lgs-c2-cartfp .wc-block-components-panel__button { font-family: var(--fp-sans) !important; font-size: 14px; font-weight: 600; color: var(--fp-ink) !important; }
body.lgs-c2-cartfp .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--fp-serif) !important; font-size: 22px !important; font-weight: 600 !important; }
body.lgs-c2-cartfp .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--fp-serif) !important; font-size: 24px !important; font-weight: 700 !important; }
body.lgs-c2-cartfp .wc-block-components-totals-coupon :is(input, .wc-block-components-text-input input) { border: 1px solid var(--fp-ink) !important; border-radius: 0 !important; background: #fff !important; font-family: var(--fp-serif) !important; }
body.lgs-c2-cartfp .wc-block-components-totals-coupon .wc-block-components-text-input label { font-family: var(--fp-sans) !important; }
/* buttons: the paper's square navy button */
body.lgs-c2-cartfp .wc-block-components-button:not(.is-link):not(.wc-block-components-quantity-selector__button),
body.lgs-c2-cartfp a.wc-block-cart__submit-button {
	background: var(--fp-navy) !important; color: #fff !important; border: 1px solid var(--fp-navy) !important; border-radius: 0 !important; box-shadow: none !important;
	font-family: var(--fp-sans) !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase !important;
	text-decoration: none !important; min-height: 52px;
}
body.lgs-c2-cartfp .wc-block-components-button:not(.is-link):not(.wc-block-components-quantity-selector__button) .wc-block-components-button__text { text-decoration: none !important; }
body.lgs-c2-cartfp :is(.wc-block-components-button:not(.is-link):not(.wc-block-components-quantity-selector__button), a.wc-block-cart__submit-button):hover { background: #122735 !important; border-color: #122735 !important; }
body.lgs-c2-cartfp :is(a, button, summary, [role="button"]):focus-visible { outline: 3px solid var(--fp-steel) !important; outline-offset: 2px; box-shadow: none !important; }

/* the empty cart */
body.lgs-c2-cartfp .wp-block-woocommerce-empty-cart-block { border-top: 1px solid var(--fp-ink); padding: 28px 0 8px; text-align: left; }
body.lgs-c2-cartfp .wc-block-cart__empty-cart__title {
	font-family: var(--fp-serif) !important; font-weight: 600 !important; font-size: clamp(26px, 2.8vw, 34px) !important; line-height: 1.15 !important; color: var(--fp-ink) !important;
	text-align: left !important; letter-spacing: -.01em; margin: 0 !important;
}
body.lgs-c2-cartfp .wc-block-cart__empty-cart__title.with-empty-cart-icon::before { background-color: var(--fp-steel) !important; width: 48px !important; height: 48px !important; margin: 0 0 16px !important; mask-size: 48px 48px !important; -webkit-mask-size: 48px 48px !important; }
/* WooCommerce's "New in store" heading with no products under it (none are for sale here yet):
   hidden only while it is the last thing in the block, so it returns if products appear */
body.lgs-c2-cartfp .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title):last-child,
body.lgs-c2-cartfp .wp-block-woocommerce-empty-cart-block > hr:has(+ h2:not(.wc-block-cart__empty-cart__title):last-child) { display: none; }
body.lgs-c2-cartfp .wp-block-woocommerce-empty-cart-block > hr { border: 0; border-top: 1px solid var(--fp-hair); margin: 28px 0; }
body.lgs-c2-cartfp .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title) { font-family: var(--fp-serif); font-weight: 600; text-align: left; color: var(--fp-ink); }

/* ---- the close under the cart: the paper's navy colophon ---- */
body.lgs-c2-cartfp .lgs-cartfp__close { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--fp-navy); color: #fff; margin: 48px 0 0; position: relative; }
body.lgs-c2-cartfp .lgs-cartfp__close::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; border-top: 3px double var(--fp-ink); height: 0; }
body.lgs-c2-cartfp .lgs-cartfp__pic { display: block; min-height: 220px; height: 100%; background: var(--fp-tint) center / cover no-repeat; }
body.lgs-c2-cartfp .lgs-cartfp__close-text { padding: 28px 32px 30px; align-self: center; }
body.lgs-c2-cartfp .lgs-cartfp__close .lgs-cartfp__kicker { color: #fff; opacity: .85; }
body.lgs-c2-cartfp .lgs-cartfp__close-line { font-family: var(--fp-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; color: #fff; margin: 0 0 16px; max-width: 30ch; }
body.lgs-c2-cartfp .lgs-cartfp__close-go { margin: 0; }
body.lgs-c2-cartfp .lgs-cartfp__close-go a { font-family: var(--fp-sans); font-size: 14px; font-weight: 700; color: #fff !important; text-decoration: none; }
body.lgs-c2-cartfp .lgs-cartfp__close-go a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- the checkout (Elementor's widget around WooCommerce's form) ---- */
body.lgs-c2-cartfp.woocommerce-checkout .e-con:has(.elementor-widget-woocommerce-checkout-page) { --content-width: 1120px; padding-left: 0 !important; padding-right: 0 !important; }
body.lgs-c2-cartfp.woocommerce-checkout .woocommerce { max-width: none !important; }
body.lgs-c2-cartfp .elementor-widget-woocommerce-checkout-page { font-family: var(--fp-serif) !important; font-size: 17px !important; line-height: 1.5 !important; color: var(--fp-ink) !important; width: 100%; }
body.lgs-c2-cartfp .elementor-widget-woocommerce-checkout-page .e-checkout__container { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) !important; column-gap: 40px !important; row-gap: 24px !important; }
/* the boxes: billing on the open page under an ink rule; the order framed */
body.lgs-c2-cartfp form.checkout #customer_details :is(.col-1, .col-2 > div),
body.lgs-c2-cartfp form.checkout .woocommerce-additional-fields {
	background: none !important; border: 0 !important; border-top: 1px solid var(--fp-ink) !important; border-radius: 0 !important; box-shadow: none !important; padding: 14px 0 8px !important; margin: 0 0 24px !important;
}
body.lgs-c2-cartfp form.checkout #customer_details .col-2 > div:empty { display: none; }
body.lgs-c2-cartfp form.checkout .e-checkout__order_review,
body.lgs-c2-cartfp form.checkout #order_review {
	background: var(--fp-ground) !important; border-radius: 0 !important; box-shadow: none !important;
}
body.lgs-c2-cartfp form.checkout .e-checkout__order_review { border: 1px solid var(--fp-ink) !important; padding: 20px 22px 16px !important; }
body.lgs-c2-cartfp form.checkout #payment { background: var(--fp-tint) !important; border: 0 !important; border-top: 3px solid var(--fp-ink) !important; border-radius: 0 !important; box-shadow: none !important; padding: 18px 22px 22px !important; }
body.lgs-c2-cartfp form.checkout h3,
body.lgs-c2-cartfp form.checkout #order_review_heading {
	font-family: var(--fp-serif) !important; font-weight: 600 !important; font-size: clamp(24px, 2.4vw, 30px) !important; line-height: 1.15 !important; letter-spacing: -.01em !important;
	color: var(--fp-ink) !important; text-transform: none !important; margin: 0 0 18px !important;
}
/* fields */
body.lgs-c2-cartfp form.checkout label { font-family: var(--fp-sans) !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase; color: var(--fp-ink) !important; margin-bottom: 6px !important; }
body.lgs-c2-cartfp form.checkout label.checkbox,
body.lgs-c2-cartfp form.checkout .woocommerce-form__label-for-checkbox,
body.lgs-c2-cartfp form.checkout #payment label { font-family: var(--fp-serif) !important; font-size: 16px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none; }
body.lgs-c2-cartfp form.checkout .required { color: var(--fp-steel) !important; text-decoration: none; }
body.lgs-c2-cartfp form.checkout .optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--fp-muted); }
body.lgs-c2-cartfp form.checkout :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea),
body.lgs-c2-cartfp form.checkout .select2-container--default .select2-selection--single {
	background: #fff !important; border: 1px solid var(--fp-ink) !important; border-radius: 0 !important; box-shadow: none !important;
	font-family: var(--fp-serif) !important; font-size: 17px !important; color: var(--fp-ink) !important; min-height: 46px; height: auto;
}
body.lgs-c2-cartfp form.checkout .select2-container--default .select2-selection--single { height: 46px !important; }
body.lgs-c2-cartfp form.checkout .select2-selection__rendered { line-height: 44px !important; color: var(--fp-ink) !important; }
body.lgs-c2-cartfp form.checkout .select2-selection__arrow { height: 44px !important; }
body.lgs-c2-cartfp form.checkout ::placeholder { color: var(--fp-muted) !important; opacity: .75 !important; }
body.lgs-c2-cartfp form.checkout :is(input, select, textarea):focus,
body.lgs-c2-cartfp form.checkout .select2-container--focus .select2-selection { outline: 2px solid var(--fp-steel) !important; outline-offset: 1px; box-shadow: none !important; }
body.lgs-c2-cartfp form.checkout .woocommerce-invalid :is(input.input-text, select, .select2-selection) { border-color: #8c2f2f !important; background: #fff8f6 !important; }
body.lgs-c2-cartfp form.checkout input[type="checkbox"],
body.lgs-c2-cartfp form.checkout input[type="radio"] { accent-color: var(--fp-navy); }
body.lgs-c2-cartfp .select2-dropdown { border: 1px solid var(--fp-ink) !important; border-radius: 0 !important; background: #fff !important; font-family: var(--fp-serif); color: var(--fp-ink); }
body.lgs-c2-cartfp .select2-results__option--highlighted[aria-selected],
body.lgs-c2-cartfp .select2-results__option--highlighted[data-selected] { background: var(--fp-navy) !important; color: #fff !important; }
body.lgs-c2-cartfp .select2-search__field { border: 1px solid var(--fp-ink) !important; border-radius: 0 !important; }
/* the order table: ink header rule, hairline rows, a serif total */
body.lgs-c2-cartfp form.checkout table.shop_table { border: 0 !important; border-radius: 0 !important; font-family: var(--fp-sans) !important; font-size: 15px !important; color: var(--fp-ink) !important; margin: 0 !important; }
body.lgs-c2-cartfp form.checkout table.shop_table :is(th, td) { border: 0 !important; border-bottom: 1px solid var(--fp-hair) !important; background: none !important; color: var(--fp-ink) !important; padding: 12px 0 !important; }
body.lgs-c2-cartfp form.checkout table.shop_table :is(td, th):last-child { text-align: right; }
body.lgs-c2-cartfp form.checkout table.shop_table thead th { border-bottom: 2px solid var(--fp-ink) !important; font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: .12em; text-transform: uppercase; padding-top: 0 !important; }
body.lgs-c2-cartfp form.checkout table.shop_table td.product-name { font-family: var(--fp-serif); font-size: 17px; }
body.lgs-c2-cartfp form.checkout table.shop_table tfoot th { font-size: 12px !important; font-weight: 700 !important; letter-spacing: .08em; text-transform: uppercase; }
body.lgs-c2-cartfp form.checkout table.shop_table tfoot .order-total :is(th, td) { border-bottom: 0 !important; border-top: 2px solid var(--fp-ink) !important; padding-top: 14px !important; }
body.lgs-c2-cartfp form.checkout table.shop_table tfoot .order-total td { font-family: var(--fp-serif) !important; font-size: 24px !important; font-weight: 700 !important; }
body.lgs-c2-cartfp form.checkout table.shop_table tfoot .order-total th { vertical-align: bottom; }
/* payment + the Place order button */
body.lgs-c2-cartfp form.checkout #payment ul.payment_methods { border-bottom: 1px solid var(--fp-hair) !important; padding: 0 0 12px !important; margin: 0 0 12px !important; font-family: var(--fp-serif); }
body.lgs-c2-cartfp form.checkout #payment div.payment_box { background: #fff !important; border: 1px solid var(--fp-hair) !important; border-radius: 0 !important; color: var(--fp-ink) !important; font-family: var(--fp-sans); font-size: 14px; }
body.lgs-c2-cartfp form.checkout #payment div.payment_box::before { border-bottom-color: #fff !important; }
body.lgs-c2-cartfp form.checkout #payment div.form-row { padding: 0 !important; }
body.lgs-c2-cartfp form.checkout .woocommerce-privacy-policy-text p,
body.lgs-c2-cartfp form.checkout .woocommerce-terms-and-conditions-wrapper p { font-family: var(--fp-sans) !important; font-size: 13.5px !important; line-height: 1.5 !important; color: var(--fp-muted) !important; }
body.lgs-c2-cartfp form.checkout .woocommerce-terms-and-conditions-wrapper a { color: var(--fp-navy) !important; }
body.lgs-c2-cartfp form.checkout #place_order {
	width: 100% !important; min-height: 54px; margin-top: 14px !important; background: var(--fp-navy) !important; color: #fff !important; border: 1px solid var(--fp-navy) !important; border-radius: 0 !important;
	box-shadow: none !important; font-family: var(--fp-sans) !important; font-size: 14px !important; font-weight: 700 !important; letter-spacing: .1em !important; text-transform: uppercase !important;
}
body.lgs-c2-cartfp form.checkout #place_order:hover { background: #122735 !important; border-color: #122735 !important; }
body.lgs-c2-cartfp form.checkout .woocommerce-NoticeGroup-checkout { grid-column: 1 / -1; }
body.lgs-c2-cartfp form.checkout .woocommerce-error li { font-family: var(--fp-sans); }
body.lgs-c2-cartfp form.checkout .woocommerce-error a { color: var(--fp-ink) !important; }

/* order received (thank-you) page: the same paper */
body.lgs-c2-cartfp .woocommerce-order { font-family: var(--fp-serif); color: var(--fp-ink); }
body.lgs-c2-cartfp .woocommerce-order .woocommerce-thankyou-order-received { font-family: var(--fp-serif) !important; font-size: clamp(24px, 2.4vw, 30px) !important; font-weight: 600; border-top: 3px solid var(--fp-ink); padding-top: 16px; background: none !important; border-left: 0 !important; }
body.lgs-c2-cartfp .woocommerce-order ul.order_details { font-family: var(--fp-sans); border-top: 1px solid var(--fp-ink); padding: 14px 0 0; }
body.lgs-c2-cartfp .woocommerce-order ul.order_details li { border-right-color: var(--fp-hair) !important; }
body.lgs-c2-cartfp .woocommerce-order :is(h2, .woocommerce-order-details__title, .woocommerce-column__title) { font-family: var(--fp-serif) !important; font-weight: 600; color: var(--fp-ink) !important; }

/* ---- narrower screens ---- */
@media (max-width: 900px) {
	body.lgs-c2-cartfp .elementor-widget-woocommerce-checkout-page .e-checkout__container { grid-template-columns: minmax(0, 1fr) !important; }
	body.lgs-c2-cartfp .lgs-cartfp__close { grid-template-columns: 1fr; }
	body.lgs-c2-cartfp .lgs-cartfp__pic { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 700px) {
	body.lgs-c2-cartfp .site-main { padding: 0 16px 40px; }
	body.lgs-c2-cartfp .wc-block-cart__sidebar,
	body.lgs-c2-cartfp .wc-block-cart:not(.is-large) .wc-block-cart__sidebar { border: 1px solid var(--fp-ink); background: var(--fp-ground); padding: 18px 16px 18px !important; margin: 24px 0 0 !important; }
	body.lgs-c2-cartfp form.checkout .e-checkout__order_review,
	body.lgs-c2-cartfp form.checkout #payment { padding: 16px !important; }
	body.lgs-c2-cartfp .lgs-cartfp__close-text { padding: 22px 18px 24px; }
	body.lgs-c2-cartfp .elementor-widget-woocommerce-checkout-page :is(.form-row-first, .form-row-last) { width: 100% !important; float: none !important; }
}

/* 1.0.1: the totals box's margin pushed it under the items at desktop
   (WooCommerce sizes the two columns to fill the row exactly), so the gap
   now comes from the items column; and WooCommerce draws the line-total
   cell as a flex box, which left its rule floating above the row's. */
body.lgs-c2-cartfp .wc-block-cart.is-large .wc-block-cart__sidebar { margin-left: 0 !important; }
body.lgs-c2-cartfp .wc-block-cart.is-large .wc-block-cart__main { padding-right: 32px !important; box-sizing: border-box; }
body.lgs-c2-cartfp .wc-block-cart.is-large .wc-block-cart-items__row .wc-block-cart-item__total { display: table-cell !important; vertical-align: top; text-align: right; }
/* 1.0.2: on phones the row rule broke into one piece per cell (separated
   borders), and the theme's own inset pushed the H1 in from its rule. */
body.lgs-c2-cartfp table.wc-block-cart-items { border-collapse: collapse !important; border-spacing: 0 !important; }
body.lgs-c2-cartfp .site-main > .page-header { padding-left: 0 !important; padding-right: 0 !important; }
body.lgs-c2-cartfp .site-main > .page-header h1.entry-title { padding: 0 !important; }
/* 1.0.3: on phones WooCommerce lays each row out as a grid, so the rule
   goes on the row itself there. */
body.lgs-c2-cartfp .wc-block-cart:not(.is-large) .wc-block-cart-items__row { border-bottom: 1px solid var(--fp-hair) !important; }
body.lgs-c2-cartfp .wc-block-cart:not(.is-large) .wc-block-cart-items__row td { border-bottom: 0 !important; }

/* 1.0.4 (owner 2026-10-05): the maker line above the checkout button, the empty basket, the checkout note, the close's second line */
body.lgs-c2-cartfp .lgs-cartfp__pay, body.lgs-c2-cartfp .lgs-cartfp__empty, body.lgs-c2-cartfp .lgs-cartfp__note { font-family: var(--fp-sans); font-size: 14px; line-height: 1.5; color: var(--fp-muted); margin: 0 0 14px; }
body.lgs-c2-cartfp .lgs-cartfp__note { margin: -6px 0 22px; }
body.lgs-c2-cartfp .lgs-cartfp__empty a, body.lgs-c2-cartfp .lgs-cartfp__pay a { color: var(--fp-navy); font-weight: 700; text-decoration: none; }
body.lgs-c2-cartfp .lgs-cartfp__close-sub, body.lgs-c2-prodfp .lgs-cartfp__close-sub { font-family: var(--fp-sans); font-size: 14.5px; line-height: 1.55; opacity: .9; margin: 8px 0 12px; }
