/* Products Page Redesign v2 - Level 2 (Category Product Listing)
   Additional styles for product grid, search bar, pagination
   ============================================================= */

/* Search Bar */
.search-bar-v2 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

@media (min-width: 640px) {
    .search-bar-v2 {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.search-form-v2 {
    position: relative;
    flex: 1;
    max-width: 500px;
}

/* Rainbow border container */
.rainbow-search-border-v2 {
    position: relative;
    padding: 3px;
    border-radius: 8px;
    background: linear-gradient(
        90deg,
        #1776C8 0%,
        #2B90E7 20%,
        #1776C8 40%,
        #125A9C 60%,
        #2B90E7 80%,
        #1776C8 100%
    );
    background-size: 200% 100%;
    animation: rainbow-shimmer-v2 3s linear infinite;
    transition: all 0.2s;
}

.rainbow-search-border-v2:focus-within {
    background: #1776C8 !important;
    animation: none !important;
    box-shadow: 0 4px 12px rgba(23, 118, 200, 0.4),
                inset 0 2px 4px rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

@keyframes rainbow-shimmer-v2 {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Inner container with white background */
.search-input-wrapper-v2 {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 6px;
}

/* Search Icon Container with Animated Stars */
.search-icon-container-v2 {
    position: absolute;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.search-icon-wrapper-v2 {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon-wrapper-v2 svg.search-icon-v2 {
    width: 20px;
    height: 20px;
    color: var(--gray-600);
    transition: color 0.3s;
    position: relative;
    z-index: 10;
}

.rainbow-search-border-v2:focus-within .search-icon-wrapper-v2 svg.search-icon-v2 {
    color: var(--primary-600);
}

/* Animated Stars */
.star-animate-v2-1 {
    position: absolute;
    width: 20px;
    height: 20px;
    top: -8px;
    left: 18px;
    animation: star-rotate-v2-1 4s ease-in-out infinite;
}

.star-animate-v2-2 {
    position: absolute;
    width: 24px;
    height: 24px;
    bottom: -10px;
    left: -6px;
    animation: star-rotate-v2-2 5s ease-in-out infinite;
}

.star-animate-v2-3 {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0px;
    right: -12px;
    animation: star-rotate-v2-3 3.5s ease-in-out infinite;
}

@keyframes star-rotate-v2-1 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 1;
    }
}

@keyframes star-rotate-v2-2 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: rotate(-180deg) scale(1.3);
        opacity: 1;
    }
}

@keyframes star-rotate-v2-3 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: rotate(90deg) scale(1.1);
        opacity: 1;
    }
}

.search-input-v2 {
    flex: 1;
    padding: 14px 48px 14px 60px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    color: #2d2d2d;
    outline: none;
}

.search-input-v2::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

.search-input-v2:focus::placeholder {
    opacity: 0;
}

.search-btn-v2 {
    font-weight: 600;
    font-size: 14px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 12px;
    background: transparent;
    color: var(--primary-600);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn-v2:hover {
    background: var(--primary-100);
}

.search-btn-v2 svg {
    width: 20px;
    height: 20px;
}

.results-count-v2 {
    font-size: 14px;
    color: var(--gray-500);
}

.results-count-v2 strong {
    color: var(--gray-900);
    font-weight: 600;
}

/* Product Grid */
.product-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 480px) {
    .product-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid-v2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Product Card */
.product-card-v2 {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.product-card-v2:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    text-decoration: none;
}

/* Product Image */
.product-image-v2 {
    position: relative;
    height: 220px;
    background: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-v2 img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.3s;
}

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

/* Product Overlay */
.product-overlay-v2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(23, 118, 200, 0.9), rgba(23, 118, 200, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.design-now-btn-v2 {
    background: white;
    color: var(--primary-600);
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(16px);
    transition: transform 0.3s;
}

.product-card-v2:hover .design-now-btn-v2 {
    transform: translateY(0);
}

/* Bestseller/Trending Badge */
.bestseller-badge-v2 {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #10B981;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
}

/* Product Content */
.product-content-v2 {
    padding: 16px;
}

.product-brand-v2 {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 4px 0;
    transition: color 0.2s;
}

.product-card-v2:hover .product-brand-v2 {
    color: var(--primary-600);
}

.product-name-v2 {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-colors-v2 {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--gray-500);
}

.product-colors-v2 svg {
    color: var(--gray-400);
}

.product-price-v2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-600);
}

