/* Paideia Te Publică! CSS SAFE v1.0.1 — fără template-uri override; CSS + JS static. */
:root{
  --ptp-bg:#f7f0e5;--ptp-paper:#fffdf9;--ptp-soft:#fcf7ef;--ptp-ink:#2c211d;--ptp-muted:#6f6257;--ptp-line:#dcc7a6;--ptp-accent:#8e211c;--ptp-accent-dark:#6f1814;--ptp-gold:#c39655;--ptp-serif:Georgia,"Times New Roman",serif;--ptp-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif
}
html,body{background:var(--ptp-bg)!important;color:var(--ptp-ink)!important;font-family:var(--ptp-sans)!important;font-size:16px!important;line-height:1.6!important}
a{color:var(--ptp-accent)!important}a:hover{color:var(--ptp-accent-dark)!important}
h1,h2,h3,h4,.h1,.h2,.h3,.page-title{font-family:var(--ptp-serif)!important;color:var(--ptp-ink)!important;letter-spacing:-.02em!important}
body.ptp-ready #header{display:none!important}body.ptp-ready #footer,body.ptp-ready footer,body.ptp-ready .footer-container{display:none!important}
body.ptp-static-home #wrapper{display:none!important}.ptp-hidden{display:none!important}
#wrapper{background:linear-gradient(180deg,#fbf7f0 0,#f7f0e5 100%)!important;box-shadow:none!important}.container,#content-wrapper,#wrapper>.container,main>.container{max-width:1240px!important;margin-left:auto!important;margin-right:auto!important}
/* fallback dacă JS nu pornește */
#header{background:var(--ptp-paper)!important;border-bottom:1px solid var(--ptp-line)!important}#header .header-top{background:var(--ptp-paper)!important;padding:18px 0!important}#_desktop_logo a{display:block!important;width:320px!important;height:105px!important;background:url('../img/logo-paideia-te-publica.svg') left center/contain no-repeat!important}#_desktop_logo img,.logo img{opacity:0!important;width:1px!important;height:1px!important;position:absolute!important;overflow:hidden!important}.carousel,.homeslider-container,.pshomeslider,.banner,#banner,.ps_banner,.ps_bannercontainer,#custom-text,.custom-text,.featured-products,.new-products,.best-sales,.special-products,.products-section-title,.product-miniature,#products{display:none!important}
/* shell */
.ptp-shell{background:var(--ptp-paper);border-bottom:1px solid rgba(220,199,166,.8);position:relative;z-index:50}.ptp-topbar{height:38px;background:#f4eadb;border-bottom:1px solid rgba(220,199,166,.75)}.ptp-topbar-inner,.ptp-nav-inner,.ptp-home,.ptp-footer-inner{max-width:1240px;margin:0 auto;padding:0 22px;box-sizing:border-box}.ptp-topbar-inner{height:38px;display:flex;align-items:center;gap:32px}.ptp-topbar a{font-size:14px;text-decoration:none!important;color:#4c3a30!important}.ptp-topbar a:hover{color:var(--ptp-accent)!important}.ptp-nav{background:rgba(255,253,249,.98)}.ptp-nav-inner{min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:30px}.ptp-logo{display:flex;align-items:center;gap:18px;text-decoration:none!important;min-width:330px;color:#731d18!important}.ptp-logo img{width:82px;height:82px;object-fit:contain}.ptp-logo strong{display:block;font-family:var(--ptp-serif);font-size:36px;line-height:.96;letter-spacing:-.03em;color:#731d18}.ptp-menu{display:flex;align-items:center;justify-content:flex-end;gap:28px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.ptp-menu a{text-decoration:none!important;font-size:16px;font-weight:500;color:var(--ptp-ink)!important;padding:13px 0;border-bottom:3px solid transparent}.ptp-menu a:hover,.ptp-menu a.ptp-active{color:var(--ptp-accent)!important;border-bottom-color:var(--ptp-accent)}.ptp-menu-toggle{display:none;background:#fff;border:1px solid var(--ptp-line);border-radius:999px;padding:9px 14px;font-weight:700;color:var(--ptp-ink)}
/* homepage */
.ptp-home{padding-top:0;padding-bottom:42px}.ptp-hero{display:grid;grid-template-columns:1.05fr 1.12fr;background:var(--ptp-paper);border-bottom:1px solid rgba(220,199,166,.8);min-height:560px}.ptp-hero-copy{padding:64px 58px 58px 0;display:flex;flex-direction:column;justify-content:center}.ptp-hero h1{font-size:clamp(54px,5.4vw,86px)!important;line-height:.94!important;margin:0 0 24px!important;max-width:600px}.ptp-rule{width:292px;height:18px;margin:0 0 24px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='292' height='18' viewBox='0 0 292 18'%3E%3Cpath d='M1 9h116M175 9h116' stroke='%23c39655' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M146 2l5 7-5 7-5-7 5-7Z' fill='%23c39655'/%3E%3C/svg%3E")}.ptp-hero p{max-width:560px;margin:0;color:#51443a;font-size:17px;line-height:1.72}.ptp-actions{display:flex;gap:18px;flex-wrap:wrap;margin-top:34px}.ptp-btn{min-height:58px;display:inline-flex;align-items:center;justify-content:center;padding:0 25px;border-radius:8px;font-weight:800;text-decoration:none!important;text-transform:uppercase;letter-spacing:.01em}.ptp-btn-primary{background:linear-gradient(180deg,#8e211c,#7b1c18);color:#fff!important;border:1px solid #7b1c18;box-shadow:0 10px 24px rgba(142,33,28,.15)}.ptp-btn-secondary{background:#fffdf9;color:#8b5c29!important;border:1px solid #d7b989}.ptp-hero-img{margin:0;min-height:560px;overflow:hidden}.ptp-hero-img img{width:100%;height:100%;object-fit:cover;display:block}.ptp-section-title{text-align:center;margin:26px 0 22px}.ptp-section-title h2{font-size:clamp(34px,3.3vw,50px)!important;margin:0!important}.ptp-section-title:after{content:"";display:block;width:315px;height:18px;margin:10px auto 0;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='315' height='18' viewBox='0 0 315 18'%3E%3Cpath d='M1 9h125M190 9h124' stroke='%23d8c09a' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M158 2l5 7-5 7-5-7 5-7Z' fill='%23c39655'/%3E%3C/svg%3E")}.ptp-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.ptp-card{background:var(--ptp-paper);border:1px solid rgba(220,199,166,.85);border-radius:10px;box-shadow:0 10px 22px rgba(44,33,29,.045)}.ptp-step{position:relative;min-height:250px;text-align:center;padding:34px 22px 25px}.ptp-no{position:absolute;left:18px;top:18px;width:36px;height:36px;border-radius:50%;background:var(--ptp-accent);color:#fff;display:grid;place-items:center;font-weight:800;font-size:18px}.ptp-ico{font-size:46px;color:var(--ptp-gold);line-height:1;margin:20px 0 15px}.ptp-step h3{font-size:22px!important;line-height:1.1!important;margin:0 0 12px!important}.ptp-step p{font-size:15px;line-height:1.58;color:#5f5248;margin:0}.ptp-grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.ptp-panel{padding:28px 30px}.ptp-panel h2{text-align:center;font-size:28px!important;margin:0 0 21px!important}.ptp-types{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.ptp-types div{text-align:center;padding:8px 12px;border-right:1px solid rgba(220,199,166,.75)}.ptp-types div:last-child{border-right:0}.ptp-types span{display:block;color:#9d4e35;font-size:36px;line-height:1;margin-bottom:10px}.ptp-types strong{font-family:var(--ptp-serif);font-size:18px;line-height:1.2}.ptp-panel .ptp-note{text-align:center;color:#5f5248;margin:18px 0 0}.ptp-checks{display:grid;grid-template-columns:1fr 1fr;gap:12px 28px;list-style:none;margin:0;padding:0}.ptp-checks li{position:relative;padding-left:28px;color:#4f443a}.ptp-checks li:before{content:'✓';position:absolute;left:0;color:var(--ptp-gold);font-weight:900}.ptp-calc{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px;margin-top:20px;padding:20px 26px}.ptp-calc-ico{width:66px;height:66px;border-radius:50%;border:2px solid #d7b989;display:grid;place-items:center;font-size:32px;color:#a86f32}.ptp-calc h2{font-size:21px!important;margin:0 0 3px!important}.ptp-calc p{margin:0;color:#65584e}.ptp-quote{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;margin-top:20px;padding:20px 26px}.ptp-arrow{width:44px;height:44px;border-radius:50%;border:1px solid #d7b989;background:#fff;color:#8b5c29;font-size:24px;display:grid;place-items:center}.ptp-quote blockquote{margin:0;text-align:center;font-family:var(--ptp-serif);font-size:19px;line-height:1.55;color:#5b4a3f}.ptp-quote cite{display:block;margin-top:10px;font-style:normal;font-size:15px;color:#7c5940}.ptp-final{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:26px;margin-top:20px;padding:26px 32px;background:linear-gradient(90deg,#78130f,#9b1f18 55%,#78130f);color:#fff}.ptp-final *{color:#fff!important}.ptp-final .ptp-final-ico{width:72px;height:72px;border-radius:50%;border:2px solid rgba(255,255,255,.55);display:grid;place-items:center;font-size:38px}.ptp-final h2{font-size:36px!important;line-height:1.05!important;margin:0 0 4px!important}.ptp-final p{margin:0;color:rgba(255,255,255,.88)!important}.ptp-final .ptp-btn{background:#fff!important;color:#831813!important;border-color:#fff!important;min-width:240px}.ptp-footer{background:var(--ptp-paper);border-top:1px solid rgba(220,199,166,.8);padding:24px 0}.ptp-footer-inner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px}.ptp-footer-logo{display:flex;align-items:center;gap:12px;text-decoration:none!important}.ptp-footer-logo img{width:52px;height:52px}.ptp-footer-logo strong{font-family:var(--ptp-serif);font-size:21px;line-height:.96;color:#731d18}.ptp-footer p{margin:0;color:#5e5247;justify-self:center}.ptp-footer-links{display:flex;gap:22px;flex-wrap:wrap}.ptp-footer-links a{font-size:14px;color:#5e5247!important;text-decoration:none!important}
/* pagini modul selfpublishing */
body[class*="module-selfpublishing"] #wrapper{display:block!important;background:#f7f0e5!important;padding:28px 0 44px!important}.sp-page,.selfpub-v2013,#selfpublishing-home,.spv13-wrap,body[class*="module-selfpublishing"] #content{max-width:1240px!important;margin:0 auto!important;padding:0 22px!important;box-sizing:border-box!important;text-align:left!important}.sp-page .sp-page-hero,.sp-page .sp-hero,.selfpub-v2013 .spv13-hero{background:var(--ptp-paper)!important;border:1px solid rgba(220,199,166,.85)!important;border-radius:0!important;padding:48px 56px!important;margin-bottom:22px!important;box-shadow:none!important}.sp-page .sp-page-hero h1,.sp-page .sp-hero h1,.selfpub-v2013 .spv13-hero h1{font-size:clamp(42px,4.6vw,72px)!important;line-height:.98!important;margin:0 0 16px!important}.sp-page .sp-lead,.selfpub-v2013 .spv13-lead{font-size:17px!important;line-height:1.7!important;color:#54473b!important;max-width:820px}.sp-page .sp-card,.sp-page .sp-form-card,.sp-page .sp-side-card,.sp-page .sp-dashboard-card,.sp-page .sp-table-card,.sp-page .sp-message-card,.selfpub-v2013 .spv13-section,.selfpub-v2013 .spv13-benefit,.selfpub-v2013 .spv13-step,.selfpub-v2013 .spv13-mini,.selfpub-v2013 .spv13-video-card,.selfpub-v2013 .spv13-calculator,.selfpub-v2013 .spv13-message,.selfpub-v2013 .spv13-final{background:var(--ptp-paper)!important;border:1px solid rgba(220,199,166,.85)!important;border-radius:10px!important;box-shadow:0 10px 22px rgba(44,33,29,.045)!important}.sp-page input,.sp-page textarea,.sp-page select,.selfpub-v2013 input,.selfpub-v2013 textarea,.selfpub-v2013 select{border:1px solid #d8c7aa!important;border-radius:8px!important;background:#fffdf9!important;min-height:48px!important;box-shadow:none!important}.sp-page textarea,.selfpub-v2013 textarea{min-height:140px!important}.sp-page .btn,.selfpub-v2013 .btn,.spv13-btn{min-height:54px!important;border-radius:8px!important;text-transform:none!important;font-weight:800!important}.spv13-btn,.sp-page .btn-primary,.selfpub-v2013 .btn-primary{background:linear-gradient(180deg,#8e211c,#7b1c18)!important;color:#fff!important;border-color:#7b1c18!important}.spv13-btn-secondary,.sp-page .btn-secondary,.selfpub-v2013 .btn-secondary{background:#fffdf9!important;color:#8b5c29!important;border:1px solid #d7b989!important}
@media(max-width:1050px){.ptp-nav-inner{min-height:90px}.ptp-logo{min-width:auto}.ptp-logo strong{font-size:30px}.ptp-menu{gap:16px}.ptp-hero{grid-template-columns:1fr}.ptp-hero-copy{padding:44px 30px 34px}.ptp-hero-img{min-height:420px}.ptp-steps{grid-template-columns:repeat(2,1fr)}.ptp-grid2{grid-template-columns:1fr}.ptp-footer-inner{grid-template-columns:1fr;text-align:center}.ptp-footer p{justify-self:center}.ptp-footer-links{justify-content:center}}
@media(max-width:760px){.ptp-topbar-inner{justify-content:center;flex-wrap:wrap;height:auto;min-height:38px;padding-top:6px;padding-bottom:6px}.ptp-nav-inner{min-height:78px}.ptp-logo img{width:58px;height:58px}.ptp-logo strong{font-size:24px}.ptp-menu-toggle{display:inline-flex}.ptp-menu{display:none;position:absolute;left:0;right:0;top:100%;background:var(--ptp-paper);border-bottom:1px solid var(--ptp-line);padding:14px 22px;flex-direction:column;align-items:flex-start}.ptp-menu-open .ptp-menu{display:flex}.ptp-home{padding-left:12px;padding-right:12px}.ptp-hero h1{font-size:52px!important}.ptp-steps{grid-template-columns:1fr}.ptp-types{grid-template-columns:repeat(2,1fr)}.ptp-types div:nth-child(2){border-right:0}.ptp-checks{grid-template-columns:1fr}.ptp-calc,.ptp-quote,.ptp-final{grid-template-columns:1fr;text-align:center}.ptp-final .ptp-btn{width:100%}.sp-page .sp-page-hero,.sp-page .sp-hero,.selfpub-v2013 .spv13-hero{padding:34px 24px!important}.sp-page,.selfpub-v2013,#selfpublishing-home,.spv13-wrap,body[class*="module-selfpublishing"] #content{padding:0 12px!important}}


/* =========================================================
   Rafinări v1.0.2 — pagini modul și experiență academică
   ========================================================= */
body.ptp-ready {
  background: linear-gradient(180deg,#fbf7f0 0,#f7f0e5 100%) !important;
}
body.ptp-ready #wrapper {
  border-top: 1px solid rgba(220,199,166,.65);
}
body.ptp-ready:not(.ptp-static-home) #wrapper {
  padding-top: 32px !important;
  padding-bottom: 44px !important;
}
body.ptp-module-page #wrapper {
  display: block !important;
  background: linear-gradient(180deg,#fbf7f0 0,#f7f0e5 100%) !important;
}
body.ptp-module-page #wrapper > .container,
body.ptp-module-page #content-wrapper,
body.ptp-module-page #main,
body.ptp-module-page #content {
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
body.ptp-module-page #content-wrapper {
  padding-left: 22px !important;
  padding-right: 22px !important;
}
body.ptp-module-page .breadcrumb,
body.ptp-ready .breadcrumb {
  background: transparent !important;
  border: 0 !important;
  color: #7b6e62 !important;
  font-size: 13px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

/* Ascunderi mai ferme pentru cromatica de magazin classic */
body.ptp-ready #_desktop_top_menu,
body.ptp-ready #_mobile_top_menu_wrapper,
body.ptp-ready #search_widget,
body.ptp-ready .search-widget,
body.ptp-ready #_desktop_cart,
body.ptp-ready #_mobile_cart,
body.ptp-ready .blockcart,
body.ptp-ready #products,
body.ptp-ready .featured-products,
body.ptp-ready .new-products,
body.ptp-ready .best-sales,
body.ptp-ready .special-products,
body.ptp-ready .products,
body.ptp-ready .product-miniature,
body.ptp-ready .products-section-title,
body.ptp-ready .carousel,
body.ptp-ready .pshomeslider,
body.ptp-ready .homeslider-container,
body.ptp-ready .banner,
body.ptp-ready #banner,
body.ptp-ready .ps_banner,
body.ptp-ready #custom-text,
body.ptp-ready .custom-text {
  display: none !important;
}

/* Header mai elegant */
.ptp-shell {
  box-shadow: 0 4px 22px rgba(44,33,29,.045);
}
.ptp-topbar-inner::after {
  content: 'Grupul Editorial Paideia';
  margin-left: auto;
  color: #7b6e62;
  font-size: 13px;
}
.ptp-menu a[href*="trimite-manuscrisul"] {
  color: var(--ptp-accent) !important;
  font-weight: 700;
}

/* Modul selfpublishing: cadru comun */
body.ptp-module-page .sp-page,
body.ptp-module-page .selfpub-v2013,
body.ptp-module-page #selfpublishing-home,
body.ptp-module-page .spv13-wrap,
body.ptp-module-page .sp-paideia-home {
  max-width: 1200px !important;
  margin: 0 auto 48px !important;
  padding: 0 !important;
  color: var(--ptp-ink) !important;
}
body.ptp-module-page .page-header,
body.ptp-module-page .page-title,
body.ptp-module-page h1.page-title {
  display: none !important;
}
body.ptp-module-page h1,
body.ptp-module-page h2,
body.ptp-module-page h3 {
  font-family: var(--ptp-serif) !important;
  color: var(--ptp-ink) !important;
  letter-spacing: -.02em !important;
}

/* Hero pagini modul */
body.ptp-module-page .sp-hero,
body.ptp-module-page .sp-page-hero,
body.ptp-module-page .selfpub-v2013 .spv13-hero,
body.ptp-module-page #selfpublishing-home .sp-hero {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(90deg,#fffdf9 0%,#fffdf9 50%,#f7ead8 100%) !important;
  border: 1px solid rgba(220,199,166,.9) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 54px 58px !important;
  margin: 0 0 22px !important;
}
body.ptp-module-page .sp-hero::after,
body.ptp-module-page .sp-page-hero::after,
body.ptp-module-page .selfpub-v2013 .spv13-hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 44%;
  background: linear-gradient(90deg,rgba(255,253,249,.92),rgba(255,253,249,.08)), url('../img/hero-book-pen.jpg') center / cover no-repeat;
  opacity: .95;
  pointer-events: none;
}
body.ptp-module-page .sp-hero-inner,
body.ptp-module-page .sp-page-hero > *,
body.ptp-module-page .selfpub-v2013 .spv13-hero > * {
  position: relative !important;
  z-index: 2 !important;
  max-width: 700px !important;
}
body.ptp-module-page .sp-eyebrow,
body.ptp-module-page .selfpub-v2013 .spv13-eyebrow {
  display: inline-block !important;
  padding: 0 !important;
  margin: 0 0 13px !important;
  background: transparent !important;
  color: var(--ptp-accent) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}
