section {
    margin-top: 4%;
    border-radius: 20px
}

.products-hero .hero-content {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 4%;
    border-radius: 20px
}

.products-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6
}

.products-main-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #434e58 0%, #34495e 100%);
    min-height: 80vh
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start
}

.filters-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 90
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f3f4
}

.filters-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700
}

.clear-filters-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap
}

.clear-filters-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3)
}

.filter-group {
    margin-bottom: 1.8rem
}

.filter-group h4 {
    margin: 0 0 0.75rem 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600
}

.filter-select {
    width: 100%;
    padding: 0.85rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    background: white;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    color: black
}

select.filter-select * {
    background-color: white !important;
    color: black !important
}

select.filter-select option {
    background: white !important;
    color: black !important
}

select.filter-select:-moz-focusring {
    color: black !important;
    text-shadow: 0 0 0 #000 !important
}

select.filter-select option:checked {
    background: #667eea !important;
    color: white !important
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1)
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: nowrap
}

.price-input {
    flex: 1;
    padding: 0.85rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    text-align: center;
    min-width: 0;
    box-sizing: border-box;
    transition: all 0.3s ease
}

.price-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1)
}

.price-separator {
    color: #6c757d;
    font-weight: 600;
    flex-shrink: 0;
    padding: 0 0.5rem
}

.price-range-info {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
    word-break: break-word;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #2c3e50;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease
}

.checkbox-label:hover {
    background: #f8f9fa
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer
}

.products-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    min-height: 500px;
    overflow: hidden;
    position: relative;
    z-index: 80
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
    flex-wrap: wrap
}

.search-container {
    flex: 1;
    min-width: 300px;
    max-width: 600px
}

.search-input-wrapper {
    position: relative;
    width: 100%
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 10;
    font-size: 1.1rem
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
    font-weight: 500
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15)
}

.products-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0
}

.results-count {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap
}

.view-controls {
    display: flex;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 12px;
    flex-shrink: 0
}

.view-btn {
    background: transparent;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px
}

.view-btn.active {
    background: #667eea;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3)
}

.view-btn:hover:not(.active) {
    background: #e9ecef;
    transform: translateY(-1px)
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 15px;
    border: none;
    max-width: 100%;
    box-sizing: border-box
}

.active-filter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1)
}

.active-filter button {
    background: #e74c3c;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease
}

.active-filter button:hover {
    background: #c0392b;
    transform: scale(1.1)
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    box-sizing: border-box
}

.products-grid.list-view {
    grid-template-columns: 1fr
}

.products-grid.list-view .product-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box
}

.products-grid.list-view .product-image {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    margin: 0
}

.products-grid.list-view .product-content {
    flex: 1;
    display: grid;
    grid-template-columns: 2fr 3fr 1fr 1.5fr;
    align-items: center;
    padding: 0;
    min-width: 0
}

.products-grid.list-view .product-title {
    margin-bottom: 0.5rem;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis
}

.products-grid.list-view .product-meta {
    margin: 0;
    text-align: center;
    min-width: 0
}

.products-grid.list-view .product-actions {
    margin: 0;
    min-width: 160px;
    flex-shrink: 0
}

.product-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #f1f3f4
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5
}

.products-grid.list-view .product-badge {
    display: none
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.in-stock-badge {
    background: #48bb78;
    color: white;
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3)
}

.out-of-stock-badge {
    background: #e53e3e;
    color: white;
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.3)
}

.product-wishlist {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 5
}

.wishlist-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1)
}

.wishlist-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15)
}

.wishlist-btn.in-wishlist {
    color: white
}

.product-image {
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative
}

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

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

.product-image-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    padding: 2rem;
    text-align: center
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6
}

.product-content {
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word
}

.product-article {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    word-break: break-word;
    font-weight: 500
}

.btn-details {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    width: 100%;
    text-align: center
}

.btn-details:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none
}

@media (max-width:768px) {
    .product-actions {
        flex-direction: column
    }

    .product-actions .btn-details {
        min-width: 100%;
        width: 100%;
        padding: 0.875rem 1rem
    }
}

.product-category {
    color: #667eea;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    word-break: break-word
}

.product-brand {
    color: #8e9aaf;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    word-break: break-word;
    font-weight: 500
}

.product-meta {
    display: flex;
    flex-direction: column
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.75rem
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2c3e50;
    white-space: nowrap
}

.stock-info {
    font-size: 0.9rem;
    color: #48bb78;
    font-weight: 600;
    white-space: nowrap
}

.rating-section {
    text-align: right
}

.rating {
    font-size: 0.9rem;
    color: #f59e0b;
    font-weight: 600
}

.product-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word
}

.product-actions {
    margin-top: auto
}

.add-to-cart-btn,
.login-to-buy-btn,
.out-of-stock-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-sizing: border-box;
    word-break: break-word;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3)
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4)
}

.add-to-cart-btn.loading {
    background: #ed8936;
    cursor: not-allowed
}

.login-to-buy-btn {
    background: linear-gradient(135deg, #0052cc 0%, #0047b3 100%);
    color: white;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3)
}

.login-to-buy-btn:hover {
    background: linear-gradient(135deg, #0047b3 0%, #003d99 100%);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.4)
}

.out-of-stock-btn {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
    box-shadow: none
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 2px solid #f1f3f4;
    flex-wrap: wrap;
    gap: 1.5rem
}

.pagination-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3)
}

