/* ==========================================
   PRODUCT PAGE CSS
   Passend zum PluraX Dark Theme
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: radial-gradient(ellipse at center, #001a33 0%, #000000 70%);
    background-attachment: fixed;
    color: #b8c5d6;
    line-height: 1.6;
    min-height: 100vh;
}

/* ==================
   CONTAINER
   ================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================
   BREADCRUMB
   ================== */
.breadcrumb {
    padding: 30px 0 20px;
    font-size: 14px;
    color: #8b98a9;
}

.breadcrumb a {
    color: #5db9ff;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    margin: 0 8px;
    color: #6b7685;
}

.breadcrumb span:last-child {
    color: #b8c5d6;
}

/* ==================
   PRODUCT DETAIL
   ================== */
.product-detail {
    padding: 40px 0 80px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 20px;
}

/* ==================
   PRODUCT IMAGE
   ================== */
.product-detail-image {
    background: rgba(21, 25, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.product-detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

/* ==================
   PRODUCT INFO
   ================== */
.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.product-detail-header h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin: 0;
}

.product-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.new {
    background: rgba(93, 185, 255, 0.15);
    color: #5db9ff;
}

.product-badge.popular {
    background: rgba(255, 159, 67, 0.15);
    color: #ff9f43;
}

.product-badge.recommended {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
}

.product-badge.info {
    background: rgba(139, 152, 169, 0.15);
    color: #8b98a9;
}

/* ==================
   PRICE BOX
   ================== */
.product-price-box {
    background: rgba(93, 185, 255, 0.1);
    border: 1px solid rgba(93, 185, 255, 0.3);
    border-radius: 12px;
    padding: 24px;
}

.price-main {
    font-size: 48px;
    font-weight: 700;
    color: #5db9ff;
    line-height: 1;
    margin-bottom: 8px;
}

.price-subtitle {
    font-size: 16px;
    color: #8b98a9;
}

/* ==================
   DESCRIPTION BOX
   ================== */
.product-description-box {
    background: rgba(21, 25, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
}

.product-description-box h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 12px;
}

.product-description-box p {
    color: #b8c5d6;
    font-size: 15px;
    line-height: 1.7;
}

/* ==================
   FEATURES BOX
   ================== */
.product-features-box {
    background: rgba(21, 25, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
}

.product-features-box h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #b8c5d6;
    font-size: 15px;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

/* ==================
   CART ACTIONS
   ================== */
.cart-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-add-to-cart {
    flex: 1;
    min-width: 200px;
    background: #5db9ff;
    color: #000;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-to-cart:hover {
    background: #4da8ee;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(93, 185, 255, 0.4);
}

.btn-demo {
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    color: #b8c5d6;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-demo:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==================
   TRUST BADGES
   ================== */
.trust-badges {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b98a9;
    font-size: 14px;
}

.trust-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ==================
   SUCCESS MESSAGE
   ================== */
.cart-success-message {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(39, 174, 96, 0.95);
    color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.success-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.success-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.success-text {
    font-size: 15px;
    font-weight: 600;
}
.cart-success-message.success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-success-message.error {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
/* ==================
   NOT FOUND
   ================== */
.not-found {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================
   FOOTER
   ================== */
footer {
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-section p {
    color: #8b98a9;
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #5db9ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #6b7685;
    font-size: 14px;
}

/* ==================
   CTA BUTTON
   ================== */
.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background: #5db9ff;
    color: #000;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #4da8ee;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(93, 185, 255, 0.4);
}

/* ==================
   RESPONSIVE
   ================== */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-detail-image {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .product-detail-header h1 {
        font-size: 32px;
    }
    
    .price-main {
        font-size: 36px;
    }
    
    .product-detail-image {
        min-height: 300px;
        padding: 30px;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .btn-add-to-cart,
    .btn-demo {
        width: 100%;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 12px;
    }
    
    .cart-success-message {
        top: 20px;
        right: 20px;
        left: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 12px;
    }
    
    .product-detail-header h1 {
        font-size: 24px;
    }
    
    .price-main {
        font-size: 28px;
    }
}