/* Featured Items products and the cart drawer */
.tp-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin-top:8px}
.tp-products-status{grid-column:1/-1;margin:24px 0;font:500 16px "Inter",sans-serif;color:#6b6460}
.tp-prod{display:flex;flex-direction:column;min-width:0;border-top:1px solid #24201f;padding-top:12px}
.tp-prod-top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px;font:500 11px "Inter",monospace;letter-spacing:1px;text-transform:uppercase}
.tp-prod-price{font:700 15px "Plus Jakarta Sans","Inter",sans-serif;letter-spacing:0}
.tp-prod-was{margin-left:8px;font-weight:500;color:#8b847e}
.tp-prod-img{position:relative;aspect-ratio:1;overflow:hidden;background:#fff;border:1px solid #ece9e4}
.tp-prod-img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.tp-prod:hover .tp-prod-img img{transform:scale(1.03)}
.tp-prod-ribbon{position:absolute;top:10px;left:10px;padding:5px 10px;border:1.5px solid #1a1a2a;border-radius:999px;background:#f7bfd3;font:700 11px "Plus Jakarta Sans",sans-serif;letter-spacing:.08em;text-transform:uppercase}
.tp-prod-name{margin:16px 0 14px;font:600 clamp(22px,2vw,28px)/1.1 "Plus Jakarta Sans","Inter",sans-serif;letter-spacing:-.045em}
.tp-prod .tp-pill{align-self:flex-start;margin-top:auto;height:40px;padding:0 22px;border-color:#1b2a52;background:#ffed00;color:#1b2a52;font-size:12px}
.tp-prod .tp-pill:hover:not(:disabled){background:#fff35c}
.tp-prod .tp-pill:disabled{opacity:.55;cursor:default}
@media(max-width:1000px){.tp-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.tp-products{gap:22px 14px}.tp-prod-name{font-size:20px}}
/* header cart count */
.tp-icon{position:relative}
.tp-count{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border:1.5px solid #1b2a52;border-radius:999px;background:#ffed00;color:#1b2a52;font:800 11px/17px "Plus Jakarta Sans",sans-serif;text-align:center}
.tp-count[hidden]{display:none}
/* cart drawer */
.tp-cart{position:fixed;inset:0;z-index:300}
.tp-cart[hidden]{display:none}
.tp-cart-backdrop{position:absolute;inset:0;background:rgba(16,31,61,.45)}
.tp-cart-panel{position:absolute;top:0;right:0;bottom:0;display:flex;flex-direction:column;width:min(420px,100%);background:#fff;border-left:2px solid #1b2a52;color:#24201f;font-family:"Inter",sans-serif;outline:none}
.tp-cart-head{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid #ece9e4}
.tp-cart-head h2{margin:0;font:700 22px "Plus Jakarta Sans",sans-serif;letter-spacing:-.03em}
.tp-cart-x{width:40px;height:40px;border:1.5px solid #1b2a52;border-radius:50%;background:transparent;color:#1b2a52;font-size:22px;line-height:1;cursor:pointer}
.tp-cart-x:hover{background:#f7bfd3}
.tp-cart-error{margin:0;padding:12px 22px;background:#fde4ea;color:#8a1f3d;font-size:14px}
.tp-cart-body{flex:1;overflow:auto;padding:8px 22px}
.tp-cart-empty{margin:40px 0;text-align:center;color:#6b6460}
.tp-line{display:grid;grid-template-columns:72px 1fr auto;gap:14px;padding:16px 0;border-bottom:1px solid #f0ede8}
.tp-line-img{width:72px;height:72px;border:1px solid #ece9e4;background:#fff}
.tp-line-img img{display:block;width:100%;height:100%;object-fit:cover}
.tp-line-info{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:15px}
.tp-line-info small{color:#6b6460}
.tp-line-price{font:700 15px "Plus Jakarta Sans",sans-serif}
.tp-step{display:flex;align-items:center;gap:10px;margin-top:6px}
.tp-step button{width:28px;height:28px;border:1.5px solid #1b2a52;border-radius:50%;background:transparent;color:#1b2a52;font-size:16px;line-height:1;cursor:pointer}
.tp-step button:hover:not(:disabled){background:#f7bfd3}
.tp-step button:disabled{opacity:.4;cursor:default}
.tp-step .tp-remove{width:auto;height:auto;margin-left:6px;border:0;border-radius:0;font-size:13px;text-decoration:underline;color:#6b6460}
.tp-cart-foot{padding:18px 22px 84px;border-top:1px solid #ece9e4}
.tp-totals{display:flex;justify-content:space-between;font:600 16px "Inter",sans-serif}
.tp-cart-note{margin:8px 0 16px;font-size:13px;color:#6b6460}
.tp-cart-go{width:100%;height:52px;border:1.5px solid #1b2a52;border-radius:999px;background:#ffed00;color:#1b2a52;font:700 13px "Plus Jakarta Sans",sans-serif;letter-spacing:.15em;text-transform:uppercase;cursor:pointer}
.tp-cart-go:hover:not(:disabled){background:#fff35c}
.tp-cart-go:disabled{opacity:.55;cursor:default}
/* smaller Featured Items heading */
html body .shop-heading h2{font-size:clamp(30px,3.4vw,50px)}
@media(max-width:600px){html body .shop-heading h2{font-size:32px}}
/* description, then price, under the product name */
.tp-prod-desc{margin:0 0 12px;font:400 14px/1.55 "Inter",sans-serif;color:#66605c}
.tp-prod-price{margin:0 0 16px;font:700 18px "Plus Jakarta Sans","Inter",sans-serif;letter-spacing:-.01em;color:#24201f}
.tp-prod-name{margin-bottom:8px}
/* product links */
a.tp-prod-img{display:block;cursor:pointer}
.tp-prod-name a,.tp-prod-desc a{color:inherit;text-decoration:none}
.tp-prod-name a:hover,.tp-prod-desc a:hover{text-decoration:underline;text-underline-offset:4px}
.tp-prod-price{margin-bottom:0}

/* homepage Featured Items: a picture turns slowly around its vertical axis while hovered (tp-spin), finishing the turn when the pointer leaves */
@keyframes tp-turn{from{transform:rotateY(0deg)}to{transform:rotateY(360deg)}}
@media(prefers-reduced-motion:no-preference){
#shop .tp-prod{perspective:1000px}
#shop .tp-prod-img{transform-style:preserve-3d}
#shop .tp-prod-img.tp-spin{animation:tp-turn 6s linear infinite}
}
