/* Aspectul primei pagini, aplicat pe restul site-ului WordPress (blog, shop, cursuri, contul meu).
   Se încarcă doar pe paginile WordPress, nu pe prima pagină (aceea are styles.css). */

/* 1. Culorile temei Thrive → culorile brandului. Thrive le definește în :root; :root:root are prioritate mai mare. */
:root:root{
  --tcb-theme-main-master-h:0;--tcb-theme-main-master-s:55%;--tcb-theme-main-master-l:50%;--tcb-theme-main-master-a:1;
  --tcb-main-master-h:0;--tcb-main-master-s:55%;--tcb-main-master-l:50%;--tcb-main-master-a:1;
  --tcb-skin-color-0:rgb(197,58,58);--tcb-skin-color-1:rgba(197,58,58,.5);--tcb-skin-color-2:rgb(247,241,237);
  --tcb-skin-color-3:rgb(31,42,68);--tcb-skin-color-4:rgb(31,42,68);--tcb-skin-color-5:rgb(96,102,118);
  --tcb-skin-color-8:rgba(197,58,58,.18);--tcb-skin-color-9:rgb(247,241,237);--tcb-skin-color-10:rgb(198,167,125);
  --tcb-skin-color-13:rgba(150,40,40,.5);--tcb-skin-color-14:rgb(232,216,207);--tcb-skin-color-16:rgb(96,102,118);
  --tcb-skin-color-18:rgba(197,58,58,.8);--tcb-skin-color-19:rgba(247,241,237,.85);--tcb-skin-color-20:rgba(247,241,237,.9);
  --tcb-skin-color-21:rgb(255,253,252);--tcb-skin-color-22:rgb(255,255,255);--tcb-skin-color-23:rgb(47,93,98);
  --tcb-skin-color-24:rgb(31,42,68);--tcb-skin-color-25:rgba(197,58,58,.04);--tcb-skin-color-26:rgba(197,58,58,.12);
  --tcb-skin-color-27:rgb(216,182,175);--tcb-skin-color-28:rgb(232,216,207);--tcb-skin-color-29:rgba(197,58,58,.4);
  --tcb-skin-color-30:rgba(197,58,58,.85);
  --ms-nude:#E8D8CF;--ms-navy:#1F2A44;--ms-red:#C53A3A;--ms-gold:#C6A77D;--ms-cream:#F7F1ED;--ms-white:#FFFDFC;
}

/* 2. Meniul și footer-ul Thrive sunt înlocuite cu cele de pe prima pagină. */
body.ms-brand #thrive-header,body.ms-brand #thrive-footer{display:none!important}

/* 3. Fonturi: Inter pentru text, DM Serif Display pentru titluri (găzduite în plugin, vezi fonts.css).
   Regula e mai puternică decât cea din ConsentMagic, care forțează Arial până la acordul pentru cookie-uri. */
html body.ms-brand #wrapper :is(p,li,a,div,td,th,label,input,select,textarea,button,blockquote,figcaption,strong,em,b),
html body.ms-brand .ms-header *,html body.ms-brand .ms-footer *{font-family:Inter,Arial,sans-serif!important}
html body.ms-brand #wrapper :is(h1,h2,h3,h4),html body.ms-brand #wrapper :is(h1,h2,h3,h4) *,
html body.ms-brand .ms-footer p{font-family:'DM Serif Display',Georgia,serif!important;font-weight:400!important}
html body.ms-brand #wrapper :is(h1,h2,h3,h4){color:var(--ms-navy)}
html body.ms-brand{background:var(--ms-white)}

