/* Product List Page Styles - Dark Premium Design */
/* Note: Header styles are imported from header-styles.css */

/* Hero Banner Section */
.hero-banner {
    background: url('../images/banners/poduct list  background header image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 300px;
    border-bottom: 1px solid #2a2a2a;
}

/* Main Product List Section */
.product-list-main {
    background-color: #ffffff;
    min-height: 100vh;
    padding: 40px 20px;
}

.product-list-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
}

/* Filter Sidebar */
.filter-sidebar {
    background-color: #f8f8f8;
    padding: 25px 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.filter-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-item {
    padding: 12px 15px;
    margin-bottom: 8px;
    color: #666666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    user-select: none;
}

.filter-item:hover {
    background-color: #e8e8e8;
    color: #000000;
}

.filter-item.active {
    background-color: #000000;
    color: #c4ff0d;
    font-weight: 600;
}

.filter-text {
    display: inline-block;
    pointer-events: none;
}

.filter-count {
    display: inline-block;
    margin-left: 5px;
    font-size: 13px;
    opacity: 0.7;
    pointer-events: none;
}

.filter-item.active .filter-count {
    opacity: 1;
}

/* Products Grid Wrapper */
.products-grid-wrapper {
    width: 100%;
}

/* Search Container */
.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    max-width: 100%;
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    font-size: 14px;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.search-input::placeholder {
    color: #999999;
}

.search-input:focus {
    border-color: #c4ff0d;
    box-shadow: 0 0 0 3px rgba(196, 255, 13, 0.1);
}

.search-btn {
    padding: 14px 40px;
    background-color: #c4ff0d;
    color: #000000;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    background-color: #b3e60c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 255, 13, 0.3);
}

.search-btn:active {
    transform: translateY(0);
}

/* Products Grid - Dense 3-column layout */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Product Card */
.product-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    border-color: #c4ff0d;
    box-shadow: 0 4px 20px rgba(196, 255, 13, 0.15);
    transform: translateY(-4px);
}

/* Product Image Container with Hover Effect */
.product-image-container {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #f5f5f5;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-thumb {
    opacity: 1;
    z-index: 2;
}

.product-uv {
    opacity: 0;
    z-index: 1;
}

.product-card:hover .product-thumb {
    opacity: 0;
}

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

/* Fallback for old placeholder style */
.product-image-placeholder {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-size: 11px;
    margin-bottom: 15px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

/* Order Button - Neon Yellow-Green Accent */
.order-btn {
    width: 100%;
    padding: 12px 20px;
    background-color: #c4ff0d;
    color: #000000;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(196, 255, 13, 0.3);
    position: relative;
    z-index: 10;
}

.order-btn:hover {
    background-color: #b3e600;
    box-shadow: 0 4px 16px rgba(196, 255, 13, 0.5);
    transform: translateY(-2px);
}

.order-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(196, 255, 13, 0.3);
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 50px 20px 25px;
    border-top: 1px solid #1a1a1a;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-column ul li a {
    color: #888888;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #c4ff0d;
}

.footer-column p {
    color: #888888;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-seo-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
}

.footer-seo-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    text-align: center;
}

.footer-keywords {
    text-align: center;
    line-height: 2;
    color: #888888;
    font-size: 14px;
}

.footer-keywords a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-keywords a:hover {
    color: #c4ff0d;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
}

.footer-bottom p {
    color: #666666;
    font-size: 13px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-list-container {
        grid-template-columns: 180px 1fr;
        gap: 30px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .banner-images {
        gap: 15px;
    }

    .banner-image-placeholder {
        width: 160px;
        height: 100px;
    }
}

@media (max-width: 992px) {
    .product-list-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .filter-sidebar {
        position: static;
    }

    .filter-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .filter-item {
        margin-bottom: 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 200px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-list-main {
        padding: 30px 15px;
    }

    .search-container {
        flex-direction: column;
        gap: 10px;
    }

    .search-input {
        width: 100%;
        font-size: 14px;
        padding: 12px 16px;
    }

    .search-btn {
        width: 100%;
        padding: 14px 20px;
        min-height: 44px;
    }

    .order-btn {
        padding: 10px 20px;
        font-size: 13px;
        min-height: 44px;
    }

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

    .filter-sidebar {
        position: static;
        max-height: none;
        margin-bottom: 20px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .product-list-main {
        padding: 20px 10px;
    }

    .product-list-container {
        max-width: 100%;
    }

    .hero-banner {
        height: 150px;
    }

    .filter-sidebar {
        padding: 15px;
    }

    .filter-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .filter-item {
        padding: 10px 12px;
        font-size: 13px;
        min-height: 40px;
    }

    .products-grid {
        gap: 15px;
    }

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

    .product-image-container {
        height: 160px;
    }

    .product-image-placeholder {
        height: 140px;
        font-size: 11px;
    }

    .product-name {
        font-size: 13px;
        margin-bottom: 6px;
    }

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

    .order-btn {
        padding: 8px 16px;
        font-size: 12px;
        min-height: 40px;
    }

    .search-input {
        font-size: 13px;
        padding: 10px 14px;
    }

    .search-btn {
        padding: 12px 18px;
        font-size: 13px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }

    .footer-column ul li a,
    .footer-column p {
        font-size: 12px;
    }

    .footer-keywords {
        font-size: 13px;
        line-height: 1.8;
    }
}

/* Extra small phones - additional footer styles */
@media (max-width: 360px) {
    .footer-keywords {
        font-size: 12px;
        line-height: 1.6;
    }

    .footer-keywords a {
        display: inline-block;
        margin: 2px 0;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .product-list-main {
        padding: 15px 8px;
    }

    .hero-banner {
        height: 120px;
    }

    .filter-item {
        padding: 8px 10px;
        font-size: 12px;
        min-height: 38px;
    }

    .product-card {
        padding: 10px;
    }

    .product-image-placeholder {
        height: 120px;
    }

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

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

    .order-btn {
        padding: 7px 14px;
        font-size: 11px;
        min-height: 38px;
    }

    .search-input {
        font-size: 12px;
        padding: 9px 12px;
    }

    .search-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
}

