.product-details-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a:hover {
    color: #4a90e2;
    transform: translateX(2px);
}

.breadcrumb i {
    font-size: 12px;
    color: #999;
}

.breadcrumb span {
    color: #333;
    font-weight: 500;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 25px;
    flex: 1;
}

.product-gallery {
    position: relative;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 100%;
    padding-right: 15px;
}

.product-info::-webkit-scrollbar {
    width: 6px;
}

.product-info::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.product-info::-webkit-scrollbar-thumb {
    background: #4a90e2;
    border-radius: 3px;
}

.product-title {
    font-size: 2rem;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #2d3436 0%, #434343 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.product-specs {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f2f6 100%);
    padding: 25px;
    border-radius: 15px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
}

.product-specs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #357abd, #4a90e2);
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.spec-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: rgba(74, 144, 226, 0.3);
}

.spec-item:hover::after {
    opacity: 1;
}

.spec-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(74, 144, 226, 0.05) 100%);
    border-radius: 10px;
}

.spec-item:hover .spec-icon {
    transform: rotate(5deg) scale(1.1);
}

.spec-item i {
    font-size: 1.4rem;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.spec-content {
    flex: 1;
}

.spec-label {
    color: #57606f;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.spec-value {
    color: #2d3436;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    position: relative;
    padding-bottom: 3px;
}

.spec-value::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #4a90e2;
    transition: width 0.3s ease;
}

.spec-item:hover .spec-value::after {
    width: 100%;
}

.product-actions {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: auto;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.quantity-btn {
    background: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    cursor: pointer;
    color: #4a90e2;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #4a90e2;
    color: white;
    transform: scale(1.1);
}

#quantity {
    width: 60px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3436;
}

.add-to-cart-btn {
    flex: 1;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.add-to-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.add-to-cart-btn.out-of-stock {
    background: linear-gradient(135deg, #a4b0be 0%, #747d8c 100%);
    cursor: not-allowed;
}

.wishlist-btn {
    background: white;
    border: 2px solid #4a90e2;
    color: #4a90e2;
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    background: #4a90e2;
    color: white;
    transform: translateY(-3px);
}

.related-products {
    display: none;
}

.related-products h2 {
    margin-bottom: 30px;
    color: #2d3436;
    font-size: 1.8rem;
    position: relative;
    padding-left: 15px;
}

.related-products h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: #4a90e2;
    border-radius: 2px;
}

@media (max-width: 992px) {
    .product-details {
        grid-template-columns: 1fr;
        max-height: none;
    }
    
    .product-gallery {
        height: 400px;
    }
    
    .product-info {
        max-height: none;
    }
    
    .related-products {
        display: block;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .product-gallery {
        height: 300px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .quantity-selector {
        width: 100%;
        justify-content: center;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.product-details {
    animation: fadeIn 0.5s ease-out;
}