body.ptp-module-page .sp-hero h1,
body.ptp-module-page .sp-page-hero h1,
body.ptp-module-page .selfpub-v2013 .spv13-hero h1 {
  font-size: clamp(44px,4.8vw,72px) !important;
  line-height: .98 !important;
  max-width: 700px !important;
  margin: 0 0 18px !important;
}
body.ptp-module-page .sp-hero h1::after,
body.ptp-module-page .sp-page-hero h1::after,
body.ptp-module-page .selfpub-v2013 .spv13-hero h1::after {
  content: '';
  display: block;
  width: 250px;
  height: 18px;
  margin: 22px 0 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='18' viewBox='0 0 250 18'%3E%3Cpath d='M1 9h92M157 9h92' stroke='%23c39655' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M125 2l5 7-5 7-5-7 5-7Z' fill='%23c39655'/%3E%3C/svg%3E");
}
body.ptp-module-page .sp-lead,
body.ptp-module-page .selfpub-v2013 .spv13-lead,
body.ptp-module-page .sp-hero p {
  font-size: 17px !important;
  line-height: 1.72 !important;
  color: #51443a !important;
  max-width: 640px !important;
}

/* Butoane modul */
body.ptp-module-page .sp-btn,
body.ptp-module-page .spv13-btn,
body.ptp-module-page .btn.btn-primary,
body.ptp-module-page button[type="submit"],
body.ptp-module-page input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 54px !important;
  padding: 0 24px !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg,#8e211c,#7b1c18) !important;
  border: 1px solid #7b1c18 !important;
  color: #fff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(142,33,28,.12) !important;
}
body.ptp-module-page .sp-btn-secondary,
body.ptp-module-page .spv13-btn-secondary,
body.ptp-module-page .btn.btn-secondary {
  background: #fffdf9 !important;
  color: #8b5c29 !important;
  border: 1px solid #d7b989 !important;
  box-shadow: none !important;
}

