/* Tree Pad cart drawer — v3.64.0 (replaces the CheckoutWC side cart). Matches v2/05-side-cart-*. */
html.tp-cd-lock, html.tp-cd-lock body{overflow:hidden !important;overscroll-behavior:none}
html body .tp-cd-scrim{position:fixed;inset:0;background:rgba(16,20,17,.42);z-index:100000;opacity:0;transition:opacity .28s ease}
html body .tp-cd-scrim.is-open{opacity:1}
html body .tp-cd-scrim[hidden]{display:none}
html body .tp-cd{position:fixed;top:0;right:0;bottom:0;width:480px;max-width:100%;background:var(--paper,#FBFAF7);z-index:100001;display:flex;flex-direction:column;box-shadow:-20px 0 60px rgba(0,0,0,.12);transform:translateX(100%);visibility:hidden;transition:transform .32s cubic-bezier(.2,.8,.2,1),visibility 0s linear .32s;color:var(--ink,#141714);font-family:var(--sans,Inter,system-ui,sans-serif);outline:none}
html body .tp-cd.is-open{transform:none;visibility:visible;transition:transform .32s cubic-bezier(.2,.8,.2,1),visibility 0s}
@media (prefers-reduced-motion:reduce){html body .tp-cd, html body .tp-cd.is-open, html body .tp-cd-scrim{transition:none}}
html body .tp-cd-inner{display:flex;flex-direction:column;height:100%;min-height:0}
html body .tp-cd button{font:inherit;color:inherit !important;background:none !important;border:0 !important;margin:0 !important;padding:0 !important;cursor:pointer;min-height:0 !important;width:auto;line-height:inherit !important;text-transform:none !important;letter-spacing:0 !important;box-shadow:none !important;border-radius:0}
html body .tp-cd button:focus-visible, html body .tp-cd a:focus-visible{outline:2px solid var(--forest,#173F32);outline-offset:2px}
html body .tp-cd-head{display:flex;justify-content:space-between;align-items:center;padding:24px 28px 20px}
html body .tp-cd-head h2{font-family:var(--serif) !important;font-weight:400;font-size:32px;line-height:1;margin:0;letter-spacing:-.01em;color:var(--ink)}
html body .tp-cd-head h2 span{font-family:var(--sans);font-size:13px;color:var(--mute);margin-left:8px;letter-spacing:0}
html body .tp-cd button.tp-cd-x{width:40px;height:40px;display:grid;place-items:center;margin-right:-9px !important;border-radius:50%}
html body .tp-cd-x svg{width:22px;height:22px;stroke:var(--ink);fill:none;stroke-width:1.4}
html body .tp-cd-ship{padding:0 28px 22px;border-bottom:1px solid var(--line)}
html body .tp-cd-ship .t{font-size:13.5px;margin-bottom:10px;display:flex;gap:8px;align-items:center}
html body .tp-cd-ship .t b{font-weight:600}
html body .tp-cd-ship .t svg{width:18px;height:18px;stroke:var(--forest);fill:none;stroke-width:1.4;flex:none}
html body .tp-cd-ship .track{height:4px;background:var(--stone-2);border-radius:4px;overflow:hidden}
html body .tp-cd-ship .tp-cd-fill{height:100%;background:var(--forest);border-radius:4px;transition:width .35s ease}
html body .tp-cd-body{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:0 28px}
html body .tp-cd-lines{list-style:none;margin:0;padding:0}
html body .tp-cd-line{display:flex;gap:16px;padding:22px 0;border-bottom:1px solid var(--line);margin:0}
html body .tp-cd-line .thumb{width:96px;height:112px;flex:none;background:var(--stone);border-radius:6px;overflow:hidden;display:block}
html body .tp-cd-line .thumb img{width:100%;height:100%;object-fit:contain;margin:0}
html body .tp-cd-line .meta{flex:1;min-width:0;display:flex;flex-direction:column}
html body .tp-cd-line .eyebrow{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--mute);font-weight:500;margin-bottom:4px}
html body .tp-cd-line h3{font-size:15px;font-weight:500;line-height:1.3;margin:0;font-family:var(--sans) !important;letter-spacing:0;color:var(--ink) !important;text-transform:none !important}
html body .tp-cd-line h3 a{color:inherit !important;text-decoration:none}
html body .tp-cd-line .o{font-size:13px;color:var(--mute);margin-top:2px}
html body .tp-cd-line dl.variation{display:none}
html body .tp-cd-line .bot{margin-top:auto;padding-top:12px;display:flex;justify-content:space-between;align-items:flex-end;gap:10px}
html body .tp-cd .stepper{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;height:36px;background:#fff}
html body .tp-cd .stepper button{width:32px;height:100%;display:grid;place-items:center;border-radius:999px}
html body .tp-cd .stepper button:disabled{opacity:.35;cursor:default}
html body .tp-cd .stepper svg{width:14px;height:14px;stroke:var(--ink);stroke-width:1.6;fill:none}
html body .tp-cd .stepper .q{width:28px;text-align:center;font-size:13px;font-weight:500}
html body .tp-cd-line .r{text-align:right}
html body .tp-cd-line .pr{font-weight:500;font-size:15px}
html body .tp-cd-line .pr del{color:var(--mute);font-weight:400;font-size:13px;margin-right:4px}
html body .tp-cd-line .rm{font-size:12.5px !important;color:var(--mute) !important;text-decoration:underline !important;text-underline-offset:3px;margin-top:4px !important}
html body .tp-cd-ups{padding:24px 0}
html body .tp-cd-ups h3{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--mute);font-weight:500;margin:0 0 14px;font-family:var(--sans)}
html body .tp-cd-ups h3 .amount{color:inherit}
html body .tp-cd-ups ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
html body .tp-cd-ups .up{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:10px;background:#fff;margin:0}
html body .tp-cd-ups .thumb{width:46px;height:46px;flex:none;background:var(--stone);border-radius:6px;overflow:hidden;display:block}
html body .tp-cd-ups .thumb img{width:100%;height:100%;object-fit:contain;margin:0}
html body .tp-cd-ups .n{display:block;min-width:0;color:inherit;text-decoration:none}
html body .tp-cd-ups .n b{display:block;font-weight:500;font-size:13px;line-height:1.25}
html body .tp-cd-ups .n span{display:block;font-size:12.5px;color:var(--mute)}
html body .tp-cd-ups .upp{margin-left:auto;font-weight:500;font-size:13.5px;white-space:nowrap}
html body .tp-cd-ups .add{width:30px !important;height:30px !important;border-radius:50% !important;border:1px solid var(--line) !important;display:grid !important;place-items:center;flex:none;margin-left:4px !important}
html body .tp-cd-ups .add svg{width:13px;height:13px;stroke:var(--ink);stroke-width:1.8;fill:none}
html body .tp-cd-ups .add:hover{border-color:var(--ink) !important}
html body .tp-cd-foot{padding:20px 28px 26px;border-top:1px solid var(--line);background:var(--paper)}
html body .tp-cd-foot .sum-row{display:flex;justify-content:space-between;font-size:14.5px;padding:4px 0}
html body .tp-cd-foot .sum-row span:first-child{color:#4A4E48}
html body .tp-cd-foot .sum-row b{font-weight:500}
html body .tp-cd-foot .note{font-size:12.5px;color:var(--mute);margin:4px 0 16px}
body.tp-v2 .tp-cd-foot .btn{display:flex;width:100%;height:54px;font-size:15px;margin:0;text-decoration:none}
html body .tp-cd-foot .vb{display:block;width:max-content;margin:14px auto 0;font-size:13.5px;font-weight:500;color:var(--ink);text-decoration:underline;text-underline-offset:4px}
html body .tp-cd-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 28px 80px;border-top:1px solid var(--line)}
html body .tp-cd-empty .ic{width:64px;height:64px;border-radius:50%;background:var(--stone);display:grid;place-items:center;margin-bottom:18px}
html body .tp-cd-empty .ic svg{width:26px;height:26px;stroke:var(--forest);fill:none;stroke-width:1.4}
html body .tp-cd-empty p{font-size:15px;margin:0 0 20px;color:#40443F}
body.tp-v2 .tp-cd-empty .btn{text-decoration:none;min-width:200px}
html body .tp-cd-busy{position:absolute;inset:0;background:rgba(251,250,247,.55);opacity:0;pointer-events:none;transition:opacity .15s}
html body .tp-cd.is-busy .tp-cd-busy{opacity:1;pointer-events:auto;cursor:progress}
@media (max-width:700px){
  html body .tp-cd{width:100%;box-shadow:none}
  html body .tp-cd-head{padding:18px 20px 16px}html body .tp-cd-ship{padding:0 20px 18px}html body .tp-cd-body{padding:0 20px}html body .tp-cd-foot{padding:16px 20px calc(22px + env(safe-area-inset-bottom))}
  html body .tp-cd-head h2{font-size:30px}
}
/* the card "View cart" link WooCommerce appends after an AJAX add is not used with the drawer */
body.tp-v2 a.added_to_cart.wc-forward{display:none !important}
html body .tp-cd-ups .upp *, html body .tp-cd-line .pr *, html body .tp-cd .sum-row b *{display:inline !important;white-space:nowrap}
html body .tp-cd-ups .n{flex:1}
/* Gratisfaction pay-by-points widget (fixed, max z-index) would cover the drawer footer on mobile: hide it only while the bag is open. */
html.tp-cd-lock #gr_paybypoints_widget{visibility:hidden !important}
