/* Tabs Container */
.tabs-wrapper {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 2rem;
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    position: sticky;
    top: 60px;
    z-index: 90;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--text-muted);
    padding: 0.45rem 0.95rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    background-color: #f8fafc;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn:hover {
    color: var(--text-main);
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.tab-btn.active {
    color: white;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-color: #0f172a;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

/* Main Area */
.container {
    max-width: 1240px;
    width: 100%;
    margin: 2rem auto;
    padding: 0 1.5rem;
    flex-grow: 1;
}

.section-header {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Premium Product Cards Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.deal-card {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: #cbd5e1;
}

.card-image-wrapper {
    height: 200px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.card-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.shop-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(15, 23, 42, 0.85);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

.badge-discount {
    background-color: #ffedd5;
    color: #ea580c;
}

.badge-tag {
    background-color: #f1f5f9;
    color: #475569;
}

.badge-hot {
    background-color: #fee2e2;
    color: #ef4444;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-group {
    display: flex;
    flex-direction: column;
}

.sell-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
}

.msrp-price {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-top: 2px;
}

.action-btn {
    font-weight: 700;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.75rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.action-btn.primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.15);
}

.action-btn.primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    box-shadow: 0 6px 14px rgba(234, 88, 12, 0.25);
}

.action-btn.secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid var(--border);
}

.action-btn.secondary:hover {
    background: #e2e8f0;
    color: var(--text-main);
    border-color: #cbd5e1;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.card-actions .action-btn {
    text-align: center;
}

.card-actions .action-btn.secondary {
    flex: 1;
}

.card-actions .action-btn.primary {
    flex: 1.5;
}

/* Modern Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3.5rem 0;
    gap: 0.4rem;
}

.pagination-btn {
    text-decoration: none;
    color: var(--text-muted);
    background: white;
    border: 1px solid var(--border);
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.pagination-number {
    width: 38px;
    padding: 0;
}

.pagination-btn:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: var(--text-main);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border-color: #f97316;
    color: white;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}

/* Horizontal Filter Bar Styling */
.filter-bar-wrapper {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
}

.horizontal-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1.5rem;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-grow: 1;
    min-width: 150px;
}

.filter-item.price-range-group {
    min-width: 220px;
    flex-grow: 1.5;
}

.filter-item label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
}

.form-select-sm,
.form-input-sm {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: #f8fafc;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
}

