/* SkillSprig product-card refresh — shared by home, collection and catalogue pages */
:root{--sprig-ink:#26392f;--sprig-muted:#7d8279;--sprig-line:#e8e8df;--sprig-paper:#fffefa;--sprig-accent:#c77f67}
.product-card{display:flex;flex-direction:column;min-width:0;width:100%;height:100%;background:var(--sprig-paper);border:1px solid var(--sprig-line);border-radius:12px;overflow:hidden;box-shadow:0 3px 14px rgba(38,57,47,.045);transition:box-shadow .25s ease,transform .25s ease}
.product-card:hover{box-shadow:0 12px 30px rgba(38,57,47,.11);transform:translateY(-3px)}
.product-card .product-image{position:relative;width:100%;aspect-ratio:4/4.8;min-height:0;overflow:hidden;background:#f2f0e9;border-radius:0}
.product-card .product-image>a{display:block;width:100%;height:100%;overflow:hidden}
.product-card .product-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 42%;transition:transform .55s ease}
.product-card:hover .product-image img{transform:scale(1.035)}
.product-card .product-tag{z-index:2;top:14px;left:14px;max-width:calc(100% - 28px);padding:8px 11px;border-radius:3px;background:#fffaf0;color:#75624e;font-size:9px;line-height:1.2;font-weight:800;letter-spacing:1.15px}
.product-card .quick-view{z-index:3;left:14px;right:14px;bottom:14px;width:calc(100% - 28px);padding:12px 14px;border:1px solid rgba(255,255,255,.9);border-radius:5px;background:rgba(255,255,255,.96);color:var(--sprig-ink);font-size:10px;font-weight:900;letter-spacing:1.2px;opacity:0;transform:translateY(6px);transition:opacity .2s ease,transform .2s ease}
.product-card:hover .quick-view,.product-card:focus-within .quick-view{opacity:1;transform:translateY(0)}
.product-card .product-info{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 16px 8px;min-height:76px}
.product-card .product-info>div{min-width:0;flex:1}
.product-card .product-name{display:inline-block;color:var(--sprig-ink);font-family:'Nunito Sans',sans-serif;font-size:14px;line-height:1.35;font-weight:900;overflow-wrap:anywhere}
.product-card .product-category{margin-top:5px;color:var(--sprig-muted);font-size:11px;line-height:1.35}
.product-card .product-info strong{flex:0 0 auto;color:var(--sprig-ink);font-size:14px;line-height:1.4;font-weight:900;white-space:nowrap}
.product-card .add-cart-line{display:flex;align-items:center;justify-content:center;gap:10px;width:auto;min-height:44px;margin:8px 16px 0;padding:11px 14px;border:1px solid #d9dfd5;border-radius:5px;background:#fff;color:var(--sprig-ink);text-align:center;font-family:'Nunito Sans',sans-serif;font-size:10px;line-height:1.2;font-weight:900;letter-spacing:1.15px;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}
.product-card .add-cart-line:hover,.product-card .add-cart-line:focus-visible{background:#34483d;color:#fff;border-color:#34483d}
.product-card .add-cart-line i{font-size:14px;line-height:1}
.product-card .product-buy-link{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;margin:8px 16px 16px;padding:10px 12px;border:1px solid var(--sprig-line);border-radius:5px;background:#f8f8f3;color:var(--sprig-ink);font-size:10px;line-height:1.2;font-weight:900;letter-spacing:1.1px;text-align:center;transition:background .2s ease,border-color .2s ease}
.product-card .product-buy-link:hover,.product-card .product-buy-link:focus-visible{background:#eef2e9;border-color:#d6dfd2;color:var(--sprig-ink)}
/* Home collection cards: a little lighter, keeping the same useful actions */
.home-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:22px;margin-top:32px}
.home-product-grid>div{display:flex;min-width:0}
.home-product-grid .product-card{border-color:transparent;background:#fff;box-shadow:0 2px 12px rgba(38,57,47,.035)}
.home-product-grid .product-info{padding-left:14px;padding-right:14px}
.home-product-grid .add-cart-line{margin-left:14px;margin-right:14px}
.home-product-grid .product-buy-link{margin-left:14px;margin-right:14px;margin-bottom:14px}
/* Shop catalogue cards use slightly more structured framing */
.shop-results .row> [class*="col-"]{display:flex;min-width:0}
.shop-results .row> [class*="col-"]> .product-card{width:100%}
.shop-results .product-card{border-color:#e7e8df}
.shop-results .product-card .product-image{aspect-ratio:4/4.7}
/* Slider cards must not inherit fixed image dimensions from older slider rules */
.featured-section2 .marquee-item{display:flex;align-items:stretch;min-width:0}
.featured-section2 .marquee-item .product-card{width:100%;min-width:0;height:100%}
.featured-section2 .marquee-item .product-card .product-image{width:100%;aspect-ratio:4/4.8;flex:0 0 auto}
.featured-section2 .marquee-item .product-card .product-image img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
@media(max-width:1199px){.home-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}
@media(max-width:767px){.home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.product-card{border-radius:9px}.product-card .product-info{padding:12px 11px 7px;gap:7px;min-height:69px}.product-card .product-name{font-size:12px}.product-card .product-category{font-size:10px}.product-card .product-info strong{font-size:12px}.product-card .add-cart-line{margin:7px 10px 0;min-height:41px;padding:10px 7px;font-size:9px}.product-card .product-buy-link{margin:7px 10px 11px;min-height:39px;padding:9px 7px;font-size:9px}.product-card .product-tag{top:9px;left:9px;padding:7px 8px;font-size:8px}.product-card .quick-view{display:none}}
@media(max-width:380px){.home-product-grid{gap:10px}.product-card .product-info{display:block;min-height:76px}.product-card .product-info strong{display:block;margin-top:5px}.product-card .add-cart-line{letter-spacing:.7px}}
@media(hover:none){.product-card:hover{transform:none}.product-card .quick-view{display:none}}
@media(prefers-reduced-motion:reduce){.product-card,.product-card img,.product-card .quick-view,.product-card .add-cart-line,.product-card .product-buy-link{transition:none}}
