/* ==============================================
   SHOP PAGE STYLES - shop.css
   ============================================== */

/* Shop Categories */
.shop-categories {
    padding: 40px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
    border-bottom: 1px solid rgba(0, 246, 255, 0.1);
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.category-tab {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 246, 255, 0.2);
    border-radius: 25px;
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.category-tab:hover,
.category-tab.active {
    background: linear-gradient(135deg, #001aff, #00f6ff);
    color: #ffffff;
    border-color: #00f6ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 246, 255, 0.3);
}

.shop-controls {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 246, 255, 0.2);
    border-radius: 25px;
    overflow: hidden;
    min-width: 300px;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.95rem;
}

.search-box input::placeholder {
    color: #666;
}

.search-box input:focus {
    outline: none;
}

.search-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #001aff, #00f6ff);
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #00f6ff, #001aff);
}

.sort-controls select {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 246, 255, 0.2);
    border-radius: 25px;
    color: #ffffff;
    font-size: 0.95rem;
    cursor: pointer;
    min-width: 180px;
}

/* Shop Main Section */
.quantum-shop {
    padding: 60px 0;
    background: #0a0a0a;
    min-height: 80vh;
}

.shop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Featured Banner */
.featured-banner {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 50px;
    /*display: flex;*/
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.featured-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 10s linear infinite;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
}

.banner-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.banner-timer {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.timer-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.timer-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.timer-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 246, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: #00f6ff;
    box-shadow: 0 20px 40px rgba(0, 246, 255, 0.2);
}

