/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


.ux-cart-message .icon-checkmark,
.icon-check {
    display: none !important;
}


.spicemart-free-ship-wrap {
    margin-bottom: 15px;
}

.spicemart-free-ship {
    background: #f0fff4;
    border: 1px solid #2ecc71;
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: 500;
}

.spicemart-free-ship.success {
    background: #e6fff0;
    color: #0f5132;
}

.spicemart-progress {
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
}

.spicemart-progress span {
    display: block;
    height: 100%;
    background: #2ecc71;
    transition: width 0.4s ease;
}


/* checkout page  */
.spicemart-free-shipping-box {
    margin-bottom: 14px;
    font-size: 15px;
}

.spicemart-free-shipping-box p {
    margin-bottom: 6px;
    font-weight: 500;
}

.spicemart-progress-bar {
    width: 100%;
    height: 6px;
    background: #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.spicemart-progress-bar span {
    display: block;
    height: 100%;
    background: #1db21d;
    transition: width 0.3s ease;
}
/*  */


/*  */
/* Minimum order progress bar */
.wc-minimum-progress-wrap {
    background: #f9f9f9;
    border: 1px solid #e2e2e2;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.wc-minimum-progress-bar {
    width: 100%;
    height: 12px;
    background: #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 10px;
}

.wc-minimum-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00b300, #4caf50);
    transition: width 0.4s ease;
}

.wc-minimum-message {
    margin: 0;
    font-size: 15px;
}

.wc-minimum-message.success {
    color: #0a8f08;
    font-weight: 600;
}
/*  */



/*  */
/* Progress bar inside checkout order summary */
.woocommerce-checkout-review-order .wc-minimum-progress-wrap {
    background: #f7f7f7;
    border: 1px dashed #cfcfcf;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
}

.woocommerce-checkout-review-order .wc-minimum-message {
    font-size: 14px;
    margin-top: 8px;
}


.product-category.product-cat-gifts {
    display: none !important;
}
/*  */



/* Banner */
.events-banner {
    height: 570px;
    background: url('https://spicemartonline.com/wp-content/uploads/2026/02/3d-music-related-scene-scaled.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #000;
}

.events-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.events-banner h1 {
    position: relative;
    font-size: 42px;
    z-index: 2;
}

/* Container */
.events-container {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

/* Filter */
.events-filter {
    text-align: right;
    margin-bottom: 40px;
}

.events-filter select {
    padding: 8px 15px;
    border-radius: 6px;
}

/* Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* Card */
.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.event-card:hover {
    transform: translateY(-6px);
}

.event-image-wrapper {
    position: relative;
}

.event-image-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Date Badge */
.event-date-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: #ff2e63;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Content */
.event-content {
    padding: 40px 20px 25px;
}

.event-content h4 {
    margin-bottom: 10px;
}

.event-excerpt {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.event-location {
    font-size: 14px;
    margin-bottom: 15px;
}

.event-location i {
    color: #ff2e63;
    margin-right: 6px;
}

/* Button */
.event-btn {
    display: inline-block;
    padding: 8px 18px;
    background: #3b5bdb;
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
}

.event-btn:hover {
    background: #2f49c6;
}

/* No events */
.no-events {
    text-align: center;
}