/* ========================================
   TECH STORE - MAIN STYLES
   ======================================== */

/* Global Styles */
h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 47px;
}

/* Layout Components */
.HP-product-wrapper {
    padding: 100px 0;
}

.h2-container {
    display: flex;
    flex-direction: row;
    justify-items: center;
}

hr.line {
    background-color: black;
    height: 1px;
    max-width: 400px;
    width: 100%;
}

.products { 
    padding: 50px 0;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.content-container {
    padding: 20px;
}

.content-container h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.content-container p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.content-container p:last-of-type {
    font-weight: 600;
    color: #e74c3c;
    font-size: 16px;
}

/* Product Banner */
.product-banner-img {
    margin-top: 50px;
}

.product-banner-img img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .HP-product-wrapper {
        padding: 50px 0;
    }
    
    .products {
        padding: 25px 0;
    }
    
    .content-container {
        padding: 15px;
    }
    
    .content-container h3 {
        font-size: 16px;
    }
}