/* Carduri și grile modul */
body.ptp-module-page .sp-card,
body.ptp-module-page .sp-message-card,
body.ptp-module-page .sp-form-card,
body.ptp-module-page .sp-side-card,
body.ptp-module-page .sp-dashboard-card,
body.ptp-module-page .sp-table-card,
body.ptp-module-page .sp-message-card,
body.ptp-module-page .sp-upload-box,
body.ptp-module-page .sp-upload-soft,
body.ptp-module-page .sp-consent-box,
body.ptp-module-page .selfpub-v2013 .spv13-section,
body.ptp-module-page .selfpub-v2013 .spv13-benefit,
body.ptp-module-page .selfpub-v2013 .spv13-step,
body.ptp-module-page .selfpub-v2013 .spv13-mini,
body.ptp-module-page .selfpub-v2013 .spv13-video-card,
body.ptp-module-page .selfpub-v2013 .spv13-calculator,
body.ptp-module-page .selfpub-v2013 .spv13-message,
body.ptp-module-page .selfpub-v2013 .spv13-final {
  background: var(--ptp-paper) !important;
  border: 1px solid rgba(220,199,166,.85) !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 22px rgba(44,33,29,.045) !important;
}
body.ptp-module-page .sp-card,
body.ptp-module-page .sp-form-card,
body.ptp-module-page .sp-side-card,
body.ptp-module-page .sp-dashboard-card,
body.ptp-module-page .sp-table-card,
body.ptp-module-page .sp-message-card {
  padding: 24px !important;
  margin-bottom: 20px !important;
}
body.ptp-module-page .sp-message-card-accent,
body.ptp-module-page .sp-highlight,
body.ptp-module-page .sp-dashboard-card-primary {
  background: linear-gradient(180deg,#8e211c,#751915) !important;
  color: #fff !important;
  border-color: #751915 !important;
}
body.ptp-module-page .sp-message-card-accent *,
body.ptp-module-page .sp-highlight *,
body.ptp-module-page .sp-dashboard-card-primary * {
  color: #fff !important;
}
body.ptp-module-page .sp-step-number,
body.ptp-module-page .sp-dashboard-icon {
  background: var(--ptp-accent) !important;
  color: #fff !important;
  border-radius: 999px !important;
}

/* Formular Trimite manuscrisul */
body.ptp-module-page form .form-group label,
body.ptp-module-page .sp-page label,
body.ptp-module-page .selfpub-v2013 label {
  color: #3d3129 !important;
  font-weight: 700 !important;
  margin-bottom: 7px !important;
}
body.ptp-module-page .form-control,
body.ptp-module-page input[type="text"],
body.ptp-module-page input[type="email"],
body.ptp-module-page input[type="number"],
body.ptp-module-page input[type="tel"],
body.ptp-module-page input[type="file"],
body.ptp-module-page select,
body.ptp-module-page textarea {
  min-height: 48px !important;
  border: 1px solid #d8c7aa !important;
  background: #fffdf9 !important;
  border-radius: 8px !important;
  color: var(--ptp-ink) !important;
  box-shadow: none !important;
}
body.ptp-module-page textarea { min-height: 140px !important; }
body.ptp-module-page .help-block,
body.ptp-module-page .sp-note,
body.ptp-module-page .sp-muted {
  color: #75675d !important;
  font-size: 13px !important;
}
body.ptp-module-page .sp-choice-grid,
body.ptp-module-page .sp-services-grid {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 12px !important;
}
body.ptp-module-page .sp-choice-grid label,
body.ptp-module-page .sp-services-grid label {
  padding: 14px 16px !important;
  border: 1px solid rgba(220,199,166,.85) !important;
  border-radius: 8px !important;
  background: #fffdf9 !important;
  font-weight: 600 !important;
}
body.ptp-module-page .sp-checklist,
body.ptp-module-page .sp-checks,
body.ptp-module-page .sp-summary-list {
  list-style: none !important;
  padding-left: 0 !important;
}
body.ptp-module-page .sp-checklist li,
body.ptp-module-page .sp-checks li,
body.ptp-module-page .sp-summary-list li {
  position: relative !important;
  padding-left: 26px !important;
  margin-bottom: 9px !important;
}
body.ptp-module-page .sp-checklist li::before,
body.ptp-module-page .sp-checks li::before,
body.ptp-module-page .sp-summary-list li::before {
  content: '✓' !important;
  position: absolute !important;
  left: 0 !important;
  color: var(--ptp-gold) !important;
  font-weight: 900 !important;
}

/* Calculator */
body.ptp-module-page .sp-calculator,
body.ptp-module-page .selfpub-v2013 .spv13-calculator {
  padding: 30px !important;
}
body.ptp-module-page .sp-result,
body.ptp-module-page .spv13-result,
body.ptp-module-page .sp-calc-result {
  background: linear-gradient(180deg,#fffdf9,#fbf3e7) !important;
  border: 1px solid rgba(220,199,166,.9) !important;
  border-radius: 10px !important;
  padding: 22px !important;
}
body.ptp-module-page .sp-result strong,
body.ptp-module-page .spv13-result strong,
body.ptp-module-page .sp-calc-result strong {
  color: var(--ptp-accent) !important;
  font-size: 28px !important;
  font-family: var(--ptp-serif) !important;
}

/* Publicările mele */
body.ptp-module-page table,
body.ptp-module-page .table {
  width: 100% !important;
  background: var(--ptp-paper) !important;
  border: 1px solid rgba(220,199,166,.85) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
body.ptp-module-page table th,
body.ptp-module-page .table th {
  background: #f3eadc !important;
  color: #4b3e34 !important;
  font-weight: 800 !important;
  border-bottom: 1px solid rgba(220,199,166,.85) !important;
}
body.ptp-module-page table td,
body.ptp-module-page .table td {
  border-top: 1px solid rgba(220,199,166,.45) !important;
}
body.ptp-module-page .badge,
body.ptp-module-page .label {
  border-radius: 999px !important;
  padding: 6px 10px !important;
  background: #efe1cd !important;
  color: #6f1b17 !important;
}

@media(max-width: 960px){
  body.ptp-module-page .sp-hero::after,
  body.ptp-module-page .sp-page-hero::after,
  body.ptp-module-page .selfpub-v2013 .spv13-hero::after { opacity: .18; width: 100%; }
  body.ptp-module-page .sp-hero,
  body.ptp-module-page .sp-page-hero,
  body.ptp-module-page .selfpub-v2013 .spv13-hero { padding: 38px 28px !important; }
  body.ptp-module-page .sp-choice-grid,
  body.ptp-module-page .sp-services-grid { grid-template-columns: 1fr !important; }
  .ptp-topbar-inner::after { display:none; }
}
@media(max-width: 680px){
  body.ptp-module-page #content-wrapper { padding-left: 12px !important; padding-right: 12px !important; }
  body.ptp-module-page .sp-hero h1,
  body.ptp-module-page .sp-page-hero h1,
  body.ptp-module-page .selfpub-v2013 .spv13-hero h1 { font-size: 42px !important; }
  body.ptp-module-page .sp-card,
  body.ptp-module-page .sp-form-card,
  body.ptp-module-page .sp-side-card,
  body.ptp-module-page .sp-dashboard-card,
  body.ptp-module-page .sp-table-card,
  body.ptp-module-page .sp-message-card { padding: 18px !important; }
}


/* ===== v1.0.3 — rafinare academică, mai curată și mai stabilă ===== */

/* ascundere mai strictă a cromaticii de magazin classic */
body.ptp-ready #header > .header-nav,
body.ptp-ready #header > .header-top,
body.ptp-ready .header-top,
body.ptp-ready .header-nav,
body.ptp-ready #_desktop_user_info,
body.ptp-ready #_desktop_contact_link,
body.ptp-ready #_desktop_cart,
body.ptp-ready #_desktop_currency_selector,
body.ptp-ready #_desktop_language_selector,
body.ptp-ready #_desktop_logo,
body.ptp-ready #_desktop_top_menu,
body.ptp-ready .top-menu,
body.ptp-ready .menu,
body.ptp-ready #search_widget,
body.ptp-ready .search-widget {
  display: none !important;
}

body.ptp-ready:not(.ptp-static-home) #wrapper {
  padding-top: 34px !important;
}

/* bara de sus devine mai discretă și editorială */
.ptp-topbar {
  border-bottom: 1px solid rgba(210,188,153,.78) !important;
  background: #f7efe3 !important;
}
.ptp-topbar-inner {
  max-width: 1240px !important;
  min-height: 34px !important;
  padding: 0 22px !important;
}
.ptp-topbar-inner a {
  font-size: 13px !important;
  letter-spacing: .015em !important;
  text-decoration: none !important;
}

/* header mai apropiat de mockup */
.ptp-nav {
  background: rgba(255,253,249,.97) !important;
  border-bottom: 1px solid rgba(210,188,153,.72) !important;
  box-shadow: 0 7px 24px rgba(45,34,29,.055) !important;
}
.ptp-nav-inner {
  max-width: 1240px !important;
  min-height: 92px !important;
  padding: 0 22px !important;
}
.ptp-logo {
  gap: 14px !important;
  text-decoration: none !important;
}
.ptp-logo img {
  width: 92px !important;
  height: auto !important;
}
.ptp-logo strong {
  font-size: 31px !important;
  line-height: .94 !important;
  color: #751f1a !important;
  letter-spacing: -.025em !important;
}
.ptp-menu {
  gap: 20px !important;
}
.ptp-menu a {
  color: #2c211d !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  padding: 34px 0 12px !important;
  border-bottom: 3px solid transparent !important;
  text-decoration: none !important;
}
.ptp-menu a:hover,
.ptp-menu a.ptp-active {
  color: #8e211c !important;
  border-bottom-color: #8e211c !important;
}

/* homepage: spațiere mai elegantă, fără aer de banner comercial */
.ptp-home {
  max-width: 1240px !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
}
.ptp-hero {
  margin-top: 0 !important;
  border-radius: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
  background: #fffdf9 !important;
}
.ptp-hero-copy {
  padding: 72px 62px 62px !important;
}
.ptp-hero-copy h1 {
  font-size: clamp(56px, 5.2vw, 84px) !important;
  line-height: .95 !important;
  letter-spacing: -.045em !important;
  max-width: 590px !important;
}
.ptp-hero-copy p {
  font-size: 17px !important;
  line-height: 1.72 !important;
  color: #4d4036 !important;
  max-width: 540px !important;
}
.ptp-hero-img {
  min-height: 560px !important;
}
.ptp-hero-img img {
  object-position: center center !important;
  filter: saturate(.94) contrast(1.02) !important;
}
.ptp-rule {
  width: 260px !important;
  height: 18px !important;
  margin: 22px 0 26px !important;
}

/* carduri mai puțin încărcate */
.ptp-section-title {
  margin: 28px 0 20px !important;
}
.ptp-section-title h2 {
  font-size: clamp(34px, 3vw, 48px) !important;
}
.ptp-steps {
  gap: 20px !important;
}
.ptp-card {
  border-color: rgba(212,190,157,.78) !important;
  box-shadow: 0 10px 26px rgba(45,34,29,.045) !important;
  background: linear-gradient(180deg,#fffdf9 0%,#fcf8f0 100%) !important;
}
.ptp-step {
  min-height: 258px !important;
  padding: 32px 26px 28px !important;
}
.ptp-no {
  background: #8e211c !important;
  color: #fff !important;
}
.ptp-ico {
  color: #bb873f !important;
  font-size: 38px !important;
}
.ptp-step h3 {
  font-size: 22px !important;
}
.ptp-step p {
  font-size: 15px !important;
  line-height: 1.58 !important;
}

/* panouri informative */
.ptp-grid2 {
  gap: 20px !important;
}
.ptp-panel {
  padding: 32px 32px 28px !important;
}
.ptp-panel h2 {
  font-size: 27px !important;
}
.ptp-types div {
  padding: 12px 10px !important;
}
.ptp-types span {
  font-size: 34px !important;
}
.ptp-checks {
  gap: 12px 28px !important;
}
.ptp-checks li {
  font-size: 15px !important;
}

/* calculator și testimonial */
.ptp-calc {
  padding: 22px 28px !important;
  align-items: center !important;
}
.ptp-calc h2 {
  font-size: 20px !important;
}
.ptp-calc-ico {
  border-color: #d2ae79 !important;
  background: #fffaf1 !important;
}
.ptp-quote {
  padding: 22px 28px !important;
}
.ptp-quote blockquote {
  font-size: 19px !important;
  max-width: 780px !important;
  margin: 0 auto !important;
}

/* CTA final */
.ptp-final {
  margin-bottom: 0 !important;
  background:
    radial-gradient(circle at 92% 18%, rgba(255,255,255,.08) 0 90px, transparent 91px),
    linear-gradient(90deg,#781510 0%,#9a211a 48%,#70140f 100%) !important;
  border-radius: 0 !important;
}
.ptp-final h2 {
  letter-spacing: -.025em !important;
}
.ptp-final .ptp-btn {
  background: #fffdf9 !important;
  color: #7d1b16 !important;
  border-color: #fffdf9 !important;
}

/* footer simplificat */
.ptp-footer {
  background: #fffdf9 !important;
  border-top: 1px solid rgba(210,188,153,.7) !important;
}
.ptp-footer-inner {
  max-width: 1240px !important;
  padding: 20px 22px !important;
}
.ptp-footer-logo img {
  width: 74px !important;
}
.ptp-footer-logo strong {
  color: #751f1a !important;
}

/* pagini modul: linie vizuală academică */
body.ptp-module-page #wrapper {
  background:
    linear-gradient(180deg,#f8f1e7 0,#f6efe4 100%) !important;
}
body.ptp-module-page #content-wrapper,
body.ptp-module-page #main,
body.ptp-module-page .container {
  max-width: 1240px !important;
}
body.ptp-module-page #content-wrapper {
  padding-left: 22px !important;
  padding-right: 22px !important;
}
body.ptp-module-page .breadcrumb {
  font-family: var(--ptp-sans) !important;
  font-size: 13px !important;
  margin-bottom: 18px !important;
}
body.ptp-module-page .sp-page,
body.ptp-module-page .selfpub-v2013,
body.ptp-module-page #selfpublishing-home {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.ptp-module-page .sp-page-hero,
body.ptp-module-page .sp-hero,
body.ptp-module-page .selfpub-v2013 .spv13-hero {
  position: relative !important;
  overflow: hidden !important;
  padding: 46px 44px !important;
  border-radius: 0 !important;
  background: linear-gradient(100deg,#fffdf9 0%,#fff8ef 58%,#f2e1c9 100%) !important;
}
body.ptp-module-page .sp-page-hero h1,
body.ptp-module-page .sp-hero h1,
body.ptp-module-page .selfpub-v2013 .spv13-hero h1 {
  max-width: 720px !important;
  font-size: clamp(42px,4.1vw,66px) !important;
  line-height: .98 !important;
}
body.ptp-module-page .sp-lead,
body.ptp-module-page .spv13-lead {
  max-width: 780px !important;
  font-size: 17px !important;
  line-height: 1.72 !important;
}
body.ptp-module-page .sp-form-card,
body.ptp-module-page .sp-side-card,
body.ptp-module-page .sp-dashboard-card,
body.ptp-module-page .sp-table-card,
body.ptp-module-page .sp-message-card,
body.ptp-module-page .sp-card {
  border-radius: 12px !important;
  border: 1px solid rgba(212,190,157,.78) !important;
  box-shadow: 0 12px 28px rgba(45,34,29,.045) !important;
  background: #fffdf9 !important;
}
body.ptp-submit-page .sp-form-card,
body.ptp-submit-page form .card {
  padding: 32px !important;
}
body.ptp-submit-page label,
body.ptp-module-page label {
  font-size: 13px !important;
  text-transform: none !important;
  font-weight: 700 !important;
  color: #4a3e35 !important;
}
body.ptp-module-page input,
body.ptp-module-page select,
body.ptp-module-page textarea {
  border-radius: 8px !important;
  border: 1px solid #d7c1a1 !important;
  background: #fffefa !important;
}
body.ptp-module-page input:focus,
body.ptp-module-page select:focus,
body.ptp-module-page textarea:focus {
  border-color: #b9894d !important;
  box-shadow: 0 0 0 3px rgba(199,150,85,.18) !important;
}
body.ptp-module-page .btn,
body.ptp-module-page button,
body.ptp-module-page .spv13-btn {
  border-radius: 8px !important;
  font-weight: 800 !important;
}
body.ptp-module-page .btn-primary,
body.ptp-module-page button[type="submit"],
body.ptp-module-page .spv13-btn {
  background: #8e211c !important;
  border-color: #8e211c !important;
  color: #fff !important;
}
body.ptp-my-page table th {
  font-family: var(--ptp-serif) !important;
  font-size: 16px !important;
}
body.ptp-my-page .badge,
body.ptp-my-page .label,
body.ptp-module-page .badge,
body.ptp-module-page .label {
  background: #f0dfc9 !important;
  color: #741c17 !important;
  border: 1px solid rgba(199,150,85,.35) !important;
}

/* responsive mai bine calibrat */
@media(max-width: 980px){
  .ptp-nav-inner{min-height: 82px !important;}
  .ptp-logo img{width: 72px !important;}
  .ptp-logo strong{font-size: 26px !important;}
  .ptp-menu{gap: 12px !important;}
  .ptp-menu a{font-size: 14px !important;}
  .ptp-hero{grid-template-columns: 1fr !important;}
  .ptp-hero-copy{padding: 46px 34px 34px !important;}
  .ptp-hero-img{min-height: 380px !important;}
  .ptp-steps{grid-template-columns: repeat(2,minmax(0,1fr)) !important;}
  .ptp-grid2{grid-template-columns: 1fr !important;}
}
@media(max-width: 700px){
  .ptp-home{padding-left: 12px !important;padding-right: 12px !important;}
  .ptp-nav-inner{padding: 0 14px !important;}
  .ptp-logo img{width: 60px !important;}
  .ptp-logo strong{font-size: 22px !important;}
  .ptp-menu-toggle{display: inline-flex !important;}
  .ptp-menu{display:none !important;position:absolute;left:0;right:0;top:100%;background:#fffdf9;padding:14px 20px 18px !important;border-bottom:1px solid #dcc7a6 !important;}
  body.ptp-menu-open .ptp-menu{display:flex !important;flex-direction:column !important;align-items:flex-start !important;}
  .ptp-menu a{padding: 8px 0 !important;}
  .ptp-hero-copy h1{font-size: 44px !important;}
  .ptp-actions{flex-direction:column !important;align-items:flex-start !important;}
  .ptp-steps{grid-template-columns: 1fr !important;}
  .ptp-types{grid-template-columns: repeat(2,1fr) !important;}
  .ptp-calc,.ptp-quote,.ptp-final,.ptp-footer-inner{grid-template-columns:1fr !important;text-align:center !important;}
  .ptp-footer-links{justify-content:center !important;flex-wrap:wrap !important;}
  body.ptp-module-page #content-wrapper{padding-left: 12px !important;padding-right: 12px !important;}
}


/* ===== v1.0.4 refinements: compact submit form, contact page, fixed hero image, easy logo replacement ===== */
.ptp-logo img,
.ptp-footer-logo img{object-fit:contain!important;background:transparent!important}

/* Homepage image: force the approved book/pen visual to appear in the right column. */
.ptp-hero-img{background:#f6ead9!important;display:block!important;overflow:hidden!important;min-height:520px!important}
.ptp-hero-img img{display:block!important;width:100%!important;height:100%!important;min-height:520px!important;object-fit:cover!important;opacity:1!important;visibility:visible!important}

/* Contact page generated by the theme. */
body.ptp-contact-page #wrapper{display:none!important}
.ptp-contact-main{max-width:1180px;margin:0 auto;padding:28px 18px 48px}
.ptp-contact-hero{background:linear-gradient(90deg,#fffdf9 0%,#fcf3e6 100%);border:1px solid var(--ptp-line);padding:42px 46px;margin-bottom:18px;position:relative;overflow:hidden}
.ptp-contact-hero:after{content:"";position:absolute;right:-80px;top:-120px;width:280px;height:280px;border-radius:50%;background:rgba(199,150,85,.14)}
.ptp-contact-hero .ptp-eyebrow{display:inline-block;color:var(--ptp-accent);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:10px}
.ptp-contact-hero h1{font-size:clamp(38px,4vw,62px)!important;line-height:1.02!important;max-width:760px;margin:0 0 14px!important}
.ptp-contact-hero p{max-width:720px;font-size:17px;color:#5f5045;margin:0}
.ptp-contact-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:18px}
.ptp-contact-grid .ptp-card{padding:28px 30px!important}
.ptp-contact-grid h2{font-size:28px!important;margin:0 0 18px!important}
.ptp-contact-grid p{margin:0 0 12px}.ptp-contact-grid ul{margin:8px 0 0;padding-left:18px}

/* Make module submit form more compact and less endlessly vertical. */
body.ptp-submit-page #content-wrapper,
body.ptp-submit-page #content,
body.ptp-submit-page .sp-page,
body.ptp-submit-page .spv13-wrap,
body.ptp-submit-page .selfpub-v2013{max-width:1120px!important;margin-left:auto!important;margin-right:auto!important}
body.ptp-submit-page .sp-page-hero,
body.ptp-submit-page .sp-hero,
body.ptp-submit-page .selfpub-v2013 .spv13-hero{padding:30px 34px!important;margin-bottom:14px!important;min-height:auto!important}
body.ptp-submit-page .sp-page-hero h1,
body.ptp-submit-page .sp-hero h1,
body.ptp-submit-page .selfpub-v2013 .spv13-hero h1{font-size:clamp(34px,3.4vw,52px)!important;line-height:1!important;margin-bottom:8px!important}
body.ptp-submit-page .sp-lead,
body.ptp-submit-page .sp-hero p,
body.ptp-submit-page .selfpub-v2013 .spv13-lead{font-size:14px!important;line-height:1.5!important;max-width:760px!important;margin-bottom:8px!important}

body.ptp-submit-page .sp-form-card,
body.ptp-submit-page .sp-card,
body.ptp-submit-page .sp-side-card,
body.ptp-submit-page .sp-message-card{padding:18px 20px!important;margin-bottom:14px!important}
body.ptp-submit-page .sp-form-card h2,
body.ptp-submit-page .sp-card h2,
body.ptp-submit-page h2{font-size:22px!important;margin:0 0 12px!important;padding-bottom:8px!important;border-bottom:1px solid rgba(220,199,166,.6)}
body.ptp-submit-page .sp-form-grid,
body.ptp-submit-page form .form-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 12px!important}
body.ptp-submit-page .sp-form-grid .span-2,
body.ptp-submit-page .sp-form-grid .full,
body.ptp-submit-page .form-group.full,
body.ptp-submit-page .form-group textarea{grid-column:1/-1!important}
body.ptp-submit-page form .form-group,
body.ptp-submit-page .form-group{margin-bottom:9px!important}
body.ptp-submit-page form label,
body.ptp-submit-page .sp-page label,
body.ptp-submit-page .selfpub-v2013 label{font-size:12px!important;line-height:1.2!important;margin-bottom:4px!important;font-weight:700!important;color:#4f4036!important}
body.ptp-submit-page input[type="text"],
body.ptp-submit-page input[type="email"],
body.ptp-submit-page input[type="tel"],
body.ptp-submit-page input[type="number"],
body.ptp-submit-page input[type="file"],
body.ptp-submit-page select{min-height:38px!important;height:38px!important;padding:7px 10px!important;font-size:13px!important;border-radius:4px!important}
body.ptp-submit-page textarea{min-height:92px!important;padding:8px 10px!important;font-size:13px!important;border-radius:4px!important}
body.ptp-submit-page .sp-choice-grid,
body.ptp-submit-page .sp-services-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
body.ptp-submit-page .sp-choice-grid label,
body.ptp-submit-page .sp-services-grid label,
body.ptp-submit-page .sp-consent-box{min-height:44px!important;padding:9px 11px!important;font-size:12px!important;display:flex!important;align-items:center!important;gap:8px!important}
body.ptp-submit-page input[type="checkbox"],
body.ptp-submit-page input[type="radio"]{width:15px!important;height:15px!important;min-height:15px!important;flex:0 0 auto!important}
body.ptp-submit-page .sp-upload-box,
body.ptp-submit-page .sp-upload-soft{padding:12px 14px!important;margin-bottom:10px!important}
body.ptp-submit-page .sp-upload-box p,
body.ptp-submit-page .sp-upload-soft p,
body.ptp-submit-page .help-block,
body.ptp-submit-page .sp-note,
body.ptp-submit-page .sp-muted{font-size:12px!important;line-height:1.35!important;margin-top:5px!important}
body.ptp-submit-page button[type="submit"],
body.ptp-submit-page input[type="submit"],
body.ptp-submit-page .btn-primary{min-height:40px!important;padding:0 16px!important;font-size:13px!important;border-radius:5px!important}

@media(max-width:900px){
  .ptp-contact-grid{grid-template-columns:1fr}
  body.ptp-submit-page .sp-form-grid,
  body.ptp-submit-page form .form-row{grid-template-columns:1fr!important}
  body.ptp-submit-page .sp-choice-grid,
  body.ptp-submit-page .sp-services-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:600px){body.ptp-submit-page .sp-choice-grid,body.ptp-submit-page .sp-services-grid{grid-template-columns:1fr!important}.ptp-hero-img,.ptp-hero-img img{min-height:320px!important}}


/* ===== v1.0.5 refinements ===== */
/* Hide breadcrumb / Acasă trail more aggressively */
body.ptp-ready .breadcrumb,
body.ptp-ready nav.breadcrumb,
body.ptp-ready .breadcrumbs,
body.ptp-ready .breadcrumb.hidden-sm-down,
body.ptp-ready ol.breadcrumb,
body.ptp-ready .breadcrumb-wrapper,
body.ptp-ready .breadcrumb-container {
  display: none !important;
}

/* Homepage video testimonials */
.ptp-videos { margin-top: 20px; }
.ptp-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.ptp-video-card {
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px;
  text-decoration: none !important;
  color: #fff !important;
  border: 1px solid rgba(220,199,166,.85);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(44,33,29,.06) 0%, rgba(44,33,29,.72) 100%),
    url('../img/hero-book-pen.jpg') center / cover no-repeat;
  box-shadow: 0 10px 22px rgba(44,33,29,.055);
  overflow: hidden;
}
.ptp-video-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(255,255,255,.18) 0 54px, transparent 55px);
  pointer-events: none;
}
.ptp-video-card .ptp-play {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(142,33,28,.92);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0,0,0,.18);
}
.ptp-video-card strong,
.ptp-video-card em {
  position: relative;
  z-index: 1;
}
.ptp-video-card strong {
  font-family: var(--ptp-serif);
  font-size: 24px;
  line-height: 1.12;
  font-style: normal;
}
.ptp-video-card em {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,.92);
  font-style: normal;
}

/* Submit page: compact info cards on the right */
body.ptp-submit-page .row > .col-xs-12.col-sm-4,
body.ptp-submit-page .row > .col-sm-4 {
  padding-left: 8px !important;
  padding-right: 8px !important;
}
body.ptp-submit-page .row > .col-xs-12.col-sm-8,
body.ptp-submit-page .row > .col-sm-8 {
  padding-left: 8px !important;
  padding-right: 8px !important;
}
body.ptp-submit-page .sp-side-card {
  padding: 16px 18px !important;
  margin-bottom: 12px !important;
  border-radius: 10px !important;
}
body.ptp-submit-page .sp-side-card h3 {
  font-size: 17px !important;
  line-height: 1.14 !important;
  margin: 0 0 10px !important;
}
body.ptp-submit-page .sp-side-card p,
body.ptp-submit-page .sp-side-card li {
  font-size: 13px !important;
  line-height: 1.45 !important;
}
body.ptp-submit-page .sp-side-card .sp-checklist li,
body.ptp-submit-page .sp-side-card .sp-checks li {
  margin-bottom: 6px !important;
  padding-left: 22px !important;
}
body.ptp-submit-page .sp-side-card.sp-highlight {
  padding: 16px 18px !important;
}
body.ptp-submit-page .sp-side-card.sp-highlight h3,
body.ptp-submit-page .sp-side-card.sp-highlight p {
  color: #fff !important;
}

/* Optional desktop stickiness for the help column */
@media (min-width: 992px) {
  body.ptp-submit-page .row > .col-xs-12.col-sm-4,
  body.ptp-submit-page .row > .col-sm-4 {
    position: sticky;
    top: 18px;
    align-self: flex-start;
  }
}

@media (max-width: 980px) {
  .ptp-video-grid { grid-template-columns: 1fr; }
}


/* ===== v1.0.6: video links, contact page, Manuscrisele mele ===== */
.ptp-video-intro {
  max-width: 720px;
  margin: -8px auto 20px;
  text-align: center;
  color: #61554b;
  font-size: 16px;
}
.ptp-video-card {
  background-image:
    linear-gradient(180deg, rgba(44,33,29,.02) 0%, rgba(44,33,29,.78) 100%),
    var(--ptp-video-bg, url('../img/hero-book-pen.jpg')) !important;
  background-position: center !important;
  background-size: cover !important;
}
.ptp-video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(44,33,29,.12) !important;
}
.ptp-video-card .ptp-play { padding-left: 3px; }

/* Contact refinements */
.ptp-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.ptp-contact-card-accent {
  background: linear-gradient(180deg,#fffdf9,#fcf3e6) !important;
}
.ptp-contact-card-accent p {
  font-size: 17px;
  line-height: 1.65;
}
.ptp-contact-mini-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  margin-top: 18px;
}
.ptp-contact-mini-grid a {
  padding: 22px 24px;
  text-decoration: none !important;
}
.ptp-contact-mini-grid strong {
  display: block;
  font-family: var(--ptp-serif);
  font-size: 22px;
  color: #761f1a;
  margin-bottom: 6px;
}
.ptp-contact-mini-grid span {
  display: block;
  color: #62564b;
}

/* Manuscrisele mele: dashboard mai elegant */
body.ptp-my-page .sp-dashboard-summary {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 14px !important;
  margin: 0 0 18px !important;
}
body.ptp-my-page .sp-summary-item {
  background: #fffdf9 !important;
  border: 1px solid rgba(220,199,166,.85) !important;
  border-radius: 10px !important;
  padding: 20px 18px !important;
  text-align: center !important;
  box-shadow: 0 10px 22px rgba(44,33,29,.045) !important;
}
body.ptp-my-page .sp-summary-item strong {
  display: block !important;
  font-family: var(--ptp-serif) !important;
  font-size: 36px !important;
  line-height: 1 !important;
  color: #8e211c !important;
  margin-bottom: 6px !important;
}
body.ptp-my-page .sp-summary-item span {
  color: #5e5248 !important;
  font-size: 14px !important;
}
body.ptp-my-page .sp-dashboard-grid {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 14px !important;
  margin: 0 0 18px !important;
}
body.ptp-my-page .sp-dashboard-card {
  display: block !important;
  min-height: 150px !important;
  padding: 20px 18px !important;
  text-decoration: none !important;
  color: #2c211d !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
body.ptp-my-page .sp-dashboard-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px rgba(44,33,29,.08) !important;
}
body.ptp-my-page .sp-dashboard-card-primary {
  background: linear-gradient(180deg,#8e211c,#721915) !important;
  border-color: #721915 !important;
}
body.ptp-my-page .sp-dashboard-card strong {
  display: block !important;
  font-family: var(--ptp-serif) !important;
  font-size: 21px !important;
  line-height: 1.15 !important;
  margin: 10px 0 8px !important;
}
body.ptp-my-page .sp-dashboard-card p {
  margin: 0 !important;
  color: #65584d !important;
  font-size: 14px !important;
  line-height: 1.48 !important;
}
body.ptp-my-page .sp-dashboard-card-primary p,
body.ptp-my-page .sp-dashboard-card-primary strong,
body.ptp-my-page .sp-dashboard-card-primary .sp-dashboard-icon { color: #fff !important; }
body.ptp-my-page .sp-dashboard-icon {
  display: inline-grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #f1e2cf !important;
  color: #8e211c !important;
  font-size: 20px !important;
}
body.ptp-my-page .sp-table-header-flex {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
}
body.ptp-my-page .sp-table-header h2 {
  margin: 0 0 4px !important;
  font-size: 30px !important;
}
body.ptp-my-page .sp-table-header p {
  margin: 0 !important;
  color: #64584d !important;
}
body.ptp-my-page .sp-publications-table td:first-child strong {
  display: block !important;
  font-family: var(--ptp-serif) !important;
  font-size: 18px !important;
  color: #2c211d !important;
  margin-bottom: 5px !important;
}
body.ptp-my-page .sp-table-meta {
  display: block !important;
  color: #75685e !important;
  font-size: 12px !important;
  margin-top: 2px !important;
}
body.ptp-my-page .sp-status {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: #f0dfc9 !important;
  color: #741c17 !important;
  border: 1px solid rgba(199,150,85,.35) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}
body.ptp-my-page .sp-empty-state {
  background: #fffdf9 !important;
  border: 1px solid rgba(220,199,166,.85) !important;
  border-radius: 10px !important;
  padding: 46px 36px !important;
  text-align: center !important;
  box-shadow: 0 10px 22px rgba(44,33,29,.045) !important;
}
body.ptp-my-page .sp-empty-state h2 {
  font-size: 34px !important;
  margin-bottom: 12px !important;
}
body.ptp-my-page .sp-empty-state p {
  max-width: 680px !important;
  margin: 0 auto 24px !important;
  color: #61554b !important;
}

@media (max-width: 980px) {
  body.ptp-my-page .sp-dashboard-summary,
  body.ptp-my-page .sp-dashboard-grid,
  .ptp-contact-mini-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
  body.ptp-my-page .sp-dashboard-summary,
  body.ptp-my-page .sp-dashboard-grid,
  .ptp-contact-mini-grid { grid-template-columns: 1fr !important; }
  body.ptp-my-page .sp-table-header-flex { display: block !important; }
  body.ptp-my-page .sp-table-header-flex .sp-btn { margin-top: 14px !important; }
  .ptp-contact-actions { flex-direction: column; align-items: flex-start; }
}


/* ===== v1.0.7 — cont autor în header și flux de autentificare ===== */
.ptp-nav-inner{
  display:flex!important;
  align-items:center!important;
  gap:24px!important;
}
.ptp-menu{
  margin-left:auto!important;
}
.ptp-account{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  gap:3px!important;
  min-width:128px!important;
  padding-left:12px!important;
  border-left:1px solid rgba(220,199,166,.75)!important;
}
.ptp-account a{
  text-decoration:none!important;
  white-space:nowrap!important;
}
.ptp-account-main{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  background:#8e211c!important;
  color:#fffdf9!important;
  font-size:13px!important;
  font-weight:800!important;
  box-shadow:0 8px 18px rgba(142,33,28,.14)!important;
}
.ptp-account-main:hover{
  background:#6f1814!important;
  color:#fff!important;
}
.ptp-account-secondary{
  color:#6f6257!important;
  font-size:12px!important;
  line-height:1.15!important;
}
.ptp-account-secondary:hover{
  color:#8e211c!important;
}
.ptp-account-logged .ptp-account-main{
  background:#fffdf9!important;
  color:#8e211c!important;
  border:1px solid #d7b989!important;
  box-shadow:none!important;
}

/* Make the author login/create-account point visible on module pages too. */
body.ptp-module-page .ptp-account-main,
body.ptp-submit-page .ptp-account-main{
  background:#8e211c!important;
  color:#fff!important;
}

/* On smaller screens, keep account buttons accessible without crowding the menu. */
@media(max-width:1100px){
  .ptp-nav-inner{gap:14px!important;}
  .ptp-menu{gap:12px!important;}
  .ptp-account{min-width:104px!important;padding-left:8px!important;}
  .ptp-account-main{font-size:12px!important;padding:0 10px!important;}
}
@media(max-width:760px){
  .ptp-nav-inner{position:relative!important;}
  .ptp-account{
    order:3!important;
    min-width:auto!important;
    padding-left:0!important;
    border-left:0!important;
    align-items:flex-end!important;
  }
  .ptp-account-main{
    min-height:32px!important;
    font-size:12px!important;
    padding:0 10px!important;
  }
  .ptp-account-secondary{
    display:none!important;
  }
  .ptp-menu-toggle{
    order:2!important;
  }
  .ptp-menu{
    z-index:99!important;
  }
}
@media(max-width:520px){
  .ptp-account-main{font-size:0!important;width:38px!important;height:38px!important;padding:0!important;border-radius:50%!important;}
  .ptp-account-main::before{content:'👤';font-size:16px!important;}
}


/* ===== v1.0.8 — mesaj explicit: te ajutăm să-ți scrii cartea ===== */
.ptp-hero-kicker {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--ptp-accent);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}
.ptp-writing-help {
  margin-top: 24px;
}
.ptp-writing-lead {
  max-width: 820px;
  margin: -6px auto 22px;
  text-align: center;
  color: #5f5147;
  font-size: 17px;
  line-height: 1.65;
}
.ptp-writing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.ptp-writing-grid .ptp-card {
  padding: 28px 28px 26px;
  min-height: 210px;
  position: relative;
}
.ptp-writing-grid .ptp-card span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ptp-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 18px;
}
.ptp-writing-grid h3 {
  font-size: 24px !important;
  line-height: 1.12 !important;
  margin: 0 0 12px !important;
}
.ptp-writing-grid p {
  margin: 0;
  color: #5f5248;
  font-size: 15px;
  line-height: 1.6;
}
.ptp-hero-copy h1 {
  max-width: 620px !important;
}
.ptp-final h2 {
  max-width: 760px;
}
@media(max-width: 980px){
  .ptp-writing-grid { grid-template-columns: 1fr; }
}


/* ===== v1.0.9 header refinement ===== */
.ptp-nav-inner{
  min-height: 96px !important;
  gap: 20px !important;
}

.ptp-logo{
  min-width: auto !important;
  gap: 0 !important;
  flex: 0 0 auto !important;
}
.ptp-logo strong{ display:none !important; }
.ptp-logo img{
  width: 148px !important;
  height: auto !important;
  max-height: 72px !important;
}

.ptp-menu{
  margin-left: auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
.ptp-menu li{ list-style:none !important; }
.ptp-menu a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: #8e211c !important;
  color: #fffdf9 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  border: 1px solid #8e211c !important;
  box-shadow: 0 8px 18px rgba(142,33,28,.14) !important;
  text-decoration:none !important;
  border-bottom: 1px solid #8e211c !important;
}
.ptp-menu a:hover,
.ptp-menu a.ptp-active{
  background: #6f1814 !important;
  color: #fff !important;
  border-color: #6f1814 !important;
  box-shadow: 0 10px 22px rgba(111,24,20,.16) !important;
}

/* keep login/account area visually consistent */
.ptp-account{
  border-left: 0 !important;
  min-width: auto !important;
  padding-left: 0 !important;
  gap: 5px !important;
}
.ptp-account-main{
  min-height: 38px !important;
  padding: 0 18px !important;
  font-size: 14px !important;
}
.ptp-account-secondary{
  font-size: 12px !important;
  color: #7b6a5c !important;
}

/* make contact in row with pills, avoid lonely text under nav */
.ptp-menu a[href*="contact"],
.ptp-menu a[href*="contacteaza"]{
  background: #8e211c !important;
  color: #fffdf9 !important;
}

@media (max-width: 1180px){
  .ptp-nav-inner{align-items:center !important; flex-wrap: wrap !important; justify-content:flex-start !important;}
  .ptp-menu{margin-left: 0 !important;}
  .ptp-account{margin-left:auto !important;}
}

@media (max-width: 760px){
  .ptp-logo img{width: 116px !important; max-height: 58px !important;}
  .ptp-menu{
    gap: 8px !important;
  }
  .ptp-menu a{
    min-height: 36px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    width: auto !important;
  }
  .ptp-account-main{
    min-height: 36px !important;
    font-size: 13px !important;
  }
}


/* ===== v1.1.0: fără cont înainte de formular ===== */
.ptp-writing-actions{
  display:flex!important;
  justify-content:center!important;
  margin: -4px 0 22px!important;
}
.ptp-menu a[href*="trimite-manuscrisul"],
.ptp-menu a[href*="scriere-asistata"]{
  background:#8e211c!important;
  color:#fffdf9!important;
  border-color:#8e211c!important;
}
.ptp-account-secondary{
  text-transform:none!important;
  font-size:11px!important;
}
body.ptp-submit-page #sp_author_email + .help-block,
body.ptp-module-page #sp_author_email + .help-block{
  color:#8e211c!important;
  font-weight:600!important;
}


/* ===== v1.1.1: meniu fără "Cum funcționează" + login integrat ===== */
/* Top menu remains pill-based, with submit first. Give it a bit more breathing space after removing one item. */
.ptp-menu{
  gap: 12px !important;
}
.ptp-menu a[href*="trimite-manuscrisul"]{
  background: #6f1814 !important;
  border-color: #6f1814 !important;
}

/* Auth/login page as author portal page */
body.ptp-auth-page #wrapper{
  display:block !important;
  background: linear-gradient(180deg,#fbf7f0 0,#f7f0e5 100%) !important;
  padding: 0 0 54px !important;
}
body.ptp-auth-page .ptp-auth-intro{
  max-width: 1040px;
  margin: 0 auto;
  padding: 30px 18px 0;
}
body.ptp-auth-page .ptp-auth-hero{
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg,#fffdf9 0%,#fff8ef 60%,#f2e1c9 100%);
  border: 1px solid rgba(220,199,166,.9);
  padding: 34px 38px;
  margin-bottom: 18px;
}
body.ptp-auth-page .ptp-auth-hero::after{
  content:'';
  position:absolute;
  right:-80px;
  top:-100px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:rgba(199,150,85,.15);
}
body.ptp-auth-page .ptp-auth-hero .ptp-eyebrow{
  display:inline-block;
  color:var(--ptp-accent);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:8px;
}
body.ptp-auth-page .ptp-auth-hero h1{
  font-size: clamp(36px,4vw,58px) !important;
  line-height:1.02 !important;
  margin:0 0 12px !important;
  max-width: 660px;
}
body.ptp-auth-page .ptp-auth-hero p{
  position:relative;
  z-index:1;
  max-width:720px;
  margin:0;
  color:#5f5045;
  font-size:16px;
  line-height:1.68;
}
body.ptp-auth-page .ptp-auth-actions{
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}
body.ptp-auth-page #wrapper > .container,
body.ptp-auth-page #content-wrapper,
body.ptp-auth-page #main,
body.ptp-auth-page #content{
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
body.ptp-auth-page #content-wrapper{
  padding-left: 18px !important;
  padding-right: 18px !important;
}
body.ptp-auth-page .page-header,
body.ptp-auth-page h1.page-title,
body.ptp-auth-page .breadcrumb{
  display:none !important;
}
body.ptp-auth-page #main,
body.ptp-auth-page #content,
body.ptp-auth-page .login-form,
body.ptp-auth-page .register-form,
body.ptp-auth-page .forgotten-password,
body.ptp-auth-page .card,
body.ptp-auth-page form{
  text-align:left !important;
}
body.ptp-auth-page .login-form,
body.ptp-auth-page .register-form,
body.ptp-auth-page .forgotten-password,
body.ptp-auth-page .card,
body.ptp-auth-page #content section{
  background:#fffdf9 !important;
  border:1px solid rgba(220,199,166,.85) !important;
  border-radius:14px !important;
  box-shadow:0 12px 28px rgba(45,34,29,.055) !important;
}
body.ptp-auth-page .login-form,
body.ptp-auth-page .register-form,
body.ptp-auth-page .forgotten-password,
body.ptp-auth-page .card{
  padding:26px 28px !important;
  margin-bottom:18px !important;
}
body.ptp-auth-page form .form-group{
  margin-bottom:14px !important;
}
body.ptp-auth-page label{
  font-weight:700 !important;
  color:#4a3e35 !important;
  font-size:13px !important;
}
body.ptp-auth-page input[type="text"],
body.ptp-auth-page input[type="email"],
body.ptp-auth-page input[type="password"],
body.ptp-auth-page input.form-control,
body.ptp-auth-page .form-control{
  min-height:46px !important;
  border:1px solid #d7c1a1 !important;
  border-radius:8px !important;
  background:#fffefa !important;
  color:var(--ptp-ink) !important;
  box-shadow:none !important;
}
body.ptp-auth-page input:focus,
body.ptp-auth-page .form-control:focus{
  border-color:#b9894d !important;
  box-shadow:0 0 0 3px rgba(199,150,85,.18) !important;
}
body.ptp-auth-page .btn,
body.ptp-auth-page button[type="submit"],
body.ptp-auth-page input[type="submit"]{
  min-height:44px !important;
  border-radius:999px !important;
  background:#8e211c !important;
  border-color:#8e211c !important;
  color:#fffdf9 !important;
  font-weight:800 !important;
  padding:0 20px !important;
}
body.ptp-auth-page a{
  color:#8e211c !important;
}

