/* Gemensam komponent för alla produktkort på webbplatsen. */
.hbs-shop-archive{max-width:min(1600px,calc(100% - 30px));}
body.bsp-site-shell ul.products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 20px;margin:0 0 32px!important;padding:0;list-style:none;}
body.bsp-site-shell ul.products::before,body.bsp-site-shell ul.products::after{display:none;}
body.bsp-site-shell ul.products li.storecraft-product-list-item{display:flex;float:none!important;width:auto!important;min-width:0;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible;text-align:left;}
body.bsp-site-shell .storecraft-product-card{box-sizing:border-box;display:flex;flex-direction:column;min-width:0;width:100%;height:100%;padding:0;background:#fff;border:1px solid var(--commerce-line,#e5e8eb);border-radius:3px;overflow:hidden;box-shadow:none;color:var(--commerce-ink,#25313a);text-align:left;font-family:var(--storecraft-font-body);}
/* Produktkort i startsidans karuseller ska inte sträckas efter reklambannern. */
body.bsp-site-shell.bsp-homepage-3 .storecraft-product-card{height:auto;align-self:flex-start;}
body.bsp-site-shell.bsp-homepage-3 .bsp-h3-featured__layout--has-promo .storecraft-product-card{align-self:center;}
/* Grid product sections share shop card sizing and stretch to the row height. */
body.bsp-site-shell.bsp-homepage-3 .bsp-h3-furniture__grid>.storecraft-product-card{height:100%;align-self:stretch;}
body.bsp-site-shell .storecraft-product-card *{box-sizing:border-box;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__media{position:relative;flex:none;width:100%;height:auto;aspect-ratio:1;min-height:0;margin:0;padding:0;overflow:hidden;border:0;border-radius:0;background:#fff;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__image-link{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;}
body.bsp-site-shell .storecraft-product-card .bsp-product-card-images{position:absolute;inset:0;width:100%;height:100%;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__image-link img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;margin:0!important;object-fit:contain!important;object-position:center;border-radius:0;transform:none!important;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__body{display:flex;flex:1;flex-direction:column;gap:6px;padding:14px 16px 12px;min-width:0;min-height:0;background:#fff;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__body > .storecraft-card__brand{font-family:inherit;margin:0;min-height:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#76818c;font-size:10px;font-weight:600;line-height:1.4;letter-spacing:.05em;text-transform:uppercase;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__body > .storecraft-card__title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.9em;max-height:2.9em;margin:0;padding:0;font-family:var(--storecraft-font-heading);font-size:14px;font-weight:500;line-height:1.45;}
/* Startsidan, butiken och relaterade produkter reserverar tre rader. */
body.bsp-site-shell:is(.bsp-homepage-3,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .storecraft-product-card .storecraft-card__title{display:block;-webkit-line-clamp:unset;min-height:calc(4.5em + 2px);max-height:none;overflow:visible;flex-shrink:0;line-height:1.5;}
body.bsp-site-shell:is(.bsp-homepage-3,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .storecraft-product-card .storecraft-card__title a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;max-height:none;font-size:inherit;line-height:inherit;white-space:normal;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__title > a{font-family:inherit;color:var(--storecraft-card-color,#25313a);text-decoration:none;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__title a:hover{text-decoration:underline;text-underline-offset:3px;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:0;padding:0;color:var(--commerce-ink,#25313a);font-size:14px;font-weight:500;line-height:1.5;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__price del{color:#8a929b;font-size:12px;font-weight:400;opacity:1;white-space:nowrap;text-decoration:line-through;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__price ins{background:transparent;color:var(--storecraft-sale-price,#e52727);font-size:16px;font-weight:700;white-space:nowrap;text-decoration:none;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__badge{position:absolute;top:10px;left:10px;right:auto;z-index:3;min-height:0;min-width:0;margin:0;padding:4px 7px;background:var(--storecraft-sale-price,#e52727);color:#fff;border-radius:4px;font-size:10px;font-weight:600;line-height:1.2;text-transform:uppercase;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__wishlist{position:absolute;top:10px;right:10px;z-index:3;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__actions{position:absolute;right:10px;bottom:10px;z-index:3;display:flex;align-items:center;gap:6px;transform:none;}
body.bsp-site-shell .storecraft-product-card :is(.storecraft-card__wishlist,.storecraft-card__quick-view,.storecraft-card__bag){display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px!important;height:34px!important;min-width:0;min-height:0;margin:0!important;padding:0!important;border:1px solid var(--commerce-line,#e5e8eb);border-radius:5px;background:#fff;color:var(--commerce-ink,#25313a);font-size:14px;line-height:1;text-decoration:none;cursor:pointer;opacity:1;visibility:visible;transform:none;box-shadow:none;transition:background .18s,color .18s,border-color .18s;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__bag{position:static;}
body.bsp-site-shell .storecraft-product-card :is(.storecraft-card__quick-view,.storecraft-card__bag){color:var(--storecraft-card-color,#25313a);border-color:color-mix(in srgb,var(--storecraft-card-color,#25313a) 16%,white);}
body.bsp-site-shell .storecraft-product-card :is(.storecraft-card__quick-view,.storecraft-card__bag):hover{background:var(--storecraft-card-color,#25313a);border-color:var(--storecraft-card-color,#25313a);color:var(--storecraft-card-color-contrast,#fff);}
body.bsp-site-shell .storecraft-product-card .storecraft-card__wishlist{color:var(--storecraft-sale-price,#e52727);transition:opacity .18s ease,background .18s,color .18s,border-color .18s;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__wishlist:hover,body.bsp-site-shell .storecraft-product-card .storecraft-card__wishlist.is-active{background:#fff;color:var(--storecraft-sale-price,#e52727);border-color:var(--commerce-line,#e5e8eb);}
body.bsp-site-shell .storecraft-product-card .storecraft-card__wishlist.is-active i{font-weight:900;}
body.bsp-site-shell .storecraft-product-card a.added_to_cart{display:none;}
body.bsp-site-shell .storecraft-product-card :is(a,button):focus-visible{outline:2px solid var(--commerce-accent,#2c3e50);outline-offset:-3px;}
body.bsp-site-shell .storecraft-product-card :is(a,button):focus:not(:focus-visible){outline:none;box-shadow:none;}
/* Omarkerade hjärtan visas vid hovring eller tangentbordsfokus på datorer. */
@media(min-width:992px) and (hover:hover) and (pointer:fine){
body.bsp-site-shell .storecraft-product-card:not(:hover):not(:focus-within) .storecraft-card__wishlist:not(.is-active):not([aria-pressed="true"]){opacity:0;pointer-events:none;}
}
@media (max-width: 991px) {
  body.bsp-site-shell ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.bsp-site-shell.single-product .related.products > ul.products > li.storecraft-product-list-item:nth-of-type(n+5) {
    display: none;
  }
}
@media(max-width:575px){
body.bsp-site-shell ul.products{gap:16px 12px;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__body{padding:10px;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__body > .storecraft-card__title{font-size:12px;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__price{font-size:13px;gap:4px 6px;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__price del{font-size:11px;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__price ins{font-size:15px;}
body.bsp-site-shell .storecraft-product-card :is(.storecraft-card__wishlist,.storecraft-card__quick-view,.storecraft-card__bag){width:30px!important;height:30px!important;font-size:12px;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__wishlist{top:8px;right:8px;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__actions{right:8px;bottom:8px;gap:5px;}
body.bsp-site-shell .storecraft-product-card .storecraft-card__badge{top:8px;left:8px;font-size:9px;}
}
@media(prefers-reduced-motion:reduce){body.bsp-site-shell .storecraft-product-card *{transition:none!important;}}
