/* Approved home styles and shared public header; other page blocks stay scoped. */
#app:has(.reference-home) .demo-clinic-banner{border-color:var(--line)}
#app .public-header .header-tools .commerce-links{gap:10px}
.public-site .reference-home .hero{color:var(--text)}
.public-site .reference-home .hero .button{padding-inline:28px}
.public-site .reference-home #about{position:relative}
#app:has(.reference-home){--dark:#090909;--ink:#eee9df;--cream:#0e0f0f;--paper:#181919;--accent:#d4bb8c;--text:#eee9df;--panel-raised:#202121;--warning-bg:#2c281f;--radius:12px;--serif:'Times New Roman','David',serif;--sans:'Segoe UI',Arial,sans-serif;color:var(--text);font-family:var(--sans)}
:where(#app:has(.reference-home)) h1,:where(#app:has(.reference-home)) h2{font-style:normal;font-weight:400;letter-spacing:-.025em;text-wrap:balance}
:where(#app:has(.reference-home)) h3{font-weight:500}
:where(#app:has(.reference-home)) p{line-height:1.7}
:where(#app:has(.reference-home)) .eyebrow{font-weight:400;text-transform:uppercase}
:where(#app:has(.reference-home)) .button,
#app .public-header .button,:where(#app:has(.reference-home)) .button.light,:where(#app:has(.reference-home)) .button.secondary{border:1px solid var(--gold);border-radius:999px;background:transparent;color:var(--gold-soft);font-size:13px;font-weight:500;min-height:46px;line-height:1.4;transition:background-color .18s,color .18s,border-color .18s}
:where(#app:has(.reference-home)) .button:hover,
#app .public-header .button:hover,:where(#app:has(.reference-home)) .button.light:hover,:where(#app:has(.reference-home)) .button.secondary:hover{background:var(--gold);border-color:var(--gold);color:var(--dark)}
:where(#app:has(.reference-home)) .text-link{color:var(--gold);font-weight:500}
#app .public-header{color:var(--text);border-block-end:1px solid var(--line)}
#app .public-header .header-inner{border:0}
#app .public-header .desktop-nav{margin:0}
#app .public-header .languages button{color:var(--muted)}
#app .public-header .languages button[aria-pressed=true]{color:var(--gold-soft)}
#app .public-header .mobile-nav{border-block-start:1px solid var(--line)}
#app .public-header .mobile-nav a{border-block-end:1px solid var(--line)}
#app .public-header .mobile-nav .quiet{font:inherit;color:var(--text);border-radius:0;background:transparent}
:where(#app:has(.reference-home)) .demo-clinic-banner{letter-spacing:.025em}
.reference-home .home-portals{display:grid}
.reference-home .home-portal{position:relative;isolation:isolate;display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-content:center;align-items:center;gap:14px;overflow:hidden}
.reference-home .home-portal::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none}
.reference-home .home-portal:hover{text-decoration:none}
.reference-home .portal-index{color:var(--gold);letter-spacing:.2em;grid-column:1}
.reference-home .portal-title{font:23px/1.25 var(--serif);grid-column:2;grid-row:1;text-align:center}
.reference-home .portal-title-short{display:none}
.reference-home .portal-arrow{grid-column:3;grid-row:1;align-self:center;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:var(--gold)}
[dir=rtl] .reference-home .portal-arrow{transform:scaleX(-1)}
.reference-home .plain-card h3,.reference-home .product-card h3{color:var(--text)}
.reference-home .plain-card p{color:var(--muted)}
.reference-home .product-card{background:var(--paper);border:1px solid var(--line);border-radius:12px}
.reference-home .cover,.reference-home .free-cover{border-radius:9px 9px 0 0;background:var(--panel-raised)}
.reference-home .cover-placeholder{background:var(--panel-raised);color:var(--gold)}
.reference-home .cover-type,.reference-home .play-icon{background:var(--dark);color:var(--gold-soft);border:1px solid var(--line)}
.reference-home .comparison-card{border:1px solid var(--line);border-radius:12px;padding:24px;background:var(--paper)}
.reference-home .comparison-card h3{font-family:var(--serif);font-size:24px}.reference-home .comparison-card p{color:var(--muted)}
.reference-home .compare-label,.reference-home .comparison-pair figcaption{background:var(--dark);color:var(--text)}
.reference-home .compare-line{background:var(--gold);color:var(--gold);text-shadow:none}
.public-site .reference-home .demo-label{background:var(--warning-bg);border-color:var(--line);color:var(--gold);font-weight:500;font-size:11px}
.reference-home .journey span{font:26px var(--serif);color:var(--gold);font-weight:400}
.reference-home .empty{border-color:var(--line);border-radius:12px;background:var(--paper)}
@media(max-width:700px){
 #app .public-header .languages button{padding:2px 6px}
 #app .public-header .mobile-nav{padding-block:12px 20px;gap:0 12px}
 .reference-home .portal-arrow{height:32px}
 .reference-home .plain-card{padding:22px}
 .reference-home .comparison-card{padding:18px}.reference-home .comparison-card h3{font-size:22px}
 #app .public-header .menu-button{color:var(--gold-soft)}
}
/* Retain the approved palette when live content fills the preview's empty blocks. */
.reference-home #education .product-card :is(p,.small,.eyebrow),.reference-home #results .comparison-card :is(p,.small){color:#ded5ca}
.reference-home #education .product-card .button{color:#ffe3bb}
.reference-home #results .comparison-card h3{color:#f6dbb7}
@media(min-width:1101px){
 .reference-home:has(#education) #education{grid-row:6;grid-column:1/-1}
 .reference-home:has(#education .product-card) #education .cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
 .reference-home:has(#education) #results{grid-row:5}
 .reference-home:has(#education) #prices{grid-row:5;grid-column:1}
 .reference-home:has(#education) #concerns{grid-row:7}
 .reference-home:has(#education) #journey{grid-row:8}
 .reference-home:has(#education) #free-videos{grid-row:9}
 .reference-home:has(#education) #reviews{grid-row:10}
 .reference-home:has(#education) #faq{grid-row:11}
 .reference-home:has(#education) #contacts{grid-row:12}
}
@media(prefers-reduced-motion:reduce){#app:has(.reference-home) *,#app:has(.reference-home) *::before,#app:has(.reference-home) *::after{transition:none!important;animation:none!important}}

/* Database-backed specialists occupy the former Tatiana feature's row. */
.public-site .reference-home #specialists{grid-row:4;padding:30px 26px;background:linear-gradient(125deg,#2b251e,#201d19);border:1px solid #65513e;border-radius:12px;color:#eee9df}
.reference-home #specialists>h2{font-size:32px;color:#f5e9d7;margin:0 0 24px}
.reference-home .home-doctor-grid{display:flex;flex-wrap:wrap;gap:20px;align-items:stretch}
.reference-home .home-doctor-card{--home-doctor-columns:1;flex:0 0 calc((100% - (var(--home-doctor-columns) - 1)*20px)/var(--home-doctor-columns));min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #796046;border-radius:10px;background:#181919;color:#eee9df;transition:border-color .18s}
.reference-home .home-doctor-card:hover{border-color:#d4bb8c;text-decoration:none}
.reference-home .home-doctor-card:focus-visible{outline:2px solid #d4bb8c;outline-offset:4px}
.reference-home .home-doctor-photo{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-block-end:1px solid #796046}
.reference-home .home-doctor-copy{display:flex;flex-direction:column;flex:1;padding:22px;gap:14px;overflow-wrap:anywhere}
.reference-home .home-doctor-copy h3{font:24px/1.25 var(--serif);min-height:2.5em;margin:0;color:#f5e9d7}
.reference-home .home-doctor-specialization{font-size:16px;line-height:1.5;min-height:3em;margin:0;color:#ded5ca;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.reference-home .home-doctor-services{list-style:none;padding:14px 0 0;margin:0;border-block-start:1px solid #65513e;color:#d4c5ad;font-size:15px;line-height:1.5}
.reference-home .home-doctor-services li{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.reference-home .home-doctor-services li+li{margin-block-start:8px}
.reference-home .home-doctor-more{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-block-start:auto;padding-block-start:8px;font-size:16px;color:#e5bc81}
[dir=rtl] .reference-home .home-doctor-more>span{transform:scaleX(-1)}
@media(max-width:700px){
 .public-site .reference-home #specialists{order:3;padding:25px 16px;margin:0 0 22px}
 .reference-home #specialists>h2{font-size:30px}
 .reference-home .home-doctor-copy{padding:22px}
 .reference-home .home-doctor-card{flex-basis:100%}
 .reference-home .home-doctor-specialization{font-size:17px}
}

/* Approved KaraT Lab home design; shared by 4180 and isolated DEMO 4181. */
#app:has(.reference-home){--gold:#edc48f;--gold-soft:#ffe3bb;--muted:#cbc6bf;--line:#66513a;background:#111212;font-size:18px;line-height:1.5}
#app .public-header{--dark:#090909;--ink:#eee9df;--cream:#0e0f0f;--paper:#181919;--accent:#d4bb8c;--text:#eee9df;--gold:#edc48f;--gold-soft:#ffe3bb;--muted:#cbc6bf;--line:#66513a;--serif:'Times New Roman','David',serif;--sans:'Segoe UI',Arial,sans-serif;position:relative;padding-inline:32px;background:#111212;backdrop-filter:none;font:18px/1.5 var(--sans)}
#app .public-header .header-inner{display:flex;gap:22px;min-height:104px;max-width:1440px}
#app:has(.reference-home) .brand,
#app .public-header .brand{margin:0;justify-content:start}
#app .public-header .brand img{width:128px!important;height:128px!important;filter:none;mix-blend-mode:screen}
#app .public-header .desktop-nav{display:flex;flex:1;gap:18px;flex-wrap:nowrap;font-size:15px!important}
#app .public-header .header-tools{display:flex;gap:14px;flex-wrap:wrap;justify-content:end;max-width:360px;margin-inline-start:0}
#app .public-header .header-tools :is(.login-link,.commerce-links){font-size:16px!important}
#app .public-header .commerce-links{display:flex}
#app .public-header .languages button{font-size:14px;min-width:36px;min-height:44px}
#app .public-header .header-book{font-size:16px;padding:10px 20px;margin:0;width:auto;min-height:44px;background:transparent;border:1px solid #d5ab79;color:#ffe3bb;font-weight:500;white-space:nowrap}
#app .public-header .header-book:hover{background:#ffffff0a;color:#fff0d8}
#app .public-header .mobile-nav a{font-size:17px;min-height:48px;padding:12px 10px}
@media(min-width:1201px){
 #app .public-header .header-inner{display:grid;grid-template-columns:128px minmax(0,1fr) auto auto auto auto;grid-template-rows:52px minmax(76px,auto);gap:0 20px}
 #app .public-header .brand{grid-column:1;grid-row:1/3}
 #app .public-header .desktop-nav{grid-column:2/-1;grid-row:2;align-self:center;justify-self:start;justify-content:start;min-width:0;max-width:100%;flex-wrap:nowrap;margin:0;gap:18px}
 #app .public-header .desktop-nav a{white-space:nowrap;flex-shrink:0}
 #app .public-header .header-tools,#app .public-header .commerce-links{display:contents}
 #app .public-header .languages{grid-column:3;grid-row:1;justify-self:end}
 #app .public-header .login-link{grid-column:4;grid-row:1;justify-self:end;white-space:nowrap}
 #app .public-header .header-cart-link{grid-column:5;grid-row:1;justify-self:end;white-space:nowrap}
 #app .public-header .header-book{grid-column:6;grid-row:1;justify-self:end}
 #app .public-header .header-tools :is(.login-link,.commerce-links){font-size:14px!important;color:var(--muted)}
}

#app:has(.reference-home) .demo-clinic-banner{font-size:14px;background:#171715;padding:6px 18px;color:#c8bdad}
.reference-home{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px;max-width:1600px;margin:auto;padding:0 24px;color:#f3eee5}
.reference-home>section,.reference-home>nav{grid-column:1/-1;width:100%;max-width:none;min-width:0}
.reference-home h1,.reference-home h2,.reference-home h3{font-family:Georgia,'Times New Roman','David',serif;font-style:normal;font-weight:400;letter-spacing:-.025em;text-wrap:balance}
.reference-home h2{font-size:34px;line-height:1.15;margin:0 0 20px;color:#f6dbb7}
.reference-home h3{font-size:25px;line-height:1.15}
.reference-home p{font-size:18px;line-height:1.5;margin-bottom:20px;letter-spacing:0}
.reference-home :is(small,.small,.demo-label,.text-link,.button,.empty){font-size:16px}
.reference-home .button{min-height:46px;padding:11px 26px;border-color:#d5ab79;font-weight:500}
.reference-home .eyebrow{font-size:14px;letter-spacing:.16em;line-height:1.4;color:#e5b582}
.public-site .reference-home .hero{grid-column:1/-1;display:block;position:relative;isolation:isolate;min-height:490px;margin:0 -24px;width:calc(100% + 48px);background:#111212;overflow:hidden;border:0}
.reference-home .hero::before{display:none}
.reference-home .reference-art{position:absolute;inset:0;z-index:-2;display:block}
.reference-home .reference-art img{width:100%;height:100%;object-fit:cover;object-position:center}
.public-site .reference-home .hero-copy{position:relative;padding:42px 4%;width:58%;background:linear-gradient(90deg,#11121290,transparent);margin:0}
.public-site .reference-home .hero h1{font-size:clamp(48px,5.4vw,78px);line-height:1.02;color:#fce7c8;margin:18px 0 24px;max-width:760px;overflow-wrap:normal;text-wrap:initial}
.public-site .reference-home .hero-sub{font-size:20px;line-height:1.45;letter-spacing:0;max-width:420px;margin-bottom:22px;color:#f7f2ec}
.public-site .reference-home .hero .eyebrow{font-size:14px;letter-spacing:.18em;max-width:340px}
.public-site .reference-home .hero .button{color:#171713;background:linear-gradient(105deg,#ffe9cc,#f8d09d 72%,#e7ab6b 82%,#ffebcf);border:0;min-width:235px;font-size:18px;font-weight:600}
.reference-home .hero-signature{display:flex;align-items:center;gap:22px;font-size:14px;letter-spacing:.14em;text-transform:uppercase;max-width:410px;margin:24px 0 0;color:#e4ded4}
.reference-home .hero-signature::before{content:'';width:52px;height:1px;background:#e9be8a;flex:none}
.reference-home .hero-brand{position:absolute;right:36px;bottom:26px;width:134px;height:134px;mix-blend-mode:screen}
.public-site .reference-home #about{grid-row:4;display:grid;grid-template-columns:minmax(0,1fr) 170px 150px;align-items:center;gap:28px;padding:26px 40px;margin:0;border:1px solid #efdcc2;border-radius:14px;background:#3b3732;color:#eee9df}
.reference-home #about h2{color:#eee9df;font-size:32px;margin:0 0 12px}
.reference-home #about .eyebrow{color:var(--gold);font-size:14px;margin:0 0 8px}
.reference-home #about p{margin-bottom:14px}
.reference-home #about .button{color:var(--gold-soft);background:transparent;padding:8px 22px}
.reference-home #about .button:hover{color:var(--dark)}
.reference-home .about-original{width:170px;height:156px;object-fit:cover;border-radius:8px}
.reference-home .about-doctor{margin:0;text-align:center}
.reference-home .about-doctor img{width:140px;height:140px;border-radius:50%;object-fit:cover}
.reference-home .about-doctor figcaption{font-size:16px;margin-top:10px}
.public-site .reference-home .section{padding:32px 24px;margin:0;border:0}
.public-site .reference-home .section+.section{margin-top:0;border:0}
.reference-home #care{grid-row:3;padding:28px 24px 18px}
.reference-home #care .cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.reference-home #care .plain-card{position:relative;background:linear-gradient(#171613b8,#161716eb),url('/assets/reference-hero-mobile.webp') 8% 95% / auto 550%;border:1px solid #79604670;border-radius:10px;padding:20px;display:flex;flex-direction:column;align-items:start}
.reference-home #care .plain-card::before{content:'◇';font:44px/1 Georgia,serif;color:#e5bc81;margin-bottom:12px}
.reference-home #care .plain-card:nth-child(2n)::before{content:'≈'}
.reference-home #care .plain-card:nth-child(3n)::before{content:'✧'}
.reference-home #care h3{color:#f5e9d7;margin-bottom:12px}
.reference-home #care .card-photo{width:84px;height:62px;object-fit:cover;border-radius:6px;position:absolute;inset-inline-end:16px;top:16px;margin:0}
.reference-home #care p{font-size:18px;color:#ded5ca;margin-bottom:8px}
.reference-home #care .text-link{margin-top:auto;font-size:16px;color:#f4d6b0}
.reference-home .home-portals{grid-row:2;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:0 24px 30px;border:0}
.reference-home .home-portal{min-height:110px;padding:18px;border:1px solid #685039;border-radius:8px;background:#1b1b18}
.reference-home .home-portal::before{background:linear-gradient(125deg,transparent,#88613b44,transparent);opacity:1}
.reference-home .portal-title{font-size:24px}
.reference-home .portal-index{font-size:14px}
.reference-home .portal-arrow{border:0}
.reference-home #education,.reference-home #results,.reference-home #prices{grid-row:5;grid-column:auto;background:#3b3732;color:#eee9df;padding:26px;margin:0;border:1px solid #e5ceb2;border-radius:12px;align-self:stretch}
.reference-home #prices{display:none}
.reference-home #results{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.reference-home #results>h2{grid-column:1/-1}
.reference-home #results .comparison-card{margin:0}
.reference-home #results .comparison-empty{grid-column:1/-1;min-width:0}
.reference-home #results .comparison-empty .comparison-pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.reference-home #education>.container{width:100%;margin:0}
.reference-home :is(#education,#results,#prices) h2{font-size:32px;color:#eee9df}
.reference-home :is(#education,#results,#prices) :is(p,.small,.empty){color:#ded5ca}
.reference-home :is(#education,#results,#prices) .eyebrow{color:var(--gold)}
.reference-home :is(#education,#results,#prices) .button{color:var(--gold-soft);background:transparent}
.reference-home :is(#education,#results,#prices) .button:hover{background:#dfc6a4;color:#33271e}
.reference-home #education .empty{background:transparent;border:1px solid #b19879;padding:18px}
.reference-home .comparison-pair.placeholders>div{background:#dacbb9;border:1px solid #b69d7f;color:#392b21;aspect-ratio:1.9}
.reference-home .comparison-pair.placeholders b{font-size:16px}
.reference-home #concerns{grid-row:6;padding-top:42px}
.reference-home #journey{grid-row:7}
.reference-home #free-videos{grid-row:8}
.reference-home #reviews{grid-row:9}
.reference-home #faq{grid-row:10}
.reference-home #contacts{grid-row:11;padding-bottom:46px}
.reference-home :is(.concern,.plain-card,.free-card){background:#1c1c19;border:1px solid #584b3b;border-radius:10px}
.reference-home .concern{font-size:18px;padding:18px 22px}
.reference-home .journey{gap:24px}.reference-home .journey li{font-size:18px;padding-bottom:20px}
.reference-home .free-card{padding:18px}.reference-home .free-card h3{font-size:24px}.reference-home .free-card small{font-size:16px;color:#dbbc95}
.reference-home .free-card .small{font-size:18px}
.reference-home .faqs summary{font-size:20px;min-height:44px}
.reference-home #contacts{background:linear-gradient(120deg,#181814,#111212);border-block-start:1px solid #584b3b}
[dir=rtl] .reference-home .reference-art{transform:scaleX(-1)}
[dir=rtl] .public-site .reference-home .hero-copy{background:linear-gradient(270deg,#11121290,transparent)}
[dir=rtl] .reference-home .hero-brand{right:auto;left:36px}
@media(max-width:1100px){
 #app .public-header .header-inner{gap:12px}#app .public-header .desktop-nav{display:none}#app .public-header .header-tools{margin-inline-start:auto;max-width:none}#app .public-header .menu-button{display:block}
 .reference-home #care .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .reference-home #about{grid-template-columns:minmax(0,1fr) 120px!important}.reference-home .about-original{width:120px;height:100px}.reference-home .about-doctor{grid-column:2}.reference-home .about-copy{grid-row:1/3}
 .reference-home #education,.reference-home #results,.reference-home #prices{grid-column:1/-1;grid-row:auto}
 .reference-home #education{grid-row:5}.reference-home #results{grid-row:6}.reference-home #prices{grid-row:7}.reference-home #concerns{grid-row:8}.reference-home #journey{grid-row:9}.reference-home #free-videos{grid-row:10}.reference-home #reviews{grid-row:11}.reference-home #faq{grid-row:12}.reference-home #contacts{grid-row:13}
}
@media(max-width:700px){
 .reference-home .portal-title-full{display:none}.reference-home .portal-title-short{display:block;margin-inline:-12px}
 .reference-home #results{grid-template-columns:minmax(0,1fr)}
 #app:has(.reference-home){font-size:17px}#app:has(.reference-home) .demo-clinic-banner{font-size:12px;line-height:1.35;padding:5px 16px}
 #app .public-header{padding-inline:14px;font-size:17px}#app .public-header .header-inner{display:grid;grid-template-columns:104px minmax(0,1fr) 44px!important;min-height:104px;gap:0 8px}
 #app .public-header .brand{grid-column:1;grid-row:1/3}#app .public-header .brand img{width:104px!important;height:104px!important}
 #app .public-header .header-tools{display:contents}#app .public-header .header-tools .commerce-links,#app .public-header .header-tools .login-link{display:none}
 #app .public-header .languages{grid-column:2;grid-row:2;justify-content:center;margin:0;align-self:center}#app .public-header .languages button{font-size:14px;min-height:40px;min-width:44px}
 #app .public-header .header-book{grid-column:2;grid-row:1;align-self:end;justify-self:center;font-size:15px;padding:9px 16px;white-space:normal;line-height:1.2;min-height:44px}
 #app .public-header .menu-button{grid-column:3;grid-row:1/3;justify-self:center;min-height:44px;font-size:27px}
 #app .public-header .mobile-nav{font-size:17px;grid-template-columns:1fr 1fr}#app .public-header .mobile-nav a{min-height:46px;padding:10px 4px}
 .reference-home{display:flex;flex-direction:column;padding:0 12px;gap:0}
 .public-site .reference-home .hero{order:0;width:calc(100% + 24px);margin:0 -12px;min-height:565px;display:block}
 .reference-home .reference-art img{object-position:61% center}
 .public-site .reference-home .hero-copy{width:100%;min-height:565px;padding:30px 22px 32px;background:linear-gradient(90deg,#111212c4,#11121277 57%,transparent 88%)}
 [dir=rtl] .public-site .reference-home .hero-copy{background:linear-gradient(270deg,#111212c4,#11121277 57%,transparent 88%)}
 .public-site .reference-home .hero .eyebrow{font-size:12px;letter-spacing:.15em;max-width:205px;margin:0 0 22px}
 .public-site .reference-home .hero h1{font-size:40px;line-height:1.06;max-width:345px;margin:0 0 24px;letter-spacing:-.035em;text-shadow:0 2px 12px #0009}
 .public-site .reference-home .hero-sub{font-size:18px;max-width:240px;line-height:1.5;margin-bottom:24px;text-shadow:0 2px 8px #000}
 .public-site .reference-home .hero .button{font-size:17px;min-width:215px;width:auto;padding:12px 23px}
 .reference-home .hero-signature{font-size:13px;letter-spacing:.12em;max-width:265px;line-height:1.5;margin-top:28px}
 .reference-home .hero-brand{display:none}
 .public-site .reference-home #about{order:3;display:grid;grid-template-columns:1fr 1fr!important;padding:25px 20px;gap:20px;margin:0 0 22px;width:100%}
 .reference-home .about-copy{grid-column:1/-1;grid-row:auto}.reference-home .about-original{width:100%;height:135px}.reference-home .about-doctor{grid-column:2;grid-row:auto}.reference-home .about-doctor img{width:110px;height:110px;margin-inline:auto}.reference-home .about-doctor figcaption{font-size:16px}
 .reference-home #about h2{font-size:31px}.reference-home #about .eyebrow{font-size:13px;line-height:1.5}
 .public-site .reference-home .section{padding:25px 10px}.reference-home h2{font-size:30px}.reference-home p{font-size:17px;line-height:1.55}
 .reference-home #care{order:1;padding:28px 6px}.reference-home #care .cards{grid-template-columns:1fr;gap:12px}
 .reference-home #care .plain-card{padding:20px;min-height:0}.reference-home #care h3{font-size:26px}.reference-home #care p{font-size:17px}.reference-home #care .plain-card::before{font-size:38px;margin-bottom:14px}
 .reference-home .home-portals{order:2;grid-template-columns:1fr 1fr;padding:0 0 24px;gap:10px}.reference-home .home-portal{min-height:126px;padding:16px 12px;gap:10px;grid-template-columns:minmax(0,1fr)}.reference-home .portal-title{font-size:23px;grid-column:1;margin-block:12px}.reference-home .portal-arrow{position:absolute;grid-column:auto;grid-row:auto;inset-inline-end:6px;top:6px;width:20px;height:20px}.reference-home .portal-index{font-size:14px}
 .reference-home #education{order:4}.reference-home #results{order:5}.reference-home #prices{order:6}
 .reference-home #education,.reference-home #results,.reference-home #prices{padding:25px 20px;margin-bottom:16px}
 .reference-home #concerns{order:7}.reference-home #journey{order:8}.reference-home #free-videos{order:9}.reference-home #reviews{order:10}.reference-home #faq{order:11}.reference-home #contacts{order:12}
 .reference-home .concern-grid,.reference-home .cards{grid-template-columns:1fr;gap:12px}.reference-home .concern{font-size:17px;padding:16px}.reference-home .journey{grid-template-columns:1fr;gap:12px}.reference-home .journey li{display:flex;align-items:center;gap:18px;padding:8px 0 16px;font-size:17px}.reference-home .journey span{margin:0}
 .reference-home .faqs summary{font-size:18px}.reference-home .free-card .small{font-size:17px}
}

/* Shared public header: approved home utility row at every viewport. */
@media(max-width:1200px){
 #app .public-header .desktop-nav{display:none}
 #app .public-header .menu-button{display:block;color:var(--gold-soft)}
 #app .public-header .header-inner{display:grid;grid-template-columns:repeat(12,minmax(0,1fr))!important;grid-template-rows:44px 88px;gap:0 4px;min-height:132px}
 #app .public-header .header-tools,#app .public-header .header-tools .commerce-links{display:contents}
 #app .public-header .languages{grid-column:1/5;grid-row:1;justify-self:start;align-self:center}
 #app .public-header .languages button{min-width:32px;min-height:44px;padding:4px;font-size:13px}
 #app .public-header .header-tools .login-link{display:block;grid-column:5/10;grid-row:1;justify-self:end;white-space:nowrap;font-size:13px!important;color:var(--muted)}
 #app .public-header .commerce-links .header-cart-link{grid-column:10/13;grid-row:1;justify-self:start;margin-inline-start:8px;white-space:nowrap;font-size:13px;color:var(--muted)}
 #app .public-header .header-tools .login-link,#app .public-header .commerce-links .header-cart-link{min-width:44px;min-height:44px;display:flex;align-items:center}
 #app .public-header .header-tools .login-link{justify-content:flex-end}
 #app .public-header .brand{grid-column:1/5;grid-row:2}
 #app .public-header .brand img{width:88px!important;height:88px!important}
 #app .public-header .header-book{grid-column:5/11;grid-row:2;align-self:center;justify-self:center;font-size:14px;padding:9px 12px;white-space:nowrap}
 #app .public-header .menu-button{grid-column:11/13;grid-row:2;align-self:center;justify-self:end;min-width:44px}
}



/* Home results only: restrained frames on the shared surface; full-image dialog unchanged. */
.reference-home #results .results-heading{grid-column:1/-1;min-width:0;text-align:center;margin-block-end:12px}
.reference-home #results .results-brand{display:flex;align-items:center;justify-content:center;gap:24px;margin:0 auto 10px;max-width:460px;font:32px/1.2 var(--serif);color:#e5ceb2}
.reference-home #results .results-brand::before,.reference-home #results .results-brand::after{content:"";height:1px;flex:1;background:#ad9980}
.reference-home #results .results-intro{margin:0 0 26px;font:16px/1.5 var(--serif);letter-spacing:.06em;color:#ded5ca}
.reference-home #results .results-heading h2{margin:0;font:400 clamp(28px,3vw,42px)/1.18 var(--serif);text-wrap:balance;overflow-wrap:anywhere}
.reference-home #results .results-heading>p:not([class]){margin:16px 0 0}
.reference-home #results .results-hint{grid-column:1/-1;min-width:0;margin:10px 0 2px;text-align:center;font:italic 18px/1.5 var(--serif);color:#ded5ca;overflow-wrap:anywhere}
.reference-home #results .comparison-gallery{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.reference-home #results .comparison-thumb{display:grid;grid-template-rows:subgrid;grid-row:span 2;gap:8px;min-width:0;width:100%;padding:10px;border:1px solid #ad9980;border-radius:0;background:transparent;box-shadow:none;color:inherit;text-align:center;cursor:pointer}
.reference-home #results .comparison-thumb-title{display:block;min-height:2.6em;margin:0;overflow-wrap:anywhere;font:400 20px/1.3 var(--serif);align-content:center}
.reference-home #results .comparison-thumb-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;min-width:0}
.reference-home #results .comparison-thumb-images>span{display:grid;grid-template-rows:auto auto;gap:8px;min-width:0}
.reference-home #results .comparison-thumb-photo{display:block;position:relative;aspect-ratio:4/3;overflow:hidden;min-width:0}
.reference-home #results .comparison-thumb-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border:0;border-radius:0}
.reference-home #results .comparison-thumb-label{display:block;position:static;padding:0;background:transparent;text-align:center;font:16px/1.4 var(--serif);color:inherit}
.reference-home #results .comparison-thumb:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
@media(max-width:1100px) and (min-width:701px){.reference-home #results .comparison-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.reference-home #results .comparison-gallery{grid-template-columns:minmax(0,1fr);gap:16px}.reference-home #results .results-brand{font-size:28px;gap:16px}.reference-home #results .results-intro{font-size:15px;letter-spacing:.03em;margin-block-end:20px}.reference-home #results .results-heading{margin-block-end:4px}.reference-home #results .results-hint{font-size:16px}}
/* Stage 3 cosmetics only. Catalog, comparisons and their dialogs retain their styles. */
.public-site .reference-home #home-cosmetics{grid-column:1/-1;grid-row:6;order:5;padding:38px 0;margin:0;color:#f3eee5;min-width:0;width:100%;max-width:none}
.reference-home #home-cosmetics h2{font-size:clamp(26px,3vw,40px);color:#f3d9b5;margin:0 0 24px;text-align:start}
.reference-home .home-cosmetics-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.reference-home .home-cosmetics-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #796046;border-radius:12px;background:#1c1d19;color:#eee9df;text-decoration:none}
.reference-home .home-cosmetics-card:hover{border-color:#e1bd83}
.reference-home .home-cosmetics-card:focus-visible{outline:3px solid #f3d9b5;outline-offset:4px}
.reference-home .home-cosmetics-image{height:210px;padding:16px;background:#171815;display:grid;place-items:center;color:#d5b784;font:italic 20px var(--serif)}
.reference-home .home-cosmetics-image img{width:100%;height:100%;min-height:0;object-fit:contain;display:block}
.reference-home .home-cosmetics-copy{padding:18px;min-width:0}
.reference-home .home-cosmetics-copy h3{font:500 20px/1.35 var(--serif);color:#f3d9b5;overflow-wrap:anywhere;margin:0 0 10px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.reference-home .home-cosmetics-copy p{font-size:15px;line-height:1.6;color:#ded5ca;margin:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.reference-home .home-cosmetics-action{display:flex;justify-content:center;margin-block-start:26px}
/* In the legacy fixed grid, insert a row after results. Saved home order uses existing inline placement. */
@media(min-width:1101px){
.reference-home:has(#home-cosmetics):not([data-home-ordered]) #concerns{grid-row:7}.reference-home:has(#home-cosmetics):not([data-home-ordered]) #journey{grid-row:8}.reference-home:has(#home-cosmetics):not([data-home-ordered]) #free-videos{grid-row:9}.reference-home:has(#home-cosmetics):not([data-home-ordered]) #reviews{grid-row:10}.reference-home:has(#home-cosmetics):not([data-home-ordered]) #faq{grid-row:11}.reference-home:has(#home-cosmetics):not([data-home-ordered]) #contacts{grid-row:12}
.reference-home:has(#home-cosmetics):has(#education):not([data-home-ordered]) #education{grid-row:7}.reference-home:has(#home-cosmetics):has(#education):not([data-home-ordered]) #concerns{grid-row:8}.reference-home:has(#home-cosmetics):has(#education):not([data-home-ordered]) #journey{grid-row:9}.reference-home:has(#home-cosmetics):has(#education):not([data-home-ordered]) #free-videos{grid-row:10}.reference-home:has(#home-cosmetics):has(#education):not([data-home-ordered]) #reviews{grid-row:11}.reference-home:has(#home-cosmetics):has(#education):not([data-home-ordered]) #faq{grid-row:12}.reference-home:has(#home-cosmetics):has(#education):not([data-home-ordered]) #contacts{grid-row:13}}
@media(min-width:701px) and (max-width:1100px){
.reference-home #home-cosmetics .home-cosmetics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.public-site .reference-home #home-cosmetics{grid-row:7}
.reference-home:has(#home-cosmetics):not([data-home-ordered]) #prices{grid-row:8}.reference-home:has(#home-cosmetics):not([data-home-ordered]) #concerns{grid-row:9}.reference-home:has(#home-cosmetics):not([data-home-ordered]) #journey{grid-row:10}.reference-home:has(#home-cosmetics):not([data-home-ordered]) #free-videos{grid-row:11}.reference-home:has(#home-cosmetics):not([data-home-ordered]) #reviews{grid-row:12}.reference-home:has(#home-cosmetics):not([data-home-ordered]) #faq{grid-row:13}.reference-home:has(#home-cosmetics):not([data-home-ordered]) #contacts{grid-row:14}}
@media(max-width:700px){.reference-home #home-cosmetics .home-cosmetics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.public-site .reference-home #home-cosmetics{padding:26px 0;order:5}.reference-home .home-cosmetics-image{height:180px;padding:12px}.reference-home .home-cosmetics-copy{padding:12px}.reference-home .home-cosmetics-copy h3{font-size:18px}.reference-home .home-cosmetics-copy p{font-size:14px}}

.reference-home .home-cosmetics-grid{grid-auto-rows:1fr}
/* Stage 4: dedicated home cosmetics dialog; never target #modal or comparison dialogs. */
dialog.cosmetics-home-dialog{width:min(1120px,94vw);max-width:94vw;height:fit-content;max-height:90dvh;margin:auto;padding:0;overflow:hidden;border:1px solid #b99b69;border-radius:18px;background:#181b18;color:#eee9df;box-shadow:0 24px 90px #0009}
dialog.cosmetics-home-dialog::backdrop{background:#000b}
.cosmetics-home-panel{display:flex;flex-direction:column;max-height:90dvh;min-width:0}
.cosmetics-home-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 26px;border-bottom:1px solid #65553d;flex-shrink:0}
.cosmetics-home-header h2{font:400 clamp(22px,2.2vw,32px)/1.25 var(--serif);margin:0;color:#f4d9b4;overflow-wrap:anywhere;min-width:0}
.cosmetics-home-header button{flex-shrink:0;min-height:44px;border:1px solid #b99b69;background:transparent;color:#f4d9b4;border-radius:24px;padding:8px 18px}
.cosmetics-home-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;padding:26px;overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}
.cosmetics-home-no-photo{grid-template-columns:minmax(0,1fr)}
.cosmetics-home-media{min-width:0;position:sticky;top:0;align-self:start}
.cosmetics-home-image{height:min(45dvh,440px);background:#111411;border:1px solid #5e513c;border-radius:12px;padding:16px}
.cosmetics-home-image img{width:100%;height:100%;object-fit:contain}
.cosmetics-home-thumbnails{display:flex;flex-wrap:wrap;gap:10px;margin-block-start:14px}
.cosmetics-home-thumbnails button{width:68px;height:72px;padding:6px;border:1px solid #706047;border-radius:8px;background:#111411}
.cosmetics-home-thumbnails button[aria-pressed=true]{border:2px solid #f4d9b4}
.cosmetics-home-thumbnails img{width:100%;height:100%;object-fit:contain}
.cosmetics-home-text{min-width:0;overflow-wrap:anywhere;font-size:16px;line-height:1.7}
.cosmetics-home-text p{margin:0 0 18px;color:#eee9df}
.cosmetics-home-brand{color:#dfbb83!important;letter-spacing:.04em}
.cosmetics-home-description,.cosmetics-home-usage p{white-space:pre-line;overflow-wrap:anywhere}
.cosmetics-home-usage{border-top:1px solid #65553d;margin-block-start:24px;padding-block-start:20px}
.cosmetics-home-usage h3{font:400 24px/1.3 var(--serif);color:#f4d9b4;margin:0 0 14px}
.cosmetics-home-footer{display:flex;justify-content:flex-end;padding:14px 26px;border-top:1px solid #65553d;flex-shrink:0}
.cosmetics-home-dialog :is(button,a):focus-visible{outline:3px solid #f4d9b4;outline-offset:3px}
@media(max-width:700px){dialog.cosmetics-home-dialog{width:96vw;max-width:96vw;max-height:94dvh;border-radius:12px}.cosmetics-home-panel{max-height:94dvh}.cosmetics-home-header{padding:12px 14px;gap:12px}.cosmetics-home-header h2{font-size:22px}.cosmetics-home-header button{padding:8px 12px}.cosmetics-home-body{grid-template-columns:minmax(0,1fr);padding:16px;gap:22px}.cosmetics-home-media{position:static}.cosmetics-home-image{height:300px}.cosmetics-home-thumbnails{gap:8px}.cosmetics-home-thumbnails button{width:50px;height:58px}.cosmetics-home-footer{padding:12px 16px}}

.cosmetics-home-footer .button{min-height:44px;border:1px solid #b99b69;border-radius:24px;background:transparent;color:#f4d9b4;padding:10px 24px;text-decoration:none}

/* Existing CMS Instagram link in the home contacts only. */
.reference-home #contacts [data-contact="instagram"]{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 0;max-width:100%;font-size:16px;color:var(--gold-soft);text-decoration:none}.reference-home #contacts [data-contact="instagram"] bdi{overflow-wrap:anywhere;min-width:0}.reference-home #contacts [data-contact="instagram"]:hover{text-decoration:underline;text-underline-offset:4px}.reference-home #contacts [data-contact="instagram"]:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:2px}.reference-home #contacts .contact-instagram-icon{position:relative;display:inline-block;width:18px;height:18px;flex:0 0 18px;border:1.5px solid currentColor;border-radius:5px}.reference-home #contacts .contact-instagram-icon::before{content:"";position:absolute;inset:4px;border:1.5px solid currentColor;border-radius:50%}.reference-home #contacts .contact-instagram-icon::after{content:"";position:absolute;width:3px;height:3px;top:2px;right:2px;background:currentColor;border-radius:50%}

/* BEGIN KaraT local navigation depth experiment 2026-11-14 */
.reference-home .home-portals > .home-portal{
 --portal-rise:5px;
 --portal-rim:6px;
 --portal-cast-y:15px;
 --portal-glow:transparent;
 --portal-inset:inset 0 -2px 3px #0009;
 border-color:#91724e;
 background:linear-gradient(180deg,#3b362c 0%,#2c2922 18%,#24221d 62%,#1d1c18 100%);
 box-shadow:inset 0 1px 0 #e7cb966b,inset 1px 0 0 #e7cb961c,inset -1px 0 0 #0006,var(--portal-inset),0 var(--portal-rise) 0 #3c2d1f,0 var(--portal-rim) 0 #98754899,0 var(--portal-cast-y) 18px -5px #000b,0 0 20px 1px var(--portal-glow);
 transform:translateY(0);
 transition:transform 280ms cubic-bezier(.22,.61,.36,1),box-shadow 280ms cubic-bezier(.22,.61,.36,1),border-color 280ms ease-out;
}
.reference-home .home-portals > .home-portal::before{
 background:radial-gradient(ellipse at 50% 0%,#e6bf7724,transparent 72%);
 opacity:.65;
 transition:opacity 280ms ease-out;
}
@media(hover:hover) and (pointer:fine){
 .reference-home .home-portals > .home-portal:hover{
  --portal-rise:3px;
  --portal-rim:4px;
  --portal-cast-y:9px;
  --portal-glow:#c991383b;
  --portal-inset:inset 0 3px 8px #0008;
  border-color:#c19a60;
  transform:translateY(2px);
 }
 .reference-home .home-portals > .home-portal:hover::before{opacity:1}
}
.reference-home .home-portals > .home-portal:focus-visible{
 outline:2px solid #ebcc94;
 outline-offset:4px;
}
.reference-home .home-portals > .home-portal:active{
 --portal-rise:1px;
 --portal-rim:2px;
 --portal-cast-y:5px;
 --portal-glow:#c9913847;
 --portal-inset:inset 0 5px 12px #000b;
 border-color:#b18a50;
 transform:translateY(4px);
 transition-duration:220ms;
}
@media(prefers-reduced-motion:reduce){
 .reference-home .home-portals > .home-portal,
 .reference-home .home-portals > .home-portal::before{
  transform:none!important;
  transition:none;
 }
}
/* END KaraT local navigation depth experiment 2026-11-14 */

/* BEGIN KaraT compact public header 2026-11-14 */
#app .public-header.compact-public-header{padding-inline:clamp(16px,3vw,40px);background:linear-gradient(105deg,#1d1d1b,#151412 72%);border-bottom:1px solid #665037;z-index:40;overflow:visible}
#app .public-header.compact-public-header .header-inner{position:relative;display:flex;direction:ltr;align-items:center;justify-content:space-between;height:112px;min-height:112px;max-width:1600px;gap:24px;padding:0;grid-template-rows:none}
#app .public-header.compact-public-header .brand{grid-column:auto;grid-row:auto;flex:0 0 auto;margin:0;line-height:0}
#app .public-header.compact-public-header .brand img{width:112px!important;height:112px!important;object-fit:contain}
#app .public-header.compact-public-header .header-tools{display:flex;direction:ltr;align-items:center;flex-wrap:nowrap;gap:12px;max-width:none;margin:0;margin-inline-start:auto}
#app .public-header.compact-public-header :is(.header-language-wrap,.header-menu-wrap){display:flex;align-items:center}
#app .public-header.compact-public-header .header-language-wrap{position:relative}
#app .public-header.compact-public-header .header-control{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;height:46px;min-height:46px;margin:0;padding:0 21px;border:1px solid #9c794b;border-radius:999px;background:linear-gradient(180deg,#45392c 0%,#2c231c 24%,#201b17 100%);box-shadow:inset 0 1px 0 #ead0a151,inset 0 -2px 3px #0008,0 3px 0 #302319,0 6px 10px #0006;color:#f3dcb6;font:500 16px/1.2 var(--sans);text-decoration:none;white-space:nowrap;transform:translateY(0);transition:transform 280ms cubic-bezier(.22,.61,.36,1),box-shadow 280ms ease-out,border-color 280ms ease-out}
#app .public-header.compact-public-header .header-language-toggle{min-width:80px}
#app .public-header.compact-public-header :is(.header-account,.header-cart-link){width:56px;min-width:56px;padding:0}
#app .public-header.compact-public-header .header-contact{background:linear-gradient(180deg,#967047 0%,#755234 35%,#503823 100%);border-color:#be945f}
#app .public-header.compact-public-header .menu-button{min-width:118px;font-size:16px}
#app .public-header.compact-public-header .header-hamburger{font-size:21px;line-height:1}
#app .public-header.compact-public-header .header-caret{font-size:12px;line-height:1}
#app .public-header.compact-public-header .header-cart-badge{position:absolute;top:-5px;right:2px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border:1px solid #f0ca86;border-radius:999px;background:#efbd72;box-shadow:0 2px 4px #0006;color:#261c12;font:600 11px/1 var(--sans)}
#app .public-header.compact-public-header .header-cart-badge[hidden]{display:none}
#app .public-header.compact-public-header .header-popover{position:absolute;top:100%;right:0;z-index:2;border:1px solid #b08a55;border-radius:18px;background:linear-gradient(125deg,#352b22,#231d18 75%);box-shadow:inset 0 1px 0 #e2bc7e33,0 10px 26px #000b,0 0 0 1px #0004;padding:10px;max-width:calc(100vw - 24px);overflow:auto;overscroll-behavior:contain}
#app .public-header.compact-public-header .header-popover[hidden]{display:none!important}
#app .public-header.compact-public-header .header-navigation{width:340px;max-width:100%;max-height:min(70dvh,calc(100dvh - 130px));display:flex;flex-direction:column;gap:0}
#app .public-header.compact-public-header .header-popover :is(a,button){display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;min-height:48px;padding:12px 15px;border:0;border-bottom:1px solid #7a5d3c;border-radius:0;background:transparent;color:#f2e3cd;font:400 16px/1.4 var(--sans);text-align:start;text-decoration:none;overflow-wrap:anywhere;transition:background-color 220ms ease-out}
#app .public-header.compact-public-header .header-popover :is(a,button):last-child{border-bottom:0}
#app .public-header.compact-public-header .header-popover :is(a,button):hover{background:#a871343d;color:#fff0d7}
#app .public-header.compact-public-header .header-popover [aria-current=page]{background:#b27c3424;color:#ffdda4}
#app .public-header.compact-public-header .header-nav-arrow{flex:0 0 auto;color:#e5bd7b;font-size:23px}
#app .public-header.compact-public-header [dir=rtl] .header-nav-arrow{transform:scaleX(-1)}
#app .public-header.compact-public-header .header-language-options{top:calc(100% + 12px);width:144px}
#app .public-header.compact-public-header .header-language-options [aria-pressed=true]{color:#ffdda4;background:#b27c3424}
#app .public-header.compact-public-header :is(a,button):focus-visible{outline:2px solid #ffdda1;outline-offset:4px}
#app .public-header.compact-public-header .header-popover :is(a,button):focus-visible{outline-offset:-3px;border-radius:5px}
@media(hover:hover) and (pointer:fine){
 #app .public-header.compact-public-header .header-control:hover{transform:translateY(1.5px);border-color:#e1b36c;box-shadow:inset 0 3px 7px #0008,inset 0 1px 0 #e9cb9255,0 1.5px 0 #49321c,0 4px 8px #0008,0 0 17px 2px #dba44c50;color:#fff0d7}
}
#app .public-header.compact-public-header .header-control:active{transform:translateY(3px);border-color:#d8a55d;box-shadow:inset 0 5px 10px #000b,0 1px 0 #604322,0 0 14px #dba44c45;transition-duration:220ms}
#app .public-header.compact-public-header .header-control[aria-expanded=true]{border-color:#e5b773;box-shadow:inset 0 2px 5px #0008,0 2px 0 #49321c,0 0 14px #dba44c38}
@media(max-width:700px){
 #app .public-header.compact-public-header{padding-inline:12px}
 #app .public-header.compact-public-header .header-inner{display:flex;height:112px;min-height:112px;gap:12px}
 #app .public-header.compact-public-header .brand img{width:88px!important;height:88px!important}
 #app .public-header.compact-public-header .header-tools{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:44px 44px;gap:6px;flex:1;min-width:0}
 #app .public-header.compact-public-header .header-language-wrap{grid-column:1/3;grid-row:1;position:static}
 #app .public-header.compact-public-header .header-account{grid-column:3/5;grid-row:1}
 #app .public-header.compact-public-header .header-cart-link{grid-column:5/7;grid-row:1}
 #app .public-header.compact-public-header .header-contact{grid-column:1/4;grid-row:2}
 #app .public-header.compact-public-header .header-menu-wrap{grid-column:4/7;grid-row:2}
 #app .public-header.compact-public-header .header-control{height:44px;min-height:44px;min-width:0;width:100%;padding:0 8px;gap:6px;font-size:14px}
 #app .public-header.compact-public-header :is(.header-account,.header-cart-link){min-width:0;width:100%;padding:0}
 #app .public-header.compact-public-header .menu-button{min-width:0;width:100%;font-size:14px}
 #app .public-header.compact-public-header .header-language-options{top:100%}
 #app .public-header.compact-public-header .header-navigation{width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 130px)}
}
@media(prefers-reduced-motion:reduce){
 #app .public-header.compact-public-header .header-control{transform:none!important;transition:none!important}
 #app .public-header.compact-public-header .header-popover :is(a,button){transition:none}
}
/* END KaraT compact public header 2026-11-14 */
