main {
    margin-top: 100px;  /* Adds space below header */
}

.product-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-image {
    flex: 0 0 40%;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.product-image:hover {
    transform: scale(1.02);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-info h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-info .price {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 1rem 0;
}

.product-info .brand,
.product-info .type,
.product-info .category,
.product-info .stock {
    color: #666;
    font-size: 1rem;
    padding: 0.3rem 0;
}

.product-info .stock {
    font-weight: 500;
    color: var(--primary-color);
}

.product-info .description {
    color: #333;
    line-height: 1.6;
    margin: 1rem 0;
}

.description-container {
    position: relative;
    margin-bottom: 1rem;
}

.description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 3em;
    transition: max-height 0.3s ease;
}

.description.expanded {
    -webkit-line-clamp: initial;
    max-height: 1000px;
}

.read-more-btn {
    display: inline-block;
    background: none;
    border: none;
    color: #038C7F;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    margin-top: 0.5rem;
    text-decoration: underline;
}

.read-more-btn:hover {
    text-decoration: underline;
}

.order-button {
    background-color: var(--secondary);
    color: var(--text-light);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    text-align: center;
}

.order-button:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 0 10px rgba(242, 174, 46, 0.2);
}

@media (max-width: 768px) {
    .product-details-container {
        flex-direction: column;
        margin: 1rem;
        padding: 1rem;
        gap: 1.5rem;
    }

    .product-image {
        flex: 0 0 100%;
    }

    .product-info h1 {
        font-size: 1.5rem;
    }

    .product-info .price {
        font-size: 1.4rem;
    }

    .description {
        font-size: 0.9rem;
    }
}