/* Wishlist: pine-tree buttons, the account menu, the saved notice and the wishlist page (see wishlist.js). */

/* ---- Pine button ---- */
.wish-btn{display:inline-grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid rgba(30,43,32,.18);border-radius:50%;background:rgba(255,255,255,.94);color:#2F5D3A;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.12);transition:transform .2s,background .2s,color .2s,border-color .2s}
.wish-btn svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.wish-btn:hover{transform:scale(1.07)}
.wish-btn:focus-visible{outline:3px solid #9A5B34;outline-offset:2px}
.wish-btn.is-saved{background:#2F5D3A;border-color:#2F5D3A;color:#fff}
.wish-btn.is-saved svg{fill:currentColor}
.wish-btn[aria-busy="true"]{opacity:.6;pointer-events:none}
@media (prefers-reduced-motion:no-preference){.wish-btn.is-saved svg{animation:wish-pop .35s ease}}
@keyframes wish-pop{0%{transform:scale(.6)}70%{transform:scale(1.15)}100%{transform:scale(1)}}

/* on photos (category tiles, Proven to Last) */
.wish-btn--card{position:absolute;z-index:3;top:12px;right:12px}
.prod{position:relative}

/* product page, beside the title */
.product-hero__copy{position:relative}
.wish-btn--hero{position:absolute;top:0;right:0}
.product-hero__copy .product-hero-title{padding-right:56px}

/* ---- Account menu ---- */
.acct-wrap{position:relative;display:inline-flex}
.acct .acct-count{background:#53754B}
.acct-dd{position:absolute;z-index:60;top:calc(100% + 10px);right:0;min-width:240px;padding:8px;background:#fff;color:#23261F;border:1px solid #DEDCCF;border-radius:6px;box-shadow:0 18px 44px rgba(0,0,0,.22);font-family:'Figtree',system-ui,sans-serif;text-align:left}
.acct-dd[hidden]{display:none}
.acct-dd::before{content:"";position:absolute;top:-6px;right:16px;width:10px;height:10px;background:#fff;border-left:1px solid #DEDCCF;border-top:1px solid #DEDCCF;transform:rotate(45deg)}
.acct-dd__hi{margin:4px 10px 8px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#5D6158}
.acct-dd a,.acct-dd button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;border-radius:4px;background:none;color:inherit;font:600 15px/1.2 'Figtree',system-ui,sans-serif;text-align:left;text-decoration:none;cursor:pointer}
.acct-dd a:hover,.acct-dd button:hover,.acct-dd a:focus-visible,.acct-dd button:focus-visible{background:#F3F3ED;outline:none}
.acct-dd .acct-dd__primary{justify-content:center;margin-bottom:4px;background:#53754B;color:#fff}
.acct-dd .acct-dd__primary:hover,.acct-dd .acct-dd__primary:focus-visible{background:#3F5C39}
.acct-dd__wish{border-top:1px solid #EEECE3!important;margin-top:4px;border-radius:0 0 4px 4px!important}
.acct-dd__wish svg{width:18px;height:18px;fill:none;stroke:#2F5D3A;stroke-width:1.6;stroke-linejoin:round}
.acct-dd__wish b{margin-left:auto;min-width:22px;padding:2px 7px;border-radius:11px;background:#2F5D3A;color:#fff;font-size:12px;text-align:center}
.acct-dd__out{color:#8A3B2E!important}
.mm-wish span:not([hidden]){margin-left:6px;padding:1px 7px;border-radius:10px;background:#2F5D3A;color:#fff;font-size:12px}

/* ---- Saved notice ---- */
.wish-toast{position:fixed;z-index:1000;left:50%;bottom:24px;display:flex;align-items:center;gap:14px;max-width:calc(100vw - 32px);padding:12px 16px;border-radius:6px;background:#1E2B20;color:#fff;font:15px/1.4 'Figtree',system-ui,sans-serif;box-shadow:0 14px 34px rgba(0,0,0,.3);transform:translate(-50%,20px);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s}
.wish-toast.is-on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.wish-toast a{color:#DCE5D6;font-weight:700;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}

/* ---- Wishlist page ---- */
.fwl{background:#F3F3ED;padding:40px 0 72px}
.fwl-wrap{width:min(1240px,100%);margin:0 auto;padding:0 24px}
.fwl-crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:#5D6158}
.fwl-crumbs a{color:inherit}
.fwl-head{display:flex;align-items:center;gap:18px;margin:22px 0 12px}
.fwl-pine{flex:0 0 auto;width:52px;height:52px;fill:#2F5D3A;stroke:#2F5D3A;stroke-width:1.2;stroke-linejoin:round}
.fwl h1{margin:0;font:500 clamp(34px,4vw,52px)/1.05 'Cormorant Garamond',Georgia,serif;color:#23261F}
.fwl-head p{margin:6px 0 0;color:#5D6158}
.fwl-note{margin:0 0 24px;padding:12px 16px;border-left:3px solid #53754B;background:#fff;color:#3A3F36}
.fwl-note a{color:#3F5C39;font-weight:700}
.fwl-grid{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.fwl-card{display:flex;flex-direction:column;background:#fff;border:1px solid #E4E1D6;border-radius:4px;overflow:hidden}
.fwl-photo{display:block;aspect-ratio:4/3;background:#E9E7DD}
.fwl-photo img{width:100%;height:100%;object-fit:cover}
.fwl-body{display:flex;flex-direction:column;gap:6px;padding:16px 18px 18px;flex:1}
.fwl-body h2{margin:0;font:500 24px/1.15 'Cormorant Garamond',Georgia,serif}
.fwl-body h2 a{color:#23261F;text-decoration:none}
.fwl-from{margin:0;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#5D6158}
.fwl-from b{font:600 22px 'Cormorant Garamond',Georgia,serif;letter-spacing:0;text-transform:none;color:#23261F}
.fwl-acts{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:10px}
.fwl-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:2px;background:#53754B;color:#fff;font:700 12px 'Figtree',system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;text-decoration:none}
.fwl-btn:hover{background:#3F5C39}
.fwl-remove{color:#8A3B2E;font-size:14px;font-weight:600}
.fwl-empty{margin-top:28px;padding:40px 24px;background:#fff;border:1px dashed #D6D3C6;text-align:center}
.fwl-empty p{margin:0 0 16px;font-size:18px}
@media (max-width:640px){.fwl{padding:24px 0 48px}.fwl-wrap{padding:0 16px}.fwl-head{gap:12px}.fwl-pine{width:40px;height:40px}}
