/* One card component; native wishlist, compare and cart controllers own behavior. */
body.hy-store .wd-hover-parent{display:flex!important;align-self:stretch;min-width:0;height:100%;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important;z-index:auto!important}
body.hy-store .wd-hover-parent .hy-pc{display:flex;flex-direction:column;width:100%;min-width:0;height:100%;padding:6px 6px 0;gap:0;background:var(--hy-panel);color:var(--hy-text);border:1px solid var(--hy-line);border-radius:8px;box-shadow:none;overflow:hidden;direction:inherit;position:relative;transform:none!important}
body.hy-store .wd-hover-parent .hy-pc-tools{--hy-card-tool-ink:#0b6aa4;--wd-action-icon-color:var(--hy-card-tool-ink);--wd-action-icon-color-hover:var(--hy-card-tool-ink);display:flex;justify-content:space-between;align-items:center;gap:4.5px;position:absolute;top:4.5px;left:4.5px;z-index:3;flex-direction:column;min-height:0}
body.hy-store .wd-hover-parent .hy-pc-tools .wd-action-btn{display:block!important;position:relative!important;inset:auto!important;flex:0 0 30px!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;margin:0!important;padding:0!important;transform:none!important;opacity:1!important;visibility:visible!important}
body.hy-store .wd-hover-parent .hy-pc-tools .wd-action-btn>a{display:flex!important;align-items:center;justify-content:center;position:relative!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;max-width:30px!important;padding:0!important;margin:0!important;border:1px solid var(--hy-accent)!important;border-radius:7.5px!important;background:transparent!important;color:var(--hy-card-tool-ink)!important;box-shadow:none!important;transform:none!important}
body.hy-store .wd-hover-parent .hy-pc-tools .wd-action-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
body.hy-store .wd-hover-parent .hy-pc-tools .wd-action-icon{color:var(--hy-card-tool-ink)!important;display:grid!important;place-items:center;width:14.25px!important;height:14.25px!important;transform:none!important;margin:0!important}
body.hy-store .wd-hover-parent .hy-pc-tools .wd-action-icon:before{width:14.25px!important;height:14.25px!important;display:block!important;content:''!important;background:var(--hy-card-tool-ink)!important;mask:var(--hy-action-icon) center/contain no-repeat}
body.hy-store .wd-hover-parent .hy-pc-tools .wd-wishlist-btn{--hy-action-icon:url('icons/heart.svg')}
body.hy-store .wd-hover-parent .hy-pc-tools .wd-compare-btn{--hy-action-icon:url('icons/compare-opposed.svg')}
body.hy-store .wd-hover-parent .hy-pc-tools .wd-wishlist-btn:is(.wd-added,:has(a.added)) .wd-action-icon:before{background:#ff243f!important;mask-image:url('icons/heart-solid.svg')!important}
body.hy-store .wd-hover-parent .hy-pc-tools a:before,body.hy-store .wd-hover-parent .hy-pc-tools .wd-check-icon{display:none!important}
body.hy-store .wd-hover-parent .hy-pc-image{display:block;position:relative!important;aspect-ratio:1;min-height:0;width:100%;overflow:hidden;background:var(--hy-panel);border-radius:8px;flex:none;margin:0!important}
body.hy-store .wd-hover-parent .hy-pc-image img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;transform:none!important;opacity:1!important;position:static!important;margin:0!important}
body.hy-store .wd-hover-parent .hy-pc-info{display:flex;flex:1;flex-direction:column;min-width:0;gap:8px;padding:12px 0 8px;margin:0!important}
body.hy-store .wd-hover-parent .hy-pc-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;height:3.6em;min-height:3.6em;margin:0!important;font-family:inherit;font-size:var(--hy-card-title-size,1rem);font-weight:500;line-height:1.8;color:var(--hy-text)!important}
body.hy-store .wd-hover-parent .hy-pc-title a{color:inherit!important;font:inherit!important;font-size:var(--hy-card-title-size,1rem)!important;line-height:1.8!important;font-weight:500!important;display:inline;text-decoration:none}
body.hy-store .wd-hover-parent .hy-pc-meta{line-height:1.8;font-size:11px;color:var(--hy-muted);overflow-wrap:anywhere}
body.hy-store .wd-hover-parent .hy-pc-action{display:flex;flex-direction:column;justify-content:flex-end;gap:4px;margin-block-start:auto!important;margin-block-end:0!important;padding-top:2px;position:static}
body.hy-store .wd-hover-parent .hy-pc-price{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;text-align:start;gap:2.4px;margin:0!important;color:var(--hy-text)!important;font-size:15px;font-weight:700;line-height:1.8}
body.hy-store .wd-hover-parent .hy-pc-price :is(.amount,bdi,ins){color:inherit!important;background:none;text-decoration:none}body.hy-store .wd-hover-parent .hy-pc-price del{font-size:11px;color:var(--hy-muted)!important;text-decoration:line-through!important}
body.hy-store .wd-hover-parent .hy-pc-action :is(.wd-add-btn>a,.hy-rfq-card){position:static!important;display:flex!important;align-items:center;justify-content:center;width:100%!important;min-height:44px!important;height:auto!important;padding:10px 8px!important;margin:0!important;line-height:1.6;font-family:inherit;font-size:13px!important;font-weight:500;border:1px solid var(--hy-rfq-accent)!important;border-radius:8px!important;background:var(--hy-rfq-accent)!important;color:var(--hy-on-accent)!important;transform:none!important;opacity:1!important;visibility:visible!important;text-align:center;white-space:normal}
body.hy-store .wd-hover-parent .hy-pc :is(a,button):focus-visible{outline:2px solid var(--hy-accent);outline-offset:3px}
body.hy-store .products.wd-grid-g{align-items:stretch;grid-auto-rows:1fr}body.hy-store .wd-carousel-wrap{align-items:stretch}body.hy-store .wd-carousel-item:has(>.wd-hover-parent){height:auto;display:flex}
/* Each native slide owns its width; the flex child must fill it, not size to its image. */
body.hy-store .wd-carousel-item>.wd-product.wd-hover-parent{flex:1 1 100%;width:100%!important;max-width:100%;min-width:0;box-sizing:border-box}
@media(max-width:480px){body.hy-store .wd-hover-parent .hy-pc{padding:0;gap:0}body.hy-store .wd-hover-parent .hy-pc-title{font-size:var(--hy-card-title-size,1rem)}body.hy-store .wd-hover-parent .hy-pc-price{font-size:13px}}

