.breadcrumb {
    padding: 20px 0;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.breadcrumb a {
    color: var(--accent-color);
}

.back-navigation {
    position: absolute;
    left: 20px;
    top: 20px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 16px;
    background-color: var(--card-bg);
    border-radius: 4px;
    transition: all 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.back-button i {
    margin-right: 8px;
}

.back-button:hover {
    background-color: white;
    color: var(--accent-color);
    transform: translateX(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.page-header {
    position: relative;
    margin-bottom: 40px;
    background-color: var(--bg-secondary);
    padding: 60px 0;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--card-shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.product-details-container {
    padding: 0 0 60px;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--card-shadow);
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.product-details .product-image {
    height: auto;
    overflow: hidden;
    position: relative;
    max-height: 500px;
}

.product-details .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.product-details .product-image:hover img {
    transform: scale(1.05);
}

.product-details .product-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.product-details h1 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.product-details .price {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.product-details .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-left: 10px;
}

.product-description {
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.product-features {
    margin-bottom: 30px;
}

.product-features h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.features-list {
    list-style: none;
}

.features-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.features-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.product-actions {
    margin-top: auto;
    display: flex;
    gap: 15px;
}

.product-actions .btn {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-size: 1.1rem;
}

.product-actions .wishlist-btn {
    padding: 15px;
    background: var(--gray-color);
    border: none;
    border-radius: 4px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .product-actions .wishlist-btn:hover {
    background: #3a3a3a;
}

.product-loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 300px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.product-loading i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .product-details {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-details .product-image {
        max-height: 300px;
    }

    .product-details .product-info {
        padding: 20px;
    }

    .product-details h1 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .product-details .price {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .features-list li {
        margin-bottom: 8px;
    }
    
    .page-header {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    
    .back-navigation {
        left: 10px;
        top: 10px;
    }
    
    .back-button {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-details {
        box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    }
    
    .product-details .product-image {
        max-height: 250px;
    }
    
    .product-details .product-info {
        padding: 15px;
    }
    
    .product-details h1 {
        font-size: 1.4rem;
    }
    
    .product-details .price {
        font-size: 1.3rem;
    }
    
    .product-description {
        margin-bottom: 20px;
        font-size: 0.95rem;
    }
    
    .product-features h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .features-list li {
        font-size: 0.9rem;
        padding-left: 20px;
    }
    
    .product-actions .wishlist-btn {
        height: 44px;
    }
    
    .product-actions .btn {
        padding: 12px;
    }
}
