/* Product Page Styles - Solo elementos específicos de Product */

/* Product Breadcrumbs */
.product-breadcrumbs {
    margin: 30px 0;
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.product-breadcrumbs a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.product-breadcrumbs a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin: 40px 0 80px;
    background-color: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(13, 51, 39, 0.08);
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
}

.main-image {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
    border: 1px solid rgba(13, 51, 39, 0.05);
}

.main-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.02) 100%);
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.02);
}

.product-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) #f0f0f0;
}

.product-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.product-thumbnails::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.product-thumbnails::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 3px;
}

.thumbnail {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail.active {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(176, 136, 64, 0.3);
}

.thumbnail:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info h1 {
    font-family: var(--heading-font);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.product-price {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
}

.original-price {
    font-size: 22px;
    text-decoration: line-through;
    color: #999;
}

.discount-badge {
    background: linear-gradient(135deg, var(--accent-color) 0%, #7e2a3e 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.product-description {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 16px;
    color: #555;
    font-weight: 300;
}

.product-benefits {
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--light-bg);
    border-radius: 12px;
    border: 1px solid rgba(13, 51, 39, 0.08);
}

.product-benefits h3 {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
    letter-spacing: -0.2px;
}

.product-benefits ul {
    list-style: none;
    padding-left: 0;
}

.product-benefits ul li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.product-benefits ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 16px;
}

.product-meta {
    margin-bottom: 35px;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 10px;
    font-size: 14px;
    color: #666;
    border: 1px solid rgba(13, 51, 39, 0.08);
}

.product-meta p {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.product-meta strong {
    color: var(--primary-color);
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: stretch;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}

.quantity-btn {
    width: 45px;
    height: 50px;
    background-color: #f8f8f8;
    border: none;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.quantity-btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

#product-quantity {
    width: 60px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.add-to-cart-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4d3a 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0 30px;
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 51, 39, 0.3);
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, #7e2a3e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(110, 37, 55, 0.4);
}

.add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Stock Status */
.stock-status {
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
}

.in-stock {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.out-of-stock {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.low-stock {
    background-color: #fff3cd;
    color: #856404;
    border: 2px solid #ffeaa7;
}

/* Related Products */
.related-products {
    margin: 80px 0;
    padding: 60px 0;
    background-color: var(--light-bg);
    border-radius: 20px;
}

.related-products h2 {
    font-family: var(--heading-font);
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Notification */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    padding: 18px 30px;
    border-radius: 10px;
    font-weight: 600;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    border: 2px solid;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Product Reviews Section */
.product-reviews {
    margin: 60px 0;
    padding: 50px;
    background-color: white;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(13, 51, 39, 0.08);
}

.product-reviews h3 {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
    letter-spacing: -0.3px;
}

.review-item {
    padding: 25px;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.review-author {
    font-weight: 600;
    color: var(--primary-color);
}

.review-rating {
    color: var(--secondary-color);
}

.review-text {
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-detail {
        gap: 50px;
        padding: 40px;
    }
    
    .main-image {
        height: 400px;
    }
    
    .product-info h1 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
    }
    
    .main-image {
        height: 350px;
    }
    
    .product-info h1 {
        font-size: 28px;
    }
    
    .current-price {
        font-size: 28px;
    }
    
    .original-price {
        font-size: 20px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .quantity-selector {
        justify-content: center;
        width: fit-content;
        margin: 0 auto;
    }
    
    .related-products h2 {
        font-size: 28px;
    }
    
    .product-reviews {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .product-detail {
        padding: 20px;
        margin: 20px 0 40px;
    }
    
    .main-image {
        height: 280px;
    }
    
    .product-info h1 {
        font-size: 24px;
    }
    
    .current-price {
        font-size: 24px;
    }
    
    .product-benefits {
        padding: 20px;
    }
    
    .product-meta {
        padding: 15px;
    }
    
    .related-products {
        margin: 40px 0;
        padding: 40px 0;
    }
    
    .product-reviews {
        padding: 20px;
    }
    
    .notification {
        right: 15px;
        top: 15px;
        padding: 12px 20px;
    }
}