/*
Theme Name:   CS Events
Theme URI:    https://partytent.webdevia.com
Description:  Event Rentals WooCommerce Theme
Author:       Antoine Guerra
Author URI:   http://antoineguerra.com
Template:     partytent
Version:      1.4.1
License:      Envato
License URI:  https://themeforest.net/licenses
Tags:         two-columns, custom-background, threaded-comments, translation-ready, custom-menu
Text Domain:  partytent
*/

.hidden {
    display: none;
}

/* Top Bar Search */

.site-title-bar, .top-bar-right {
    position: relative;
}

.header-cta {
    margin-right: 30px;
}

.top-bar-search-icon {
    margin-left: 10px;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);

    .fa-times {
        display: none;
    }
}

.top-bar-search {
    position: relative;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.top-bar-search--inner {
    padding: 10px;
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .desktop-only {
        display: block;
    }
}

#top-bar-search-checkbox {
    display: none;
}

/* #top-bar-search-checkbox:checked ~ .header-layout .top-bar-search-icon.desktop-only {
    top: 42.2px;
} */

#top-bar-search-checkbox:checked ~ .header-layout .top-bar-search-icon .fa-times {
    display: block;
}

#top-bar-search-checkbox:checked ~ .header-layout .top-bar-search-icon .fa-search {
    display: none;
}

#top-bar-search-checkbox:checked ~ .header-layout .top-bar-search {
    max-height: calc(100vh - 40px);
    overflow-y: scroll;
}

.top-bar-search .search-close {
    position: absolute;
    top: 0;
    right: 0;
}

.bq-product-search-input {
    font-size: 16px;
}

.search-results {
    max-height: 0;
}

.search-results.opened {
    max-height: 1000px;
}

/* End Top Bar Search */
/* Top Logo Mobile */
.site-mobile-title img {
    width: auto;
}
/* End Top Logo Mobile */

/* Product Categories Block Styles */
.product-categories-block {
    margin: 40px 0;
    padding: 0 20px;
}