.pagination-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4)
}

.pagination-info {
    color: #6c757d;
    font-weight: 600;
    font-size: 1rem;
    text-align: center
}

.loading-indicator {
    text-align: center;
    padding: 4rem;
    color: #6c757d
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #667eea;
    border-top: none;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 350px;
    overflow-y: auto;
    display: none
}

.search-suggestion-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background-color 0.3s ease;
    word-break: break-word
}

.search-suggestion-item:hover {
    background: #f8f9fa
}

.search-suggestion-item:last-child {
    border-bottom: none
}

.suggestion-icon {
    font-size: 1.2rem;
    color: #667eea;
    flex-shrink: 0
}

.suggestion-text {
    flex: 1;
    color: #2c3e50;
    font-weight: 600;
    word-break: break-word
}

.suggestion-category {
    font-size: 0.8rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 0.3rem 0.75rem;
    border-radius: 10px;
    white-space: nowrap;
    font-weight: 500
}

.toast-container {
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.toast {
    background: white;
    padding: 1.25rem 1.75rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border-left: 5px solid;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 320px;
    transform: translateX(400px);
    transition: transform 0.4s ease;
    max-width: calc(100vw - 40px);
    box-sizing: border-box
}

.toast.show {
    transform: translateX(0)
}

.toast.success {
    border-left-color: #48bb78;
    background: #f0fff4;
    color: #22543d
}

.toast.error {
    border-left-color: #e53e3e;
    background: #fff5f5;
    color: #742a2a
}

.toast-icon {
    font-size: 1.4rem;
    flex-shrink: 0
}

.products-cta {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden
}

.products-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1
}

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

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3)
}

.cta-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2)
}

.btn-primary {
    background: white;
    color: #667eea
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    color: #667eea
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3)
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    width: 100%;
    box-sizing: border-box
}

.similar-products {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e9ecef;
    width: 100%;
    box-sizing: border-box
}

.similar-products .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem
}

.search-suggestions,
.filter-select {
    z-index: 1000
}

body {
    overflow-x: hidden
}

@media (max-width:1024px) {
    .products-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }

    .filters-sidebar {
        position: static;
        max-height: none;
        margin-bottom: 1.5rem;
        z-index: auto
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr))
    }

    .products-hero h1 {
        font-size: 2.5rem
    }
}

@media (max-width:768px) {
    .products-hero {
        padding: 3rem 0
    }

    .products-hero h1 {
        font-size: 2.2rem
    }

    .hero-subtitle {
        font-size: 1.1rem
    }

    .products-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem
    }

    .search-container {
        min-width: 100%;
        max-width: 100%
    }

    .products-info {
        justify-content: space-between;
        width: 100%
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem
    }

    .products-grid.list-view .product-content {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 1rem
    }

    .products-grid.list-view .product-card {
        flex-direction: column;
        text-align: left;
        align-items: flex-start
    }

    .products-grid.list-view .product-image {
        width: 100%;
        height: 200px
    }

    .pagination {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center
    }

    .price-inputs {
        flex-wrap: wrap
    }

    .price-input {
        min-width: calc(50% - 0.75rem)
    }

    .active-filters {
        padding: 1rem
    }

    .active-filter {
        font-size: 0.8rem;
        padding: 0.5rem 0.9rem
    }

    .toast-container {
        right: 10px;
        left: 10px;
        top: 100px
    }

    .toast {
        min-width: auto;
        max-width: none
    }

    .cta-content h2 {
        font-size: 2rem
    }

    .cta-content p {
        font-size: 1.1rem
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem
    }
}

@media (max-width:480px) {
    .products-main-section .container {
        padding: 0 1rem
    }

    .filters-sidebar,
    .products-content {
        padding: 1.25rem
    }

    .product-content {
        padding: 1.25rem
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }

    .products-header {
        gap: 1rem
    }

    .search-input {
        font-size: 0.9rem;
        padding: 0.9rem 0.9rem 0.9rem 3rem
    }

    .results-count {
        font-size: 0.9rem
    }

    .view-controls {
        padding: 0.3rem
    }

    .view-btn {
        padding: 0.6rem;
        font-size: 1rem
    }

    .product-title {
        font-size: 1.1rem
    }

    .price {
        font-size: 1.3rem
    }

    .add-to-cart-btn,
    .login-to-buy-btn,
    .out-of-stock-btn {
        font-size: 0.9rem;
        padding: 0.9rem
    }

    .pagination-btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.9rem
    }

    .filter-group h4 {
        font-size: 0.9rem
    }

    .filter-select,
    .price-input {
        font-size: 0.9rem;
        padding: 0.8rem
    }

    .products-hero h1 {
        font-size: 1.8rem
    }

    .hero-subtitle {
        font-size: 1rem
    }

    .cta-content h2 {
        font-size: 1.8rem
    }

    .cta-content p {
        font-size: 1rem
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center
    }
}

.products-grid .add-to-cart-btn,
.products-grid .login-to-buy-btn,
.products-grid .out-of-stock-btn,
.products-grid .anonymous-quick-order {
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
    width: 100% !important;
    min-height: 44px !important
}

.products-grid .add-to-cart-btn {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%) !important
}

.products-grid .btn-details {
    margin-top: 8px !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important
}