/* =====================================================================
   Jett Technic — WooCommerce (design boutique / fiche / panier / tunnel)
   Palette : navy #071233 · mint #44FFD1 · cta #4FC2DE · carte #FFFFFF
   Police : Inter (déjà chargée par le thème)
   ===================================================================== */

.woo-page { padding: 30px 0 90px; }

/* =====================================================================
   Boutique : recherche en haut + filtres en colonne latérale (HUSKY)
   ===================================================================== */

/* -- Barre de recherche prédictive (pleine largeur, au-dessus des produits) -- */
.woo-search { margin: 20px 0 56px; width: 100%; }

/* Advanced Woo Search (recherche prédictive AJAX) */
.woo-search .aws-container { width: 100% !important; max-width: 100% !important; }
/* le formulaire = conteneur flex : champ qui s'étire + bouton collé à droite */
.woo-search .aws-search-form {
	display: flex !important; align-items: stretch; width: 100% !important;
	background: #0E1F45; border: 1px solid #26304F; border-radius: 6px;
	overflow: hidden; position: relative;
}
.woo-search .aws-wrapper {
	flex: 1 1 auto; display: flex; align-items: center; background: transparent !important;
	border: none !important; min-width: 0;
}
.woo-search .aws-search-field {
	flex: 1 1 auto; background: transparent !important; color: #fff !important; font-size: 16px !important;
	height: auto !important; padding: 15px 18px !important; border: none !important; width: 100% !important;
}
.woo-search .aws-search-field::placeholder { color: #9AA3BB !important; }
.woo-search .aws-search-clear { right: 72px !important; }
/* bouton de recherche mint, pleine hauteur, collé au champ (pas de cellule blanche) */
.woo-search .aws-search-btn,
.woo-search .aws-form-btn {
	flex: 0 0 auto; display: flex !important; align-items: center; justify-content: center;
	width: 60px; min-width: 60px; background: #44FFD1 !important; border: none !important;
	border-radius: 0 !important; margin: 0 !important; padding: 0 !important; cursor: pointer;
	position: static !important; height: auto !important;
}
.woo-search .aws-search-btn:hover, .woo-search .aws-form-btn:hover { background: #38e6bc !important; }
.woo-search .aws-search-btn_icon { color: #071233 !important; }
.woo-search .aws-search-btn svg, .woo-search .aws-search-btn path,
.woo-search .aws-search-btn_icon svg, .woo-search .aws-search-btn_icon path { fill: #071233 !important; }
/* liste des suggestions */
.woo-search .aws-search-result {
	background: #0B1A3C !important; border: 1px solid #26304F !important;
	border-radius: 6px; margin-top: 6px;
}
.woo-search .aws-search-result .aws_result_item,
.woo-search .aws-search-result .aws_result_item a { color: #fff !important; }
.woo-search .aws-search-result .aws_result_item { border-bottom: 1px solid #1E2C4E !important; }
.woo-search .aws-search-result .aws_result_item:hover { background: #0E1F45 !important; }
.woo-search .aws-search-result .aws_result_item .aws_result_price,
.woo-search .aws-search-result .aws_result_item .aws_result_sku { color: #44FFD1 !important; }

/* Repli : formulaire de recherche WooCommerce natif (si AWS absent) */
.woo-search form.woocommerce-product-search { display: flex; gap: 12px; width: 100%; }
.woo-search form.woocommerce-product-search input[type="search"] {
	flex: 1; background: #0E1F45; color: #fff; border: 1px solid #26304F;
	border-radius: 4px; padding: 14px 16px; font-size: 16px;
}
.woo-search form.woocommerce-product-search input[type="search"]::placeholder { color: #9AA3BB; }
.woo-search form.woocommerce-product-search button[type="submit"] {
	background: #44FFD1; color: #071233; border: none; border-radius: 4px;
	font-weight: 600; padding: 14px 26px; cursor: pointer;
}

/* -- Disposition : filtres à gauche, produits à droite -- */
.woo-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 44px; align-items: start; }
.woo-main { min-width: 0; }
.woo-main .woocommerce ul.products, .woo-main ul.products { grid-template-columns: repeat(3, 1fr) !important; }

/* Panneau "filtres actifs" HUSKY masqué : redondant avec les cases à cocher,
   et son libellé était déformé par le plugin de traduction automatique. */
.woof_products_top_panel { display: none !important; }

/* -- Colonne de filtres (HUSKY) -- */
.woo-sidebar { background: #0D1E44; border: 1px solid #1E2C4E; border-radius: 12px; padding: 24px; position: sticky; top: 20px; }
.woo-sidebar .woof { display: block; color: #fff; }
.woo-sidebar .woof > div, .woo-sidebar .woof .woof_container { margin: 0 0 22px !important; }
.woo-sidebar .woof > div:last-child { margin-bottom: 0 !important; }
.woo-sidebar .woof_container_inner > h4 {
	color: #fff; font-weight: 700; font-size: 14px; text-transform: none; letter-spacing: 0; margin: 0 0 12px;
}
.woo-sidebar ul.woof_list { list-style: none; margin: 0; padding: 0; }
.woo-sidebar ul.woof_list li { color: #dfe4f0; margin: 0 0 7px; }
.woo-sidebar label { color: #dfe4f0; }
.woo-sidebar input[type="text"], .woo-sidebar input[type="search"], .woo-sidebar select,
.woo-sidebar .woof_text_search_container input {
	width: 100%; background: #0B1A3C; color: #fff; border: 1px solid #26304F;
	border-radius: 4px; padding: 10px 12px; min-height: 42px;
}
.woo-sidebar input[type="checkbox"], .woo-sidebar input[type="radio"] { accent-color: #44FFD1; margin-right: 6px; }
/* curseur de prix (ion range slider) */
.woo-sidebar .irs-bar, .woo-sidebar .irs--flat .irs-bar { background: #44FFD1 !important; }
.woo-sidebar .irs-handle > i:first-child { background: #44FFD1 !important; }
.woo-sidebar .irs-from, .woo-sidebar .irs-to, .woo-sidebar .irs-single { background: #44FFD1 !important; color: #071233 !important; }
.woo-sidebar .irs-from:before, .woo-sidebar .irs-to:before, .woo-sidebar .irs-single:before { border-top-color: #44FFD1 !important; }
.woo-sidebar .irs-line { background: #26304F !important; }
.woo-sidebar .irs-min, .woo-sidebar .irs-max { color: #9AA3BB; background: transparent; }
/* boutons */
.woo-sidebar .woof input[type="submit"], .woo-sidebar .woof button,
.woo-sidebar .woof_submit_search_form_container input {
	background: #44FFD1 !important; color: #071233 !important; border: none;
	border-radius: 4px; font-weight: 600; padding: 10px 18px; cursor: pointer; width: 100%;
}
.woo-sidebar .woof_reset_search_form { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.4) !important; margin-top: 8px; }

@media (max-width: 980px) {
	.woo-layout { grid-template-columns: 1fr; gap: 28px; }
	.woo-sidebar { position: static; }
	.woo-main .woocommerce ul.products, .woo-main ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
	.woo-main .woocommerce ul.products, .woo-main ul.products { grid-template-columns: 1fr !important; }
	.woo-search form { flex-direction: column; }
}

/* ---- Fil d'Ariane WooCommerce ---- */
.woocommerce-breadcrumb {
	color: #9AA3BB;
	font-size: 14px;
	margin-bottom: 18px;
}
.woocommerce-breadcrumb a { color: #9AA3BB; }
.woocommerce-breadcrumb a:hover { color: #44FFD1; }

/* ---- Titres ---- */
.woo-page h1,
.woocommerce-products-header__title,
.woocommerce div.product .product_title {
	color: #fff;
	font-weight: 800;
	line-height: 1.1;
}
.woocommerce-products-header__title { font-size: 48px; margin-bottom: 20px; }

/* ---- Notices ---- */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-noreviews {
	background: #0E1F45;
	border-top: 3px solid #44FFD1;
	color: #fff;
	border-radius: 8px;
}
.woocommerce-info::before,
.woocommerce-message::before { color: #44FFD1; }
.woocommerce-error { border-top-color: #ff6b6b; }

/* ---- Barre outils : résultats + tri ---- */
.woocommerce-result-count { color: #9AA3BB; font-size: 15px; }
.woocommerce-ordering select {
	background: #0E1F45;
	color: #fff;
	border: 1px solid #26304F;
	border-radius: 4px;
	padding: 8px 14px;
}

/* =====================================================================
   GRILLE PRODUITS (listing)
   ===================================================================== */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 26px 0 40px;
	padding: 0;
	list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; display: none !important; }

.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	background: #fff;
	border-radius: 8px;
	padding: 16px;
	text-align: left;
	display: flex;
	flex-direction: column;
	position: relative;
}
.woocommerce ul.products li.product a img {
	width: 100%;
	border-radius: 6px;
	background: #EEF1F6;
	margin: 0 0 14px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: #071233;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	padding: 0 0 6px;
}
.woocommerce ul.products li.product .price {
	color: #071233;
	font-weight: 800;
	font-size: 19px;
	margin: auto 0 14px;
}
.woocommerce ul.products li.product .price del { color: #9AA3BB; font-weight: 400; margin-right: 8px; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.added_to_cart {
	background: #44FFD1;
	color: #071233;
	border-radius: 4px;
	font-weight: 600;
	font-size: 14px;
	text-align: center;
	padding: 11px 16px;
	width: 100%;
	margin: 0;
}
.woocommerce ul.products li.product a.added_to_cart {
	background: transparent;
	color: #071233;
	border: 1px solid #071233;
	margin-top: 8px;
}
.woocommerce span.onsale {
	background: #44FFD1;
	color: #071233;
	border-radius: 4px;
	font-weight: 700;
	min-height: auto;
	min-width: auto;
	line-height: 1;
	padding: 6px 10px;
	top: 12px;
	left: 12px;
	right: auto;
	margin: 0;
}

/* ---- Pagination ---- */
.woocommerce nav.woocommerce-pagination ul { border: none; display: flex; gap: 8px; justify-content: flex-start; }
.woocommerce nav.woocommerce-pagination ul li { border: none; margin: 0; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,.4);
	border-radius: 4px;
	padding: 10px 15px;
	min-width: 44px;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: #44FFD1;
	color: #071233;
	border-color: #44FFD1;
}

/* =====================================================================
   FICHE PRODUIT
   ===================================================================== */
/* Disposition fiche : image fixe (sticky) à gauche, tout le reste (titre, prix,
   stock, paiement, description) à droite qui défile. Les produits similaires
   sont sortis de div.product (hook PHP) pour passer en pleine largeur dessous :
   ainsi l'image se relâche proprement et ne passe jamais derrière. */
.woocommerce div.product {
	display: grid;
	grid-template-columns: 440px minmax(0, 1fr);
	grid-template-areas:
		"gallery summary"
		"gallery tabs";
	column-gap: 56px;
	row-gap: 36px;
	align-items: start;
}
.woocommerce div.product .summary { grid-area: summary; float: none; width: 100% !important; margin: 0; color: #fff; }
.woocommerce div.product .woocommerce-tabs { grid-area: tabs; margin: 0; }

.woocommerce div.product .woocommerce-product-gallery {
	grid-area: gallery;
	position: -webkit-sticky !important;
	position: sticky !important;
	top: 24px;
	align-self: start;
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	float: none;
	width: 100% !important;
	margin: 0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

/* Produits similaires : pleine largeur sous la fiche */
.woocommerce .related.products { clear: both; width: 100%; margin: 64px 0 0; }

/* Résumé : titre, prix, stock aérés */
.woocommerce div.product .product_title { font-size: 34px; line-height: 1.15; margin: 0 0 18px; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: #fff; font-weight: 800; font-size: 30px; margin: 0 0 2px; display: block; }
.woocommerce div.product p.price del,
.woocommerce div.product span.price del { color: #9AA3BB; font-weight: 400; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce .woocommerce-product-rating a.woocommerce-review-link { color: #9AA3BB; }
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before { color: #44FFD1; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #cfd6e6; margin: 20px 0 0; line-height: 1.6; }

/* Stock : badge détaché du titre/prix */
.woocommerce div.product .stock {
	display: inline-block; margin: 14px 0 0; padding: 5px 14px;
	border-radius: 20px; font-size: 13px; font-weight: 600; line-height: 1;
}
.woocommerce div.product .stock.in-stock { color: #0B3D2E; background: #44FFD1; }
.woocommerce div.product .stock.out-of-stock { color: #fff; background: #c0433f; }

/* Mobile : image en haut, pile verticale */
@media (max-width: 980px) {
	.woocommerce div.product {
		grid-template-columns: 1fr;
		grid-template-areas: "gallery" "summary" "tabs";
		row-gap: 28px;
	}
	.woocommerce div.product .woocommerce-product-gallery { position: static !important; top: auto; }
	.woocommerce div.product .product_title { font-size: 26px; }
	.woocommerce .related.products { margin-top: 40px; }
}

.woocommerce div.product form.cart { margin: 22px 0; }
.woocommerce div.product form.cart .quantity { margin-right: 12px; }
.woocommerce .quantity input.qty {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,.5);
	border-radius: 4px;
	height: 48px;
	width: 70px;
}
.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
	background: #44FFD1 !important;
	color: #071233 !important;
	border-radius: 4px;
	font-weight: 600;
	padding: 13px 26px;
	height: 48px;
}
.woocommerce div.product .product_meta { color: #9AA3BB; font-size: 14px; border-top: 1px solid #26304F; padding-top: 18px; margin-top: 8px; }
.woocommerce div.product .product_meta a { color: #cfd6e6; }
.woocommerce div.product .product_meta a:hover { color: #44FFD1; }

/* Onglets : barre de navigation masquée (on affiche directement la description) */
.woocommerce div.product .woocommerce-tabs ul.tabs { display: none; }
.woocommerce div.product .woocommerce-tabs .panel { margin-top: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: #26304F; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: none;
	border-radius: 0;
	margin: 0 40px 0 0;
	padding: 0 0 12px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: #9AA3BB; font-weight: 600; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom: 3px solid #44FFD1; }
.woocommerce div.product .woocommerce-tabs .panel { color: #cfd6e6; }
.woocommerce div.product .woocommerce-tabs .panel h2 { color: #fff; }

/* Produits liés / vente croisée */
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 { color: #fff; font-weight: 800; font-size: 28px; margin-bottom: 24px; }

/* =====================================================================
   BOUTONS génériques
   ===================================================================== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button {
	background: #44FFD1;
	color: #071233;
	border-radius: 4px;
	font-weight: 600;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt { background: #44FFD1; color: #071233; }
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: #2fe6bb; color: #071233; }

/* =====================================================================
   Produits sans prix : "Prix sur demande" + bouton "Nous consulter"
   ===================================================================== */
.price-sur-demande { font-style: italic; font-weight: 600; }
.woocommerce ul.products li.product .price .price-sur-demande { font-size: 16px; }
.woocommerce div.product .price-sur-demande { font-size: 22px; }

/* Carte boutique : bouton contour mint pour distinguer de l'achat */
.woocommerce ul.products li.product a.button.nous-consulter {
	background: #fff;
	color: #071233;
	border: 2px solid #44FFD1;
	padding: 9px 16px;
}
.woocommerce ul.products li.product a.button.nous-consulter:hover {
	background: #44FFD1;
	color: #071233;
}
/* Fiche produit : bouton plein mint */
.woocommerce a.button.nous-consulter--single {
	display: inline-block;
	background: #44FFD1;
	color: #071233;
	border-radius: 4px;
	font-weight: 600;
	font-size: 16px;
	padding: 13px 30px;
	margin-top: 6px;
}
.woocommerce a.button.nous-consulter--single:hover { background: #2fe6bb; color: #071233; }

/* =====================================================================
   PANIER
   ===================================================================== */
.woocommerce table.shop_table {
	background: #0E1F45;
	color: #fff;
	border: 1px solid #26304F;
	border-radius: 8px;
	border-collapse: separate;
}
.woocommerce table.shop_table th { color: #fff; }
.woocommerce table.shop_table td { border-top-color: #26304F; color: #dfe4f0; }
.woocommerce table.shop_table a { color: #fff; }
.woocommerce-cart table.cart img { border-radius: 6px; }
.cart_totals h2, .cart-collaterals h2, .cross-sells h2 { color: #fff; }
.woocommerce .cart-collaterals .cart_totals table.shop_table { background: #0E1F45; }
.woocommerce .wc-proceed-to-checkout a.checkout-button {
	background: #44FFD1;
	color: #071233;
	font-weight: 700;
}
.woocommerce .coupon input, .woocommerce #coupon_code {
	background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 4px;
}

/* =====================================================================
   TUNNEL DE COMMANDE (checkout)
   ===================================================================== */
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading { color: #fff; }
.woocommerce form .form-row label { color: #dfe4f0; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
	background: #0E1F45;
	color: #fff;
	border: 1px solid #26304F;
	border-radius: 4px;
	min-height: 44px;
	padding: 8px 12px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #fff; line-height: 28px; }
.woocommerce-checkout #payment { background: #0E1F45; border-radius: 8px; }
.woocommerce-checkout #payment ul.payment_methods { border-color: #26304F; }
.woocommerce-checkout #payment div.payment_box { background: #071233; color: #cfd6e6; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #071233; }
.woocommerce #payment #place_order,
.woocommerce-checkout #place_order {
	background: #44FFD1;
	color: #071233;
	font-weight: 700;
	border-radius: 4px;
	padding: 14px 28px;
}
.woocommerce-checkout .woocommerce-order-summary,
.woocommerce ul.order_details { color: #fff; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1050px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 30px; }
	.woocommerce-products-header__title { font-size: 34px; }
}
@media (max-width: 480px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: 1fr; }
}
