/* Custom CSS for Cris d'un Coeur template - matching original site */

/* Revolution Slider custom styles */
.rev_slider_wrapper {
    position: relative;
    margin-top: 0;
    z-index: 1;
}

.rev_slider {
    position: relative;
    overflow: hidden;
}

/* Home Slider Owl Carousel */
.rev_slider_wrapper .home-slider.owl-carousel {
    display: block;
}
.home-slider.owl-carousel .item {
    height: 882px;
    display: flex;
    align-items: center;
    position: relative;
}

.home-slider.owl-carousel .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.home-slider .slide-content-box {
    position: relative;
    max-width: 700px;
    z-index: 10;
}

.home-slider .slide-content-box.center {
    text-align: center;
    margin: 0 auto;
}

.slide-content-box {
    text-align: left;
}

.slide-content-box.center {
    text-align: center;
}

.slide-content-box h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.slide-content-box h1 {
    color: #fff;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.slide-content-box h1 span {
    color: #ce3c37;
}

.slide-content-box p {
    color: #fff;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 600px;
}

.slide-content-box .button {
    display: inline-block;
}

/* Owl Carousel nav for home slider */
.home-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.home-slider .owl-nav button {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.3) !important;
    color: #fff !important;
    font-size: 24px !important;
    border-radius: 50% !important;
    transition: all 0.3s;
}

.home-slider .owl-nav button:hover {
    background: rgba(0,0,0,0.6) !important;
}

.home-slider .owl-nav .owl-prev {
    left: 30px;
}

.home-slider .owl-nav .owl-next {
    right: 30px;
}

.home-slider .owl-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
}

.home-slider .owl-dots button.owl-dot span {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: block;
}

.home-slider .owl-dots button.owl-dot.active span {
    background: #fff;
}

/* Section Backgrounds */
.recent-causes {
    padding: 80px 0;
    background: #f8f9fa;
}

.features {
    padding: 80px 0;
    background: #fff;
}

/* Featured Causes Section */
.featured-causes {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: Georgia, serif;
    margin-bottom: 15px;
}

.section-title h2 span {
    color: #ce3c37;
}

.section-title p {
    font-size: 18px;
    color: #666;
}

.cause-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cause-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.cause-item .img-box {
    position: relative;
    overflow: hidden;
}

.cause-item .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.cause-item:hover .img-box img {
    transform: scale(1.1);
}

.cause-item .img-box .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 121, 137, 0.85);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cause-item:hover .img-box .overlay {
    opacity: 1;
}

.cause-item .img-box .overlay a {
    color: #fff;
    font-size: 30px;
}

.cause-content {
    padding: 25px;
}