/* 4. Butoanele WooCommerce (coș, comandă, contul meu) în culorile brandului. */
body.ms-brand .woocommerce :is(a.button,button.button,input.button,#respond input#submit),
body.ms-brand .woocommerce :is(a.button.alt,button.button.alt,input.button.alt){background:var(--ms-red);color:#fff;border-radius:0;font-weight:600}
body.ms-brand .woocommerce :is(a.button,button.button,input.button):hover{background:var(--ms-navy);color:#fff}

/* 5. Meniul (copiat din styles.css: .header, .nav, .menu-toggle) */
.ms-header{height:84px;padding:0 4.5vw;display:flex;align-items:center;justify-content:space-between;gap:32px;background:rgba(255,253,252,.94);backdrop-filter:blur(14px);position:sticky;top:0;z-index:9990;border-bottom:1px solid rgba(31,42,68,.08);color:var(--ms-navy);box-sizing:border-box}
.ms-header *{box-sizing:border-box}
body.admin-bar .ms-header{top:32px}
@media(max-width:782px){body.admin-bar .ms-header{top:46px}}
.ms-logo{display:block;line-height:0}
.ms-logo img{width:84px;height:auto;display:block;max-width:none}
.ms-nav{display:flex;align-items:center;gap:clamp(15px,2vw,31px);font-size:12px;font-weight:600;line-height:1.3}
.ms-nav a{position:relative;color:var(--ms-navy)!important;text-decoration:none!important}
.ms-nav a:after{content:'';position:absolute;left:0;right:100%;bottom:-7px;height:1px;background:var(--ms-red);transition:.25s}
.ms-nav a:hover:after,.ms-nav a:focus-visible:after{right:0}
.ms-nav .ms-nav-account{border:1px solid var(--ms-red);color:var(--ms-red)!important;padding:9px 13px}
.ms-nav .ms-nav-account:after{display:none}
.ms-cart-count{display:inline-block;min-width:18px;margin-left:4px;padding:1px 5px;border-radius:9px;background:var(--ms-red);color:#fff;font-size:10px;text-align:center}
.ms-menu-toggle{display:none;border:0;background:none;padding:8px 0;color:var(--ms-navy);font-size:14px;font-weight:600;cursor:pointer}
@media(min-width:1001px){.ms-header{height:90px;padding-inline:3vw;gap:22px}.ms-logo img{width:105px}.ms-nav{gap:clamp(9px,1.1vw,18px);font-size:10px;white-space:nowrap}}
@media(max-width:1000px){.ms-header{height:70px}.ms-logo img{width:88px}.ms-menu-toggle{display:block}
  .ms-nav{position:fixed;inset:70px 0 auto;background:var(--ms-white);display:none;padding:32px;flex-direction:column;align-items:stretch;gap:18px;font-size:15px;box-shadow:0 15px 25px rgba(31,42,68,.1)}
  .ms-nav.open{display:flex}.ms-nav .ms-nav-account{align-self:flex-start}
  body.admin-bar .ms-nav{top:calc(70px + 46px)}}
@media(max-width:620px){.ms-header{padding:0 20px}.ms-logo img{width:78px}}

/* 6. Footer (copiat din styles.css: footer, .footer-links) */
.ms-footer{padding:36px 5vw;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:12px;color:var(--ms-navy);background:var(--ms-white);border-top:1px solid rgba(31,42,68,.08)}
.ms-footer img{width:84px;height:auto;display:block}
.ms-footer p{font-style:italic;font-size:19px;margin:0}
.ms-footer-links{display:flex;flex-wrap:wrap;gap:8px 22px;justify-content:center}
.ms-footer-links a,.ms-footer-links button{font:inherit;color:inherit!important;background:none;border:0;padding:0;cursor:pointer;text-decoration:none!important}
/* Pe paginile WordPress cookie-urile le gestionează ConsentMagic, deci butonul nostru nu apare acolo. */
body.ms-brand .ms-footer [data-consent-open]{display:none}
.ms-footer-links a:hover,.ms-footer-links button:hover{color:var(--ms-red)!important}
@media(min-width:1001px){.ms-footer img{width:105px}}
@media(max-width:620px){.ms-footer{flex-direction:column;text-align:center}}
