/*
Theme Name: Cofe Online Kenya
Author: Densbay Consultancy
Author URI: cofeonline.co.ke
Description: Cofe Online Kenya
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    --primary-color: #E31937;
    --primary-dark: #c1122f;
    --secondary-color: #000000;
    --accent-color: #FFFFFF;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --text-color: #212529;
    --text-light: #6c757d;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-gray);
    overflow-x: hidden;
}

/* Modern Navigation */
.navbar {
    padding: 20px 0;
    background: var(--accent-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.navbar-brand span {
    color: var(--primary-color);
}

.navbar-brand:hover {
    transform: scale(1.03);
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 5px;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link:hover:after, .nav-link.active:after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    outline: none !important;
    box-shadow: none !important;
}

/* Hero Carousel - Modernized */
.hero-carousel .carousel-item {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-carousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* Makes the image fill without stretching */
    border-radius: 0 0 20px 20px;
    box-shadow: var(--shadow-md);
}

.hero-carousel .carousel-caption {
    position: absolute;
    bottom: 20%;
    z-index: 10;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

.carousel-item {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.carousel-caption {
    bottom: 30%;
    padding: 30px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.carousel-caption h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.carousel-indicators [data-bs-target] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin: 0 8px;
    border: 2px solid var(--accent-color);
    transition: var(--transition);
}

.carousel-indicators .active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-control-prev, .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

/* Modern Product Cards */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--dark-gray);
    font-size: 2.2rem;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 70px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title:hover:after {
    width: 100px;
}

.product-card {
    background: var(--accent-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 30px;
    position: relative;
    border: none;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-card-img-container {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.product-card-img-container:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-primary);
    opacity: 0.9;
    transition: var(--transition);
    z-index: 1;
}

.product-card:hover .product-card-img-container:before {
    height: 8px;
}

.product-card-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
    z-index: 2;
}

.product-card:hover .product-card-img {
    transform: scale(1.08);
}

.product-card-body {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.product-card-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark-gray);
    font-weight: 700;
    transition: var(--transition);
}

.product-card:hover .product-card-title {
    color: var(--primary-color);
}

.product-card-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-card-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: block;
}

.product-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    animation: pulse 2s infinite;
    z-index: 3;
}

/* Modern Buttons */
.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover:before {
    width: 100%;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.features-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.03;
}

.feature-box {
    text-align: center;
    padding: 35px 25px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.5);
}

.feature-box:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-box:hover:after {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(227, 25, 55, 0.2);
}

.feature-box h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.feature-box p {
    color: var(--text-light);
}

/* Modern Footer */
footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
    color: white;
    padding: 70px 0 20px;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1563986768609-322da13575f3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.05;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-links h5 {
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: var(--transition);
    position: relative;
    padding-left: 20px;
}

.footer-links a:before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition);
    color: var(--primary-color);
}

.footer-links a:hover {
    color: white;
    padding-left: 30px;
}

.footer-links a:hover:before {
    opacity: 1;
    left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 50px;
    text-align: center;
    color: #8f8f8f;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(227, 25, 55, 0.35);
    z-index: 100;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    transition: var(--transition);
}

.floating-cta:hover {
    transform: scale(1.1) translateY(-5px);
    animation: none;
    box-shadow: 0 10px 30px rgba(227, 25, 55, 0.5);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-carousel {
        height: 500px;
    }
    .carousel-caption {
        padding: 20px;
    }
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 450px;
    }
    .carousel-caption {
        bottom: 20%;
        padding: 15px;
    }
    .carousel-caption h1 {
        font-size: 2rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
    .navbar-brand {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 400px;
    }
    .carousel-caption {
        bottom: 15%;
    }
    .carousel-caption h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    .carousel-caption .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}
