.brand-grid .house-logo-card{background:#faf7f1!important;color:#292722!important;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;min-width:0;height:100%;padding:16px 14px 22px!important;border:1px solid #e0d6c5!important;box-sizing:border-box}.brand-grid .house-logo-card:hover{background:#f2ebdf!important}.house-logo-media{display:block;width:min(100%,140px);margin-inline:auto;aspect-ratio:1/1;background:var(--house-logo-bg,#f5f0e7);overflow:hidden;flex-shrink:0}.house-logo-media .house-logo-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;object-position:center!important;transform:none!important;filter:none!important;mix-blend-mode:normal!important;padding:0!important}.house-logo-card>strong{font-size:clamp(.82rem,1.1vw,.96rem)!important;min-height:2.8em;display:flex;align-items:center;justify-content:center;line-height:1.4;margin-top:12px;color:#292722!important}.house-logo-card>span:not(.house-logo-media){color:#63584a!important;margin:2px 0 10px}.house-logo-card>em{color:#786951!important;font-size:.78rem;font-style:normal;margin-top:auto}.house-brand-art{width:112px!important;height:112px!important;max-width:30vw;flex:0 0 112px!important;aspect-ratio:1!important;padding:0!important;background:transparent!important;border:1px solid #e0d6c5}.house-logo-hero{width:100%;height:100%;margin:0}.house-directory{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}.house-empty{padding:32px;border:1px solid #e0d6c5;background:#faf7f1;margin:24px 0 50px}.house-empty p{line-height:1.9}@media(max-width:900px){.house-directory{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:600px){.house-directory{grid-template-columns:repeat(2,minmax(0,1fr))!important}.house-brand-art{width:130px!important;height:130px!important;flex-basis:130px!important}.brand-grid .house-logo-card{padding:10px 8px 16px!important}}
/* Keep home house cards in the active randomly selected page palette. */
body.home-theme #home-house-grid .house-logo-card{background:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important}
body.home-theme #home-house-grid .house-logo-card:hover{background:var(--soft)!important;border-color:var(--accent)!important}
body.home-theme #home-house-grid .house-logo-card>strong{color:var(--ink)!important}
body.home-theme #home-house-grid .house-logo-card>span:not(.house-logo-media),body.home-theme #home-house-grid .house-logo-card>em{color:var(--muted)!important}

.card-image img[src*='/missing-20261025/']{object-fit:contain!important;transform:none!important;filter:none!important;mix-blend-mode:normal!important}.card-image:has(img[src*='/missing-20261025/']){background:#fff!important}
/* Compact card typography; full names stay in title. */
html body #main .card-grid.card-grid .perfume-card.perfume-card .card-body{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:0!important;min-width:0!important;padding:11px 12px!important}
html body #main .card-grid.card-grid .perfume-card.perfume-card .card-brand,html body #main .card-grid.card-grid .perfume-card.perfume-card h3,html body #main .card-grid.card-grid .perfume-card.perfume-card .card-en{display:block!important;box-sizing:border-box!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;letter-spacing:normal!important;word-spacing:normal!important;-webkit-line-clamp:unset!important}
html body #main .card-grid.card-grid .perfume-card.perfume-card .card-brand{height:16px!important;min-height:16px!important;max-height:16px!important;line-height:16px!important;margin:0 0 3px!important}
html body #main .card-grid.card-grid .perfume-card.perfume-card h3{height:23px!important;min-height:23px!important;max-height:23px!important;line-height:23px!important;margin:0!important}
html body #main .card-grid.card-grid .perfume-card.perfume-card .card-en{height:20px!important;min-height:20px!important;max-height:20px!important;line-height:20px!important;margin:2px 0 0!important}
html body #main .card-grid.card-grid .perfume-card.perfume-card .card-notes{height:34px!important;min-height:34px!important;max-height:34px!important;font-size:11px!important;line-height:17px!important;margin:6px 0 0!important;padding-top:5px!important;box-sizing:content-box!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important}
@media(max-width:520px){html body #main .card-grid.card-grid .perfume-card.perfume-card .card-body{padding:10px!important}}