/* Pagination */
.pagination-v2 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

@media (min-width: 640px) {
    .pagination-v2 {
        flex-direction: row;
        justify-content: space-between;
    }
}

.page-info-v2 {
    font-size: 14px;
    color: var(--gray-500);
}

.page-buttons-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-btn-v2 {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: white;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.page-btn-v2:hover {
    border-color: var(--primary-600);
    color: var(--primary-600);
}

.page-btn-v2.active {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: white;
}

.page-btn-v2.next {
    padding: 0 16px;
}

.page-dots-v2 {
    color: var(--gray-400);
    padding: 0 4px;
}

/* Filter/Sort Header (optional - can add later) */
.filter-header-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.filter-btn-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn-v2:hover {
    border-color: var(--primary-600);
    color: var(--primary-600);
}

.sort-select-v2 {
    padding: 10px 36px 10px 16px;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    color: var(--gray-600);
    cursor: pointer;
    appearance: none;
    transition: border-color 0.2s;
}

.sort-select-v2:hover,
.sort-select-v2:focus {
    border-color: var(--primary-600);
    outline: none;
}

/* Subcategory active state in sidebar */
.sidebar-subcategories-v2 a.active {
    color: var(--primary-600);
    font-weight: 500;
}

/* Responsive adjustments for product grid */
@media (max-width: 479px) {
    .product-image-v2 {
        height: 180px;
    }

    .product-content-v2 {
        padding: 12px;
    }

    .product-brand-v2 {
        font-size: 13px;
    }

    .product-name-v2 {
        font-size: 12px;
    }

    .product-price-v2 {
        font-size: 14px;
    }
}

/* Loading skeleton (for future use) */
.product-skeleton-v2 {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.product-skeleton-v2 .skeleton-image {
    height: 220px;
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.product-skeleton-v2 .skeleton-content {
    padding: 16px;
}

.product-skeleton-v2 .skeleton-line {
    height: 16px;
    background: var(--gray-100);
    border-radius: 4px;
    margin-bottom: 8px;
}

.product-skeleton-v2 .skeleton-line.short {
    width: 60%;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Empty state */
.empty-state-v2 {
    text-align: center;
    padding: 64px 24px;
}

.empty-state-v2 svg {
    width: 64px;
    height: 64px;
    color: var(--gray-300);
    margin-bottom: 16px;
}

.empty-state-v2 h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 8px 0;
}

.empty-state-v2 p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

/* Hide Level 2 search bar on mobile - use navbar search instead */
@media (max-width: 767px) {
    .search-bar-v2 {
        display: none;
    }
}

/* Mobile product grid optimizations */
@media (max-width: 479px) {
    .product-grid-v2 {
        gap: 8px;
    }
    
    .product-card-v2 {
        border-radius: 8px;
    }
    
    .product-image-v2 {
        height: 140px;
    }
    
    .product-content-v2 {
        padding: 10px;
    }
    
    .product-brand-v2 {
        font-size: 12px;
    }
    
    .product-name-v2 {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .product-price-v2 {
        font-size: 14px;
    }
    
    .product-colors-v2 {
        font-size: 10px;
    }
}

/* Active subcategory highlight */
.sidebar-subcategories-v2 a.active {
    color: var(--primary-600);
    font-weight: 600;
    background: var(--primary-50);
    border-radius: 4px;
}

/* ============================================
   MOBILE SUBCATEGORIES & FILTERS
   ============================================ */

/* Mobile Subcategories Horizontal Scroller */
.mobile-subcats-v2 {
    display: none;
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px 0;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.mobile-subcats-v2::-webkit-scrollbar {
    display: none;
}

@media (max-width: 767px) {
    .mobile-subcats-v2 {
        display: flex;
        gap: 8px;
    }
}

.mobile-subcat-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}

.mobile-subcat-pill:hover,
.mobile-subcat-pill.active {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: white;
    text-decoration: none;
}

/* Mobile Filter Bar */
.mobile-filter-bar-v2 {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 16px;
}

@media (max-width: 767px) {
    .mobile-filter-bar-v2 {
        display: flex;
    }
}

.mobile-filter-btn-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-filter-btn-v2:hover {
    border-color: var(--primary-600);
    color: var(--primary-600);
}

.mobile-sort-v2 {
    padding: 10px 32px 10px 12px;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    appearance: none;
    background-image: url(data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg width=16 height=16 viewBox=0 0 24 24 fill=none stroke=%236b7280 stroke-width=2%3E%3Cpath d=M6 9l6 6 6-6/%3E%3C/svg%3E);
    background-repeat: no-repeat;
    background-position: right 8px center;
}

/* Mobile Filter Panel (Slide-out) */
.mobile-filter-panel-v2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: white;
    z-index: 10001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-filter-panel-v2.open {
    transform: translateX(0);
}

.filter-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.filter-panel-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.filter-panel-close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--gray-500);
}

.filter-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.filter-section {
    margin-bottom: 24px;
}

.filter-section h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
}

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

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-700);
}