.cofe-pagination .page-link {
    border: none;
    background-color: var(--light-gray);
    color: var(--text-color);
    margin: 0 4px;
    border-radius: 0.75rem;
    padding: 10px 16px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cofe-pagination .page-link:hover {
    background: var(--gradient-primary);
    color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.cofe-pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    color: var(--accent-color);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.cofe-pagination .page-item.disabled .page-link {
    background-color: var(--medium-gray);
    color: var(--text-light);
    cursor: not-allowed;
    box-shadow: none;
}
/* Equal height cards */
.row-cards {
    display: flex;
    flex-wrap: wrap;
}

.row-cards > .col-lg-3,
.row-cards > .col-md-4,
.row-cards > .col-sm-6 {
    display: flex;
}

.product-card {
    display: flex;
    flex-direction: column;
    width: 100%; /* Ensure full width */
    height: 100%; /* Take full height of column */
}

.product-card-body {
    flex: 1; /* Make body take remaining space */
    display: flex;
    flex-direction: column;
}

.product-card-desc {
    flex-grow: 1; /* Make description expand */
}

.price-button-container {
    margin-top: auto; /* Push to bottom */
}
.product-card-img-container {
    min-height: 240px; /* Consistent height */
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
}
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.product-card {
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.thumbnail:hover {
    border-color: #0d6efd;
}

.rating-input .fa-star {
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.quantity-selector .btn {
    width: 40px;
}

.review-item {
    transition: background-color 0.2s;
}

.review-item:hover {
    background-color: #f8f9fa;
}

.cofe-pagination .page-item .page-link {
    color: #0d6efd;
    border-radius: 4px;
    margin: 0 3px;
}

.cofe-pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
/* Product grid */
.products.columns-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cofe-product-card {
    border: 1px solid #eaeaea;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s;
}
.cofe-product-card:hover {
    transform: translateY(-5px);
}
/* ======================
   Single Product Page - Enhanced Layout
   ====================== */

/* Main Product Container */
.single-product div.product {
    padding: 40px 0;
    margin-bottom: 60px;
}

.single-product .container {
    max-width: 1200px;
}

.single-product .row {
    display: flex;
    flex-direction: row-reverse;
  }

.single-product .col-md-6 {
    padding: 0 15px;
    margin-bottom: 30px;
}


/* Product Gallery (Left Column) */
.woocommerce-product-gallery {
    position: relative;
    width: 100%;
}

.woocommerce-product-gallery__wrapper {
    position: relative;
}

.woocommerce-product-gallery__image {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.woocommerce-product-gallery__image:hover img {
    transform: scale(1.05);
}

/* Product Gallery Trigger (Zoom/Fullscreen) */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.woocommerce-product-gallery__trigger:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Flexslider Styles */
.flex-viewport {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* Thumbnail Navigation */
.flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.flex-control-thumbs li {
    flex: 1;
    min-width: 80px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.flex-control-thumbs li:hover,
.flex-control-thumbs li.flex-active {
    border-color: var(--primary-color);
    opacity: 1;
    transform: translateY(-2px);
}

.flex-control-thumbs img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

/* Product Summary (Right Column) */
.summary.entry-summary {
    padding: 20px 0;
}

/* Product Title */
.product_title {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

/* Product Rating */
.woocommerce-product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.woocommerce-product-rating .star-rating {
    font-size: 16px;
    color: #ffa500;
}

.woocommerce-product-rating .woocommerce-review-link {
    color: var(--text-light);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.woocommerce-product-rating .woocommerce-review-link:hover {
    color: var(--primary-color);
}

/* Product Price */
.price {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.price del {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-right: 10px;
    font-weight: 400;
}

.price ins {
    text-decoration: none;
    font-weight: 700;
}

/* Short Description */
.woocommerce-product-details__short-description {
    margin-bottom: 25px;
    line-height: 1.7;
    color: var(--text-color);
    font-size: 16px;
}

.woocommerce-product-details__short-description p {
    margin-bottom: 15px;
}

/* Add to Cart Form */
.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.quantity {
    display: flex;
    align-items: center;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.quantity input.qty {
    width: 70px;
    padding: 12px 8px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    background: transparent;
    -moz-appearance: textfield;
}

.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity input.qty:focus {
    outline: none;
}

/* Add to Cart Button */
.single_add_to_cart_button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    font-size: 14px;
    min-width: 150px;
}

.single_add_to_cart_button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.single_add_to_cart_button:active {
    transform: translateY(-1px);
}

.single_add_to_cart_button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Product Meta */
.product_meta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
    font-size: 14px;
    line-height: 1.6;
}

.product_meta > span {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
}

.product_meta a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.product_meta a:hover {
    color: var(--primary-color);
}

.product_meta .tagged_as,
.product_meta .posted_in {
    margin-bottom: 8px;
}

/* Sale Flash */
.onsale {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(227, 25, 55, 0.3);
}

/* Product Tabs (Full Width Below) */
.woocommerce-tabs {
    margin-top: 60px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.wc-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--light-gray);
    border-bottom: 2px solid var(--medium-gray);
}

.wc-tabs li {
    position: relative;
}

.wc-tabs li a {
    display: block;
    padding: 15px 25px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.wc-tabs li.active a,
.wc-tabs li a:hover {
    color: var(--primary-color);
    background: white;
    border-bottom-color: var(--primary-color);
}

.woocommerce-Tabs-panel {
    padding: 30px;
    background: white;
}

.woocommerce-Tabs-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 700;
}

.woocommerce-Tabs-panel p {
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Related Products */
.related.products,
.upsells.products {
    margin-top: 60px;
    padding: 40px 0;
    background: var(--light-gray);
    border-radius: 12px;
}

.related.products > h2,
.upsells.products > h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    color: var(--secondary-color);
    font-weight: 700;
}

.related.products > h2:after,
.upsells.products > h2:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .single-product .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .summary.entry-summary {
        padding: 30px 0 0 0;
    }
    
    .flex-control-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .product_title {
        font-size: 1.8rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .cart {
        flex-direction: column;
        align-items: stretch;
    }
    
    .single_add_to_cart_button {
        width: 100%;
        padding: 15px;
    }
    
    .wc-tabs {
        flex-wrap: wrap;
    }
    
    .wc-tabs li a {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .flex-control-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .woocommerce-Tabs-panel {
        padding: 20px;
    }
    
    .flex-control-thumbs li {
        min-width: 60px;
    }
    
    .quantity input.qty {
        width: 60px;
        padding: 10px 5px;
    }
}
/* Product Cards */
.cofe-product-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.cofe-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.cofe-product-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Product Image */
.cofe-product-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* 1:1 aspect ratio */
}

.cofe-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cofe-product-card:hover .cofe-product-image img {
    transform: scale(1.05);
}

.cofe-onsale {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #c7a17a;
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

/* Quick Actions */
.cofe-quick-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.9);
    padding: 10px;
    display: flex;
    justify-content: center;
    transition: bottom 0.3s ease;
    z-index: 3;
}

.cofe-product-card:hover .cofe-quick-actions {
    bottom: 0;
}

.cofe-quick-actions .add_to_cart_button {
    background: #333;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s;
}

.cofe-quick-actions .add_to_cart_button:hover {
    background: #c7a17a;
}

/* Product Info */
.cofe-product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cofe-product-title {
    font-size: 16px;
    margin: 0 0 8px;
    font-weight: 600;
}

.cofe-product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.cofe-product-title a:hover {
    color: #c7a17a;
}

.cofe-product-cat {
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
    font-style: italic;
}

/* Price and Rating */
.cofe-product-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cofe-product-price {
    font-weight: 700;
    color: #333;
}

.cofe-product-price .price {
    display: block;
    line-height: 1.3;
}

.cofe-product-price del {
    color: #999;
    font-weight: 400;
    margin-right: 5px;
}

.cofe-product-price ins {
    text-decoration: none;
    color: #c7a17a;
}

.cofe-product-rating .star-rating {
    color: #f8c259;
    font-size: 12px;
}
/* ======================
   Product Filters 
   ====================== */
   .woocommerce-ordering,
   .woocommerce-result-count {
       margin-bottom: 20px;
   }
   
   .woocommerce-ordering select {
       background-color: var(--light-gray);
       border: 2px solid var(--medium-gray);
       padding: 10px 15px;
       border-radius: 8px;
       font-size: 14px;
       color: var(--text-color);
       cursor: pointer;
       transition: var(--transition);
       appearance: none;
       background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23E31937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
       background-repeat: no-repeat;
       background-position: right 15px center;
       background-size: 15px;
   }
   
   .woocommerce-ordering select:focus {
       outline: none;
       border-color: var(--primary-color);
       box-shadow: 0 0 0 2px rgba(227, 25, 55, 0.2);
   }
   
   /* Price Filter Widget */
   .widget_price_filter .price_slider {
       margin-bottom: 30px;
   }
   
   .widget_price_filter .price_slider_amount {
       display: flex;
       flex-wrap: wrap;
       align-items: center;
       gap: 15px;
   }
   
   .widget_price_filter .price_slider_amount button {
       order: 3;
       background: var(--gradient-primary);
       color: white;
       border: none;
       padding: 10px 20px;
       border-radius: 8px;
       font-weight: 600;
       transition: var(--transition);
   }
   
   .widget_price_filter .price_slider_amount button:hover {
       transform: translateY(-2px);
       box-shadow: var(--shadow-md);
   }
   
   .widget_price_filter .price_label {
       display: block !important;
       width: 100%;
       margin-top: 10px;
       font-size: 14px;
       color: var(--text-light);
   }
   
   .widget_price_filter .ui-slider {
       position: relative;
       height: 6px;
       background: var(--medium-gray);
       border-radius: 3px;
   }
   
   .widget_price_filter .ui-slider .ui-slider-range {
       position: absolute;
       height: 100%;
       background: var(--gradient-primary);
       border-radius: 3px;
   }
   
   .widget_price_filter .ui-slider .ui-slider-handle {
       position: absolute;
       width: 18px;
       height: 18px;
       background: var(--primary-color);
       border-radius: 50%;
       top: 50%;
       transform: translateY(-50%);
       cursor: pointer;
       z-index: 2;
       box-shadow: 0 2px 5px rgba(0,0,0,0.2);
       transition: var(--transition);
   }
   
   .widget_price_filter .ui-slider .ui-slider-handle:hover {
       transform: translateY(-50%) scale(1.2);
   }
   
   /* Layered Nav Filters */
   .woocommerce-widget-layered-nav-list {
       list-style: none;
       padding-left: 0;
   }
   
   .woocommerce-widget-layered-nav-list li {
       margin-bottom: 8px;
   }
   
   .woocommerce-widget-layered-nav-list a {
       color: var(--text-color);
       text-decoration: none;
       display: flex;
       align-items: center;
       transition: var(--transition);
   }
   
   .woocommerce-widget-layered-nav-list a:before {
       content: '';
       display: inline-block;
       width: 16px;
       height: 16px;
       border: 2px solid var(--medium-gray);
       border-radius: 3px;
       margin-right: 10px;
       transition: var(--transition);
   }
   
   .woocommerce-widget-layered-nav-list a:hover {
       color: var(--primary-color);
   }
   
   .woocommerce-widget-layered-nav-list .chosen a:before {
       background: var(--primary-color);
       border-color: var(--primary-color);
       background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
       background-repeat: no-repeat;
       background-position: center;
       background-size: 12px;
   }
   
   /* Active Filters */
   .woocommerce-active-filters {
       display: flex;
       flex-wrap: wrap;
       gap: 10px;
       margin-bottom: 20px;
   }
   
   .woocommerce-active-filters a {
       display: inline-flex;
       align-items: center;
       padding: 5px 12px;
       background: var(--light-gray);
       color: var(--text-color);
       border-radius: 20px;
       font-size: 13px;
       text-decoration: none;
       transition: var(--transition);
   }
   
   .woocommerce-active-filters a:hover {
       background: var(--primary-color);
       color: white;
   }
   
   .woocommerce-active-filters a:after {
       content: '×';
       margin-left: 5px;
       font-size: 16px;
   }
   /* ======================
   Single Product Page
   ====================== */
.single-product div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Product Gallery */
.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.woocommerce-product-gallery__trigger:hover {
    background: var(--primary-color);
    color: white;
}

.flex-viewport {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 15px;
    padding: 0;
    list-style: none;
}

.flex-control-thumbs li {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
}

.flex-control-thumbs li:hover,
.flex-control-thumbs li.flex-active {
    border-color: var(--primary-color);
}

.flex-control-thumbs img {
    width: 100%;
    height: auto;
    opacity: 0.7;
    transition: var(--transition);
}

.flex-control-thumbs img:hover,
.flex-control-thumbs .flex-active img {
    opacity: 1;
}

/* Product Summary */
.summary.entry-summary {
    padding: 20px 0;
}

.product_title {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.woocommerce-product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.woocommerce-product-rating .star-rating {
    margin-right: 10px;
}

.woocommerce-product-rating .woocommerce-review-link {
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

.woocommerce-product-rating .woocommerce-review-link:hover {
    color: var(--primary-color);
}

.price {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.price del {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-right: 10px;
}

.price ins {
    text-decoration: none;
}

.woocommerce-product-details__short-description {
    margin-bottom: 25px;
    line-height: 1.7;
    color: var(--text-color);
}

/* Add to Cart Form */
.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.quantity {
    display: flex;
    align-items: center;
}

.quantity .qty {
    width: 80px;
    padding: 12px;
    text-align: center;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 16px;
    -moz-appearance: textfield;
}

.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.single_add_to_cart_button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.single_add_to_cart_button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Product Meta */
.product_meta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
    font-size: 14px;
}

.product_meta > span {
    display: block;
    margin-bottom: 10px;
}

.product_meta a {
    color: var(--text-color);
    transition: var(--transition);
}

.product_meta a:hover {
    color: var(--primary-color);
}

/* Tabs */
.woocommerce-tabs {
    margin-top: 60px;
    grid-column: 1 / -1;
}

.wc-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    border-bottom: 2px solid var(--medium-gray);
}

.wc-tabs li {
    margin-right: 30px;
    position: relative;
}

.wc-tabs li a {
    display: block;
    padding: 15px 0;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.wc-tabs li.active a,
.wc-tabs li a:hover {
    color: var(--primary-color);
}

.wc-tabs li.active a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.woocommerce-Tabs-panel {
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.woocommerce-Tabs-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* Related Products */
.related.products {
    grid-column: 1 / -1;
    margin-top: 60px;
}

.related.products > h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.related.products > h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .single-product div.product {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-product-gallery {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .product_title {
        font-size: 1.8rem;
    }
    
    .cart {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .wc-tabs {
        flex-wrap: wrap;
    }
    
    .wc-tabs li {
        margin-right: 20px;
        margin-bottom: 10px;
    }
}
/* Single Product Page Layout */
.single-product div.product {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.single-product div.product .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.single-product div.product .col-md-6 {
    padding: 0 15px;
    flex: 0 0 50%;
    max-width: 50%;
}

/* Product Gallery */
.woocommerce-product-gallery {
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding: 0;
    list-style: none;
}

.flex-control-thumbs li {
    flex: 1;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.flex-control-thumbs li:hover,
.flex-control-thumbs li.flex-active {
    border-color: var(--primary-color);
}

.flex-control-thumbs img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Product Summary */
.summary.entry-summary {
    padding: 0 0 0 30px;
}

.product_title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.woocommerce-product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.price del {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-right: 10px;
}

.woocommerce-product-details__short-description {
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Tabs */
.woocommerce-tabs {
    margin-top: 50px;
    width: 100%;
}

.wc-tabs {
    display: flex;
    border-bottom: 2px solid var(--medium-gray);
    padding: 0;
    margin: 0 0 30px;
    list-style: none;
}

.wc-tabs li {
    margin-right: 30px;
}

.wc-tabs li a {
    display: block;
    padding: 10px 0;
    position: relative;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
}

.wc-tabs li.active a,
.wc-tabs li a:hover {
    color: var(--primary-color);
}

.wc-tabs li.active a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.woocommerce-Tabs-panel {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .single-product div.product .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .summary.entry-summary {
        padding: 30px 0 0 0;
    }
}
/* Add to Cart Buttons */
.single_add_to_cart_button,
.add_to_cart_button {
    background: linear-gradient(135deg, #E31937, #c1122f);
    color: white !important;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(227, 25, 55, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.single_add_to_cart_button:hover,
.add_to_cart_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(227, 25, 55, 0.3);
}

.single_add_to_cart_button:after,
.add_to_cart_button:after {
    content: "→";
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.single_add_to_cart_button:hover:after,
.add_to_cart_button:hover:after {
    transform: translateX(3px);
}

/* Cart Page Styles */
.woocommerce-cart-form .shop_table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.woocommerce-cart-form .actions {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.cart_totals h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid #E31937;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.wc-proceed-to-checkout .checkout-button {
    background: linear-gradient(135deg, #28a745, #218838);
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.wc-proceed-to-checkout .checkout-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.3);
}

/* Quick View Hover Effect */
.cofe-product-card:hover .translate-y-100 {
    transform: translateY(0);
}
/* Product Grid */
.products.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Product Cards */
.cofe-product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.cofe-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cofe-product-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
}

.cofe-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cofe-product-card:hover .cofe-product-image img {
    transform: scale(1.05);
}

/* Single Product */
.single-product .images {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.single-product .summary {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Buttons */
.single_add_to_cart_button, 
.add_to_cart_button {
    background: linear-gradient(135deg, #E31937, #c1122f);
    color: white !important;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.single_add_to_cart_button:hover, 
.add_to_cart_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(227, 25, 55, 0.3);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .single-product .col-lg-6 {
        margin-bottom: 30px;
    }
}

     /* Hero Section */
     .csr-hero {
        height: 70vh;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0 0 20px 20px;
        box-shadow: var(--shadow-md);
    }

    .csr-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    }

    .csr-hero img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }

    .csr-hero-content {
        position: relative;
        z-index: 10;
        text-align: center;
        color: white;
        padding: 20px;
        max-width: 800px;
    }

    .csr-hero-content h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 20px;
        text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    .csr-hero-content p {
        font-size: 1.3rem;
        margin-bottom: 30px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Section Styling */
    .csr-section {
        padding: 80px 0;
    }

    .section-title {
        position: relative;
        display: inline-block;
        margin-bottom: 40px;
        font-weight: 700;
        color: var(--dark-gray);
        font-size: 2.2rem;
    }

    .section-title:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -10px;
        width: 70px;
        height: 4px;
        background: var(--primary-color);
        border-radius: 2px;
        transition: var(--transition);
    }

    .text-center .section-title:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .section-title:hover:after {
        width: 100px;
    }

    .section-subtitle {
        color: var(--text-light);
        max-width: 800px;
        margin: 0 auto 50px;
        text-align: center;
        font-size: 1.1rem;
    }

    /* Commitment Section */
    .commitment-box {
        background: var(--accent-color);
        border-radius: 16px;
        padding: 40px;
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
        margin-bottom: 30px;
        text-align: center;
        height: 100%;
    }

    .commitment-box:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

    .commitment-icon {
        width: 80px;
        height: 80px;
        background: var(--gradient-primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 25px;
        color: white;
        font-size: 2rem;
        transition: var(--transition);
    }

    .commitment-box:hover .commitment-icon {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 10px 20px rgba(227, 25, 55, 0.2);
    }

    .commitment-box h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
        color: var(--dark-gray);
        font-weight: 700;
    }

    /* Activities Grid */
    .activity-card {
        background: var(--accent-color);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
        height: 100%;
        margin-bottom: 30px;
    }

    .activity-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

    .activity-img {
        height: 250px;
        overflow: hidden;
        position: relative;
    }

    .activity-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .activity-card:hover .activity-img img {
        transform: scale(1.1);
    }

    .activity-content {
        padding: 25px;
    }

    .activity-content h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        color: var(--dark-gray);
        font-weight: 700;
    }

    .activity-content p {
        color: var(--text-light);
        margin-bottom: 20px;
    }

    /* Stats Section */
    .stats-section {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        position: relative;
        overflow: hidden;
        padding: 80px 0;
    }

    .stats-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
        opacity: 0.03;
    }

    .stat-box {
        text-align: center;
        padding: 35px 25px;
        background: rgba(255, 255, 255, 0.85);
        border-radius: 16px;
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.5);
        height: 100%;
    }

    .stat-box:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-md);
    }

    .stat-number {
        font-size: 3rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 15px;
        line-height: 1;
    }

    .stat-label {
        font-size: 1.1rem;
        color: var(--dark-gray);
        font-weight: 600;
    }

    /* CTA Section */
    .cta-section {
        background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
        color: white;
        padding: 100px 0;
        position: relative;
        overflow: hidden;
        text-align: center;
    }

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('https://images.unsplash.com/photo-1563986768609-322da13575f3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
        opacity: 0.05;
    }

    .cta-content {
        position: relative;
        z-index: 10;
        max-width: 800px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .cta-content h2 {
        font-size: 2.5rem;
        margin-bottom: 25px;
    }

    .cta-content p {
        font-size: 1.2rem;
        margin-bottom: 35px;
        opacity: 0.9;
    }

    /* Buttons */
    .btn-primary {
        background: var(--gradient-primary);
        color: white;
        border: none;
        padding: 12px 35px;
        border-radius: 8px;
        font-weight: 600;
        transition: var(--transition);
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        letter-spacing: 0.5px;
        box-shadow: var(--shadow-sm);
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .btn-primary:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
        transition: var(--transition);
        z-index: -1;
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

    .btn-primary:hover:before {
        width: 100%;
    }

    /* Responsive */
    @media (max-width: 992px) {
        .csr-hero {
            height: 60vh;
        }
        
        .csr-hero-content h1 {
            font-size: 2.8rem;
        }
        
        .csr-hero-content p {
            font-size: 1.1rem;
        }
    }

    @media (max-width: 768px) {
        .csr-hero {
            height: 50vh;
        }
        
        .csr-hero-content h1 {
            font-size: 2.2rem;
        }
        
        .section-title {
            font-size: 1.8rem;
        }
    }

    @media (max-width: 576px) {
        .csr-hero {
            height: 45vh;
        }
        
        .csr-hero-content h1 {
            font-size: 1.8rem;
        }
    }