@media(max-width:760px){
  body.ptp-auth-page .ptp-auth-hero{padding:28px 22px;}
  body.ptp-auth-page .ptp-auth-actions{flex-direction:column;align-items:flex-start;}
  body.ptp-auth-page .login-form,
  body.ptp-auth-page .register-form,
  body.ptp-auth-page .forgotten-password,
  body.ptp-auth-page .card{padding:20px !important;}
}


/* ===== v1.1.2: reparare header / butoane goale pe autentificare ===== */
.ptp-nav-inner{
  max-width: 1280px !important;
  min-height: 82px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 18px !important;
}
.ptp-logo{
  flex: 0 0 auto !important;
  min-width: 120px !important;
}
.ptp-logo img{
  width: 126px !important;
  max-height: 62px !important;
  object-fit: contain !important;
}
.ptp-menu{
  flex: 1 1 auto !important;
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  min-width: 0 !important;
}
.ptp-menu li{
  flex: 0 0 auto !important;
}
.ptp-menu a{
  min-height: 38px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: #8e211c !important;
  border: 1px solid #8e211c !important;
  color: #fffdf9 !important;
  font-size: 14px !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(142,33,28,.14) !important;
  min-width: 0 !important;
}
.ptp-menu a:hover,
.ptp-menu a.ptp-active{
  background: #6f1814 !important;
  border-color: #6f1814 !important;
  color: #fff !important;
}
.ptp-menu a .ptp-menu-text{
  display: inline !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}
