@charset "UTF-8";
/**
 * Loading first in the style.scss & classic-editor.scss
 */
/**
 * General - https://wordpress.org/documentation/article/css/
 */

body:not([class*=elementor-page-]) .entry-header {
    padding: 10px 0px;
    border-radius: 5px;
    margin-bottom: 20px;
    background: #f4f4f4;
}

body:not([class*=elementor-page-]) .entry-title {
    text-align: center;
}

body:not([class*=elementor-page-]) .site-main {
    margin-inline-start: auto;
    margin-inline-end: auto;
    width: 100%;
}



.site-header+.elementor {
    min-height: calc(100vh - 320px);
}

.sticky-header {
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.fixed-header {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 999 !important;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.has-fixed-header {
    padding-top: 110px;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-heading-color);
}

a {
    color: var(--link-color);
}

a:hover,
a:active,
a:focus {
    color: var(--primary-hover-color);
}

form.search-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0px;
}

form.search-form label {
    margin: 0;
}

form.search-form input.search-field {
    height: 100%;

}



/*Blog Posts*/
.post-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.post-loop-wraper {
    border: 1px solid #f2ecec;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    margin: 0;
}

.post-loop-content {
    padding: 5px 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: start;
}

h2.entry-title a {
    font-size: 20px;
    color: var(--primary-heading-color);
}

h2.entry-title a:hover {
    color: var(--primary-hover-color);
}

.post-thumbnail-wraper-cs {
    position: relative;
}

.post-views {
    position: absolute;
    bottom: 15px;
    left: 10px;
    color: #ffffff;
    font-size: 12px;
    background: rgb(255 0 0 / 47%);
    padding: 0px 5px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap:2px;
}

.post-category {
    font-size: 12px;
    background: var(--primary-color);
    padding: 1px 10px;
    color: var(--button-text-color);
    border-radius: 5px;
    margin-bottom: 10px;
    position: absolute;
    bottom: 5px;
    right: 10px;
}


.view-more-button {
    width: 100%;
    margin-bottom: 5px;
    margin-top: auto;
}

.view-more-button .view-more {
    padding: 2px 15px;
    display: block;
    font-size: 14px;
    background: var(--button-color);
}

.view-more-button .view-more:hover {
    background: var(--button-hover-color);
    color: var(--button-text-color);
}

.post-excerpt {
    font-size: 14px;
    margin-bottom: 10px;
}



.post-entry-meta {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 500;
    color: gray;
    padding: 0px 3px;
}

.post-entry-meta a {
    color: gray;
    text-decoration: none;
}


.post-thumbnail img {
    height: auto;
    width: 100%;
    aspect-ratio: 4 / 4;
    object-fit: cover;
}

nav.navigation.pagination .page-numbers {
    padding: 2px 10px;
    background: #f4f4f4;
    border-radius: 3px;
}

nav.navigation.pagination {
    text-align: center;
    margin: 20px 0px;
}


/*Single Post Design*/

header.entry-header.post-header {
    position: relative;
    width: 100vw;
    /* Full width of the viewport */
    margin-left: calc(-50vw + 50%);
    /* Break out of the container */
    aspect-ratio: 16 / 5;
    background: center center;
    background-repeat: no-repeat;
    background-size: cover;


    display: flex;
    /* Enable flexbox */
    flex-direction: column;
    /* Arrange items in a column */
    align-items: center;
    /* Center items horizontally */
    justify-content: center;
    /* Center items vertically */
    text-align: center;
    /* Center text alignment */

}


header.entry-header.post-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Black overlay with 50% opacity */
    z-index: 1;
    /* Ensure the overlay is above the background */
}


header.entry-header.post-header h1.entry-title {
    position: relative;
    /* Position above the overlay */
    color: #fff;
    /* White text for contrast */
    font-size: 2rem;
    /* Adjust font size */
    margin: 0;
    /* Remove default margin */
    z-index: 2;
    /* Ensure the title is above the overlay */
}

.single.single-post .nav-links {
    display: flex;
    justify-content: space-between;
    margin: 15px 0px;
}

.single-post-meta {
    display: flex;
    gap: 10px;
}

.single-post-meta span {
    background: #f4f4f4;
    padding: 5px 15px;
    font-size: 12px;
    border-radius: 5px;
}

.single-post-thumbnail,
.single-post-meta {
    margin-bottom: 20px;
}

.single-post-thumbnail img {
    aspect-ratio: 5 / 2;
    width: 100%;
    object-fit: cover;
}


.related-posts {
    margin: 20px 0px;
}

.related-posts-title {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    padding-top: 20px;
}


/*Comment Area*/
ol.comment-list {
    list-style: none;
    padding: 0;
}

li.comment {
    margin: 20px 0px;
    padding: 10px;
    background: #f7f7f7;
    border-radius: 5px;
}

.comment-author.vcard {
    display: flex;
    gap: 5px;
    justify-items: center;
}




/*Wp Bottom Menu*/

.wp-bottom-menu .wp-bottom-menu-item-icons.fa-home {
    color: #ffffff;
    font-size: 35px;
    position: absolute;
    top: -13px;
    left: -23px;
    background: var(--primary-color);
    padding: 6px 8px;
    border-radius: 50%;
}


/* Search Bar */
.ajax-search-widget-click-shop {
    position: relative;
}

.ajax-search-widget-click-shop .search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    overflow: hidden;
    padding: 0px;
}

.ajax-search-widget-click-shop .search-input {
    flex: 1;
    font-size: 16px;
    border: none;
    outline: 0;
    width: 100%;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    transition: .3s;
    background: transparent;
}

.ajax-search-widget-click-shop .search-button {
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0px;
    padding: 10px 15px;
}


