/*
 Theme Name: Blocksy Child - Banis Bakeries
 Theme URI: https://banisbakeries.ae
 Description: Child theme for Blocksy
 Author: Naseer Ahmed Arshad
 Template: blocksy
 Version: 1.0
*/

/* Import parent theme styles */
@import url("../blocksy/style.css");

:root {
    --color-primarycolor: #fa1e28;
    --color-secondarycolor: #fbc81f;
    --color-tertiarycolor: #e21722;
}


body {
    font-family: "Manrope", sans-serif !important;
}
h1,h2,h3,h4,h5,h6 {
    font-family: "Aleo", serif !important;
    font-optical-sizing: auto;
}

a.bg-primarycolor,
a.bg-primarycolor:hover {
    color: #fff;
}
img.h-full {
    height: 100%;
}

/* mainnavigation */
/* body:not(.home) img {height: auto !important;} */
body:not(.home) .hidden {
    display: none;
}
@media (min-width: 1024px) {
    body.home .hidden.lg\:block,
    #mainnavigation .hidden.lg\:block {
        display: block;
    }
    body.home .hidden.lg\:flex,
    #mainnavigation .hidden.lg\:flex {
        display: flex;
    }
}
.mainnavigation > nav > ul {
    gap: 1rem;
}
.mainnavigation > nav > ul > li {
    padding: 0;
}
.mainnavigation > nav > ul li a {
    color: #000;
    font-weight: bold;
}
.mainnavigation > nav > ul li a:hover {
    color: var(--color-primarycolor);
}

/* desktoprightsideheader */
.desktoprightsideheader {
    gap: 25px;
}
.desktoprightsideheader > a.p-2.text-gray-600 {
    margin-inline-end: 0;
    color: var(--color-gray-600);
}
@media (min-width: 1024px) {
    /* dropdown */
    #mainnavigation nav > ul > li {
        position: relative;
    }
    #mainnavigation nav > ul > li.menu-item-has-children > a {
        padding-right: 1rem;
        position: relative;
    }
    #mainnavigation nav > ul > li.menu-item-has-children > a:after {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        right: 0.5rem;
        width: 0.5rem;
        height: 0.5rem;
        border-right: solid 1px var(--color-primarycolor);
        border-bottom: solid 1px var(--color-primarycolor);
        transform: rotate(45deg) translateY(-100%);
    }
    #mainnavigation nav > ul > li > ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        width: 200px;
        background: #fff;
        margin: 0;
        padding: 0;
        border-radius: 5px;
        visibility: hidden;
        opacity: 0;
        transition: all 400ms;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    #mainnavigation nav > ul > li:hover > ul {
        visibility: visible;
        opacity: 1;
    }
    #mainnavigation nav > ul > li > ul > li {
        display: flex;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    #mainnavigation nav > ul > li > ul > li > a {
        display: flex;
        width: 100%;
        font-size: 0.9rem;
        font-weight: normal;
        padding: 0.3rem 1rem;
    }
}
@media (max-width: 1023px) {
    .rightlogo {
        display: none !important;
    }
    .desktoprightsideheader {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    #mobileMenu nav {
        display: flex;
    }
    #mobileMenu nav > ul {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
        gap: 10px;
    }
    #mobileMenu nav > ul li {
        display: flex;
        padding: 0;
    }
    #mobileMenu nav > ul li a {
        color: #000;
        font-weight: bold;
    }
    #mobileMenu nav > ul li a:hover {
        color: var(--color-primarycolor);
    }
}

/* search overlay */
#searchOverlay form svg {
    top: 10px;
}
#searchOverlay form input {
    padding-left: 40px;
}
#searchOverlay form button {
    display: none;
}

/* cartDrawer */
#cartDrawer h3.text-2xl.text-gray-900 {
    font-size: 1.3rem;
    margin-bottom: 0;
}
#cartDrawer #cartItemsContainer .flex.items-center.space-x-4.mb-6 h4 {
    font-size: 1rem;
    margin-bottom: 0;
}
#cartDrawer #cartItemsContainer .mt-1 {
    margin-top: 0;
}
#cartDrawer #continueShopping {
    margin-top: 1rem;
}

/* hero-section */
body.woocommerce .hero-section[data-type=type-2] {
    display: flex;
    background: #eee;
    padding-top: 50px;
}
.ct-container-full[data-vertical-spacing*=top] {
    padding-top: 100px;
}
@media (min-width: 1024px) {
    .ct-container-full[data-vertical-spacing*=top] {
        padding-top: 200px;
    }
}

/* product-card */
.product-card a.aspect-square {
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card a.aspect-square img {
    width: 240px;
    height: 240px;
}
.product-card p.text-sm.text-gray-600.font-medium {
    margin-bottom: 0.3rem;
}
.product-card h3.text-xl,
ul.products > li.product-card h3.text-xl.text-gray-900,
ul.products > li.product-card h3.text-xl.text-gray-900 a {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 0.6rem;
    text-align: center;
    color: #000;
}
.product-card .buy-now-btn {
    padding: 0.6rem 1.5rem;
    border: solid 1px var(--color-primarycolor);
}
.productsSwiper .swiper-wrapper .product-card {
    border: none;
}
.productsSwiper .swiper-wrapper .swiper-slide {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    height: auto;
    background: #fff;
}
.hotdealsproducts .grid.gap-6 {
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
/* products columns */
ul.products {
    gap: 1rem;
}
ul.products > li.product-card {
    padding: 1.5rem;
    text-align: center;
}

/* shopby-category-section */
.shopby-category-section h3.text-xl.text-white {
    color: #fff;
    font-size: 1.2rem;
    font-weight: normal;
}
.shopby-category-section .categorySwiper .swiper-slide .aspect-square,
.shopby-category-section .categorySwiper .swiper-slide img.h-full {
    aspect-ratio: auto;
    width: 100%;
    height: 220px;
}
.shopby-category-section .categorySwiper .swiper-slide img.h-full {
    width: 100%;
}

/* keyfactssection */
.keyfactssection h3.text-2xl.mb-2 {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

/* testimonial-swiper */
.testimonial-swiper .swiper-slide blockquote {
    margin: 0 auto;
    border: none;
    font-style: italic;
}
.testimonial-swiper .swiper-slide h3.text-2xl.text-gray-900 {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 0rem;
}
.testimonial-swiper .swiper-slide p.font-medium {
    margin-top: 0;
    margin-bottom: 0;
}

/* footer-sectionfull */
.footer-sectionfull {
    color: #fff;
    padding-bottom: 2rem;
}
.footer-sectionfull h1,
.footer-sectionfull h2,
.footer-sectionfull h3,
.footer-sectionfull h4,
.footer-sectionfull h5,
.footer-sectionfull h6 {
    color: #fff;
}
.footer-sectionfull h2.text-3xl {
    margin-bottom: 0;
}
.footer-sectionfull ul {
    margin: 0;
    padding: 0;
}
.footer-sectionfull ul li a,
.footer-sectionfull a.text-gray-300 {
    color: #ccc;
}
.footer-sectionfull ul li a:hover,
.footer-sectionfull a.text-gray-300:hover {
    color: #fff;
}
.footer-sectionfull div.space-y-2.text-gray-300 p {
    margin-bottom: 0.2rem;
}