.ptp-menu a:empty::before,
.ptp-menu a:not(:has(.ptp-menu-text))::before{
  content: attr(data-label) !important;
  color: inherit !important;
}

.ptp-account{
  flex: 0 0 auto !important;
  min-width: 112px !important;
  align-items: center !important;
  border-left: 0 !important;
  padding-left: 0 !important;
}
.ptp-account-main{
  min-height: 38px !important;
  width: auto !important;
  height: auto !important;
  padding: 0 18px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  color: #fffdf9 !important;
  background: #8e211c !important;
  border: 1px solid #8e211c !important;
}
.ptp-account-main::before{
  content: none !important;
}
.ptp-account-main span{
  display: inline !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}
.ptp-account-main:empty::before{
  content: attr(data-label) !important;
  color: inherit !important;
  font-size: inherit !important;
}
.ptp-account-secondary{
  display: block !important;
  margin-top: 2px !important;
  text-align: center !important;
}

/* Login page: make hero buttons readable */
body.ptp-auth-page .ptp-auth-actions .ptp-btn-primary,
body.ptp-auth-page .ptp-auth-actions .ptp-btn-primary:visited,
body.ptp-auth-page .ptp-auth-actions .ptp-btn-primary span{
  color: #fffdf9 !important;
  background: #8e211c !important;
  border-color: #8e211c !important;
}
body.ptp-auth-page .ptp-auth-actions .ptp-btn-primary:hover{
  color: #fff !important;
  background: #6f1814 !important;
}
body.ptp-auth-page .ptp-auth-actions .ptp-btn-secondary{
  color: #8e211c !important;
  background: #fffdf9 !important;
}

