* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #31adad;
    --secondary-color: #ff2d8d;
    --gradient: linear-gradient(135deg, #31adad 0%, #ff2d8d 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    color: #000000;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Header */
.top-header {
    background: var(--gradient);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.navbar {
    padding: 20px 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 800;
    font-size: 28px;
    color: #000000 !important;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 600;
    padding: 10px 20px !important;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 4px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: rgba(49, 173, 173, 0.1);
}

/* Hero Section - Matching Screenshot */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(49, 173, 173, 0.1) 0%, rgba(255, 45, 141, 0.1) 100%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.trust-badge {
    background: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.trust-badge i {
    color: var(--primary-color);
}

.trust-badge .stars {
    color: #ff2d8d;
}

.hero-badge {
    background: linear-gradient(135deg, rgba(49, 173, 173, 0.15) 0%, rgba(255, 45, 141, 0.15) 100%);
    color: #333;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
    border: 2px solid rgba(255, 45, 141, 0.3);
}

.hero-badge .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 58px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000;
}

.hero-title .word-compare {
    color: #000;
}

.hero-title .word-choose {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .word-save {
    color: #000;
}

.hero-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.hero-feature-icon.teal {
    background: var(--primary-color);
}

.hero-feature-icon.pink {
    background: var(--secondary-color);
}

.hero-feature-icon.purple {
    background: #9b59b6;
}

.hero-feature-icon.blue {
    background: #5dade2;
}

.hero-feature-text h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: #000;
}

.hero-feature-text p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-start-comparing {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-start-comparing:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(49, 173, 173, 0.4);
    color: white;
}

.btn-view-examples {
    background: white;
    color: #333;
    border: 2px solid #e0e0e0;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-view-examples:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.people-compared {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatars {
    display: flex;
    margin-left: -10px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -10px;
}

.avatar:nth-child(1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.avatar:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.avatar:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.avatar:nth-child(4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.avatar:nth-child(5) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.people-text {
    font-size: 14px;
    color: #666;
}

.people-text strong {
    color: #000;
    font-weight: 700;
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    padding: 40px 0;
}

.product-card-a,
.product-card-b {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: cardFloat 3s ease-in-out infinite;
}

.product-card-a {
    background: linear-gradient(135deg, rgba(49, 173, 173, 0.1) 0%, rgba(49, 173, 173, 0.05) 100%);
    border: 2px solid rgba(49, 173, 173, 0.2);
    animation-delay: 0s;
}

.product-card-b {
    background: linear-gradient(135deg, rgba(255, 45, 141, 0.1) 0%, rgba(255, 45, 141, 0.05) 100%);
    border: 2px solid rgba(255, 45, 141, 0.2);
    animation-delay: 1.5s;
    margin-top: 60px;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.card-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.card-label.a {
    background: var(--primary-color);
}

.card-label.b {
    background: var(--secondary-color);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 35px;
}

.card-icon.teal {
    background: rgba(49, 173, 173, 0.2);
    color: var(--primary-color);
}

.card-icon.pink {
    background: rgba(255, 45, 141, 0.2);
    color: var(--secondary-color);
}


.price-main {
    font-size: 32px;
    font-weight: 800;
}

.price-main.teal {
    color: var(--primary-color);
}

.price-main.pink {
    color: var(--secondary-color);
}

.price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.product-features {
    text-align: center;
    font-size: 12px;
    color: #666;
}

.save-badge {
    background: rgba(46, 204, 113, 0.2);
    color: #27ae60;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    margin-top: 15px;
}

.vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.4);
    z-index: 10;
}

.products-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.products-count {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-label {
    font-size: 12px;
    color: #666;
}

.compare-time {
    position: absolute;
    bottom: 80px;
    right: 450px;
    background: white;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 12px;
    color: #666;
}

.compare-time strong {
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: 800;
}

/* Filters Sidebar - Exact Match */
.sidebar {
    width: 310px;
    flex-shrink: 0;
}

.filter-section {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.filter-header {
    background: var(--gradient);
    color: white;
    padding: 18px 25px;
    font-weight: 700;
    font-size: 18px;
}

.filter-body {
    padding: 25px;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #000;
}

.filter-group-title i {
    color: var(--primary-color);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.filter-group-title.collapsed i {
    transform: rotate(180deg);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.filter-option:hover .filter-label {
    color: var(--primary-color);
}

.filter-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.filter-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-checkbox.checked {
    background: var(--gradient);
    border-color: transparent;
}

.filter-checkbox.checked i {
    color: white;
    font-size: 12px;
}

.filter-label {
    font-size: 14px;
    color: #333;
    transition: color 0.3s ease;
}

.filter-count {
    font-size: 13px;
    color: #999;
    background: #f5f5f5;
    padding: 3px 10px;
    border-radius: 12px;
}

/* Price Range Slider */
.price-range-container {
    margin: 20px 0;
}

.price-slider {
    position: relative;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin: 30px 0 20px;
}

.price-slider-fill {
    position: absolute;
    height: 100%;
    background: var(--gradient);
    border-radius: 3px;
    left: 0;
    right: 30%;
}

.price-slider-handle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    right: 30%;
}

.price-range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.price-value {
    font-size: 14px;
    font-weight: 600;
}

.price-value.min {
    color: var(--primary-color);
}

.price-value.max {
    color: var(--secondary-color);
}

.price-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.price-button {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.price-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.price-button.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

/* Rating Stars */
.rating-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars-display {
    display: flex;
    gap: 3px;
}

.stars-display i {
    font-size: 16px;
}

.stars-display i.filled {
    color: var(--secondary-color);
}

.stars-display i.empty {
    color: #ddd;
}

.rating-text {
    font-size: 14px;
    color: #333;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.btn-apply-filters {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-apply-filters:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 173, 173, 0.4);
}

.btn-clear-filters {
    background: white;
    color: #666;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-filters:hover {
    color: var(--secondary-color);
}

/* Category Pills */
.category-pills {
    background: white;
    padding: 25px;
    margin: 50px 0 30px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.pills-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 5px 0;
}

.pills-scroll::-webkit-scrollbar {
    height: 6px;
}

.pills-scroll::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 3px;
}

.pill {
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
    color: #333;
}

.pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pill.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(49, 173, 173, 0.3);
}

.pill i {
    margin-right: 6px;
}

/* Products Grid */
.content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.products-section {
    flex: 1;
}

.products-section {
    padding-bottom: 0 !important;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.view-all-btn {
    background: white;
    border: 2px solid var(--primary-color);
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

/* UPDATED PRODUCT CARD STYLES */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(49, 173, 173, 0.2);
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 120%;
    overflow: hidden;
    background: #f8f8f8;
}

.product-image.desk-image {
    padding-top: 65%;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Product Overlay with View On Amazon Button */
.product-overlay {
    position: absolute;
    top: 150px;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.7); */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-view-amazon {
    background: white;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-amazon:hover {
    background: var(--gradient);
    color: white;
    transform: scale(1.05);
}

/* Wishlist Button */
.btn-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-wishlist:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.btn-wishlist i {
    font-size: 18px;
    color: #666;
    transition: color 0.3s ease;
}

.btn-wishlist:hover i {
    color: white;
}

/* Product Badge - Now used for category labels */
.product-badge {
    position: absolute;
    top: 10px;
    left: 15px;
    background: var(--gradient);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 1;
}

/* Product Category */
.product-category {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-rating-comparison .stars {
    color: #ffc107;
    font-size: 13px;
}

.product-rating-comparison .count {
    font-size: 12px;
    color: #999;
}


.price-current {
    font-size: 22px;
    font-weight: 800;
    color: #000;
}

.price-original {
    font-size: 15px;
    color: #999;
    text-decoration: line-through;
}

/* Add to Comparison Button */
.btn-add-comparison {
    width: 100%;
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-comparison:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 173, 173, 0.4);
}

/* Keep old Add to Cart for backwards compatibility */
.btn-add-cart {
    width: 100%;
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 173, 173, 0.4);
}


/* Testimonials Section */
.testimonials-section {
    /* padding: 80px 0; */
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.verified-badge {
    background: var(--gradient);
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.verified-badge i {
    margin-right: 8px;
}

.testimonials-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #000;
}

.testimonials-subtitle {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(49, 173, 173, 0.15);
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-number.purple {
    color: #9b59b6;
}

.stat-number.teal {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number.pink {
    color: var(--secondary-color);
}

.stat-number i {
    font-size: 32px;
    color: #ffc107;
    margin-left: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(49, 173, 173, 0.15);
}

.testimonial-header {
    margin-bottom: 15px;
}

.reviewer-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
}

.verified-small {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    margin-left: 8px;
}

.verified-small i {
    font-size: 11px;
}

.review-stars {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 5px;
}

.review-date {
    font-size: 12px;
    color: #999;
}

.product-reviewed {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.review-text {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.helpful-count {
    font-size: 13px;
    color: #666;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.helpful-count i {
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    padding: 80px 0;
    color: white;
}

.cta-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 16px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.btn-write-review {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 14px 36px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-write-review:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: #000;
    color: #999;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-title {
    color: white;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #222;
    margin-top: 40px;
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
}


/* Sidebar Widgets */
.widget {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.widget-title {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 15px;
    color: #000;
}

.todays-deals {
    background: linear-gradient(135deg, rgba(49, 173, 173, 0.1) 0%, rgba(255, 45, 141, 0.1) 100%);
    border: 2px solid rgba(49, 173, 173, 0.2);
}

.deal-item {
    padding: 10px 0;
    font-size: 14px;
    color: #555;
}

.deal-item strong {
    color: var(--primary-color);
    font-weight: 700;
}

.chair-finder {
    background: var(--gradient);
    color: white;
    border: none;
}

.chair-finder .widget-title {
    color: white;
}

.chair-option {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chair-option i {
    font-size: 8px;
}

.btn-start-quiz {
    width: 100%;
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-start-quiz:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.compare-widget {
    text-align: center;
}

.compare-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(49, 173, 173, 0.15) 0%, rgba(255, 45, 141, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.compare-icon i {
    font-size: 28px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-start-comparing-widget {
    width: 100%;
    background: white;
    border: 2px solid var(--primary-color);
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-start-comparing-widget:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
    border-color: transparent;
}

.need-help {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.need-help .widget-title {
    color: white;
}

.help-text {
    font-size: 13px;
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

.help-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
}

.btn-chat {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-chat:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.promo-banner {
    background: var(--gradient);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.promo-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.promo-text {
    font-size: 13px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.btn-shop-bundles {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-shop-bundles:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-illustration {
        padding: 20px 0;
    }

    .products-badge,
    .compare-time {
        display: none;
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-illustration {
        margin-top: 40px;
    }

    .vs-badge {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .product-card-a,
    .product-card-b {
        max-width: 240px;
    }

    .testimonials-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn-start-comparing,
    .hero-buttons .btn-view-examples {
        width: 100%;
    }

    .pills-scroll {
        justify-content: flex-start;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .view-all-btn {
        width: 100%;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 32px;
    }

    .testimonials-title {
        font-size: 28px;
    }

    .cta-title {
        font-size: 28px;
    }

    .testimonials-subtitle br,
    .cta-subtitle br {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .navbar-brand {
        font-size: 24px;
    }

    .category-pills {
        padding: 20px 15px;
    }

    .pill {
        padding: 10px 20px;
        font-size: 13px;
    }

    .filter-section {
        border-radius: 12px;
    }

    .filter-header {
        padding: 15px 20px;
        font-size: 16px;
    }

    .filter-body {
        padding: 20px;
    }

    .product-card-a,
    .product-card-b {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-illustration {
        padding: 20px;
    }

    .vs-badge {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .widget {
        padding: 20px;
    }

    .testimonials-section {
        padding: 50px 0;
    }

    .cta-section {
        padding: 50px 0;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-number i {
        font-size: 24px;
    }
}


/* Product Grid - 3 Cards Per Row */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px 0;
}

/* COMPACT PRODUCT CARD - EXACT MATCH */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    max-width: 380px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Product Image Container - Compact */
.product-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Best Seller Badge - Top Left, Compact */
.badge-best-seller {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* Discount Badge - Below Best Seller, Compact */
.badge-discount {
    position: absolute;
    top: 42px;
    left: 12px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* Wishlist Heart - Top Right, Compact */
.btn-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-wishlist:hover {
    transform: scale(1.1);
}

.btn-wishlist i {
    font-size: 18px;
    color: #666;
    transition: color 0.3s ease;
}

.btn-wishlist.active {
    background: var(--secondary-color);
}

.btn-wishlist.active i {
    color: white;
}

/* View On Amazon Button - NO OVERLAY, Always Visible */
.btn-view-amazon {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #000;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.btn-view-amazon:hover {
    background: #f8f9fa;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Product Category - Uppercase Gray, Small */
.product-category {
    font-size: 10px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

/* Product Name - BLACK Color (NOT TEAL) */
.product-name {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    color: #000;
    line-height: 1.3;
    min-height: auto;
}

.product-name:hover {
    color: var(--primary-color);
}

.product-rating-comparison .stars {
    color: var(--secondary-color);
    font-size: 14px;
    letter-spacing: 1px;
}

.product-rating-comparison .count {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* Price Section - LEFT ALIGNED */
.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-current {
    font-size: 24px;
    font-weight: 800;
    color: #000;
}

.price-original {
    font-size: 15px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

/* Add to Cart Button - Gradient, Full Width */
.btn-add-cart {
    width: 100%;
    background: var(--gradient);
    color: white;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(49, 173, 173, 0.4);
}

.btn-add-cart i {
    font-size: 15px;
}

/* For desks - slightly shorter image */
.product-image.desk-image {
    height: 220px;
}

/* Responsive - Maintain 3 columns on larger screens */
@media (max-width: 1400px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .product-image {
        height: 220px;
    }
}

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

    .product-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image {
        height: 200px;
    }

    .product-name {
        font-size: 15px;
    }

    .btn-view-amazon {
        padding: 8px 18px;
        font-size: 12px;
    }
}

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

    .product-image {
        height: 240px;
    }

    .product-card {
        max-width: 100%;
    }
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    min-width: 280px;
}

.notification-toast.show {
    transform: translateX(0);
}

.notification-toast i {
    font-size: 20px;
}

.notification-toast span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.notification-success {
    border-left: 4px solid #27ae60;
}

.notification-success i {
    color: #27ae60;
}

.notification-warning {
    border-left: 4px solid #f39c12;
}

.notification-warning i {
    color: #f39c12;
}

.notification-info {
    border-left: 4px solid #3498db;
}

.notification-info i {
    color: #3498db;
}

.notification-error {
    border-left: 4px solid #e74c3c;
}

.notification-error i {
    color: #e74c3c;
}

@media (max-width: 576px) {
    .notification-toast {
        left: 10px;
        right: 10px;
        min-width: auto;
        transform: translateY(-100px);
    }

    .notification-toast.show {
        transform: translateY(0);
    }
}

/* ================================================================================
   PRODUCT CARD STYLES - EXACT MATCH TO SCREENSHOT
   Replace your existing product card styles with these
   ================================================================================ */

/* Product Grid - 3 Cards Per Row */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

/* =================== PRODUCT CARD - EXACT MATCH =================== */
.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* =================== PRODUCT IMAGE CONTAINER =================== */
.product-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* For desks - shorter image */
.product-image.desk-image {
    height: 220px;
}

/* =================== BEST SELLER BADGE - TOP LEFT =================== */
.badge-best-seller,
.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(238, 90, 90, 0.4);
    text-transform: capitalize;
}

/* =================== DISCOUNT BADGE - BELOW BEST SELLER =================== */
.badge-discount {
    position: absolute;
    top: 52px;
    left: 14px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 800;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(238, 90, 90, 0.4);
}

/* When no Best Seller badge, discount moves to top */
.product-card:not(:has(.badge-best-seller)):not(:has(.product-badge)) .badge-discount {
    top: 14px;
}

/* =================== WISHLIST HEART - TOP RIGHT =================== */
.btn-wishlist {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-wishlist:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-wishlist i {
    font-size: 20px;
    color: #999;
    transition: all 0.3s ease;
}

.btn-wishlist:hover i {
    color: #ff2d8d;
}

.btn-wishlist.active {
    background: #ff2d8d;
}

.btn-wishlist.active i {
    color: white;
}

/* =================== VIEW ON AMAZON BUTTON =================== */
.btn-view-amazon {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #333;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
}

.product-card:hover .btn-view-amazon {
    opacity: 1;
    visibility: visible;
}

.btn-view-amazon:hover {
    background: #f8f9fa;
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* =================== PRODUCT INFO SECTION =================== */
.product-info {
    padding: 20px 22px 0;
}

/* Category Label - Uppercase Gray */
.product-category {
    font-size: 12px;
    font-weight: 600;
    color: #585858;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}


/* =================== RATING STARS =================== */
.product-rating-comparison {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-rating-comparison .stars {
    color: #ff2d8d;
    font-size: 20px;
    letter-spacing: 2px;
}

.product-rating-comparison .count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* =================== PRICE SECTION =================== */

.price-current {
    font-size: 26px;
    font-weight: 800;
    color: #000;
}

.price-original {
    font-size: 16px;
    color: #aaa;
    text-decoration: line-through;
    font-weight: 500;
}

/* =================== ADD TO CART BUTTON - GRADIENT =================== */
.btn-add-cart {
    width: 100%;
    background: linear-gradient(135deg, #31adad 0%, #ff2d8d 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(49, 173, 173, 0.4);
}

.btn-add-cart i {
    font-size: 16px;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .product-image {
        height: 250px;
    }
}

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

    .product-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-image {
        height: 220px;
    }

    .product-info {
        padding: 16px 18px 18px;
    }

    .product-name {
        font-size: 15px;
    }

    .price-current {
        font-size: 22px;
    }

    .btn-view-amazon {
        padding: 10px 22px;
        font-size: 13px;
    }

    .btn-add-cart {
        padding: 12px 16px;
        font-size: 14px;
    }
}

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

    .product-image {
        height: 280px;
    }

    .product-card {
        max-width: 100%;
    }
}

/* =================== NOTIFICATION TOAST =================== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    min-width: 280px;
}

.notification.show {
    transform: translateX(0);
}

.notification i {
    font-size: 22px;
}

.notification span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.notification-success {
    border-left: 4px solid #27ae60;
}

.notification-success i {
    color: #27ae60;
}

.notification-warning {
    border-left: 4px solid #f39c12;
}

.notification-warning i {
    color: #f39c12;
}

.notification-info {
    border-left: 4px solid #3498db;
}

.notification-info i {
    color: #3498db;
}

@media (max-width: 576px) {
    .notification {
        left: 15px;
        right: 15px;
        min-width: auto;
        transform: translateY(-100px);
    }

    .notification.show {
        transform: translateY(0);
    }
}



/* =================== POPUP FOOTER (STICKY BUTTONS) =================== */
.filter-popup-footer {
    padding: 16px 20px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.btn-clear-popup {
    flex: 1;
    padding: 14px 20px;
    background: #f5f5f5;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-popup:hover {
    background: #eee;
    color: #ff2d8d;
}

.btn-apply-popup {
    flex: 2;
    padding: 14px 20px;
    background: linear-gradient(135deg, #31adad 0%, #ff2d8d 100%);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-apply-popup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 173, 173, 0.4);
}

.btn-apply-popup i {
    font-size: 16px;
}

/* =================== ACTIVE FILTERS CHIPS =================== */
.active-filters-section {
    padding: 12px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: none;
}

.active-filters-section.has-filters {
    display: block;
}

.active-filters-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.active-filters-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: white;
    border: 1px solid #31adad;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #31adad;
}

.filter-chip .remove-chip {
    width: 16px;
    height: 16px;
    background: rgba(49, 173, 173, 0.2);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-chip .remove-chip:hover {
    background: #ff2d8d;
    color: white;
}

.filter-chip .remove-chip i {
    font-size: 10px;
}

/* =================== BODY SCROLL LOCK =================== */
body.filter-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* =================== ANIMATIONS =================== */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.filter-sidebar-popup.active {
    animation: slideInRight 0.4s ease forwards;
}

.filter-overlay.active {
    animation: fadeIn 0.3s ease forwards;
}

@media (max-width: 767px) {
    .d-mobile-none {
        display: none !important;
    }

    /* Hide default sidebar on mobile */
    .sidebar {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .d-tab-none {
        display: none !important;
    }

    /* Hide default sidebar on tablet */
    .sidebar {
        display: none !important;
    }
}

/* Show sidebar only on desktop */
@media (min-width: 1200px) {
    .sidebar {
        display: block !important;
    }

    /* Hide mobile filter button on desktop */
    .mobile-filter-btn,
    .filter-overlay {
        display: none !important;
    }
}

/* =================== FLOATING FILTER BUTTON =================== */
.mobile-filter-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #31adad 0%, #2a9494 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 6px 25px rgba(49, 173, 173, 0.5);
    transition: all 0.3s ease;
}

.mobile-filter-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(49, 173, 173, 0.6);
}

.mobile-filter-btn:active {
    transform: scale(0.95);
}

.mobile-filter-btn i {
    font-size: 24px;
    color: white;
}

/* Filter count badge on button */
.mobile-filter-btn .filter-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: #ff2d8d;
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 45, 141, 0.4);
}

.mobile-filter-btn .filter-count-badge.hidden {
    display: none;
}

/* Button text label (optional) */
.mobile-filter-btn .btn-label {
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-filter-btn:hover .btn-label {
    opacity: 1;
    visibility: visible;
}

.mobile-filter-btn .btn-label::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

/* =================== FILTER OVERLAY =================== */
.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.filter-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =================== FILTER SIDEBAR POPUP =================== */
.filter-sidebar-popup {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 380px;
    height: 100%;
    background: #fff;
    z-index: 1060;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
}

.filter-sidebar-popup.active {
    right: 0;
}

/* Tablet - wider popup */
@media (min-width: 768px) and (max-width: 1199px) {
    .filter-sidebar-popup {
        max-width: 420px;
    }
}

/* =================== POPUP HEADER =================== */
.filter-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: linear-gradient(135deg, #31adad 0%, #ff2d8d 100%);
    color: white;
    flex-shrink: 0;
}

.filter-popup-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.filter-popup-title i {
    font-size: 20px;
}

.filter-popup-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.filter-popup-close i {
    font-size: 20px;
    color: white;
}

/* =================== POPUP BODY (SCROLLABLE) =================== */
.filter-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar for popup */
.filter-popup-body::-webkit-scrollbar {
    width: 6px;
}

.filter-popup-body::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.filter-popup-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #31adad, #ff2d8d);
    border-radius: 3px;
}

/* =================== FILTER GROUPS IN POPUP =================== */
.filter-popup-body .filter-group {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.filter-popup-body .filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-popup-body .filter-group-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 8px 0;
}

.filter-popup-body .filter-group-title i {
    color: #31adad;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.filter-popup-body .filter-group-title.collapsed i {
    transform: rotate(180deg);
}

.filter-popup-body .filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-popup-body .filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-popup-body .filter-option:hover {
    background: rgba(49, 173, 173, 0.1);
}

.filter-popup-body .filter-option.selected {
    background: rgba(49, 173, 173, 0.15);
    border: 1px solid rgba(49, 173, 173, 0.3);
}

.filter-popup-body .filter-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.filter-popup-body .filter-checkbox.checked {
    background: linear-gradient(135deg, #31adad, #ff2d8d);
    border-color: transparent;
}

.filter-popup-body .filter-checkbox.checked i {
    color: white;
    font-size: 12px;
}

.filter-popup-body .filter-label {
    font-size: 14px;
    color: #333;
    flex: 1;
    margin-left: 10px;
}

.filter-popup-body .filter-count {
    font-size: 12px;
    color: #999;
    background: #eee;
    padding: 3px 10px;
    border-radius: 12px;
}

/* =================== PRICE RANGE IN POPUP =================== */
.filter-popup-body .price-range-container {
    margin-top: 10px;
}

.filter-popup-body .price-slider {
    position: relative;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin: 25px 0 18px;
}

.filter-popup-body .price-slider-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(135deg, #31adad, #ff2d8d);
    border-radius: 3px;
    left: 0;
    right: 30%;
}

.filter-popup-body .price-slider-handle {
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid #ff2d8d;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    right: 30%;
}

.filter-popup-body .price-range-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.filter-popup-body .price-value {
    font-size: 14px;
    font-weight: 600;
}

.filter-popup-body .price-value.min {
    color: #31adad;
}

.filter-popup-body .price-value.max {
    color: #ff2d8d;
}

.filter-popup-body .price-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.filter-popup-body .price-button {
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.filter-popup-body .price-button:hover {
    border-color: #31adad;
    color: #31adad;
}

.filter-popup-body .price-button.active {
    background: linear-gradient(135deg, #31adad, #ff2d8d);
    color: white;
    border-color: transparent;
}

/* =================== RATING STARS IN POPUP =================== */
.filter-popup-body .rating-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-popup-body .stars-display {
    display: flex;
    gap: 2px;
}

.filter-popup-body .stars-display i {
    font-size: 16px;
}

.filter-popup-body .stars-display i.filled {
    color: #ff2d8d;
}

.filter-popup-body .stars-display i.empty {
    color: #ddd;
}

.filter-popup-body .rating-text {
    font-size: 14px;
    color: #666;
}


.browse-filters-btn {
    display: none;
    width: 100%;
    background: linear-gradient(135deg, #31adad 0%, #ff2d8d 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(49, 173, 173, 0.3);
}

.browse-filters-btn i {
    margin-right: 10px;
    font-size: 18px;
}

.browse-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 173, 173, 0.4);
}

/* =================== FILTERS BOTTOM SHEET =================== */
.filters-bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    max-height: 75vh;
    background: white;
    border-radius: 24px 24px 0 0;
    z-index: 1060;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.filters-bottom-sheet.active {
    bottom: 0;
}

/* Bottom sheet handle */
.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 12px auto 16px;
}

/* Bottom sheet header */
.bottom-sheet-header {
    padding: 0 20px 16px;
    border-bottom: 1px solid #eee;
}

.bottom-sheet-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

/* Bottom sheet body - scrollable pills */
.bottom-sheet-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

.bottom-sheet-body::-webkit-scrollbar {
    width: 6px;
}

.bottom-sheet-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #31adad, #ff2d8d);
    border-radius: 3px;
}

/* Pills grid in bottom sheet */
.pills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pills-grid .pill {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
    color: #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pills-grid .pill i {
    font-size: 24px;
    margin-bottom: 4px;
}

.pills-grid .pill:hover,
.pills-grid .pill.active {
    background: linear-gradient(135deg, #31adad 0%, #ff2d8d 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(49, 173, 173, 0.3);
}

/* Bottom sheet footer */
.bottom-sheet-footer {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 0 0 24px 24px;
}

.btn-close-filters {
    width: 100%;
    background: linear-gradient(135deg, #31adad 0%, #ff2d8d 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-filters:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 173, 173, 0.4);
}

.filters-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.filters-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Body scroll lock when bottom sheet is open */
body.filters-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}
