/* Storefront design options (body-class scoped) and block helper classes. */

/* Header: icon-only account, wishlist, compare and cart with a count badge. */
body.bz-ds-header-icons header :is(.bz-account-link,.bz-cart-link,.bz-wishlist-link,.bz-compare-link){position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0;border-radius:50%}
body.bz-ds-header-icons header :is(.bz-account-link,.bz-cart-link,.bz-wishlist-link,.bz-compare-link):hover{background:color-mix(in srgb,var(--bz-primary) 10%,transparent);color:var(--bz-primary)}
body.bz-ds-header-icons header :is(.bz-account-link,.bz-cart-link,.bz-wishlist-link,.bz-compare-link) :is(.bz-action-label,.bz-hb-visible-text){position:absolute!important;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.bz-ds-header-icons header .bz-cart-link :is(.bz-mini-cart-total,.bz-cart-total){display:none!important}
body.bz-ds-header-icons header .bz-cart-icon-wrap{position:static}
body.bz-ds-header-icons header :is(.bz-cart-count,.bz-wishlist-count,.bz-compare-count){position:absolute;top:1px;right:0;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--bz-primary);color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}

/* Product cards: rating and price on the left, bag button on the right. */
body.bz-ds-card-bag ul.products li.product .star-rating{margin-left:0;margin-right:0}
.bz-card-buy{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;width:100%;box-sizing:border-box;margin-top:auto;padding:4px 12px 0}
.bz-card-buy__price{min-width:0;text-align:left}
html body ul.products li.product .bz-card-buy .price{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;margin:0!important;padding:0!important;text-align:left}
.bz-card-buy__action{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:4px;margin-inline-start:auto}
html body.bz-ds-card-bag ul.products li.product .bz-card-buy__action :is(a.button,button.button){position:relative!important;inset:auto!important;transform:none!important;visibility:visible!important;opacity:1!important;display:block!important;align-self:flex-end!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;margin:0!important;padding:0!important;border-radius:50%!important;overflow:hidden;font-size:0!important;line-height:0!important;background:var(--bz-primary);border-color:var(--bz-primary);color:#fff}
html body.bz-ds-card-bag ul.products li.product .bz-card-buy__action :is(a.button,button.button)::before{content:"";position:absolute;inset:0;margin:auto;width:18px;height:18px;background:#fff;-webkit-mask:url('../icons/fontawesome-free/shopping-bag.svg') center/contain no-repeat;mask:url('../icons/fontawesome-free/shopping-bag.svg') center/contain no-repeat}
html body.bz-ds-card-bag ul.products li.product .bz-card-buy__action :is(a.button,button.button):hover{filter:brightness(.9)}
html body.bz-ds-card-bag ul.products li.product .bz-card-buy__action .button.loading{opacity:.6!important}
html body.bz-ds-card-bag ul.products li.product .bz-card-buy__action .button.added::before{-webkit-mask-image:url('../icons/fontawesome-free/check.svg');mask-image:url('../icons/fontawesome-free/check.svg')}
html body.bz-ds-card-bag ul.products li.product .bz-card-buy__action .button::after{display:none!important}
html body ul.products li.product .bz-card-buy__action a.added_to_cart{margin:0!important;font-size:.75rem;white-space:nowrap}

/* Discount beside the price. */
.bz-price-off{display:inline-block;padding:2px 8px;border-radius:999px;background:#fdecec;color:#c62828;font-size:12px;font-weight:700;line-height:1.5;text-decoration:none;white-space:nowrap;vertical-align:middle}

/* Round social profile icons. */
body.bz-ds-social-round .bz-social-links:not(.bz-social-links--share) .bz-social-link:not(.bz-social-link--threads){width:40px;height:40px;padding:0;border-radius:50%;border:1px solid color-mix(in srgb,currentColor 35%,transparent);transition:background-color .15s,color .15s,border-color .15s}
body.bz-ds-social-round .bz-social-links:not(.bz-social-links--share) .bz-social-link:not(.bz-social-link--threads):is(:hover,:focus-visible){background:var(--bz-primary);border-color:var(--bz-primary);color:#fff;text-decoration:none}
body.bz-ds-social-round .bz-social-links:not(.bz-social-links--share) .bz-social-link:not(.bz-social-link--threads) .bz-social-name{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.bz-ds-social-round .bz-social-links:not(.bz-social-links--share) .bz-social-symbol{display:block;width:17px;height:17px;background-color:currentColor;-webkit-mask:center/contain no-repeat;mask:center/contain no-repeat}
body.bz-ds-social-round .bz-social-symbol--facebook{-webkit-mask-image:url('../icons/social/facebook.svg')!important;mask-image:url('../icons/social/facebook.svg')!important}
body.bz-ds-social-round .bz-social-symbol--x{-webkit-mask-image:url('../icons/social/x.svg')!important;mask-image:url('../icons/social/x.svg')!important}
body.bz-ds-social-round .bz-social-symbol--instagram{-webkit-mask-image:url('../icons/social/instagram.svg')!important;mask-image:url('../icons/social/instagram.svg')!important}
body.bz-ds-social-round .bz-social-symbol--pinterest{-webkit-mask-image:url('../icons/social/pinterest.svg')!important;mask-image:url('../icons/social/pinterest.svg')!important}
body.bz-ds-social-round .bz-social-symbol--youtube{-webkit-mask-image:url('../icons/social/youtube.svg')!important;mask-image:url('../icons/social/youtube.svg')!important}
body.bz-ds-social-round .bz-social-symbol--linkedin{-webkit-mask-image:url('../icons/social/linkedin.svg')!important;mask-image:url('../icons/social/linkedin.svg')!important}
body.bz-ds-social-round .bz-social-symbol--vimeo{-webkit-mask-image:url('../icons/social/vimeo.svg')!important;mask-image:url('../icons/social/vimeo.svg')!important}
body.bz-ds-social-round .bz-social-symbol--whatsapp{-webkit-mask-image:url('../icons/social/whatsapp.svg')!important;mask-image:url('../icons/social/whatsapp.svg')!important}
body.bz-ds-social-round .bz-social-symbol--snapchat{-webkit-mask-image:url('../icons/social/snapchat.svg')!important;mask-image:url('../icons/social/snapchat.svg')!important}
body.bz-ds-social-round .bz-social-symbol--telegram{-webkit-mask-image:url('../icons/social/telegram.svg')!important;mask-image:url('../icons/social/telegram.svg')!important}
body.bz-ds-social-round .bz-social-symbol--tiktok{-webkit-mask-image:url('../icons/social/tiktok.svg')!important;mask-image:url('../icons/social/tiktok.svg')!important}

/* Footer: arrow lists. Add the class bz-cols-2 to any list block for two columns. */
body.bz-ds-footer-arrows footer :is(.wp-block-list,.wp-block-page-list,.wp-block-categories,.widget ul,.menu):not(.bz-social-links){list-style:none;padding-left:0;margin-left:0}
body.bz-ds-footer-arrows footer :is(.wp-block-list,.wp-block-page-list,.wp-block-categories,.widget ul,.menu)>li{position:relative;padding-left:16px}
body.bz-ds-footer-arrows footer :is(.wp-block-list,.wp-block-page-list,.wp-block-categories,.widget ul,.menu)>li::before{content:"\203A";position:absolute;left:0;top:0;color:var(--bz-primary);font-weight:700}
html body footer ul.bz-cols-2,.bz-cols-2 ul{columns:2;column-gap:24px}
.bz-cols-2 li{break-inside:avoid}
.bz-footer-bottom-links{margin-left:auto}
.bz-footer-bottom-links ul{display:flex;flex-wrap:wrap;gap:6px 20px;margin:0;padding:0;list-style:none}
.bz-footer-bottom-links a{text-decoration:none}
.bz-footer-bottom-links a:hover{text-decoration:underline}
@media(max-width:600px){.bz-footer-bottom-links{margin-left:0;width:100%}}

/* Home helpers: add these in the block's "Additional CSS class(es)" field. */
.bz-cat-card.wp-block-cover{border-radius:5px;overflow:hidden;align-items:flex-end;justify-content:flex-start;padding:16px}
.bz-cat-card .wp-block-cover__inner-container{width:auto}
.bz-cat-card :is(p,h2,h3,h4){display:inline-flex;align-items:center;gap:10px;margin:0;padding:8px 8px 8px 16px;border-radius:999px;background:#fff;color:#171717;font-size:15px;font-weight:700;line-height:1.3}
.bz-cat-card :is(p,h2,h3,h4) a{color:inherit;text-decoration:none}
.bz-cat-card :is(p,h2,h3,h4) a::before{content:"";position:absolute;inset:0;z-index:2}
.bz-cat-card :is(p,h2,h3,h4)::after{content:"\2192";display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--bz-primary);color:#fff}
.bz-curve-bottom{border-bottom-left-radius:50% 48px!important;border-bottom-right-radius:50% 48px!important;overflow:hidden}
.bz-curve-top{border-top-left-radius:50% 48px!important;border-top-right-radius:50% 48px!important;overflow:hidden}
@media(max-width:600px){.bz-curve-bottom{border-bottom-left-radius:50% 24px!important;border-bottom-right-radius:50% 24px!important}.bz-curve-top{border-top-left-radius:50% 24px!important;border-top-right-radius:50% 24px!important}}

/* Shop sidebar checklist and availability filter. */
.bz-availability ul{margin:0;padding:0;list-style:none}
.bz-availability li{margin:0 0 8px}
.bz-availability a,body.bz-ds-sidebar-checklist .bz-shop-sidebar :is(.wc-block-product-categories-list,.product-categories) li>a{text-decoration:none}
.bz-availability a::before,body.bz-ds-sidebar-checklist .bz-shop-sidebar :is(.wc-block-product-categories-list,.product-categories) li>a::before{content:"";display:inline-block;width:16px;height:16px;margin-right:9px;border:1.5px solid #b9bcc4;border-radius:4px;background:#fff center/11px no-repeat;vertical-align:-3px}
.bz-availability a.is-active::before,body.bz-ds-sidebar-checklist .bz-shop-sidebar .product-categories li.current-cat>a::before,body.bz-ds-sidebar-checklist .bz-shop-sidebar :is(.wc-block-product-categories-list,.product-categories) li>a[aria-current]::before{border-color:var(--bz-primary);background-color:var(--bz-primary);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.8 2.8L10 3.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E")}
body.bz-ds-sidebar-checklist .bz-shop-sidebar :is(.wc-block-product-categories-list,.product-categories){padding-left:0;list-style:none}
body.bz-ds-sidebar-checklist .bz-shop-sidebar :is(.wc-block-product-categories-list,.product-categories) ul{padding-left:25px;list-style:none}
body.bz-ds-sidebar-checklist .bz-shop-sidebar :is(.widget_price_filter,.widget_product_categories,.widget_layered_nav,.widget_rating_filter) h2::before{content:"";display:inline-block;width:14px;height:14px;margin-right:8px;background:var(--bz-primary);-webkit-mask:url('../icons/fontawesome-free/sliders.svg') center/contain no-repeat;mask:url('../icons/fontawesome-free/sliders.svg') center/contain no-repeat;vertical-align:-1px}

/* Shop introduction across the full width, above the sidebar. */
.bz-shop-intro{margin-bottom:28px}
.bz-shop-intro>.page-description{max-width:none;margin:0}

/* Product showcase shortcode. */
.bz-showcase--2{--bz-showcase-cols:2}.bz-showcase--3{--bz-showcase-cols:3}.bz-showcase--4{--bz-showcase-cols:4}.bz-showcase--5{--bz-showcase-cols:5}.bz-showcase--6{--bz-showcase-cols:6}
html body .bz-showcase .woocommerce ul.products{display:grid!important;grid-template-columns:repeat(var(--bz-showcase-cols),minmax(0,1fr))!important;gap:16px!important;margin:0;padding:0}
html body .bz-showcase .woocommerce ul.products::before,html body .bz-showcase .woocommerce ul.products::after{display:none}
html body .bz-showcase .woocommerce ul.products li.product{display:flex;flex-direction:column;width:auto!important;margin:0!important;float:none}
@media(max-width:1024px){html body .bz-showcase .woocommerce ul.products{grid-template-columns:repeat(min(var(--bz-showcase-cols),3),minmax(0,1fr))!important}}
@media(max-width:640px){html body .bz-showcase .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}}

/* Blog: magazine cards. */
body.bz-ds-blog-magazine .bz-post-card{display:flex;flex-direction:column;border:1px solid #e9e9ee;border-radius:5px;overflow:hidden;background:#fff;transition:box-shadow .2s,transform .2s}
body.bz-ds-blog-magazine .bz-post-card:hover{box-shadow:0 12px 30px rgba(20,20,43,.09);transform:translateY(-2px)}
body.bz-ds-blog-magazine .bz-post-card__media{position:relative;margin:0}
body.bz-ds-blog-magazine .bz-post-card__badge{display:none}
body.bz-ds-blog-magazine .bz-post-card__categories{position:absolute;left:14px;bottom:14px;z-index:2;display:flex;flex-wrap:wrap;gap:6px;margin:0;font-size:0}
body.bz-ds-blog-magazine .bz-post-card__categories a{display:inline-block;padding:4px 12px;border-radius:999px;background:var(--bz-primary);color:#fff;font-size:12px;font-weight:700;text-decoration:none}
body.bz-ds-blog-magazine .bz-post-card--no-image .bz-post-card__categories{position:static;padding:16px 18px 0}
body.bz-ds-blog-magazine .bz-post-card__content{display:flex;flex:1;flex-direction:column;padding:18px}
.bz-post-card__footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:14px;border-top:1px solid #eeeef2;font-size:13px;color:var(--bz-muted)}
.bz-post-card__footer .bz-read-more{margin-left:auto;color:var(--bz-primary);text-decoration:none}
.bz-post-card__footer .bz-read-more::after{content:" \2192"}
body.bz-ds-blog-magazine .bz-content-layout__sidebar>*{margin-bottom:20px;padding:20px;border:1px solid #e9e9ee;border-radius:5px;background:#fff}
body.bz-ds-blog-magazine .bz-content-layout__sidebar .wp-block-latest-posts{padding-left:20px;list-style:none}
body.bz-ds-blog-magazine .bz-content-layout__sidebar .wp-block-latest-posts li{display:flow-root;margin-bottom:14px}
body.bz-ds-blog-magazine .bz-content-layout__sidebar .wp-block-latest-posts__featured-image{float:left;width:64px;height:64px;margin:0 12px 0 0}
body.bz-ds-blog-magazine .bz-content-layout__sidebar .wp-block-latest-posts__featured-image img{width:64px;height:64px;object-fit:cover;border-radius:5px}
@media(prefers-reduced-motion:reduce){body.bz-ds-blog-magazine .bz-post-card{transition:none;transform:none!important}}

/* 1.1.1: adjustments from live testing. */
/* Shop column keeps its rows at the top when the sidebar is taller than the products. */
html body .bz-shop-layout--sidebar>.bz-shop-main{align-content:flex-start;align-self:start}
html body .bz-shop-main[tabindex="-1"]:focus{outline:none}

/* Cards with the bag button read from the left. */
html body.bz-ds-card-bag ul.products li.product :is(.woocommerce-loop-product__title,.bz-pa-card-category,.woocommerce-review-link,a.woocommerce-LoopProduct-link){text-align:left!important}
html body.bz-ds-card-bag ul.products li.product .star-rating{margin:0 12px 4px!important}
html body.bz-ds-card-bag ul.products li.product a.woocommerce-review-link{display:block;margin:0 12px 6px}
html body.bz-ds-card-bag ul.products li.product .bz-card-buy .price{justify-content:flex-start}

/* Header count badge sits on the icon. */
html body.bz-ds-header-icons header :is(.bz-account-link,.bz-cart-link,.bz-wishlist-link,.bz-compare-link) :is(.bz-cart-count,.bz-wishlist-count,.bz-compare-count){top:3px!important;right:2px!important;bottom:auto!important;left:auto!important;transform:none!important}

/* Footer bottom links carry no list arrows. */
html body footer.bz-footer .bz-footer-bottom-links ul>li{padding-left:0}
html body footer.bz-footer .bz-footer-bottom-links ul>li::before{content:none}

/* Quick view purchase button follows the primary colour. */
html body .bz-quick-view-dialog .single_add_to_cart_button{background:var(--bz-primary);border-color:var(--bz-primary);color:#fff}

/* Checkbox style also covers the WordPress Categories block. */
body.bz-ds-sidebar-checklist .bz-shop-sidebar .wp-block-categories-list{padding-left:0;list-style:none}
body.bz-ds-sidebar-checklist .bz-shop-sidebar .wp-block-categories-list ul{padding-left:25px;list-style:none}
body.bz-ds-sidebar-checklist .bz-shop-sidebar .wp-block-categories-list li{margin-bottom:8px}
body.bz-ds-sidebar-checklist .bz-shop-sidebar .wp-block-categories-list li>a{text-decoration:none}
body.bz-ds-sidebar-checklist .bz-shop-sidebar .wp-block-categories-list li>a::before{content:"";display:inline-block;width:16px;height:16px;margin-right:9px;border:1.5px solid #b9bcc4;border-radius:4px;background:#fff center/11px no-repeat;vertical-align:-3px}
body.bz-ds-sidebar-checklist .bz-shop-sidebar .wp-block-categories-list :is(li.current-cat>a,li>a[aria-current])::before{border-color:var(--bz-primary);background-color:var(--bz-primary);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.8 2.8L10 3.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E")}
body.bz-ds-sidebar-checklist .bz-shop-sidebar .wp-block-group:has(.wp-block-categories-list,.bz-availability,.wc-block-product-categories-list)>h3::before{content:"";display:inline-block;width:14px;height:14px;margin-right:8px;background:var(--bz-primary);-webkit-mask:url('../icons/fontawesome-free/sliders.svg') center/contain no-repeat;mask:url('../icons/fontawesome-free/sliders.svg') center/contain no-repeat;vertical-align:-1px}

/* Magazine blog cards: override the centred card defaults. */
html body.bz-ds-blog-magazine main .bz-post-card{overflow:hidden!important;border:1px solid #e9e9ee!important;border-radius:5px!important;background:#fff!important;text-align:left}
html body.bz-ds-blog-magazine main .bz-post-card__media img{border-radius:0!important}
html body.bz-ds-blog-magazine main .bz-post-card .bz-post-card__categories{left:14px;right:auto;bottom:14px;transform:none;max-width:calc(100% - 28px);padding:0;background:none;white-space:normal;overflow:visible}
html body.bz-ds-blog-magazine main .bz-post-card .bz-post-card__categories a{padding:4px 12px;border-radius:999px}
html body.bz-ds-blog-magazine main .bz-post-card .bz-post-card__content{align-items:stretch;padding:18px!important}
html body.bz-ds-blog-magazine main .bz-post-card .bz-post-card__content>*{order:0;text-align:left!important}
html body.bz-ds-blog-magazine main .bz-post-card .bz-post-card__meta{justify-content:flex-start}
html body.bz-ds-blog-magazine main .bz-post-card .bz-post-card__footer{order:10}
html body.bz-ds-blog-magazine main .bz-post-card .bz-post-card__footer .bz-read-more{order:0;margin:0 0 0 auto}

/* Sidebar widgets that already draw their own card are not framed twice. */
html body.bz-ds-blog-magazine .bz-content-layout__sidebar>*:has(.has-border-color){padding:0;border:0;background:none}
html body.bz-ds-blog-magazine .bz-content-layout__sidebar .wp-block-latest-posts{padding:0!important;border:0}
html body.bz-ds-blog-magazine .bz-content-layout__sidebar .wp-block-latest-posts li:has(.wp-block-latest-posts__featured-image){display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:12px;align-content:start;align-items:start;margin:0 0 14px;padding:0;text-align:left}
html body.bz-ds-blog-magazine .bz-content-layout__sidebar .wp-block-latest-posts__featured-image{grid-row:span 2;float:none;margin:0}
html body.bz-ds-blog-magazine .bz-content-layout__sidebar .wp-block-latest-posts__post-title{margin:0 0 4px;font-size:14px;font-weight:600;line-height:1.35}
html body.bz-ds-blog-magazine .bz-content-layout__sidebar .wp-block-latest-posts__post-date{margin:0}

/* 1.1.2: the "Added to cart" message already links to the cart, so no second link inside the form. */
html body.single-product div.product form.cart a.added_to_cart{display:none}
