/* ==========================================================================
   Château des Ifs — WooCommerce (fiche cuvée, avis, panier, commande, compte).
   ========================================================================== */

/* Messages */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{list-style:none;margin:0 0 25px;padding:16px 20px;background:#efebe7;border-left:2px solid #978678;font-size:14px;display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;justify-content:space-between}
.woocommerce-error{border-color:#9a4a3c;background:#f3e9e4;color:#6e2f25}
.woocommerce-error li{margin:0}
.woocommerce-message .text-link,.woocommerce-message .button{order:2;margin:0}

/* Fiche cuvée : ajout au panier */
.purchase-panel form.cart{display:flex;gap:12px;align-items:stretch;margin:0 0 12px}
.purchase-panel .quantity{display:flex}
.purchase-panel .quantity input.qty{width:88px;border:1px solid #ccc2b9;background:transparent;text-align:center;font-size:16px;padding:0 8px;border-radius:0;color:var(--ink)}
.purchase-panel .single_add_to_cart_button{flex:1;padding:15px 25px;border:1px solid var(--ink);background:var(--ink);color:#fff;font-size:14px;cursor:pointer;text-align:left}
.purchase-panel .single_add_to_cart_button:hover{background:#42383b}
.purchase-panel .single_add_to_cart_button.disabled{opacity:.5;cursor:not-allowed}
.purchase-panel .stock{display:none}
.gc-conditionnement{font-size:13px;color:#6e6760;margin:-10px 0 14px}
.purchase-panel .text-link{margin-top:8px}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}

/* Pages panier / commande / compte */
.wc-page{padding:55px 0 85px;width:86%;max-width:1200px;margin:0 auto}
.wc-page .wp-block-woocommerce-cart.alignwide,.wc-page .wp-block-woocommerce-checkout.alignwide{max-width:none;margin-left:0;margin-right:0}
.wc-page .wp-block-woocommerce-cart,.wc-page .wp-block-woocommerce-checkout{font-size:15px}
.wc-block-components-button:not(.is-link),.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{border-radius:0!important;background:var(--ink)!important;color:#fff!important;font-size:14px!important;padding:15px 25px!important;min-height:0!important}
.wc-block-components-button:not(.is-link):hover{background:#42383b!important}
.wc-block-cart-item__product .wc-block-components-product-name,.wc-block-components-product-name{font:22px Georgia,serif;color:var(--ink);text-decoration:none}
.wc-block-components-totals-item__label,.wc-block-components-totals-item__value{font-size:15px}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,.wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font:22px Georgia,serif}
.wp-block-woocommerce-cart-order-summary-block,.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block{background:#eae4de;padding:25px!important}
.wc-block-components-sidebar-layout .wc-block-components-main{padding-right:4%}
.wc-block-components-text-input input,.wc-block-components-combobox .components-combobox-control input,.wc-block-components-textarea,.wc-blocks-components-select__select{border-radius:0!important;border-color:#c7c0b9!important;background:#faf7f5!important}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]{border-radius:0}
.wc-block-components-quantity-selector{border-radius:0!important}
.wc-block-components-title,.wc-block-cart__totals-title,.wc-block-components-checkout-step__title{font:26px Georgia,serif!important;text-transform:none!important;letter-spacing:0!important}
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title{font:40px Georgia,serif}

/* Compte client (gabarits classiques) */
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0 0 30px;display:flex;flex-wrap:wrap;gap:10px 24px;border-bottom:1px solid var(--line)}
.woocommerce-MyAccount-navigation a{display:block;padding:12px 0;font-size:14px;border-bottom:2px solid transparent}
.woocommerce-MyAccount-navigation .is-active a{border-color:var(--ink)}
.woocommerce form .form-row{display:flex;flex-direction:column;gap:6px;margin:0 0 18px}
.woocommerce form .form-row label{font-size:14px;color:#42383b}
.woocommerce form .input-text,.woocommerce form select{width:100%;padding:12px 14px;border:1px solid #c7c0b9;background:#faf7f5;font:inherit;border-radius:0}
.woocommerce form .woocommerce-form-login__rememberme{flex-direction:row;align-items:center;gap:8px}
.woocommerce .button,.woocommerce button[type=submit]{padding:14px 24px;border:1px solid var(--ink);background:var(--ink);color:#fff;font-size:14px;cursor:pointer;border-radius:0}
.woocommerce-account .u-columns{display:grid;grid-template-columns:1fr 1fr;gap:6%}
.woocommerce table.shop_table{width:100%;border-collapse:collapse;font-size:14px}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-bottom:1px solid var(--line);padding:12px 8px;text-align:left}
.woocommerce-order-overview{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:15px 40px;border-block:1px solid var(--line);padding-block:20px}
@media(max-width:760px){.woocommerce-account .u-columns{grid-template-columns:1fr}.purchase-panel form.cart{flex-direction:column}.purchase-panel .quantity input.qty{width:100%;height:48px}}