.form-select-sm:focus,
.form-input-sm:focus {
    border-color: var(--primary-light);
    background: white;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.range-separator {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.btn-apply-sm {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border: none;
    padding: 0.65rem 1.5rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    height: 38px;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.btn-apply-sm:hover {
    opacity: 0.95;
}

@media (max-width: 768px) {
    .horizontal-filter-form {
        gap: 1rem;
    }

    .filter-item {
        flex-basis: calc(50% - 0.5rem);
    }

    .filter-item.price-range-group {
        flex-basis: 100%;
    }

    .btn-apply-sm {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* ==========================================================================
   NEW HOMEPAGE STYLES (Purple Hero, Store Cards, Sidebar Layout)
   ========================================================================== */

/* Hero Banner */
/* Hero Banner */
.hero-purple-section {
    background: radial-gradient(120% 120% at 50% 0%, #f5f3ff 0%, #ffffff 100%);
    color: var(--text-main);
    padding: 4.5rem 1.5rem 6.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-purple-inner {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.hero-purple-title {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-purple-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: #4f46e5;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    font-weight: 500;
}

/* Search Bar in Hero */
.hero-search-wrapper {
    max-width: 680px;
    margin: 0 auto 2rem;
    background: white;
    border-radius: 99px;
    padding: 6px 6px 6px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.1), 0 8px 10px -6px rgba(124, 58, 237, 0.05);
    border: 2px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-search-wrapper:focus-within {
    border-color: #a78bfa;
    box-shadow: 0 15px 30px -5px rgba(124, 58, 237, 0.15), 0 10px 15px -6px rgba(124, 58, 237, 0.08);
}

.hero-search-icon {
    color: #8b5cf6;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.05rem;
    color: #1e1b4b;
    background: transparent;
    font-family: inherit;
    width: 100%;
}

.hero-search-input::placeholder {
    color: #94a3b8;
}

.hero-search-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    border: none;
    padding: 0.8rem 2.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #ea580c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
}

/* Commodity Ticker */
.commodity-ticker {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4c1d95;
}

.commodity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.06);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    border: 1px solid rgba(139, 92, 246, 0.12);
}

.commodity-change {
    font-weight: 700;
    font-size: 0.8rem;
}

.commodity-change.up {
    color: #16a34a;
}

.commodity-change.down {
    color: #dc2626;
}

/* Deal Score circular progress badge */
.deal-score-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}
.progress-ring {
    transform: rotate(-90deg);
}
.progress-ring__circle-bg {
    stroke: #f1f5f9;
}
.progress-ring__circle {
    transition: stroke-dashoffset 0.35s;
    transform-origin: 50% 50%;
}
.deal-score-text {
    position: absolute;
    font-size: 0.72rem;
    font-weight: 800;
    color: #16a34a;
}

/* Store Navigation Cards */
.store-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1240px;
    margin: -3.5rem auto 3.5rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.store-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.store-card-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.store-logo-wrapper {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
}

.store-card.amazon {
    border-left: 4px solid #f97316;
}
.store-card.amazon .store-logo-wrapper {
    background: #ffedd5;
    color: #f97316;
}

.store-card.flipkart {
    border-left: 4px solid #2563eb;
}
.store-card.flipkart .store-logo-wrapper {
    background: #dbeafe;
    color: #2563eb;
}

.store-card.myntra {
    border-left: 4px solid #db2777;
}
.store-card.myntra .store-logo-wrapper {
    background: #fce7f3;
    color: #db2777;
}

.store-card-title {
    font-size: 1rem;
    font-weight: 750;
    color: var(--text-main);
    margin-bottom: 0.15rem;
}

.store-card-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.store-card-arrow {
    color: #9ca3af;
    transition: transform 0.2s;
}

.store-card:hover .store-card-arrow {
    transform: translateX(3px);
    color: var(--text-main);
}

/* Featured Deals Section */
.featured-section {
    margin-bottom: 4rem;
}

.centered-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.centered-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.centered-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.featured-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.featured-deal-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: all 0.25s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.featured-deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e1;
}

.feat-image-wrapper {
    height: 150px;
    background: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.feat-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.feat-meta-top {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feat-time {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.feat-discount {
    background: #22c55e;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
}

.feat-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.feat-store {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.feat-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.feat-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.feat-price-group {
    display: flex;
    flex-direction: column;
}

.feat-sell-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
}

.feat-msrp {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.feat-score-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #16a34a;
}

/* Sidebar Layout for Homepage Latest Deals */
.homepage-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.sidebar-filters {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    position: sticky;
    top: 80px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.filter-group {
    margin-bottom: 1.75rem;
}

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

.filter-group-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.filter-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    user-select: none;
}

.filter-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid var(--border);
    accent-color: #7c3aed;
    cursor: pointer;
}

.sidebar-price-range {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-price-range input {
    width: 100%;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    border: 1.5px solid var(--border);
    font-size: 0.85rem;
}

.btn-sidebar-apply {
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    border: none;
    padding: 0.65rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
    transition: all 0.2s;
}

.btn-sidebar-apply:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #ea580c 100%);
    box-shadow: 0 6px 14px rgba(249, 115, 22, 0.35);
}

/* Custom Radio Buttons */
.filter-checkbox-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    outline: none;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background-color: white;
    cursor: pointer;
    vertical-align: middle;
}
.filter-checkbox-label input[type="radio"]:checked {
    border-color: var(--accent);
    background-color: white;
}
.filter-checkbox-label input[type="radio"]:checked::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    display: block;
}
.filter-checkbox-label input[type="radio"]:focus-visible {
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

/* Featured Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
}
.featured-slider-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0.75rem 0.25rem;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}
.featured-slider-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}
.slider-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 280px;
    scroll-snap-align: start;
}
@media (max-width: 1024px) {
    .slider-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}
@media (max-width: 640px) {
    .slider-card {
        flex: 0 0 100%;
    }
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--text-main);
    transition: all 0.2s ease;
}
.slider-arrow:hover {
    background: #f8fafc;
    color: var(--accent);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.slider-arrow.prev {
    left: -22px;
}
.slider-arrow.next {
    right: -22px;
}
@media (max-width: 1280px) {
    .slider-arrow.prev {
        left: -10px;
    }
    .slider-arrow.next {
        right: -10px;
    }
}

/* Dual Range Price Slider */
.price-slider-container {
    position: relative;
    width: 100%;
    height: 6px;
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
    background: #e2e8f0;
    border-radius: 5px;
}
.slider-track {
    position: absolute;
    height: 100%;
    background: var(--accent);
    border-radius: 5px;
}
.price-slider-container input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    top: 0;
    left: 0;
    margin: 0;
}
.price-slider-container input[type="range"]::-webkit-slider-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: white;
    border: 2.5px solid var(--accent);
    cursor: pointer;
    pointer-events: auto;
    -webkit-appearance: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: transform 0.1s ease;
}
.price-slider-container input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
.price-slider-container input[type="range"]::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: white;
    border: 2.5px solid var(--accent);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: transform 0.1s ease;
}
.price-slider-container input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
}
.price-input-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.mobile-filter-toggle-btn {
    display: none;
}

