/* Product Detail Page Specific CSS */

.product-gallery {
    position: relative;
}

.main-image {
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.02);
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail.active {
    border-color: var(--dark-lavender);
}

.product-info {
    background-color: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star {
    color: #ffc107;
}

.stock-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.in-stock {
    background-color: var(--light-lavender);
    color: var(--dark-lavender);
}

.low-stock {
    background-color: #fff3cd;
    color: #856404;
}

.out-of-stock {
    background-color: #f8d7da;
    color: #721c24;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: var(--dark-lavender);
    color: white;
    border-color: var(--dark-lavender);
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.product-tabs {
    margin-top: 3rem;
}

.tab-content {
    background-color: white;
    border-radius: 0 0 15px 15px;
    padding: 2rem;
}

.specification-table {
    width: 100%;
}

.specification-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.specification-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    width: 30%;
}

.related-products {
    margin-top: 3rem;
}

.review-item {
    border-bottom: 1px solid #dee2e6;
    padding: 1.5rem 0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    color: var(--text-dark);
}

.review-date {
    color: var(--text-light);
    font-size: 0.875rem;
} 