/* HomeGlo — Shareable Wishlist */
.hg-wishlist-share-wrap{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #ebe4d9;
}
.hg-wishlist-share{
  width:100%;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:1px solid #2b2622;
  border-radius:9px;
  background:#2b2622;
  color:#fff;
  cursor:pointer;
  font:700 9px/1 "Manrope",sans-serif;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.hg-wishlist-share svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.hg-wishlist-share:hover{background:#5c6b4f;border-color:#5c6b4f}
.hg-wishlist-share-note{
  margin:7px 2px 0;
  color:#8a8378;
  font:400 8.5px/1.45 "Manrope",sans-serif;
  text-align:center;
}

/* Shared-list dialog */
.hg-shared-wishlist-dialog{
  width:min(980px,calc(100% - 28px));
  max-width:980px;
  max-height:calc(100dvh - 28px);
  padding:0;
  border:0;
  border-radius:14px;
  background:#faf6f0;
  color:#2b2622;
  box-shadow:0 30px 100px rgba(20,17,15,.3);
  overflow:hidden;
}
.hg-shared-wishlist-dialog::backdrop{background:rgba(22,18,16,.7);backdrop-filter:blur(5px)}
.hg-shared-wishlist-dialog-inner{max-height:calc(100dvh - 28px);overflow:auto}
.hg-shared-wishlist-head{
  position:sticky;
  top:0;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:23px 26px;
  border-bottom:1px solid #e4ded3;
  background:rgba(250,246,240,.96);
  backdrop-filter:blur(12px);
}
.hg-shared-wishlist-head p{
  margin:0 0 5px!important;
  color:#5c6b4f!important;
  font:700 8px/1.3 "Manrope",sans-serif!important;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.hg-shared-wishlist-head h2{
  margin:0!important;
  color:#2b2622!important;
  font:600 clamp(31px,4vw,44px)/.95 "Cormorant Garamond",serif!important;
  letter-spacing:-.035em;
}
.hg-shared-wishlist-close{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:42px;
  height:42px;
  border:1px solid #d8d0c5;
  border-radius:50%;
  background:#fff;
  color:#2b2622;
  cursor:pointer;
}
.hg-shared-wishlist-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}

.hg-shared-wishlist-body{padding:24px 26px 28px}
.hg-shared-wishlist-status{
  display:grid;
  place-items:center;
  gap:13px;
  min-height:260px;
  color:#746d64;
  text-align:center;
}
.hg-shared-wishlist-status p{margin:0!important;font:500 10px/1.6 "Manrope",sans-serif!important}
.hg-shared-wishlist-loader{
  width:34px;
  height:34px;
  border:2px solid #ddd5ca;
  border-top-color:#c4693b;
  border-radius:50%;
  animation:hgWishlistSpin .8s linear infinite;
}
@keyframes hgWishlistSpin{to{transform:rotate(360deg)}}

.hg-shared-wishlist-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.hg-shared-wishlist-card{
  display:flex;
  min-width:0;
  flex-direction:column;
  border:1px solid #e1d9cf;
  border-radius:10px;
  background:#fff;
  overflow:hidden;
}
.hg-shared-wishlist-card-media{
  display:block;
  aspect-ratio:1;
  background:#eee7df;
  overflow:hidden;
}
.hg-shared-wishlist-card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.hg-shared-wishlist-card:hover .hg-shared-wishlist-card-media img{transform:scale(1.025)}
.hg-shared-wishlist-card-copy{display:flex;flex:1;flex-direction:column;padding:13px}
.hg-shared-wishlist-card-copy small{color:#8a8378;font:700 7.5px/1.3 "Manrope",sans-serif;text-transform:uppercase;letter-spacing:.08em}
.hg-shared-wishlist-card-copy h3{margin:5px 0 10px!important;color:#2b2622!important;font:600 20px/1.05 "Cormorant Garamond",serif!important}
.hg-shared-wishlist-card-bottom{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-top:auto}
.hg-shared-wishlist-card-price{color:#2b2622;font:700 10px/1.3 "Manrope",sans-serif}
.hg-shared-wishlist-card-link{color:#5c6b4f!important;text-decoration:none!important;font:700 7.5px/1.3 "Manrope",sans-serif!important;text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid currentColor;padding-bottom:2px}

.hg-shared-wishlist-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid #e4ded3;
}
.hg-shared-wishlist-save{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:46px;
  padding:0 17px;
  border:1px solid #2b2622;
  border-radius:7px;
  background:#2b2622;
  color:#fff;
  cursor:pointer;
  font:700 9px/1 "Manrope",sans-serif;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.hg-shared-wishlist-save svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5}
.hg-shared-wishlist-save.is-saved{background:#5c6b4f;border-color:#5c6b4f}
.hg-shared-wishlist-shop{color:#2b2622!important;text-decoration:none!important;font:700 8.5px/1.3 "Manrope",sans-serif!important;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid currentColor;padding-bottom:3px}

.hg-shared-wishlist-toast{
  position:fixed;
  z-index:100;
  left:50%;
  bottom:28px;
  transform:translateX(-50%);
  max-width:min(430px,calc(100vw - 28px));
  padding:11px 14px;
  border-radius:8px;
  background:#2b2622;
  color:#fff;
  box-shadow:0 14px 36px rgba(0,0,0,.2);
  text-align:center;
  font:600 9.5px/1.45 "Manrope",sans-serif;
}
.hg-shared-wishlist-toast[hidden]{display:none!important}

@media(max-width:760px){
  .hg-shared-wishlist-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:11px}
  .hg-shared-wishlist-dialog-inner{max-height:calc(100dvh - 16px)}
  .hg-shared-wishlist-head{padding:18px}
  .hg-shared-wishlist-body{padding:18px}
  .hg-shared-wishlist-grid{
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:minmax(220px,76vw);
    overflow-x:auto;
    padding-bottom:8px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .hg-shared-wishlist-grid::-webkit-scrollbar{display:none}
  .hg-shared-wishlist-card{scroll-snap-align:start}
  .hg-shared-wishlist-actions{align-items:stretch;flex-direction:column}
  .hg-shared-wishlist-save{width:100%}
  .hg-shared-wishlist-shop{align-self:center}
}
@media(prefers-reduced-motion:reduce){
  .hg-shared-wishlist-loader{animation:none}
  .hg-shared-wishlist-card-media img{transition:none}
  .hg-shared-wishlist-card:hover .hg-shared-wishlist-card-media img{transform:none}
}