@media (max-width: 1024px) {
    .homepage-layout {
        grid-template-columns: 1fr;
    }
    .sidebar-filters {
        display: none;
        position: static;
        width: 100%;
        margin-bottom: 1.5rem;
    }
    .sidebar-filters.active {
        display: block;
    }
    .mobile-filter-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        color: white;
        border: none;
        padding: 0.75rem 1rem;
        font-weight: 700;
        border-radius: 8px;
        cursor: pointer;
        font-size: 0.9rem;
        margin-bottom: 1rem;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
        transition: all 0.2s;
    }
    .mobile-filter-toggle-btn:hover {
        opacity: 0.9;
    }
}

/* Responsive Deals Grid (2 columns on mobile) */
@media (max-width: 640px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .deal-card {
        border-radius: 12px !important;
    }
    
    .card-image-wrapper {
        height: 130px !important;
        padding: 0.75rem !important;
    }
    
    .card-body {
        padding: 0.75rem !important;
    }
    
    .product-title {
        font-size: 0.78rem !important;
        height: 2.8em !important;
        margin-bottom: 0.5rem !important;
    }
    
    .badges-row {
        gap: 0.2rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .badge {
        font-size: 0.55rem !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
    }
    
    .price-row {
        margin-bottom: 0.5rem !important;
        flex-wrap: wrap !important;
        gap: 0.25rem !important;
    }
    
    .sell-price {
        font-size: 1.05rem !important;
    }
    
    .msrp-price {
        font-size: 0.68rem !important;
    }
    
    .deal-score-badge {
        transform: scale(0.8) !important;
        margin-right: -4px !important;
    }
    
    .card-actions {
        flex-direction: column !important;
        gap: 0.35rem !important;
    }
    
    .card-actions .action-btn {
        width: 100% !important;
        padding: 0.4rem 0.5rem !important;
        font-size: 0.7rem !important;
        border-radius: 6px !important;
    }

    /* Make SEO section display in 1 column on mobile */
    .category-seo-content {
        padding: 1.5rem !important;
    }
    .category-seo-content div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}