.product-categories-block .section-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.product-categories-block .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-categories-block .categories-grid {
    display: grid;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid columns responsive */
.product-categories-block .categories-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.product-categories-block .categories-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.product-categories-block .categories-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.product-categories-block .categories-grid.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.product-categories-block .category-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-categories-block .category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-categories-block .category-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-categories-block .category-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-categories-block .category-image {
    width: 100%;
    height: 80%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-categories-block .category-item:hover .category-image {
    transform: scale(1.05);
}

.product-categories-block .category-banner {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 20%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    margin-top: auto;
}

.product-categories-block .category-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.product-categories-block .no-categories-message {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.product-categories-block .no-categories-message p {
    margin: 0;
    color: #6c757d;
    font-style: italic;
}

/* Animation classes */
.animate-on-scroll .category-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.in-view .category-item {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-categories-block .categories-grid.columns-6 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .product-categories-block .categories-grid.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-categories-block {
        padding: 0 15px;
        margin: 30px 0;
    }
    
    .product-categories-block .section-title {
        font-size: 2rem;
    }
    
    .product-categories-block .categories-grid.columns-6,
    .product-categories-block .categories-grid.columns-4,
    .product-categories-block .categories-grid.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-categories-block .categories-grid {
        gap: 15px;
    }
    
    .product-categories-block .category-banner {
        padding: 0 15px;
    }
    
    .product-categories-block .category-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .product-categories-block .categories-grid.columns-6,
    .product-categories-block .categories-grid.columns-4,
    .product-categories-block .categories-grid.columns-3,
    .product-categories-block .categories-grid.columns-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-categories-block .section-title {
        font-size: 1.8rem;
    }
    
    .product-categories-block .category-banner {
        height: 35%;
    }
}

/* End Product Categories Block Styles */

/* Interactive Categories Filter Styles */
.interactive-categories-filter {
    margin: 40px 0;
    padding: 0 20px;
}

.interactive-categories-filter .section-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.interactive-categories-filter .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.interactive-categories-grid {
    display: grid;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid columns responsive */
.interactive-categories-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.interactive-categories-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.interactive-categories-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.interactive-categories-grid.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.interactive-category-filter {
    position: relative;
    display: block;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interactive-category-filter:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.interactive-category-item {
    position: relative;
    overflow: hidden;
}

.category-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
}

.interactive-category-filter .category-image {
    width: 100%;
    height: 70%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.interactive-category-filter:hover .category-image {
    transform: scale(1.05);
}

.interactive-category-filter .category-banner {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 30%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    margin-top: auto;
}

.interactive-category-filter .category-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.interactive-category-filter .category-description {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
    line-height: 1.3;
}

/* Overlay for inactive categories */
.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Active state - no overlay */
.interactive-category-filter.active .category-overlay {
    opacity: 0 !important;
}

/* Inactive state - overlay visible */
/* .interactive-category-filter.inactive .category-overlay {
    opacity: 1;
} */

/* No categories message */
.interactive-categories-filter .no-categories-message {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.interactive-categories-filter .no-categories-message p {
    margin: 0;
    color: #6c757d;
    font-style: italic;
}

/* Animation classes for interactive categories */
.interactive-categories-filter.animate-on-scroll .interactive-category-filter {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.interactive-categories-filter.animate-on-scroll.in-view .interactive-category-filter {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design for Interactive Categories */
@media (max-width: 1024px) {
    .interactive-categories-grid.columns-6 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .interactive-categories-grid.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .interactive-categories-filter {
        padding: 0 15px;
        margin: 30px 0;
    }
    
    .interactive-categories-filter .section-title {
        font-size: 1.25rem;
    }
    
    .interactive-categories-grid.columns-6,
    .interactive-categories-grid.columns-4,
    .interactive-categories-grid.columns-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .interactive-categories-grid {
        gap: 15px;
    }
    
    .interactive-category-filter .category-banner {
        padding: 0 15px;
    }
    
    .interactive-category-filter .category-title {
        font-size: 1rem;
    }
    
    .interactive-category-filter .category-description {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    /* .interactive-categories-grid.columns-6,
    .interactive-categories-grid.columns-4,
    .interactive-categories-grid.columns-3,
    .interactive-categories-grid.columns-2 {
        grid-template-columns: 1fr;
    } */
    
    .interactive-categories-filter .section-title {
        font-size: 1rem;
    }
    
    .interactive-category-filter .category-banner {
        height: 35%;
    }

    .interactive-category-filter .category-banner {
        padding: 0 10px;
    }
    
    .interactive-category-filter .category-title {
        font-size: 0.75rem;
    }
}

/* End Interactive Categories Filter Styles */

/* Booqable Bar shop page */

.cs-events-booqable-bar {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 0 15px;
}
.cs-events-booqable-bar > * {
    width: 48%;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.cs-events-booqable-bar .booqable-sort > *, 
.cs-events-booqable-bar .booqable-sort > * > .booqable-component,
.cs-events-booqable-bar .booqable-sort > div > .booqable-component > .bq-sorting-select {
    height: 100%;
}

.cs-events-booqable-bar .booqable-sort select.bq-sort {
    height: 100% !important;
}

@media (max-width: 768px) {
    .cs-events-booqable-bar {
        flex-direction: column;
    }
    .cs-events-booqable-bar > * {
        width: 100%;
        margin-bottom: 15px;
    }
}

.cs-events-booqable-bar .booqable-component .bq-sorting-select.select-container:after {
    top: 50%;
    transform: translateY(-50%);
}

/* End Booqable Bar shop page */

/* * Booqable Product List shop page
.booqable-component .booqable-product-list-wrapper .booqable-product {
    width: 25% !important;
} */

/* Site General Styles */
.h1, .h1, h2, .h2, h3, .h3, h4, .single-product.woocommerce .product_title, .woocommerce div.product .woocommerce-tabs .panel h2, .related.products > h2, .up-sells > h2, .cross-sells > h2, body.dokan-dashboard .dokan-dashboard-content article.dashboard-content-area .dashboard-widget .widget-title, .dokan-store-widget .widget-title, .h4, h5, .h5, h6, .woocommerce-review__author, .h6 {
    font-family: "Cormorant Garamond", "sans-serif" !important;
}