/* Discovery modules. Scoped to hced- classes; existing theme layout is untouched. */
.hced-page,.hced-rail{--hced-ink:#2c2324;--hced-pink:#b73766;--hced-blush:#fff4f5;--hced-border:#efdde1;color:var(--hced-ink)}
.hced-page{background:#fffaf9}.hced-page .hce-container,.hced-rail .hce-container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.hced-hero{background:linear-gradient(120deg,#fff9f9,#f9e7eb);padding:76px 0 64px}.hced-hero-inner{max-width:900px;text-align:center}.hced-hero h1{margin:12px 0 20px;font:400 clamp(44px,7vw,82px)/1.02 Georgia,serif;letter-spacing:-.045em}.hced-hero h1 em,.hced-heading em,.hced-look-details h2 em{color:var(--hced-pink);font-weight:400}.hced-hero p:not(.hced-eyebrow){max-width:685px;margin:0 auto 22px;color:#665957;line-height:1.7;font-size:16px}.hced-eyebrow{color:#a92d59;font:800 11px/1.5 Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase}.hced-actions,.hced-next{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:24px}.hced-button{background:var(--hced-pink);border:1px solid var(--hced-pink);border-radius:32px;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 22px;color:white!important;text-decoration:none!important;font:800 12px/1.3 Arial,sans-serif;letter-spacing:.04em;cursor:pointer}.hced-button:hover,.hced-button:focus-visible{background:#8f234e}.hced-button.hced-outline{background:white;color:#91264e!important}.hced-section{padding:68px 0 88px}.hced-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.hced-heading h2{margin:4px 0 0;font:400 clamp(32px,4.2vw,51px)/1.12 Georgia,serif}.hced-heading>p{max-width:360px;font-size:13px;line-height:1.7;color:#726765}.hced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hced-card{border:1px solid var(--hced-border);border-radius:18px;overflow:hidden;background:white;box-shadow:0 8px 22px rgba(64,35,41,.045);min-width:0}.hced-card-image{display:block;background:#f7e9e8;aspect-ratio:4/4.5;overflow:hidden}.hced-card-image img{display:block;width:100%;height:100%;object-fit:cover}.hced-card-image:hover img{transform:scale(1.02)}.hced-card-image img{transition:transform .25s}.hced-card-placeholder{display:flex;width:100%;height:100%;min-height:200px;align-items:center;justify-content:center;font:400 43px Georgia,serif;color:#b73766;background:linear-gradient(125deg,#f4d8df,#fff4f5)}.hced-card-body{padding:21px}.hced-card-body h3{font:400 26px/1.18 Georgia,serif;margin:9px 0}.hced-card-body h3 a{color:var(--hced-ink);text-decoration:none}.hced-card-body p{font-size:13px;line-height:1.65;color:#665d5b}.hced-text-link{font:800 12px Arial,sans-serif;letter-spacing:.04em;color:var(--hced-pink);text-decoration:none}.hced-empty{border:1px dashed #d7aabb;border-radius:18px;text-align:center;padding:45px 24px;background:white}.hced-empty h3{font:400 30px Georgia,serif;margin:0 0 10px}.hced-empty p{margin:0 auto 20px;max-width:510px;color:#766766;line-height:1.7}.hced-pagination{margin-top:34px}.hced-pagination a,.hced-pagination .current{padding:8px;color:#9e345b}
.hced-look-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:55px;align-items:start;padding-top:64px;padding-bottom:55px}.hced-look-visual{background:#f8e8ea;border-radius:22px;overflow:hidden}.hced-look-visual img{display:block;width:100%;height:auto;max-height:800px;object-fit:cover}.hced-large-placeholder{min-height:520px}.hced-look-details h2{font:400 clamp(35px,4vw,52px) Georgia,serif;margin:8px 0 14px}.hced-look-details>p{color:#675a5a;line-height:1.7}.hced-component{display:flex;align-items:center;gap:15px;border:1px solid var(--hced-border);border-radius:14px;margin:12px 0;padding:12px;text-decoration:none;background:white}.hced-component img{width:88px;height:100px;object-fit:cover;border-radius:8px;flex-shrink:0}.hced-component span{display:flex;flex-direction:column;gap:7px}.hced-component small{font:800 10px Arial,sans-serif;letter-spacing:.13em;color:var(--hced-pink)}.hced-component strong{font:400 20px/1.25 Georgia,serif;color:var(--hced-ink)}.hced-component em{font:700 12px Arial,sans-serif;color:var(--hced-pink);font-style:normal}.hced-finishing{background:#fff0f3;padding:16px 22px;border-radius:13px;margin-top:20px}.hced-finishing p{font-size:14px;line-height:1.7}.hced-finishing strong{display:block;letter-spacing:.1em;font:800 10px Arial,sans-serif;color:#972951}.hced-back{color:var(--hced-pink);text-decoration:none;font:700 13px Arial,sans-serif}.hced-color-detail{display:inline-flex;gap:8px;align-items:center;font-size:13px}.hced-color-detail span{width:18px;height:18px;border:1px solid #bbb;border-radius:50%}.hced-note{font-size:13px}.hced-editorial{padding-bottom:60px}.hced-editorial-content{max-width:760px;margin:auto;font-size:17px;line-height:1.85}.hced-next{padding-bottom:90px}
.hced-form{background:white;border:1px solid var(--hced-border);border-radius:18px;padding:27px;margin-bottom:50px;box-shadow:0 8px 30px rgba(64,35,41,.04)}.hced-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.hced-form-grid label{display:flex;flex-direction:column;gap:9px;font:700 13px Arial,sans-serif}.hced-form-grid select{width:100%;min-height:44px;border:1px solid #d9c8cc;padding:9px;border-radius:10px;font:400 14px Arial,sans-serif;background:white;color:#302326}.hced-form-actions{display:flex;align-items:center;gap:16px;margin-top:21px}.hced-form-actions>a{color:var(--hced-pink);font:700 13px Arial,sans-serif}
.hced-colors{padding:25px;border:1px solid var(--hced-border);border-radius:20px;background:white;margin-bottom:44px}.hced-swatches{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-top:17px}.hced-swatch{background:white;border:1px solid #ecdae0;border-radius:12px;display:flex;flex-direction:column;gap:10px;align-items:center;padding:12px 5px;cursor:pointer;color:#302326}.hced-swatch>span{border:1px solid rgba(0,0,0,.14);width:54px;height:54px;border-radius:50%}.hced-swatch strong{font-size:12px;font-weight:700;line-height:1.2}.hced-swatch.is-current,.hced-swatch:focus-visible{border:2px solid var(--hced-pink);box-shadow:0 0 0 2px #fbe5eb}.hced-color-result{margin-bottom:58px;display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:20px}.hced-color-banner{min-height:245px;padding:33px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(135deg,var(--hced-selected),#fffbfa);border:1px solid #eed7dd;border-radius:18px}.hced-color-banner span{font:800 10px Arial,sans-serif;letter-spacing:.16em}.hced-color-banner h2{font:400 45px Georgia,serif;margin:8px 0}.hced-color-banner p{font-size:13px;line-height:1.6;max-width:260px}.hced-color-ideas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hced-color-ideas>div{border:1px solid #eedde0;border-radius:15px;background:white;padding:20px}.hced-color-ideas small{font:800 10px Arial,sans-serif;color:#a92d59;letter-spacing:.13em}.hced-color-ideas p{font:400 19px/1.45 Georgia,serif;margin:14px 0 0}
.hced-rail{background:#fff4f6;padding:72px 0}.hced-rail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.hced-rail-card{display:flex;min-height:198px;padding:25px;flex-direction:column;gap:14px;border:1px solid #efdae0;border-radius:18px;background:white;text-decoration:none;color:#302326;transition:transform .2s}.hced-rail-card:hover,.hced-rail-card:focus-visible{transform:translateY(-3px)}.hced-rail-number{font:800 10px Arial,sans-serif;letter-spacing:.14em;color:#af3763}.hced-rail-card strong{font:400 26px/1.15 Georgia,serif}.hced-rail-card>span:not(.hced-rail-number){color:#756669;font:400 13px/1.55 Arial,sans-serif}.hced-rail-card b{margin-top:auto;font:800 11px Arial,sans-serif;color:#b73766}
/* Filtered jump links preserve original content, images, TOC, and section order. */
.hced-article-filter{border:1px solid #efdae0;background:#fff7f8;border-radius:14px;padding:23px;margin:6px 0 27px}.hced-article-filter h2{font:400 31px Georgia,serif;margin:0 0 8px}.hced-article-filter>p{font-size:13px;color:#6d6060;line-height:1.6}.hced-article-filter input{width:100%;border:1px solid #d9c4cc;border-radius:9px;min-height:43px;background:white;padding:10px 12px;font-size:15px}.hced-article-chips{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}.hced-filter-chip{border:1px solid #ead1da;border-radius:22px;padding:7px 11px;background:white;color:#8e3055;cursor:pointer;font:700 12px Arial,sans-serif}.hced-filter-chip[aria-pressed=true]{background:#b73766;color:white}.hced-article-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 19px;margin:13px 0;padding-left:20px}.hced-article-links li{font-size:14px;line-height:1.5}.hced-article-links a{color:#9d2a56}.hced-filter-status{font:700 12px Arial,sans-serif}
@media(max-width:880px){.hced-grid,.hced-rail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hced-form-grid{grid-template-columns:1fr}.hced-look-layout,.hced-color-result{grid-template-columns:1fr}.hced-swatches{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:570px){.hced-page .hce-container,.hced-rail .hce-container{width:min(1180px,calc(100% - 28px))}.hced-hero{padding:50px 0}.hced-section,.hced-rail{padding:48px 0}.hced-heading{align-items:start;flex-direction:column;gap:8px}.hced-grid,.hced-rail-grid{grid-template-columns:1fr}.hced-card-image{aspect-ratio:4/3}.hced-rail-card{min-height:170px}.hced-swatches{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.hced-swatch>span{width:44px;height:44px}.hced-color-ideas,.hced-article-links{grid-template-columns:1fr}.hced-look-layout{gap:25px;padding-top:35px}.hced-look-visual img{max-height:570px}.hced-form{padding:17px}.hced-hero h1{font-size:48px}}

.hced-color-banner.hced-on-dark{color:#fff;background:linear-gradient(110deg,var(--hced-selected) 0%,var(--hced-selected) 48%,#fff5f4 160%)}
.hced-color-links{margin-top:45px}

/* Premium home discovery studio. All selectors are local to this section. */
.hced-studio{position:relative;isolation:isolate;overflow:hidden;padding:72px 0 78px;background:linear-gradient(115deg,#fff8f8 0%,#fbe9ed 54%,#fff9f6 100%)}
.hced-studio::before{content:"";position:absolute;z-index:-1;pointer-events:none;width:450px;height:450px;right:-230px;top:-230px;border:1px solid rgba(174,63,101,.16);border-radius:50%;box-shadow:0 0 0 60px rgba(255,255,255,.15),0 0 0 120px rgba(180,58,101,.025)}
.hced-studio-heading{display:flex;align-items:end;justify-content:space-between;gap:36px;margin:0 0 28px}
.hced-studio-heading h2{font:400 clamp(34px,4.1vw,53px)/1.09 Georgia,'Times New Roman',serif;letter-spacing:-.035em;margin:9px 0 0;color:#2c2324}
.hced-studio-heading h2 em{font-weight:400;color:#b33968}
.hced-studio-heading>p{max-width:340px;margin:0 0 4px;color:#69575b;font:400 14px/1.7 Arial,sans-serif}
.hced-studio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hced-studio-grid--2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:820px}
.hced-studio-grid--1{grid-template-columns:minmax(0,400px)}
.hced-studio-card{position:relative;display:flex;min-width:0;flex-direction:column;min-height:256px;padding:28px 28px 24px;border:1px solid #ecd7de;border-radius:16px;color:#2c2324!important;text-decoration:none!important;background:rgba(255,255,255,.93);box-shadow:0 14px 32px rgba(79,41,54,.045);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.hced-studio-card:hover,.hced-studio-card:focus-visible{transform:translateY(-3px);border-color:#d6a5b6;box-shadow:0 18px 34px rgba(79,41,54,.085)}
.hced-studio-card-label{font:800 10px/1.4 Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#ad3762}
.hced-studio-card-mark{display:flex;align-items:center;justify-content:center;gap:0;position:absolute;top:20px;right:21px;width:52px;height:52px;border-radius:50%;background:#faf0f2;overflow:hidden}
.hced-studio-card--collections .hced-studio-card-mark{background:#f5edf0}
.hced-studio-card-mark .hced-studio-mark-ring{display:block;width:22px;height:29px;border:1.5px solid #aa6680;border-radius:50% 50% 43% 43%;transform:rotate(-18deg)}
.hced-studio-card-mark .hced-studio-mark-ring+.hced-studio-mark-ring{margin-left:-12px;transform:rotate(18deg);border-color:#c1a16d}
.hced-studio-card-mark .hced-studio-mark-star{font:400 37px/1 Georgia,serif;color:#b73766}
.hced-studio-card--color .hced-studio-card-mark i{display:block;flex:0 0 15px;width:15px;height:25px;border-radius:20px;border:2px solid white;background:#a1c4db}
.hced-studio-card--color .hced-studio-card-mark i:nth-child(2){margin-left:-5px;background:#5a4b67}
.hced-studio-card--color .hced-studio-card-mark i:nth-child(3){margin-left:-5px;background:#d89e80}
.hced-studio-card>strong{display:block;max-width:250px;margin:34px 0 10px;font:400 clamp(24px,2.45vw,30px)/1.17 Georgia,'Times New Roman',serif;letter-spacing:-.025em;color:#2c2324}
.hced-studio-card-copy{display:block;max-width:310px;color:#6e6060;font:400 13px/1.7 Arial,sans-serif}
.hced-studio-card-action{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:22px;font:800 11px/1.3 Arial,sans-serif;letter-spacing:.03em;color:#a52f5c}
.hced-studio-card-action span{font-size:18px;font-weight:400;transition:transform .2s ease}
.hced-studio-card:hover .hced-studio-card-action span{transform:translate(2px,-2px)}
@media(max-width:800px){.hced-studio-heading{align-items:start;flex-direction:column;gap:11px}.hced-studio-heading>p{max-width:600px}.hced-studio-grid,.hced-studio-grid--2{grid-template-columns:1fr}.hced-studio-card{min-height:215px;padding:24px}.hced-studio-card>strong{margin-top:27px}}
@media(max-width:570px){.hced-studio{padding:47px 0 52px}.hced-studio-heading h2{font-size:38px}.hced-studio-card{min-height:195px}.hced-studio-card-mark{top:16px;right:16px}}
@media(prefers-reduced-motion:reduce){.hced-studio-card,.hced-studio-card-action span{transition:none}.hced-studio-card:hover,.hced-studio-card:focus-visible{transform:none}}
/* Final reader-facing tools and gallery styling. Home studio and article filters retain their original rules. */
.hced-page{--hced-pink:#a52d59;font-size:16px}.hced-page [hidden]{display:none!important}.hced-page .hced-hero{padding:43px 0 34px;border-bottom:1px solid #eedbe3;background:linear-gradient(125deg,#fffaf8,#f9e6ed)}.hced-page .hced-hero h1{font-size:clamp(42px,5.4vw,66px);line-height:1.06;margin:10px 0 16px}.hced-page .hced-hero p:not(.hced-eyebrow){font-size:16px;line-height:1.65;max-width:650px;margin-bottom:16px;color:#715e65}.hced-page .hced-section{padding:36px 0 70px}.hced-page .hced-actions{margin-top:20px;gap:10px}.hced-page .hced-button{border-radius:12px;min-height:46px;padding:12px 20px;font-size:12px;letter-spacing:.02em;box-shadow:0 5px 16px #a52d5915;background:linear-gradient(125deg,#a52d59,#bf4b76);transition:transform .2s,box-shadow .2s}.hced-page .hced-button:hover{transform:translateY(-2px);box-shadow:0 9px 20px #a52d5925;background:#93234e}.hced-page .hced-outline{background:#fff;color:#8e2851!important;border-color:#d5adbd;box-shadow:none}.hced-page :is(a,button,input,select):focus-visible{outline:3px solid #8e2851;outline-offset:4px}.hced-page .hced-heading h2{font-size:clamp(30px,3.6vw,44px)}.hced-page .hced-heading>p{font-size:14px;line-height:1.6}.hced-page .hced-form{margin-bottom:32px;padding:24px;border-radius:16px}.hced-page .hced-form-grid label{font-size:14px;line-height:1.5}.hced-page .hced-form-grid select{font-size:16px;min-height:48px;padding:10px 12px;background:#fffdfc;border-color:#dcc6d0}.hced-page .hced-form-actions{gap:20px;flex-wrap:wrap}.hced-page .hced-gallery-filter .hced-form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hced-page .hced-card{display:flex;flex-direction:column;border-radius:16px;box-shadow:0 8px 25px #672d4610;transition:transform .2s,box-shadow .2s}.hced-page .hced-card:hover{transform:translateY(-3px);box-shadow:0 15px 30px #672d4619}.hced-page .hced-card-image{aspect-ratio:3/4;background:#f8eff1;display:flex;align-items:center;justify-content:center}.hced-page .hced-card-image img{display:block;width:100%;height:100%;object-fit:contain;transform:none!important}.hced-page .hced-card-body{padding:22px;display:flex;flex:1;flex-direction:column;align-items:start}.hced-page .hced-card-body h3{font-size:25px;line-height:1.23;margin:10px 0}.hced-page .hced-card-body p{font-size:15px;line-height:1.65;margin:0 0 18px}.hced-page .hced-text-link{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #e3bfce;border-radius:10px;padding:10px 15px;background:#fff5f8;color:#8d2851;font-size:12px;line-height:1.3}.hced-page .hced-text-link:hover{background:#a52d59;color:#fff}.hced-page .hced-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:32px}.hced-page .hced-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:10px;background:#fff;border:1px solid #e2becd;font:700 13px/1.4 Arial,sans-serif;text-decoration:none;padding:10px 14px}.hced-page .hced-pagination .current{background:#a52d59;border-color:#a52d59;color:#fff}.hced-page .hced-empty{padding:32px 24px;background:#fffcfb;border:1px solid #ead3dc}.hced-page .hced-empty h3{font-size:28px;line-height:1.2}.hced-page .hced-empty p{font-size:15px;line-height:1.65;color:#715e65}.hced-page .hced-colors{padding:24px;margin-bottom:28px}.hced-color-instruction{font-size:15px;color:#715e65;line-height:1.6;margin:5px 0 0}.hced-page .hced-swatch{padding:14px 6px;border:2px solid #efdee5;transition:transform .2s,box-shadow .2s;min-height:112px}.hced-page .hced-swatch:hover{transform:translateY(-2px);border-color:#d3a7b8}.hced-page .hced-swatch.is-current{border:2px solid #a52d59;background:#fff4f8;box-shadow:0 0 0 3px #f6dfe9}.hced-page .hced-swatch strong{font-size:13px}.hced-page .hced-color-banner h2{font-size:39px;line-height:1.15}.hced-page .hced-color-banner p{font-size:15px;line-height:1.65}.hced-page .hced-color-ideas p{font-size:21px;line-height:1.45}.hced-page .hced-color-ideas>div{padding:22px}.hced-page .hced-color-result{margin-bottom:36px}.hced-page .hced-look-layout{padding-top:40px;gap:36px}.hced-page .hced-look-visual img{object-fit:contain;max-height:none;height:auto}.hced-single-look .hced-look-details h1{font:400 clamp(34px,4vw,52px)/1.12 Georgia,serif;letter-spacing:-.035em;margin:12px 0 18px}.hced-page .hced-component img{object-fit:contain;background:#fcf2f5}.hced-page .hced-component strong{font-size:22px;line-height:1.3}.hced-page .hced-finishing{background:#fff0f5}.hced-page .hced-finishing p{font-size:15px}
@media(max-width:880px){.hced-page .hced-gallery-filter .hced-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hced-page .hced-look-layout{grid-template-columns:1fr}.hced-page .hced-look-visual{max-width:600px;margin-inline:auto;width:100%}}
@media(max-width:570px){.hced-page .hced-hero{padding:30px 0 26px}.hced-page .hced-hero h1{font-size:43px}.hced-page .hced-hero p:not(.hced-eyebrow){font-size:15px}.hced-page .hced-section{padding:26px 0 48px}.hced-page .hced-form{padding:18px}.hced-page .hced-gallery-filter .hced-form-grid{grid-template-columns:1fr}.hced-page .hced-card-image{aspect-ratio:3/4}.hced-page .hced-card-body{padding:20px}.hced-page .hced-card-body h3{font-size:25px}.hced-page .hced-heading h2{font-size:32px}.hced-page .hced-colors{padding:18px}.hced-page .hced-swatches{gap:10px}.hced-page .hced-swatch{padding:12px 4px}.hced-page .hced-color-ideas{grid-template-columns:1fr}.hced-page .hced-color-ideas>div{padding:20px}.hced-page .hced-color-banner{min-height:200px;padding:26px}.hced-page .hced-actions .hced-button{flex:1 1 auto}.hced-page .hced-look-layout{padding-top:28px;gap:25px}}
@media(prefers-reduced-motion:reduce){.hced-page *{transition:none!important;animation:none!important;scroll-behavior:auto!important}.hced-page :is(.hced-button,.hced-card,.hced-swatch):hover{transform:none}}

.hced-page .hced-color-banner.hced-on-dark{color:#fff;background:linear-gradient(rgba(0,0,0,.22),rgba(0,0,0,.22)),var(--hced-selected)}

/* Find Your Style: complete images at their natural height, without portrait frames. */
.hced-page.hced-directory .hced-grid {
  grid-template-columns: repeat(auto-fit, minmax(0, 370px));
  justify-content: center;
  align-items: start;
  gap: 24px;
}
.hced-page.hced-directory .hced-card-image {
  display: block;
  aspect-ratio: auto;
  height: auto;
  min-height: 0;
  padding: 0;
}
.hced-page.hced-directory .hced-card-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  object-fit: contain;
}
.hced-page.hced-directory .hced-card-body { padding: 22px; }
.hced-page.hced-directory .hced-card-body h3 {
  font-size: clamp(23px, 2.3vw, 27px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.hced-page.hced-directory .hced-text-link {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
}
@media (min-width: 571px) and (max-width: 880px) {
  .hced-page.hced-directory .hced-grid {
    grid-template-columns: repeat(2, minmax(0, 370px));
  }
  .hced-page.hced-directory .hced-grid:has(> .hced-card:only-child) {
    grid-template-columns: minmax(0, 370px);
  }
}
@media (max-width: 570px) {
  .hced-page.hced-directory .hced-grid { grid-template-columns: minmax(0, 1fr); }
  .hced-page.hced-directory .hced-card-body { padding: 20px; }
}

/* Color Finder refinement: scoped to this page only. */
.hced-page.hced-color-page .hced-color-ideas > div {display:flex;flex-direction:column;min-width:0;gap:12px;}
.hced-page.hced-color-page .hced-color-ideas p {margin:0;overflow-wrap:anywhere;}
.hced-page.hced-color-page .hced-color-explore {display:inline-flex;align-items:center;gap:8px;align-self:flex-start;min-height:44px;margin-top:auto;color:#8d2851;font:700 13px/1.4 Arial,sans-serif;text-decoration:underline;text-underline-offset:4px;}
.hced-page.hced-color-page .hced-color-explore:hover {color:#63203d;}
.hced-page.hced-color-page .hced-swatch {box-sizing:border-box;min-width:0;}
.hced-page.hced-color-page .hced-swatch strong {overflow-wrap:anywhere;}
.hced-page.hced-color-page .hced-grid {grid-template-columns:repeat(auto-fit,minmax(0,360px));justify-content:center;align-items:start;gap:22px;}
.hced-page.hced-color-page .hced-card-image {display:block;aspect-ratio:auto;height:auto;min-height:0;padding:0;}
.hced-page.hced-color-page .hced-card-image img {width:100%;height:auto;max-height:none;display:block;object-fit:contain;}
.hced-page.hced-color-page .hced-text-link {width:100%;box-sizing:border-box;min-height:46px;}
@media(max-width:570px){
 .hced-page.hced-color-page .hced-grid {grid-template-columns:minmax(0,1fr);}
 .hced-page.hced-color-page .hced-swatches {grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
 .hced-page.hced-color-page .hced-color-banner {min-height:160px;box-sizing:border-box;}
 .hced-page.hced-color-page .hced-color-ideas > div {padding:20px;}
 .hced-page.hced-color-page .hced-empty .hced-button {width:100%;box-sizing:border-box;}
}
