/*
Theme Name: Elementra Child Theme
Theme URI: https://elementra.themerex.net/
Description: Elementra is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: ThemeREX
Author URI: https://themerex.net/
Version: 1.0.9
Tested up to: 6.9
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: elementra
Template: elementra
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

/* motivespark Occasions Layout & Filters */
.occasions {
    display: block;
    border-top: 1px solid #dde4e6;
    padding: 40px 0;
}

.occasions__filters {
    position: relative;
}

.occasions__overview {
    position: relative;
}

.occasions__overview__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid #dde4e6;
    padding-bottom: 15px;
}

.occasions__overview__total {
    font-weight: 700;
    color: #333;
}

.occasions__overview__orderby {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.occasions__overview__occasions {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .occasions__overview__occasions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .occasions__overview__occasions {
        grid-template-columns: repeat(3, 1fr);
    }
}

.occasion {
    display: block;
    background: #fff;
    border: 1px solid #dde4e6;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.occasion:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.occasion__thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #f3f5f6;
}

.occasion__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.occasion:hover .occasion__thumbnail img {
    transform: scale(1.05);
}

.occasion__meta {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 66%);
}

.occasion__meta__title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.occasion__meta__title h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.occasion__description {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

.occasion ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    font-size: 0.8125rem;
    color: #666;
}

.occasion ul li {
    display: inline-flex;
    align-items: center;
}

.occasion ul li:not(:last-child):after {
    content: "•";
    position: relative;
    margin-left: 10px;
    color: #ccc;
}

.occasion__pricing {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f3f5f6;
}

.occasion__pricing .text-h8 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #009fe3;
}

.occasion__pricing .text-p4 {
    font-size: 0.75rem;
    color: #999;
    display: block;
}

.btn-arrow-right {
    width: 36px;
    height: 36px;
    background-color: #009fe3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.btn-arrow-right:after {
    content: "→";
    color: #fff;
    font-weight: bold;
}

.occasion:hover .btn-arrow-right {
    background-color: #007bb5;
}

/* Filter Sidebar Base Styles */
.filters-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filters-heading h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.filter {
    margin-bottom: 15px;
    border-bottom: 1px solid #dde4e6;
    padding-bottom: 15px;
}

.filter__description {
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.filter__description svg {
    transition: transform 0.3s ease;
}

.filter__description.collapsed svg {
    transform: rotate(-180deg);
}

.filter label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #333;
    margin-bottom: 8px;
    cursor: pointer;
}

.filter label span {
    color: #999;
    font-size: 0.75rem;
}

.filter select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dde4e6;
    border-radius: 5px;
    font-size: 0.875rem;
    color: #333;
    appearance: none;
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8"><path d="M11 2L6 7 1 2" stroke="%23333" fill="none"/></svg>') no-repeat right 12px center;
}

.filter .select-wrapper {
    margin-bottom: 10px;
}

.filters__show-more {
    background: none;
    border: none;
    color: #009fe3;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 5px;
}

.grid {
    display: grid;
    gap: 20px;
}

.grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.col-span-full {
    grid-column: 1 / -1;
}

@media (min-width: 1024px) {
    .lg\:col-span-4 {
        grid-column: span 4 / span 4;
    }

    .lg\:col-span-8 {
        grid-column: span 8 / span 8;
    }

    .lg\:gap-x-10 {
        column-gap: 40px;
    }

    .open-filters,
    .close-filters,
    .apply-filters {
        display: none !important;
    }

    .occasions__filters {
        display: block !important;
    }
}

@media (min-width: 1280px) {
    .xl\:col-span-3 {
        grid-column: span 3 / span 3;
    }

    .xl\:col-span-9 {
        grid-column: span 9 / span 9;
    }
}

.open-filters,
.apply-filters {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #009fe3;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

.close-filters {
    background: none;
    border: none;
    cursor: pointer;
}

.reset-filters {
    background: none;
    border: none;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.btn-full {
    width: 100%;
    margin-top: 20px;
}

/* Hidden utilities */
.hidden {
    display: none !important;
}

[x-cloak] {
    display: none !important;
}