/* Enhanced Product Styling - Side by Side Layout */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    max-width: 100%;
    margin-bottom: 60px;
}

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

/* Product Images */
.product-img {
    position: relative;
    width: 500px;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

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

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1e7b1e;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.product-info {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-category {
    display: inline-block;
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px 20px;
}

.product-features li {
    margin-bottom: 0;
    font-size: 14px;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-features li:hover {
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-features li i {
    color: #1e7b1e;
    margin-right: 10px;
    font-size: 16px;
}

.feature-heading {
    font-size: 18px;
    font-weight: 600;
    color: #1e7b1e;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.product-features li p {
    margin-left: 0;
    line-height: 1.6;
    color: #666;
    text-align: center;
}

/* Responsive adjustments for features grid */
@media (max-width: 768px) {
    .product-features {
        grid-template-columns: 1fr;
    }
}

.product-details {
    margin-top: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-details h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e7b1e;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 2px solid #1e7b1e;
}

.details-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 15px;
    background-color: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.details-table tr {
    transition: background-color 0.2s ease;
}

.details-table tr:hover {
    background-color: #f5f9f5;
}

.details-table tr:not(:last-child) {
    border-bottom: 1px solid #e8e8e8;
}

.details-table td {
    padding: 14px 20px;
    font-size: 15px;
    color: #444;
    line-height: 1.4;
}

.details-table td:first-child {
    width: 40%;
    font-weight: 600;
    color: #333;
    background-color: #f8f9fa;
    border-right: 1px solid #e8e8e8;
}

.btn-primary {
    display: inline-block;
    background: #1e7b1e;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #186218;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .product-card {
        flex-direction: column;
        align-items: center;
    }
    
    .product-img {
        width: 100%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 5/6;
    }
    
    .product-info {
        width: 100%;
        max-width: 768px;
    }
}

@media (max-width: 576px) {
    .product-img {
        min-height: 300px;
    }
    
    .product-info {
        padding: 20px;
    }
}
