/* Scoped styles: the existing Peony design and other site sections stay intact. */
.peony-looks{--look-ink:#41202f;--look-muted:#795f68;padding:76px 0 82px;background:#fbf6f3;scroll-margin-top:124px;color:var(--look-ink);font-size:16px;line-height:1.6}
.peony-looks *{box-sizing:border-box}
.peony-looks [hidden]{display:none!important}
.looks-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:30px}
.looks-eyebrow{color:#86505c;text-transform:uppercase;letter-spacing:2.4px;font-size:12px;font-weight:600;margin:0 0 8px}
.looks-heading h2{font-size:clamp(38px,5vw,60px);line-height:1.1;letter-spacing:-1.4px;margin:0}
.looks-heading h2 i{color:#9e5a67;font-weight:400}
.looks-heading>p{font-size:16px;line-height:1.65;margin:0 0 3px;color:var(--look-muted)}
.looks-tabs{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #ddc9cc;border-bottom:1px solid #ddc9cc;margin-bottom:28px}
.looks-tabs button{font-family:var(--sans);font-size:16px;line-height:1.35;padding:18px 12px;min-height:58px;color:var(--look-muted);border:0;border-bottom:3px solid transparent;background:none;cursor:pointer;transition:background .18s,color .18s}
.looks-tabs button:hover{background:#f4e9e5;color:var(--look-ink)}
.looks-tabs button[aria-selected=true]{color:var(--look-ink);border-bottom-color:var(--look-ink);font-weight:600}
.peony-looks :is(button,a,input,select,summary):focus-visible{outline:3px solid #6b324b;outline-offset:4px}
.looks-panel{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:start}
.looks-photo{margin:0;min-width:0}
.looks-photo-frame{position:relative;overflow:hidden;background:#eadbd8;aspect-ratio:1/1.13}
.looks-photo-frame img{width:100%;height:100%;object-fit:cover;object-position:center;transition:opacity .18s}
.looks-photo-frame img.is-loading{opacity:.5}
.looks-photo-frame canvas{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.looks-photo-error{position:absolute;inset:0;display:grid;place-content:center;margin:0;padding:35px;text-align:center;background:#eadbd8;font-size:16px;line-height:1.65}
.looks-photo figcaption{font-size:12px;color:#795f68;line-height:1.55;margin-top:10px}
.peony-looks a{text-decoration:underline;text-underline-offset:3px}
.looks-controls{min-width:0;padding:9px 0 0}
.looks-controls h3{font-size:clamp(32px,3.3vw,44px);line-height:1.1;margin:0 0 13px;letter-spacing:-.5px}
.looks-description{font-size:16px;line-height:1.7;margin:0 0 23px;color:var(--look-muted);max-width:460px}
.looks-colors{border:0;padding:0;margin:0 0 18px;min-width:0}
.looks-colors legend{font-size:14px;font-weight:600;margin-bottom:13px}
.looks-swatches{display:grid;grid-template-columns:repeat(5,1fr);gap:18px 9px}
.looks-swatch{border:0;padding:5px 2px;background:none;font:inherit;font-size:14px;line-height:1.3;color:var(--look-muted);cursor:pointer;min-width:0;display:flex;flex-direction:column;align-items:center;gap:10px}
.looks-swatch span:first-child{display:block;width:46px;height:46px;border-radius:50%;background:var(--swatch);border:1px solid rgba(65,32,47,.18);outline:1px solid transparent;outline-offset:4px;transition:outline-color .18s,transform .18s}
.looks-swatch:hover span:first-child{transform:translateY(-2px)}
.looks-swatch[aria-pressed=true]{color:var(--look-ink);font-weight:600}
.looks-swatch[aria-pressed=true] span:first-child{outline:2px solid var(--look-ink)}
.looks-shade-row{display:flex;align-items:center;gap:15px;padding:17px 0;border-top:1px solid #e1cfd0;border-bottom:1px solid #e1cfd0}
.looks-shade{flex-shrink:0;width:66px;height:72px;border-radius:5px;background:var(--selected-shade);border:1px solid rgba(65,32,47,.15)}
.looks-shade-row strong{display:block;font-size:19px;font-family:var(--serif);line-height:1.25;font-weight:600}
.looks-meta{display:block;font-size:12px;line-height:1.5;color:var(--look-muted)}
.looks-color-hex{font-size:12px;color:var(--look-muted);letter-spacing:1px}
.looks-custom-color{display:flex;flex-direction:column;align-items:center;gap:5px;margin-left:auto;font-size:14px;white-space:nowrap;cursor:pointer}
.looks-custom-color input{appearance:none;-webkit-appearance:none;padding:3px;width:44px;height:44px;border:1px solid #b799a1;background:#fff;border-radius:4px;cursor:pointer}
.looks-custom-color input::-webkit-color-swatch-wrapper{padding:0}
.looks-custom-color input::-webkit-color-swatch{border:0;border-radius:2px}
.looks-preview-note{font-size:12px;color:var(--look-muted);line-height:1.5;margin:8px 0 17px}
.looks-disclaimer{font-size:12px;line-height:1.65;color:var(--look-muted);margin:13px 0 0}
.looks-noscript{padding:16px;background:#f1dad8;margin:20px 0 0}
.mobile-nav{overflow-y:auto}
@media(min-width:1024px) and (max-width:1199px){.header nav ul{gap:17px}.header nav a{letter-spacing:1px}}
@media(max-width:900px){.looks-panel{gap:28px}.looks-heading{align-items:flex-start}.looks-heading>p{max-width:255px}.looks-photo-frame{aspect-ratio:4/5}.looks-swatches{gap:4px}.looks-swatch span:first-child{width:40px;height:40px}}
@media(max-width:700px){.peony-looks{padding:48px 0 56px}.looks-heading{display:block;margin-bottom:23px}.looks-heading>p{max-width:none;margin-top:15px}.looks-heading>p br{display:none}.looks-heading h2{font-size:42px}.looks-tabs{margin-bottom:22px}.looks-tabs button{font-size:14px;padding:14px 6px;min-height:61px}.looks-panel{grid-template-columns:1fr;gap:24px}.looks-photo-frame{aspect-ratio:4/3;max-height:300px}.looks-controls{padding:0}.looks-controls h3{font-size:36px}.looks-description{max-width:none}.looks-swatch span:first-child{width:46px;height:46px}.looks-swatch{font-size:14px}.looks-custom-color{white-space:normal;text-align:center}.looks-shade-row{gap:12px}}
@media(max-width:370px){.peony-looks .container{padding-inline:16px}.looks-tabs button{font-size:14px}.looks-swatch span:first-child{width:38px;height:38px}.looks-swatch{font-size:14px}.looks-shade{width:53px;height:66px}.looks-custom-color{font-size:14px}.looks-heading h2{font-size:38px}}
/* Keep the real photo and its recolored canvas together while choosing shades.
   The full panel bounds the sticky preview, so it releases before the gallery. */
@media(max-width:700px){
  .peony-looks{--looks-mobile-frame-height:clamp(128px,26vh,208px)}
  .looks-panel{display:block;position:relative;isolation:isolate}
  .looks-photo{position:sticky;top:var(--looks-sticky-top,112px);z-index:10;background:#fbf6f3;padding:8px 0 10px;margin-bottom:22px;border-bottom:1px solid #ddc9cc}
  .looks-photo-frame{height:var(--looks-mobile-frame-height);width:min(100%,calc(var(--looks-mobile-frame-height)*1.333333));max-height:none;aspect-ratio:4/3;margin-inline:auto}
  .looks-photo figcaption{margin-top:6px;line-height:1.4}
  .looks-controls :is(button,input,a){scroll-margin-top:calc(var(--looks-sticky-top,112px) + var(--looks-pinned-height,260px) + 16px);scroll-margin-bottom:92px}
  @supports(height:1svh){.peony-looks{--looks-mobile-frame-height:clamp(128px,26svh,208px)}}
}
/* A side-by-side preview leaves room to choose colors on short landscape phones. */
@media(max-width:1023px) and (max-height:500px){
  .looks-panel{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:18px;align-items:start;position:relative;isolation:isolate}
  .looks-photo{position:sticky;top:var(--looks-sticky-top,112px);align-self:start;z-index:10;background:#fbf6f3;padding:8px 0 10px;margin-bottom:0;border-bottom:1px solid #ddc9cc}
  .looks-photo-frame{width:100%;height:clamp(80px,calc(100vh - var(--looks-sticky-top,112px) - 90px),220px);max-height:none;aspect-ratio:auto;margin-inline:auto}
  .looks-photo-frame :is(img,canvas){object-fit:contain}
  .looks-photo figcaption{margin-top:6px;line-height:1.4}
  .looks-controls{padding:0}
  .looks-controls h3{font-size:30px}
  .looks-swatches{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 4px}
  .looks-controls :is(button,input,a){scroll-margin-top:calc(var(--looks-sticky-top,112px) + 16px);scroll-margin-bottom:92px}
  @supports(height:1svh){.looks-photo-frame{height:clamp(80px,calc(100svh - var(--looks-sticky-top,112px) - 90px),220px)}}
}
/* Unlike hidden, clip does not create a scroll container that traps sticky. */
@supports(overflow:clip){
  @media(max-width:700px),(max-width:1023px) and (max-height:500px){body{overflow-x:clip}}
}
@media(prefers-reduced-motion:reduce){.peony-looks *{transition:none!important;scroll-behavior:auto!important}}
