﻿.hardware-products-section {
    padding: 80px 30px;
    background: whitesmoke;
    text-align: center;
}

.section-title {
    font-size: 2.7rem;
    font-weight: 700;
    color: black;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* Carousel styles */
.hardware-carousel-wrapper {
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.carousel-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.carousel-caption h3, .carousel-caption p {
    color: white; /* adjust based on overlay */
    text-shadow: 0 0 5px rgba(0,0,0,0.7);
}

/* Product grid */

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    gap: 40px;
    justify-items: center; /* centers content in each grid cell */
    justify-content: center; /* centers the entire grid horizontally */
}


.hardware-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    max-width: 340px;
}

    .hardware-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    }

.hardware-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.hardware-card h3 {
    color: #222;
    font-weight: 600;
    margin-bottom: 10px;
}

.hardware-desc {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.price-section {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
}

.price-regular {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

.price-discounted {
    font-size: 1.4rem;
    color: darkorange;
    font-weight: 700;
    margin-right: 10px;
}

.price-original {
    font-size: 1rem;
    color: #888;
    text-decoration: line-through;
}

.details-btn {
    background: darkorange;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .details-btn:hover {
        background: #0056d2;
    }
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-input, .category-select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    width: 250px;
    transition: 0.3s ease;
}

    .search-input:focus, .category-select:focus {
        outline: none;
        border-color: darkorange;
        box-shadow: 0 0 5px rgba(0,120,215,0.4);
    }
