body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header img {
    width: 120px;
    height: auto;
    margin-left: 0;
}

.header.shrink {
    padding: 8px 20px;
}

.header.shrink img {
    width: 80px;
}

.banner img {
    padding-top: 20px;
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    align-items: start;
}

.product-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.product-image:hover {
    transform: scale(1.03);
}

.product-info {
    margin-top: 20px;
    padding: 25px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.product-info:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.product-info h2 {
    margin: 0 0 15px;
    font-weight: 700;
    font-size: 24px;
    color: #222;
}

.price-section {
    margin: 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #28a745;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 15px 0;
}

.quantity-selector input {
    width: 50px;
    text-align: center;
    margin: 0 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.quantity-selector button {
    background-color: #28a745;
    color: white;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.quantity-selector button:hover {
    background-color: #01611e;
}

.buy-btn {
    background-color: #28a745;
    color: white;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    margin-top: 15px;
    width: 100%;
    max-width: 300px;
    transition: background-color 0.3s ease;
}

.buy-btn:hover {
    background-color: #01611e;
}

.product-details {
    margin-top: 20px;
    padding: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.product-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.more-content {
    display: none;
}

.read-more-btn {
    background-color: transparent;
    border: none;
    color: #28a745;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: #01611e;
}

/* Tablet view (768px - 1024px) */
@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 90%;
    }

    .product-image {
        height: 350px;
    }

    .product-info {
        padding: 20px;
    }

    .header {
        padding: 10px 15px;
    }

    .header img {
        width: 100px;
    }

    .header.shrink {
        padding: 5px 15px;
    }

    .header.shrink img {
        width: 70px;
    }
}

/* Mobile view (up to 768px) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .header {
        padding: 8px 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .header img {
        width: 90px;
    }

    .header.shrink {
        padding: 5px 15px;
    }

    .header.shrink img {
        width: 60px;
    }

    .banner img {
        width: 95%;
        padding-top: 15px;
    }

    .product-container {
        margin: 20px auto;
        padding: 15px;
    }

    .product-image {
        height: 250px;
    }

    .product-info {
        margin-top: 15px;
        padding: 15px;
    }

    .product-info h2 {
        font-size: 20px;
    }

    .price-section {
        font-size: 16px;
    }

    .quantity-selector input {
        width: 40px;
        padding: 6px;
        font-size: 12px;
    }

    .quantity-selector button {
        padding: 6px 12px;
        font-size: 12px;
    }

    .buy-btn {
        padding: 10px 20px;
        font-size: 14px;
        max-width: 100%;
    }

    .product-details {
        font-size: 13px;
    }

    .product-details h3 {
        font-size: 16px;
    }
}

/* Small mobile devices (up to 480px) */
@media (max-width: 480px) {
    .header {
        padding: 8px 10px;
    }

    .header img {
        width: 80px;
    }

    .header.shrink img {
        width: 50px;
    }

    .banner img {
        width: 100%;
        border-radius: 10px;
    }

    .product-container {
        margin: 15px auto;
        padding: 10px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 10px;
    }

    .product-info h2 {
        font-size: 18px;
    }

    .price-section {
        font-size: 14px;
    }

    .quantity-selector {
        margin: 10px 0;
    }

    .quantity-selector input {
        width: 35px;
        padding: 5px;
    }

    .quantity-selector button {
        padding: 5px 10px;
    }

    .buy-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}