/*
	Theme Name: Elinor Child
	Theme URI: https://example.com
	Description: Child theme for Elinor
	Author: Tor
	Author URI: https://example.com
	Template: elinor
	Version: time()
	Text Domain: elinor
*/

:root {
	--main-color: #75a67e !important;
	--main-color-2: #2B2B2B !important;
}

#page .logo-image img {
	height: 60px;
}

/* Styles globaux pour les pages légales (scope: #ltg-page) */
#ltg-page {
	box-sizing: border-box;
	margin: 50px auto;
	padding: 50px 0;
	color: #222;
	line-height: 1.6;
	font-size: 16px;
	background: #fcfcfc;
}

/* H1 moins massif et espacé */
#ltg-page h1 {
	margin: 0 0 2.75rem 0;    /* supprime l'espace au-dessus, ajoute un petit espace dessous */
	font-size: 2.6rem;        /* taille réduite pour ne pas dominer */
	line-height: 1.15;
	font-weight: 700;
	color: var(--main-color);
}

/* H2 un peu plus petit et avec plus d'aération */
#ltg-page h2 {
	margin: 1.25rem 0 0.5rem 0; /* espace avant et après pour meilleure lecture */
	font-size: 1.05rem;         /* légèrement réduit */
	font-weight: 600;
	line-height: 1.3;
	color: var(--main-color);
}

/* Texte courant et listes */
#ltg-page p,
#ltg-page ul,
#ltg-page ol,
#ltg-page dl,
#ltg-page table {
	margin: 0 0 1rem 0;
	font-size: 0.98rem;
	color: var(--main-color-2);
}

/* Listes */
#ltg-page ul,
#ltg-page ol {
	padding-left: 1.25rem;
	list-style: none;
	border-left: 2px solid #e0e0e0;
}

/* Liens et emphase */
#ltg-page a {
	color: var(--main-color);
	text-decoration: underline;
}
#ltg-page strong {
	font-weight: 600;
}

/* Petite amélioration pour les formulaires/matrices textuelles (ex : formulaire de rétractation) */
#ltg-page input,
#ltg-page textarea {
	font: inherit;
	border: 1px solid #ddd;
	padding: 0.4rem 0.5rem;
	border-radius: 4px;
}

/* Responsive : plus d'espace sur grand écran */
@media (min-width: 1024px) {
	#ltg-page { padding: 40px; }
}

.header.style-03 .box-nav-vertical .block-title {
	background: var(--main-color-2) !important;
	color: #ffffff;
}

#menu-menu-principal a {
	color: #ffffff;
}

.woocommerce-products-header .term-description {
	margin-bottom: 10px;
	color: #ffffff;
	background: var(--main-color-2);
	border-top: 5px solid var(--main-color);
}

.woocommerce-products-header .category-description h2 {
	font-size: 32px;
	font-weight: bold;
/* 	color: var(--main-color); */
	color: #ffffff;
}

.button.yith-wcqv-button {
	display: none !important;
}
.yith-wcwl-add-to-wishlist,
.compare-button,
.quick-view-button {
	display: none !important;
}

#heade5r {
	background: var(--main-color) !important;
}

#main .woocommerce-products-header .term-description .category-description {
	background: var(--main-color-2) !important;
}


/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/

#header .header-top,
#header .header-mid,
#header .header-bot {
	border: none !important;
}

#header .header-top {
	background: var(--main-color-2) !important;
}
#header .header-top ul li a {
	color: #fff !important;
}

#header .header-mid {
	background: var(--main-color) !important;
}
#header .header-mid .header-control .header-info .item {
	background: var(--main-color-2) !important;
}

#header .header-bot {
	background: var(--main-color) !important;
}

