/* Gravipack: WooCommerce's own cart, checkout and account markup, in the mock-up's paper style.
   Loaded on the cart, checkout and account pages only (WooCommerce's default styles are off). */

/* Notices: shop.css, which every page that can show one loads. */

/* Headings */
.gp-commerce :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields, .woocommerce-account-fields) h3,
.gp-commerce #order_review_heading, .gp-commerce .cart_totals > h2, .gp-commerce .woocommerce-MyAccount-content h2, .gp-commerce .woocommerce-MyAccount-content h3,
.gp-commerce :is(.woocommerce-form-login, .woocommerce-form-register) ~ h2, .gp-commerce .u-column1 > h2, .gp-commerce .u-column2 > h2,
.gp-commerce .gp-pay-title, .gp-commerce :is(.woocommerce-order-details__title, .woocommerce-column__title, .wc-bacs-bank-details-heading, .gp-merci__title) {
	margin: 0 0 16px; font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; line-height: 1.05; letter-spacing: -.012em; text-transform: uppercase;
}
.gp-commerce #ship-to-different-address { font-size: 1rem; }

/* Fields */
.gp-commerce .form-row { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; padding: 0; }
.gp-commerce .form-row > label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) { font-size: .9rem; font-weight: 600; }
.gp-commerce .form-row .required { color: #b3261e; text-decoration: none; border: 0; }
.gp-commerce .form-row .optional { color: var(--paper-muted); font-weight: 400; }
.gp-commerce .woocommerce-input-wrapper { display: block; }
.gp-commerce :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select, textarea) {
	width: 100%; min-height: var(--field-h); padding: 12px 14px; border: 1.5px solid var(--paper-field-line); border-radius: var(--field-radius); background: #fff; color: var(--paper-ink); font: inherit; font-size: 1rem; line-height: 1.3;
}
/* Quantity stepper on paper: one white field around −, the number and + */
.gp-commerce div.quantity { border: 1.5px solid var(--paper-field-line); border-radius: var(--field-radius); background: #fff; color: var(--paper-ink); }
.gp-commerce .quantity input.qty { width: 44px; min-height: var(--field-h-s); padding: 0; border: 0; background: none; text-align: center; }
.gp-commerce .gp-stepper__btn { height: var(--field-h-s); }
.gp-commerce textarea { min-height: 110px; resize: vertical; }
.gp-commerce :is(input.input-text, select, textarea)::placeholder { color: var(--paper-muted); opacity: 1; }
.gp-commerce :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea):focus { border-color: var(--paper-ink); outline: 2px solid var(--paper-ink); outline-offset: 1px; }
.gp-commerce .woocommerce-invalid :is(input.input-text, select, .select2-selection) { border-color: #b3261e; }
.gp-commerce :is(input[type="checkbox"], input[type="radio"]) { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--paper-ink); }
.gp-commerce :is(.woocommerce-form__label-for-checkbox, label.checkbox) { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; cursor: pointer; }
.gp-commerce .woocommerce-form__label-for-checkbox span { line-height: 1.35; }
/* Newsletter box (checkout, account creation; optins.php): long text, so the box sits on the first line; the label is
   one target of 44 px or more; the confirmation hint lines up with the text. */
.gp-commerce .gp-optin .woocommerce-form__label-for-checkbox { align-items: flex-start; min-height: 44px; padding-block: 10px; font-size: .92rem; }
.gp-commerce .gp-optin input[type="checkbox"] { margin-top: 1px; }
.gp-commerce .gp-optin input[type="checkbox"]:focus-visible { outline: 2px solid var(--paper-ink); outline-offset: 2px; }
.gp-commerce .gp-optin__hint { margin-top: -8px; padding-left: 28px; font-size: .84rem; color: var(--paper-muted); }
/* Show / hide password (WooCommerce adds the button; its own styles are off): a 44 px eye inside the field. */
.gp-commerce .password-input { position: relative; display: block; }
.gp-commerce .password-input input { padding-right: 52px; }
.gp-commerce .show-password-input { position: absolute; top: 50%; right: 3px; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--paper-muted); cursor: pointer; }
.gp-commerce .show-password-input::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.gp-commerce .show-password-input.display-password::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7c2 0 3.8.7 5.2 1.7M22 12s-3.6 7-10 7c-2 0-3.8-.7-5.2-1.7'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2M3 3l18 18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7c2 0 3.8.7 5.2 1.7M22 12s-3.6 7-10 7c-2 0-3.8-.7-5.2-1.7'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2M3 3l18 18'/%3E%3C/svg%3E"); }
.gp-commerce .show-password-input:hover { color: var(--paper-ink); }
.gp-commerce .show-password-input:focus-visible { outline: 2px solid var(--paper-ink); outline-offset: -2px; }

/* Country / state picker (selectWoo) */
.gp-commerce .select2-container { width: 100% !important; }
/* margin 0: WooCommerce's select2.css pulls the box up by 4 px, so the fields under the country moved up when selectWoo
   replaced the native select after load (CLS). */
