/* Shared department bar, mega menu and mobile drawer. Loaded on the homepage and shop pages. */
.m-toggle{
  display:none;
  place-items:center;
  background:none;
  border:0;
  padding:0;
  width:40px;
  height:40px;
  color:inherit;
}
.m-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}

.deptbar{position:relative;z-index:4;background:#fff;border-top:1px solid #f0eeea}
.deptbar-inner{
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:24px;
  max-width:1920px;
  margin:0 auto;
  padding:0 32px;
  height:48px;
}
.dept-left,.dept-right{display:flex;align-items:stretch;gap:28px}
.dept-item{display:flex;align-items:stretch}
.dept{
  background:none;
  border:0;
  font:inherit;
  font-size:16px;
  font-weight:400;
  letter-spacing:normal;
  line-height:24px;
  text-transform:uppercase;
  padding:0;
  color:var(--black,#0a0a0a);
  cursor:pointer;
  position:relative;
  line-height:24px;
  display:inline-flex;
  align-items:center;
  height:100%;
}
.dept::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:2px;
  background:currentColor;
  transform:scaleX(0);
  transition:transform .2s ease;
}
.dept.on::after{transform:scaleX(1)}
.dept:hover,.dept:focus-visible{font-weight:600}
.dept:hover::after,.dept:focus-visible::after{transform:scaleX(1)}
.dept-link{
  display:inline-flex;
  align-items:center;
  font-size:16px;
  font-weight:400;
  letter-spacing:normal;
  line-height:24px;
  text-transform:uppercase;
  color:var(--black,#0a0a0a);
  position:relative;
}
.dept-link.sale,.drawer-row.sale,.dept.sale{color:#e00;font-weight:600}
.dept-link:hover,.dept-link:focus-visible{text-decoration:underline;text-underline-offset:5px}

.mega{
  display:none;
  position:absolute;
  top:100%;
  left:32px;
  z-index:8;
  grid-template-columns:minmax(200px,240px) 200px;
  gap:28px;
  align-items:start;
  min-width:480px;
  max-width:min(620px,calc(100vw - 64px));
  padding:28px 28px 24px;
  background:#fff;
  border:1px solid var(--line,#e4e2de);
  border-top:0;
  box-shadow:0 16px 40px rgba(0,0,0,.1);
}
.mega-list{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.mega-all{
  font-size:.7rem;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  border-bottom:1px solid currentColor;
  padding-bottom:2px;
  margin-bottom:16px;
}
.mega-list ul{list-style:none;margin:0;padding:0;width:100%}
.mega-list li{margin:0}
.mega-list li a{
  display:block;
  font-size:.92rem;
  letter-spacing:.01em;
  padding:7px 0;
  color:var(--black,#0a0a0a);
}
.mega-list li a:hover,.mega-list li a:focus-visible{text-decoration:underline;text-underline-offset:3px}
.mega-photo{display:block;background:var(--stone,#e9e6e0);overflow:hidden;width:200px}
.mega-photo img{width:100%;height:100%;aspect-ratio:3/4;object-fit:cover;display:block}

.nav-drawer{
  display:none;
  position:fixed;
  inset:0;
  z-index:90;
  background:#fff;
  flex-direction:column;
  color:var(--black,#0a0a0a);
}
.nav-drawer.open{display:flex}
.drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:56px;
  padding:0 8px 0 20px;
  border-bottom:1px solid var(--line,#e4e2de);
  flex:none;
}
.drawer-head h2{
  font-size:.84rem;
  font-weight:500;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin:0;
}
.drawer-close{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  background:none;
  border:0;
  padding:0;
}
.drawer-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.drawer-body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}
.drawer-screen{display:flex;flex-direction:column}
.drawer-screen[hidden]{display:none}
.drawer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  min-height:56px;
  padding:0 20px;
  background:none;
  border:0;
  border-bottom:1px solid #f0eeea;
  font:inherit;
  font-size:1rem;
  text-align:left;
  color:inherit;
  cursor:pointer;
  text-decoration:none;
}
.drawer-row.strong{font-weight:600;letter-spacing:.12em;text-transform:uppercase;font-size:.92rem}
.drawer-row svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.drawer-back{justify-content:flex-start;gap:10px;font-size:.86rem;letter-spacing:.08em;text-transform:uppercase;color:var(--mid,#5c5c5c)}
.drawer-title{
  font-size:1.05rem;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin:20px 20px 8px;
}
.drawer-all{
  margin:0 20px 12px;
  font-size:.7rem;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  border-bottom:1px solid currentColor;
  padding-bottom:2px;
  align-self:flex-start;
}
body.nav-lock{overflow:hidden}

@media(min-width:1024px){
  .dept-item:hover .mega,
  .dept-item:focus-within .mega{display:grid}
}
.deptbar:has(.dept-item:hover) .dept.on::after,
.deptbar:has(.dept-item:focus-within) .dept.on::after{transform:scaleX(0)}
.deptbar:has(.dept-item:hover) .dept-item:hover .dept::after,
.deptbar:has(.dept-item:focus-within) .dept-item:focus-within .dept::after{transform:scaleX(1)}

@media(max-width:1023px){
  .m-toggle{display:grid;grid-area:menu;justify-self:start}
  .deptbar{display:none}
  .mega{display:none !important}
  .hbar{
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    grid-template-areas:"menu logo icons" "search search search";
    column-gap:0;
    padding-left:12px;
    padding-right:12px;
  }
  .logo{grid-area:logo;justify-self:center;padding:0 6px}
  .search{grid-area:search}
  .icons{grid-area:icons;justify-self:end;gap:6px;min-width:0}
  .icons a,.icons button{min-width:24px;min-height:24px}
  .icons svg{width:20px;height:20px}
  .icons a.hide-m,.hide-m{display:none}
  .icons .flag-btn{display:none}
}

/* Account drop-down panel */
.acct{position:relative;display:flex;align-items:center}
.acct-panel{position:absolute;top:calc(100% + 14px);right:-12px;z-index:80;width:min(360px,calc(100vw - 24px));background:#fff;color:var(--black,#0a0a0a);
  border:1px solid var(--line,#e4e2de);box-shadow:0 18px 40px rgba(0,0,0,.12);padding:26px 26px 14px;text-align:left;font-size:.9rem;line-height:1.45}
.acct-panel[hidden]{display:none}
.icons .acct-panel a,.acct-panel a{display:inline;min-width:0;min-height:0;padding:0;background:none;border:0;position:static;place-items:initial}
.acct-panel::before{content:"";position:absolute;top:-7px;right:20px;width:12px;height:12px;background:#fff;border-left:1px solid var(--line,#e4e2de);border-top:1px solid var(--line,#e4e2de);transform:rotate(45deg)}
.acct-panel .ap-close{display:none}
.acct-panel .ap-title{margin:0 0 6px;font-size:1rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.acct-panel .ap-lead{margin:0 0 16px;color:var(--mid,#5c5c5c);font-size:.84rem}
.acct-panel .ap-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.acct-panel .ap-form{display:grid;gap:10px;margin:0}
.acct-panel .ap-form input{width:100%;box-sizing:border-box;height:46px;border:1px solid #cfcbc4;border-radius:0;padding:0 14px;font:inherit;font-size:.9rem;background:#fff;color:inherit}
.acct-panel .ap-form input:focus{outline:2px solid #0a0a0a;outline-offset:-1px;border-color:#0a0a0a}
.acct-panel .ap-btn{height:46px;border:1px solid #0a0a0a;background:#0a0a0a;color:#fff;font:inherit;font-size:.78rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;cursor:pointer}
.acct-panel .ap-btn:hover{background:#2a2a2a}
.icons .acct-panel .ap-google,.acct-panel .ap-google{display:flex;align-items:center;justify-content:center;gap:10px;height:46px;margin-top:10px;border:1px solid #cfcbc4;font-size:.84rem;font-weight:500;color:inherit;text-decoration:none}
.acct-panel .ap-google:hover{border-color:#0a0a0a}
.acct-panel .ap-g{width:18px;height:18px}
.acct-panel .ap-new{margin:12px 0 0;font-size:.82rem}
.acct-panel .ap-terms{margin:6px 0 0;font-size:.72rem;color:var(--mid,#5c5c5c)}
.acct-panel .ap-new a,.acct-panel .ap-terms a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.acct-panel .ap-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.acct-panel .ap-out{margin:0}
.acct-panel .ap-link{background:none;border:0;padding:0;font:inherit;font-size:.82rem;text-decoration:underline;text-underline-offset:2px;cursor:pointer;color:inherit}
.acct-panel .ap-rule{border:0;border-top:1px solid var(--line,#e4e2de);margin:18px 0 6px}
.acct-panel .ap-list{list-style:none;margin:0;padding:0}
.icons .acct-panel .ap-list a,.acct-panel .ap-list a{display:flex;align-items:center;gap:14px;min-height:0;padding:11px 0;color:inherit;text-decoration:none;font-size:.9rem;place-items:initial}
.acct-panel .ap-list a:hover{text-decoration:underline;text-underline-offset:3px}
.acct-panel .ap-list svg,.acct-panel .ap-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}
.acct-panel a:focus-visible,.acct-panel button:focus-visible{outline:2px solid #0a0a0a;outline-offset:2px}
@media (max-width:1023px){
  .acct{position:static}
  .acct-panel{position:fixed;z-index:1001;left:0;right:0;bottom:0;top:auto;width:auto;max-height:88vh;overflow:auto;padding:30px 20px calc(16px + env(safe-area-inset-bottom));border:0;box-shadow:0 -10px 40px rgba(0,0,0,.25)}
  .acct-panel::before{display:none}
  .acct-panel .ap-close{display:grid;place-items:center;position:absolute;top:10px;right:10px;width:40px;height:40px;background:none;border:0;cursor:pointer;color:inherit}
  body.acct-on::after{content:"";position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:1000}
  body.acct-on{overflow:hidden}
}

/* Flag picker */
.icons a,.icons button{position:relative}
.bag-n{position:absolute;top:-6px;right:-8px;background:#000;color:#fff;border-radius:99px;font-size:.62rem;min-width:16px;height:16px;display:grid;place-items:center;padding:0 4px;line-height:1}
.icons .flag-btn{display:grid;place-items:center;min-width:28px;min-height:28px;background:none;border:0;padding:0;cursor:pointer}
.icons .flag-btn img.flag,.fp-flag img.flag{width:22px;height:15px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.12);display:block}
.icons .flag-btn svg.flag{width:22px;height:15px;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.12);stroke:none}
.icons .flag-btn svg.globe,.fp-flag svg.globe{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;box-shadow:none;border-radius:0}
.fp-back{position:fixed;inset:0;z-index:2000;background:rgba(0,0,0,.45);display:grid;place-items:center;padding:16px}
.fp-back[hidden]{display:none}
body.fp-on{overflow:hidden}
.fp-box{position:relative;width:100%;max-width:480px;background:#fff;color:#0a0a0a;border-radius:14px;padding:26px 22px 18px;box-shadow:0 20px 60px rgba(0,0,0,.3);font-size:.9rem}
.fp-box h2{margin:0 0 18px;text-align:center;font-size:1.05rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.fp-sub{margin:0 0 10px;font-size:.82rem;font-weight:600}
.fp-x{position:absolute;top:14px;right:14px;width:34px;height:34px;display:grid;place-items:center;background:none;border:0;cursor:pointer;color:inherit;padding:0}
.fp-x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.fp-list{list-style:none;margin:0;padding:0}
.fp-list li{border-bottom:1px solid #ecebe8}
.fp-list li:last-child{border-bottom:0}
.fp-row{display:flex;align-items:center;gap:12px;width:100%;padding:12px 6px;background:none;border:0;cursor:pointer;font:inherit;color:inherit;text-align:left}
.fp-row:hover{background:#f6f5f3}
.fp-row:focus-visible{outline:2px solid #000;outline-offset:-2px}
.fp-flag{display:grid;place-items:center;width:24px}
.fp-flag svg.flag{width:22px;height:15px;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.12)}
.fp-name{flex:1;display:flex;flex-direction:column;gap:2px;font-weight:500}
.fp-rec{font-size:.72rem;font-weight:400;color:#5c5c5c}
.fp-cur{font-size:.84rem;color:#333}
.fp-check{width:18px;height:18px;flex:none}
.fp-dot{width:18px;height:18px;flex:none;border:1px solid #c9c6c0;border-radius:50%}
.fp-bill{margin:-4px 0 12px 42px;font-size:.76rem;color:#5c5c5c}
/* Search by image */
.search .cam-btn{flex:none;display:grid;place-items:center;width:30px;height:30px;margin-right:-8px;background:none;border:0;padding:0;cursor:pointer;color:#333;border-radius:50%}
.search .cam-btn[hidden]{display:none}
.search .cam-btn:hover{background:#f1f0ee}
.search .cam-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.vs-pop{position:fixed;z-index:1500;width:460px;max-width:calc(100vw - 24px);background:#fff;color:#0a0a0a;border:1px solid #e4e2de;border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,.18);padding:22px 22px 18px;font-size:.88rem}
.vs-pop[hidden]{display:none}
.vs-pop h2{margin:0 0 14px;text-align:center;font-size:.95rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.vs-x{position:absolute;top:12px;right:12px;width:32px;height:32px;display:grid;place-items:center;background:none;border:0;cursor:pointer;color:inherit;padding:0}
.vs-x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.vs-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;opacity:0}
.vs-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:130px;border:1.5px dashed #bdb9b2;border-radius:10px;background:#faf9f7;cursor:pointer;text-align:center;padding:16px;position:relative}
.vs-drop.over,.vs-drop:hover{border-color:#0a0a0a;background:#f3f2ef}
.vs-drop:focus-within{outline:2px solid #000;outline-offset:2px}
.vs-drop svg{width:34px;height:34px;fill:none;stroke:#333;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.vs-drop u{font-weight:600}
.vs-or{display:flex;align-items:center;gap:12px;margin:14px 0;color:#8a8a8a;font-size:.72rem;letter-spacing:.14em}
.vs-or::before,.vs-or::after{content:"";flex:1;border-top:1px solid #e4e2de}
.vs-url{display:flex;gap:8px;margin:0}
.vs-url input{flex:1;min-width:0;height:42px;border:1px solid #cfcbc4;border-radius:999px;padding:0 16px;font:inherit;font-size:.86rem}
.vs-url input:focus{outline:2px solid #000;outline-offset:-1px}
.vs-url button{height:42px;padding:0 18px;border:0;border-radius:999px;background:#0a0a0a;color:#fff;font:inherit;font-size:.74rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
.vs-status{min-height:1.2em;margin:10px 0 0;font-size:.8rem;color:#333}
.vs-status.err{color:#b00020}
.vs-pop.busy .vs-drop,.vs-pop.busy .vs-samples{opacity:.5;pointer-events:none}
.vs-try{margin:8px 0 10px;font-size:.8rem;color:#5c5c5c}
.vs-samples{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.vs-samples button{display:block;padding:0;border:1px solid #e4e2de;border-radius:8px;overflow:hidden;background:#f3f2ef;cursor:pointer;aspect-ratio:3/4}
.vs-samples button:hover,.vs-samples button:focus-visible{border-color:#0a0a0a;outline:none}
.vs-samples img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:1023px){
  .vs-pop{left:12px !important;right:12px;top:auto !important;bottom:12px;width:auto;max-width:none}
}
@media (max-width:1023px){.icons .flag-btn{display:none}}