.cause-content h3 {
    font-size: 22px;
    font-family: Georgia, serif;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.cause-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.progress-levels {
    margin-bottom: 20px;
}

.progress-box {
    background: #f0f0f0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-box .bar {
    height: 100%;
    border-radius: 4px;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    position: relative;
}

/* Latest Events Section */
.latest-events {
    padding: 80px 0;
    background: #fff;
}

.event-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.event-item .img-box {
    position: relative;
    overflow: hidden;
}

.event-item .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.event-item:hover .img-box img {
    transform: scale(1.1);
}

.event-item .date-box {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ce3c37;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    border-radius: 5px;
    z-index: 1;
}

.event-item .date-box span {
    display: block;
}

.event-item .date-box span:first-child {
    font-size: 24px;
    font-weight: bold;
}

.event-item .date-box span:last-child {
    font-size: 12px;
    text-transform: uppercase;
}

.event-content h3 {
    font-size: 20px;
    font-family: Georgia, serif;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.event-content p {
    color: #666;
    margin-bottom: 10px;
}

.event-content p i {
    color: #1d7989;
    margin-right: 5px;
}

/* Footer Styling */
.main-footer {
    background: #1a1a1a;
    color: #fff;
}

.main-footer .footer-title {
    font-size: 22px;
    color: #fff;
    font-family: Georgia, serif;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.main-footer .footer-title:after {
    content: '""';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #ce3c37;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget.information-widget .contact-info,
.footer-widget.contact-widget .contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget .contact-info li {
    padding: 10px 0;
    color: #ccc;
    border-bottom: 1px solid #333;
}

.footer-widget .contact-info li:last-child {
    border-bottom: none;
}

.footer-widget .contact-info li i {
    color: #1d7989;
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    background: #0d0d0d;
    padding: 25px 0;
}

.footer-bottom p {
    margin: 0;
    color: #999;
}

.footer-bottom a {
    color: #ff2e3d;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #1d7989;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    z-index: 9999;
    transition: background 0.3s, transform 0.3s;
    border: none;
    font-size: 20px;
}

.scroll-top:hover {
    background: #ce3c37;
    transform: translateY(-5px);
}

/* Floating Donate Button */
.floating-donate {
    position: fixed;
    bottom: 30px;
    right: 100px;
    background: #ce3c37;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(206, 60, 55, 0.4);
    transition: all 0.3s;
    z-index: 9999;
}

.floating-donate:hover {
    background: #b82e28;
    transform: translateY(-3px);
    color: #fff;
}

.floating-donate i {
    margin-right: 8px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .slide-content-box h1 {
        font-size: 48px;
    }
}

@media (max-width: 992px) {
    .slide-content-box h1 {
        font-size: 36px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .slide-content-box h1 {
        font-size: 28px;
    }
    
    .slide-content-box h4 {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .floating-donate {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
    }
}

/* Topbar Improvements */
.top-bar {
    background: #fff;
    padding-top: 15px;
}

.top-bar .top-bar-text {
    display: inline-block;
}

.top-bar .top-bar-text li {
    color: #272727;
    font-size: 11px;
    font-weight: 400;
    display: inline-block;
    margin-right: 20px;
    font-family: 'Open Sans', sans-serif;
}

.top-bar .top-bar-text li i {
    color: #ff2e3d;
    margin-right: 12px;
    font-size: 14px;
}

.top-bar .social {
    text-align: center;
    width: 50%;
    display: inline-block;
}

.top-bar .social li a {
    color: #272727;
    font-size: 12px;
}

.top-bar .social li a:hover {
    color: #ff2e3d;
    transition: .5s ease-in-out;
}

.top-bar .login-info {
    white-space: nowrap;
}

.top-bar .login-info li {
    display: inline-block;
    float: none;
}

.top-bar .login-info li a {
    color: #272727;
    font-size: 11px;
    font-weight: 400;
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
}

.top-bar .login-info li a:hover {
    color: #ff2e3d;
}

.donate-btn-topbar {
    background: #ce3c37 !important;
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: 20px !important;
}

.donate-btn-topbar:hover {
    background: #b82e28 !important;
}

/* Theme Menu */
.theme_menu {
    background: rgba(0, 0, 0, 0.17);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.theme_menu.stricky {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-menu ul.nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu ul.nav li {
    margin-right: 35px;
}

.main-menu ul.nav li a {
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    padding: 25px 0;
    display: block;
    transition: color 0.3s;
}

.main-menu ul.nav li a:hover,
.main-menu ul.nav li.active a {
    color: #ce3c37;
}

/* Main Footer Widgets */
.widgets-section {
    padding: 70px 0;
}

.footer-column {
    margin-bottom: 30px;
}

/* Blog Sidebar */
.blog-sidebar {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.blog-sidebar h3 {
    font-size: 20px;
    color: #1a1a1a;
    font-family: Georgia, serif;
    border-bottom: 2px solid #1d7989;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* Page Banner */
.page-banner {
    background: #f8f9fa;
    padding: 30px 0;
    margin-bottom: 0;
}

/* Buttons */
.thm-btn {
    background: #ce3c37;
    color: #fff;
    padding: 18px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}

.thm-btn:hover {
    background: #b82e28;
    color: #fff;
}

.thm-btn2 {
    background: #1d7989;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s;
}

.thm-btn2:hover {
    background: #166570;
}

/* Form styling */
.default-form textarea,
.default-form input[type="text"],
.default-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.default-form textarea:focus,
.default-form input:focus {
    outline: none;
    border-color: #1d7989;
}

/* Button overrides matching template design */
.btn:not(.btn-link),
.btn-primary,
.btn-secondary,
.btn-default {
    display: inline-block;
    padding: 0 22px;
    min-height: 34px;
    line-height: 34px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    background: #ff2e3d;
    border: 2px solid #ff2e3d;
    border-radius: 18px;
    transition: all 0.5s cubic-bezier(0.4, 0, 1, 1);
    white-space: normal;
}

.btn:not(.btn-link):hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-default:hover {
    background: transparent;
    color: #ff2e3d;
    border-color: #ff2e3d;
}

.btn:not(.btn-link):focus,
.btn:not(.btn-link).focus,
.btn:not(.btn-link):active,
.btn:not(.btn-link).active,
.open > .dropdown-toggle.btn:not(.btn-link) {
    background: #b82e28;
    color: #fff;
    border-color: #b82e28;
    box-shadow: none;
}

/* Slide Donation Widget */
.slide-donation-widget {
    margin-top: 30px;
    max-width: 500px;
}

.slide-donation-widget .progress-levels {
    margin-bottom: 10px;
}

.slide-donation-widget .progress-box {
    background: rgba(255,255,255,0.3);
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.slide-donation-widget .bar-fill {
    height: 100%;
    background: #ce3c37;
    border-radius: 5px;
    position: relative;
}

.slide-donation-widget .bar-fill .percent {
    position: absolute;
    right: 0;
    top: -25px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.slide-donation-widget .donate-price {
    color: #fff;
    font-size: 15px;
    font-weight: 400;
}

.slide-donation-widget .donate-price b {
    color: #ce3c37;
    font-weight: 700;
}

.slide-donation-widget .donate-price span {
    color: #ffd700;
    font-weight: 700;
}

/* Donut Chart */
.donut-image-container {
    text-align: center;
    padding: 20px 0;
}

.donut-image-container img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

/* Recent Causes Grid Item */
/* Recent Causes Grid */
.recent-causes-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

.recent-causes-grid .col-md-4 {
    width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* News Grid */
.news-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
}

.news-grid .col-md-3 {
    width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* Upcoming Event Grid */
.upcoming-event-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
}

.upcoming-event-grid .col-md-6 {
    width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* Responsive Grids */
@media (max-width: 992px) {
    .recent-causes-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .recent-causes-grid,
    .news-grid,
    .upcoming-event-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    .upcoming-event-grid .item .bg-area {
        flex-direction: column;
    }
    .upcoming-event-grid .item .image-box {
        flex: 0 0 auto;
        height: 200px;
    }
}

.recent-causes .item {
    margin-bottom: 30px;
}

.recent-causes .item .bg-area {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.recent-causes .item .bg-area:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.recent-causes .item .image-box {
    position: relative;
    overflow: hidden;
}

.recent-causes .item .image-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}

.recent-causes .item .bg-area:hover .image-box img {
    transform: scale(1.1);
}

.recent-causes .item .image-box .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29,121,137,0.85);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recent-causes .item .bg-area:hover .image-box .overlay {
    opacity: 1;
}

.recent-causes .item .content-box {
    padding: 25px;
}

.recent-causes .item .content-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.recent-causes .item .content-box h4 span {
    color: #ce3c37;
}

.recent-causes .item .content-box p {
    color: #888;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.recent-causes .item .donate-price {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.recent-causes .item .donate-price b {
    color: #1d7989;
    font-weight: 700;
}

.recent-causes .item .donate-price span {
    color: #ce3c37;
    font-weight: 600;
}

.recent-causes .item .progress-levels {
    margin-bottom: 12px;
}

.recent-causes .item .progress-box {
    background: #f0f0f0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.recent-causes .item .bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #1d7989, #ce3c37);
    border-radius: 4px;
    position: relative;
}

.recent-causes .item .bar-fill .percent {
    display: none;
}

/* Recent Causes Carousel Nav */
.recent-causes-carousel.owl-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
}

.recent-causes-carousel.owl-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    background: #ce3c37 !important;
    color: #fff !important;
    font-size: 18px !important;
    border-radius: 50% !important;
    margin-left: 8px;
    transition: background 0.3s;
}

.recent-causes-carousel.owl-carousel .owl-nav button:hover {
    background: #b82e28 !important;
}

/* Owl Carousel Default Theme Styles (missing owl.theme.css) */
.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-carousel .owl-dots button.owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s;
}

.owl-carousel .owl-dots button.owl-dot.active span,
.owl-carousel .owl-dots button.owl-dot:hover span {
    background: #ce3c37;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 1s ease;
}

/* News Grid */
.news-grid .item {
    margin-bottom: 30px;
}

.news-grid .item .bg-area {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-grid .item .bg-area:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.news-grid .item .image-box {
    position: relative;
    overflow: hidden;
}

.news-grid .item .image-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-grid .item .bg-area:hover .image-box img {
    transform: scale(1.1);
}

.news-grid .item .image-box .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(29,121,137,0.85);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-grid .item .bg-area:hover .image-box .overlay {
    opacity: 1;
}

.news-grid .item .content-box {
    padding: 20px;
}

.news-grid .item .news-info {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    font-size: 13px;
    color: #999;
}

.news-grid .item .news-info li {
    display: inline;
    margin-right: 15px;
}

.news-grid .item .news-info li i {
    margin-right: 5px;
    color: #ce3c37;
}

.news-grid .item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.news-grid .item h4 a {
    color: #1a1a1a;
    transition: color 0.3s;
}

.news-grid .item h4 a:hover {
    color: #ce3c37;
}

/* Upcoming Event Grid */
.upcoming-event-grid .item {
    margin-bottom: 30px;
}

.upcoming-event-grid .item .bg-area {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.upcoming-event-grid .item .image-box {
    flex: 0 0 200px;
    position: relative;
    overflow: hidden;
}

.upcoming-event-grid .item .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upcoming-event-grid .item .image-box .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(29,121,137,0.85);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upcoming-event-grid .item .bg-area:hover .image-box .overlay {
    opacity: 1;
}

.upcoming-event-grid .item .content-box {
    flex: 1;
    padding: 20px 25px;
}

.upcoming-event-grid .item .title-area {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.upcoming-event-grid .item .date {
    flex: 0 0 60px;
    text-align: center;
    background: #ce3c37;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    padding: 8px 5px;
    border-radius: 5px;
    line-height: 1.2;
}

.upcoming-event-grid .item .date span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
}

.upcoming-event-grid .item h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px;
}

.upcoming-event-grid .item h3 a {
    color: #1a1a1a;
}

.upcoming-event-grid .item h3 a:hover {
    color: #ce3c37;
}

.upcoming-event-grid .item h3 span {
    color: #ce3c37;
}

.upcoming-event-grid .item .event-info {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #999;
}

.upcoming-event-grid .item .event-info li {
    display: inline;
    margin-right: 10px;
}

.upcoming-event-grid .item .event-info li .fa {
    color: #ce3c37;
}

.upcoming-event-grid .item .text {
    margin-bottom: 15px;
}

.upcoming-event-grid .item .text p {
    color: #888;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 767px) {
    .upcoming-event-grid .item .bg-area {
        flex-direction: column;
    }
    .upcoming-event-grid .item .image-box {
        flex: 0 0 auto;
        height: 200px;
    }
}
/* =====================
   BOUTIQUE / SHOP PAGE - PhocaCart Custom Styling
   ===================== */

/* Grid layout for shop products */
body.option-com_phocacart.view-category .ph-items,
body.option-com_phocacart.view-items .ph-items {
    margin: 0 -15px;
}

body.option-com_phocacart.view-category .ph-grid-box,
body.option-com_phocacart.view-items .ph-grid-box {
    padding: 0 15px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    body.option-com_phocacart.view-category .ph-grid-box,
    body.option-com_phocacart.view-items .ph-grid-box {
        float: left;
        width: 33.3333%;
    }
}

/* Style each product card to match design */
body.option-com_phocacart.view-category .ph-item,
body.option-com_phocacart.view-items .ph-item {
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    height: 100%;
}

body.option-com_phocacart.view-category .ph-item:hover,
body.option-com_phocacart.view-items .ph-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #ff2e3d;
}

/* Image box styling */
body.option-com_phocacart.view-category .ph-image-box,
body.option-com_phocacart.view-items .ph-image-box {
    position: relative;
    overflow: hidden;
    height: 200px;
}

body.option-com_phocacart.view-category .ph-image-box img,
body.option-com_phocacart.view-items .ph-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: transform 0.5s ease;
    -moz-transition: transform 0.5s ease;
    -ms-transition: transform 0.5s ease;
    -o-transition: transform 0.5s ease;
    transition: transform 0.5s ease;
}

body.option-com_phocacart.view-category .ph-item:hover .ph-image-box img,
body.option-com_phocacart.view-items .ph-item:hover .ph-image-box img {
    transform: scale(1.05);
}

/* Info box styling */
body.option-com_phocacart.view-category .ph-info-box,
body.option-com_phocacart.view-items .ph-info-box {
    padding: 20px;
    text-align: center;
}

body.option-com_phocacart.view-category .ph-info-box h3,
body.option-com_phocacart.view-items .ph-info-box h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.4;
}

body.option-com_phocacart.view-category .ph-info-box h3 a,
body.option-com_phocacart.view-items .ph-info-box h3 a {
    color: #222;
    text-decoration: none;
}

body.option-com_phocacart.view-category .ph-info-box h3 a:hover,
body.option-com_phocacart.view-items .ph-info-box h3 a:hover {
    color: #ff2e3d;
}

/* Price box */
body.option-com_phocacart.view-category .ph-price-box,
body.option-com_phocacart.view-items .ph-price-box {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

/* Add to cart button */
body.option-com_phocacart.view-category .ph-add-to-cart,
body.option-com_phocacart.view-items .ph-add-to-cart {
    margin-top: 15px;
}

body.option-com_phocacart.view-category .ph-add-to-cart a,
body.option-com_phocacart.view-category .ph-add-to-cart input[type="submit"],
body.option-com_phocacart.view-category .ph-add-to-cart button,
body.option-com_phocacart.view-items .ph-add-to-cart a,
body.option-com_phocacart.view-items .ph-add-to-cart input[type="submit"],
body.option-com_phocacart.view-items .ph-add-to-cart button {
    display: inline-block;
    padding: 10px 25px;
    background: #ff2e3d;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #ff2e3d;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 0;
    cursor: pointer;
}

body.option-com_phocacart.view-category .ph-add-to-cart a:hover,
body.option-com_phocacart.view-category .ph-add-to-cart input[type="submit"]:hover,
body.option-com_phocacart.view-category .ph-add-to-cart button:hover,
body.option-com_phocacart.view-items .ph-add-to-cart a:hover,
body.option-com_phocacart.view-items .ph-add-to-cart input[type="submit"]:hover,
body.option-com_phocacart.view-items .ph-add-to-cart button:hover {
    background: #fff;
    color: #ff2e3d !important;
}

/* Hide badges */
body.option-com_phocacart.view-category .ph-badge-box,
body.option-com_phocacart.view-category .ph-badge-featured,
body.option-com_phocacart.view-items .ph-badge-box,
body.option-com_phocacart.view-items .ph-badge-featured {
    display: none;
}

/* =====================
   BOUTIQUE / SHOP PAGE - Fix PhocaCart Styling
   ===================== */

/* Product grid columns - 3 per row on desktop */
body.option-com_phocacart.view-category .ph-items .row-item,
body.option-com_phocacart.view-items .ph-items .row-item {
    padding: 0 15px;
    margin-bottom: 30px;
}

@media (min-width: 768px) and (max-width: 991px) {
    body.option-com_phocacart.view-category .ph-items .row-item,
    body.option-com_phocacart.view-items .ph-items .row-item {
        width: 50%;
    }
}

@media (min-width: 992px) {
    body.option-com_phocacart.view-category .ph-items .row-item,
    body.option-com_phocacart.view-items .ph-items .row-item {
        width: 33.3333%;
    }
}

/* Style each product card to match design */
body.option-com_phocacart.view-category .ph-items .item,
body.option-com_phocacart.view-items .ph-items .item {
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    height: 100%;
}

body.option-com_phocacart.view-category .ph-items .item:hover,
body.option-com_phocacart.view-items .ph-items .item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #ff2e3d;
}

/* Image holder styling */
body.option-com_phocacart.view-category .ph-items .image-holder,
body.option-com_phocacart.view-items .ph-items .image-holder {
    position: relative;
    overflow: hidden;
    height: 200px;
}

body.option-com_phocacart.view-category .ph-items .image-holder img,
body.option-com_phocacart.view-items .ph-items .image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: transform 0.5s ease;
    -moz-transition: transform 0.5s ease;
    -ms-transition: transform 0.5s ease;
    -o-transition: transform 0.5s ease;
    transition: transform 0.5s ease;
}

body.option-com_phocacart.view-category .ph-items .item:hover .image-holder img,
body.option-com_phocacart.view-items .ph-items .item:hover .image-holder img {
    transform: scale(1.05);
}

/* Button styling */
body.option-com_phocacart.view-category .ph-items .link .thm-btn,
body.option-com_phocacart.view-items .ph-items .link .thm-btn {
    background: #ff2e3d;
    border-color: #ff2e3d;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

body.option-com_phocacart.view-category .ph-items .link .thm-btn:hover,
body.option-com_phocacart.view-items .ph-items .link .thm-btn:hover {
    background: #fff;
    color: #ff2e3d;
}

/* Content holder styling */
body.option-com_phocacart.view-category .ph-items .content-holder,
body.option-com_phocacart.view-items .ph-items .content-holder {
    padding: 20px;
    text-align: center;
}

body.option-com_phocacart.view-category .ph-items .content-holder h4,
body.option-com_phocacart.view-items .ph-items .content-holder h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.4;
}

body.option-com_phocacart.view-category .ph-items .content-holder h4 a,
body.option-com_phocacart.view-items .ph-items .content-holder h4 a {
    color: #222;
    text-decoration: none;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

body.option-com_phocacart.view-category .ph-items .content-holder h4 a:hover,
body.option-com_phocacart.view-items .ph-items .content-holder h4 a:hover {
    color: #ff2e3d;
}

/* Price box */
body.option-com_phocacart.view-category .ph-items .price-box,
body.option-com_phocacart.view-items .ph-items .price-box {
    margin-bottom: 10px;
}

body.option-com_phocacart.view-category .ph-items .price-box .ph-price-brutto,
body.option-com_phocacart.view-items .ph-items .price-box .ph-price-brutto {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

body.option-com_phocacart.view-category .ph-items .price-box .ph-price-brutto::before,
body.option-com_phocacart.view-items .ph-items .price-box .ph-price-brutto::before {
    content: '$';
}

body.option-com_phocacart.view-category .ph-items .price-box .ph-price-unit,
body.option-com_phocacart.view-items .ph-items .price-box .ph-price-unit {
    font-size: 14px;
    font-weight: 400;
}
