/* ===== GO SOLIDAIRE — Moroccan premium identity ===== */
@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@500;600;700&family=Tajawal:wght@300;400;500;700&family=Cormorant+Garamond:wght@600;700&display=swap');
:root{--gs-blue:#163A5F;--gs-blue-d:#0F2A45;--gs-terra:#C1502E;--gs-terra-d:#9E3D1F;--gs-ivory:#F7F2E9;--gs-sand:#E4D5BE;--gs-olive:#5C6B3C;}
body{font-family:'Tajawal',sans-serif;color:#2c2c2c;}
h1,h2,h3,h4,.tp-section-title,.tp-section-title-2,.tp-section-title-4{font-family:'Cormorant Garamond','El Messiri',serif;letter-spacing:.2px;}
html[lang="ar"] h1,html[lang="ar"] h2,html[lang="ar"] h3,html[lang="ar"] h4,html[lang="ar"] [class*="section-title"]{font-family:'El Messiri','Tajawal',sans-serif!important;}
.tp-btn,.tp-btn-2,.tp-btn-border,button.tp-btn,.tp-hero-btn a,.tp-about-btn a{background-color:var(--gs-terra)!important;border-color:var(--gs-terra)!important;color:#fff!important;border-radius:6px!important;}
.tp-btn:hover,.tp-btn-2:hover,button.tp-btn:hover,.tp-about-btn a:hover{background-color:var(--gs-terra-d)!important;border-color:var(--gs-terra-d)!important;color:#fff!important;}
a:hover{color:var(--gs-terra);}
[class*="section-title-pre"],.tp-section-subtitle{color:var(--gs-terra)!important;}
.tp-product-item,.tp-product-item-2,[class*="product-item"]{border-radius:14px!important;overflow:hidden;}
/* ===== Footer: deep Moroccan blue, WCAG AA, all text light ===== */
footer,.tp-footer-area,.tp-footer-style-2,.tp-footer-3-area,.tp-footer-2-area{background-color:var(--gs-blue)!important;}
footer,.tp-footer-area,.tp-footer-area *,.tp-footer-widget *,footer p,footer li,footer span,footer address{color:#ECECEC!important;}
footer a,.tp-footer-area a{color:#ECECEC!important;transition:color .2s;}
footer a:hover,.tp-footer-area a:hover{color:var(--gs-terra)!important;}
.tp-footer-widget-title,footer h2,footer h3,footer h4,[class*="footer-widget-title"]{color:#FFFFFF!important;font-weight:600!important;font-size:1.15rem!important;margin-bottom:18px!important;}
footer svg,footer i,.tp-footer-area svg,.tp-footer-area i{color:#ECECEC!important;fill:currentColor!important;}
.tp-footer-talk span,.tp-footer-contact-content span,[class*="footer-contact"] span{color:var(--gs-terra)!important;}
.tp-footer-logo img{max-height:70px!important;width:auto!important;}
.tp-footer-top{padding:72px 0 48px!important;}
.tp-footer-col-4,.tp-footer-widget{margin-bottom:28px;}
.tp-footer-bottom-wrapper,.tp-footer-bottom{border-top:1px solid rgba(255,255,255,.15)!important;}
footer input,.tp-footer-area input,.tp-newsletter input{background:#fff!important;color:#222!important;border-radius:6px 0 0 6px!important;border:0!important;padding:12px 16px!important;}
footer button,.tp-newsletter button,.tp-footer-newsletter button{background:var(--gs-terra)!important;color:#fff!important;border:0!important;border-radius:0 6px 6px 0!important;}
html[dir="rtl"] footer input,html[dir="rtl"] .tp-newsletter input{border-radius:0 6px 6px 0!important;}
html[dir="rtl"] footer button,html[dir="rtl"] .tp-newsletter button{border-radius:6px 0 0 6px!important;}
/* ===== Impact / solidarity section ===== */
.gs-impact{background:var(--gs-ivory);padding:74px 16px;}
.gs-impact .gs-wrap{max-width:1180px;margin:0 auto;text-align:center;}
.gs-impact h2{color:var(--gs-blue);font-size:2.4rem;margin:0 0 14px;font-family:'El Messiri','Tajawal',sans-serif;}
.gs-impact .gs-sub{color:var(--gs-olive);max-width:780px;margin:0 auto 46px;font-size:1.1rem;line-height:1.95;}
.gs-stats{display:flex;flex-wrap:wrap;gap:22px;justify-content:center;}
.gs-stat{background:#fff;border:1px solid var(--gs-sand);border-radius:18px;padding:34px 26px;flex:1 1 230px;max-width:265px;box-shadow:0 10px 30px rgba(22,58,95,.07);}
.gs-stat .gs-num{font-family:'El Messiri',serif;font-size:2.6rem;font-weight:700;color:var(--gs-terra);line-height:1;}
.gs-stat .gs-label{color:var(--gs-blue);margin-top:12px;font-size:1.05rem;line-height:1.6;}
@media(max-width:600px){.gs-stat{flex:1 1 100%;max-width:100%;}.gs-impact h2{font-size:1.85rem;}}
/* ===== RTL polish ===== */
html[dir="rtl"] .tp-footer-widget,html[dir="rtl"] footer{text-align:right;}
html[dir="rtl"] .tp-about-wrapper{padding-left:0!important;padding-right:60px!important;}
html[dir="rtl"] .tp-about-content{padding-left:0!important;padding-right:120px!important;}
/* ===== POLISH PASS ===== */
.tp-slider-item-4{position:relative;}
.tp-slider-item-4::before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(270deg,rgba(15,42,69,.62) 0%,rgba(15,42,69,.30) 45%,rgba(15,42,69,0) 80%);}
html:not([dir='rtl']) .tp-slider-item-4::before{background:linear-gradient(90deg,rgba(15,42,69,.62) 0%,rgba(15,42,69,.30) 45%,rgba(15,42,69,0) 80%);}
.tp-slider-item-4 .container{position:relative;z-index:2;}
.tp-slider-item-4 [class*='slider-title']{color:#fff!important;text-shadow:0 2px 16px rgba(0,0,0,.45);}
.tp-slider-item-4 [class*='slider-subtitle'],.tp-slider-item-4 p{color:#F7F2E9!important;text-shadow:0 1px 10px rgba(0,0,0,.5);}
.tp-product-thumb,.tp-product-thumb-2,.tp-category-thumb-4{aspect-ratio:1/1;overflow:hidden;border-radius:12px;}
.tp-product-thumb img,.tp-product-thumb-2 img,.tp-category-thumb-4 img{width:100%!important;height:100%!important;object-fit:cover!important;}
.tp-footer-logo img{max-height:80px!important;margin-bottom:20px!important;}
footer p,.tp-footer-area p,.tp-footer-widget p{font-size:.96rem!important;line-height:1.95!important;color:#D9DEE5!important;}
.tp-footer-col-4,.tp-footer-widget{padding-inline:14px;}
.tp-footer-widget-title{margin-bottom:20px!important;letter-spacing:.3px;}

/* ===== FOOTER POLISH v2 ===== */
.tp-footer-logo img{max-height:88px!important;}
footer p,.tp-footer-area p,.tp-footer-widget p,.tp-footer-area li,.tp-footer-area span{color:#E8ECF1!important;font-size:1rem!important;line-height:2!important;}

/* ===== FOOTER FINAL POLISH ===== */
.tp-footer-top .row > [class*="col-"]{padding-left:22px!important;padding-right:22px!important;margin-bottom:30px;}
.tp-footer-widget{padding-inline:6px;}
.tp-footer-logo img{max-height:92px!important;margin-bottom:22px!important;}
footer p,.tp-footer-area p,.tp-footer-widget p{letter-spacing:.2px;color:#EEF1F5!important;line-height:2.05!important;}
.tp-footer-widget-title{margin-bottom:22px!important;}

/* ===== ABOUT — fix image/text overlap (landscape photos vs demo's stacked design) ===== */
.tp-about-area .tp-about-thumb-wrapper{position:relative;margin-inline:0 !important;}
.tp-about-area .tp-about-thumb-2{position:static !important;left:auto !important;right:auto !important;top:auto !important;bottom:auto !important;transform:none !important;margin-top:18px !important;width:100% !important;}
.tp-about-area .tp-about-thumb img,.tp-about-area .tp-about-thumb-2 img{width:100% !important;height:auto !important;display:block;border-radius:14px;}
.tp-about-area .tp-about-content{padding-left:0 !important;padding-right:0 !important;}

/* ===== ABOUT — une seule image (masquer la 2e) ===== */
.tp-about-area .tp-about-thumb-2{display:none !important;}
.tp-about-area .tp-about-thumb{width:100% !important;}
.tp-about-area .tp-about-thumb img{width:100% !important;height:auto !important;border-radius:16px;display:block;}

/* ===== FOOTER — icônes réseaux sociaux (lisibles sur fond bleu foncé) ===== */
.tp-footer-social{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;}
.tp-footer-social a{
  width:42px;height:42px;border-radius:50% !important;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.28) !important;
  box-shadow:none !important;transition:all .25s ease;
}
.tp-footer-social a svg,.tp-footer-social a i{
  color:#FFFFFF !important;fill:currentColor !important;
  width:18px !important;height:18px !important;
}
.tp-footer-social a:hover{
  background:var(--gs-terra,#C1502E) !important;
  border-color:var(--gs-terra,#C1502E) !important;
  transform:translateY(-2px);
}
.tp-footer-social a:hover svg,.tp-footer-social a:hover i{color:#FFFFFF !important;}

/* ===== FOOTER — icônes sociales : trait (stroke) au lieu de remplissage ===== */
.tp-footer-social a svg{
  fill:none !important;
  stroke:#FFFFFF !important;
  color:#FFFFFF !important;
  stroke-width:2 !important;
  width:18px !important;height:18px !important;
}
.tp-footer-social a:hover svg{stroke:#FFFFFF !important;fill:none !important;}

/* ===== FOOTER — icônes contact (adresse / téléphone / email) : trait visible ===== */
.tp-footer-contact-icon,.tp-footer-contact-icon span,.tp-footer-contact-item .tp-footer-contact-icon{color:var(--gs-terra,#C1502E) !important;}
.tp-footer-contact-icon svg,.tp-footer-contact-item svg,.tp-footer-talk svg{
  fill:none !important;
  stroke:currentColor !important;
  color:var(--gs-terra,#C1502E) !important;
  stroke-width:1.6 !important;
  width:18px !important;height:18px !important;
}
.tp-footer-contact-item{align-items:center !important;gap:10px;}

/* ===== ABOUT (AR / RTL) : image à GAUCHE, texte à DROITE (texte aligné à droite) ===== */
[dir="rtl"] .tp-about-area .row{direction:ltr !important;}
[dir="rtl"] .tp-about-area .tp-about-wrapper,
[dir="rtl"] .tp-about-area .tp-about-content,
[dir="rtl"] .tp-about-area .tp-section-title-wrapper-4,
[dir="rtl"] .tp-about-area .tp-about-btn{direction:rtl !important;text-align:right !important;}

/* ===== FEATURED — overlay sombre + texte blanc (lisible sur l'image) ===== */
.tp-featured-item{position:relative !important;overflow:hidden !important;border-radius:16px !important;}
.tp-featured-item::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(270deg,rgba(15,42,69,.85) 0%,rgba(15,42,69,.45) 52%,rgba(15,42,69,.10) 100%);}
body:not([dir="rtl"]) .tp-featured-item::before{
  background:linear-gradient(90deg,rgba(15,42,69,.85) 0%,rgba(15,42,69,.45) 52%,rgba(15,42,69,.10) 100%);}
.tp-featured-item .tp-featured-content{position:relative;z-index:2;}
.tp-featured-item .tp-featured-title a,.tp-featured-item .tp-featured-title,.tp-featured-item .tp-featured-price,.tp-featured-item .tp-featured-content span{color:#FFFFFF !important;}
.tp-featured-item .tp-featured-content h3,.tp-featured-item .tp-featured-content .tp-featured-price-wrapper{text-shadow:0 2px 12px rgba(0,0,0,.55);}

/* ===== FEATURED — split : image une moitié, texte l'autre (pas de superposition) ===== */
.tp-featured-item{position:relative !important;overflow:hidden !important;border-radius:16px !important;min-height:360px !important;background:#163A5F !important;padding:0 !important;}
.tp-featured-item::before{display:none !important;}
.tp-featured-item .tp-featured-thumb{position:absolute !important;top:0;bottom:0;left:0;right:auto;width:50%;z-index:0;background-size:cover !important;background-position:center !important;}
.tp-featured-item .tp-featured-content{position:absolute !important;top:50%;transform:translateY(-50%);right:0;left:auto;width:50%;max-width:50% !important;padding:26px 32px;z-index:2;box-sizing:border-box;}
.tp-featured-item .tp-featured-content,[dir="rtl"] .tp-featured-item .tp-featured-content{text-align:right;direction:rtl;}
body:not([dir="rtl"]) .tp-featured-item .tp-featured-content{text-align:left;direction:ltr;}
.tp-featured-item .tp-featured-title a,.tp-featured-item .tp-featured-title,.tp-featured-item .tp-featured-price,.tp-featured-item .tp-featured-content span{color:#FFFFFF !important;text-shadow:none !important;}
@media(max-width:575px){.tp-featured-item .tp-featured-thumb{width:100%;height:55%;bottom:auto;}.tp-featured-item .tp-featured-content{position:relative;top:auto;transform:none;width:100%;max-width:100% !important;margin-top:auto;}}