body.hy-store .wd-hover-parent:before,body.hy-store .wd-hover-parent:after{display:none!important}

body.hy-store .wd-hover-parent>.wd-product-wrapper{display:flex!important;flex-direction:column;width:100%;height:100%;padding:0!important;background:transparent!important;transform:none!important;box-shadow:none!important}
body.hy-store .wd-hover-parent .hy-pc-title{height:3.6em!important;min-height:3.6em!important;max-height:3.6em!important;-webkit-line-clamp:2!important;line-height:1.8!important;margin:0!important;color:var(--hy-text)!important;font-size:var(--hy-card-title-size,1rem)!important}
body.hy-store .wd-hover-parent .hy-pc-image>a{display:block;width:100%;height:100%;border-radius:inherit;overflow:hidden}
body.hy-store .wd-hover-parent .hy-pc-meta:empty{display:none}
body.hy-store .wd-hover-parent .hy-pc-meta{min-height:0}
body.hy-store .wd-hover-parent .hy-pc-action{min-height:0}
body.hy-store .wd-hover-parent .hy-pc-action .wd-add-btn-wrapp{margin:0!important;width:100%}
body.hy-store .wd-hover-parent .hy-pc-action .wd-add-btn{display:block!important;position:static!important;width:100%;margin:0!important;transform:none!important}
body.hy-store .wd-hover-parent .hy-pc-action .wd-add-btn>a:before{display:none!important}
body.hy-store .wd-hover-parent .hy-pc-action .wd-add-btn>a span{transform:none!important;opacity:1!important}
body.hy-store .wd-hover-parent .hy-pc-action .wd-add-btn>a.added_to_cart{margin-top:6px!important}
body.hy-store .wd-hover-parent .hy-pc-tools .wd-compare-icon{--hy-action-icon:url('icons/compare-opposed.svg')}
body.hy-store .wd-hover-parent .hy-pc-tools .wd-wishlist-icon{--hy-action-icon:url('icons/heart.svg')}
body.hy-store .wd-hover-parent .hy-pc-tools .wd-wishlist-btn:is(.wd-added,:has(a.added)) .wd-action-icon:before{background:#ff243f!important;mask-image:url('icons/heart-solid.svg')!important}

/* Context variants share every base component above; native blocks differ only in density. */
body.hy-store .wd-hover-parent .hy-pc.hy-product-card--archive{--hy-card-title-size:1rem;padding:6px 6px 0;gap:0}
body.hy-store .wd-hover-parent .hy-pc.hy-product-card--carousel{--hy-card-title-size:0.928571rem;padding:6px 6px 0;gap:0}
body.hy-store .wd-hover-parent .hy-product-card--archive .hy-pc-title{font-size:var(--hy-card-title-size,1rem)!important}
body.hy-store .wd-hover-parent .hy-product-card--carousel .hy-pc-title{font-size:var(--hy-card-title-size,1rem)!important}
body.hy-store .wd-hover-parent .hy-product-card--carousel .hy-pc-tools{justify-content:flex-start}
body.hy-store .wd-hover-parent .hy-pc:hover{border-color:color-mix(in srgb,var(--hy-accent) 30%,var(--hy-line));box-shadow:0 2px 8px #10273908}
@media(max-width:480px){body.hy-store .wd-hover-parent .hy-pc.hy-product-card--archive{padding:6px 6px 0}body.hy-store .wd-hover-parent .hy-product-card--archive .hy-pc-title,body.hy-store .wd-hover-parent .hy-product-card--carousel .hy-pc-title{font-size:var(--hy-card-title-size,1rem)!important}body.hy-store .wd-hover-parent .hy-pc.hy-product-card--carousel{padding:6px 6px 0}}

/* The image is the card top; its native inner blocks own compact overlay actions. */
body.hy-store .wd-hover-parent .hy-pc-image{position:relative}
body.hy-store .wd-hover-parent .hy-pc-tools{height:auto;align-items:center;justify-content:flex-start}
body.hy-store .wd-hover-parent .hy-pc.hy-product-card--archive .hy-pc-title{font-size:var(--hy-card-title-size,1rem)!important}
body.hy-store .wd-hover-parent .hy-product-card--carousel .hy-pc-info{padding:10px 0 8px;gap:7px}
body.hy-store .wd-hover-parent .hy-product-card--carousel .hy-pc-title{font-size:var(--hy-card-title-size,1rem)!important}
body.hy-store .wd-hover-parent .hy-pc-action .wd-add-btn>a.hy-pc-buy,body.hy-store .wd-hover-parent .hy-pc-action .wd-add-btn>a.hy-pc-details{background:var(--hy-accent)!important;color:var(--hy-on-accent)!important;border-color:var(--hy-accent)!important}
body.hy-store .wd-hover-parent .hy-pc-action .wd-add-btn>a.hy-pc-rfq{background:var(--hy-rfq-accent)!important;color:var(--hy-rfq-on)!important;border-color:var(--hy-line)!important}
body.hy-store .wd-hover-parent .hy-pc-action .wd-add-btn>a.hy-pc-rfq:hover{filter:brightness(.93)}
body.hy-store .wd-hover-parent .hy-pc-action .wd-add-btn>a.hy-pc-buy:hover{filter:brightness(.94)}
body.hy-store .wd-hover-parent .hy-pc-action :is(.hy-pc-buy,.hy-pc-rfq,.hy-pc-details){display:flex!important;direction:rtl;gap:7px;align-items:center;justify-content:center;min-height:42px!important}
body.hy-store .wd-hover-parent .hy-card-action-icon{display:block!important;flex:0 0 20px;width:20px;height:20px;mask:var(--hy-card-action-mask) center/contain no-repeat;background:currentColor;transform:none!important}
.hy-card-icon-cart{--hy-card-action-mask:url('icons/shopping-cart.svg')}.hy-card-icon-tag{--hy-card-action-mask:url('icons/price-tag.svg')}.hy-card-icon-detail{--hy-card-action-mask:url('icons/chevron-left.svg')}
body.hy-store .wd-hover-parent .hy-pc-price>.price>ins{color:#e8274c!important}.hy-card-discount{position:absolute;top:10px;right:10px;z-index:2;max-width:calc(100% - 70px);padding:4px 7px;border-radius:7px;background:#ef254e;color:#fff;font-size:12px;font-weight:700;line-height:1.7}.hy-card-availability{display:block;color:#248a57;font-size:12px;text-align:center;line-height:1.8}
body.hy-store .wd-hover-parent .hy-pc-action .loading .hy-card-action-icon{visibility:hidden}

body.hy-store .wd-hover-parent .hy-pc-action a>.wd-action-icon{display:none!important}

/* Adaptive tracks use the available results width, including sidebar constraints. */
body.hy-store.hy-archive-page .products.wd-grid-g[data-source="main_loop"],
body.hy-store .hy-home .hy-products .products.wd-grid-g{
 grid-template-columns:repeat(auto-fill,minmax(min(100%,max(230px,calc((100% - 24px)/4))),1fr))!important;
 gap:8px!important;align-items:stretch;
}
body.hy-store.hy-archive-page .products.wd-grid-g[data-source="main_loop"]>.wd-product,
body.hy-store .hy-home .hy-products .products.wd-grid-g>.wd-product{width:auto!important;max-width:none!important;min-width:0}
.hy-home :is(.hy-category-section,.hy-ready,.hy-products){padding-block:24px!important}
.hy-home :is(.hy-category-section,.hy-products) .hy-section-heading{margin-bottom:14px;align-items:center;gap:12px}
.hy-home .hy-ready>h2{margin:0 0 14px}
@media(max-width:600px){.hy-home :is(.hy-category-section,.hy-ready,.hy-products){padding-block:18px!important}}

/* Monetary isolation and order are supplied by the native WooCommerce formatter. */
body.hy-store .wd-hover-parent .hy-pc-price bdi{unicode-bidi:isolate}
body.hy-store .wd-hover-parent .hy-pc-price:has(del){flex-direction:column;gap:2.4px}
body.hy-store .wd-hover-parent .hy-pc-tools a:hover{color:var(--hy-accent)!important;border-color:var(--hy-accent)!important}
body.hy-store .wd-hover-parent .hy-pc-title{font-weight:500!important}
@media(max-width:600px){body.hy-store .wd-hover-parent .hy-product-card--carousel .hy-pc-title{font-size:var(--hy-card-title-size,1rem)!important}body.hy-store .wd-hover-parent .hy-pc.hy-product-card--archive .hy-pc-title{font-size:var(--hy-card-title-size,1rem)!important}}

/* Native replacement-button text carried its own 36px height. Normalize the inner slot. */
body.hy-store .wd-hover-parent .hy-pc-action .wd-add-btn>a .wd-action-text{display:inline!important;height:auto!important;min-height:0!important;padding:0!important;line-height:inherit!important;font:inherit!important;position:static!important}
body.hy-store .wd-hover-parent .hy-pc-price>.price{display:flex;flex-direction:column;align-items:flex-start;text-align:start;gap:2.4px;width:100%;margin:0!important}
body.hy-store .wd-hover-parent .hy-pc-price>.price .screen-reader-text{position:absolute}

body.hy-store .wd-hover-parent .hy-pc-info,body.hy-store .wd-hover-parent .hy-pc-action,body.hy-store .wd-hover-parent .hy-pc-action .wd-add-btn-wrapp,body.hy-store .wd-hover-parent .hy-pc-action .wd-add-btn{background:transparent!important}

@media(max-width:600px){body.hy-store .wd-hover-parent .hy-pc.hy-product-card--archive{--hy-card-title-size:0.928571rem}}

/* Remove inherited block margins; only the component gap separates price, stock and cart. */
body.hy-store .wd-hover-parent .hy-pc-action>.hy-card-availability{margin:0!important;padding:0!important;line-height:1.5}
body.hy-store .wd-hover-parent .hy-pc-price>.price>:is(del,ins){margin:0!important;padding:0!important;line-height:1.5}
body.hy-store .wd-hover-parent .hy-pc-price del{display:inline-block;position:relative;font-size:11px!important;text-decoration:none!important}
body.hy-store .wd-hover-parent .hy-pc-price del :is(.amount,bdi){font-size:inherit!important}
body.hy-store .wd-hover-parent .hy-pc-price del:after{content:'';position:absolute;inset-inline:0;top:50%;height:1px;background:currentColor;pointer-events:none}

/* Account reorder rows: clear product identity above the price and purchase action. */
body.hy-store .hy-buy-again{container-type:inline-size}
body.hy-store .hy-buy-again .products{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:auto;gap:12px}
body.hy-store .hy-buy-again .products>.wd-product{width:100%!important;max-width:none!important;min-width:0;height:auto}
body.hy-store .hy-buy-again .wd-hover-parent .hy-pc{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:start;gap:8px 16px;padding:14px;height:auto}
body.hy-store .hy-buy-again .wd-hover-parent .hy-pc-image{display:contents}
body.hy-store .hy-buy-again .wd-hover-parent .hy-pc-image>a{grid-column:1;grid-row:2 / span 2;justify-self:center;align-self:start;width:88px;height:88px;flex:none}
body.hy-store .hy-buy-again .wd-hover-parent .hy-pc-tools{grid-column:2;grid-row:2;position:static!important;inset:auto!important;flex-direction:row;justify-content:flex-start;gap:6px;margin:0!important}
body.hy-store .hy-buy-again .hy-card-discount{grid-column:1;grid-row:1;justify-self:center;position:static;inset:auto;align-self:center;max-width:100%;padding:2px 6px;font-size:10px;line-height:1.6;white-space:nowrap}
body.hy-store .hy-buy-again .wd-hover-parent .hy-pc-info{display:contents}
body.hy-store .hy-buy-again .wd-hover-parent .hy-pc-title{grid-column:2;grid-row:1;height:auto!important;min-height:0!important;max-height:3.6em!important;font-size:14px!important}
body.hy-store .hy-buy-again .wd-hover-parent .hy-pc-title a{font-size:14px!important}
body.hy-store .hy-buy-again .wd-hover-parent .hy-pc-action{grid-column:2;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:4px 12px;margin:0!important;padding:0}
body.hy-store .hy-buy-again .hy-pc-price{grid-column:2;grid-row:1}
body.hy-store .hy-buy-again .hy-card-availability{grid-column:2;grid-row:2;text-align:start}
body.hy-store .hy-buy-again .hy-pc-action .wd-add-btn-wrapp{grid-column:3;grid-row:1 / span 2;align-self:center}
body.hy-store .hy-buy-again .wd-hover-parent .hy-pc-action .wd-add-btn>a{padding-inline:12px!important;white-space:normal}
body.hy-store .hy-buy-again .hy-pc-meta{grid-column:2;grid-row:4}
@container(max-width:420px){
 body.hy-store .hy-buy-again .wd-hover-parent .hy-pc{grid-template-columns:80px minmax(0,1fr);gap:12px;padding:12px}
 body.hy-store .hy-buy-again .wd-hover-parent .hy-pc-image{width:80px}
 body.hy-store .hy-buy-again .wd-hover-parent .hy-pc-image>a{width:76px;height:76px}
 body.hy-store .hy-buy-again .wd-hover-parent .hy-pc-action{display:flex;flex-direction:column;align-items:stretch;gap:6px}
}

/* The inner card owns the rounded outline; native grid dividers must not frame it. */
body.hy-store .hy-buy-again .products{border:0!important;--wd-prods-brd:none;--wd-prods-brd-top:none}
body.hy-store .hy-buy-again .products>.wd-product,
body.hy-store .hy-buy-again .products>.wd-product>.wd-product-wrapper{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:8px}
body.hy-store .hy-buy-again .wd-hover-parent .hy-pc{border:1px solid var(--hy-line);border-radius:8px}

/* Shared cards own their outline; disable duplicate native grid/carousel dividers. */
body.hy-store :is(.products,.wd-products-element):has(.hy-pc){--wd-prods-brd:none!important;--wd-prods-brd-top:none!important;border:0!important}
body.hy-store .wd-carousel-inner:has(.hy-pc),
body.hy-store .wd-carousel-item:has(.hy-pc),
body.hy-store .wd-product:has(.hy-pc),
body.hy-store .wd-product-wrapper:has(>.hy-pc){border:0!important;box-shadow:none!important;background:transparent!important;border-radius:8px}
body.hy-store .hy-related-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-block-end:16px}
body.hy-store .hy-related-heading h2{margin:0!important}
body.hy-store .hy-related-view-all{flex:none;color:var(--hy-orange,#f58232);font-size:12px;white-space:nowrap}
body.hy-store .hy-related-view-all:focus-visible{outline:2px solid var(--hy-accent);outline-offset:3px;border-radius:4px}

/* Readable native actions over dark/light photography; card dimensions stay fixed. */
body.hy-store .wd-hover-parent .hy-pc-tools .wd-action-btn>a{background:rgba(255,255,255,.94)!important;background:color-mix(in srgb,var(--hy-panel) 94%,transparent)!important;box-shadow:0 1px 4px #0002!important;backdrop-filter:blur(3px)}
body.hy-store .wd-hover-parent .hy-pc-tools .wd-action-btn>a:hover{background:var(--hy-panel)!important;box-shadow:0 1px 5px #0003!important}
body.hy-store .wd-hover-parent .hy-pc-tools .wd-action-btn>a:focus-visible{outline:2px solid var(--hy-accent);outline-offset:2px;background:var(--hy-panel)!important}

body.hy-store .wd-hover-parent .hy-pc-tools{--hy-card-tool-ink:var(--hy-accent)}
body.hy-store .wd-hover-parent .hy-pc-tools .wd-action-btn>a:active{background:var(--hy-panel-alt)!important}