.ajax-search-widget-click-shop .search-button .search-icon {
    font-size: 20px;
}

/* Loader Circle */
.ajax-search-widget-click-shop .search-loader {
    position: absolute;
    right: 70px;
    /* Adjust based on button width */
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    /* Loader color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
    /* Initially hidden */
}

/* Search Modal Styles */
.ajax-search-widget-click-shop .search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: start;
    padding-top: 200px; /* Adjust for header height */
    justify-content: center;
}

.ajax-search-widget-click-shop .search-modal-content {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.ajax-search-widget-click-shop .modal-trigger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ajax-search-widget-click-shop .modal-trigger:hover {
    background: none;
}

.ajax-search-widget-click-shop .modal-trigger i {
    font-size: 24px;
    color: var(--primary-color);
}

.ajax-search-widget-click-shop .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    font-size: 20px;
    color: #e9e9e9;
    transition: all 0.3s ease;
}

.ajax-search-widget-click-shop .modal-close:hover {
    color: #caffd8;
    transform: rotate(90deg);
}


/* Loader Animation */
@keyframes spin {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.cs-quick-order-loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #71717138;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: 1s linear infinite gurunti;
    padding: 0px;
    margin-right: 5px;
}

/* Loader Animation */
@keyframes gurunti {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ajax-search-widget-click-shop .search-results {
    list-style: none;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    max-height: 300px;
    overflow-y: auto;
    position: absolute;
    background: #fff;
    width: 100%;
    z-index: 1000;
    display: none;
    /* Hidden by default */
}

.ajax-search-widget-click-shop .search-results li {
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ececec;
}

.ajax-search-widget-click-shop .search-results li:last-child {
    border-bottom: none;
}

.ajax-search-widget-click-shop .search-results li img {
    max-width: 50px;
    max-height: 50px;
    margin-right: 10px;
    border-radius: 5px;
}

.ajax-search-widget-click-shop .search-results li a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.ajax-search-widget-click-shop .search-results li span {
    font-size: 14px;
}



/* Elementor Widgets Style */
.cart-icon-click-shop svg {
    width: 35px;
    height: 35px;
}

.slide_menu {
    position: fixed;
    top: 0;
    left: -300px;
}

/* Hide submenus by default */
.slide_menu .sub-menu {
    display: none;
}


.content-sidebar-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.woocommerce .content-sidebar-wrapper {
    grid-template-columns: 300px 1fr;
}

.sidebar {
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid var(--button-border-color);
    margin-bottom: 20px;
}


/* //Widgets Click shop post */
.clickshop-post-list-widget {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.clickshop-post-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.clickshop-post-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.clickshop-post-details {
    flex: 1;
}

.sidebar .widget-title,
.sidebar .wp-block-heading {
    margin-top: 25px;
    margin-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 5px;
}

.woocommerce ul.product_list_widget li a {
    color: var(--primary-heading-color);
}

.clickshop-post-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--clickshop-primary, #222);
    text-decoration: none;
    margin-bottom: 4px;
    display: block;
    line-height: 1.3;
}

.clickshop-post-meta {
    font-size: 12px;
    color: #777;
}

.wp-block-categories, .wc-block-product-categories-list {
    box-sizing: border-box;
    list-style: none;
    padding: 0px;
    font-weight: bold;
}

li.cat-item a, .wc-block-product-categories-list-item a{
    color: var(--primary-text-color);
    text-decoration: none;
}

li.cat-item a:hover, .wc-block-product-categories-list-item a:hover {
    color: var(--primary-hover-color);
}

li.cat-item a:before, .wc-block-product-categories-list-item a:before {
    content: "\f192";
    font-family: FontAwesome;
    margin-right: 5px;
}




@media (max-width: 575px) {

    body:not([class*=elementor-page-]) .site-main,
    .page .entry-title {
        padding-inline-start: 10px;
        padding-inline-end: 10px;
    }

    .content-sidebar-wrapper {
        grid-template-columns: 1fr;
    }
    .woocommerce .content-sidebar-wrapper {
        grid-template-columns: 1fr;
    }

    body:not([class*=elementor-page-]) .site-main {
        margin-top: 20px;
    }

    .ajax-search-widget-click-shop .search-modal-content {
        width: 95%;
    }

    .ajax-search-widget-click-shop .search-modal {
        padding-top: 120px;
    }
}

@media (min-width: 576px) {

    body:not([class*=elementor-page-]) .site-main {
        max-width: 500px;
        margin-top: 20px;
    }

    .content-sidebar-wrapper {
        grid-template-columns: 1fr;
    }
    .woocommerce .content-sidebar-wrapper {
        grid-template-columns: 1fr;
    }

}

@media (min-width: 768px) {

    body:not([class*=elementor-page-]) .site-main {
        max-width: 750px;
        margin-top: 20px;
    }

    body:not([class*=elementor-page-]) .entry-header {
        padding: 5px 0px;
        margin-bottom: 10px;
    }

    .content-sidebar-wrapper {
        grid-template-columns: 1fr;
    }

    .post-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .related-posts .post-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {

    body:not([class*=elementor-page-]) .site-main {
        max-width: 950px;
    }

}

@media (min-width: 1200px) {

    body:not([class*=elementor-page-]) .entry-header {
        margin-bottom: 20px;
    }

    body:not([class*=elementor-page-]) .site-main {
        max-width: var(--site-container-width, 1140px);
        margin-top: 20px;
    }

    .post-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .related-posts .post-grid-container{
        grid-template-columns: repeat(4, 1fr);
    }

    .content-sidebar-wrapper {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 20px;
    }

    .woocommerce .content-sidebar-wrapper {
        grid-template-columns: 300px 1fr;
    }

}