* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #ffffff;
            overflow-x: hidden;
        }

        .product-pin, .product-pin *, button, .search-input-pinterest, a {
            -webkit-tap-highlight-color: transparent !important;
            -webkit-touch-callout: none !important;
            outline: none !important;
            user-select: none;
        }

        .product-pin.in-stock { cursor: pointer; }

        .pinterest-header {
            position: relative;
            top: 0;
            z-index: 1000;
            background: white;
            padding: 5px 16px;
            position: sticky;
            left:0;
            top:0;
        }

        .header-content {
            max-width: 1400px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
        }
        
        .logo-cnt {
            display: flex;
            align-items: center;
            gap: 2px;
            font-weight: 900;
            font-size:1.2rem;
            padding:10px;
        }

        .header-actions {
            display: flex;
            gap: 12px;
            align-items: center;
        }
        
        .menu-btn {
            background: none;
            border: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: #333;
            padding: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.2s;
        }
        
        .menu-btn:hover {
            background: #f0f0f0;
        }
        
        .sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 2000;
            visibility: hidden;
            opacity: 0;
            transition: visibility 0.3s, opacity 0.3s;
        }
        
        .sidebar-overlay.active {
            visibility: visible;
            opacity: 1;
        }
        
        .filter-sidebar-panel {
            position: fixed;
            top: 0;
            left: -85%;
            width: 85%;
            max-width: 380px;
            height: 100%;
            background: white;
            z-index: 2001;
            box-shadow: 2px 0 20px rgba(0,0,0,0.15);
            transition: left 0.3s ease-in-out;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }
        
        .filter-sidebar-panel.open {
            left: 0;
        }
        
        .filter-panel-header {
            padding: 20px 18px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            background: white;
            z-index: 10;
        }
        
        .filter-panel-header h3 {
            font-size: 1.2rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .close-sidebar {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 8px;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .close-sidebar:hover {
            background: #f0f0f0;
        }
        
        .filter-panel-content {
            flex: 1;
            padding: 16px 18px 30px 18px;
            overflow-y: auto;
        }
        
        .filter-group {
            background: #fafafa;
            border-radius: 20px;
            padding: 14px 18px;
            margin-bottom: 20px;
            border: 1px solid #eee;
        }
        
        .filter-group h4 {
            font-size: 0.9rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: #222;
            display: flex;
            align-items: center;
            gap: 8px;
            border-left: 3px solid #e60023;
            padding-left: 10px;
        }
        
        .filter-group h4 i {
            color: #e60023;
            font-size: 0.9rem;
        }
        
        .filter-options {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .filter-checkbox {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            font-size: 0.8rem;
            color: #333;
            background: white;
            padding: 6px 14px;
            border-radius: 40px;
            transition: all 0.2s ease;
            border: 1px solid #e2e2e2;
            user-select: none;
        }
        
        .filter-checkbox:hover {
            background: #f5f5f5;
            border-color: #ccc;
        }
        
        .filter-checkbox input {
            width: 16px;
            height: 16px;
            cursor: pointer;
            accent-color: #e60023;
            margin: 0;
        }
        
        .filter-checkbox span {
            font-weight: 500;
        }
        
        .filter-checkbox .filter-count {
            color: #888;
            font-size: 0.7rem;
            margin-left: 5px;
            font-weight: normal;
        }
        
        .clear-all-filters {
            background: transparent;
            border: 1px solid #ddd;
            padding: 10px 16px;
            border-radius: 40px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            color: #e60023;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            width: 100%;
            justify-content: center;
            margin-bottom: 16px;
        }
        
        .clear-all-filters:hover {
            background: #fff0f0;
            border-color: #e60023;
        }
        
        .filter-apply-footer {
            padding: 1px 5px;
            border-top: 1px solid #eee;
            background: white;
            position: sticky;
            bottom: 0;
        }
        
        .apply-filters-btn {
            width: 100%;
            background: #e60023;
            color: white;
            border: none;
            padding: 15px;
            border-radius: 10px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.2s;
        }
        
        .apply-filters-btn:hover {
            background: #c4001f;
        }
        
        .active-filters-bar {
            background: white;
            padding: 2px 10px;
            display: none;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px;
            font-size: 14px;
        }

        .results-info { color: #767676; font-size: 14px; display: inline-block; }

        .pinterest-grid {
            max-width: 1400px;
            margin: 0 auto;
            padding: 24px;
            column-count: 5;
            column-gap: 24px;
        }
        @media (max-width: 1200px) { .pinterest-grid { column-count: 4; } }
        @media (max-width: 900px) { .pinterest-grid { column-count: 3; } }
        @media (max-width: 600px) { .pinterest-grid { column-count: 2; padding: 3.5px; column-gap: 3.5px; } }

        .product-pin {
            break-inside: avoid;
            margin-bottom: 10px;
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            transition: transform 0.2s, opacity 0.2s;
            cursor: pointer;
            background: #ffffff;
        }
        
        .product-pin.out-of-stock {
            cursor: not-allowed;
            opacity: 100%;
        }
        
        .product-pin.out-of-stock .pin-image {
            filter: grayscale(100%) contrast(0.7) brightness(1.05);
            transition: filter 0.2s ease;
        }
        
        .product-pin.out-of-stock .image-placeholder-solid {
            filter: grayscale(100%) contrast(0.8);
        }
        
        .product-pin.in-stock:hover { transform: translateY(-3px); }

        .pin-image-container {
            position: relative;
            overflow: hidden;
            border-radius: 24px;
            background: white;
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-height: 250px;
        }
        .pin-image-container::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(210, 210, 218, 0.2);
            pointer-events: none;
            z-index: 2;
            border-radius: 24px;
            mix-blend-mode: multiply;
        }
        
        .product-pin.in-stock:hover .pin-image-container::after {
            background-color: rgba(200, 200, 208, 0.15);
        }

        .pin-image {
            width: 100%;
            display: block;
            transition: opacity 0.3s ease, transform 0.4s ease, filter 0.2s ease;
            opacity: 0;
            position: relative;
            z-index: 1;
            border-radius: 0px;
        }
        .product-pin:hover .pin-image {
            transform: scale(1.02);
        }
        .pin-image.loaded { opacity: 1; }

        .image-placeholder-solid {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1;
            transition: opacity 0.2s, filter 0.2s;
            border-radius: 24px;
            /* Shimmer Animation - Right to Left */
            background: linear-gradient(110deg, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.08) 20%, rgba(255,255,255,0.2) 40%);
            background-size: 200% 100%;
            animation: shimmerRightToLeft 1.2s infinite linear;
        }
        
        /* Right to Left Shimmer Animation */
        @keyframes shimmerRightToLeft {
            0% {
                background-position: 200% 0;
            }
            100% {
                background-position: -200% 0;
            }
        }
        
        .placeholder-icon-large {
            font-size: 48px;
            opacity: 0.6;
            z-index: 2;
            position: relative;
        }
        
        .pin-info {
            padding: 14px 12px 12px 12px;
            text-align: left;
            background: white;
            white-space: normal;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .pin-title {
            font-weight: 700;
            font-size: 0.8rem;
            letter-spacing: -0.2px;
            margin-bottom: 0px;
            color: #111827;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        .pin-price-block {
            display: flex;
            align-items: baseline;
            flex-wrap: wrap;
            gap: 6px;
            margin: 0px 0px;
        }
        .pin-price-block .current-price {
            font-size: 1.3rem;
            font-weight: 800;
            color: #e60023;
            letter-spacing: -0.2px;
        }
        .pin-price-block .original-price {
            font-size: 0.75rem;
            text-decoration: line-through;
            color: #94a3b8;
            font-weight: 500;
        }
        .pin-price-block .discount-badge {
            font-size: 0.7rem;
            background: white;
            display: inline-block;
            padding: 3px 10px;
            border-radius: 40px;
            font-weight: 700;
            color: #b91c1c;
            width: fit-content;
            letter-spacing: -0.2px;
        }

        .pin-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 4px;
            flex-wrap: wrap;
        }
        .rating-tag {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-weight: 600;
            font-size: 0.75rem;
        }
        .rating-tag .star-icon {
            font-size: 0.7rem;
            color: #ffb347;
        }
        .rating-tag .rating-number {
            font-size: 0.75rem;
            font-weight: 700;
            color: #ffb347;
        }
        .rating-tag .rating-count {
            font-size: 0.7rem;
            font-weight: 500;
            color: #6c7a89;
        }
        .per-qty-badge {
            font-size: 0.7rem;
            font-weight: 600;
            color: #2c6e2c;
            background: #eef6ee;
            display: inline-block;
            padding: 2px 8px;
            border-radius: 20px;
            margin-top: 2px;
            width: fit-content;
        }

        .rating-tag[data-hidden="true"] {
            display: none !important;
        }

        .no-results { text-align: center; padding: 80px 20px; color: #767676; grid-column: 1 / -1; }
        .pinterest-footer { text-align: center; padding: 32px; color: #767676; font-size: 13px; border-top: 1px solid #e2e2e2; margin-top: 24px; }

        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            display: flex;
            justify-content: space-around;
            padding: 8px 0;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
            z-index: 1000;
            font-size: 0.8rem;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: black;
        }
        
        .nav-item.active {
            color: #e60023;
        }
        
        .nav-item i {
            font-size: 1.7rem;
            margin-bottom: 3px;
        }
        
        @media (max-width: 600px) {
            .filter-sidebar-panel {
                width: 85%;
                left: -85%;
            }
        }
        
        .search-info-banner {
            background: #e8f0fe;
            padding: 8px 16px;
            margin: 0 24px 16px 24px;
            border-radius: 30px;
            font-size: 0.8rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .search-info-banner span i {
            color: #e60023;
            margin-right: 6px;
        }
        
        .clear-search-btn {
            background: transparent;
            border: none;
            color: #e60023;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.75rem;
            padding: 4px 12px;
            border-radius: 30px;
            transition: background 0.2s;
        }
        
        .clear-search-btn:hover {
            background: rgba(230, 0, 35, 0.1);
        }