/* Search drawer: the form owns only the input and submit button. Results flow below. */
.search-drawer {
  width:min(520px, 100vw);
  max-width:100vw;
  height:100dvh;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding-bottom:max(32px, env(safe-area-inset-bottom));
}
.search-drawer .search-composer { min-width:0; max-width:100%; }
.search-drawer .drawer-search-form {
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:8px;
  align-items:stretch;
  min-width:0;
  margin:22px 0 0;
}
.search-drawer .drawer-search-form > input[data-suggest-input] {
  min-width:0;
  width:100%;
  height:52px;
  padding:12px 14px;
  font-size:16px;
  border:1px solid var(--line);
  border-radius:2px;
}
.search-drawer .drawer-search-form > input[data-suggest-input]:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:2px;
}
.search-drawer .drawer-search-form > button[type=submit] {
  min-width:68px;
  height:52px;
  padding:0 16px;
  background:var(--ink);
  color:#fff;
  border:0;
  cursor:pointer;
}
.search-drawer .drawer-live-suggestions {
  position:static;
  width:100%;
  max-height:min(42dvh, 360px);
  margin:8px 0 0;
  overflow-y:auto;
  overscroll-behavior:contain;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 12px 30px rgba(17,17,17,.1);
}
.search-drawer .drawer-live-suggestions[hidden] { display:none; }
.search-drawer .drawer-live-suggestions a {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  color:var(--ink);
}
.search-drawer .drawer-live-suggestions a:hover,
.search-drawer .drawer-live-suggestions a:focus-visible,
.search-drawer .drawer-live-suggestions a.is-active { background:#f7f0e7; }
.search-drawer .drawer-live-suggestions a img {
  flex:0 0 44px;
  width:44px;
  height:56px;
  object-fit:cover;
  background:#eee7df;
}
.search-drawer .drawer-live-suggestions .suggestion-copy { flex:1 1 auto; min-width:0; overflow-wrap:anywhere; }
.search-drawer .drawer-live-suggestions .suggestion-copy strong { display:block; font-size:13px; line-height:1.35; }
.search-drawer .drawer-live-suggestions .suggestion-copy small { display:block; margin-top:4px; color:var(--muted); font-size:12px; }
.search-drawer .suggestion-heading { margin:0; padding:12px 14px 5px; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); }
.search-drawer .suggestion-state { margin:0; padding:20px 16px; color:var(--muted); font-size:14px; line-height:1.5; }
.search-drawer .drawer-suggestions { display:flex; flex-wrap:wrap; gap:8px; max-width:100%; margin-top:18px; }

