/**
    Theme Name: SJDSF Child
    Template: hello-elementor
    Author: Flexaro Pvt Ltd.
    Description: A child theme for Hello Elementor
	Version: 1.0.3
    Text Domain: sjdsf-child
 */

/*@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');
*/
:root {
    --color-primary: #066A86;
    --color-secondary: #0097CE;
    --color-text: #001720;
    --color-accent: #000000;
    --color-blue-gradient1: #50A8D3;
    --color-blue-gradient2: #71C2E9;
    --color-text-light: #EEF2F3;
    --color-text-light-hover: #e5e7e7;
}
.woocommerce-form-login__submit,
.sjdsf-button-primary,
.wpfFilterButton,
.single_add_to_cart_button,
a.sjdsf_product_loop_add_to_cart_btn{
    background-color: var(--color-primary) !important;
    fill: var(--color-text-light) !important;
    color: var(--color-text-light) !important;
    border-radius: 6px 6px 6px 6px !important;
    font-family: var(--typography-accent-font-family), Sans-serif !important;
    font-weight: var(--typography-accent-font-weight) !important;
    box-shadow: none !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    display: block !important;
    text-align: center;
    margin-top: auto !important;
    transition: all .3s;
}
.woocommerce-form-login__submit:hover,
.sjdsf-button-primary:hover,
.wpfFilterButton:hover,
.single_add_to_cart_button:hover,
a.sjdsf_product_loop_add_to_cart_btn:hover {
    background-color: var(--color-secondary) !important;
    color: var(--color-text-light) !important;
}

.sjdsf-button-white{
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-text-light) !important;
    fill: var(--color-primary) !important;
    color: var(--color-primary) !important;
    border-radius: 6px 6px 6px 6px !important;
    font-family: var(--typography-accent-font-family), Sans-serif !important;
    font-weight: var(--typography-accent-font-weight) !important;
    box-shadow: none !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    display: inline-block !important;
    text-align: center;
    transition: all .3s;
    font-weight: 500 !important;
}
.sjdsf-button-white:hover{
    background-color: var(--color-text-light-hover) !important;
    fill: var(--color-text-light) !important;
}

.sjdsf_products_loop li.product{
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    justify-content: start !important;
    align-items: center !important;
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}

.sjdsf_products_loop .price,
.sjdsf_products_loop  bdi {
    font-size: 1.25rem !important;
    font-weight: semi-bold !important;
    margin-top: .5rem !important;
    margin-bottom: 1rem !important;
    color: var(--color-text) !important;
}

.sjdsf_products_loop .woocommerce-loop-product__title{
    color: var(--color-text) !important;
}

.sjdsf_products_loop.columns-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 40px 20px;
}
.sjdsf_products_loop.columns-4::before{
    display: none !important;
}

