/* Editorial category pictures are landscape; perfumer pages and product photos are excluded. */
body.visual-system.editorial-landscape #main .page-intro.note-category-intro{grid-template-columns:clamp(220px,25vw,300px) minmax(0,1fr)!important;grid-template-rows:auto!important;align-items:center!important;gap:24px!important;min-height:0!important}
body.visual-system.editorial-landscape #main .page-intro.note-category-intro>.note-header-art{grid-column:1!important;grid-row:1!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;aspect-ratio:3/1!important;justify-self:start!important;overflow:hidden;border-radius:12px}
body.visual-system.editorial-landscape #main .page-intro.note-category-intro>.note-header-copy{grid-column:2!important;grid-row:1!important;min-width:0!important;direction:rtl;text-align:right}
body.visual-system.editorial-landscape #main .page-intro.note-category-intro .note-taxonomy-image{display:block!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;aspect-ratio:3/1!important;object-fit:cover!important}
body.visual-system.editorial-landscape #main a:not([href^="/perfumers/"])>.nav-card-media{width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:3/1!important;overflow:hidden}
body.visual-system.editorial-landscape #main a:not([href^="/perfumers/"])>.nav-card-media>.nav-card-image{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:3/1!important;object-fit:cover!important}
@media(max-width:600px){
body.visual-system.editorial-landscape #main .page-intro.note-category-intro{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:16px!important}
body.visual-system.editorial-landscape #main .page-intro.note-category-intro>.note-header-art{grid-column:1!important;grid-row:1!important;justify-self:stretch!important}
body.visual-system.editorial-landscape #main .page-intro.note-category-intro>.note-header-copy{grid-column:1!important;grid-row:2!important;width:100%!important}
}

