
/* PRODUCT CARD HOVER */
.products .product .product-element-top,
.related.products .product .product-element-top{
    position:relative!important;
    overflow:hidden!important;
    background:#fff!important;
}
.zane-hover-image{
    position:absolute!important;
    inset:0!important;
    z-index:4!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    opacity:0;
    pointer-events:none;
    background:#fff;
    transition:opacity .25s ease;
}
.zane-hover-image img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
}
.products .product:hover .zane-hover-image,
.related.products .product:hover .zane-hover-image{opacity:1}

/* RELATED PRODUCTS CLEANUP */
.related.products .wd-product-cats,
.related.products .product-category,
.related.products .posted_in{display:none!important}

/* DIMENSIONS */
.zane-specs-inline{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:9px!important;
    margin:16px 0 18px!important;
}
.zane-spec-item{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:64px;
    padding:10px 8px!important;
    border:1px solid #e4e4e4!important;
    border-radius:10px!important;
    background:#fff!important;
}
.zane-spec-code{color:#a71919!important;font-size:12px!important;font-weight:700!important}
.zane-spec-value{color:#303030!important;font-size:14px!important;font-weight:600!important}

/* MD ACCORDIONS */
.zane-product-accordions{
    width:100%;
    margin-top:12px!important;
    border-top:1px solid #e5e5e5;
}
.zane-product-accordion{border-bottom:1px solid #e5e5e5}
.zane-product-accordion summary{
    position:relative;
    padding:15px 38px 15px 0!important;
    cursor:pointer;
    list-style:none;
    color:#292929!important;
    font-size:15px!important;
    font-weight:650!important;
}
.zane-product-accordion summary::-webkit-details-marker{display:none}
.zane-product-accordion summary:after{
    content:"+";
    position:absolute;
    right:3px;
    top:50%;
    transform:translateY(-50%);
    color:#a71919;
    font-size:19px;
}
.zane-product-accordion[open] summary:after{content:"−"}
.zane-accordion-body{padding:0 0 16px!important;color:#555!important;line-height:1.65}
.zane-detail-row{
    display:grid;
    grid-template-columns:minmax(145px,.38fr) 1fr;
    gap:16px;
    padding:7px 0;
}

/* HIDE OLD LOWER DEMO/TABS ONCE OUR MD CONTENT IS MOVED */
body.zane-content-moved .woocommerce-tabs,
body.zane-content-moved .wc-tabs-wrapper,
body.zane-content-moved .wd-tabs,
body.zane-content-moved .product-tabs-wrapper{
    display:none!important;
}

/* HIDE THEME'S OLD TOP EXTRA ACCORDIONS */
body.zane-content-moved .summary.entry-summary > .wd-accordion,
body.zane-content-moved .summary.entry-summary > .wd-accordion-wrapper{
    display:none!important;
}

/* CLEAN CUSTOM GALLERY */
.zane-gallery-viewer{width:100%;background:#fff}
.zane-gallery-main{
    display:flex!important;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:560px;
    background:#fff;
    overflow:hidden;
}
.zane-gallery-main img{
    width:100%!important;
    height:560px!important;
    object-fit:contain!important;
    object-position:center!important;
}
.zane-gallery-thumbs{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:9px;
    margin-top:12px;
}
.zane-gallery-thumb{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:4px;
    border:1px solid #e2e2e2;
    border-radius:8px;
    background:#fff;
    cursor:pointer;
}
.zane-gallery-thumb.is-active{border-color:#a71919}
.zane-gallery-thumb img{
    width:100%!important;
    aspect-ratio:1/1;
    object-fit:contain!important;
}
body.zane-gallery-built .woocommerce-product-gallery__wrapper{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}

/* FOOTER */
footer,.footer-container,.wd-footer{
    background:#202020!important;
    color:#ededed!important;
}
footer a,.footer-container a,.wd-footer a{color:#ededed!important}
footer a:hover,.footer-container a:hover,.wd-footer a:hover{color:#c22a2a!important}
footer .widget-title,.footer-container .widget-title,.wd-footer .widget-title{color:#fff!important}
.copyrights-wrapper,.wd-copyrights{
    background:#171717!important;
    color:#cfcfcf!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
}

@media(max-width:767px){
    .zane-specs-inline{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    .zane-detail-row{grid-template-columns:1fr;gap:2px}
    .zane-gallery-main{min-height:360px}
    .zane-gallery-main img{height:360px!important}
    .zane-gallery-thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}
}