.gp-commerce .select2-container .select2-selection--single { height: auto; min-height: var(--field-h); margin: 0; padding: 12px 40px 12px 14px; border: 1.5px solid var(--paper-field-line); border-radius: var(--field-radius); background: #fff; }
.gp-commerce .select2-container .select2-selection__rendered { padding: 0 !important; color: var(--paper-ink) !important; line-height: 1.3 !important; }
.gp-commerce .select2-container .select2-selection__arrow { top: 50% !important; right: 12px !important; height: 20px !important; transform: translateY(-50%); }
.gp-commerce .select2-container--focus .select2-selection--single, .gp-commerce .select2-container--open .select2-selection--single { border-color: var(--paper-ink); outline: 2px solid var(--paper-ink); outline-offset: 1px; }
.select2-dropdown { border: 1.5px solid var(--paper-ink) !important; border-radius: 12px !important; overflow: hidden; color: var(--paper-ink); }
.select2-results__option--highlighted { background: var(--paper-ink) !important; color: #fff !important; }

@media (min-width: 640px) {
	.gp-commerce :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
	.gp-commerce :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper) > .form-row:not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
	.gp-commerce .woocommerce-EditAccountForm { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
	.gp-commerce .woocommerce-EditAccountForm > :not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
}
.gp-commerce .clear { display: none; }

/* Buttons: the theme's .gp-btn recipe (main.css). The main action takes the world's accent fill (lime, Pro cream with its olive rim on light, G1) with
   its raised edge, as .gp-btn does (owner review of 7 Nov 2026: « more colourful », « colour, contrast »); the other
   actions take the ghost one (.gp-btn--ghost). */
.gp-commerce :is(#place_order, .wc-proceed-to-checkout .checkout-button, .return-to-shop .button, .woocommerce-thankyou-order-failed-actions .button) {
	--btn-bg: var(--accent); --btn-fg: var(--on-accent); --btn-edge: var(--accent-edge);
	display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: .85em 1.6em .8em; border: 0; border-radius: 14px; background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; line-height: 1; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--accent-rim, transparent), 0 4px 0 var(--btn-edge); cursor: pointer;
	transition: translate .35s var(--ease-out), box-shadow .2s ease;
}
.gp-commerce :is(#place_order, .wc-proceed-to-checkout .checkout-button) { width: 100%; min-height: 60px; font-size: 1.12rem; }
.gp-commerce :is(#place_order, .wc-proceed-to-checkout .checkout-button, .return-to-shop .button):focus-visible { outline: 2px solid var(--paper-ink); outline-offset: 3px; }
.gp-commerce :is(button[name="apply_coupon"], button[name="update_cart"], button[name="login"], button[name="register"], button[name="save_address"], button[name="save_account_details"], button[name="calc_shipping"], .woocommerce-Button, .woocommerce-button, .woocommerce-MyAccount-content a.button, .woocommerce-MyAccount-content button.button, .woocommerce-orders-table .button, .gp-pickup__search-btn) {
	--btn-bg: var(--surface-2); --btn-fg: var(--ink); --btn-edge: var(--field-line);
	display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.2em .62em; border: 0; border-radius: 12px; background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--font-display); font-size: .88rem; font-weight: 800; line-height: 1; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; box-shadow: 0 4px 0 var(--btn-edge); cursor: pointer;
	transition: translate .35s var(--ease-out), box-shadow .2s ease;
}
/* Account: the main action of a card or a form (« Voir la commande », « Envoyer », the save buttons) takes the accent;
   white on a tinted surface. Icons of the Control Center buttons at 18 px. */
.gp-commerce .woocommerce-MyAccount-content :is(a.gpcc-acc-btn--main, .gpcc-acc-form:not(.gpcc-acc-form--inline) button[type="submit"], button[name="save_account_details"], button[name="save_address"]) { --btn-bg: var(--accent); --btn-fg: var(--on-accent); --btn-edge: var(--accent-edge); }
.gp-commerce .woocommerce-MyAccount-content :is(.gpcc-acc-card--todo, .gpcc-acc-emptycard, .gpcc-acc-share) a.button:not(.gpcc-acc-btn--main) { --btn-bg: #fff; --btn-edge: var(--paper-ink); }
.gp-commerce .woocommerce-MyAccount-content .button .gp-i { width: 18px; height: 18px; flex: none; }
.gp-commerce :is(#place_order, .button):not(:disabled):hover { box-shadow: inset 0 0 0 1.5px var(--accent-rim, transparent), 0 6px 0 var(--btn-edge); translate: 0 -2px; }
.gp-commerce :is(#place_order, .button):not(:disabled):active { box-shadow: inset 0 0 0 1.5px var(--accent-rim, transparent), 0 1px 0 var(--btn-edge); translate: 0 3px; }
.gp-commerce :is(button, .button):is(:disabled, [aria-disabled="true"]) { opacity: .45; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .gp-commerce :is(#place_order, .button):not(:disabled):is(:hover, :active) { translate: none; } }
/* Official Mondial Relay plugin (17 Nov 2026): its « Choisir un Point Relais® ou un Locker » stands in for « Commander » until a
   point is chosen, and « Choisir ce Point Relais® / locker » confirms the point in its window. Both take the main action's look
   instead of the plugin's plum (#96154A, 5 px corners) and the bare browser button. The ids outweigh its mrwp.css
   (div.mrwpbutton a#modaal_link); the window is moved to the end of the page, outside .gp-commerce. */
.gp-commerce #payment div.mrwpbutton a#modaal_link,
body .modaal-wrapper #delivery_point_chosen {
	--btn-bg: var(--accent); --btn-fg: var(--on-accent); --btn-edge: var(--accent-edge);
	display: flex; align-items: center; justify-content: center; width: 100%; min-height: 60px; margin: 0; padding: .85em 1.6em .8em; border: 0; border-radius: 14px; background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; line-height: 1.15; letter-spacing: .02em; text-align: center; text-transform: uppercase; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--accent-rim, transparent), 0 4px 0 var(--btn-edge); cursor: pointer;
	transition: translate .35s var(--ease-out), box-shadow .2s ease;
}
body .modaal-wrapper #delivery_point_chosen { width: auto; max-width: 100%; min-height: 52px; margin: 1.25rem auto 0; font-size: 1rem; }
.gp-commerce #payment div.mrwpbutton a#modaal_link:hover, body .modaal-wrapper #delivery_point_chosen:hover { box-shadow: inset 0 0 0 1.5px var(--accent-rim, transparent), 0 6px 0 var(--btn-edge); translate: 0 -2px; }
.gp-commerce #payment div.mrwpbutton a#modaal_link:active, body .modaal-wrapper #delivery_point_chosen:active { box-shadow: inset 0 0 0 1.5px var(--accent-rim, transparent), 0 1px 0 var(--btn-edge); translate: 0 3px; }
.gp-commerce #payment div.mrwpbutton a#modaal_link:focus-visible, body .modaal-wrapper #delivery_point_chosen:focus-visible { outline: 2px solid var(--paper-ink, currentColor); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .gp-commerce #payment div.mrwpbutton a#modaal_link:is(:hover, :active), body .modaal-wrapper #delivery_point_chosen:is(:hover, :active) { translate: none; } }

/* Tables (cart, order review, totals, orders). The cell defaults sit in :where() so that every later rule for one
   table (totals aligned right, the phone review table) wins without a heavier selector. */
.gp-commerce table.shop_table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.gp-commerce :where(table.shop_table) :is(th, td) { padding: 12px 8px; border-bottom: 1px solid var(--paper-line); text-align: left; vertical-align: middle; }
.gp-commerce :where(table.shop_table) :is(th, td):first-child { padding-left: 0; }
.gp-commerce :where(table.shop_table) :is(th, td):last-child { padding-right: 0; }
.gp-commerce table.shop_table thead th { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--paper-muted); }
.gp-commerce table.shop_table :is(.order-total, .cart-subtotal) th { font-weight: 700; }
.gp-commerce table.shop_table .order-total :is(th, td) { border-bottom: 0; font-size: 1.2rem; font-weight: 800; }
.gp-commerce table.shop_table :is(.includes_tax, small) { display: block; font-size: .8rem; font-weight: 400; color: var(--paper-muted); }
.gp-commerce .woocommerce-checkout-review-order-table :is(th, td):last-child, .gp-commerce .cart_totals td { text-align: right; }
.gp-commerce .woocommerce-checkout-review-order-table .product-name { font-weight: 600; }
/* Product options under a line (dl.variation, .wc-item-meta): main.css, shared with the cart drawer. */
/* Delivery choices: the list sits at the cell's end, its radios in one column, each price with its "(TTC)". */
.gp-commerce #shipping_method { display: inline-grid; gap: 6px; margin: 0; padding: 0; list-style: none; text-align: left; vertical-align: top; }
.gp-commerce #shipping_method li { display: flex; align-items: center; gap: 8px; margin: 0; }
.gp-commerce #shipping_method li label { cursor: pointer; }
.gp-commerce #shipping_method small { display: inline; }
.gp-commerce .woocommerce-shipping-destination { margin: 6px 0 0; font-size: .82rem; color: var(--paper-muted); }

/* Cart (owner review of 7 Nov 2026, « Panier: more colourful »): the items in a white card like the totals, the free
   delivery bar, the gift cue and the total on the world's tint, the main button in the accent. */
.gp-commerce .woocommerce-cart-form { padding: clamp(16px, 2.4vw, 28px); border-radius: var(--radius); background: #fff; }
.gp-commerce table.cart td.product-thumbnail { width: 96px; }
.gp-commerce table.cart td.product-thumbnail a { display: block; width: fit-content; border-radius: 12px; } /* the link takes the photo's box, so its focus ring shows */
.gp-commerce table.cart td.product-thumbnail img { display: block; width: 80px; height: 80px; object-fit: contain; border: 1px solid var(--paper-line); border-radius: 12px; background: #fff; }
.gp-commerce table.cart td.product-name a { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; text-decoration: none; }
.gp-commerce table.cart td.product-remove { width: 52px; }
.gp-commerce a.remove { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--paper-muted); font-size: 1.5rem; line-height: 1; text-decoration: none; }
.gp-commerce a.remove:hover { background: var(--paper-2); color: #b3261e; }
.gp-commerce table.cart td.actions { padding-top: 18px; text-align: right; }
.gp-commerce table.cart .coupon { display: flex; flex-wrap: wrap; gap: 8px; float: left; }
.gp-commerce table.cart .coupon input.input-text { width: 210px; min-height: 46px; } /* the height of the Appliquer button beside it */
.gp-commerce .cart-collaterals .cart_totals, .gp-commerce #order_review { padding: clamp(18px, 2.4vw, 28px); border-radius: var(--radius); background: #fff; }
.gp-commerce .wc-proceed-to-checkout { margin-top: 18px; }
.gp-commerce .cart_totals { border: 2px solid var(--accent-edge); }
.gp-commerce .cart_totals > h2 { display: flex; align-items: center; gap: 10px; }
.gp-commerce table.shop_table .order-total :is(th, td) { background: color-mix(in srgb, var(--accent) 22%, #fff); }
.gp-commerce table.shop_table .order-total th { padding-left: 14px; border-radius: 12px 0 0 12px; }
.gp-commerce table.shop_table .order-total td { padding-right: 14px; border-radius: 0 12px 12px 0; }
/* Free delivery bar, gift cue and gift picker (Gravipack Core commerce.css): on the world's tint, the bar filled with the
   accent and outlined by its edge colour (the amount left is written above it). */
.gp-commerce :is(.gp-shipbar, .gp-giftcue, .gp-giftbox) { border: 1.5px solid color-mix(in srgb, var(--accent-edge) 45%, transparent); background: color-mix(in srgb, var(--accent) 16%, #fff); color: var(--paper-ink); }
.gp-commerce .gp-shipbar__track { height: 12px; border: 1px solid color-mix(in srgb, var(--accent-edge) 55%, transparent); background: #fff; }
.gp-commerce .gp-shipbar__fill { background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent-edge); }
.gp-commerce .gp-shipbar.is-reached { border-color: #2e7d32; background: #e3f1e4; }
.gp-commerce .gp-giftcue__icon { width: 18px; height: 18px; color: var(--accent-ink); }
.gp-commerce .woocommerce-shipping-calculator { margin-top: 8px; text-align: left; }
.gp-commerce .shipping-calculator-button { font-size: .88rem; font-weight: 600; }

/* The cart table needs room: totals sit beside it on wide screens only, below it otherwise. */
.gp-commerce .cart-collaterals { margin-top: 28px; }
@media (min-width: 1200px) {
	.gp-commerce .woocommerce:has(> .woocommerce-cart-form) { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(340px, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
	.gp-commerce .woocommerce:has(> .woocommerce-cart-form) > :not(.woocommerce-cart-form):not(.cart-collaterals) { grid-column: 1 / -1; }
	.gp-commerce .cart-collaterals { position: sticky; top: calc(var(--header-total, var(--header-h, 80px)) + 18px); margin-top: 0; }
}
@media (min-width: 768px) and (max-width: 1199px) {
	.gp-commerce .cart-collaterals .cart_totals { max-width: 520px; margin-left: auto; }
}
@media (min-width: 980px) {
	.gp-commerce form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr); column-gap: clamp(28px, 4vw, 60px); align-items: start; }
	.gp-commerce form.woocommerce-checkout > #customer_details { grid-column: 1; grid-row: 1 / span 20; }
	.gp-commerce form.woocommerce-checkout > :not(#customer_details) { grid-column: 2; }
}
.gp-commerce #customer_details .col-2 { margin-top: 12px; }
/* Checkout (owner review of 7 Nov 2026, « Dynamic the checkout with color, contrast, emphasise offers, packs, additional
   accessoires »): the four steps numbered on the accent, the details in a white card, the summary outlined by the accent
   edge; suggestions, gifts and the delivery bar on the world's tint. Nothing about prices or offers changes here. */
.gp-commerce form.woocommerce-checkout { counter-reset: gp-step; }
.gp-commerce form.woocommerce-checkout > #customer_details { padding: clamp(18px, 2.4vw, 28px); border-radius: var(--radius); background: #fff; }
.gp-commerce :is(.woocommerce-billing-fields > h3, .woocommerce-additional-fields > h3, #order_review_heading, .gp-pay-title) { display: flex; align-items: center; gap: 12px; counter-increment: gp-step; }
.gp-commerce :is(.woocommerce-billing-fields > h3, .woocommerce-additional-fields > h3, #order_review_heading, .gp-pay-title)::before { content: counter(gp-step); content: counter(gp-step) / ""; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: inset 0 0 0 1.5px var(--accent-edge); font-size: 1.05rem; letter-spacing: 0; }
/* « Paiement » stands apart from the order total above it (owner, 17 Nov 2026). */
.gp-commerce .gp-pay-title { margin-top: 32px; }
/* Field hints (SIRET, N° TVA) read as hints: smaller and muted, still 6.9:1 on white. */
.gp-commerce #customer_details .form-row .description { display: block; margin-top: 6px; font-size: .8125rem; line-height: 1.4; color: var(--paper-muted); }
.gp-commerce .woocommerce-additional-fields { margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--paper-line); }
.gp-commerce #order_review { border: 2px solid var(--accent-edge); }
.gp-commerce :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) .woocommerce-info { border-color: color-mix(in srgb, var(--accent-edge) 45%, transparent); background: color-mix(in srgb, var(--accent) 12%, #fff); }
/* « Complétez votre commande » (checkout-upsell.php): a tinted block in the summary; « Ajouter » white with a dark edge. */
.gp-commerce .gp-upsell { padding: 14px 14px 4px; border: 1.5px solid color-mix(in srgb, var(--accent-edge) 45%, transparent); border-radius: 16px; background: color-mix(in srgb, var(--accent) 16%, #fff); }
.gp-commerce .gp-upsell__title { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.gp-commerce .gp-upsell__item + .gp-upsell__item { border-top-color: color-mix(in srgb, var(--accent-edge) 30%, transparent); }
.gp-commerce .gp-upsell__img { border-radius: 10px; background: #fff; }
.gp-commerce .gp-upsell .gp-upsell__add { --btn-bg: #fff; --btn-fg: var(--paper-ink); --btn-edge: var(--paper-ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.gp-commerce .gp-reassure { border-color: var(--paper-line); background: var(--paper); }
.gp-commerce .gp-reassure__icon { color: var(--accent-ink); }
.gp-commerce .woocommerce-form-login-toggle, .gp-commerce .woocommerce-form-coupon-toggle { margin-bottom: 4px; }
.gp-commerce :is(form.login, form.checkout_coupon, form.register) { margin: 0 0 22px; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--radius); background: #fff; }

/* Payment */
.gp-commerce #payment { margin-top: 18px; }
.gp-commerce #payment .payment_methods { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.gp-commerce #payment .wc_payment_method { padding: 12px 14px; border: 1.5px solid var(--paper-line); border-radius: 12px; }
.gp-commerce #payment .wc_payment_method:has(> input:checked) { border: 2px solid var(--accent-edge); background: color-mix(in srgb, var(--accent) 12%, #fff); }
.gp-commerce #payment .wc_payment_method > input { margin-right: 8px; vertical-align: -3px; }
.gp-commerce #payment .wc_payment_method > label { font-weight: 700; cursor: pointer; }
.gp-commerce #payment .wc_payment_method > label img { display: inline-block; max-height: 22px; margin-left: 6px; vertical-align: middle; }
.gp-commerce #payment .payment_box { margin-top: 8px; font-size: .9rem; color: var(--paper-muted); }
.gp-commerce #payment .payment_box p { margin: 0 0 8px; }
.gp-commerce #payment .payment_box p:last-child { margin: 0; }
.gp-commerce .woocommerce-terms-and-conditions-wrapper { margin-bottom: 14px; font-size: .86rem; color: var(--paper-muted); }
.gp-commerce .woocommerce-privacy-policy-text p { margin: 0 0 10px; }
.gp-commerce .form-row.place-order { margin: 0; }

/* Order received (WooCommerce checkout/thankyou.php): a reading column on the paper, flat sections with 1 px dividers like
   the review table. The next steps (.gp-merci, post-purchase.php) close the column. */
.gp-commerce .woocommerce-order { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 4vw, 46px); max-width: 860px; }
.gp-commerce .woocommerce-order > * { min-width: 0; margin: 0; }
.gp-commerce .woocommerce-order :is(.woocommerce-order-details__title, .woocommerce-column__title, .wc-bacs-bank-details-heading) { margin-bottom: 12px; }
.gp-commerce .woocommerce-notice:is(.woocommerce-thankyou-order-received, .woocommerce-thankyou-order-failed) { padding: 14px 18px; border: 1.5px solid #2e7d32; border-radius: var(--radius-s); background: #fff; font-size: 1.05rem; font-weight: 600; line-height: 1.45; } /* the shop notices' status colours (shop.css): 5.1:1 and 6.9:1 on white */
.gp-commerce .woocommerce-notice.woocommerce-thankyou-order-failed { border-color: #b3261e; }
.gp-commerce .woocommerce-notice.woocommerce-thankyou-order-failed-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gp-commerce :is(ul.woocommerce-order-overview, ul.wc-bacs-bank-details) { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--paper-line); }
.gp-commerce :is(.woocommerce-order-overview, .wc-bacs-bank-details) li { display: grid; gap: 2px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--paper-line); color: var(--paper-muted); font-size: .9rem; }
.gp-commerce :is(.woocommerce-order-overview, .wc-bacs-bank-details) strong { color: var(--paper-ink); font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
@media (min-width: 600px) {
	.gp-commerce :is(.woocommerce-order-overview, .wc-bacs-bank-details) li { grid-template-columns: minmax(11rem, .4fr) minmax(0, 1fr); align-items: baseline; gap: 16px; }
}
.gp-commerce .wc-bacs-bank-details-account-name { margin: 0 0 8px; font-size: 1rem; font-weight: 700; }
.gp-commerce .woocommerce-bacs-bank-details > p { margin: 0 0 12px; color: var(--paper-muted); }
.gp-commerce .woocommerce-table--order-details :is(th, td):first-child { overflow-wrap: anywhere; }
.gp-commerce .woocommerce-table--order-details .woocommerce-Price-amount { white-space: nowrap; } /* « 89,90 € » never splits on phones */
.gp-commerce .woocommerce-table--order-details :is(th, td):last-child { text-align: right; }
.gp-commerce .woocommerce-table--order-details tfoot th { font-weight: 600; }
.gp-commerce .woocommerce-table--order-details .product-name a { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gp-commerce .woocommerce-table--order-details .product-quantity { font-weight: 600; white-space: nowrap; }
.gp-commerce .woocommerce-customer-details .addresses { display: grid; gap: 24px; }
@media (min-width: 768px) { .gp-commerce .woocommerce-customer-details .addresses { grid-template-columns: 1fr 1fr; } }
.gp-commerce .woocommerce-customer-details address { padding-top: 12px; border-top: 1px solid var(--paper-line); font-style: normal; line-height: 1.55; overflow-wrap: anywhere; }
.gp-commerce .woocommerce-customer-details address p { margin: 8px 0 0; }

/* Next steps: guide link, then the accessory offer (a plain form: unticked boxes, one « Ajouter au panier »). */
.gp-commerce .gp-merci { container-type: inline-size; display: grid; gap: clamp(30px, 4vw, 40px); max-width: 720px; padding-top: clamp(26px, 3vw, 34px); border-top: 1px solid var(--paper-line); }
.gp-commerce .gp-merci__part { display: grid; justify-items: start; gap: 12px; min-width: 0; }
.gp-commerce .gp-merci__title { margin: 0; text-wrap: balance; }
.gp-commerce .gp-merci__text { max-width: 60ch; margin: 0; color: var(--paper-muted); }
.gp-commerce .gp-merci__set { display: grid; justify-items: start; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.gp-commerce .gp-merci__legend { float: left; width: 100%; padding: 0; font-weight: inherit; } /* floated: the legend becomes an ordinary grid item, so the gap applies */
.gp-commerce .gp-merci__notices { justify-self: stretch; }
.gp-commerce .gp-merci__notices > * { margin: 0; }
.gp-commerce .gp-merci__list { justify-self: stretch; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--paper-line); }
.gp-commerce .gp-merci__item { border-bottom: 1px solid var(--paper-line); }
.gp-commerce .gp-merci__row { display: grid; grid-template-columns: auto 48px minmax(0, 1fr) auto; grid-template-areas: "check media body price"; align-items: center; gap: 4px 14px; min-height: 72px; padding: 12px 0; cursor: pointer; }
.gp-commerce .gp-merci__check { grid-area: check; }
.gp-commerce .gp-merci__check:focus-visible { outline: 2px solid var(--paper-ink); outline-offset: 3px; }
.gp-commerce .gp-merci__media { grid-area: media; }
.gp-commerce .gp-merci__img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: #fff; }
.gp-commerce .gp-merci__body { grid-area: body; display: grid; gap: 2px; min-width: 0; }
.gp-commerce .gp-merci__name { font-weight: 700; line-height: 1.25; }
.gp-commerce .gp-merci__type { font-size: .85rem; line-height: 1.35; color: var(--paper-muted); }
.gp-commerce .gp-merci__price { grid-area: price; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gp-commerce .gp-merci__price :is(.woocommerce-price-suffix, del) { font-size: .8em; font-weight: 400; color: var(--paper-muted); }
.gp-commerce .gp-merci__price ins { text-decoration: none; }
.gp-commerce .gp-merci__row:hover .gp-merci__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gp-commerce .gp-merci__btn { -webkit-backdrop-filter: none; backdrop-filter: none; }
.gp-commerce .gp-merci__btn:focus-visible { outline: 2px solid var(--paper-ink); outline-offset: 3px; }
@container (max-width: 400px) {
	.gp-commerce .gp-merci__row { grid-template-columns: auto 48px minmax(0, 1fr); grid-template-areas: "check media body" "check media price"; }
	.gp-commerce .gp-merci__btn { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { .gp-commerce .gp-merci__btn:is(:hover, :active) { translate: none; } }

/* Phones: tables become stacked rows with their labels */
@media (max-width: 767px) {
	.gp-commerce table.shop_table_responsive thead { display: none; }
	.gp-commerce table.shop_table_responsive :is(tbody, tr) { display: block; }
	.gp-commerce table.shop_table_responsive tbody th { display: none; }
	.gp-commerce table.shop_table_responsive tr { padding: 10px 0; border-bottom: 1px solid var(--paper-line); }
	/* Label on the left; the amount and its "(TTC)" / "(HT)" stay together on the right. */
	.gp-commerce table.shop_table_responsive td { display: flex; justify-content: flex-end; align-items: baseline; gap: 6px; padding: 6px 0; border: 0; text-align: right; }
	.gp-commerce table.shop_table_responsive td[data-title]::before { content: attr(data-title); flex: none; margin-right: auto; padding-right: 6px; font-weight: 700; text-align: left; }
	.gp-commerce table.cart td.product-thumbnail { width: auto; justify-content: flex-start; }
	.gp-commerce table.cart :is(td.product-remove, td.product-thumbnail)::before { display: none; }
	.gp-commerce table.cart td.product-remove { justify-content: flex-end; width: auto; }
	.gp-commerce table.cart td.product-name { display: block; text-align: left; } /* the name takes its own full-width row */
	.gp-commerce table.cart td.product-name::before { display: none; }
	.gp-commerce table.cart td.actions { display: block; padding-top: 14px; }
	.gp-commerce table.cart td.actions::before { display: none; }
	.gp-commerce table.cart .coupon { float: none; margin-bottom: 10px; }
	.gp-commerce table.cart .coupon input.input-text { flex: 1 1 160px; width: auto; }
	.gp-commerce table.cart td.actions > .button { width: 100%; }
	/* Shipping and total cells hold several blocks (methods, destination, calculator, tax note): label on top, blocks stacked. */
	/* The coupon row too: its title (« Code promo : <code> ») is long, so it goes on top instead of running off the left edge. */
	.gp-commerce table.shop_table_responsive tr:is(.woocommerce-shipping-totals, .order-total, .tax-total, .fee, .cart-discount) td { flex-direction: column; align-items: flex-end; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
	.gp-commerce table.shop_table_responsive tr:is(.woocommerce-shipping-totals, .order-total, .tax-total, .fee, .cart-discount) td[data-title]::before { align-self: flex-start; max-width: 100%; }
	.gp-commerce .woocommerce-shipping-calculator, .gp-commerce .woocommerce-shipping-destination { max-width: 100%; text-align: right; }
	/* Checkout summary: each product line takes the width with its amount under it; totals keep label and amount on one row;
	   delivery choices are listed under their heading. */
	.gp-commerce .woocommerce-checkout-review-order-table thead { display: none; }
	.gp-commerce .woocommerce-checkout-review-order-table :is(tbody, tfoot, tr, th, td) { display: block; }
	.gp-commerce .woocommerce-checkout-review-order-table tr { padding: 10px 0; border-bottom: 1px solid var(--paper-line); }
	.gp-commerce .woocommerce-checkout-review-order-table tr.order-total { margin-top: 8px; padding: 10px 14px; border-bottom: 0; border-radius: 12px; background: color-mix(in srgb, var(--accent) 22%, #fff); }
	.gp-commerce .woocommerce-checkout-review-order-table tr.order-total :is(th, td) { padding: 0; background: none; }
	.gp-commerce .cart_totals tr.order-total td { padding: 10px 14px; border-radius: 12px; }
	.gp-commerce .woocommerce-checkout-review-order-table :is(th, td) { padding: 2px 0; border: 0; }
	.gp-commerce .woocommerce-checkout-review-order-table tfoot tr:not(.woocommerce-shipping-totals) { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
	.gp-commerce .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td { margin-top: 6px; text-align: left; }
}

/* My account (owner review of 7 Nov 2026, A1: « modern, intuitive, fully mobile-responsive »). Phones and tablets: the
   menu is one row of 44 px pills that scrolls sideways inside itself (never the page); a small script of the Control
   Center brings the current entry into view. Wide screens: a white sidebar in the four groups of the menu (orders,
   products, help, account). The current entry is filled with the accent (outlined entries otherwise: a shape cue too). */
.gp-commerce .woocommerce-MyAccount-navigation { min-width: 0; margin: 0 0 22px; }
.gp-commerce .woocommerce-MyAccount-navigation ul { position: relative; display: flex; gap: 8px; margin: 0; padding: 2px 2px 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; list-style: none; }
.gp-commerce .woocommerce-MyAccount-navigation li { flex: none; scroll-snap-align: start; }
.gp-commerce .woocommerce-MyAccount-navigation a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 1.5px solid var(--paper-line); border-radius: 999px; background: #fff; color: var(--paper-ink); font-weight: 600; white-space: nowrap; text-decoration: none; }
.gp-commerce .woocommerce-MyAccount-navigation a::before { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--gp-nav-i) center / contain no-repeat; mask: var(--gp-nav-i) center / contain no-repeat; }
.gp-commerce .woocommerce-MyAccount-navigation a:hover { border-color: var(--paper-ink); }
.gp-commerce .woocommerce-MyAccount-navigation a:focus-visible { outline: 2px solid var(--paper-ink); outline-offset: 2px; }
.gp-commerce .woocommerce-MyAccount-navigation .is-active a { border-color: var(--accent-edge); background: var(--accent); color: var(--on-accent); font-weight: 800; }
.gp-commerce .woocommerce-MyAccount-navigation-link { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='3'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--dashboard { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='4'%20y='4'%20width='7'%20height='7'%20rx='1.5'/%3E%3Crect%20x='13'%20y='4'%20width='7'%20height='7'%20rx='1.5'/%3E%3Crect%20x='4'%20y='13'%20width='7'%20height='7'%20rx='1.5'/%3E%3Crect%20x='13'%20y='13'%20width='7'%20height='7'%20rx='1.5'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--orders { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9%207V5.5a3%203%200%200%201%206%200V7'/%3E%3Crect%20x='5'%20y='7'%20width='14'%20height='14'%20rx='3'/%3E%3Cpath%20d='M9%2013h6v4H9z'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--mon-suivi-colis { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%207h11v10H3zM14%2011h4l3%203v3h-7z'/%3E%3Ccircle%20cx='7.5'%20cy='18'%20r='2'/%3E%3Ccircle%20cx='17.5'%20cy='18'%20r='2'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--mes-factures { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%203h8l4%204v14H6z'/%3E%3Cpath%20d='M14%203v4h4M9%2013h6M9%2017h6'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--mes-precommandes { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='9'/%3E%3Cpath%20d='M12%207v5l3%202'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--mes-retours { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%209h11a5%205%200%200%201%200%2010H8'/%3E%3Cpath%20d='M8%205%204%209l4%204'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--mes-guides { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%207.5%2012%203l9%204.5v9L12%2021l-9-4.5z'/%3E%3Cpath%20d='m3%207.5%209%204.5%209-4.5M12%2012v9'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--mes-favoris { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2020s-7-4.4-9-9a4.8%204.8%200%200%201%209-3%204.8%204.8%200%200%201%209%203c-2%204.6-9%209-9%209Z'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--mes-avis { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m12%203%202.8%205.7%206.2.9-4.5%204.4%201.1%206.2L12%2017.3l-5.6%202.9%201.1-6.2L3%209.6l6.2-.9L12%203Z'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--mes-avantages { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2011.5V4h7.5L21%2014.5%2013.5%2022%203%2011.5Z'/%3E%3Ccircle%20cx='7.5'%20cy='8.5'%20r='1.2'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--aide-support { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='9'/%3E%3Cpath%20d='M9.5%209.5a2.5%202.5%200%201%201%203.4%202.3c-.6.3-.9.8-.9%201.4v.6M12%2017h.01'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--edit-account { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='8'%20r='4'/%3E%3Cpath%20d='M4%2021c1.5-4%204.5-6%208-6s6.5%202%208%206'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--edit-address { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2021s7-6.5%207-12a7%207%200%200%200-14%200c0%205.5%207%2012%207%2012Z'/%3E%3Ccircle%20cx='12'%20cy='9'%20r='2.5'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--mes-preferences { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='5'%20width='18'%20height='14'%20rx='2'/%3E%3Cpath%20d='m3%207%209%206%209-6'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--payment-methods { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='6'%20width='18'%20height='13'%20rx='2'/%3E%3Cpath%20d='M3%2010h18M7%2015h4'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--downloads { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%204v11M7%2010l5%205%205-5M5%2020h14'/%3E%3C/svg%3E"); }
.gp-commerce .woocommerce-MyAccount-navigation-link--customer-logout { --gp-nav-i: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M10%204H6a2%202%200%200%200-2%202v12a2%202%200%200%200%202%202h4'/%3E%3Cpath%20d='M15%208l4%204-4%204M19%2012H9'/%3E%3C/svg%3E"); }
@media (min-width: 980px) {
	.gp-commerce .woocommerce:has(> .woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 44px; align-items: start; }
	.gp-commerce .woocommerce-MyAccount-navigation { margin: 0; }
	.gp-commerce .woocommerce-MyAccount-navigation ul { flex-direction: column; gap: 2px; padding: 10px; overflow: visible; border-radius: var(--radius); background: #fff; }
	.gp-commerce .woocommerce-MyAccount-navigation a { width: 100%; padding: 0 12px; border: 0; border-radius: 12px; background: none; }
	.gp-commerce .woocommerce-MyAccount-navigation a:hover { background: var(--paper-2); }
	.gp-commerce .woocommerce-MyAccount-navigation .is-active a { background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent-edge); }
	.gp-commerce :is(.woocommerce-MyAccount-navigation-link--orders, .woocommerce-MyAccount-navigation-link--mes-guides, .woocommerce-MyAccount-navigation-link--aide-support, .woocommerce-MyAccount-navigation-link--edit-account, .woocommerce-MyAccount-navigation-link--customer-logout) { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--paper-line); }
}
/* Dashboard: the Control Center's panel says hello and shows the orders; WooCommerce's two lines of text before it go. */
.gp-commerce .woocommerce-MyAccount-content > p:is(:has(+ .gpcc-acc-dash), :has(+ p + .gpcc-acc-dash)) { display: none; }
.gp-commerce .woocommerce-MyAccount-content mark { padding: .05em .35em; border-radius: 6px; background: color-mix(in srgb, var(--accent) 24%, #fff); color: inherit; font-weight: 700; }
/* « Mes commandes »: the table on a white card; phones: one card per order (photos, chip, parcel, total, actions). */
.gp-commerce table.woocommerce-orders-table { border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: var(--radius); background: #fff; }
.gp-commerce table.woocommerce-orders-table :is(th, td) { padding: 14px 12px; }
.gp-commerce table.woocommerce-orders-table :is(th, td):first-child { padding-left: 20px; }
.gp-commerce table.woocommerce-orders-table :is(th, td):last-child { padding-right: 20px; }
.gp-commerce table.woocommerce-orders-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
.gp-commerce .woocommerce-orders-table__cell-order-number a { font-weight: 800; }
.gp-commerce .woocommerce-orders-table__cell-gp-items { max-width: 22rem; }
.gp-commerce .woocommerce-orders-table__cell-order-actions .button + .button { margin-left: 6px; }
@media (max-width: 767px) {
	.gp-commerce table.woocommerce-orders-table { overflow: visible; background: none; }
	.gp-commerce table.woocommerce-orders-table tr { margin-bottom: 12px; padding: 12px 16px; border: 0; border-radius: 16px; background: #fff; }
	.gp-commerce table.woocommerce-orders-table :is(th, td), .gp-commerce table.woocommerce-orders-table :is(th, td):is(:first-child, :last-child) { padding: 6px 0; }
	.gp-commerce table.woocommerce-orders-table tbody th { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
	.gp-commerce table.woocommerce-orders-table tbody th::before { content: attr(data-title); font-weight: 700; }
	.gp-commerce .woocommerce-orders-table__cell-gp-items { display: block !important; max-width: none; text-align: left !important; }
	.gp-commerce .woocommerce-orders-table__cell-gp-items::before { display: none; }
	.gp-commerce .woocommerce-orders-table__cell-order-status { flex-wrap: wrap; }
	.gp-commerce .woocommerce-orders-table__cell-order-actions { justify-content: stretch !important; }
	.gp-commerce .woocommerce-orders-table__cell-order-actions::before { display: none; }
	.gp-commerce .woocommerce-orders-table__cell-order-actions .button { flex: 1 1 auto; }
}
.gp-commerce .u-columns.col2-set { display: grid; gap: 28px; }
@media (min-width: 900px) { .gp-commerce .u-columns.col2-set { grid-template-columns: 1fr 1fr; } }
.gp-commerce .woocommerce-Addresses { display: grid; gap: 20px; }
@media (min-width: 700px) { .gp-commerce .woocommerce-Addresses { grid-template-columns: 1fr 1fr; } }
.gp-commerce .woocommerce-Address { padding: 20px; border-radius: var(--radius); background: #fff; }
.gp-commerce .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gp-commerce .woocommerce-Address address { font-style: normal; line-height: 1.5; }
.gp-commerce fieldset { margin: 10px 0 18px; padding: 16px; border: 1.5px solid var(--paper-line); border-radius: 12px; }
.gp-commerce legend { padding: 0 6px; font-weight: 700; }
.gp-commerce .woocommerce-pagination { display: flex; gap: 10px; margin-top: 16px; }
