/* KARIGAR 1.26.13 — Wishlist + Recently Viewed */
.product-card-v3{position:relative}
.wishlist-toggle{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(67,48,37,.14);background:#fff;color:#3c302a;cursor:pointer;transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease}
.wishlist-toggle svg,.memory-wishlist-button svg,.wishlist-empty-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.wishlist-toggle.is-saved,.memory-wishlist-button.is-saved{color:#8a4c2c;background:#f8eee6;border-color:rgba(138,76,44,.25)}
.wishlist-toggle.is-saved svg,.memory-wishlist-button.is-saved svg{fill:currentColor}
.wishlist-toggle-card{position:absolute;z-index:4;right:.8rem;top:.8rem;width:42px;height:42px;border-radius:50%;box-shadow:0 8px 22px rgba(34,24,18,.11)}
.wishlist-toggle-card:hover{transform:translateY(-2px)}
.product-wishlist-action{gap:.6rem;margin:.9rem 0 .15rem;padding:.72rem 1rem;border-radius:999px;font-weight:700;font-size:.88rem;background:rgba(255,255,255,.7)}
.wishlist-header-link{position:relative}
.wishlist-count{display:grid;place-items:center}
.wishlist-count[hidden]{display:none!important}

.recently-viewed-section{margin-top:clamp(3.2rem,6vw,6rem);margin-bottom:clamp(3rem,5vw,5rem);padding-top:clamp(2.2rem,4vw,3.5rem);border-top:1px solid rgba(77,56,43,.10)}
.recently-viewed-section[hidden]{display:none!important}
.recently-viewed-head{display:flex;align-items:end;justify-content:space-between;gap:1.5rem;margin-bottom:1.35rem}
.recently-viewed-head h2{margin:.35rem 0 0;font-size:clamp(2rem,3.5vw,3.35rem);letter-spacing:-.04em}
.recently-viewed-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(245px,1fr);grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;padding:.2rem .1rem 1rem;scrollbar-width:thin}
.recent-product-card,.saved-product-card{scroll-snap-align:start;min-width:0;border:1px solid rgba(74,54,42,.08);border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 9px 26px rgba(58,42,31,.05)}
.memory-product-media{display:block;aspect-ratio:4/3;background:#eee7de;overflow:hidden;text-decoration:none}
.memory-product-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.recent-product-card:hover .memory-product-media img,.saved-product-card:hover .memory-product-media img{transform:scale(1.025)}
.memory-product-placeholder{display:grid;place-items:center;width:100%;height:100%;font-family:serif;font-size:3rem;color:#8e725f}
.memory-product-body{padding:1rem 1.05rem 1.1rem}
.memory-product-meta{display:block;color:#94715b;font-size:.68rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.memory-product-body h3{margin:.42rem 0 .8rem;font-size:1.16rem;line-height:1.25}
.memory-product-body h3 a{text-decoration:none;color:inherit}
.memory-product-footer{display:flex;align-items:center;justify-content:space-between;gap:.7rem;border-top:1px solid rgba(75,54,42,.08);padding-top:.8rem}
.memory-product-footer strong{font-size:.88rem}
.memory-wishlist-button{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid rgba(67,48,37,.13);background:#faf7f3;color:#4d3c32;cursor:pointer}
.saved-product-actions{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-top:.9rem}
.button-small{min-height:40px;padding:.62rem .9rem;font-size:.82rem}
.text-button{border:0;background:transparent;color:#7e5a45;font-weight:750;cursor:pointer;padding:.5rem}

.wishlist-page{padding-bottom:clamp(4rem,7vw,7rem)}
.wishlist-page-head{max-width:760px;margin:2rem 0 2.3rem}
.wishlist-page-head h1{margin:.45rem 0 .8rem;font-size:clamp(3rem,6vw,5.6rem);letter-spacing:-.055em;line-height:.93}
.wishlist-page-head p{max-width:590px;color:var(--muted);font-size:1rem;line-height:1.6}
.wishlist-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.wishlist-empty{max-width:650px;padding:2.2rem;border-radius:24px}
.wishlist-empty-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#f4e9de;color:#9b5a35;margin-bottom:1rem}
.wishlist-empty h2{margin:.3rem 0 .55rem}
.wishlist-empty p{color:var(--muted);margin:0 0 1.2rem}

@media(max-width:1100px){
  .recently-viewed-rail{grid-template-columns:none;grid-auto-columns:minmax(260px,42vw)}
  .wishlist-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .wishlist-toggle-card{width:40px;height:40px;right:.65rem;top:.65rem}
  .recently-viewed-head{align-items:flex-start;flex-direction:column;gap:.5rem}
  .recently-viewed-rail{grid-auto-columns:78vw;gap:.75rem}
  .wishlist-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
}
@media(max-width:520px){
  .wishlist-grid{grid-template-columns:1fr}
  .wishlist-page-head h1{font-size:clamp(2.65rem,14vw,4rem)}
}
@media(prefers-reduced-motion:reduce){.memory-product-media img,.wishlist-toggle{transition:none!important}}
