/* ENZO CUSTOM — Change cloth + Start with this look (3 Oct 2026). Matches the product page: ink #141210, mute #5D554B,
   warm paper #EFEAE2, gold #B5A67D, hairlines rgba(20,18,16,.18), small uppercase labels with wide letter-spacing. */
.ec-cloth{margin:22px 0 4px;padding-top:18px;border-top:1px solid rgba(20,18,16,.18)}
.ec-head{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;margin-bottom:12px}
.ec-label{text-transform:uppercase;font-size:12px;letter-spacing:.12em;color:#141210}
.ec-name{font-size:14px;color:#5D554B;line-height:1.4}
.ec-strip{display:flex;flex-wrap:wrap;gap:9px}
.ec-sw{width:40px;height:40px;border-radius:50%;padding:0;border:1px solid rgba(20,18,16,.25);background:#E4DED4;overflow:hidden;cursor:pointer;
  position:relative;transition:transform .12s ease,box-shadow .12s ease}
.ec-sw img{width:100%;height:100%;object-fit:cover;display:block}
.ec-sw:hover{transform:scale(1.07)}
.ec-sw.on{box-shadow:0 0 0 2px #EFEAE2,0 0 0 4px #141210}
.ec-sw:focus-visible{outline:2px solid #B5A67D;outline-offset:3px}
.ec-tools{display:flex;gap:16px;flex-wrap:wrap;margin-top:12px}
.ec-tools button{background:none;border:0;padding:0;font:inherit;font-size:13px;color:#141210;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ec-note{font-size:13px;color:#5D554B;margin:10px 0 0}
.ec-start{display:block;width:100%;margin-top:16px;min-height:48px;padding:10px 14px;background:#141210;color:#EFEAE2;border:1px solid #141210;
  font:inherit;font-size:12px;letter-spacing:.09em;text-transform:uppercase;cursor:pointer}
.ec-start:hover{background:#2A2622}
.ec-busy .ec-name::after{content:" · drawing…";color:#82796C}
.pdp-gallery figure img{transition:opacity .2s ease}
.ec-busy~* .pdp-gallery figure img{opacity:.85}

/* dialogs: all cloths, start with this look */
.ec-dlg{border:0;padding:0;width:min(940px,calc(100vw - 24px));max-height:calc(100svh - 24px);background:#F6F3EE;color:#141210;box-shadow:0 20px 60px rgba(20,18,16,.25)}
.ec-dlg::backdrop{background:rgba(20,18,16,.45)}
.ec-dlg-top{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid rgba(20,18,16,.15);position:sticky;top:0;background:#F6F3EE;z-index:1}
.ec-dlg-top strong{font-weight:400;font-size:18px}
.ec-x{background:none;border:0;font-size:28px;line-height:1;cursor:pointer;color:#141210;padding:0 4px}
.ec-filters{display:flex;flex-wrap:wrap;gap:8px;padding:14px 18px 0}
.ec-filters input,.ec-filters select{font:inherit;font-size:14px;padding:9px 10px;border:1px solid rgba(20,18,16,.25);background:#fff;color:#141210;min-width:0}
.ec-filters input{flex:1 1 220px}
.ec-count{font-size:13px;color:#5D554B;margin:10px 18px 0}
.ec-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;padding:12px 18px 18px;max-height:calc(100svh - 230px);overflow-y:auto}
.ec-sw-big{width:auto;height:auto;border-radius:0;display:flex;flex-direction:column;text-align:left;background:#fff;border:1px solid rgba(20,18,16,.15)}
.ec-sw-big img{aspect-ratio:1;height:auto}
.ec-sw-big:hover{transform:none;border-color:#141210}
.ec-sw-big.on{box-shadow:0 0 0 2px #141210}
.ec-sw-n{font-size:13px;line-height:1.3;padding:8px 9px 2px;color:#141210}
.ec-sw-m{font-size:12px;color:#5D554B;padding:0 9px 9px}
.ec-sum{padding:16px 18px;border-bottom:1px solid rgba(20,18,16,.12);font-size:15px;line-height:1.6}
.ec-sum details{margin-top:8px}.ec-sum summary{cursor:pointer;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.ec-sum ul{margin:8px 0 0;padding-left:18px;font-size:13px;color:#5D554B}
.ec-mute{color:#5D554B;font-size:13px}
.ec-f{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 18px 20px}
.ec-f label{display:flex;flex-direction:column;gap:5px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#5D554B}
.ec-f label:nth-last-of-type(1){grid-column:1/-1}
.ec-f input,.ec-f select,.ec-f textarea{font:inherit;font-size:15px;letter-spacing:0;text-transform:none;padding:10px;border:1px solid rgba(20,18,16,.25);background:#fff;color:#141210}
.ec-f .ec-send{grid-column:1/-1;min-height:48px;background:#B5A67D;border:1px solid #B5A67D;color:#141210;font:inherit;font-size:12px;letter-spacing:.09em;text-transform:uppercase;cursor:pointer}
.ec-f .ec-send:hover{background:#C9A961}
.ec-f .ec-send:disabled{opacity:.6;cursor:wait}
.ec-msg{grid-column:1/-1;margin:0;font-size:14px;color:#8A3B2E;min-height:1em}
.ec-thanks{grid-column:1/-1;font-size:16px;line-height:1.6;margin:8px 0}
.ec-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
@media(max-width:600px){.ec-f{grid-template-columns:1fr}.ec-sw{width:36px;height:36px}.ec-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr))}}
.ec-acc{margin-top:16px}.ec-chip{box-shadow:inset 0 0 0 1px rgba(20,18,16,.12)}.ec-chip[data-own="1"]::after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:inset 0 0 0 3px rgba(255,255,255,.55)}

/* the clothier tool's "Assemble Outfit" frame (3 Oct 2026): only the photos and the cloth chooser */
html.ec-framed .header,html.ec-framed .enzo-footer,html.ec-framed .pdp-breadcrumb,html.ec-framed .pdp-process,html.ec-framed .pdp-faqs,html.ec-framed .pdp-guidance,
html.ec-framed .pdp-accordion,html.ec-framed .pdp-service-links,html.ec-framed .pdp-actions,html.ec-framed .ec-start,html.ec-framed .pdp-appointment,html.ec-framed .ea-bar{display:none!important}
html.ec-framed .pdp-gallery figure::after,html.ec-framed .product-photo::after{content:none!important;display:none!important}

/* on a phone the chooser sits right under the photo (4 Oct 2026): one swipeable row of cloths, so the photo and the circles fit on one
   screen and a tap shows the new cloth without scrolling; "Start with this look" moves down to the other buttons (cloth.js place()) */
.ec-cloth.ec-under{margin:0 20px;padding:14px 0 14px;border-top:0;border-bottom:1px solid rgba(20,18,16,.18)}
.ec-under .ec-head{flex-wrap:nowrap;margin-bottom:8px;min-width:0}
.ec-under .ec-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.ec-under .ec-strip{flex-wrap:nowrap;overflow-x:auto;margin:0 -20px;padding:5px 20px;scroll-snap-type:x proximity;scroll-padding:0 20px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ec-under .ec-strip::-webkit-scrollbar{display:none}
.ec-under .ec-sw{flex:0 0 auto;scroll-snap-align:start}
.ec-under .ec-tools{margin-top:8px}
.pdp-information>.ec-start{margin:22px 0 0}
