/* BookAyurvedDoctor.com — the "photo" look of Clinic / Personal websites (24 Oct 2026, owner's choice).
   A photo behind the top of each page (the clinic's own, or ours marked "Representative image"), the clinic's own
   name and logo at the top, two main buttons, the rest as small pills. Only for body.cs-photo (not Royal). */
.cs-photo .cs-top{background:#fff}
.cs-photo .cs-top .bad-lockup{display:none}
.cs-brand{display:none}
.cs-photo .cs-brand{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.cs-photo .cs-brand img{width:38px;height:38px;flex:0 0 38px;border-radius:10px;object-fit:cover;border:1px solid var(--cs-e7d9b0,#E7D9B0);background:#fff}
.cs-photo .cs-brand b{font-family:"Playfair Display","Noto Serif Devanagari",Georgia,serif;font-size:15.5px;line-height:1.15;color:var(--cs-0b4f3f,#0B4F3F);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.cs-photo .cs-top-in{flex-wrap:nowrap;min-height:60px}
.cs-photo .bad-lang{flex:0 0 auto;transform:scale(.86);transform-origin:right center}
/* the top of Home: the photo */
.cs-photo .cs-hero{position:relative;min-height:540px;display:flex;align-items:flex-end;padding:40px 0 26px;background-color:var(--cs-0b4f3f,#0B4F3F);background-size:cover;background-position:center}
.cs-photo .cs-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(var(--cs-rgb-062820,6,40,32),.22) 0%,rgba(var(--cs-rgb-062820,6,40,32),.55) 38%,rgba(var(--cs-rgb-062820,6,40,32),.94) 80%)}
.cs-photo .cs-hero>*{position:relative}
.cs-photo .cs-hero-in{width:100%;gap:14px}
.cs-photo .cs-hero .cs-logo{display:none!important}
.cs-photo .cs-eyebrow{color:var(--cs-d9bb78,#D9BB78);font-size:11.5px;letter-spacing:.22em}
.cs-photo .cs-name{font-size:31px;line-height:1.12}
.cs-photo .cs-place{font-size:14.5px}
.cs-photo .cs-badges{flex-direction:column;align-items:flex-start;gap:6px;margin-top:12px}
.cs-photo .cs-open,.cs-photo .cs-vcount{padding:0;background:none;border-radius:0;font-size:14px;font-weight:600;color:#fff}
.cs-photo .cs-open:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--cs-9aa9a3,#9AA9A3);margin-right:8px;vertical-align:1px}
.cs-photo .cs-open.is-open{background:none;color:#fff}.cs-photo .cs-open.is-open:before{background:var(--cs-3ddc84,#3DDC84)}
.cs-photo .cs-vcount{color:var(--cs-e8d49c,#E8D49C)}.cs-photo .cs-vcount:before{content:"✓ "}
.cs-photo .cs-acts{display:flex;flex-wrap:wrap;gap:10px}
.cs-photo .cs-acts .cs-btn{min-height:52px;border-radius:14px;font-size:15.5px}
.cs-photo #cToken{flex:1 1 55%;background:var(--cs-c59a45,#C59A45);color:var(--cs-14251f,#14251F)!important;border-color:var(--cs-c59a45,#C59A45)}
.cs-photo #cCall{flex:1 1 30%}
.cs-photo #cEnqHero{display:none!important}
.cs-photo .cs-acts #cWa,.cs-photo .cs-acts #cMaps,.cs-photo .cs-acts #cShare{flex:0 0 auto;min-height:38px;padding:0 14px;border-radius:999px;font-size:13px;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.22)}
.cs-photo .cs-hero-soc{margin-top:2px}
/* "Representative image": very small, in a corner */
.cs-rep{position:absolute;top:8px;right:8px;z-index:2;padding:1px 6px;border-radius:6px;background:rgba(0,0,0,.35);color:rgba(255,255,255,.85);font-size:9px;font-weight:600;letter-spacing:.02em}
.cs-photo .cs-hero>.cs-rep,.cs-photo .cs-pagehead>.cs-rep{position:absolute}
/* the top of the other pages (Home's big photo only on Home) */
body.cs-photo:not([data-page="home"]) #cHero{display:none}
.cs-pagehead{display:none}
.cs-photo .cs-pagehead:not([hidden]){position:relative;display:flex;align-items:flex-end;min-height:180px;padding:0 0 20px;color:#fff;background-color:var(--cs-0b4f3f,#0B4F3F);background-size:cover;background-position:center}
.cs-photo .cs-pagehead:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(var(--cs-rgb-062820,6,40,32),.15),rgba(var(--cs-rgb-062820,6,40,32),.9))}
.cs-photo .cs-pagehead>*{position:relative}
.cs-photo .cs-pagehead small{display:block;font-size:11px;letter-spacing:.22em;font-weight:800;color:var(--cs-d9bb78,#D9BB78)}
.cs-photo .cs-pagehead h1{margin:4px 0 0;font-family:"Playfair Display","Noto Serif Devanagari",Georgia,serif;font-size:30px;line-height:1.1}
.cs-photo .cs-pagehead~.cs-team .cs-h2:first-child{display:none}
/* cards */
.cs-photo .cs-card,.cs-photo .cs-doc,.cs-photo .cs-treat{border-radius:22px;border-color:var(--cs-eef2ec,#EEF2EC);box-shadow:0 10px 30px rgba(var(--cs-rgb-0b2f27,11,47,39),.06)}
.cs-photo .cs-doc-pic{border-radius:24px}
.cs-photo .cs-doc-btn.is-main{background:var(--cs-c59a45,#C59A45);border-color:var(--cs-c59a45,#C59A45);color:var(--cs-14251f,#14251F)!important}
/* treatments: two in a row on phones */
.cs-photo .cs-treats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cs-photo .cs-treat-body{padding:12px 14px 14px}
.cs-photo .cs-treat-name{font-size:15.5px;margin:0}
.cs-photo .cs-treat-about{font-size:12.5px;margin:2px 0 0}
.cs-treat-acts{display:flex;gap:6px;margin-top:10px}
.cs-treat-book{flex:1;min-height:38px;border:0;border-radius:11px;background:var(--cs-0b4f3f,#0B4F3F);color:#fff;font:inherit;font-size:13.5px;font-weight:800;cursor:pointer}
.cs-photo .cs-treat-acts .cs-treat-ask{flex:1;min-height:38px;margin:0;border-radius:11px;font-size:13.5px}
@media (min-width:640px){.cs-photo .cs-treats{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* gallery: big and small */
.cs-photo .cs-gallery{grid-auto-rows:130px;grid-auto-flow:dense}
.cs-photo .cs-gallery .cs-gal-item{border-radius:18px}
.cs-photo .cs-gallery .cs-gal-item img{height:100%;aspect-ratio:auto}
.cs-photo .cs-gallery .cs-gal-item:nth-child(5n+1),.cs-photo .cs-gallery .cs-gal-item:nth-child(5n+4){grid-row:span 2}
/* the bar at the bottom: Book in gold; on Home only after the photo has scrolled away */
.cs-photo .cs-bar button{background:var(--cs-c59a45,#C59A45);border-color:var(--cs-c59a45,#C59A45);color:var(--cs-14251f,#14251F);flex:1.4 1 0}
@media (max-width:759px){
  body.cs-photo[data-page="home"].cs-hero-seen .cs-bar{transform:translateY(110%)}
  .cs-photo .cs-bar{transition:transform .25s ease}
}
@media (min-width:760px){
  .cs-photo .cs-hero{min-height:560px}
  .cs-photo .cs-name{font-size:46px}
  .cs-photo .cs-hero .cs-acts{max-width:640px}
}
/* 31 Oct 2026: while the top photo of Home is still coming (first visit only), a soft moving light, not plain green */
.cs-photo .cs-hero.cs-hero-wait{background-image:linear-gradient(110deg,var(--cs-0b4f3f,#0B4F3F) 20%,var(--cs-16654f,#16654F) 40%,var(--cs-0e5945,#0E5945) 55%,var(--cs-0b4f3f,#0B4F3F) 75%)!important;background-size:250% 100%!important;animation:cs-hero-wait 1.6s ease-in-out infinite}
@keyframes cs-hero-wait{0%{background-position:100% 0}100%{background-position:-50% 0}}
@media (prefers-reduced-motion:reduce){.cs-photo .cs-hero.cs-hero-wait{animation:none}}
/* 31 Oct 2026 (owner): on computers too, Call · Appointment · Directions stay at hand after scrolling:
   a slim floating bar at the bottom centre (on Home it shows once the top photo has scrolled away). */
@media (min-width:760px){
  .cs-photo .cs-bar{position:fixed;left:50%;bottom:22px;z-index:50;display:flex;gap:8px;padding:8px;border-radius:999px;
    background:rgba(255,255,255,.96);border:1px solid var(--cs-e7d9b0,#E7D9B0);box-shadow:0 18px 40px -16px rgba(var(--cs-rgb-0b2f27,11,47,39),.45);
    -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transform:translateX(-50%);transition:opacity .25s ease,transform .25s ease}
  .cs-photo .cs-bar a,.cs-photo .cs-bar button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:999px;
    border:1px solid var(--cs-cfe0d6,#CFE0D6);background:#fff;color:var(--cs-0b4f3f,#0B4F3F);font:inherit;font-size:14.5px;font-weight:800;text-decoration:none;cursor:pointer;white-space:nowrap}
  .cs-photo .cs-bar button{background:var(--cs-c59a45,#C59A45);border-color:var(--cs-c59a45,#C59A45);color:var(--cs-14251f,#14251F);padding:0 26px}
  .cs-photo .cs-bar [hidden]{display:none}
  body.cs-photo[data-page="home"].cs-hero-seen .cs-bar{opacity:0;transform:translate(-50%,24px);pointer-events:none}
  body.cs-photo.has-bar .cs-foot{padding-bottom:84px}
}