/* Official company identities, with the same landscape frames as other category art. */
body.visual-system.editorial-landscape #main .company-identity>.nav-card-media{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;padding:22px!important;background:#fff!important;border:1px solid #e8e5e0;border-bottom:4px solid #173d58}
body.visual-system.editorial-landscape #main .company-lvmh>.nav-card-media{border-bottom-color:#131f3f;background:#f7f8fb!important}
body.visual-system.editorial-landscape #main .company-scent-f46f7ac2a3>.nav-card-media{border-bottom-color:#a68759;background:#faf8f3!important}
body.visual-system.editorial-landscape #main .company-identity>.nav-card-media>.company-logo-image{display:block;width:100%!important;max-width:100%!important;height:auto!important;max-height:90px!important;aspect-ratio:auto!important;object-fit:contain!important}
body.visual-system.editorial-landscape #main .note-header-art>.company-logo-image{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;padding:22px;box-sizing:border-box;background:white}
.company-identity-overview{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));justify-items:center;align-items:center;gap:5px;box-sizing:border-box;width:100%;height:100%;aspect-ratio:3/1;padding:10px 18px;background:#fff;border:1px solid #e8e5e0;border-radius:12px}
.company-identity-overview .company-logo-image{width:70%!important;height:100%!important;max-height:25px!important;object-fit:contain!important;aspect-ratio:auto!important}
@media(max-width:700px){body[data-taxonomy-layout="companies"] #main .taxonomy-tiles{grid-template-columns:minmax(0,1fr)!important}}

body.visual-system.editorial-landscape #main .note-header-art.company-identity-overview{display:grid!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;padding:8px 18px!important;gap:5px!important}body.visual-system.editorial-landscape #main .note-header-art.company-identity-overview>.company-logo-image{padding:0!important;width:70%!important;height:100%!important;max-height:24px!important;object-fit:contain!important}

/* Scoped company identity v2. Existing layout, geometry and typography remain unchanged. */
body.visual-system.editorial-landscape #main .company-identity>.nav-card-media[data-company-brand="elc"],
body.visual-system.editorial-landscape #main .note-header-art[data-company-brand="elc"]{background:#1d2031!important;border-color:#1d2031!important}
body.visual-system.editorial-landscape #main .company-identity>.nav-card-media[data-company-brand="lvmh"],
body.visual-system.editorial-landscape #main .note-header-art[data-company-brand="lvmh"]{background:#f7f8fb!important;border-color:#131f3f!important}
body.visual-system.editorial-landscape #main .company-identity>.nav-card-media[data-company-brand="loreal"],
body.visual-system.editorial-landscape #main .note-header-art[data-company-brand="loreal"]{background:#111111!important;border-color:#111111!important}
body.visual-system.editorial-landscape #main .note-header-art[data-company-brand]>.company-logo-image{background:transparent!important}
/* Company artwork uses the exact same landscape image behavior as sibling category artwork. */
body.visual-system.editorial-landscape #main .note-header-art[data-company-overview="art"]>img{display:block;width:100%!important;height:100%!important;max-width:100%!important;aspect-ratio:3/1!important;object-fit:cover!important;object-position:center!important}

/* Compact, content-sized scent and note components. */
html body[data-perfume-id] .detail-main{align-content:start!important;grid-auto-rows:max-content!important}
html body[data-perfume-id] #scent#scent{display:block!important;align-self:start!important;height:auto!important;min-height:0!important;padding:22px!important;break-inside:avoid}
html body[data-perfume-id] #scent#scent .section-heading{margin:0 0 12px!important}
html body[data-perfume-id] #scent#scent p{display:block!important;min-height:0!important;height:auto!important;margin:0!important;line-height:2.1!important}
html body[data-perfume-id] #scent#scent .sample-source-note{margin-top:12px!important;font-size:11px!important}
html body[data-perfume-id] #notes#notes .pyramid{align-items:start!important;grid-auto-rows:max-content!important;gap:12px!important;margin-top:16px!important}
html body[data-perfume-id] #notes#notes .note-level{display:block!important;min-height:0!important;height:auto!important;padding:14px!important;align-self:start!important;overflow:hidden!important;text-align:center!important}
html body[data-perfume-id] #notes#notes .note-level .generated-note-link{display:block!important;width:100%!important;max-width:100%!important;height:96px!important;aspect-ratio:auto!important;margin:0 0 10px!important;float:none!important;overflow:hidden!important;border-radius:10px!important}
html body[data-perfume-id] #notes#notes .note-level img.generated-note-image{width:100%!important;height:96px!important;max-height:96px!important;min-height:0!important;aspect-ratio:auto!important;object-fit:cover!important;float:none!important;margin:0!important}
html body[data-perfume-id] #notes#notes .level-id{display:block!important;font-size:10px!important;line-height:1.4!important;margin:4px 0!important}
html body[data-perfume-id] #notes#notes .note-level h3{font-size:15px!important;line-height:1.8!important;margin:4px 0 10px!important}
html body[data-perfume-id] #notes#notes .note-list{display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:6px!important;margin:0!important}
html body[data-perfume-id] #notes#notes .key-notes .note-level{text-align:right!important}
html body[data-perfume-id] #notes#notes .key-notes .note-level .generated-note-link{width:190px!important;max-width:28%!important;float:left!important;margin:0 18px 5px 0!important}
html body[data-perfume-id] #notes#notes .key-notes .note-list{justify-content:flex-start!important}
html body[data-perfume-id] #performance .performance-grid{align-items:start!important;gap:12px!important}
html body[data-perfume-id] #performance .performance-grid>div{height:auto!important;min-height:0!important;padding:16px!important}
html body[data-perfume-id] #performance strong{overflow-wrap:anywhere;line-height:1.85!important}
html body[data-perfume-id] #distributions#distributions .scalar-score{text-align:center;margin:22px 0 18px;display:flex;align-items:baseline;justify-content:center;gap:8px}
html body[data-perfume-id] #distributions#distributions .scalar-score strong{font-size:42px;line-height:1.2;color:var(--ink)}
html body[data-perfume-id] #distributions#distributions .scalar-score span{font-size:13px}
html body[data-perfume-id] #distributions#distributions .scalar-track{height:13px;border-radius:99px;overflow:hidden;background:var(--soft);margin:0 10px}
html body[data-perfume-id] #distributions#distributions .scalar-track i{display:block;height:100%;background:var(--accent);border-radius:99px}
html body[data-perfume-id] #distributions#distributions p.scalar-caption{height:auto!important;white-space:normal!important;margin:18px 0!important;font-size:11px!important;line-height:1.8!important}
html body[data-perfume-id] #distributions#distributions .qualitative-value{font-size:25px;text-align:center;font-weight:700;line-height:1.7;margin:24px 0 16px;color:var(--ink)}
html body[data-perfume-id] #distributions#distributions p.qualitative-copy{height:auto!important;white-space:normal!important;font-size:12px!important;line-height:1.9!important;margin:10px 0!important;text-align:center}
@media(max-width:720px){
html body[data-perfume-id] #scent#scent{padding:20px!important}
html body[data-perfume-id] #notes#notes .pyramid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
html body[data-perfume-id] #notes#notes .note-level{padding:13px!important;text-align:right!important}
html body[data-perfume-id] #notes#notes .note-level .generated-note-link,html body[data-perfume-id] #notes#notes .key-notes .note-level .generated-note-link{width:100%!important;max-width:100%!important;height:90px!important;float:none!important;margin:0 0 10px!important}
html body[data-perfume-id] #notes#notes .note-level img.generated-note-image{height:90px!important;max-height:90px!important}
html body[data-perfume-id] #notes#notes .note-list{justify-content:flex-start!important}
html body[data-perfume-id] #performance .performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
/* Uniform note chips, including notes without taxonomy links. */
html body[data-perfume-id] #notes#notes .pyramid{align-items:stretch!important}
html body[data-perfume-id] #notes#notes .pyramid>.note-level{align-self:stretch!important}
html body[data-perfume-id] #notes#notes .note-list{align-items:center!important}
html body[data-perfume-id] #notes#notes .note-list>a,html body[data-perfume-id] #notes#notes .note-list>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;font-family:inherit!important;font-size:12px!important;font-weight:400!important;line-height:1.8!important;min-height:36px!important;height:auto!important;padding:6px 11px!important;margin:0!important;border:1px solid #d3c0b6!important;border-radius:22px!important;background:rgba(255,255,255,.65)!important;color:inherit!important;max-width:100%!important;overflow-wrap:anywhere!important}
