/* Product Details Page Styles */

.product-container {
    background-color: #fafaf8;
    min-height: 100vh;
}

/* Product Images */
.product-images {
    position: sticky;
    top: 20px;
}

.main-image {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.thumbnail-images::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-images::-webkit-scrollbar-thumb {
    background: #c0596A;
    border-radius: 4px;
}

.thumbnail-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail-images img:hover,
.thumbnail-images img.active {
    border-color: #c0596A;
    transform: scale(1.05);
}

/* Product Info */
.product-info {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
    font-size: 14px;
    font-family: 'Jost', sans-serif;
}

.breadcrumb-item a {
    color: #7E6F67;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #c0596A;
}

.breadcrumb-item.active {
    color: #000;
}

.product-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #FFB800;
    font-size: 18px;
}

.rating-text {
    color: #7E6F67;
    font-size: 14px;
    font-family: 'Jost', sans-serif;
}

/* Price Section */
.product-price {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 2rem;
    font-weight: 600;
    color: #000;
    font-family: 'Cormorant Garamond', serif;
}

.original-price {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
    font-family: 'Jost', sans-serif;
}

.discount-badge {
    background: #c0596A;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Jost', sans-serif;
}

/* Description */
.product-description h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-description p {
    color: #7E6F67;
    line-height: 1.8;
    font-family: 'Jost', sans-serif;
}

/* Size Selection */
.size-selection h5,
.color-selection h5,
.quantity-selection h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 6px;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-btn:hover {
    border-color: #c0596A;
    color: #c0596A;
}

.size-btn.active {
    background: #c0596A;
    color: #fff;
    border-color: #c0596A;
}

/* Color Selection */
.color-options {
    display: flex;
    gap: 12px;
}

.color-btn {
    width: 40px;
    height: 40px;
    border: 3px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.color-btn:hover,
.color-btn.active {
    border-color: #000;
    transform: scale(1.1);
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #c0596A;
    color: #fff;
    border-color: #c0596A;
}

#quantity {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 16px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-add-cart,
.btn-buy-now {
    flex: 1;
    min-width: 200px;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-cart {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

.btn-add-cart:hover {
    background: #000;
    color: #fff;
}

.btn-buy-now {
    background: #c0596A;
    color: #fff;
}

.btn-buy-now:hover {
    background: #a84857;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 89, 106, 0.3);
}

/* Product Features */
.product-features {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-family: 'Jost', sans-serif;
    color: #7E6F67;
}

.feature-item svg {
    flex-shrink: 0;
}

/* Go Back Button */
.btn-go-back {
    display: inline-flex;
    align-items: center;
    height: 60px;
    width: max-content;
    gap: 10px;
    padding: 12px 30px;
    background: #fff;
    color: #000;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-go-back:hover {
    background: #c0596A;
    color: #fff;
    border-color: #c0596A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 89, 106, 0.3);
}

.btn-go-back svg {
    transition: transform 0.3s ease;
}

.btn-go-back:hover svg {
    transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .product-images {
        position: static;
        margin-bottom: 30px;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .current-price {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .product-info {
        padding: 20px;
    }
    
    .product-title {
        font-size: 1.75rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-add-cart,
    .btn-buy-now {
        width: 100%;
        min-width: auto;
    }
}
