/* GRILLE PRODUITS — pages BOUTIQUE & CATEGORIES (style accueil, doré) */
.woocommerce.archive ul.products{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(185px,1fr)) !important;
  gap:clamp(12px,1.4vw,22px) !important;
  align-items:stretch !important;
  margin:0 0 30px !important;padding:0 !important;list-style:none;
}
.woocommerce.archive ul.products::before,
.woocommerce.archive ul.products::after{content:none !important;display:none !important;}
.woocommerce.archive ul.products li.product,
.woocommerce.archive ul.products li.product.first,
.woocommerce.archive ul.products li.product.last{
  width:auto !important;float:none !important;margin:0 !important;clear:none !important;
  display:flex !important;flex-direction:column !important;
  background:#fff !important;border:1px solid #efe9e0 !important;border-radius:14px !important;
  padding:12px 12px 18px !important;text-align:center !important;transition:.28s;position:relative;
}
.woocommerce.archive ul.products li.product:hover{
  box-shadow:0 12px 30px rgba(0,0,0,.09) !important;transform:translateY(-4px);border-color:#e7dcc7 !important;
}
.woocommerce.archive ul.products li.product .astra-shop-summary-wrap{
  display:flex !important;flex-direction:column !important;flex:1 1 auto !important;width:100%;
}
.woocommerce.archive ul.products li.product a.woocommerce-LoopProduct-link{display:block;text-decoration:none;}
.woocommerce.archive ul.products li.product img{
  border-radius:10px !important;margin:0 0 12px !important;aspect-ratio:1/1;object-fit:cover;width:100%;height:auto;
}
.woocommerce.archive ul.products li.product .woocommerce-loop-product__title{
  font-size:14px !important;color:#333 !important;padding:0 6px !important;font-weight:500 !important;
  line-height:1.4 !important;margin:0 0 2px !important;
  display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;
  overflow:hidden !important;height:39px !important;min-height:39px !important;
}
.woocommerce.archive ul.products li.product .astra-shop-summary-wrap .price{
  color:#1a1a1a !important;font-weight:600 !important;font-size:15px !important;display:block !important;
  margin:0 !important;margin-top:auto !important;padding:8px 0 10px !important;
}
.woocommerce.archive ul.products li.product .price del{color:#bbb !important;font-weight:400 !important;margin-right:6px;}
.woocommerce.archive ul.products li.product .price ins{color:#c9a96e !important;text-decoration:none;}
.woocommerce.archive ul.products li.product .star-rating{margin:0 auto 8px !important;color:#c9a96e !important;}
.woocommerce.archive ul.products li.product .button,
.woocommerce.archive ul.products li.product .added_to_cart{
  display:inline-block !important;
  background:transparent !important;background-color:transparent !important;color:#1a1a1a !important;
  border:1.5px solid #c9a96e !important;border-radius:50px !important;
  font-size:12.5px !important;letter-spacing:.4px !important;padding:9px 22px !important;
  margin:0 !important;margin-top:auto !important;transition:.25s;font-weight:600 !important;min-width:0 !important;width:auto !important;
}
.woocommerce.archive ul.products li.product .button:hover,
.woocommerce.archive ul.products li.product .added_to_cart:hover{
  background:#c9a96e !important;background-color:#c9a96e !important;color:#fff !important;
}
.woocommerce.archive ul.products li.product .onsale{
  background:#c9a96e !important;color:#fff !important;border:0 !important;border-radius:50px !important;
  padding:4px 12px !important;font-size:11px !important;min-height:0 !important;min-width:0 !important;
  top:14px !important;right:14px !important;left:auto !important;margin:0 !important;line-height:1.4 !important;
}
.woocommerce.archive ul.products li.product.product-category a img{height:auto !important;object-fit:cover;}
.woocommerce.archive ul.products li.product.product-category h2,
.woocommerce.archive ul.products li.product.product-category .woocommerce-loop-category__title{
  font-size:14px !important;color:#1a1a1a !important;font-weight:600 !important;min-height:0 !important;padding:0 6px !important;line-height:1.4 !important;
}
.woocommerce.archive ul.products li.product.product-category .count{
  background:none !important;color:#c9a96e !important;font-weight:600 !important;font-size:12px !important;float:none !important;
}
@media(max-width:600px){
  .woocommerce.archive ul.products{grid-template-columns:repeat(2,1fr) !important;gap:12px !important;}
  .woocommerce.archive ul.products li.product .button{padding:8px 16px !important;font-size:11.5px !important;}
}


/* ======================================================
   PAGE BOUTIQUE — hub catégories + catalogue (style maison)
   ====================================================== */
.jwshop{max-width:1500px;margin:0 auto 6px}
.jwshop-intro{text-align:center;padding:6px 0 24px}
.jwshop-eyebrow{font-size:12px;letter-spacing:3px;text-transform:uppercase;color:#c9a96e;font-weight:600;display:block;margin-bottom:8px}
.jwshop-title{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;color:#1a1a1a;font-size:clamp(34px,5vw,52px);line-height:1.08;margin:0 0 12px}
.jwshop-lead{font-size:16px;color:#6b6b6b;max-width:620px;margin:0 auto;line-height:1.6}
.jwshop-head{text-align:center;margin:34px 0 22px}
.jwshop-head .jwshop-h2{font-family:'Cormorant Garamond',serif;font-weight:600;color:#1a1a1a;font-size:clamp(26px,3.4vw,38px);margin:0;line-height:1.1}
.jwshop-head::after{content:"";display:block;width:54px;height:2px;background:#c9a96e;margin:14px auto 0}

/* Hub : cartes catégories (shortcode [jwahry_cat_hub]) */
.jwshop-cats{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(12px,1.4vw,20px);max-width:1500px;margin:0 auto}
.jwcat{flex:0 0 180px;max-width:180px;display:flex;flex-direction:column;background:#fff;border:1px solid #efe9e0;border-radius:14px;padding:10px 10px 15px;text-align:center;text-decoration:none;transition:.28s;box-shadow:0 6px 18px rgba(0,0,0,.04)}
.jwcat:hover{box-shadow:0 14px 32px rgba(0,0,0,.10);transform:translateY(-4px);border-color:#e7dcc7}
.jwcat-ph{display:block;aspect-ratio:1/1;border-radius:10px;overflow:hidden;background:#f3ede2;margin-bottom:11px}
.jwcat-ph img,img.jwcat-img{width:100%;height:100%;object-fit:cover;display:block;border-radius:10px}
.jwcat-noimg{display:block;width:100%;height:100%;background:linear-gradient(135deg,#f3ede2,#e9dfce)}
.jwcat-name{font-family:'Cormorant Garamond',serif;font-size:clamp(16px,1.5vw,20px);font-weight:600;color:#1a1a1a;line-height:1.25}
.jwcat-count{font-size:11.5px;letter-spacing:.5px;color:#c9a96e;font-weight:600;margin-top:3px}
@media(max-width:600px){.jwshop-cats{gap:10px}.jwcat{flex:0 0 calc(50% - 5px);max-width:calc(50% - 5px)}}

/* Catalogue : grille centrée, max 5 colonnes (la boutique est pleine largeur) */
body.post-type-archive-product.woocommerce.archive ul.products{grid-template-columns:repeat(5,1fr) !important;max-width:1400px !important;margin-left:auto !important;margin-right:auto !important}
@media(max-width:1200px){body.post-type-archive-product.woocommerce.archive ul.products{grid-template-columns:repeat(4,1fr) !important}}
@media(max-width:900px){body.post-type-archive-product.woocommerce.archive ul.products{grid-template-columns:repeat(3,1fr) !important}}
@media(max-width:600px){body.post-type-archive-product.woocommerce.archive ul.products{grid-template-columns:repeat(2,1fr) !important}}

/* Alignement uniforme prix/bouton (cartes archives + catalogue) :
   libellé catégorie sur 1 ligne fixe + marge bouton fixe => écart prix↔bouton constant */
.woocommerce.archive ul.products li.product .ast-woo-product-category{
  display:block !important;height:16px !important;line-height:16px !important;overflow:hidden;
  white-space:nowrap;text-overflow:ellipsis;font-size:11px !important;margin:0 0 2px !important;color:#9a9a9a !important}
.woocommerce.archive ul.products li.product .button,
.woocommerce.archive ul.products li.product .added_to_cart{margin-top:10px !important}

/* Barre d'outils : compteur + tri (boutique) */
.post-type-archive-product .woocommerce-result-count{color:#999 !important;font-size:13px !important;font-style:italic;margin:6px 0 !important}
.post-type-archive-product .woocommerce-ordering select,
.post-type-archive-product select.orderby{border:1.5px solid #e7dcc7 !important;border-radius:50px !important;padding:9px 18px !important;background-color:#fff !important;color:#333 !important;font-size:13px !important;cursor:pointer;line-height:1.3}
.post-type-archive-product .woocommerce-ordering select:focus,
.post-type-archive-product select.orderby:focus{border-color:#c9a96e !important;outline:none}

/* Bouton "Filtrer les produits" (Astra) -> doré (sélecteur fort) */
body.post-type-archive-product .ast-shop-toolbar-aside-wrap button.astra-shop-filter-button,
body.post-type-archive-product button.astra-shop-filter-button.ast-flyout-filter,
body.post-type-archive-product button.astra-shop-filter-button{
  background:transparent !important;background-color:transparent !important;background-image:none !important;
  color:#1a1a1a !important;border:1.5px solid #c9a96e !important;
  border-radius:50px !important;padding:9px 22px !important;font-size:13px !important;font-weight:600 !important;
  letter-spacing:.4px;box-shadow:none !important;transition:.25s}
body.post-type-archive-product button.astra-shop-filter-button:hover{background:#c9a96e !important;background-color:#c9a96e !important;color:#fff !important}
body.post-type-archive-product button.astra-shop-filter-button svg,
body.post-type-archive-product button.astra-shop-filter-button path{fill:currentColor !important;stroke:currentColor !important}
/* Toggle grille/liste : masqué (grille uniquement) */
body.post-type-archive-product .ast-woocommerce-shop-page-list-grid,
body.post-type-archive-product .woo-shop-list-grid-toggle{display:none !important}

/* Pagination dorée */
.post-type-archive-product .woocommerce-pagination ul{border:0 !important;margin:30px auto 0 !important}
.post-type-archive-product .woocommerce-pagination ul li{border:0 !important;margin:0 !important}
.post-type-archive-product .woocommerce-pagination ul li a,
.post-type-archive-product .woocommerce-pagination ul li span{border:1px solid #e7dcc7 !important;border-radius:50px !important;min-width:40px;height:40px;line-height:38px !important;margin:0 4px !important;color:#555 !important;transition:.2s}
.post-type-archive-product .woocommerce-pagination ul li span.current,
.post-type-archive-product .woocommerce-pagination ul li a:hover{background:#c9a96e !important;color:#fff !important;border-color:#c9a96e !important}

/* Padding du contenu : TOUTES les archives produits (boutique + catégories + tags)
   -> plus de titre/description/produits collés aux bords (desktop ET mobile) */
.woocommerce.archive .site-content .ast-container,
.post-type-archive-product .site-content .ast-container,
.tax-product_cat .site-content .ast-container,
.tax-product_tag .site-content .ast-container{
  max-width:1600px !important;margin-left:auto !important;margin-right:auto !important;
  padding-left:clamp(16px,4vw,40px) !important;padding-right:clamp(16px,4vw,40px) !important;box-sizing:border-box}
.post-type-archive-product .jwshop{max-width:none !important;margin:0 !important}
body.post-type-archive-product.woocommerce.archive ul.products{max-width:none !important;margin-left:0 !important;margin-right:0 !important}
/* Gouttière entre la colonne latérale et le contenu (desktop : titre/desc/bouton/produits ne collent plus à la sidebar) */
@media(min-width:922px){
  .woocommerce.archive #primary,.tax-product_cat #primary,.tax-product_tag #primary,.post-type-archive-product #primary{padding-left:clamp(26px,2.8vw,50px) !important}
}
/* Titre des pages catégories réduit de 50% (88px -> 44px) + marge resserrée */
.woocommerce.archive .woocommerce-products-header__title,
.tax-product_cat .woocommerce-products-header__title,
.tax-product_tag .woocommerce-products-header__title,
.post-type-archive-product .woocommerce-products-header__title{
  font-size:clamp(28px,3vw,44px) !important;line-height:1.1 !important;margin-bottom:18px !important}

/* Panneau de filtre (off-canvas "Shop Filters") — style maison doré */
.astra-off-canvas-sidebar-wrapper{padding:26px 22px !important}
.astra-off-canvas-sidebar-wrapper .widget{margin-bottom:26px}
.astra-off-canvas-sidebar-wrapper .widget-title,
.astra-off-canvas-sidebar-wrapper .widgettitle,
.astra-off-canvas-sidebar-wrapper h2.wp-block-heading{font-family:'Cormorant Garamond',serif !important;font-size:21px !important;font-weight:600 !important;color:#1a1a1a !important;margin:0 0 14px !important;padding-bottom:8px;border-bottom:1px solid #efe9e0;text-transform:none !important;letter-spacing:0}
.astra-off-canvas-sidebar-wrapper ul.product-categories,
.astra-off-canvas-sidebar-wrapper .wc-block-product-categories-list{list-style:none;margin:0;padding:0}
.astra-off-canvas-sidebar-wrapper .product-categories li{padding:7px 0;border-bottom:1px solid #f5f0e8}
.astra-off-canvas-sidebar-wrapper .product-categories a{color:#444;text-decoration:none;transition:.2s}
.astra-off-canvas-sidebar-wrapper .product-categories a:hover{color:#c9a96e}
.astra-off-canvas-sidebar-wrapper .product-categories .count{color:#c9a96e;font-size:12px;font-weight:600}
.astra-off-canvas-sidebar-wrapper .price_slider_wrapper .ui-slider{background:#efe9e0;border:0;height:4px;border-radius:4px}
.astra-off-canvas-sidebar-wrapper .ui-slider .ui-slider-range{background:#c9a96e !important}
.astra-off-canvas-sidebar-wrapper .ui-slider .ui-slider-handle{background:#fff !important;border:2px solid #c9a96e !important;width:16px;height:16px;border-radius:50%;top:-6px}
.astra-off-canvas-sidebar-wrapper .price_slider_amount{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.astra-off-canvas-sidebar-wrapper .price_slider_amount .price_label{font-size:13px;color:#555;width:100%;order:1}
.astra-off-canvas-sidebar-wrapper .price_slider_amount .button,
.astra-off-canvas-sidebar-wrapper .button{background:#c9a96e !important;background-color:#c9a96e !important;color:#fff !important;border:0 !important;border-radius:50px !important;padding:8px 22px !important;font-size:13px !important;font-weight:600 !important;order:2}
.astra-off-canvas-sidebar-wrapper .button:hover{background:#b8975a !important}
.astra-off-canvas-sidebar-wrapper .wc-layered-nav-rating a{text-decoration:none}
.astra-off-canvas-sidebar-wrapper .star-rating{color:#c9a96e}

/* ======================================================
   COLONNES LATÉRALES / WIDGETS — style maison (Cormorant + doré)
   (pages catégories/boutique : #secondary, .widget-area)
   ====================================================== */
#secondary .widget,.widget-area .widget{margin-bottom:34px;border:0;background:none;padding:0}
#secondary .widget-title,#secondary .widgettitle,
.widget-area .widget-title,.widget-area .widgettitle,
#secondary .wp-block-heading,#secondary h2.widget-title{
  font-family:'Cormorant Garamond',Georgia,serif !important;font-size:22px !important;font-weight:600 !important;
  color:#1a1a1a !important;text-transform:none !important;letter-spacing:0 !important;line-height:1.2 !important;
  margin:0 0 16px !important;padding:0 0 10px !important;border-bottom:1px solid #efe9e0 !important}
#secondary .widget-title::after,.widget-area .widget-title::after{content:"";display:block;width:42px;height:2px;background:#c9a96e;margin-top:10px;margin-bottom:-11px}

/* --- Bloc « Liste des catégories » WooCommerce : ACCORDÉON (+/−), sans fond --- */
.wp-block-woocommerce-product-categories .wc-block-product-categories-list{list-style:none !important;margin:0 !important;padding:0 !important;background:none !important}
.wc-block-product-categories-list-item{display:flex !important;flex-wrap:wrap;align-items:center;margin:0 !important;line-height:1.3;background:none !important;border:0 !important}
.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item{border-bottom:1px solid #f0e9dd !important}
.wc-block-product-categories-list-item > a{order:1;flex:1;min-width:0;display:block !important;text-decoration:none !important;color:#2f2a24 !important;padding:9px 0 !important;font-size:14px;transition:color .2s;background:none !important}
.wc-block-product-categories-list-item > a:hover,.wc-block-product-categories-list-item > a.jw-cat-current{color:#c9a96e !important}
.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a{font-weight:600}
.wc-block-product-categories-list-item__name{border:0 !important;background:none !important}
.wc-block-product-categories-list-item-count{order:2;margin-left:auto;color:#c9a96e !important;font-size:11.5px !important;font-weight:600;background:none !important;border:0 !important;padding-left:8px;white-space:nowrap;line-height:1}
/* bouton +/- */
.jw-cat-toggle{order:3;flex:0 0 auto;width:22px;height:22px;margin-left:8px;border:1px solid #e7dcc7;border-radius:50%;background:#fff;color:#c9a96e;font-size:15px;line-height:18px;text-align:center;padding:0;cursor:pointer;transition:.2s}
.jw-cat-toggle:hover{background:#c9a96e;color:#fff;border-color:#c9a96e}
.jw-cat-toggle::before{content:"+"}
.wc-block-product-categories-list-item.open > .jw-cat-toggle::before{content:"\2212"}
/* sous-listes : repliées par défaut, indentation simple (pas de boîte/fond) */
.wc-block-product-categories-list-item > ul.wc-block-product-categories-list{order:4;flex:0 0 100%;display:none;margin:0 0 4px 14px !important;padding:0 !important;border:0 !important}
.wc-block-product-categories-list-item.open > ul.wc-block-product-categories-list{display:block}
.wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item > a,
.wc-block-product-categories-list--depth-2 .wc-block-product-categories-list-item > a{font-weight:400 !important;font-size:13px;color:#6b6359 !important;padding:6px 0 !important}
.wc-block-product-categories-list--depth-1 .jw-cat-toggle{width:18px;height:18px;font-size:13px;line-height:14px}

/* --- Widget produits (« En promo », ventes…) : vignette en position absolue (zéro chevauchement), titre+prix empilés à droite --- */
#secondary .product_list_widget,.widget-area .product_list_widget{list-style:none !important;margin:0 !important;padding:0 !important}
#secondary .product_list_widget li,.widget-area .product_list_widget li{position:relative;display:block !important;overflow:visible;padding:13px 0 13px 66px !important;border-bottom:1px solid #f5f0e8;border-top:0 !important;min-height:52px;background:none !important}
#secondary .product_list_widget li img,.widget-area .product_list_widget li img{position:absolute !important;left:0;top:13px;width:52px !important;height:52px !important;object-fit:cover;border-radius:8px;float:none !important;margin:0 !important;background:#f3ede2}
#secondary .product_list_widget li a,.widget-area .product_list_widget li a{display:block !important;text-decoration:none !important;color:#2f2a24 !important;font-size:12.5px;line-height:1.35;font-weight:500;transition:color .2s;margin-bottom:3px}
#secondary .product_list_widget li a:hover{color:#c9a96e !important}
#secondary .product_list_widget .amount{color:#1a1a1a;font-weight:600;font-size:13px}
#secondary .product_list_widget del{opacity:1;text-decoration:none}
#secondary .product_list_widget del .amount{color:#bdb4a6;font-weight:400;text-decoration:line-through}
#secondary .product_list_widget ins{text-decoration:none;background:none}
#secondary .product_list_widget ins .amount{color:#c9a96e}
#secondary .product_list_widget .star-rating{color:#c9a96e;font-size:12px;margin:3px 0}
#secondary .widget_products .widget-title,#secondary .widget_products .widgettitle{text-transform:none !important}

/* ======================================================
   PAGE CAISSE (checkout) — restyle maison (CSS uniquement, scopé .woocommerce-checkout)
   ⚠ Aucune modif de structure/JS : seulement apparence. 1 seul display:none = logo doublon.
   ====================================================== */
body.woocommerce-checkout .main-header-bar-wrap{display:none !important} /* logo Astra en doublon */
body.woocommerce-checkout .entry-title,body.woocommerce-checkout .ast-archive-title,body.woocommerce-checkout h1.page-title{font-family:'Cormorant Garamond',serif !important;font-weight:600 !important;color:#1a1a1a !important;font-size:clamp(24px,3.2vw,35.2px) !important;line-height:1.1}
body.woocommerce-checkout h3,body.woocommerce-checkout #order_review_heading,body.woocommerce-checkout .woocommerce-billing-fields>h3,body.woocommerce-checkout .woocommerce-additional-fields>h3{font-family:'Cormorant Garamond',serif !important;font-weight:600 !important;color:#1a1a1a !important;font-size:18.4px !important;letter-spacing:.2px}
/* bandeaux login/coupon : bordures noires -> doré discret */
body.woocommerce-checkout .woocommerce-info{border-top:3px solid #c9a96e !important;background:#faf8f4 !important;color:#666 !important;border-radius:0 0 8px 8px}
body.woocommerce-checkout .woocommerce-info a,body.woocommerce-checkout .showcoupon,body.woocommerce-checkout .showlogin{color:#c9a96e !important}
body.woocommerce-checkout .woocommerce-info::before{color:#c9a96e !important}
/* champs (texte/select natif) : padding-haut augmenté pour que le libellé flottant ne chevauche plus la valeur */
body.woocommerce-checkout .form-row .input-text,body.woocommerce-checkout .form-row select{border:1.5px solid #e7dcc7 !important;border-radius:10px !important;min-height:56px !important;height:auto !important;padding:23px 14px 8px !important;font-size:14px !important;line-height:1.3 !important;background:#fff !important;box-shadow:none !important}
body.woocommerce-checkout textarea{border:1.5px solid #e7dcc7 !important;border-radius:10px !important;padding:14px !important;font-size:14px !important;background:#fff !important;box-shadow:none !important}
body.woocommerce-checkout .input-text:focus,body.woocommerce-checkout select:focus,body.woocommerce-checkout textarea:focus{border-color:#c9a96e !important;outline:none !important;box-shadow:0 0 0 3px rgba(201,169,110,.12) !important}
/* select2 (Pays/région) : bordure/arrondi + hauteur cohérente (sans casser le floating label) */
body.woocommerce-checkout .select2-container .select2-selection--single{border:1.5px solid #e7dcc7 !important;border-radius:10px !important;min-height:56px !important}
body.woocommerce-checkout .select2-container--focus .select2-selection--single,body.woocommerce-checkout .select2-container--open .select2-selection--single{border-color:#c9a96e !important}
/* encadré commande */
body.woocommerce-checkout #order_review{border:1px solid #ece5d8 !important;border-radius:16px !important;padding:26px !important;background:#fff !important;box-shadow:0 8px 26px rgba(0,0,0,.04) !important}
body.woocommerce-checkout .woocommerce-checkout-review-order-table{border:0 !important}
body.woocommerce-checkout .order-total .amount{color:#c9a96e !important;font-weight:700 !important}
/* méthodes de paiement : Nom + logos cohérents (jeu unique) alignés sur une ligne */
body.woocommerce-checkout #payment ul.payment_methods{border:0 !important;background:none !important}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method{display:flex !important;flex-wrap:wrap;align-items:center;gap:8px;padding:11px 0 !important;border-bottom:1px solid #f2ece2 !important;border-top:0 !important;background:none !important}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>input[type=radio]{flex:0 0 auto;margin:0 2px 0 0 !important}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label{display:flex !important;align-items:center;gap:10px;flex:1 1 0;min-width:0;margin:0 !important;padding:0 !important;font-weight:500;color:#333;line-height:1.3}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label>br{display:none}
/* masquer les logos par défaut des passerelles ; ne garder QUE nos logos cohérents (.jw-pay-logo) */
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label img:not(.jw-pay-logo){display:none !important}
body.woocommerce-checkout #payment .jw-pay-logos{display:inline-flex !important;gap:6px;align-items:center;margin-left:auto}
body.woocommerce-checkout #payment .jw-pay-logo{display:inline-block !important;height:26px !important;max-height:26px !important;width:auto !important;margin:0 !important;float:none !important;border-radius:3px}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>.payment_box{flex:0 0 100%}
body.woocommerce-checkout #payment .payment_box{background:#faf8f4 !important;border-radius:10px !important;border:0 !important}
body.woocommerce-checkout #payment .payment_box::before{border-bottom-color:#faf8f4 !important}
/* bouton commander -> doré pilule */
body.woocommerce-checkout #place_order{background:#c9a96e !important;background-color:#c9a96e !important;background-image:none !important;color:#fff !important;border:0 !important;border-radius:50px !important;padding:16px 30px !important;font-size:14px !important;font-weight:600 !important;letter-spacing:.5px !important;width:100% !important;transition:.25s;box-shadow:0 6px 18px rgba(201,169,110,.3) !important;text-transform:none !important;line-height:1.3}
body.woocommerce-checkout #place_order:hover{background:#b8975a !important;background-color:#b8975a !important}

/* ======================================================
   PAGE PANIER (cart) — restyle maison (CSS uniquement, scopé .woocommerce-cart)
   ====================================================== */
body.woocommerce-cart .entry-title,body.woocommerce-cart h1.page-title{font-family:'Cormorant Garamond',serif !important;font-weight:600 !important;color:#1a1a1a !important;font-size:clamp(24px,3.2vw,35.2px) !important;line-height:1.1}
body.woocommerce-cart h2,body.woocommerce-cart .cart_totals h2,body.woocommerce-cart .cross-sells h2{font-family:'Cormorant Garamond',serif !important;font-weight:600 !important;color:#1a1a1a !important}
/* bandeaux info / panier vide -> filet doré */
body.woocommerce-cart .woocommerce-info,body.woocommerce-cart .cart-empty{border-top:3px solid #c9a96e !important;background:#faf8f4 !important;color:#666 !important;border-radius:0 0 8px 8px}
body.woocommerce-cart .woocommerce-info a,body.woocommerce-cart .woocommerce-info::before{color:#c9a96e !important}
/* bouton primaire : Valider la commande */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{background:#c9a96e !important;background-color:#c9a96e !important;background-image:none !important;color:#fff !important;border:0 !important;border-radius:50px !important;padding:16px 28px !important;font-size:14px !important;font-weight:600 !important;letter-spacing:.5px;width:100% !important;text-transform:none !important;box-shadow:0 6px 18px rgba(201,169,110,.3) !important}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{background:#b8975a !important;background-color:#b8975a !important}
/* boutons secondaires : coupon + mise à jour -> contour doré */
body.woocommerce-cart .coupon .button,body.woocommerce-cart button[name="update_cart"],body.woocommerce-cart input[name="update_cart"],body.woocommerce-cart button[name="apply_coupon"]{background:transparent !important;background-color:transparent !important;color:#1a1a1a !important;border:1.5px solid #c9a96e !important;border-radius:50px !important;padding:11px 22px !important;font-weight:600 !important;text-transform:none !important;box-shadow:none !important;transition:.25s}
body.woocommerce-cart .coupon .button:hover,body.woocommerce-cart button[name="update_cart"]:hover,body.woocommerce-cart input[name="update_cart"]:hover{background:#c9a96e !important;color:#fff !important}
/* retour boutique (panier vide) -> doré plein */
body.woocommerce-cart .return-to-shop .button,body.woocommerce-cart .wc-empty-cart-message+p .button{background:#c9a96e !important;background-color:#c9a96e !important;color:#fff !important;border:0 !important;border-radius:50px !important;padding:14px 30px !important;font-weight:600 !important;text-transform:none !important}
/* champs (coupon, quantité) */
body.woocommerce-cart .input-text,body.woocommerce-cart #coupon_code,body.woocommerce-cart .quantity input.qty{border:1.5px solid #e7dcc7 !important;border-radius:10px !important;padding:10px 12px !important}
body.woocommerce-cart .input-text:focus,body.woocommerce-cart #coupon_code:focus,body.woocommerce-cart .quantity input.qty:focus{border-color:#c9a96e !important;outline:none}
/* tableau panier */
body.woocommerce-cart table.cart thead th,body.woocommerce-cart .shop_table thead th{font-family:'Cormorant Garamond',serif !important;font-weight:600 !important;color:#1a1a1a !important;font-size:16px !important}
body.woocommerce-cart table.cart td.product-remove a.remove,body.woocommerce-cart .product-remove a.remove{color:#c9a96e !important;border-color:#e7dcc7 !important}
body.woocommerce-cart table.cart td.product-remove a.remove:hover{background:#c9a96e !important;color:#fff !important}
body.woocommerce-cart table.cart td.product-thumbnail img{border-radius:8px}
body.woocommerce-cart .product-name a{color:#2f2a24 !important}
body.woocommerce-cart .product-name a:hover{color:#c9a96e !important}
/* totaux */
body.woocommerce-cart .cart_totals{border:1px solid #ece5d8 !important;border-radius:16px !important;padding:24px !important;background:#fff !important;box-shadow:0 8px 26px rgba(0,0,0,.04) !important}
body.woocommerce-cart .cart_totals .order-total .amount{color:#c9a96e !important;font-weight:700 !important}

/* ======================================================
   MON COMPTE (account) — restyle maison (CSS uniquement, scopé .woocommerce-account)
   ====================================================== */
body.woocommerce-account .entry-title,body.woocommerce-account h1.page-title{font-family:'Cormorant Garamond',serif !important;font-weight:600 !important;color:#1a1a1a !important;font-size:clamp(24px,3.2vw,35.2px) !important;line-height:1.1}
body.woocommerce-account h2,body.woocommerce-account h3,body.woocommerce-account legend{font-family:'Cormorant Garamond',serif !important;font-weight:600 !important;color:#1a1a1a !important}
/* encadrés login / register */
body.woocommerce-account .woocommerce-form-login,body.woocommerce-account .woocommerce-form-register,body.woocommerce-account .u-column1,body.woocommerce-account .u-column2{border:1px solid #ece5d8 !important;border-radius:16px !important;padding:28px !important;background:#fff !important;box-shadow:0 8px 26px rgba(0,0,0,.04) !important}
/* champs */
body.woocommerce-account .input-text,body.woocommerce-account input[type=text],body.woocommerce-account input[type=email],body.woocommerce-account input[type=password],body.woocommerce-account input[type=tel]{border:1.5px solid #e7dcc7 !important;border-radius:10px !important;padding:23px 14px 8px !important;min-height:56px !important;height:auto !important;line-height:1.3 !important}
body.woocommerce-account .input-text:focus,body.woocommerce-account input:focus{border-color:#c9a96e !important;outline:none;box-shadow:0 0 0 3px rgba(201,169,110,.12) !important}
/* boutons -> doré pilule */
body.woocommerce-account button.button,body.woocommerce-account .woocommerce-Button,body.woocommerce-account a.button,body.woocommerce-account input.button,body.woocommerce-account button.woocommerce-button{background:#c9a96e !important;background-color:#c9a96e !important;background-image:none !important;color:#fff !important;border:0 !important;border-radius:50px !important;padding:13px 28px !important;font-weight:600 !important;letter-spacing:.4px;text-transform:none !important;box-shadow:0 6px 16px rgba(201,169,110,.25) !important}
body.woocommerce-account button.button:hover,body.woocommerce-account a.button:hover{background:#b8975a !important;background-color:#b8975a !important}
/* liens (mot de passe perdu, etc.) */
body.woocommerce-account .woocommerce-form-login a,body.woocommerce-account .woocommerce-LostPassword a,body.woocommerce-account .woocommerce-MyAccount-content a{color:#c9a96e !important}
/* navigation du compte (connecté) */
body.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none !important;margin:0 !important;padding:0 !important;border:1px solid #ece5d8;border-radius:14px;overflow:hidden;background:#fff}
body.woocommerce-account .woocommerce-MyAccount-navigation li{border-bottom:1px solid #f2ece2;margin:0}
body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child{border-bottom:0}
body.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:13px 18px;color:#444 !important;text-decoration:none !important;transition:.2s;font-weight:500}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{color:#c9a96e !important;background:#faf8f4}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{color:#c9a96e !important;background:#faf8f4;box-shadow:inset 3px 0 0 #c9a96e}
/* tableau des commandes */
body.woocommerce-account .woocommerce-orders-table,body.woocommerce-account .shop_table{border:1px solid #ece5d8 !important;border-radius:14px !important;overflow:hidden;border-collapse:separate !important}
body.woocommerce-account .woocommerce-orders-table thead th,body.woocommerce-account .shop_table thead th{font-family:'Cormorant Garamond',serif !important;font-weight:600 !important;color:#1a1a1a !important;background:#faf8f4}
body.woocommerce-account .woocommerce-orders-table .button,body.woocommerce-account .woocommerce-orders-table a.button{padding:8px 18px !important}

/* Bouton "afficher le mot de passe" (œil) : transparent (pas le bouton olive Astra) — global */
.woocommerce .show-password-input,.woocommerce-page .show-password-input,form .show-password-input{
  background:transparent !important;background-color:transparent !important;background-image:none !important;
  border:0 !important;box-shadow:none !important;padding:0 !important;margin:0 !important;
  width:24px !important;min-width:0 !important;height:24px !important;color:#9a9a9a !important;cursor:pointer}
.woocommerce .show-password-input::after{color:#9a9a9a !important}
.woocommerce .show-password-input.display-password::after,.woocommerce .show-password-input:hover::after{color:#c9a96e !important}

/* ======================================================
   FICHE PRODUIT (single-product) — style maison Jwahry
   ====================================================== */
/* --- Galerie : fleches dorees < > (remplace texte "Previous/Next") --- */
body.single-product .woocommerce-product-gallery{position:relative}
body.single-product .flex-direction-nav{position:absolute;inset:0;margin:0;padding:0;list-style:none;pointer-events:none;z-index:6}
body.single-product .flex-direction-nav li{position:static;margin:0;list-style:none}
body.single-product .flex-direction-nav a{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 4px 16px rgba(0,0,0,.13);font-size:0 !important;text-indent:0;color:#c9a96e !important;display:flex;align-items:center;justify-content:center;pointer-events:auto;transition:.22s;border:1px solid rgba(201,169,110,.25)}
body.single-product .flex-direction-nav a::before{font-size:26px;line-height:1;font-family:Georgia,serif;font-weight:400;color:inherit}
body.single-product .flex-direction-nav .flex-prev{left:14px}
body.single-product .flex-direction-nav .flex-next{right:14px}
body.single-product .flex-direction-nav .flex-prev::before{content:"\2039"}
body.single-product .flex-direction-nav .flex-next::before{content:"\203A"}
body.single-product .flex-direction-nav a:hover{background:#c9a96e;color:#fff !important;border-color:#c9a96e}
body.single-product .flex-direction-nav .flex-disabled{opacity:0 !important;pointer-events:none}

/* --- Masque le widget "J aime" Jetpack (anglais, iframe non traduisible) — partage conserve --- */
body.single-product .sharedaddy.sd-like,body.single-product .jetpack-likes-widget-wrapper,body.single-product .like.sd-like{display:none !important}

/* --- Titre & fil d Ariane --- */
body.single-product .product_title.entry-title{font-family:'Cormorant Garamond',Georgia,serif !important;font-weight:600 !important;color:#1a1a1a !important;font-size:clamp(28px,3.4vw,40px) !important;line-height:1.12 !important;margin:4px 0 14px !important}
body.single-product .woocommerce-breadcrumb{font-size:12.5px;letter-spacing:.3px;color:#9a8f7d;margin-bottom:14px}
body.single-product .woocommerce-breadcrumb a{color:#c9a96e !important}

/* --- Prix --- */
body.single-product .summary .price,body.single-product .summary .price ins{color:#c9a96e !important;font-weight:600 !important}
body.single-product .summary .price{font-size:26px !important;margin:0 0 14px !important}
body.single-product .summary .price del{color:#b4b4b4 !important;font-weight:400 !important;font-size:18px;margin-right:8px;opacity:.8}
body.single-product .summary .woocommerce-price-suffix{font-size:12px;color:#9a8f7d;letter-spacing:.4px;font-weight:500}

/* --- Disponibilite / description courte --- */
body.single-product .summary .stock.in-stock{color:#5b8a5b !important;font-weight:600;font-size:13.5px}
body.single-product .woocommerce-product-details__short-description{color:#555;line-height:1.7;font-size:15px}

/* --- Quantite (stepper) --- */
body.single-product form.cart .quantity input.qty{border:1.5px solid #e7dcc7 !important;border-radius:10px !important;height:52px !important;width:64px !important;text-align:center;font-size:15px;color:#1a1a1a;background:#fff}
body.single-product form.cart .quantity input.qty:focus{border-color:#c9a96e !important;outline:none;box-shadow:0 0 0 3px rgba(201,169,110,.12)}

/* --- Bouton "Ajouter au panier" (principal + sticky + produits lies) --- */
body.single-product .single_add_to_cart_button,
body.single-product .ast-sticky-add-to-cart .single_add_to_cart_button,
body.single-product ul.products li.product .button,
body.single-product ul.products li.product .add_to_cart_button{
  background:#c9a96e !important;background-color:#c9a96e !important;background-image:none !important;color:#fff !important;
  border:0 !important;border-radius:50px !important;font-weight:600 !important;letter-spacing:.4px;text-transform:none !important;
  box-shadow:0 8px 20px rgba(201,169,110,.26) !important;transition:.22s !important}
body.single-product .single_add_to_cart_button{min-height:54px !important;padding:0 38px !important;font-size:15px !important;display:inline-flex;align-items:center;justify-content:center}
body.single-product .single_add_to_cart_button:hover,
body.single-product ul.products li.product .button:hover{background:#b8975a !important;background-color:#b8975a !important;transform:translateY(-2px);box-shadow:0 12px 26px rgba(201,169,110,.34) !important}

/* --- Onglets Description / Avis --- */
body.single-product .woocommerce-tabs ul.tabs{border-bottom:1px solid #ece5d8 !important;padding:0 !important;margin-bottom:0 !important}
body.single-product .woocommerce-tabs ul.tabs::before{border-bottom-color:#ece5d8 !important}
body.single-product .woocommerce-tabs ul.tabs li{background:transparent !important;border:0 !important;border-radius:0 !important;margin:0 22px 0 0 !important;padding:0 !important}
body.single-product .woocommerce-tabs ul.tabs li::before,body.single-product .woocommerce-tabs ul.tabs li::after{display:none !important}
body.single-product .woocommerce-tabs ul.tabs li a{font-family:'Cormorant Garamond',serif !important;font-size:20px !important;font-weight:600 !important;color:#8a8276 !important;padding:10px 2px !important;display:inline-block;border-bottom:2px solid transparent;transition:.2s}
body.single-product .woocommerce-tabs ul.tabs li.active a,body.single-product .woocommerce-tabs ul.tabs li a:hover{color:#1a1a1a !important;border-bottom-color:#c9a96e}
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel{padding-top:22px;color:#555;line-height:1.75;font-size:15px}
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel h2{font-family:'Cormorant Garamond',serif !important;font-weight:600 !important;color:#1a1a1a !important}

/* --- Titres de sections (Produits similaires / vus recemment) --- */
body.single-product .related>h2,body.single-product .up-sells>h2,body.single-product .products>h2,
body.single-product section.related>h2,body.single-product .jp-relatedposts-headline{font-family:'Cormorant Garamond',serif !important;font-weight:600 !important;color:#1a1a1a !important;font-size:clamp(24px,3vw,34px) !important;text-align:center;margin:8px 0 26px !important}
body.single-product .related>h2::after,body.single-product .up-sells>h2::after{content:"";display:block;width:54px;height:2px;background:#c9a96e;margin:13px auto 0}

/* --- Cartes produits lies / vus recemment (alignees) --- */
body.single-product ul.products li.product{display:flex !important;flex-direction:column;background:#fff;border:1px solid #efe9e0;border-radius:14px;padding:12px 12px 16px;text-align:center;box-shadow:0 6px 18px rgba(0,0,0,.04);transition:.26s}
body.single-product ul.products li.product:hover{box-shadow:0 14px 32px rgba(0,0,0,.10);transform:translateY(-4px);border-color:#e7dcc7}
body.single-product ul.products li.product .ast-woo-product-category,body.single-product ul.products li.product .ast-woo-product-cat{font-size:11px !important;letter-spacing:1px;text-transform:uppercase;color:#c9a96e !important;font-weight:600;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
body.single-product ul.products li.product .woocommerce-loop-product__title,body.single-product ul.products li.product h2{font-family:'Cormorant Garamond',serif !important;font-weight:600 !important;color:#1a1a1a !important;font-size:16px !important;line-height:1.3 !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
body.single-product ul.products li.product .price{color:#c9a96e !important;font-weight:600 !important;margin-top:auto !important}
body.single-product ul.products li.product .price del{color:#b4b4b4 !important;font-weight:400 !important}
body.single-product ul.products li.product .button,body.single-product ul.products li.product .add_to_cart_button{margin-top:12px !important;min-height:44px;display:inline-flex;align-items:center;justify-content:center;font-size:13px !important;box-shadow:0 6px 16px rgba(201,169,110,.22) !important}

/* --- Barre sticky d achat (Astra) --- */
body.single-product .ast-sticky-add-to-cart{border-top:1px solid #ece5d8;box-shadow:0 -4px 20px rgba(0,0,0,.06)}
body.single-product .ast-sticky-add-to-cart .ast-sticky-add-to-cart-title{font-family:'Cormorant Garamond',serif !important;font-weight:600 !important;color:#1a1a1a !important}
body.single-product .ast-sticky-add-to-cart .price,body.single-product .ast-sticky-add-to-cart .price ins{color:#c9a96e !important;font-weight:600 !important}

/* --- Mobile --- */
@media(max-width:768px){
  body.single-product .product_title.entry-title{font-size:26px !important}
  body.single-product .summary .price{font-size:23px !important}
  body.single-product ul.products li.product{padding:10px 10px 14px}
  body.single-product .flex-direction-nav a{width:38px;height:38px}
  body.single-product .woocommerce-tabs ul.tabs li{margin-right:16px !important}
  body.single-product .woocommerce-tabs ul.tabs li a{font-size:18px !important}
}

/* --- Reduit l'espace vide au-dessus du produit (defauts Astra trop grands) --- */
body.single-product #primary{margin-top:0 !important}
body.single-product .ast-woocommerce-container{padding-top:22px !important}
body.single-product .woocommerce-breadcrumb{margin-top:0 !important}
@media(max-width:768px){
  body.single-product .ast-woocommerce-container{padding-top:14px !important}
}


/* === JWAHRY fiche bijou (Stage 1 IA, 2026-06) === */
.jwahry-desc{max-width:700px;margin:0 auto;color:#2f2a24}
.jwahry-desc-intro{font-size:1.05rem;line-height:1.65;margin:0 0 20px}
.jwahry-desc-h{font-family:'Cormorant Garamond',serif;font-size:1.5rem;color:#1a1a1a;border-bottom:2px solid #c9a96e;display:inline-block;padding-bottom:4px;margin:16px 0 12px}
.jwahry-specs-table{width:100%;border-collapse:collapse;margin:0 0 20px}
.jwahry-specs-table td{padding:10px 14px;border-bottom:1px solid #efe9dd;font-size:.96rem}
.jwahry-specs-table tr:nth-child(odd) td{background:#faf7f0}
.jwahry-specs-table td:first-child{font-weight:600;color:#6b5d3f;width:42%}
.jwahry-desc-care{font-size:.92rem;color:#555;background:#faf7f0;padding:11px 15px;border-left:3px solid #c9a96e;border-radius:4px;margin:0}
.jwahry-short-intro{font-size:1rem;line-height:1.6;margin:0 0 10px;color:#2f2a24}
.jwahry-short-list{list-style:none;padding:0;margin:8px 0}
.jwahry-short-list li{padding:6px 0;border-bottom:1px solid #f0ece2;font-size:.95rem}
.jwahry-short-list strong{color:#6b5d3f}


/* jw-align-logos-paiement — 09/08/2026
   Le libelle de la methode SELECTIONNEE etait 8 px plus large que les autres :
   son .payment_box devient un enfant flex visible et consomme une gouttiere de la
   premiere ligne. Resultat : le logo de la ligne cochee depassait vers la droite.
   Correctif : gouttiere nulle sur le li, marge explicite sur le label, et le cadre
   de paiement sorti du calcul de la ligne. Verifie : les 4 logos alignes au pixel. */
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method{gap:0 !important}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label{margin-left:8px !important}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>.payment_box{flex:0 0 100% !important;width:100% !important;margin-top:8px !important;order:9 !important}


/* ======================================================
   TUNNEL D'ACHAT — titres de sections a 80 % (2026-08-16)
   Complete les valeurs modifiees plus haut.
   Selecteurs volontairement scopes : AUCUN h2/h3 nu, sinon les 12
   titres des CGV rendus sur la page caisse retreciraient aussi.
   ====================================================== */
body.woocommerce-cart .cart-collaterals .cart_totals>h2,
body.woocommerce-cart .cart-collaterals .cross-sells>h2{font-size:1.3rem !important}
body.woocommerce-checkout .woocommerce-order-details__title,
body.woocommerce-checkout .woocommerce-column__title,
body.woocommerce-account .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-column__title{font-size:1.3rem !important}
body.woocommerce-account .woocommerce>h2,
body.woocommerce-account .woocommerce>.u-columns>.u-column1>h2,
body.woocommerce-account .woocommerce>.u-columns>.u-column2>h2,
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3{font-size:1.3rem !important}

/* Hamburger a l'extreme gauche de l'en-tete (mobile + tablette).
   #jw-burger (1,0,0) bat le .jw-burger (0,1,0) du modele d'en-tete 5285,
   quelle que soit sa position dans le document. order:-1 est inferieur a
   toutes les valeurs presentes dans la barre (0, 2, 3, 4, 5, 6), et il
   n'existe aucun order:...!important dans la page. */
@media (max-width:1024px){
  #jw-burger{order:-1;margin-left:0;margin-right:2px}
}