/* Cacher la liste de catégories dans les suggestions FiboSearch */
.block-userlink.elinor-dropdown,
div.dgwt-wcas-search-wrapp .category .chosen-container-single, div.dgwt-wcas-search-wrapp .category, div.dgwt-wcas-search-wrapp .dgwt-wcas-preloader {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7 [type="submit"] {
	background: var(--main-color-2) !important;
}

.header-mobile .main.center-logo .inner .logo img {
	max-width: 250px;
}

.header-mobile .inner-control .block-minicart > a .icon > .count {
	background: var(--main-color);
	color: #ffffff;
}

@media (min-width: 768px) {
    div.dgwt-wcas-search-wrapp button.dgwt-wcas-search-submit {
        background: var(--main-color-2) !important;
    }
    .block-minicart.elinor-dropdown .icon.main-icon-e-cart {
    	background: var(--main-color-2);
    	color: #ffffff;
    }
    .block-minicart.elinor-dropdown .icon.main-icon-e-cart .count {
    	background: #ffffff;
    	color: var(--main-color-2);
    }
    .block-minicart.elinor-dropdown .text {
    	color: #ffffff;
    }
}



/* Bank payment thankyou - pure CSS responsive */
section.custom-woo-thankyou.order-bank-payment {
	border-radius:12px;
	border: 1px solid #dee2e6;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
section.custom-woo-thankyou.order-bank-payment .container,
section.custom-woo-thankyou.order-bank-payment { padding: 0; width:100%; margin:0 auto; }

section.custom-woo-thankyou .card { background:#fff; border-radius:12px; overflow:hidden; border:1px solid rgba(15,20,30,0.04); }

section.custom-woo-thankyou .card-head { padding:22px 24px; border-bottom:1px solid rgba(15,20,30,0.04); display:flex; flex-direction:column; gap:6px; }
section.custom-woo-thankyou .card-head h2 { display:flex; align-items:center; gap:12px; font-size:20px; margin:0; color:#0f1724; }
section.custom-woo-thankyou .card-head .muted { color:#556070; font-size:13px; margin:0; }

section.custom-woo-thankyou .icon-shield { width:34px; height:34px; fill:#0f1724; opacity:0.95; }

section.custom-woo-thankyou .card-body { padding:20px 24px; display:block; gap:18px; }

section.custom-woo-thankyou .summary-row { display:flex; gap:8px; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; margin-bottom:10px; }
section.custom-woo-thankyou .amount-block { width: 100%; background:linear-gradient(180deg,#fbfdff,#fff); border-radius:10px; padding:14px; border:1px solid rgba(14,20,30,0.03); }
section.custom-woo-thankyou .amount-label { font-size:13px; color:#667080; }
section.custom-woo-thankyou .amount-value { font-size:34px; font-weight:700; margin-top:6px; color:#0f1724; }
section.custom-woo-thankyou .order-ref { font-size:13px; color:#334155; margin-top:8px; }

section.custom-woo-thankyou .status-block { display:flex; align-items:flex-end; gap:8px; }
section.custom-woo-thankyou .status-pill { background:#eef2ff; color:#3730a3; padding:8px 12px; border-radius:8px; font-size:13px; border:1px solid rgba(99,102,241,0.08); }
section.custom-woo-thankyou .secure-badge { font-size:12px; background:linear-gradient(90deg,#e6f9f1,#e6f4ff); padding:8px 10px; border-radius:8px; color:#064e3b; border:1px solid rgba(6,78,59,0.06); }

section.custom-woo-thankyou .instructions { margin:14px 0; padding:14px; background:#fcfcff; border-left:4px solid #0ea5a4; border-radius:8px; color:#0f1724; }
section.custom-woo-thankyou .instructions p { margin: 0; }
section.custom-woo-thankyou .bank-list { list-style:none; padding:0; margin:10px 0 18px 0; display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:12px; }
section.custom-woo-thankyou .bank-item { background:#fff; border:1px solid rgba(15,20,30,0.04); padding:12px; border-radius:8px; }
section.custom-woo-thankyou .bank-name { font-weight:700; margin-bottom:6px; color:#0f1724; }
section.custom-woo-thankyou .bank-meta { font-size:13px; color:#475569; display:flex; flex-direction:column; gap:4px; }
section.custom-woo-thankyou .bank-meta strong { font-size: 16px; color: #E80E29 }

section.custom-woo-thankyou .payment-procedure { margin-top:12px; border-top:1px dashed rgba(15,20,30,0.04); padding-top:14px; }
section.custom-woo-thankyou .payment-procedure h3 { margin:0 0 8px 0; font-size:16px; color:#0f1724; }
section.custom-woo-thankyou .payment-procedure ol { margin:0 0 8px 20px; color:#374151; }
section.custom-woo-thankyou .payment-procedure ol li { margin-bottom:8px; font-size:14px; }

section.custom-woo-thankyou .safety-tips { margin-top:12px; padding:12px; background:#fffbf0; border-radius:8px; border:1px solid rgba(249,115,22,0.06); color:#92400e; }
section.custom-woo-thankyou .card-foot { padding:16px 24px; border-top:1px solid rgba(15,20,30,0.04); font-size:13px; color:#475569; }

@media (max-width:720px) {
	section.custom-woo-thankyou .summary-row { flex-direction:column; gap:12px; }
	section.custom-woo-thankyou .status-block { align-items:flex-start; }
	section.custom-woo-thankyou .card-head h2 { font-size:18px; }
}

/* Accessibility helpers */
section.custom-woo-thankyou.order-bank-payment a { color:#262626; font-weight:bold; }

@media (max-width: 767px) {
    .inner-control > * > a .icon {
    	background: #3F3C3C !important;
    }
}