/* A single image frame defines both hotspot coordinates and navigation bounds. */
[data-sezen-lookbook] .lookbook-shell { align-items:start; min-width:0; }
[data-sezen-lookbook] .lookbook-stage { position:relative; align-self:start; min-width:0; min-height:0; height:auto; overflow:hidden; background:#eee7df; }
[data-sezen-lookbook] .lookbook-slide { position:absolute; inset:0; opacity:0; visibility:hidden; pointer-events:none; }
[data-sezen-lookbook] .lookbook-slide.is-active { position:relative; opacity:1; visibility:visible; pointer-events:auto; }
[data-sezen-lookbook] .lookbook-slide[hidden],
[data-sezen-lookbook] .sezen-look-product-group[hidden] { display:none; }
[data-sezen-lookbook] .lookbook-image-frame { position:relative; width:100%; overflow:hidden; line-height:0; }
[data-sezen-lookbook] .lookbook-image-frame > img { display:block; width:100%; height:auto; max-height:none; object-fit:contain; }
[data-sezen-lookbook] .sezen-look-hotspot {
  position:absolute;
  left:var(--hotspot-x);
  top:var(--hotspot-y);
  z-index:3;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  padding:0;
  transform:translate(-50%, -50%);
  border:1px solid rgba(30,24,19,.24);
  border-radius:50%;
  background:rgba(255,255,255,.92);
  color:#241d17;
  box-shadow:0 4px 18px rgba(0,0,0,.22);
  cursor:pointer;
  transition:background .2s, color .2s, transform .2s, box-shadow .2s;
}
[data-sezen-lookbook] .sezen-look-hotspot span { font:400 25px/1 Arial,sans-serif; }
[data-sezen-lookbook] .sezen-look-hotspot:hover,
[data-sezen-lookbook] .sezen-look-hotspot.is-active { background:#241d17; color:#fff; box-shadow:0 0 0 5px rgba(255,255,255,.58), 0 8px 20px rgba(0,0,0,.3); }
[data-sezen-lookbook] .sezen-look-hotspot:hover { transform:translate(-50%, -50%) scale(1.07); }
[data-sezen-lookbook] .sezen-look-hotspot:focus-visible,
[data-sezen-lookbook] .sezen-look-controls button:focus-visible,
[data-sezen-lookbook] .lookbook-stage:focus-visible { outline:3px solid var(--accent); outline-offset:2px; }
[data-sezen-lookbook] .sezen-look-controls {
  position:absolute;
  top:50%;
  left:12px;
  right:12px;
  bottom:auto;
  z-index:4;
  display:flex;
  justify-content:space-between;
  gap:0;
  transform:translateY(-50%);
  pointer-events:none;
}
[data-sezen-lookbook] .sezen-look-controls button {
  flex:0 0 46px;
  width:46px;
  height:46px;
  min-height:46px;
  padding:0;
  border:1px solid rgba(30,24,19,.18);
  border-radius:50%;
  background:rgba(255,255,255,.94);
  color:#241d17;
  font:400 32px/1 Arial,sans-serif;
  box-shadow:0 5px 20px rgba(0,0,0,.2);
  backdrop-filter:blur(8px);
  pointer-events:auto;
  touch-action:manipulation;
  cursor:pointer;
}
[data-sezen-lookbook] .sezen-look-controls button:hover { background:#241d17; color:#fff; }
[data-sezen-lookbook] .lookbook-products { display:block; min-width:0; max-height:none; overflow:visible; }
[data-sezen-lookbook] .sezen-look-product-group { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; min-width:0; }
[data-sezen-lookbook] .look-product-card {
  display:grid;
  grid-template-columns:76px minmax(0,1fr) 18px;
  gap:14px;
  align-items:center;
  width:100%;
  min-width:0;
  padding:10px;
  border:1px solid var(--line);
  background:#fff;
  scroll-margin-block:90px;
}
[data-sezen-lookbook] .look-product-card.is-active,
[data-sezen-lookbook] .look-product-card:hover,
[data-sezen-lookbook] .look-product-card:focus-visible { border-color:var(--accent); box-shadow:0 8px 24px rgba(58,37,22,.1); }
[data-sezen-lookbook] .look-product-card img { width:76px; height:96px; object-fit:cover; }
[data-sezen-lookbook] .look-product-info { display:block; min-width:0; }
[data-sezen-lookbook] .look-product-name { display:block; font-size:14px; line-height:1.35; overflow-wrap:anywhere; }
[data-sezen-lookbook] .look-product-prices { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 9px; margin-top:8px; }
[data-sezen-lookbook] .look-product-prices strong { font-size:14px; }
[data-sezen-lookbook] .look-product-prices del { color:var(--muted); font-size:12px; }
[data-sezen-lookbook] .look-product-arrow { font-size:18px; color:var(--accent); }
[data-sezen-lookbook] .sezen-look-empty,
[data-sezen-lookbook] .lookbook-empty { margin:0; padding:24px; border:1px solid var(--line); background:#fff; color:var(--muted); font-size:14px; }
@media (max-width:1024px) {
  [data-sezen-lookbook] .lookbook-stage { touch-action:pan-y; }
  [data-sezen-lookbook] { padding-bottom:max(100px, calc(70px + env(safe-area-inset-bottom))); }
}
@media (max-width:540px) {
  .search-drawer { padding-left:20px; padding-right:20px; }
  [data-sezen-lookbook] .sezen-look-controls { left:8px; right:8px; }
  [data-sezen-lookbook] .look-product-card { grid-template-columns:68px minmax(0,1fr) 16px; gap:10px; }
  [data-sezen-lookbook] .look-product-card img { width:68px; height:88px; }
}
@media (prefers-reduced-motion:reduce) {
  [data-sezen-lookbook] .sezen-look-hotspot { transition:none; }
}
