/* Theme 4 visual skin only. Existing links, forms and JS remain authoritative. */
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-card{position:relative!important;display:flex!important;flex-direction:column!important;min-width:0!important;height:auto!important;overflow:hidden!important;padding:0 0 12px!important;border:0!important;border-radius:11px!important;background:#fff!important;box-shadow:0 2px 12px rgba(20,25,30,.035)!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .sf-product-link{display:flex!important;flex-direction:column!important;min-width:0!important;text-decoration:none!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-image{position:relative!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1/1!important;border-radius:9px!important;overflow:hidden!important;background:#eee!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-image>img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:9px!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-image>em{position:absolute!important;top:12px!important;left:12px!important;border-radius:8px!important;background:#369bc9!important;color:#fff!important;padding:7px 11px!important;font-size:13px!important;font-weight:500!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-image .sf-heart{display:none!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-copy{display:flex!important;flex-direction:column!important;gap:8px!important;padding:13px 14px 4px!important;min-width:0!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-copy>small{display:none!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-copy h3{margin:0!important;color:#111!important;font-family:Arial,sans-serif!important;font-size:18px!important;font-weight:600!important;line-height:1.3!important;letter-spacing:0!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-price{margin:0!important;color:#222!important;font-family:Arial,sans-serif!important;font-size:18px!important;font-weight:700!important;line-height:1.35!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-price del{color:#777!important;font-size:.8em!important;font-weight:400!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .sf-quick,
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-card:hover .sf-quick{position:static!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;display:block!important;opacity:1!important;transform:none!important;width:auto!important;height:auto!important;margin:3px 14px 0!important;padding:0!important;z-index:auto!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .sf-quick button,
body.store-body.store-theme-template_4.store-home-reference .sf-products .sf-quick button:not(.sf-order-off){position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#f0f0f0!important;color:#222!important;font-size:0!important;line-height:0!important;text-indent:0!important;box-shadow:none!important;overflow:hidden!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .sf-quick button::before,
body.store-body.store-theme-template_4.store-home-reference .sf-products .sf-quick button:not(.sf-order-off)::before{content:"🛒"!important;position:static!important;display:block!important;width:auto!important;height:auto!important;transform:none!important;border:0!important;border-radius:0!important;background:none!important;font-size:23px!important;line-height:1!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .sf-quick button::after,
body.store-body.store-theme-template_4.store-home-reference .sf-products .sf-quick button:not(.sf-order-off)::after{content:none!important;display:none!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card{background:transparent!important;box-shadow:none!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card>h2{font-family:Arial,sans-serif!important;color:#090909!important;font-size:28px!important;font-weight:700!important;line-height:1.2!important;margin-bottom:22px!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;overflow:visible!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-product{display:flex!important;flex-direction:column!important;min-width:0!important;width:auto!important;max-width:none!important;height:auto!important;padding:0 0 14px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-image{position:relative!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:1.8/1!important;border-radius:9px 9px 0 0!important;overflow:hidden!important;background:#eee!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-image img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-image em{position:absolute!important;top:12px!important;left:12px!important;right:auto!important;border-radius:8px!important;padding:7px 12px!important;background:#369bc9!important;color:#fff!important;font-family:Arial,sans-serif!important;font-size:13px!important;font-weight:500!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-name{display:block!important;min-height:0!important;margin:0!important;padding:15px 8px 6px!important;color:#111!important;font-family:Arial,sans-serif!important;font-size:17px!important;line-height:1.3!important;font-weight:600!important;text-decoration:none!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-price{margin:0!important;padding:0 8px 4px!important;color:#222!important;font-family:Arial,sans-serif!important;font-size:17px!important;font-weight:700!important;line-height:1.4!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-price del{color:#777!important;font-size:.8em!important;font-weight:400!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-product>form{display:block!important;position:static!important;align-self:flex-end!important;width:auto!important;margin:0 8px!important;padding:0!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-product>form>button{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#f0f0f0!important;color:#222!important;font-size:0!important;line-height:0!important;overflow:hidden!important;box-shadow:none!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-product>form>button::before{content:"🛒"!important;position:static!important;display:block!important;width:auto!important;height:auto!important;background:none!important;transform:none!important;font-size:23px!important;line-height:1!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-product>form>button::after{content:none!important;display:none!important}
@media(max-width:1024px) and (min-width:701px){body.store-body.store-theme-template_4.store-home-reference .sf-products .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-card{display:grid!important;grid-template-columns:minmax(0, 40%) minmax(0, 1fr)!important;grid-template-rows:auto!important;align-items:stretch!important;min-height:0!important;padding:12px!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;column-gap:12px!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .sf-product-link{display:contents!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-image{grid-column:1!important;grid-row:1 / span 2!important;align-self:stretch!important;position:relative!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1/1!important;border-radius:8px!important;overflow:hidden!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-image>img{border-radius:8px!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-image>em{top:5px!important;left:auto!important;right:5px!important;display:block!important;font-size:10px!important;padding:5px 7px!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-copy{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;gap:9px!important;min-width:0!important;padding:0!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-copy h3{font-size:17px!important;line-height:1.25!important;font-weight:600!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .product-price{font-size:16px!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .sf-quick,body.store-body.store-theme-template_4.store-home-reference .sf-products .product-card:hover .sf-quick{grid-column:2!important;grid-row:2!important;align-self:end!important;justify-self:start!important;margin:8px 0 0!important}
body.store-body.store-theme-template_4.store-home-reference .sf-products .sf-quick button,body.store-body.store-theme-template_4.store-home-reference .sf-products .sf-quick button:not(.sf-order-off){width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;min-height:42px!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card>h2{font-size:26px!important;margin-bottom:18px!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-row{grid-template-columns:minmax(0,1fr)!important;gap:25px!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-product{width:100%!important;padding:0 0 12px!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-image{width:100%!important;height:auto!important;aspect-ratio:1.8/1!important;border-radius:9px 9px 0 0!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-name{font-size:17px!important;padding:14px 8px 5px!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-price{font-size:17px!important;padding:0 8px 3px!important}
body.store-body.store-theme-template_4.store-product-reference .ref-related-card .ref-related-product>form{align-self:flex-end!important;margin:0 8px!important}
}
