/* PERFULAB · refined editorial layout. Original typefaces and assets retained. */
.store-header .brand{max-width:256px;gap:2px;align-items:center}
.store-header .brand img{width:100%;height:auto;display:block;object-fit:contain}
.header-brand-slogan{position:relative;max-width:100%;font-size:clamp(10px,1vw,13px);letter-spacing:.025em;white-space:nowrap;text-align:center;line-height:1.25;font-weight:750;color:#795617;padding:1px 0 9px}
.header-brand-slogan::after{content:"";position:absolute;bottom:0;left:9%;right:9%;height:7px;background:url('/assets/logo-perfulab-gold-glint.webp') center/100% 100% no-repeat;pointer-events:none}
@media(min-width:681px){.store-header .header-top{grid-template-columns:clamp(190px,18.5vw,256px) minmax(120px,1fr) auto;gap:24px}}
.profile-cards .profile-brand-logo{width:min(100%,480px);margin-bottom:20px}

/* A single warm, recognizable character in each useful context. */
.guide-entry>img{object-fit:contain;filter:drop-shadow(0 3px 2px #0003)}
.guide-entry strong{font-weight:900;letter-spacing:-.025em}
.guide-intro .guide-content{grid-template-columns:minmax(240px,.95fr) minmax(0,1.25fr);gap:clamp(20px,4vw,46px);padding:clamp(18px,4vw,42px);align-items:center}
.guide-intro-art{height:auto;min-height:340px;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 58%,#f9edda80,#fff 72%)}
.guide-intro-art img{width:auto;height:clamp(300px,36vw,450px);max-width:100%;object-fit:contain}
.guide-intro-copy .eyebrow{margin:0 0 12px;color:#8b6933;font-size:11px;font-weight:800;letter-spacing:.12em}
.guide-intro-copy h1{font-family:var(--heading);font-weight:900;letter-spacing:-.047em;font-size:clamp(36px,4.2vw,58px);line-height:.98;margin:0 0 14px;text-wrap:balance;color:#111}
.guide-intro-copy h1 span{font-weight:900}
.guide-intro-copy .guide-greeting{font-size:clamp(18px,1.8vw,23px);font-weight:750;color:#252322;line-height:1.3;margin:0 0 21px;max-width:33ch}
.guide-intro-explanation{padding-top:16px;border-top:1px solid #e4e0d7;margin-bottom:20px}
.guide-intro-explanation h2{font-weight:800;font-size:clamp(17px,1.6vw,21px);line-height:1.2;letter-spacing:-.025em;margin:0 0 10px;color:#141414}
.guide-intro-copy .guide-intro-explanation p{font-size:16px;line-height:1.52;color:#57534e;margin:0 0 12px;max-width:65ch}
.guide-intro-copy .gold-button{width:100%;max-width:420px;font-size:14px;min-height:46px;font-weight:850}
.guide-intro-copy small{font-size:12px}
.guide-content>h1{font-weight:900;letter-spacing:-.04em;line-height:1.02}
body:has(#guide-view:not([hidden])) .chat-toggle{display:none!important}

/* Clean two-action cards. Original photographs are displayed in proportional
   viewports; the notes use accessible text at the actual rendered size. */
.product-card .product-art{aspect-ratio:auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;border-bottom:1px solid #ebe8e3}
.card-art-top{display:flex;justify-content:space-between;align-items:center;padding:7px 8px 0;min-height:38px;gap:5px}
.card-art-top .badge,.card-art-top .favorite{position:static;flex:none;z-index:auto}
.card-art-top .favorite{width:32px;height:32px;border-color:#e5e0d6}
.card-art-top .favorite svg{width:18px;height:18px}
.card-art-top .badge{font-size:10px;letter-spacing:.07em;background:#171717}
.product-card .art-link{padding:2px 7px 9px;min-width:0;width:100%;height:auto;display:flex;flex-direction:column;justify-content:center;align-items:stretch;flex:1}
.product-card .art-link>img{aspect-ratio:1;max-height:300px;object-fit:contain;object-position:center}
.product-showcase{display:grid;grid-template-columns:minmax(62px,.40fr) minmax(0,.60fr);gap:1px;width:100%;min-width:0;align-items:center;min-height:210px}
.product-note-stack{min-width:0;display:grid;gap:7px;align-content:center;justify-items:stretch;padding:0 1px}
.product-note-stack figure{min-width:0;margin:0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px}
.product-note-stack figcaption{font-family:var(--brand-body);font-weight:750;font-size:clamp(10.5px,.95vw,12px);color:#1e1d1b;line-height:1.12;overflow-wrap:break-word;hyphens:auto;max-width:100%}
.card-note-photo{display:block;width:100%;max-width:66px;height:48px;overflow:hidden}
.card-note-dot{width:7px;height:7px;border-radius:50%;background:#ad8641;display:block;margin:5px auto}
.product-scene{position:relative;display:grid;place-items:center;align-self:stretch;min-width:0;overflow:hidden}
.card-scene-photo{display:block;width:100%;height:100%;min-height:210px;max-height:282px;overflow:hidden}
.product-scene::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 43%,#ffffff08 52%,#ffffff25 100%)}
.four-notes .card-note-photo{height:36px;max-width:56px}
.four-notes .product-note-stack{gap:4px}
.card-notes-fallback{color:#5d554a;font-size:12px;font-weight:650;line-height:1.3;padding:4px 5px;text-align:center}
.product-card .card-body{padding:13px;gap:0}
.product-card .brand-line{font-size:11px;color:#7e5b24;font-weight:750;line-height:1.22;letter-spacing:.04em;margin:2px 0 5px}
.product-card .card-name{font-size:clamp(16px,1.45vw,19px);font-weight:850;line-height:1.16;letter-spacing:-.025em;min-height:0;margin-bottom:7px}
.product-card .card-character{min-height:0;font-size:13px;color:#5b5853;line-height:1.35;margin-bottom:10px}
.product-card .mini-tags{gap:4px;margin:0 0 12px}
.product-card .mini-tags .tag{background:#f6f4ef;border:1px solid #ebe4d8;color:#635633;font-size:11px;padding:4px 6px;line-height:1.2}
.product-card .card-price{color:#191918;font-weight:850;font-size:clamp(23px,2.1vw,28px);margin-top:auto;line-height:1.2}
.product-card .card-price small{font-size:11px;font-weight:600;color:#655d51;letter-spacing:0}
.product-card .size-line{color:#625d54;font-size:12px;margin:3px 0 12px}
.product-card .card-actions{display:grid;grid-template-columns:1fr;gap:5px;align-items:stretch}
.product-card .card-actions .add-button{width:100%;background:#c49a52;color:#15130d;border-color:#c49a52;font-size:14px;font-weight:800;min-height:43px}
.product-card .card-actions .add-button.in-cart{background:#eee4ce;color:#60491e;border-color:#c9a56b}
.product-card .card-actions .card-detail-link{background:white;color:#37332d;min-height:39px;border:1px solid #dfdcd6;font-weight:700;font-size:13px}
.product-card .card-detail-link:hover{background:#f6f4ef;color:#111;border-color:#b8a17a}
.list-mode .product-card .product-art{flex:0 0 230px;aspect-ratio:auto;border-bottom:0;border-right:1px solid var(--line)}
.list-mode .product-card .card-actions{grid-template-columns:1fr 1fr;gap:7px}
.list-mode .product-card .card-actions .add-button{grid-column:auto}
.detail-panel .detail-description{font-size:16px;line-height:1.55;color:#494640}
@media(max-width:680px){
 .store-header .header-top{gap:6px;grid-template-columns:minmax(0,1fr) auto}
 .store-header .brand{max-width:196px}
 .header-brand-slogan{font-size:10px;letter-spacing:.02em;padding-bottom:7px}
 .header-brand-slogan::after{height:6px}
 .guide-intro .guide-content{grid-template-columns:1fr;gap:14px;padding:14px 18px 24px}
 .guide-intro-art{min-height:0;height:clamp(225px,65vw,310px);display:flex;align-items:center;justify-content:center;overflow:hidden}
 .guide-intro-art img{width:auto;height:clamp(225px,65vw,310px);max-height:clamp(225px,65vw,310px);max-width:100%;flex:none;object-fit:contain}
 .guide-intro-copy h1{font-size:clamp(32px,9.2vw,43px);line-height:1.01;letter-spacing:-.04em;margin-bottom:11px}
 .guide-intro-copy .guide-greeting{font-size:18px;line-height:1.3;margin-bottom:18px}
 .guide-intro-explanation h2{font-size:17px;line-height:1.28}
 .guide-intro-copy .guide-intro-explanation p{font-size:15px;line-height:1.55}
 .guide-intro-copy .eyebrow{font-size:10px;letter-spacing:.095em;margin-bottom:10px}
 .product-card .card-body{padding:9px}
 .card-art-top{padding:5px 6px 0;min-height:34px}
 .card-art-top .favorite{width:31px;height:31px}
 .product-card .art-link{padding:2px 4px 7px}
 .product-showcase{grid-template-columns:minmax(49px,.39fr) minmax(0,.61fr);min-height:177px}
 .card-scene-photo{min-height:177px;max-height:214px}
 .product-note-stack{gap:6px}
 .card-note-photo{height:36px;max-width:48px}
 .product-note-stack figcaption{font-size:10.5px;line-height:1.14}
 .four-notes .card-note-photo{height:26px;max-width:39px}
 .four-notes .product-note-stack{gap:4px}
 .product-card .brand-line{font-size:10px;letter-spacing:.02em}
 .product-card .card-name{font-size:16px;line-height:1.17}
 .product-card .card-character{font-size:12px}
 .product-card .mini-tags .tag{font-size:10.5px;max-width:100%;white-space:normal;padding:3px 5px}
 .product-card .card-actions .add-button{font-size:13px;min-height:43px}
 .product-card .card-actions .card-detail-link{font-size:12px;min-height:40px}
 .list-mode .product-card .product-art{flex:0 0 43%;max-width:190px}
 .list-mode .product-card .product-showcase{min-height:166px}
 .list-mode .product-card .card-actions{grid-template-columns:1fr}
 .detail-panel .detail-description{font-size:15px}
}
@media(max-width:360px){.store-header .brand{max-width:163px}.header-brand-slogan{font-size:8.6px;letter-spacing:0}.product-showcase{grid-template-columns:minmax(44px,.41fr) minmax(0,.59fr)}.card-note-photo{height:31px}.product-note-stack figcaption{font-size:10px}.product-card .card-body{padding:8px}.product-card .card-actions .add-button{font-size:12px}}