.filter-checkbox input[type=checkbox] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    cursor: pointer;
}

.filter-panel-footer {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--gray-200);
}

.filter-clear-btn {
    flex: 1;
    padding: 12px;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.filter-apply-btn {
    flex: 1;
    padding: 12px;
    background: var(--primary-600);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
}

/* Overlay */
.mobile-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

/* Hide desktop sidebar on mobile */
@media (max-width: 767px) {
    .products-sidebar-v2 {
        display: none;
    }
    
    .products-layout-v2 {
        display: block;
    }
}
/* ========================================
   MOBILE FILTERS - FIXED STYLES
   ======================================== */

/* Mobile Subcategories Scroller */
.mobile-subcats-v2 {
    display: none;
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px 16px;
    margin: 0 -16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.mobile-subcats-v2::-webkit-scrollbar {
    display: none;
}

@media (max-width: 991px) {
    .mobile-subcats-v2 {
        display: flex;
        gap: 8px;
    }
}

.mobile-subcat-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #495057;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-subcat-pill:hover {
    border-color: #1776C8;
    color: #1776C8;
    text-decoration: none;
}

.mobile-subcat-pill.active {
    background: #1776C8;
    border-color: #1776C8;
    color: white;
}

/* Mobile Filter Bar */
.mobile-filter-bar-v2 {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid #e9ecef;
    gap: 12px;
}

@media (max-width: 991px) {
    .mobile-filter-bar-v2 {
        display: flex;
    }
}

.mobile-filter-btn-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #212529;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-filter-btn-v2:hover {
    border-color: #1776C8;
    color: #1776C8;
}

.mobile-filter-btn-v2 svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.mobile-sort-v2 {
    padding: 10px 32px 10px 12px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    color: #212529;
    cursor: pointer;
    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='%23495057' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 150px;
}

.mobile-sort-v2:focus {
    outline: none;
    border-color: #1776C8;
}

/* Mobile Filter Panel (Slide-out) */
.mobile-filter-panel-v2 {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: white;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-filter-panel-v2.open {
    right: 0;
}

.filter-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.filter-panel-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.filter-panel-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.filter-panel-close:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.filter-panel-close svg {
    width: 20px;
    height: 20px;
    stroke: #495057;
}

.filter-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.filter-section {
    margin-bottom: 24px;
}

.filter-section h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.filter-checkbox:hover {
    background: #e9ecef;
}

.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #1776C8;
    cursor: pointer;
}

.filter-checkbox span {
    font-size: 14px;
    color: #212529;
}

.filter-panel-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #e9ecef;
    background: white;
}