@media (max-width: 1024px) {
    .sjdsf_products_loop.columns-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .sjdsf_products_loop.columns-4 {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}


.news-and-events-widget{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}

.news-and-events-widget .event-item:first-child{
    grid-column: span 2;
    grid-row: span 2;
}
.event-item iframe {
    max-height: 300px;
}
.news-and-events-widget .thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.news-and-events-widget h4{
    line-clamp: 2;
    -webkit-line-clamp: 2;
    /* autoprefixer: ignore next */
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    word-break: break-word;
}
.news-and-events-widget .event-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 1024px) {
    .news-and-events-widget{
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .news-and-events-widget{
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }
    .news-and-events-widget .event-item:first-child{
        grid-column: span 1;
        grid-row: span 1;
    }

}


.sjdsf_wc_page_wrapper{
    padding: 3.125rem 10px;
}

.sjdsf_wc_page_wrapper form.cart{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.single_add_to_cart_button{
    margin: 0 !important;
}

.woocommerce-Price-amount{
    font-weight: bold !important;
    color: var(--color-primary) !important;
}


/** Search Feature **/
.sjdsf-search-form-wrapper{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    opacity: 0;
    transition: 1s all;
}
.sjdsf-search-form-wrapper.active{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    padding: 6.25rem 10px 10px 10px;
}

.sjdsf-search-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 95vw;
}
.sjdsf-search-form-content {
    display: flex;
    gap: 10px;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
}
.sjdsf-search-form input[type="text"]{
    padding: 10px;
    font-size: 1rem;
    border: none;
    outline: none;
    border-radius: 4px;
    width: 450px;
    max-width: 90vw;
}
.sjdsf-search-form button{
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 0;
    cursor: pointer;
    transition: all .3s;
}
.sjdsf-search-form button:hover{
    background-color: var(--color-secondary);
    color: var(--color-text-light);
}

.sjdsf-search-suggestions{
    background-color: #fff;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 6px;
    display: none;
}
.sjdsf-suggestions-list{
    list-style: none;
    margin: 0;
    padding: 0;
}
.sjdsf-suggestions-list a{
    display: block;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all .3s;
}
.sjdsf-suggestions-list a:hover, 
.sjdsf-suggestions-list a.selected{
    background-color: var(--color-primary);
    color: var(--color-text-light) !important;
}



/** WooCommerce **/
.woocommerce-MyAccount-navigation ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
@media screen and (max-width: 768px) {
    .woocommerce-MyAccount-navigation ul{
        margin-bottom: 2rem;

    }
   
}

.woocommerce-MyAccount-navigation-link a{
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    color: var(--color-text) !important;
    font-weight: 500;
    transition: all .3s;
}
.woocommerce-MyAccount-navigation-link.is-active a{
    background-color: var(--color-primary);
    color: var(--color-text-light) !important;
}

.sjdsf-no-orders-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}
.sjdsf-no-orders-message img {
    width: 300px;
    margin-bottom: 1rem;
    opacity: 0.5;
}
.sjdsf-no-orders-message p{
    color: #c2c2c9;
}
.wp-block-button__link,
.woocommerce-Button{
    background-color: var(--color-primary) !important;
    fill: var(--color-text-light) !important;
    color: var(--color-text-light) !important;
    border-radius: 4px !important;
    font-family: var(--typography-accent-font-family), Sans-serif !important;
    font-weight: var(--typography-accent-font-weight) !important;
    box-shadow: none !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    display: inline-block !important;
    text-align: center;
    margin-top: 1rem !important;
    transition: all .3s;
}

.wp-block-button__link:hover,
.woocommerce-Button:hover{
    background-color: var(--color-secondary) !important;
    color: var(--color-text-light) !important;
}

.sjdsf-shop-layout {
    display: flex;
    gap: 20px;
}
.sjdsf-shop-sidebar{
    width: 250px;
    flex-shrink: 0;
}

.sjdsf-shop-content {
    flex-grow: 1;
}