.product-card.featured {
    border-color: #ffa500;
    background: rgba(255, 165, 0, 0.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-badge {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: #ffffff;
}

.new-badge {
    background: linear-gradient(135deg, #51cf66, #69db7c);
    color: #ffffff;
}

.course-badge {
    background: linear-gradient(135deg, #9775fa, #b197fc);
    color: #ffffff;
}

.limited-badge {
    background: linear-gradient(135deg, #ff8a00, #ffd43b);
    color: #000000;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: rgba(0, 246, 255, 0.9);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    color: #000000;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.quick-view-btn:hover {
    background: #00f6ff;
    transform: scale(1.05);
}

.product-content {
    padding: 25px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.product-category {
    background: rgba(0, 246, 255, 0.1);
    color: #00f6ff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.stars {
    color: #ffd700;
}

.rating-count {
    color: #a0a0a0;
}

.product-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.product-description {
    color: #b0b0b0;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background: rgba(0, 26, 255, 0.2);
    color: #a0d4ff;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-old {
    color: #666;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.price-current {
    color: #00f6ff;
    font-size: 1.3rem;
    font-weight: 700;
}

.price-discount {
    background: #ff6b6b;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.price-unit,
.price-shipping {
    color: #888;
    font-size: 0.8rem;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #001aff, #00f6ff);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #00f6ff, #001aff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 246, 255, 0.4);
}

.add-to-cart-btn.added {
    background: linear-gradient(135deg, #51cf66, #69db7c);
}

/* Load More */
.load-more-section {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Shop Stats */
.shop-stats {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 246, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #00f6ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 246, 255, 0.2);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00f6ff;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 246, 255, 0.5);
}

.stat-label {
    color: #a0a0a0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Shopping Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 246, 255, 0.2);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 25px;
    border-bottom: 1px solid rgba(0, 246, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-count {
    background: #00f6ff;
    color: #000000;
    padding: 4px 8px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.cart-close {
    background: none;
    border: none;
    color: #00f6ff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cart-close:hover {
    background: rgba(0, 246, 255, 0.1);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    color: #a0a0a0;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 246, 255, 0.1);
}

.item-info {
    flex: 1;
}

.item-name {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 5px;
}

.item-details {
    display: flex;
    justify-content: space-between;
    color: #a0a0a0;
    font-size: 0.9rem;
}

.item-price {
    color: #00f6ff;
    font-weight: 600;
}

.item-remove {
    background: #ff6b6b;
    border: none;
    color: #ffffff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.item-remove:hover {
    background: #ff5252;
    transform: scale(1.1);
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid rgba(0, 246, 255, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.total-label {
    color: #a0a0a0;
}

.total-amount {
    color: #00f6ff;
    font-weight: 700;
    font-size: 1.4rem;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Cart Toggle Button 
.cart-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #001aff, #00f6ff);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 246, 255, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cart-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 246, 255, 0.6);
}
*/
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

/* Product Modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    background: #0a0a0a;
    border: 1px solid rgba(0, 246, 255, 0.2);
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 2;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #00f6ff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 3;
}

.product-detail {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-gallery {
    display: grid;
    gap: 15px;
}

.gallery-image {
    width: 100%;
    border-radius: 10px;
}

.modal-actions {
    margin-top: 30px;
}

/* Shop Features */
.shop-features {
    padding: 80px 0;
    background: #0a0a0a;
}

.features-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-title {
    font-size: 2.5rem;
    text-align: center;
    color: #ffffff;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 246, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: #00f6ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 246, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-item h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-item p {
    color: #a0a0a0;
    line-height: 1.5;
}

/* Newsletter */
.shop-newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #001aff 0%, #00f6ff 100%);
    text-align: center;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.newsletter-title {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.newsletter-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter-form .form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.newsletter-btn {
    padding: 15px 30px;
    white-space: nowrap;
}

.newsletter-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 968px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .shop-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        min-width: 250px;
    }
    
    .featured-banner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .banner-timer {
        gap: 15px;
    }
    
    .timer-item {
        padding: 10px 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .shop-container,
    .categories-container,
    .features-container,
    .stats-container,
    .newsletter-container {
        padding: 0 15px;
    }
    
    .product-card {
        margin: 0 10px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .product-detail {
        padding: 25px;
    }
}
/* ===== ERGÄNZUNG FÜR SHOP.CSS - HEADER WARENKORB =====
   Diese Stile sollten am Ende der bestehenden shop.css eingefügt werden */

/* Header Cart Navigation Styles */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cart {
    position: relative;
}

#header-cart-toggle {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

#header-cart-toggle:hover {
    background: rgba(0, 246, 255, 0.1);
    color: #00f6ff;
    transform: scale(1.05);
}

#header-cart-toggle:active {
    transform: scale(0.95);
}

#header-cart-toggle .cart-icon {
    font-size: 1.5rem;
    position: relative;
}

#header-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #00f6ff;
    color: #000000;
    font-size: 0.75rem;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation: cartBadgePulse 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#header-cart-badge.show {
    display: flex;
}

@keyframes cartBadgePulse {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Enhanced Cart Sidebar Styles */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 246, 255, 0.2);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 25px;
    border-bottom: 1px solid rgba(0, 246, 255, 0.1);
    background: rgba(0, 26, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.cart-count {
    background: #00f6ff;
    color: #000000;
    padding: 4px 8px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.cart-close {
    background: none;
    border: none;
    color: #00f6ff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-close:hover {
    background: rgba(0, 246, 255, 0.1);
    transform: rotate(90deg);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    color: #a0a0a0;
    padding: 60px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.cart-empty p {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #ffffff;
}

.cart-empty span {
    font-size: 0.9rem;
    opacity: 0.7;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 246, 255, 0.1);
    position: relative;
    animation: cartItemSlideIn 0.3s ease;
}

.cart-item:last-child {
    border-bottom: none;
}

@keyframes cartItemSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.item-image {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 246, 255, 0.2);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-name {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.item-quantity {
    color: #a0a0a0;
}

.item-price {
    color: #00f6ff;
    font-weight: 600;
}

.item-remove {
    position: absolute;
    top: 8px;
    right: 0;
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.3);
    font-size: 1rem;
    cursor: pointer;
    color: #ff6b6b;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
}

.item-remove:hover {
    background: #ff6b6b;
    color: #ffffff;
    transform: scale(1.1);
    border-color: #ff6b6b;
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid rgba(0, 246, 255, 0.1);
    background: rgba(0, 26, 255, 0.05);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 246, 255, 0.1);
}

.total-label {
    color: #a0a0a0;
    font-weight: 500;
}

.total-amount {
    color: #00f6ff;
    font-weight: 700;
    font-size: 1.4rem;
    text-shadow: 0 0 10px rgba(0, 246, 255, 0.3);
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-actions button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
}

.view-cart-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(0, 246, 255, 0.3);
}

.view-cart-btn:hover {
    background: rgba(0, 246, 255, 0.1);
    border-color: #00f6ff;
    color: #00f6ff;
    transform: translateY(-1px);
}

#checkout-btn-sidebar {
    background: linear-gradient(135deg, #001aff, #00f6ff);
    color: #ffffff;
    border: 1px solid #00f6ff;
}

#checkout-btn-sidebar:hover {
    background: linear-gradient(135deg, #00f6ff, #001aff);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 246, 255, 0.4);
}

#checkout-btn-sidebar:disabled {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #666 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Cart Overlay for Mobile */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Cart Notifications */
.cart-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, #51cf66, #69db7c);
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    max-width: 320px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-notification.show {
    transform: translateX(0);
}

.cart-notification.error {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
}

.cart-notification.info {
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
}

/* Animation for cart updates */
@keyframes cartUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

#header-cart-toggle.updated {
    animation: cartUpdate 0.3s ease;
}

/* Custom scrollbar for cart content */
.cart-content::-webkit-scrollbar {
    width: 6px;
}

.cart-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.cart-content::-webkit-scrollbar-thumb {
    background: rgba(0, 246, 255, 0.3);
    border-radius: 3px;
}

.cart-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 246, 255, 0.5);
}

/* Enhanced Mobile Responsive */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .cart-sidebar.open {
        right: 0;
    }
    
    .nav-controls {
        gap: 0.5rem;
    }
    
    #header-cart-toggle {
        padding: 0.25rem;
    }
    
    .cart-notification {
        right: 10px;
        left: 10px;
        max-width: none;
        top: 80px;
    }
    
    .cart-header {
        padding: 20px;
    }
    
    .cart-content {
        padding: 15px;
    }
    
    .cart-footer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .cart-header {
        padding: 15px;
    }
    
    .cart-content {
        padding: 10px;
    }
    
    .cart-footer {
        padding: 15px;
    }
    
    .cart-item {
        padding: 12px 0;
    }
    
    .item-name {
        font-size: 0.9rem;
    }
    
    .item-details {
        font-size: 0.8rem;
    }
    
    .cart-title {
        font-size: 1.1rem;
    }
    
    .total-amount {
        font-size: 1.2rem;
    }
}
/* ===== ERGÄNZUNG FÜR SHOP.CSS - NUR EINZELPRODUKT STYLES =====
   Diese Styles am Ende der bestehenden shop.css hinzufügen */

/* ===== EINZELPRODUKT ANSICHT STYLES ===== */
.product-detail-page {
    background: #0a0a0a;
    min-height: 80vh;
    padding: 2rem 0;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 2rem;
}

.main-image {
    margin-bottom: 1.5rem;
}

.product-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    border: 1px solid rgba(0, 246, 255, 0.2);
    transition: all 0.3s ease;
}

.product-main-image:hover {
    border-color: #00f6ff;
    box-shadow: 0 10px 30px rgba(0, 246, 255, 0.2);
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(0, 246, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-image:hover {
    border-color: #00f6ff;
    transform: scale(1.05);
}

.product-info {
    padding: 2rem 0;
}

.product-breadcrumb {
    color: #a0a0a0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.product-breadcrumb a {
    color: #00f6ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-breadcrumb a:hover {
    color: #ffffff;
}

/* Override product-title for detail page only */
.product-detail-page .product-title {
    font-size: 3rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(0, 246, 255, 0.3);
}

/* Override product-rating for detail page only */
.product-detail-page .product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-detail-page .product-rating .stars {
    color: #ffd700;
    font-size: 1.2rem;
}

.rating-text {
    color: #a0a0a0;
    font-size: 0.9rem;
}

/* Override product-price for detail page only */
.product-detail-page .product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.product-detail-page .product-price .price-old {
    color: #666;
    text-decoration: line-through;
    font-size: 1.2rem;
}

.product-detail-page .product-price .discount-badge {
    background: #ff6b6b;
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-detail-page .product-price .price-current {
    color: #00f6ff;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 246, 255, 0.5);
}

.product-description {
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Override product-features for detail page only */
.product-detail-page .product-features {
    margin-bottom: 2rem;
}

.product-detail-page .product-features h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-detail-page .product-features ul {
    list-style: none;
    padding: 0;
}

.product-detail-page .product-features li {
    color: #a0a0a0;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-detail-page .product-features li::before {
    content: '✓';
    color: #00f6ff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Override product-meta for detail page only */
.product-detail-page .product-meta {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 246, 255, 0.1);
}

.product-detail-page .meta-item {
    margin-bottom: 0.8rem;
    color: #a0a0a0;
}

.product-detail-page .meta-item:last-child {
    margin-bottom: 0;
}

.product-detail-page .meta-item strong {
    color: #ffffff;
}

.product-actions {
    margin-top: 3rem;
}

.product-actions .add-to-cart-btn {
    font-size: 1.2rem;
    padding: 18px 35px;
    border-radius: 12px;
}

/* Product Reviews Section */
.product-reviews {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.product-reviews h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.reviews-list {
    display: grid;
    gap: 2rem;
}

.review-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 246, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-header strong {
    color: #ffffff;
    font-size: 1.1rem;
}

.review-rating {
    color: #ffd700;
    font-size: 1.1rem;
}

.review-date {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.review-title {
    color: #00f6ff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0;
}

/* Related Products Section */
.related-products {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.related-products h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Featured Products Slider Fixes */
.featured-products-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}

.featured-product-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.featured-product-image {
    height: 120px;
    overflow: hidden;
    position: relative;
}

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

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

.featured-product-info {
    padding: 15px;
    text-align: center;
}

.featured-product-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-product-price {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.featured-product-btn {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.featured-product-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsiveness for Product Detail */
@media (max-width: 968px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .product-gallery {
        position: static;
    }
    
    .product-main-image {
        height: 300px;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-detail-page .product-title {
        font-size: 2rem;
    }
    
    .product-detail-page .product-price .price-current {
        font-size: 2rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .featured-products-slider {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .product-detail-page .product-title {
        font-size: 1.8rem;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-detail-page .product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .product-actions .add-to-cart-btn {
        width: 100%;
        text-align: center;
    }
    
    .featured-products-slider {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .featured-product-image {
        height: 100px;
    }
    
    .featured-product-title {
        font-size: 0.9rem;
    }
    
    .featured-product-price {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .product-detail-container {
        padding: 0 1rem;
    }
    
    .product-detail-page .product-title {
        font-size: 1.5rem;
    }
    
    .product-detail-page .product-price .price-current {
        font-size: 1.8rem;
    }
    
    .featured-products-slider {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .featured-product-card {
        max-width: 250px;
        margin: 0 auto;
    }
}