
.card.event-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    background: #fff;
    position: relative;
}

.card.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.card-img-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.card-text {
    font-size: 14px;
    color: #555;
}

.past-event {
    opacity: 0.6;
    pointer-events: none;
}
.price span {
    font-size: 18px;
    font-weight: bold;
}

.discount-badge {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    padding: 2px 10px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
    margin-left: 10px;
}

.days-left-badge {
    margin-top: 10px;
    background: #fcd307;
    color: #000;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.event-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #28a745;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 10;
}

.card-buttons .btn {
    font-size: 12px;
    padding: 6px 14px;
    margin: 3px;
    text-transform: uppercase;
}

.card-buttons {
    margin-top: 10px;
}
.shop-sidebar .sidebar-search .search-form .form-group button {
    right: 80px !important;
}
.section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
    color: #222;
}
.reset-product-button {
   margin-top: 0px; 
   height: 49px; 
   padding: 0 12px; 
   line-height: 3;
}

.form-select {
    font-size: 0.9rem !important;
}
.shop-sidebar .sidebar-search .search-form .form-group input[type=search] {
  width: 93% !important;

}
.shop-sidebar .sidebar-search .search-form .form-group button {
  right: 97px !important;
}

.event-itinerary-list {
    border-left: 3px solid #93b2cd;
    padding-left: 18px;
}

.event-itinerary-item {
    position: relative;
    padding: 0 0 18px 18px;
}

.event-itinerary-item:before {
    content: "";
    position: absolute;
    left: -27px;
    top: 4px;
    width: 13px;
    height: 13px;
    background: #93b2cd;
    border-radius: 50%;
}

.event-itinerary-time {
    font-weight: 700;
    color: #1f2937;
}

.event-itinerary-text {
    color: #555;
}

@media (max-width: 768px) {
    .recently-viewed-box {
        padding: 10px 5px;
    }
    .sidebar-left {
    max-width: 100%;
    margin-left: 6px;
    margin-bottom: 20px;
}
.reset-product-button {
        margin-top: 60px;
        margin-left: -310px;
        height: 32px;
        padding: 0 8px;
        line-height: 2;
    }
.form-select {
    font-size: 0.9rem !important;
}
.shop-sidebar .sidebar-search .search-form .form-group input[type=search] {
  width: 100% !important;
  font-size: 0.9rem;
  padding: 10px 10px 10px 10px;
}
.shop-sidebar .sidebar-search .search-form .form-group button {
  right: 8px !important;
}
.btn-primary {
 height: 35px;
 margin-top: 59px;
}

}

/* ==========================================
   EVENTS & TOURS VIEW SWITCHER
========================================== */

.event-view-switcher .event-view-btn {
    width: 40px;
    height: 38px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.event-view-switcher .event-view-btn.active {
    background: #263b55;
    border-color: #263b55;
    color: #fff;
}

.event-view-switcher .event-view-btn:hover {
    background: #263b55;
    border-color: #263b55;
    color: #fff;
}

/* Gallery View: existing layout */

.event-view-gallery > .col-lg-4 {
    display: flex;
}

/* List View: horizontal event cards */

.event-view-list > .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
}

.event-view-list .event-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 200px;
}

.event-view-list .card-img-wrapper {
    flex: 0 0 260px;
    width: 260px;
    position: relative;
}

.event-view-list .card-img-wrapper > a {
    display: block;
    height: 100%;
}

.event-view-list .card-img-wrapper img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
}

.event-view-list .card-body {
    flex: 1;
    min-width: 0;
    padding: 20px 24px;
}

.event-view-list .card-title {
    font-size: 20px;
}

.event-view-list .card-text {
    font-size: 14px;
}

.event-view-list .event-card:hover {
    transform: translateY(-2px);
}

/* Compact View: smaller horizontal rows */

.event-view-compact > .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 12px !important;
}

.event-view-compact .event-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 100px;
}

.event-view-compact .card-img-wrapper {
    flex: 0 0 130px;
    width: 130px;
    height: 100px;
    position: relative;
}

.event-view-compact .card-img-wrapper > a {
    display: block;
    height: 100%;
}

.event-view-compact .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-view-compact .card-body {
    flex: 1;
    min-width: 0;
    padding: 12px 18px;
}

.event-view-compact .card-title {
    font-size: 16px;
    margin-bottom: 5px;
}

.event-view-compact .card-text {
    display: none;
}

.event-view-compact .price {
    margin-bottom: 4px !important;
}

.event-view-compact .price span {
    font-size: 14px;
}

.event-view-compact .card-buttons {
    margin-top: 4px;
}

.event-view-compact .card-buttons .btn {
    font-size: 11px;
    padding: 5px 12px;
}

.event-view-compact .event-card:hover {
    transform: none;
}

/* Badge positioning for smaller images */

.event-view-list .event-tag,
.event-view-compact .event-tag {
    font-size: 11px;
    padding: 4px 8px;
    max-width: calc(100% - 16px);
}

.event-view-compact .days-left-badge {
    display: none;
}

/* ==========================================
   TABLET & MOBILE
========================================== */

@media (max-width: 767px) {

    .event-listing-toolbar {
        gap: 12px;
    }

    .event-view-list .event-card {
        flex-direction: column;
    }

    .event-view-list .card-img-wrapper {
        width: 100%;
        flex: auto;
        height: 190px;
    }

    .event-view-list .card-img-wrapper img {
        height: 190px;
        min-height: 0;
    }

    .event-view-list .card-body {
        padding: 16px;
    }

    .event-view-compact .card-img-wrapper {
        flex: 0 0 100px;
        width: 100px;
        height: 110px;
    }

    .event-view-compact .card-body {
        padding: 10px;
    }

    .event-view-compact .card-title {
        font-size: 14px;
    }

    .event-view-compact .price span {
        font-size: 12px;
    }

    .event-view-compact .event-tag {
        font-size: 10px;
        padding: 3px 5px;
    }

    .event-view-compact .card-buttons .btn {
        font-size: 10px;
        padding: 4px 8px;
    }
}
