/* DocCover – final polish layer (loaded last on every page) */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
::selection{background:#cf6c29;color:#fff}
img,video,svg{max-width:100%}
img{height:auto}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #d4854d;outline-offset:2px;border-radius:8px}
button,.btn,a.btn,[role=button]{min-height:44px;touch-action:manipulation}
input,select,textarea{font-size:16px;max-width:100%} /* stops iOS zoom on focus */
input:not([type=checkbox]):not([type=radio]),select,textarea{border-radius:10px}
input:focus,select:focus,textarea:focus{border-color:#d4854d;box-shadow:0 0 0 3px rgba(212,133,77,.18);outline:none}
button:disabled,.btn:disabled{opacity:.65;cursor:not-allowed}
.form-message{border-radius:12px;line-height:1.5}
dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
dialog::backdrop{background:rgba(23,24,29,.55);}
table{max-width:100%}
.btn,.card,.product-card,a{transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease}
@media (hover:hover){.btn:hover{transform:translateY(-1px)}}

/* floating widgets */
.chat-launch{position:fixed!important;right:18px!important;bottom:22px!important;z-index:60!important;display:flex!important;align-items:center;gap:8px;white-space:nowrap}
.floating-whatsapp{position:fixed!important;right:18px!important;bottom:76px!important;z-index:60!important;display:grid!important;place-items:center;width:54px!important;height:54px!important;border-radius:50%!important;background:#2e9b5c!important;color:#fff!important;font-size:0!important;box-shadow:0 8px 22px rgba(29,109,65,.35)}
.floating-whatsapp svg,.mobile-actions svg{width:26px;height:26px;fill:currentColor;display:block}
.mobile-actions svg{width:22px;height:22px;margin:0 auto 2px}
@media (max-width:760px){
  body{padding-bottom:76px}
  .floating-whatsapp{display:none!important}               /* WhatsApp already in bottom bar */
  .chat-launch{right:12px!important;bottom:84px!important;padding:9px 14px!important;font-size:13px!important;min-height:40px}
  .mobile-actions{z-index:70}
  .mobile-actions a,.mobile-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;min-height:56px;line-height:1.2}
  .mobile-actions br{display:none}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{.chat-launch,.floating-whatsapp,.mobile-actions{display:none!important}}

/* ---- Logo sizing (new DocCover logo) ---- */
.brand-logo{width:auto!important;height:36px!important;max-height:none!important;object-fit:contain}
.footer .brand-logo{filter:none!important;background:#fff;padding:8px 12px;border-radius:12px;height:44px!important}
.logo img{height:36px!important;width:auto!important}

/* ---- Claim / support "journey" steps: premium theme made them dark-on-dark ---- */
body .steps .step{background:#fff!important;border:1px solid #ffe1cf!important;border-top:3px solid #db8140!important;border-radius:14px;padding:22px 18px 18px!important;box-shadow:0 10px 26px rgba(45,47,55,.07);margin:0 7px}
body .steps .step b{background:#cf6c29!important;color:#fff!important;margin:-40px 0 14px!important;box-shadow:0 0 0 5px #fff7f2}
body .steps .step h3{color:#0e0f12!important;font-size:16px;margin:0 0 6px}
body .steps .step p{color:#ce7536!important;font-size:13.5px;margin:0}
body .steps{margin-top:46px;gap:0}
@media(max-width:780px){body .steps{grid-template-columns:1fr!important;gap:34px!important}body .steps .step{margin:0}}
.premium-logo{display:block;height:38px;width:auto;max-width:100%}
.premium-logo--footer{height:56px;background:#fff;padding:8px 14px;border-radius:14px;box-shadow:0 6px 18px rgba(0,0,0,.18)}
body .btn.dark{background:linear-gradient(135deg,#cf6c29,#db8140)!important;color:#fff!important}

/* ---- Product pages: readable hero copy + distinct doctor avatars in cover cards ---- */
.dc-product-hero .dc-product-hero-copy{color:#ffe2d2!important;opacity:1!important}
.dc-product-card img[src*="/pi/av-"]{width:88px;height:88px;margin:6px auto 14px;object-fit:cover;border-radius:50%;border:3px solid #fff;box-shadow:0 8px 20px rgba(45,47,55,.18);background:#fff2ea}

/* ---- No flash on refresh: page stays hidden until scripts have built it (auto-reveals after 1.8s as a safety net) ---- */
body{opacity:0;animation:dcFailsafe .01s 1.8s forwards}
body.dc-ready{opacity:1;animation:none;transition:opacity .18s ease}
@keyframes dcFailsafe{to{opacity:1}}

/* Hero "Calculate premium" button: readable white text on brand blue */
.pi-hero a[href="#pi-calculator"],a[href="#pi-calculator"].pc-hero-btn{background:linear-gradient(135deg,#cf6c29,#db8140)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:none}

/* === DocCover pure-black text layer (no faded/blurred colors) === */
.nav a,.navbar a,.nav-links a,.menu a,header nav a,.top a,.topbar a{color:#0e0f12!important;-webkit-text-fill-color:#0e0f12!important;opacity:1!important}
.nav a:hover,.navbar a:hover,.nav-links a:hover,.menu a:hover,header nav a:hover{color:#cf6c29!important;-webkit-text-fill-color:#cf6c29!important}
.nav a.btn,.navbar a.btn,.nav a[class*="btn"],.navbar a[class*="btn"],.navbar a[class*="cta"],.nav a[class*="cta"]{color:#fff!important;-webkit-text-fill-color:#fff!important}
*{text-shadow:none!important}
.premium-nav a,.premium-header a:not([class*="btn"]):not([class*="cta"]):not(.premium-btn){color:#0e0f12!important;-webkit-text-fill-color:#0e0f12!important;opacity:1!important}
.premium-nav a:hover{color:#cf6c29!important;-webkit-text-fill-color:#cf6c29!important}
.premium-header a[class*="btn"],.premium-header a[class*="cta"]{color:#fff!important;-webkit-text-fill-color:#fff!important}
h1,h2,h3,h4,h5,h6{opacity:1}
/* headings: solid black everywhere except on dark sections (hero/footer/banners) */
html body :is(h1,h2,h3,h4,h5,h6):not(:is(footer,.hero,.dc-hero,.about-hero,.result-top,.hq-cta,.cnw__banner,.pc-top,.premium-footer,[class*="bg-gradient"],[class*="bg-[#0"],[class*="bg-black"]) *){color:#0e0f12!important;-webkit-text-fill-color:#0e0f12!important}
/* body copy: solid black, no faded/orange-tinted text (accents stay on buttons/links/icons) */
html body :is(p,li,td,th,label,small,dd,dt,figcaption,blockquote,.muted,.intro,.text-gray-500,.text-gray-600,.text-gray-700,.text-sm,.text-xs):not(:is(footer,.hero,.dc-hero,.about-hero,.result-top,.hq-cta,.cnw__banner,.pc-top,.premium-footer,[class*="bg-gradient"],[class*="bg-black"],[class*="btn"],[class*="cta"],.premium-nav) *):not(footer *):not([class*="btn"]){color:#0e0f12!important;-webkit-text-fill-color:#0e0f12!important;opacity:1!important}

html body .premium-header a:not([class*="btn"]):not([class*="cta"]),html body a.block:not([class*="btn"]):not([class*="cta"]){color:#0e0f12!important;-webkit-text-fill-color:#0e0f12!important}
html body .premium-header a:not([class*="btn"]):not([class*="cta"]):hover,html body a.block:not([class*="btn"]):hover{color:#cf6c29!important;-webkit-text-fill-color:#cf6c29!important}
