/* Panier, caisse, confirmation, Mon compte et conditions de vente sur le fond du site (D-125). Tout est sous
   body.martin-sombre, classe que l'espace de l'équipe n'a pas : aucune règle ici pour martin-staff-shell.
   Les variables --ink, --muted, --orange, --line et --cream sont redéfinies sur <main> seulement : l'en-tête et le pied du
   site gardent les leurs, et boutique.css, espace.css, coeur.css et retours.css suivent sans être touchés. */

body.martin-sombre { background: #1b2425; }
body.martin-sombre .martin-app-main {
  --ink: #dfe6e5; --muted: #9fb0b1; --orange: #f17940; --line: #303d3e; --cream: #222c2d; --radius: 6px;
  --carte: #222c2d; --champ: #152022; --contour: #3b4a4b;
  padding: 28px 0 72px; color: #dfe6e5;
}
body.martin-sombre .martin-app-main :focus-visible { outline-color: #f17940; }
body.martin-sombre .martin-app-main h1, body.martin-sombre .martin-app-main h2, body.martin-sombre .martin-app-main h3,
body.martin-sombre .martin-app-title { color: #fff; }
body.martin-sombre .martin-app-main a { color: #dfe6e5; }
body.martin-sombre .martin-app-main a:hover { color: #f17940; }

/* Boutons : le texte sombre sur l'orange, comme les pages Pièces. */
body.martin-sombre .martin-app-main .button,
body.martin-sombre .martin-app-main button[type="submit"],
body.martin-sombre .martin-app-main input[type="submit"],
body.martin-sombre .martin-app-main .wp-element-button,
body.martin-sombre .martin-app-main .wc-block-components-button:not(.is-link),
body.martin-sombre .martin-app-main .wc-block-components-product-button__button,
body.martin-sombre .martin-app-main .wc-block-grid__product-add-to-cart .wp-block-button__link {
  border-radius: 4px; background: #f17940; color: #1b2425; font-family: var(--cz-display, BarlowCondensed, 'Arial Narrow', Arial, sans-serif); font-size: 16px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
body.martin-sombre .martin-app-main .button:hover,
body.martin-sombre .martin-app-main button[type="submit"]:hover,
body.martin-sombre .martin-app-main input[type="submit"]:hover,
body.martin-sombre .martin-app-main .wp-element-button:hover,
body.martin-sombre .martin-app-main .wc-block-components-button:not(.is-link):hover,
body.martin-sombre .martin-app-main .wc-block-components-product-button__button:hover,
body.martin-sombre .martin-app-main .wc-block-grid__product-add-to-cart .wp-block-button__link:hover { background: #ff8a4c; color: #1b2425; }
body.martin-sombre .martin-app-main .wc-block-components-button__text { color: inherit; }
/* Le reflet des boutons du site : blanc, il passait inaperçu sur le fond blanc. Il reste dans son bouton. */
body.martin-sombre .martin-app-main .button, body.martin-sombre .martin-app-main button[type="submit"] { position: relative; overflow: hidden; }
body.martin-sombre .martin-app-main .button.alt { background: #f17940; color: #1b2425; }
body.martin-sombre .martin-app-main .button.alt:hover { background: #ff8a4c; color: #1b2425; }

/* Champs. */
body.martin-sombre .martin-app-main input[type="text"], body.martin-sombre .martin-app-main input[type="email"],
body.martin-sombre .martin-app-main input[type="tel"], body.martin-sombre .martin-app-main input[type="password"],
body.martin-sombre .martin-app-main input[type="number"], body.martin-sombre .martin-app-main input[type="search"],
body.martin-sombre .martin-app-main select, body.martin-sombre .martin-app-main textarea,
body.martin-sombre .martin-app-main .wc-block-components-text-input input,
body.martin-sombre .martin-app-main .wc-block-components-textarea,
body.martin-sombre .martin-app-main .wc-blocks-components-select__select,
body.martin-sombre .martin-app-main .wc-blocks-components-select__container {
  border-color: var(--contour); background: var(--champ); color: #fff;
}
body.martin-sombre .martin-app-main input::placeholder, body.martin-sombre .martin-app-main textarea::placeholder { color: #7f9192; }
body.martin-sombre .martin-app-main input:focus, body.martin-sombre .martin-app-main select:focus, body.martin-sombre .martin-app-main textarea:focus,
body.martin-sombre .martin-app-main .wc-block-components-text-input input:focus { border-color: #f17940; box-shadow: 0 0 0 1px #f17940; }
body.martin-sombre .martin-app-main label, body.martin-sombre .martin-app-main .wc-block-components-text-input label,
body.martin-sombre .martin-app-main .wc-blocks-components-select__label { color: #9fb0b1; }
body.martin-sombre .martin-app-main .wc-blocks-components-select__expand { fill: #dfe6e5; }
body.martin-sombre .martin-app-main .wc-block-components-validation-error { color: #ffb4a0; }
body.martin-sombre .martin-app-main .wc-block-components-checkout-step__description,
body.martin-sombre .martin-app-main .wc-block-components-checkout-step__heading-content { color: #9fb0b1; }

/* Cases et boutons radio. */
body.martin-sombre .martin-app-main .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
body.martin-sombre .martin-app-main .wc-block-components-radio-control .wc-block-components-radio-control__input { border-color: #9fb0b1; background: var(--champ); }
body.martin-sombre .martin-app-main .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #f17940; }
body.martin-sombre .martin-app-main .wc-block-components-checkbox label, body.martin-sombre .martin-app-main .wc-block-components-checkbox__label { color: #dfe6e5; }
body.martin-sombre .martin-app-main .wc-block-components-radio-control .wc-block-components-radio-control__input:checked { border-color: #f17940; }
body.martin-sombre .martin-app-main .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before { background: #f17940; }
body.martin-sombre .martin-app-main .wc-block-components-radio-control__option,
body.martin-sombre .martin-app-main .wc-block-components-radio-control__label,
body.martin-sombre .martin-app-main .wc-block-components-radio-control__secondary-label,
body.martin-sombre .martin-app-main .wc-block-components-radio-control__description { color: #dfe6e5; }
body.martin-sombre .martin-app-main .wc-block-components-radio-control--highlight-checked::after { border-color: var(--contour); }
body.martin-sombre .martin-app-main .wc-block-components-radio-control__option--checked-option-highlighted,
body.martin-sombre .martin-app-main .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 1.5px #f17940; }
body.martin-sombre .martin-app-main .wc-block-checkout__shipping-method-container { background: var(--champ); border-radius: 6px; }
body.martin-sombre .martin-app-main .wc-block-checkout__shipping-method-option { border-color: var(--contour); background: var(--carte); color: #dfe6e5; font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; }
body.martin-sombre .martin-app-main .wc-block-checkout__shipping-method-option:hover { background: #253031; color: #fff; }
body.martin-sombre .martin-app-main .wc-block-checkout__shipping-method-option--selected { border-color: #f17940; box-shadow: inset 0 0 0 1px #f17940; }
body.martin-sombre .martin-app-main .wc-block-checkout__shipping-method-option-title,
body.martin-sombre .martin-app-main .wc-block-checkout__shipping-method-option-price { color: inherit; }
body.martin-sombre .martin-app-main .wc-block-checkout__shipping-method-option svg { fill: currentColor; }
body.martin-sombre .martin-app-main .wc-block-components-skeleton__element,
body.martin-sombre .martin-app-main .wc-block-components-skeleton--static .wc-block-components-skeleton__element { background: #2a3536; }
body.martin-sombre .martin-app-main .wc-block-components-payment-method-label { color: #dfe6e5; }

/* Panier : les lignes et le résumé en cartes. */
body.martin-sombre .martin-app-main table.wc-block-cart-items { border-collapse: separate; border-spacing: 0; border: 1px solid #303d3e; border-radius: 8px; background: var(--carte); overflow: hidden; }
body.martin-sombre .martin-app-main .wc-block-cart-items__header th,
body.martin-sombre .martin-app-main .wc-block-cart-items .wc-block-cart-items__header { color: #9fb0b1; font-family: var(--cz-display, BarlowCondensed, 'Arial Narrow', Arial, sans-serif); letter-spacing: .1em; }
body.martin-sombre .martin-app-main .wc-block-cart-items__header th { padding: 14px 16px; border-bottom: 1px solid #303d3e; }
body.martin-sombre .martin-app-main .wc-block-cart-items__row td { padding: 16px; border-top: 1px solid #303d3e; }
body.martin-sombre .martin-app-main .wc-block-cart-item__product a, body.martin-sombre .martin-app-main .wc-block-components-product-name { color: #fff; font-weight: 700; }
body.martin-sombre .martin-app-main .wc-block-components-product-metadata, body.martin-sombre .martin-app-main .wc-block-components-product-metadata__description,
body.martin-sombre .martin-app-main .wc-block-cart-item__prices { color: #9fb0b1; }
body.martin-sombre .martin-app-main .wc-block-cart-item__remove-link { color: #9fb0b1; }
body.martin-sombre .martin-app-main .wc-block-components-quantity-selector { border-radius: 4px; background: var(--champ); }
body.martin-sombre .martin-app-main .wc-block-components-quantity-selector::after { border-color: var(--contour); opacity: 1; }
body.martin-sombre .martin-app-main .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input { min-height: 0; border: 0; background: transparent; color: #fff; }
body.martin-sombre .martin-app-main .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { background: transparent; color: #dfe6e5; }
body.martin-sombre .martin-app-main .wc-block-cart-item__image img,
body.martin-sombre .martin-app-main .wc-block-components-order-summary-item__image img { border-radius: 4px; background: radial-gradient(90% 75% at 50% 62%, #465556 0%, #2a3536 58%, #1d2627 100%); }
body.martin-sombre .martin-app-main .wc-block-cart-item__image img { height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
body.martin-sombre .martin-app-main .wp-block-woocommerce-cart-totals-block { align-self: flex-start; }
body.martin-sombre .martin-app-main .wp-block-woocommerce-cart-totals-block,
body.martin-sombre .martin-app-main .wp-block-woocommerce-checkout-order-summary-block { padding: 18px 20px; border: 1px solid #303d3e; border-radius: 8px; background: var(--carte); color: #dfe6e5; }
body.martin-sombre .martin-app-main .wc-block-cart__totals-title, body.martin-sombre .martin-app-main .wc-block-components-checkout-order-summary__title-text { color: #fff; font-family: var(--cz-display, BarlowCondensed, 'Arial Narrow', Arial, sans-serif); font-size: 20px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
body.martin-sombre .martin-app-main .wc-block-components-totals-wrapper, body.martin-sombre .martin-app-main .wc-block-components-panel,
body.martin-sombre .martin-app-main .wc-block-components-sidebar { border-color: #303d3e; }
body.martin-sombre .martin-app-main .wc-block-components-totals-item, body.martin-sombre .martin-app-main .wc-block-components-totals-item__label,
body.martin-sombre .martin-app-main .wc-block-components-totals-item__value { color: #dfe6e5; }
body.martin-sombre .martin-app-main .wc-block-components-totals-item__description, body.martin-sombre .martin-app-main .wc-block-components-shipping-address { color: #9fb0b1; }
body.martin-sombre .martin-app-main .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.martin-sombre .martin-app-main .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: #fff; font-weight: 800; }
body.martin-sombre .martin-app-main .wc-block-components-order-summary-item__quantity { border-color: var(--contour); background: var(--champ); color: #fff; box-shadow: none; }
body.martin-sombre .martin-app-main .wc-block-components-order-summary-item__description,
body.martin-sombre .martin-app-main .wc-block-components-order-summary-item__total-price { color: #dfe6e5; }
body.martin-sombre .martin-app-main .wc-block-components-sale-badge { border-color: #f17940; background: transparent; color: #f17940; }

/* Ventes croisées et « Nouveau dans la boutique » : les cartes sombres des pages Pièces. */
body.martin-sombre .martin-app-main .wp-block-woocommerce-empty-cart-block { text-align: center; }
body.martin-sombre .martin-app-main .wc-block-cart__empty-cart__title { color: #fff; }
body.martin-sombre .martin-app-main .wp-block-separator { border-color: #303d3e; background: #303d3e; color: #303d3e; opacity: 1; }
body.martin-sombre .martin-app-main .wc-block-product,
body.martin-sombre .martin-app-main .wc-block-grid__product {
  overflow: hidden; border: 1px solid #303d3e; border-radius: 6px; background: var(--carte); color: #dfe6e5;
  transition: border-color .25s, transform .35s cubic-bezier(.16, 1, .3, 1);
}
body.martin-sombre .martin-app-main .wc-block-product:hover,
body.martin-sombre .martin-app-main .wc-block-grid__product:hover { border-color: #f17940; transform: translateY(-2px); }
body.martin-sombre .martin-app-main .wc-block-grid__product { flex: none; max-width: none; margin: 0; padding: 0 0 14px; }
body.martin-sombre .martin-app-main .wc-block-grid__products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 0; }
body.martin-sombre .martin-app-main .wc-block-grid__product-title { font-size: 17px; line-height: 1.1; }
body.martin-sombre .martin-app-main .wc-block-product .wc-block-components-product-image,
body.martin-sombre .martin-app-main .wc-block-grid__product-image {
  background: radial-gradient(closest-side at 50% 84%, rgba(241, 121, 64, .18), rgba(241, 121, 64, 0)), radial-gradient(90% 75% at 50% 62%, #465556 0%, #2a3536 58%, #1d2627 100%);
}
body.martin-sombre .martin-app-main .wc-block-product .wc-block-components-product-image img,
body.martin-sombre .martin-app-main .wc-block-grid__product-image img { aspect-ratio: 4 / 3; object-fit: contain; padding: 7% 9% 9%; box-sizing: border-box; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .5)); }
body.martin-sombre .martin-app-main .wc-block-product .wp-block-post-title a,
body.martin-sombre .martin-app-main .wc-block-grid__product-title,
body.martin-sombre .martin-app-main .wc-block-grid__product-link { color: #fff; font-family: var(--cz-display, BarlowCondensed, 'Arial Narrow', Arial, sans-serif); font-weight: 800; text-decoration: none; text-transform: uppercase; }
body.martin-sombre .martin-app-main .wc-block-grid__product-price, body.martin-sombre .martin-app-main .wc-block-components-product-price { color: #fff; font-weight: 700; }
body.martin-sombre .martin-app-main .wc-block-product > :not(.wc-block-components-product-image) { padding-inline: 12px; }
body.martin-sombre .martin-app-main .wc-block-product { padding-bottom: 14px; }

/* Avis. */
body.martin-sombre .martin-app-main .woocommerce-message, body.martin-sombre .martin-app-main .woocommerce-info,
body.martin-sombre .martin-app-main .woocommerce-error, body.martin-sombre .martin-app-main .woocommerce-notice,
body.martin-sombre .martin-app-main .wc-block-components-notice-banner { background: var(--carte); color: #dfe6e5; }
body.martin-sombre .martin-app-main .woocommerce-error { border-left-color: #ffb4a0; }
body.martin-sombre .martin-app-main .wc-block-components-notice-banner > svg { fill: #f17940; background: transparent; }

/* Tableaux et confirmation de commande. */
body.martin-sombre .martin-app-main table.shop_table, body.martin-sombre .martin-app-main .woocommerce-orders-table { border-color: #303d3e; background: var(--carte); }
body.martin-sombre .martin-app-main table.shop_table th, body.martin-sombre .martin-app-main table.shop_table td { border-color: #303d3e; color: #dfe6e5; }
body.martin-sombre .martin-app-main table.shop_table thead th { background: #253031; color: #9fb0b1; }
body.martin-sombre .martin-app-main .woocommerce-order-overview { margin: 0 0 24px; padding: 18px 20px; border: 1px solid #303d3e; border-radius: 8px; background: var(--carte); list-style: none; }
body.martin-sombre .martin-app-main .woocommerce-order-overview li { border-color: #303d3e; color: #9fb0b1; }
body.martin-sombre .martin-app-main .woocommerce-order-overview li strong { color: #fff; }
body.martin-sombre .martin-app-main .woocommerce-thankyou-order-received { color: #fff; font-size: 18px; font-weight: 700; }
body.martin-sombre .martin-app-main .woocommerce-customer-details address { padding: 16px 18px; border: 1px solid #303d3e; border-radius: 8px; background: var(--carte); color: #dfe6e5; }

/* Mon compte. */
body.martin-sombre .martin-app-main .woocommerce-MyAccount-content fieldset { border: 1px solid #303d3e; border-radius: 6px; }
body.martin-sombre .martin-app-main .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }
body.martin-sombre .martin-app-main .woocommerce-form-login, body.martin-sombre .martin-app-main .woocommerce-form-register { border-color: #303d3e; background: var(--carte); }
body.martin-sombre .martin-app-main .woocommerce-MyAccount-navigation ul { background: var(--carte); }
body.martin-sombre .martin-app-main .woocommerce-MyAccount-navigation a { color: #dfe6e5; }
body.martin-sombre .martin-app-main .woocommerce-MyAccount-navigation .is-active a { background: #253031; color: #fff; box-shadow: inset 4px 0 0 #f17940; }
body.martin-sombre .martin-app-main .woocommerce-MyAccount-navigation a:hover { background: #253031; color: #fff; }
body.martin-sombre .martin-app-main .martin-account-toggle:not([hidden]) { background: var(--carte); color: #dfe6e5; }
body.martin-sombre .martin-app-main .martin-role { background: #f17940; color: #1b2425; }
body.martin-sombre .martin-app-main .martin-ui-card, body.martin-sombre .martin-app-main .martin-ui-list,
body.martin-sombre .martin-app-main .martin-hello-tools a { border-color: #303d3e; background: var(--carte); color: #dfe6e5; }
body.martin-sombre .martin-app-main .martin-staff-tile-icon { background: rgba(241, 121, 64, .14); color: #f17940; }
body.martin-sombre .martin-app-main .martin-client-count { color: #1b2425; }
body.martin-sombre .martin-app-main .martin-hello-text { margin: 22px 0 0; color: #9fb0b1; }
body.martin-sombre .martin-app-main .martin-ui-button--secondary, body.martin-sombre .martin-app-main button.martin-ui-button--secondary[type="submit"] { border-color: #4a5b5c; background: transparent; color: #fff; }
body.martin-sombre .martin-app-main .martin-ui-button--secondary:hover, body.martin-sombre .martin-app-main button.martin-ui-button--secondary[type="submit"]:hover { border-color: #f17940; background: transparent; color: #fff; }
body.martin-sombre .martin-app-main .martin-ui-button--danger, body.martin-sombre .martin-app-main button.martin-ui-button--danger[type="submit"] { border-color: #7a3a33; background: transparent; color: #ffb4a0; }
body.martin-sombre .martin-app-main .martin-ui-button--danger:hover, body.martin-sombre .martin-app-main button.martin-ui-button--danger[type="submit"]:hover { background: #3a2422; color: #ffb4a0; }
body.martin-sombre .martin-app-main .martin-ui-notice--error { border-left-color: #ffb4a0; background: #3a2422; color: #ffd8cf; }
body.martin-sombre .martin-app-main .martin-ui-badge--warn { background: #3f2a1c; color: #f5b46a; }

@media (max-width: 760px) {
  body.martin-sombre .martin-app-main { padding: 14px 0 48px; }
  body.martin-sombre .martin-app-main .wc-block-cart-items__row td { padding: 12px; border-top: 0; }
  body.martin-sombre .martin-app-main .wp-block-woocommerce-cart-totals-block,
  body.martin-sombre .martin-app-main .wp-block-woocommerce-checkout-order-summary-block { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  body.martin-sombre .martin-app-main .wc-block-product, body.martin-sombre .martin-app-main .wc-block-grid__product { transition: none; }
  body.martin-sombre .martin-app-main .wc-block-product:hover, body.martin-sombre .martin-app-main .wc-block-grid__product:hover { transform: none; }
}