@media(max-width: 980px){
  .ptp-nav-inner{
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .ptp-menu{
    order: 3 !important;
    flex: 1 0 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  .ptp-account{
    margin-left: 0 !important;
  }
}
@media(max-width: 560px){
  .ptp-logo img{width: 108px !important;}
  .ptp-menu a{font-size: 12px !important; padding: 0 11px !important; min-height: 34px !important;}
  .ptp-account-main{font-size: 12px !important; padding: 0 12px !important; min-height: 34px !important;}
}


/* ===== v1.1.3 mobile header fix ===== */
@media (max-width: 760px){
  .ptp-nav{position: relative !important;}
  .ptp-nav-inner{
    min-height: 72px !important;
    display: grid !important;
    grid-template-columns: auto auto auto !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .ptp-logo{
    order: 1 !important;
    min-width: 0 !important;
    margin-right: auto !important;
  }
  .ptp-logo img{
    width: 100px !important;
    max-height: 48px !important;
  }
  .ptp-menu-toggle{
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    border: 1px solid #d7b98f !important;
    background: #fffdf9 !important;
    color: #3a2b24 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }
  .ptp-account{
    order: 3 !important;
    margin-left: 0 !important;
    min-width: 0 !important;
    justify-self: end !important;
  }
  .ptp-account-main{
    min-height: 38px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
  }
  .ptp-account-secondary{display:none !important;}

  .ptp-menu{
    order: 4 !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    display: none !important;
    position: static !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    flex: none !important;
  }
  body.ptp-menu-open .ptp-menu{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 10px 0 0 !important;
  }
  .ptp-menu li{
    width: 100% !important;
  }
  .ptp-menu a{
    width: 100% !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 420px){
  body.ptp-menu-open .ptp-menu{
    grid-template-columns: 1fr !important;
  }
  .ptp-logo img{
    width: 92px !important;
    max-height: 44px !important;
  }
  .ptp-menu-toggle,
  .ptp-account-main{
    min-height: 36px !important;
    padding: 0 12px !important;
    font-size: 11px !important;
  }
}


/* ===== v1.1.4 auth page header text visibility fix ===== */
body.ptp-auth-page .ptp-shell a,
body.ptp-auth-page .ptp-shell a:visited,
body.ptp-auth-page .ptp-menu a,
body.ptp-auth-page .ptp-menu a:visited,
body.ptp-auth-page .ptp-menu a .ptp-menu-text,
body.ptp-auth-page .ptp-account-main,
body.ptp-auth-page .ptp-account-main:visited,
body.ptp-auth-page .ptp-account-main span {
  color: #fffdf9 !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-indent: 0 !important;
}
body.ptp-auth-page .ptp-logo,
body.ptp-auth-page .ptp-logo:visited {
  color: inherit !important;
}
body.ptp-auth-page .ptp-account-secondary,
body.ptp-auth-page .ptp-account-secondary:visited {
  color: #7b6a5c !important;
}
body.ptp-auth-page .ptp-menu a[data-label="Calculator"]::before,
body.ptp-auth-page .ptp-account-main[data-label="Intră în cont"]::before {
  color: #fffdf9 !important;
}
body.ptp-auth-page .ptp-menu a[data-label="Calculator"] .ptp-menu-text,
body.ptp-auth-page .ptp-account-main[data-label="Intră în cont"] span {
  display: inline !important;
}


/* ===== v1.1.5 submit side cards fix ===== */
body.ptp-submit-page .row > .col-xs-12.col-sm-4,
body.ptp-submit-page .row > .col-sm-4 {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
body.ptp-submit-page .sp-side-card {
  margin-bottom: 0 !important;
}
body.ptp-submit-page .sp-side-card.sp-highlight {
  background: linear-gradient(180deg,#8e211c 0%, #741915 100%) !important;
  border-color: #741915 !important;
  color: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 96px !important;
}
body.ptp-submit-page .sp-side-card.sp-highlight *,
body.ptp-submit-page .sp-side-card.sp-highlight h3,
body.ptp-submit-page .sp-side-card.sp-highlight p,
body.ptp-submit-page .sp-side-card.sp-highlight li {
  color: #fff !important;
}
body.ptp-submit-page .sp-side-card:not(.sp-highlight):nth-of-type(1),
body.ptp-submit-page .sp-side-card:not(.sp-highlight):nth-of-type(3) {
  min-height: 170px !important;
}
@media (max-width: 991px){
  body.ptp-submit-page .row > .col-xs-12.col-sm-4,
  body.ptp-submit-page .row > .col-sm-4 {
    display: block !important;
  }
  body.ptp-submit-page .sp-side-card:not(.sp-highlight):nth-of-type(1),
  body.ptp-submit-page .sp-side-card:not(.sp-highlight):nth-of-type(3),
  body.ptp-submit-page .sp-side-card.sp-highlight {
    min-height: 0 !important;
  }
  body.ptp-submit-page .sp-side-card { margin-bottom: 12px !important; }
}


/* ===== v1.1.6 submit side info band ===== */
/* „După trimitere” devine o bandă discretă între cele două carduri laterale. */
body.ptp-submit-page .row > .col-xs-12.col-sm-4,
body.ptp-submit-page .row > .col-sm-4 {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

body.ptp-submit-page .sp-side-card {
  margin-bottom: 0 !important;
}

body.ptp-submit-page .sp-side-card:not(.sp-highlight) {
  padding: 18px 20px !important;
  min-height: 0 !important;
}

body.ptp-submit-page .sp-side-card.sp-highlight {
  min-height: 0 !important;
  padding: 12px 16px !important;
  margin: 0 !important;
  border-radius: 9px !important;
  background:
    linear-gradient(90deg, #7b1c18 0%, #9a241e 100%) !important;
  border: 1px solid #7b1c18 !important;
  box-shadow: 0 8px 18px rgba(123,28,24,.12) !important;
}

body.ptp-submit-page .sp-side-card.sp-highlight h3 {
  margin: 0 0 4px !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
  color: #fffdf9 !important;
}

body.ptp-submit-page .sp-side-card.sp-highlight p {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  color: rgba(255,253,249,.92) !important;
}

body.ptp-submit-page .sp-side-card.sp-highlight * {
  color: inherit !important;
}

body.ptp-submit-page .sp-side-card h3 {
  font-size: 18px !important;
  line-height: 1.15 !important;
  margin-bottom: 10px !important;
}

body.ptp-submit-page .sp-side-card li {
  margin-bottom: 6px !important;
}

@media (max-width: 991px) {
  body.ptp-submit-page .row > .col-xs-12.col-sm-4,
  body.ptp-submit-page .row > .col-sm-4 {
    display: block !important;
  }
  body.ptp-submit-page .sp-side-card,
  body.ptp-submit-page .sp-side-card.sp-highlight {
    margin-bottom: 12px !important;
  }
}


/* ===== v1.1.7 assisted-writing side info band ===== */
body.ptp-assisted-page .row > .col-xs-12.col-sm-4,
body.ptp-assisted-page .row > .col-sm-4 {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
body.ptp-assisted-page .sp-side-card {
  margin-bottom: 0 !important;
}
body.ptp-assisted-page .sp-side-card:not(.sp-highlight) {
  background: #fffdfa !important;
  border: 1px solid rgba(220,199,166,.85) !important;
  border-radius: 12px !important;
  padding: 18px 20px !important;
  min-height: 182px !important;
}
body.ptp-assisted-page .sp-side-card.sp-highlight {
  background: linear-gradient(90deg,#8e211c 0%, #741915 100%) !important;
  border-color: #741915 !important;
  border-radius: 12px !important;
  padding: 14px 20px !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
body.ptp-assisted-page .sp-side-card.sp-highlight h3 {
  margin: 0 12px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 18px !important;
  color: #fff !important;
  white-space: nowrap !important;
}
body.ptp-assisted-page .sp-side-card.sp-highlight p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: rgba(255,255,255,.94) !important;
}
body.ptp-assisted-page .sp-side-card.sp-highlight *,
body.ptp-assisted-page .sp-side-card.sp-highlight li {
  color: #fff !important;
}
body.ptp-assisted-page .sp-side-card h3 {
  font-size: 18px !important;
  line-height: 1.15 !important;
  margin: 0 0 12px !important;
}
body.ptp-assisted-page .sp-side-card li {
  font-size: 14px !important;
  line-height: 1.55 !important;
}
@media (max-width: 991px){
  body.ptp-assisted-page .row > .col-xs-12.col-sm-4,
  body.ptp-assisted-page .row > .col-sm-4 {
    display: block !important;
  }
  body.ptp-assisted-page .sp-side-card,
  body.ptp-assisted-page .sp-side-card.sp-highlight {
    min-height: 0 !important;
    margin-bottom: 12px !important;
  }
  body.ptp-assisted-page .sp-side-card.sp-highlight {
    display: block !important;
    text-align: left !important;
  }
  body.ptp-assisted-page .sp-side-card.sp-highlight h3 {
    margin: 0 0 6px !important;
    white-space: normal !important;
  }
}


/* ===== v1.1.8 clean login links + integrated registration page ===== */

/* Nu mai forțăm linkuri de login cu ?back=..., iar pagina de înregistrare primește aceeași linie vizuală ca autentificarea. */
body.ptp-register-page #wrapper{
  display:block !important;
  background: linear-gradient(180deg,#fbf7f0 0,#f7f0e5 100%) !important;
  padding: 0 0 58px !important;
}

body.ptp-register-page #wrapper > .container,
body.ptp-register-page #content-wrapper,
body.ptp-register-page #main,
body.ptp-register-page #content{
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.ptp-register-page #content-wrapper{
  padding-left: 18px !important;
  padding-right: 18px !important;
}

body.ptp-register-page .page-header,
body.ptp-register-page h1.page-title,
body.ptp-register-page .breadcrumb{
  display:none !important;
}

body.ptp-register-page #content section,
body.ptp-register-page .register-form,
body.ptp-register-page .card,
body.ptp-register-page form{
  background:#fffdf9 !important;
  border:1px solid rgba(220,199,166,.85) !important;
  border-radius:16px !important;
  box-shadow:0 14px 30px rgba(45,34,29,.055) !important;
}

body.ptp-register-page #content section,
body.ptp-register-page .register-form,
body.ptp-register-page .card{
  padding:28px 32px !important;
  margin: 0 auto 20px !important;
}

body.ptp-register-page form{
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 !important;
}

body.ptp-register-page h1,
body.ptp-register-page h2,
body.ptp-register-page h3{
  font-family: var(--ptp-serif) !important;
  color: var(--ptp-ink) !important;
}

body.ptp-register-page label,
body.ptp-register-page .form-control-label{
  font-weight:700 !important;
  color:#4a3e35 !important;
  font-size:13px !important;
  margin-bottom:5px !important;
}

body.ptp-register-page .form-group,
body.ptp-register-page .form-control-comment,
body.ptp-register-page .form-informations{
  margin-bottom:12px !important;
}

body.ptp-register-page input[type="text"],
body.ptp-register-page input[type="email"],
body.ptp-register-page input[type="password"],
body.ptp-register-page input[type="date"],
body.ptp-register-page input.form-control,
body.ptp-register-page .form-control{
  min-height:44px !important;
  border:1px solid #d7c1a1 !important;
  border-radius:8px !important;
  background:#fffefa !important;
  color:var(--ptp-ink) !important;
  box-shadow:none !important;
  padding:8px 12px !important;
}

body.ptp-register-page input:focus,
body.ptp-register-page .form-control:focus{
  border-color:#b9894d !important;
  box-shadow:0 0 0 3px rgba(199,150,85,.18) !important;
}

body.ptp-register-page .custom-checkbox,
body.ptp-register-page .radio-inline,
body.ptp-register-page .form-group.row{
  background: transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

body.ptp-register-page .custom-checkbox,
body.ptp-register-page .checkbox,
body.ptp-register-page .radio-inline{
  line-height:1.45 !important;
  color:#4f4339 !important;
}

body.ptp-register-page .form-control-comment,
body.ptp-register-page .help-block,
body.ptp-register-page .form-informations,
body.ptp-register-page em{
  color:#75675d !important;
  font-size:12px !important;
  line-height:1.45 !important;
}

body.ptp-register-page .btn,
body.ptp-register-page button[type="submit"],
body.ptp-register-page input[type="submit"]{
  min-height:44px !important;
  border-radius:999px !important;
  background:#8e211c !important;
  border:1px solid #8e211c !important;
  color:#fffdf9 !important;
  font-weight:800 !important;
  padding:0 22px !important;
}

body.ptp-register-page a{
  color:#8e211c !important;
}

/* Linkul din header rămâne curat și lizibil pe paginile de login/înregistrare. */
body.ptp-auth-page .ptp-account-main,
body.ptp-register-page .ptp-account-main,
body.ptp-auth-page .ptp-menu a,
body.ptp-register-page .ptp-menu a{
  color:#fffdf9 !important;
}

body.ptp-auth-page .ptp-account-secondary,
body.ptp-register-page .ptp-account-secondary{
  color:#7b6a5c !important;
}

/* Nu lăsăm pagina de înregistrare să arate ca formular generic de magazin. */
body.ptp-register-page .no-account,
body.ptp-register-page .page-footer{
  text-align:left !important;
}

@media(max-width:760px){
  body.ptp-register-page .ptp-auth-hero{
    padding:28px 22px !important;
  }
  body.ptp-register-page .ptp-auth-actions{
    flex-direction:column !important;
    align-items:stretch !important;
  }
  body.ptp-register-page #content section,
  body.ptp-register-page .register-form,
  body.ptp-register-page .card{
    padding:20px !important;
  }
}


/* ===== v1.1.9 login form functional button ===== */
body.ptp-auth-page .ptp-login-form-fixed {
  display: grid !important;
  gap: 16px !important;
  max-width: 560px !important;
  margin: 0 auto !important;
}
body.ptp-auth-page .ptp-login-form-fixed .form-group,
body.ptp-auth-page .ptp-login-form-fixed .form-group.row,
body.ptp-auth-page .ptp-login-form-fixed .input-group,
body.ptp-auth-page .ptp-login-form-fixed .form-control-wrapper {
  width: 100% !important;
  margin: 0 0 12px !important;
  display: block !important;
}
body.ptp-auth-page .ptp-login-form-fixed label,
body.ptp-auth-page .ptp-login-form-fixed .form-control-label {
  display: block !important;
  margin: 0 0 6px !important;
  font-weight: 800 !important;
  color: #4a3e35 !important;
}
body.ptp-auth-page .ptp-login-form-fixed input[type="email"],
body.ptp-auth-page .ptp-login-form-fixed input[type="password"],
body.ptp-auth-page .ptp-login-form-fixed input.form-control,
body.ptp-auth-page .ptp-login-form-fixed .form-control {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 46px !important;
  border: 1px solid #d7c1a1 !important;
  border-radius: 8px !important;
  background: #fffefa !important;
  color: #2c211d !important;
  padding: 9px 12px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
body.ptp-auth-page .ptp-login-form-fixed .input-group {
  position: relative !important;
}
body.ptp-auth-page .ptp-login-form-fixed .input-group input[type="password"] {
  padding-right: 88px !important;
}
body.ptp-auth-page .ptp-password-toggle {
  position: absolute !important;
  right: 6px !important;
  top: 6px !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: #fffdf9 !important;
  border: 1px solid #d7b989 !important;
  color: #8e211c !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  z-index: 3 !important;
}
body.ptp-auth-page .ptp-login-submit-row,
body.ptp-auth-page .ptp-login-form-fixed .form-footer,
body.ptp-auth-page .ptp-login-form-fixed footer {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin-top: 4px !important;
}
body.ptp-auth-page .ptp-login-submit,
body.ptp-auth-page .ptp-login-submit span,
body.ptp-auth-page button.ptp-login-submit,
body.ptp-auth-page input.ptp-login-submit {
  min-height: 48px !important;
  padding: 0 26px !important;
  border-radius: 999px !important;
  background: #8e211c !important;
  border: 1px solid #8e211c !important;
  color: #fffdf9 !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  text-transform: none !important;
  box-shadow: 0 10px 22px rgba(142,33,28,.14) !important;
}
body.ptp-auth-page .ptp-login-submit:hover {
  background: #6f1814 !important;
  border-color: #6f1814 !important;
  color: #fff !important;
}
body.ptp-auth-page .forgot-password,
body.ptp-auth-page .forgotten-password,
body.ptp-auth-page a[href*="password"] {
  color: #8e211c !important;
  font-weight: 500 !important;
}
body.ptp-auth-page #content .no-account,
body.ptp-auth-page #content .page-footer,
body.ptp-auth-page #content hr {
  max-width: 560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media(max-width: 640px){
  body.ptp-auth-page .ptp-login-form-fixed { max-width: 100% !important; }
  body.ptp-auth-page .ptp-login-submit-row,
  body.ptp-auth-page .ptp-login-form-fixed .form-footer,
  body.ptp-auth-page .ptp-login-form-fixed footer { justify-content: stretch !important; }
  body.ptp-auth-page .ptp-login-submit { width: 100% !important; }
}