.filter-clear-btn {
    flex: 1;
    padding: 12px 16px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-clear-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.filter-apply-btn {
    flex: 1;
    padding: 12px 16px;
    background: #1776C8;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

.filter-apply-btn:hover {
    background: #125a9c;
}

/* Overlay */
.mobile-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-filter-overlay.show {
    opacity: 1;
    visibility: visible;
}
/* ========================================
   REDESIGNED PRODUCT CARDS
   ======================================== */

/* Product Card - Redesigned */
.product-card-v2 {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
    text-decoration: none;
}

/* Product Image */
.product-image-v2 {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: white;
}

.product-image-v2 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.3s ease;
}

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

/* Design Now Overlay */
.product-overlay-v2 {
    position: absolute;
    inset: 0;
    background: rgba(23, 118, 200, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.design-now-btn-v2 {
    background: white;
    color: #1776C8;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.product-card-v2:hover .design-now-btn-v2 {
    transform: translateY(0);
}

/* Product Content */
.product-content-v2 {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Product Name - Now Primary */
.product-name-v2 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Brand/SKU - Now Secondary */
.product-brand-v2 {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin: 0;
    order: 0;
}

/* Color Swatches */
.product-colors-v2 {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.color-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.color-swatch:hover {
    transform: scale(1.2);
    z-index: 1;
}

/* White color swatch needs visible border */
.color-swatch[style*="ffffff"],
.color-swatch[style*="FFFFFF"] {
    border: 1px solid #ddd;
}

.color-more {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    padding: 2px 6px;
    background: #f5f5f5;
    border-radius: 10px;
}

/* Product Meta */
.product-meta-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
}

.product-price-v2 {
    font-size: 18px;
    font-weight: 700;
    color: #1776C8;
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .product-card-v2 {
        border-radius: 8px;
    }

    .product-image-v2 img {
        padding: 12px;
    }

    .product-content-v2 {
        padding: 12px;
        gap: 6px;
    }

    .product-name-v2 {
        font-size: 13px;
    }

    .product-brand-v2 {
        font-size: 11px;
    }

    .color-swatch {
        width: 14px;
        height: 14px;
    }

    .color-more {
        font-size: 10px;
        padding: 1px 4px;
    }

    .product-price-v2 {
        font-size: 15px;
    }

    .design-now-btn-v2 {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Updated Price Styling */
.product-price-v2 {
    font-size: 15px;
    font-weight: 600;
    color: #1776C8;
}

/* Style "Starting from" part lighter */
.product-meta-v2 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

/* Color more badge styling */
.color-more {
    font-size: 11px;
    font-weight: 500;
    color: #666;
    padding: 2px 8px;
    background: #f0f0f0;
    border-radius: 12px;
    white-space: nowrap;
}

/* Size Range Styling */
.product-sizes-v2 {
    font-size: 12px;
    color: #888;
    margin: 2px 0 0 0;
    font-weight: 400;
}

/* Enhanced Hover Effects */
.product-card-v2 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.product-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(23, 118, 200, 0.15), 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: #1776C8;
}

/* Image zoom on hover */
.product-image-v2 {
    overflow: hidden;
}

.product-image-v2 img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Design Now button enhanced animation */
.design-now-btn-v2 {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-v2:hover .design-now-btn-v2 {
    transform: translateY(0);
    opacity: 1;
}

/* Overlay fade */
.product-overlay-v2 {
    transition: all 0.3s ease;
    background: rgba(23, 118, 200, 0);
}

.product-card-v2:hover .product-overlay-v2 {
    background: rgba(23, 118, 200, 0.12);
}

/* Price color change on hover */
.product-card-v2:hover .product-price-v2 {
    color: #125a9c;
}

/* Subtle color swatch scale on card hover */
.product-card-v2:hover .color-swatch {
    transform: scale(1.1);
}

.color-swatch {
    transition: transform 0.2s ease;
}

/* Size range grey box styling (match color-more) */
.product-sizes-v2 {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    padding: 2px 6px;
    background: #f5f5f5;
    border-radius: 3px;
    margin-left: 6px;
}

/* Products Count H2 Heading (SEO) */
.products-count-heading {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 8px 0 0 0;
}

/* FAQ Section Styles */
.faq-section-v2 {
    padding: 60px 0;
    background: #f8f9fa;
}
.faq-section-v2 h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: #1a1a1a;
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1776C8;
    margin-bottom: 12px;
}
.faq-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Related Categories Styles */
.related-categories-v2 {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #eee;
}
.related-categories-v2 h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #1a1a1a;
}
.related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.related-cat-link {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    color: #1776C8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}
.related-cat-link:hover {
    background: #1776C8;
    color: #fff;
    border-color: #1776C8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .faq-section-v2 {
        padding: 40px 0;
    }
    .faq-section-v2 h2 {
        font-size: 22px;
        margin-bottom: 24px;
    }
    .faq-item {
        padding: 20px;
    }
    .related-categories-v2 {
        padding: 30px 0;
    }
}