@media screen and (max-width: 1024px) {
    .sjdsf-shop-layout {
        flex-direction: column;
    }
    .sjdsf-shop-sidebar{
        width: 100%;
    }
    .sjdsf-shop-sidebar .wpfFilterButton {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.sjdsf-annual-review-arch-header{
    width: 100%;
    min-height: 400px;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sjdsf-annual-review-arch-inner {
    width: 100%;
    max-width: var(--wp--style--global--wide-size);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 20px;
    padding: 3.1255rem 10px;
}
.sjdsf-annual-review-arch-inner > div {
    width: 50%;
}

.sjdsf-annual-review-arch-inner .wp-post-image{
    width: 100%;
    height: 300px;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.sjdsf-annual-review-arch-title {
    position: relative;
    margin-bottom: 1.875rem;
}
.sjdsf-annual-review-arch-title::after{
    content: '';
    width: 50%;
    max-width: 100px;
    height: 3px;
    background-color: #fff;
    position: absolute;
    left: 0;
    bottom: -8px;
    border-radius: 3px;
}
.sjdsf-annual-review-arch-description{
    font-size: 1.25rem;
}
.sjdsf-annual-review-arch-reports{
    padding: 3.125rem 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sjdsf-annual-review-arch-reports h2,
.sjdsf-annual-review-arch-reports h6 {
    color: var(--color-primary);
}
.sjdsf-annual-review-arch-grid-inner {
    max-width: var(--wp--style--global--wide-size);
    margin-left: auto;
    margin-right: auto;
}
.sjdsf-annual-review-arch-loop{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    padding: 1.875rem 10px;
}

.sjdsf-annual-review-arch-item{
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 20px;
    height: 100%;
}
.sjdsf-annual-review-arch-item img{
    width: 100%;
    height: 200px;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

@media screen and (max-width: 1024px) {
    .sjdsf-shop-layout {
        flex-direction: column;
    }
    .sjdsf-annual-review-arch-loop {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (max-width: 768px) {

    .sjdsf-annual-review-arch-inner{
        flex-direction: column;
        gap: 40px;
    }
    .sjdsf-annual-review-arch-inner > div {
        width: 100%;
    }
    .sjdsf-annual-review-arch-loop {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}



.sjdsf-product-category-grid{
    display: grid;
    /** columns from data-columns attribute **/
    grid-template-columns: repeat(auto-fill, 200px);
    gap: 40px;
    padding: 3.125rem 10px;
}

.sjdsf-product-category-grid .sjdsf-product-category-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    background-color: #71c1e93d;
    padding: 1.25rem;
    border-radius: 8px;
    transition: all .3s;
}
.sjdsf-product-category-grid .sjdsf-product-category-item:hover{
    background-color: #71c1e960;
}
.sjdsf-product-category-grid .sjdsf-product-category-item img {
    width: 100%;
    max-width: 100px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.sjdsf-product-category-title{
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    -webkit-line-clamp: 1;
}


@media screen and (max-width: 768px) {
    .sjdsf-product-category-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/** Woocommerce filter **/
.ui-slider-handle{
    border-radius: 50% !important;
}

/** Woocommerce Cart & Checkout **/
.woocommerce-cart .alignwide{
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.wc-block-components-button{
    background-color: var(--color-primary) !important;
    fill: var(--color-text-light) !important;
    color: var(--color-text-light) !important;
    border-radius: 6px 6px 6px 6px !important;
    font-family: var(--typography-accent-font-family), Sans-serif !important;
    font-weight: var(--typography-accent-font-weight) !important;
    box-shadow: none !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    text-align: center;
    margin-top: auto !important;
    transition: all .3s;
}
.wc-block-components-button:hover {
    background-color: var(--color-secondary) !important;
    color: var(--color-text-light) !important;
}


/** 404 Page **/
.not-found-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    gap: 0;
    min-height: 60vh;
}
.not-found-text{
    font-size: 5rem;
    font-weight: bold;
}


.sjdsf-post-archive-layout{
    --sidebar-width: 250px;
    width: 100%;
    display: flex;
    gap: 20px;
    margin-top: 3.125rem;
    margin-bottom: 3.125rem;
}

.sjdsf-post-archive-layout .sjdsf-post-archive-sidebar{
    width: var(--sidebar-width);
    flex-shrink: 0;
}

.sjdsf-post-archive-layout main {
    width: calc(100% - var(--sidebar-width));
}

.sjdsf-post-archive-layout .page-content{
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(3, 1fr);

}

.sjdsf-archive-post{
    display: flex;
    flex-direction: column;
    height: 100%;
}
.sjdsf-archive-post:first-child{
    grid-column: span 3;
    margin-bottom: 20px;
}
.sjdsf-archive-post img{
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}
.sjdsf-archive-post .sjdsf-entry-title{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}


.sjdsf-archive-page-header{
    min-height: 400px;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    padding: 3.125rem 10px; 
    position: relative;
    background-position: center;
    background-size: cover;
}
.sjdsf-archive-page-header .entry-title{
    position: relative;
}
.sjdsf-archive-page-header .entry-title::after{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    max-width: 150px;
    height: 3px;
    background-color: var(--color-text-light);
    border-radius: 3px;
}
.sjdsf-archive-page-header .content-wrapper {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
}
.sjdsf-bg-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    opacity: 0.6;
    z-index: 0;
}
.sjdsf-archive-page-header .subtitle-text {
    font-size: 1.25rem;
    color: var(--color-text-light);
}
.sjdsf-single{
    padding: 3.125rem 10px;
}
@media screen and (max-width: 1024px) {
    .sjdsf-post-archive-layout{
        flex-direction: column;
    }
    .sjdsf-post-archive-layout main {
        width: 100%;
    }
    .sjdsf-post-archive-layout .sjdsf-post-archive-sidebar{
        width: 100%;
    }
    .sjdsf-archive-post:first-child{
        grid-column: span 1;
    }
    .sjdsf-post-archive-layout .page-content{
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .sjdsf-archive-page-header .content-wrapper {
        max-width: 800px;
    }
}

@media screen and (max-width: 768px) {
    .sjdsf-post-archive-layout .page-content{
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    .sjdsf-archive-page-header{
        min-height: auto;
        padding: 3.125rem 10px 1.25rem 10px; 
    }
    .sjdsf-archive-page-header .content-wrapper {
        max-width: 600px;
    }
}