/* Product Detail Container */
.product-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

/* Gallery Styling */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #eee;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
}

.thumbnail-list img {
    width: 80px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thumbnail-list img:hover,
.thumbnail-list img.active {
    border-color: #007bff;
}

/* Product Info Styling */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-badge {
    background-color: #e9ecef;
    color: #495057;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

.product-title {
    font-size: 24px;
    margin: 8px 0;
    color: #212529;
}

.product-meta {
    font-size: 14px;
    color: #6c757d;
    display: flex;
    gap: 15px;
}

.product-price-box {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: #28a745;
}

/* Specifications */
.product-specs h3,
.product-description h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 5px;
}

.product-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-specs li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
}

.product-description p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Action Buttons */
.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    flex: 2;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ccc;
    flex: 1;
}

.btn-secondary:hover {
    background-color: #e2e6ea;
}

/* Responsive adjustments for Mobile */
@media (max-width: 768px) {
    .product-detail-card {
        grid-template-columns: 1fr;
    }
    .main-image img {
        height: 280px;
    }
}