/*
Theme Name: Blocksy Child
Template: blocksy
Version: 1.0
*/

/* Hide Blocksy default header/footer */
#header,
.site-header,
.ct-header,
.ct-header-trigger,
#footer.ct-footer,
.site-footer,
.ct-footer {
    display: none !important;
}

/* Fixed header spacing */
body {
    padding-top: 84px;
}

.page {
    padding-top: 0;
}

.site-main,
#main,
main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.woocommerce-page .site-main,
.woocommerce .site-main {
    padding-top: 40px;
}

/* Header */
#headerWrapper .flexBox {
    height: 84px !important;
    display: flex !important;
    align-items: center !important;
}

#headerWrapper .logo,
#headerWrapper .menuBox,
#headerWrapper .headerActionBox,
#headerWrapper .contactBtn,
#headerWrapper .cartBtn,
#headerWrapper .searchBtn {
    display: flex !important;
    align-items: center !important;
}

#headerWrapper .headerActionBox {
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    gap: 28px;
}

#headerWrapper .contactBtn {
    height: 44px !important;
    padding: 0 28px;
    border-radius: 8px;
    line-height: 44px !important;
}

/* Cart */
#headerWrapper .cartBtn {
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    background: transparent !important;
    color: #0F1C38 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1 !important;
}

#headerWrapper .cartBtn img {
    width: 20px;
    height: 20px;
    display: block !important;
}

#headerWrapper .cartTotal {
    color: #0F1C38;
    font-size: 16px;
    font-weight: 500;
}

#headerWrapper .cartCount {
    position: absolute;
    right: -8px;
    top: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 20px;
    background: #A083DE;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

#headerWrapper .cartBtn:hover {
    background: transparent !important;
}

/* Search */
#headerWrapper .searchBtn {
    width: 24px;
    height: 44px !important;
    margin-left: 4px;
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    color: #0F1C38;
    text-decoration: none;
    line-height: 1 !important;
}

#headerWrapper .icon-search {
    width: 18px;
    height: 18px;
    display: block !important;
    object-fit: contain;
}

/* Footer */
#footerWrapper {
    display: block !important;
    width: 100% !important;
    margin-top: 80px;
}

#footerWrapper .topBox .item h3,
#footerWrapper .topBox .item span {
    color: #ffffff !important;
}

/* Mobile */
@media screen and (max-width:1040px) {
    body {
        padding-top: 62px;
    }

    #headerWrapper .flexBox {
        height: 62px !important;
    }

    #headerWrapper .headerActionBox {
        display: none !important;
    }

    .woocommerce-page .site-main,
    .woocommerce .site-main {
        padding-top: 24px;
    }
}

@media screen and (max-width:670px) {
    #footerWrapper {
        margin-top: 40px;
    }
}