/* Home Page Styles */

/* General Styling */
.home-main {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero-section {
    background: url('path-to-your-hero-image.jpg') no-repeat center center/cover;
    text-align: center;
    padding: 80px 20px;
    color: white;
}

.hero-section h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero-section .btn {
    display: inline-block;
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hero-section .btn:hover {
    background: #005f87;
}

/* Featured Products */
.featured-products {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

.featured-products h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* About Section */
.about-section {
    text-align: center;
    padding: 50px 20px;
}

.about-section h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.about-section .btn {
    display: inline-block;
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.about-section .btn:hover {
    background: #005f87;
}

/* Latest Posts */
.latest-posts {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

.latest-posts h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.posts-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.post-item {
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.post-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.post-item a {
    text-decoration: none;
    color: #0073aa;
    font-weight: bold;
    transition: color 0.3s ease;
}

.post-item a:hover {
    color: #005f87;
}

.product-grid {
    max-width: 90%;
    margin: auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.product-grid .product-item {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: #fff;
    border-radius: 5px;
    margin: 5px auto;
    width: 24%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', sans-serif;
    padding: 10px;
    background-color: #fbfbfb;
    justify-content: space-between;
}
.product-grid .product-item a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    font-weight: 700;
    text-decoration: none !important;
    color: #000;
    text-decoration: none;
}

.product-grid .product-item .latest-product-image-container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}
.product-grid .product-item .latest-product-image-container img {
    width: 100%;
    height: auto;
}
.prod-title {
    display: block;
    display: -webkit-box;
    max-width: 100%;
    height: auto;
    margin: 0;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    
}

.price-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content:space-between;
}
.product-grid .product-item .price-row >div {
    flex: 1;
}

.product-grid .product-item .price {
    padding: 5px;
    font-weight: 550;
}
.quick-view-icon {
    margin-left: auto;
    cursor: pointer;
    color: #0071A1;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

@media screen and (max-width: 767px) {
    .product-grid {
        max-width: 100%;
        margin: 0;
              
    }
    .product-grid .product-item {
        width:45%;
    }

}
