/* Maison Alma : interfaces WooCommerce, version 0.3.4. */
.woocommerce,.wc-block-mini-cart__drawer{--alma-brown:#5D4D39;--alma-ink:#3D352B;--alma-ivory:#FAF7F2;--alma-sand:#EDE5DA;--alma-line:#CDBBA8;--alma-alert:#853D35;--alma-olive:#455239;color:var(--alma-ink);font-family:Arial,Helvetica,sans-serif}
.woocommerce :is(h2,h3,legend),.wc-block-mini-cart__title{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.25}
.woocommerce :is(a.button,button.button,input.button,#respond input#submit){background:#5D4D39;color:#FAF7F2;border:1px solid #5D4D39;border-radius:3px;min-height:46px;padding:13px 19px;font:500 14px/1.5 Arial,sans-serif;text-align:center;white-space:normal;transition:background-color .18s,border-color .18s}
.woocommerce :is(a.button.alt,button.button.alt,input.button.alt){background:#5D4D39;color:#FAF7F2;border-color:#5D4D39}
.woocommerce :is(a.button,button.button,input.button,#respond input#submit):hover{background:#3D352B;color:#FAF7F2;border-color:#3D352B}
.woocommerce :is(button.button:disabled,button.button:disabled[disabled],button.button.disabled){background:#EDE5DA!important;border-color:#CDBBA8!important;color:#736657!important;opacity:1;cursor:not-allowed;padding:13px 19px}
.woocommerce :is(a,button,input,select,textarea):focus-visible,.wc-block-mini-cart__drawer :is(a,button,input):focus-visible{outline:2px solid #5D4D39;outline-offset:4px;box-shadow:0 0 0 2px #FAF7F2}
.woocommerce form .form-row :is(input.input-text,select,textarea){background:#FFFDFA;border:1px solid #A3917B;color:#3D352B;border-radius:3px;padding:12px 14px;min-height:46px;font:15px/1.5 Arial,sans-serif;box-sizing:border-box;max-width:100%}
.woocommerce form .form-row :is(input.input-text,select,textarea){width:100%}
.woocommerce form .form-row textarea{min-height:120px;resize:vertical}
.woocommerce form .form-row{padding:0;margin:0 0 22px}
.woocommerce form .form-row label{line-height:1.6;margin-bottom:8px;font-size:14px;display:block}
.woocommerce input:is([type=checkbox],[type=radio]){accent-color:#5D4D39;min-width:17px;min-height:17px;vertical-align:middle}
.woocommerce form .form-row label.checkbox,.woocommerce form .woocommerce-form__label-for-checkbox{display:flex;align-items:flex-start;gap:10px}
.woocommerce form .form-row .required{color:#853D35;text-decoration:none}
.woocommerce form .form-row.woocommerce-invalid :is(input.input-text,select,textarea){border-color:#853D35;box-shadow:0 0 0 1px #853D35}
.woocommerce form .form-row.woocommerce-validated :is(input.input-text,select,textarea){border-color:#657052}
.woocommerce :is(.woocommerce-info,.woocommerce-message,.woocommerce-error){background:#FAF7F2;color:#3D352B;border:1px solid #CDBBA8;border-left:4px solid #5D4D39;border-radius:3px;box-shadow:none;padding:20px 24px 20px 54px;margin:0 0 28px;line-height:1.75}
.woocommerce .woocommerce-error{border-left-color:#853D35;background:#FBF3EE}
.woocommerce .woocommerce-message{border-left-color:#5D4D39}
.woocommerce .woocommerce-error:before{color:#853D35}.woocommerce .woocommerce-message:before{color:#5D4D39}.woocommerce .woocommerce-info:before{color:#5D4D39}
.woocommerce :is(.woocommerce-info,.woocommerce-message,.woocommerce-error) a:not(.button){text-decoration:underline;text-underline-offset:4px}
.woocommerce :is(.woocommerce-info,.woocommerce-message) .button{margin:0 0 8px 14px}
.woocommerce table.shop_table{border:1px solid #CDBBA8;border-radius:4px;background:#FAF7F2;border-spacing:0;overflow:hidden}
.woocommerce table.shop_table th{background:#EDE5DA;color:#5D4D39;font-size:13px;font-weight:600;padding:16px}
.woocommerce table.shop_table td{padding:17px 16px;border-top:1px solid #DFD0BE;line-height:1.7}
.woocommerce table.shop_table td a:not(.button):not(.remove){text-decoration:underline;text-underline-offset:4px}
.woocommerce :is(.woocommerce-Price-amount,.order-total){font-variant-numeric:tabular-nums}
.woocommerce table.shop_table tfoot :is(th,td){background:#EDE5DA}
.woocommerce .woocommerce-pagination :is(.button,a){margin:6px}
.woocommerce .blockUI.blockOverlay{background:#FAF7F2!important;opacity:.78!important}
.woocommerce .blockUI.blockOverlay:before{background:none!important;content:''!important;width:24px!important;height:24px!important;margin:-12px 0 0 -12px!important;border:2px solid #D9C9B9;border-top-color:#5D4D39;border-radius:50%;animation:alma-woo-spin .8s linear infinite!important}
@keyframes alma-woo-spin{to{transform:rotate(360deg)}}
/* Conteneur et navigation du compte. */
.woocommerce-account .alma-main>.entry-content{max-width:1240px;margin:0 auto!important;padding:56px 48px 72px;box-sizing:border-box}
.woocommerce-account .alma-main>.entry-content>h1{font:400 clamp(38px,4.3vw,58px)/1.12 Georgia,serif;margin:0 0 34px;letter-spacing:-.035em}
.woocommerce-account .alma-main .woocommerce{display:grid;grid-template-columns:235px minmax(0,1fr);align-items:start;gap:28px}
.woocommerce-account .woocommerce:before,.woocommerce-account .woocommerce:after{display:none}
.woocommerce-account .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1}.woocommerce-account .woocommerce>.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-account .woocommerce-MyAccount-navigation{width:auto;float:none;padding:20px 13px;background:#EDE5DA;border:1px solid #CDBBA8;border-radius:4px}
.woocommerce-account .alma-account-nav-title{padding:2px 13px 17px;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#5D4D39;margin:0}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0!important}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0 0 5px;padding:0}
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child{margin:18px 0 0;padding-top:13px;border-top:1px solid #CDBBA8}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:flex;align-items:center;gap:12px;padding:13px 12px;min-height:48px;font:14px/1.5 Arial,sans-serif;text-decoration:none!important;border:1px solid transparent;border-radius:3px}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:#FAF7F2;border-color:#CDBBA8}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:#5D4D39;color:#FAF7F2}
.woocommerce-account .woocommerce-MyAccount-navigation .alma-icon{width:22px;height:22px;flex:0 0 22px;color:inherit}
.woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto;min-width:0}
.woocommerce-account .woocommerce-MyAccount-content>p{margin:0 0 22px;line-height:1.8}
.woocommerce-account .woocommerce-MyAccount-content h2{font-size:30px;margin:0 0 24px}
.woocommerce-account .woocommerce-MyAccount-content h3{font-size:25px;margin:0 0 18px}
.alma-account-welcome{display:flex;gap:22px;align-items:flex-start;background:#FAF7F2;border:1px solid #CDBBA8;border-radius:4px;padding:30px;margin-bottom:22px}
.alma-account-welcome .eyebrow{font-size:10px;margin:2px 0 16px;color:#5D4D39;letter-spacing:.16em}
.woocommerce-account .alma-account-welcome h2{font-size:clamp(26px,2.5vw,35px);margin:0 0 17px;max-width:500px}
.alma-account-welcome p:last-child{font-size:14px;line-height:1.8;margin:0}
.alma-account-emblem{display:grid;place-items:center;border:1px solid #CDBBA8;background:#EDE5DA;border-radius:50%;width:54px;height:54px;flex:0 0 54px}
.alma-account-emblem .alma-icon{width:29px;height:29px}
.alma-account-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.woocommerce .alma-account-card{display:flex;flex-direction:column;border:1px solid #CDBBA8;background:#F5EFE6;padding:24px 20px;border-radius:4px;text-decoration:none!important;transition:background-color .18s,border-color .18s}
.woocommerce .alma-account-card:hover{background:#FAF7F2;border-color:#5D4D39}
.alma-account-icon{margin-bottom:20px}.alma-account-icon svg{width:29px;height:29px}
.woocommerce-account .alma-account-card h3{font-size:23px;margin:0 0 15px}
.alma-account-card p{font-size:13px;line-height:1.8;margin:0 0 22px}
.alma-account-card-link{display:flex;justify-content:space-between;gap:12px;padding-top:17px;border-top:1px solid #CDBBA8;font-size:12px;margin-top:auto;color:#5D4D39}
.alma-account-help{display:flex;align-items:center;gap:14px;padding:20px 23px;background:#D9C9B9;margin-top:22px;border-radius:3px}
.alma-account-help svg,.alma-account-test svg{flex:0 0 23px}.alma-account-help p{font-size:13px;line-height:1.7;margin:0}.alma-account-help a{text-decoration:underline;text-underline-offset:4px}
.woocommerce-account .alma-account-test{display:flex;gap:12px;align-items:center;font-size:12px;color:#5D4D39;margin:20px 0 0!important}
.woocommerce-account .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.woocommerce-account .woocommerce-Addresses:before,.woocommerce-account .woocommerce-Addresses:after{display:none}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address{background:#FAF7F2;border:1px solid #CDBBA8;padding:25px;width:auto!important;float:none;border-radius:4px}
.woocommerce-account .woocommerce-Address-title h2{font-size:24px;float:none;margin-bottom:15px}
.woocommerce-account .woocommerce-Address-title a.edit{display:inline-flex;float:none;border-bottom:1px solid #5D4D39;font-size:13px;margin-bottom:20px}
.woocommerce-account address{font-style:normal;font-size:14px;line-height:1.9;overflow-wrap:anywhere}
.woocommerce-account :is(.woocommerce-EditAccountForm,.woocommerce-address-fields,.woocommerce-form-login,.woocommerce-ResetPassword){background:#FAF7F2;border:1px solid #CDBBA8;padding:30px;border-radius:4px;margin:0}
.woocommerce-account .woocommerce-EditAccountForm fieldset{margin:30px 0;padding:24px;border:1px solid #CDBBA8;background:#F5EFE6;min-width:0}
.woocommerce-account fieldset legend{font-size:23px;padding:0 8px}.woocommerce-account .woocommerce-EditAccountForm em{font-size:12px;font-style:normal;line-height:1.6;display:block;margin-top:8px}
.woocommerce-account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)){display:block;max-width:740px;margin:0 auto}
.woocommerce-account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) h2{font-size:32px;margin-bottom:24px}
.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit{float:none;margin:10px 0 16px}
.woocommerce-account .woocommerce-form-login .lost_password{margin-top:12px;font-size:13px;text-decoration:underline;text-underline-offset:4px}
.woocommerce-account .woocommerce-order-details{margin:28px 0}.woocommerce-account .woocommerce-customer-details{margin-top:32px}.woocommerce-account .woocommerce-customer-details address{background:#FAF7F2;border:1px solid #CDBBA8;padding:24px;box-sizing:border-box}
.woocommerce ul#shipping_method li:has(input:checked){border-color:#5D4D39;background:#F4EDE2;box-shadow:inset 3px 0 #5D4D39}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid #CDBBA8}
.woocommerce .select2-container .select2-selection--single{min-height:46px;height:auto;padding:8px;border:1px solid #A3917B;background:#FFFDFA;border-radius:3px}.woocommerce .select2-container .select2-selection__arrow{top:10px}
.select2-container--open .select2-dropdown{border-color:#A3917B;background:#FAF7F2;color:#3D352B}.select2-container--default .select2-results__option--highlighted[aria-selected]{background:#5D4D39;color:#FAF7F2}
/* Panier latéral natif : la structure et les interactions restent celles de WooCommerce. */
.wc-block-mini-cart__drawer .wc-block-components-drawer__content{background:#FAF7F2;color:#3D352B}
.wc-block-mini-cart__drawer .wc-block-mini-cart__title{font-size:30px;margin:24px 0}
.wc-block-mini-cart__drawer .wc-block-components-button{border-radius:3px;min-height:48px;background:#5D4D39;color:#FAF7F2;border:1px solid #5D4D39;font:14px/1.5 Arial,sans-serif}
.wc-block-mini-cart__drawer .wc-block-components-button:hover{background:#3D352B;color:#FAF7F2}.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart{background:transparent;color:#5D4D39}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer{background:#EDE5DA;border-top:1px solid #CDBBA8}
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector{border:1px solid #A3917B;border-radius:3px;background:#FAF7F2;color:#3D352B;min-height:44px}
.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link{color:#5D4D39;text-underline-offset:4px;min-height:44px}
@media(max-width:1000px){.woocommerce-account .alma-main .woocommerce{grid-template-columns:210px minmax(0,1fr);gap:22px}.alma-account-cards{grid-template-columns:1fr}.woocommerce .alma-account-card{display:grid;grid-template-columns:36px 1fr;gap:0 15px;padding:20px}.alma-account-icon{grid-row:1/4;margin:0}.alma-account-card h3,.alma-account-card p,.alma-account-card-link{grid-column:2}.alma-account-card p{margin-bottom:15px}.alma-account-welcome{padding:25px}.woocommerce-account .woocommerce-Addresses{grid-template-columns:1fr}}
@media(max-width:760px){.woocommerce-account .alma-main>.entry-content{padding:35px 23px 48px}.woocommerce-account .alma-main .woocommerce{display:block}.woocommerce-account .woocommerce-MyAccount-navigation{padding:16px 12px;margin-bottom:24px}.woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:1fr 1fr;gap:5px}.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0}.woocommerce-account .woocommerce-MyAccount-navigation li:last-child{margin:0;padding:0;border:0}.woocommerce-account .woocommerce-MyAccount-navigation li a{height:100%;padding:10px;font-size:13px;gap:9px}.woocommerce-account .alma-account-nav-title{padding-bottom:12px}.woocommerce-account .alma-main>.entry-content>h1{margin-bottom:25px}.woocommerce-account :is(.woocommerce-EditAccountForm,.woocommerce-address-fields,.woocommerce-form-login,.woocommerce-ResetPassword){padding:24px 20px}.woocommerce-account .woocommerce-EditAccountForm fieldset{padding:20px 15px}.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tr{border-bottom:1px solid #CDBBA8}.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive td{display:flow-root;overflow-wrap:anywhere}.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive td:before{padding-right:12px}.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions{text-align:left!important}.woocommerce-account .woocommerce-orders-table__cell-order-actions a{margin:4px}.woocommerce :is(.woocommerce-info,.woocommerce-message) .button{float:none;display:table;margin:0 0 12px}}
@media(max-width:420px){.woocommerce-account .alma-main>.entry-content{padding-inline:18px}.woocommerce-account .woocommerce-MyAccount-navigation li a{font-size:12px;padding:10px 6px}.woocommerce-account .woocommerce-MyAccount-navigation .alma-icon{width:19px;height:19px;flex-basis:19px}.alma-account-welcome{padding:24px 20px;display:block}.alma-account-emblem{margin-bottom:20px}.alma-account-help{padding:20px 16px;align-items:flex-start}.woocommerce-account .woocommerce-EditAccountForm .form-row-first,.woocommerce-account .woocommerce-EditAccountForm .form-row-last{width:100%;float:none}.woocommerce-account .woocommerce-customer-details address{padding:18px}.woocommerce .woocommerce-order-details table.shop_table :is(th,td){padding:12px 9px;font-size:13px;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.woocommerce *,.wc-block-mini-cart__drawer *{transition:none!important;scroll-behavior:auto}.woocommerce .blockUI.blockOverlay:before{animation:none!important}}

/* Le compte possède déjà le conteneur Gutenberg commun : éviter les doubles marges. */
.woocommerce-account .alma-main>.entry-content{padding:0}
.woocommerce-account .alma-main .wrap.alma-page>.woocommerce{max-width:none;width:100%}
.woocommerce-account .alma-main .wrap.alma-page>h1{margin:0 0 34px;font-size:clamp(38px,4.3vw,58px)}
.woocommerce .shop_table del{margin-right:6px}.woocommerce .shop_table ins{text-decoration:none}
@media(max-width:768px){.woocommerce-account .woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-number{display:block;padding:16px;text-align:left;background:#EDE5DA}.woocommerce-account .woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-number:before{content:attr(data-title) ' : ';margin-right:8px;font-weight:600}}

/* Maison Alma · quantités partagées : fiches et panier, intégrées au style premium. */
:is(.woocommerce div.product form.cart, .woocommerce) .quantity input.qty {
  box-sizing: border-box;
  width: 88px;
  min-width: 88px;
  max-width: none;
  height: 48px;
  min-height: 48px;
  padding: 8px;
  color: #3d352b;
  background: #fffdfa;
  font: 600 16px/1 Arial, sans-serif;
  text-align: center;
}
.woocommerce.single-product div.product form.cart:not(.variations_form):not(.grouped_form),
.woocommerce.single-product div.product .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.woocommerce.single-product div.product form.cart:not(.variations_form):not(.grouped_form)::before,
.woocommerce.single-product div.product form.cart:not(.variations_form):not(.grouped_form)::after,
.woocommerce.single-product div.product .woocommerce-variation-add-to-cart::before,
.woocommerce.single-product div.product .woocommerce-variation-add-to-cart::after {
  display: none;
}
:is(.woocommerce div.product form.cart, .woocommerce) .quantity.ma-quantity-control {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: stretch;
  float: none;
  width: auto;
  margin: 0;
  border: 1px solid #a3917b;
  border-radius: 4px;
  background: #fffdfa;
}
:is(.woocommerce div.product form.cart, .woocommerce) .ma-quantity-control input.qty {
  flex: 0 0 64px;
  width: 64px;
  min-width: 64px;
  margin: 0;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}
.woocommerce .ma-quantity-control input.qty::-webkit-inner-spin-button,
.woocommerce .ma-quantity-control input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
:is(.woocommerce div.product form.cart, .woocommerce) .ma-quantity-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3px 0 0 3px;
  background: #dfd0be;
  color: #4b3d2c;
  font: 400 26px/1 Arial, sans-serif;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
}
:is(.woocommerce div.product form.cart, .woocommerce) .ma-quantity-button:last-child {
  border-radius: 0 3px 3px 0;
}
:is(.woocommerce div.product form.cart, .woocommerce) .ma-quantity-button:hover:not(:disabled),
:is(.woocommerce div.product form.cart, .woocommerce) .ma-quantity-button:active:not(:disabled) {
  background: #6b563f;
  color: #fffdfa;
}
:is(.woocommerce div.product form.cart, .woocommerce) .ma-quantity-button:disabled {
  background: #eee5d9;
  color: #8a7a64;
  opacity: 1;
  cursor: not-allowed;
}
:is(.woocommerce div.product form.cart, .woocommerce) .ma-quantity-button[hidden] {
  display: none;
}
:is(.woocommerce div.product form.cart, .woocommerce) .ma-quantity-button:focus-visible,
:is(.woocommerce div.product form.cart, .woocommerce) .ma-quantity-control input.qty:focus-visible {
  position: relative;
  outline: 2px solid #6b563f;
  outline-offset: 3px;
  box-shadow: none;
  z-index: 1;
}
:is(.woocommerce div.product form.cart, .woocommerce) .single_add_to_cart_button {
  float: none;
  min-height: 48px;
  max-width: 100%;
  white-space: normal;
}

/* Mini-panier : conserver les contrôles et la mise à jour natifs WooCommerce. */
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector {
  display: inline-flex; align-items: stretch; box-sizing: border-box;
  width: 162px; max-width: 100%; min-height: 50px;
  border: 1px solid #a3917b; border-radius: 4px; background: #fffdfa;
}
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector::after { display: none; }
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
  box-sizing: border-box; flex: 0 0 64px; width: 64px; min-width: 0; max-width: 64px;
  height: 48px; min-height: 48px; margin: 0; padding: 8px 4px; border: 0;
  border-radius: 0; background: #fffdfa; color: #3d352b; text-align: center;
  font: 600 16px/1 Arial, sans-serif;
}
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector button.wc-block-components-quantity-selector__button {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 48px; width: 48px; min-width: 48px; height: 48px; min-height: 48px;
  margin: 0; padding: 0; border: 0; border-radius: 3px 0 0 3px;
  background: #dfd0be; color: #4b3d2c; font: 400 26px/1 Arial, sans-serif;
  box-shadow: none; opacity: 1; cursor: pointer; touch-action: manipulation;
}
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector button:last-child { border-radius: 0 3px 3px 0; }
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector button:hover:not(:disabled) { background: #6b563f; color: #fffdfa; }
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector button:disabled { background: #eee5d9; color: #8a7a64; opacity: 1; cursor: not-allowed; }
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector :is(button,input):focus-visible { outline: 2px solid #6b563f; outline-offset: 3px; box-shadow: none; position: relative; z-index: 1; }
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector[hidden],
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector button[hidden] { display: none; }
@media(max-width:768px) {
  .woocommerce table.shop_table_responsive td.product-quantity { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
  .woocommerce table.shop_table_responsive td.product-quantity::before { float: none; }
}
/* Le tiroir étroit garde le prix et les commandes dans sa largeur utile. */
@media(max-width:480px) {
  .wc-block-mini-cart__drawer table.wc-block-cart-items { width: 100%; table-layout: fixed; }
  .wc-block-mini-cart__drawer table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 56px minmax(0,1fr); column-gap: 12px; row-gap: 8px; }
  .wc-block-mini-cart__drawer table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image { grid-column: 1; grid-row: 1 / 3; width: 56px; padding: 0; }
  .wc-block-mini-cart__drawer table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product { grid-column: 2; grid-row: 1; min-width: 0; }
  .wc-block-mini-cart__drawer table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total { grid-column: 2; grid-row: 2; justify-content: flex-end; }
  .wc-block-mini-cart__drawer table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity { flex-wrap: wrap; gap: 8px; padding: 0; min-width: 0; }
}

/* Notifications WooCommerce : blocs récents et messages classiques, charte Maison Alma. */
body .wc-block-components-notice-banner,
body .wc-block-components-notice-banner:is(.is-success,.is-info,.is-warning,.is-error) {
  --ma-notice-accent: #5d4d39;
  --ma-notice-surface: #faf7f2;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 24px 0;
  padding: 20px 24px !important; /* WooCommerce impose son padding natif. */
  border: 1px solid #cdbba8;
  border-inline-start: 4px solid var(--ma-notice-accent);
  border-radius: 6px;
  background: var(--ma-notice-surface);
  color: #3d352b;
  font: 400 15px/1.7 Arial, Helvetica, sans-serif;
  box-shadow: 0 6px 20px rgba(61,53,43,.05);
  overflow-wrap: anywhere;
}
body .wc-block-components-notice-banner:is(.is-success,.is-info) {
  --ma-notice-accent: #5d4d39;
  --ma-notice-surface: #faf7f2;
}
body .wc-block-components-notice-banner.is-warning {
  --ma-notice-accent: #8a653b;
  --ma-notice-surface: #f5efe6;
}
body .wc-block-components-notice-banner.is-error {
  --ma-notice-accent: #853d35;
  --ma-notice-surface: #fbf3ee;
}
body .wc-block-components-notice-banner > svg,
body .wc-block-components-notice-banner:is(.is-success,.is-info,.is-warning,.is-error) > svg {
  box-sizing: border-box;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin: 2px 0 0;
  padding: 4px;
  border-radius: 50%;
  background: var(--ma-notice-accent);
  fill: #fffdfa;
}
body .wc-block-components-notice-banner > .wc-block-components-notice-banner__content {
  flex: 1 1 auto;
  min-width: 0;
  align-self: center;
  padding: 0;
}
body .wc-block-components-notice-banner .wc-block-components-notice-banner__content a:not(.button):not(.wc-forward) {
  color: #5d4d39;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body .wc-block-components-notice-banner .wc-block-components-notice-banner__content :is(a.button,a.wc-forward) {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  float: right;
  min-height: 44px;
  max-width: 100%;
  margin: 0 0 0 20px;
  padding: 10px 18px !important;
  border: 1px solid #5d4d39;
  border-radius: 4px;
  background: #5d4d39 !important;
  color: #faf7f2 !important;
  font: 500 14px/1.5 Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  opacity: 1;
}
body .wc-block-components-notice-banner .wc-block-components-notice-banner__content :is(a.button,a.wc-forward):hover {
  background: #3d352b !important;
  border-color: #3d352b;
}
body .wc-block-components-notice-banner:has(> .wc-block-components-button) { padding-inline-end: 64px !important; }
body .wc-block-components-notice-banner > .wc-block-components-button {
  position: absolute;
  inset-inline-end: 8px;
  top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px !important;
  border-radius: 4px;
  color: #5d4d39 !important;
  opacity: 1;
}
body .wc-block-components-notice-banner > .wc-block-components-button:hover { background: #ede5da !important; }
body .wc-block-components-notice-banner:focus-visible,
body .wc-block-components-notice-banner :is(a,button):focus-visible {
  outline: 2px solid #5d4d39 !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #faf7f2;
}
.woocommerce :is(.woocommerce-info,.woocommerce-message,.woocommerce-error) {
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(61,53,43,.05);
}
@media(max-width:600px) {
  body .wc-block-components-notice-banner, body .wc-block-components-notice-banner:is(.is-success,.is-info,.is-warning,.is-error) { gap: 12px; padding: 18px 16px !important; font-size: 14px; }
  body .wc-block-components-notice-banner .wc-block-components-notice-banner__content :is(a.button,a.wc-forward) {
    display: flex;
    float: none;
    width: fit-content;
    margin: 14px 0 0;
  }
}

/* Erreurs de saisie du code promo : même famille terre cuite, texte lisible. */
.woocommerce-cart .woocommerce table.cart td.actions .coupon .coupon-error-notice,
.woocommerce form.checkout_coupon .coupon-error-notice {
  box-sizing: border-box;
  display: block;
  clear: both;
  float: none;
  flex-basis: 100%;
  width: auto;
  margin: 12px 0 0;
  padding: 10px 14px;
  border-inline-start: 3px solid #853d35;
  border-radius: 3px;
  background: #fbf3ee;
  color: #853d35;
  font: 400 14px/1.6 Arial, sans-serif;
  text-align: left;
  overflow-wrap: anywhere;
}
body .woocommerce #coupon_code.has-error {
  border-color: #853d35;
  box-shadow: 0 0 0 1px #853d35;
}
