/*
Theme Name: *       	Shoptimizer Enfant
Description: Theme enfant de *       	Shoptimizer. Vous pouvez maintenant effectuer vos modifications en toute sécurité.
Author: WPMarmite
Author URI: https://wpmarmite.com
Template: shoptimizer
Version: 1.0
*/

/*GENERAL*/
.read-more-state {display: none}
.read-more-target {opacity: 0;max-height: 0;font-size: 0;transition: .25s}
.read-more-state:checked ~ .read-more-wrap .read-more-target {opacity: 1;max-height: 999em}
.read-more-state ~ .read-more-trigger:before {content: 'Plus'}
.read-more-state:checked ~ .read-more-trigger:before {content: 'Moins'}
.read-more-trigger {cursor: pointer;display: block;padding: 0 .5em;color: white;font-size: 1em;border: 1px solid white;border-radius: .25em;width: 65px;margin: auto;text-align: center;background: #86bed0}
#mailpoet_form_6 {background:transparent!important}

/*HEADER*/
.header-4 .primary-navigation {top: 17px}
.sticky-d.header-4 .header-4-container, .main-navigation ul ul.sub-menu {background: white}
.site-header .custom-logo-link img {max-width: 100px}
.wc-proceed-to-checkout .button.checkout-button, .woocommerce-cart p.return-to-shop a, ul.products li.product .button, .cart .single_add_to_cart_button {color: white!important;background: #43454b!important}

/*PROFESSIONNELS*/
body.page-id-7203 .elementor-element.elementor-element-43984fc {padding: 0}
body.page-id-7203 .elementor-element.elementor-element-43984fc > .e-con-inner {margin: 0 auto;max-width: 2000px}

/*SINGLE ARTICLE*/
#tf-progress-bar{position:fixed;bottom:0;left:0;width:0%;height:5px;background:#8B7355;z-index:9999;transition:width .08s linear;pointer-events:none}
body.single-post .content-single h2 {color:#d8bf9e}
.tf-post-hero{position:relative;min-height:520px;display:flex;align-items:flex-end;background-color:#2C2218;background-size:cover;background-position:center center;background-repeat:no-repeat;overflow:hidden;}
.tf-post-hero__overlay{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.1) 0%,rgba(0,0,0,.55) 50%,rgba(0,0,0,.82) 100%);z-index:1;}
.tf-post-hero__content{position:relative;z-index:2;width:100%;max-width:1200px;margin:0 auto;padding:0 40px 56px;}
.tf-post-hero__cats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;}
.tf-post-hero__cat{display:inline-block;font-size:11px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:#D4C4A8;text-decoration:none;border-bottom:1px solid rgba(212,196,168,.45);padding-bottom:2px;transition:color .2s,border-color .2s;}
.tf-post-hero__cat:hover{color:#fff;border-color:rgba(255,255,255,.55);}
.tf-post-hero__title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(24px,4vw,52px);font-weight:400;line-height:1.18;color:#fff;margin:0 0 20px;text-shadow:0 2px 28px rgba(0,0,0,.6),0 1px 6px rgba(0,0,0,.45);max-width:820px;}
.tf-post-hero__meta{display:flex;align-items:center;gap:10px;font-size:13px;color:rgba(255,255,255,.7);}
.tf-post-hero__sep{opacity:.45;}
.tf-content-area{background:#fff;}
.tf-post-layout{display:grid;grid-template-columns:260px 1fr;gap:56px;max-width:1200px;margin:0 auto;padding:48px 40px 80px;align-items:start;}
.tf-toc-sidebar{align-self:start;position:sticky;top:100px;}
.tf-toc-inner{background:#F5F0E8;border-left:3px solid #8B7355;padding:22px 20px 26px;border-radius:0 3px 3px 0;}
.tf-toc-label{display:block;font-size:10px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:#8B7355;margin-bottom:16px;}
.tf-toc-list{list-style:none;margin:0;padding:0;}
.tf-toc-list li{margin-bottom:2px;}
.tf-toc-link{display:block;font-size:13px;color:#5C4A35;text-decoration:none;padding:6px 10px;border-left:2px solid transparent;border-radius:0 2px 2px 0;line-height:1.4;transition:all .15s ease;}
.tf-toc-link:hover{color:#2C2218;background:rgba(139,115,85,.09);border-left-color:#8B7355;}
.tf-toc-link.is-active{color:#2C2218;font-weight:500;background:rgba(59,90,58,.1);border-left-color:#3B5A3A;}
.tf-post-body .entry-header{display:none;}
.tf-post-body .post-thumbnail{display:none;}
.tf-post-body .entry-content{font-size:16px;line-height:1.78;color:#2C2218;}
.tf-post-body .entry-content p{margin-bottom:1.45em;}
.tf-post-body .entry-content a{color:#3B5A3A;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(59,90,58,.45);}
.tf-post-body .entry-content a:hover{color:#2C2218;text-decoration-color:rgba(44,34,24,.6);}
.tf-post-body .entry-content h2{font-family:Georgia,'Times New Roman',serif;font-size:22px;font-weight:400;color:#2C2218;margin:44px 0 16px;padding-bottom:10px;border-bottom:1px solid #E0D8CC;line-height:1.3;scroll-margin-top:90px;}
.tf-post-body .entry-content h3{font-family:Georgia,'Times New Roman',serif;font-size:18px;font-weight:400;color:#2C2218;margin:32px 0 12px;line-height:1.35;scroll-margin-top:90px;}
.tf-post-body .entry-content h4{font-size:15px;font-weight:500;color:#2C2218;margin:24px 0 10px;letter-spacing:.01em;}
.tf-post-body .entry-content ul,.tf-post-body .entry-content ol{padding-left:22px;margin-bottom:1.45em;}
.tf-post-body .entry-content li{margin-bottom:.55em;line-height:1.65;}
.tf-post-body .entry-content ul li::marker{color:#8B7355;}
.tf-post-body .entry-content blockquote{margin:36px 0;padding:20px 28px;background:#F5F0E8;border-left:4px solid #8B7355;font-family:Georgia,'Times New Roman',serif;font-size:16px;font-style:italic;color:#5C4A35;line-height:1.7;}
.tf-post-body .entry-content blockquote p{margin-bottom:0;}
.tf-post-body .entry-content img{display:block;max-width:500px;height:auto;margin:36px auto;border-radius:20px;}
.tf-post-body .entry-content figure{margin:36px 0;text-align:center;}
.tf-post-body .entry-content figcaption{font-size:12px;color:#8B7355;margin-top:8px;font-style:italic;text-align:center;}
.tf-post-body .entry-content table{width:100%;border-collapse:collapse;margin:36px 0;font-size:14px;border-radius:4px;overflow:hidden;border:1px solid #E0D8CC;}
.tf-post-body .entry-content thead{background:#2C2218;}
.tf-post-body .entry-content thead th{color:#F5F0E8;font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:13px;letter-spacing:.04em;text-align:left;padding:13px 18px;border:none;}
.tf-post-body .entry-content tbody tr:nth-child(even){background:#F5F0E8;}
.tf-post-body .entry-content tbody tr:nth-child(odd){background:#fff;}
.tf-post-body .entry-content tbody tr:hover{background:#EDE6D8;}
.tf-post-body .entry-content tbody td{padding:11px 18px;color:#2C2218;border-bottom:1px solid #E0D8CC;font-size:13px;line-height:1.5;vertical-align:top;}
.tf-post-body .entry-content tbody tr:last-child td{border-bottom:none;}
.tf-post-body .entry-content tfoot td,.tf-post-body .entry-content tfoot th{background:#F5F0E8;padding:11px 18px;font-size:13px;color:#5C4A35;border-top:2px solid #D4C4A8;}
.elementor-author-box{background:#2C2218;border-radius:6px;padding:28px 32px;display:flex;gap:24px;align-items:flex-start;margin-top:52px;}
.elementor-author-box__avatar{flex-shrink:0;}
.elementor-author-box__avatar img{width:76px;height:76px;border-radius:50%;border:3px solid #8B7355;display:block;object-fit:cover;}
.elementor-author-box__text{flex:1;min-width:0;}
.elementor-author-box__name{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:19px;color:#F5F0E8;margin:0 0 6px;line-height:1.3;}
.elementor-author-box__name a{color:#F5F0E8 !important;text-decoration:none;}
.elementor-author-box__name a:hover{color:#D4C4A8 !important;}
.elementor-author-box__bio{font-size:13px;color:#D4C4A8;line-height:1.75;margin:0;}

@media (max-width:1024px){
	.tf-post-layout{grid-template-columns:220px 1fr;gap:40px;padding:40px 28px 64px;}
}

@media (max-width:860px) {
	.tf-post-layout{grid-template-columns:1fr;gap:0;padding:32px 20px 56px;}
	.tf-toc-sidebar{position:static;margin-bottom:36px;}
	.tf-toc-inner{border-left-width:3px;}
	.tf-post-hero__content{padding:0 20px 40px;}
	.tf-post-hero{min-height:400px;}
}

@media (max-width:480px){
	.tf-post-hero{min-height:340px;}
	.tf-post-hero__title{font-size:24px;}
	.elementor-author-box{flex-direction:column;gap:16px;padding:22px 20px;}
	.tf-post-body .entry-content h2{font-size:19px;}
}