/* CLIP AWARDS PREMIUM STORE */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #9147ff;
    --primary-glow: rgba(145, 71, 255, 0.3);
    --accent: #ec4899;
    --gold: #fbbf24;
    --success: #10b981;
    --danger: #ef4444;
    
    /* Dark Theme */
    --bg-main: #0f0b15;
    --bg-elevated: #1a1625;
    --bg-shelf: rgba(26, 22, 37, 0.6);
    --border-subtle: rgba(145, 71, 255, 0.1);
    --border-bright: rgba(145, 71, 255, 0.3);
    
    --text: #ffffff;
    --text-secondary: #c4c4d4;
    --text-muted: #8a8a9a;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #9147ff 0%, #ec4899 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --shadow-glow: 0 0 48px rgba(145, 71, 255, 0.4);
    
    --shelf-wood: linear-gradient(180deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 100%);
    --shelf-shadow: 0 -2px 20px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(145, 71, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.premium-store {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
    font-family: 'Unbounded', sans-serif;
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: visible;
}

.products-section {
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* HERO */
.store-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    min-height: auto;
    padding: 1rem 0;
    overflow: visible;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: rgba(139,92,246,0.1);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fff 0%, #a0a0b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 450px;
}

/* ClippyGems Display (kompakt) */
.gems-display {
    position: fixed;
    top: 120px;
    left: 2rem;
    z-index: 100;
    animation: slideIn 0.5s ease-out;
}

.gems-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: rgba(20, 20, 31, 0.95);
    border: 1px solid var(--border);
    border-radius: 9999px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.gems-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(139,92,246,0.3);
    border-color: var(--primary);
}

.gems-container i {
    font-size: 1.25rem;
    color: var(--warning);
    animation: gemPulse 2s ease-in-out infinite;
}

@keyframes gemPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.gems-amount {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text);
    min-width: 40px;
    text-align: right;
}

.hero-visual {
    position: relative;
    height: 280px;
    overflow: visible;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.preview-card {
    position: absolute;
    width: 120px;
    height: 120px;
    animation: float 6s ease-in-out infinite;
}

.preview-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 40, 0.4);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Pattern Container für Preview-Cards */
.preview-pattern {
    position: absolute;
    left: 0;
    right: 0;
    overflow: hidden;
}

.preview-pattern-scroll-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    width: max-content;
}

.preview-pattern-texture {
    width: 25px;
    height: 25px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: brightness(1.1);
}

/* Oberste Reihe */
.preview-pattern-top-far {
    top: 8%;
    z-index: 0;
}

.preview-pattern-top-far .preview-pattern-scroll-track {
    animation: pattern-scroll-left 15s linear infinite;
}

.preview-pattern-top-far .preview-pattern-texture {
    width: 18px;
    height: 18px;
    opacity: 0.25;
    transform: rotate(15deg);
}

/* Obere Reihe */
.preview-pattern-top {
    top: 22%;
    z-index: 1;
}

.preview-pattern-top .preview-pattern-scroll-track {
    animation: pattern-scroll-right 18s linear infinite;
}

.preview-pattern-top .preview-pattern-texture {
    width: 22px;
    height: 22px;
    opacity: 0.35;
    transform: rotate(15deg);
}

/* Untere Reihe */
.preview-pattern-bottom {
    bottom: 22%;
    z-index: 1;
}

.preview-pattern-bottom .preview-pattern-scroll-track {
    animation: pattern-scroll-left 18s linear infinite;
}

.preview-pattern-bottom .preview-pattern-texture {
    width: 22px;
    height: 22px;
    opacity: 0.35;
    transform: rotate(15deg);
}

/* Unterste Reihe */
.preview-pattern-bottom-far {
    bottom: 8%;
    z-index: 0;
}

.preview-pattern-bottom-far .preview-pattern-scroll-track {
    animation: pattern-scroll-right 15s linear infinite;
}

.preview-pattern-bottom-far .preview-pattern-texture {
    width: 18px;
    height: 18px;
    opacity: 0.25;
    transform: rotate(15deg);
}

.preview-image {
    width: 50%;
    height: 50%;
    object-fit: contain;
    border-radius: 1.5rem;
    position: relative;
    z-index: 3;
}


.preview-card i {
    font-size: 4rem;
    color: white;
}

.preview-card.card-1 { 
    top: 60%; 
    left: 15%; 
}

.preview-card.card-1 .preview-card-inner {
    background: linear-gradient(135deg, rgba(145, 71, 255, 0.25), rgba(180, 58, 255, 0.15));
    box-shadow: 0 8px 32px rgba(145, 71, 255, 0.4);
    border: 2px solid rgba(145, 71, 255, 0.6);
}

.preview-card.card-2 { 
    top: 55%; 
    right: 20%; 
    animation-delay: 2s; 
}

.preview-card.card-2 .preview-card-inner {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.25), rgba(0, 180, 255, 0.15));
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.4);
    border: 2px solid rgba(0, 255, 255, 0.6);
}

.preview-card.card-3 { 
    top: 90%; 
    left: 38%; 
    animation-delay: 4s; 
}

.preview-card.card-3 .preview-card-inner {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.25), rgba(255, 152, 0, 0.15));
    box-shadow: 0 8px 32px rgba(255, 193, 7, 0.4);
    border: 2px solid rgba(255, 193, 7, 0.6);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

/* CLIPPY-GEM WÄHRUNG DISPLAY */
.currency-display {
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-start;
}

.currency-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(20, 20, 31, 0.5);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(145, 71, 255, 0.3);
    border-radius: 20px;
    padding: 0.625rem 1.25rem;
    transition: all 0.3s ease;
}

.currency-container:hover {
    background: rgba(30, 30, 45, 0.7);
    border-color: rgba(145, 71, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(145, 71, 255, 0.2);
}

.currency-icon {
    width: 24px;
    height: 24px;
    filter: brightness(1.1) saturate(1.2);
    transition: transform 0.3s ease;
    position: relative;
}

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

.currency-amount {
    font-family: 'Unbounded', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: transparent;
    text-shadow: 
        /* Füllfarbe */
        0 0 0 #ff60f6,
        /* Magenta Kontur */
        -1.5px -1.5px 0 #a900a0,
        1.5px -1.5px 0 #a900a0,
        -1.5px 1.5px 0 #a900a0,
        1.5px 1.5px 0 #a900a0,
        /* Schatten */
        0 3px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    min-width: 40px;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

/* Pulse Animation für Gem Update */
.currency-amount.stat-pulse {
    animation: gemPulseUpdate 0.5s ease-out;
}

@keyframes gemPulseUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
        text-shadow: 
            0 0 0 #ff60f6,
            -2px -2px 0 #a900a0,
            2px -2px 0 #a900a0,
            -2px 2px 0 #a900a0,
            2px 2px 0 #a900a0,
            0 0 20px rgba(255, 96, 246, 0.8),
            0 5px 8px rgba(0, 0, 0, 0.5);
    }
    100% {
        transform: scale(1);
    }
}

/* CATEGORIES */
.store-categories {
    margin-bottom: 1.5rem;
}

/* SUPPORT INFO */
.store-support-info {
    margin-bottom: 2rem;
}

.store-support-info-top {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: flex-start;
}

.store-support-info-top .support-info-card {
    max-width: 600px;
    width: auto;
}

.support-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    background: rgba(145, 71, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(145, 71, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.support-info-card:hover {
    border-color: rgba(145, 71, 255, 0.4);
}

.support-info-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-info-icon i {
    font-size: 1rem;
    color: white;
}

.support-info-content {
    flex: 1;
}

.support-info-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.support-info-close {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.support-info-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.category-nav {
    display: inline-flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.4rem;
    background: rgba(20, 20, 31, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(145, 71, 255, 0.15);
    max-width: 100%;
}

/* Verstecke Scrollbar aber behalte Funktionalität */
.category-nav::-webkit-scrollbar {
    height: 4px;
}

.category-nav::-webkit-scrollbar-track {
    background: transparent;
}

.category-nav::-webkit-scrollbar-thumb {
    background: rgba(145, 71, 255, 0.3);
    border-radius: 2px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(30, 30, 45, 0.5);
    border: 1px solid rgba(145, 71, 255, 0.2);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-pill:hover {
    background: rgba(40, 40, 60, 0.7);
    border-color: rgba(145, 71, 255, 0.4);
    color: var(--text);
    transform: translateY(-1px);
}

.category-pill.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 16px rgba(145, 71, 255, 0.3);
    transform: translateY(-1px);
}

.category-pill i {
    font-size: 0.875rem;
}

/* INNOVATIVE SHELF DESIGN */
.shelf-section {
    margin-bottom: 3rem;
    transition: order 0.3s ease;
    position: relative;
}

.shelf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

/* Shelf Title Container */
.shelf-title-container {
    background: rgba(145, 71, 255, 0.08);
    border: 1px solid rgba(145, 71, 255, 0.25);
    border-radius: 12px;
    padding: 0.6rem 1.25rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.shelf-title-container:hover {
    background: rgba(145, 71, 255, 0.12);
    border-color: rgba(145, 71, 255, 0.4);
    box-shadow: 0 4px 12px rgba(145, 71, 255, 0.15);
}

.shelf-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.shelf-title i {
    color: var(--primary);
}

.shelf-nav {
    display: flex;
    gap: 0.5rem;
}

.shelf-nav-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.shelf-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.05);
}

.products-grid {
    position: relative;
    padding: 0.5rem 1rem;
    background: var(--shelf-wood);
    border-radius: 26px;
    box-shadow: var(--shelf-shadow);
    overflow: hidden;
}

.products-grid::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        transparent 5%, 
        transparent 95%, 
        var(--primary) 100%);
    opacity: 0.3;
}

.shelf-scroll {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.shelf-scroll::-webkit-scrollbar {
    height: 6px;
}

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

.shelf-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
    width: 240px;
    min-height: 340px;
    background: rgba(20, 20, 31, 0.3);
    border: 2px dashed rgba(145, 71, 255, 0.2);
    border-radius: 16px;
    flex-shrink: 0;
}

.empty-state i {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.empty-state-title {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    font-weight: 500;
    line-height: 1.4;
}

.empty-state-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════
   VÖLLIG NEUES CARD DESIGN - MINIMALISTISCH & INNOVATIV
   ═══════════════════════════════════════════════════════════ */

.product-card {
    width: 240px;
    height: 340px;
    background: rgba(20, 20, 31, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(145, 71, 255, 0.2);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: grid;
    grid-template-rows: 1fr 7.625rem;
    flex-shrink: 0;
    overflow: hidden;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 16px 48px rgba(145, 71, 255, 0.25);
}

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

/* Oberer Bereich - Bild & Badge */
.product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem 1.5rem;
    overflow: visible;
}

.product-image i {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.product-card:hover .product-image i {
    opacity: 1;
    transform: scale(1.08);
}

/* Product Images */
.product-image-file,
.product-loader-image {
    width: 100%;
    height: 100%;
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    transition: transform 0.3s ease;
}

.product-loader-image {
    filter: brightness(0.9);
}

/* PATTERN DESIGN für Badges & Banner */
.product-image.pattern-image {
    padding: 2rem 1.5rem;
}

/* Pattern Cards benötigen overflow visible für gedrehte Elemente */
.product-card.has-pattern {
    overflow: visible;
}

.pattern-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.pattern-layer {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    overflow: visible;
}

/* Scroll-Reihen benötigen overflow hidden für Scroll-Effekt */
.pattern-layer.pattern-top-far,
.pattern-layer.pattern-top,
.pattern-layer.pattern-bottom,
.pattern-layer.pattern-bottom-far {
    overflow: hidden;
}

.pattern-scroll-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    white-space: nowrap;
    width: max-content;
}

/* Pattern Textur Bilder */
.pattern-texture {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: brightness(1.1);
}

/* === 2 REIHEN OBEN === */

/* Oberste Reihe */
.pattern-top-far {
    top: 5%;
    left: 0;
    right: 0;
    z-index: 0;
}

.pattern-top-far .pattern-scroll-track {
    animation: pattern-scroll-left 15s linear infinite;
}

.pattern-top-far .pattern-texture {
    width: 32px;
    height: 32px;
    opacity: 0.05;
    transform: rotate(15deg);
    transition: all 0.8s ease;
}

/* Obere Reihe (versetzt) */
.pattern-top {
    top: 22%;
    left: 0;
    right: 0;
    z-index: 1;
}

.pattern-top .pattern-scroll-track {
    animation: pattern-scroll-right 18s linear infinite;
}

.pattern-top .pattern-texture {
    width: 36px;
    height: 36px;
    opacity: 0.08;
    transform: rotate(15deg);
    transition: all 0.8s ease;
}

/* === ZENTRAL-ELEMENT === */

.pattern-center-layer {
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: pattern-pulse 6s ease-in-out infinite;
    justify-content: center;
}

.pattern-center-layer .pattern-texture.pattern-center {
    width: 100px;
    height: 100px;
    opacity: 0.95;
    filter: drop-shadow(0 0 15px rgba(145, 71, 255, 0.4)) brightness(1.15);
    transform: rotate(15deg) scale(1);
    transition: all 0.8s ease;
}

/* Banner sind größer als Badges */
.product-card[data-id*="banner"] .pattern-center-layer .pattern-texture.pattern-center,
.product-card[data-category="banner"] .pattern-center-layer .pattern-texture.pattern-center {
    width: 120px;
    height: 120px;
}

/* === 2 REIHEN UNTEN === */

/* Untere Reihe (versetzt) */
.pattern-bottom {
    bottom: 18%;
    left: 0;
    right: 0;
    z-index: 1;
}

.pattern-bottom .pattern-scroll-track {
    animation: pattern-scroll-left 18s linear infinite;
}

.pattern-bottom .pattern-texture {
    width: 36px;
    height: 36px;
    opacity: 0.08;
    transform: rotate(15deg);
    transition: all 0.8s ease;
}

/* Unterste Reihe */
.pattern-bottom-far {
    bottom: 3%;
    left: 0;
    right: 0;
    z-index: 0;
}

.pattern-bottom-far .pattern-scroll-track {
    animation: pattern-scroll-right 15s linear infinite;
}

.pattern-bottom-far .pattern-texture {
    width: 32px;
    height: 32px;
    opacity: 0.05;
    transform: rotate(15deg);
    transition: all 0.8s ease;
}

/* Keyframes für seamless infinite Scroll */
@keyframes pattern-scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes pattern-scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes pattern-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.03);
    }
}

/* Hover - Animationen pausieren langsam */
.product-card.has-pattern:hover .pattern-container {
    display: flex;
}

/* Alle Scroll-Tracks: Pause Animationen beim Hover */
.product-card.has-pattern:hover .pattern-scroll-track {
    animation-play-state: paused;
}

/* Zentral-Element: Pause Animation beim Hover */
.product-card.has-pattern:hover .pattern-center-layer {
    animation-play-state: paused;
}

/* Erhöhe Opacity aller Texturen beim Hover */
.product-card.has-pattern:hover .pattern-top-far .pattern-texture {
    opacity: 0.12;
}

.product-card.has-pattern:hover .pattern-top .pattern-texture {
    opacity: 0.14;
}

.product-card.has-pattern:hover .pattern-center-layer .pattern-texture.pattern-center {
    opacity: 1;
    transform: rotate(0deg) scale(1.15);
    filter: drop-shadow(0 0 25px rgba(145, 71, 255, 0.6)) brightness(1.2);
}

.product-card.has-pattern:hover .pattern-bottom .pattern-texture {
    opacity: 0.14;
}

.product-card.has-pattern:hover .pattern-bottom-far .pattern-texture {
    opacity: 0.12;
}

/* Bild Hover */
.product-card:hover .product-image-file,
.product-card:hover .product-loader-image {
    transform: translate(-50%, -50%) scale(1.05);
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, rgba(145, 71, 255, 0.3), rgba(236, 72, 153, 0.3));
    color: var(--primary);
    font-size: 0.5625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(145, 71, 255, 0.3);
    border: 1px solid rgba(145, 71, 255, 0.5);
    backdrop-filter: blur(12px);
}

.product-badge.new {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 153, 255, 0.3));
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.5);
    color: #00d4ff;
}

.product-badge.limited {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.3));
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    border: 1px solid rgba(251, 191, 36, 0.5);
    color: #fbbf24;
}

.product-badge.hot {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.3));
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

.product-badge.popular {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(147, 51, 234, 0.3));
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #a855f7;
}

.product-badge.sale {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(22, 163, 74, 0.3));
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #22c55e;
}

.product-badge.exclusive {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(219, 39, 119, 0.3));
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
    border: 1px solid rgba(236, 72, 153, 0.5);
    color: #ec4899;
}

/* Unterer Bereich - Info */
.product-info {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.product-header {
    height: 3.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.product-category {
    font-size: 0.5625rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1;
}

.product-name {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.275em;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 2.5rem;
}

.product-price-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.product-compare-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.125rem;
}

.compare-price-old {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    font-weight: 500;
}

.compare-price-badge {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 0.75rem;
}

.price-decimal {
    font-size: 1rem;
}

.price-gem-icon {
    font-size: 1.125rem;
    color: var(--gold);
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
}

.product-add-btn {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    
    /* 3D Knete-Effekt (klein für Icon-Button) */
    transform: translateY(-3px);
    box-shadow: 
        0 3px 0 rgba(145, 71, 255, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    
    transition: all 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
}

.product-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 2px 0 rgba(145, 71, 255, 0.6),
        0 3px 6px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.product-add-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 0px 0 rgba(145, 71, 255, 0.6),
        0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* Im Warenkorb - Orange */
.product-add-btn.in-cart {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    cursor: not-allowed;
    opacity: 0.9;
    box-shadow: 
        0 3px 0 #b45309,
        0 4px 8px rgba(245, 158, 11, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.product-add-btn.in-cart:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 6px 0 #b45309,
        0 7px 12px rgba(245, 158, 11, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* Bereits besessen - Grün */
.product-add-btn.owned {
    background: linear-gradient(135deg, #10b981, #059669);
    cursor: not-allowed;
    opacity: 0.95;
    box-shadow: 
        0 3px 0 #047857,
        0 4px 8px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.product-add-btn.owned:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 6px 0 #047857,
        0 7px 12px rgba(16, 185, 129, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* Legacy disabled state */
.product-add-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.product-shipping {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.375rem 0.75rem;
    background: rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(16, 185, 129, 0.5);
    border-radius: 8px;
    font-size: 0.5625rem;
    font-weight: 800;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.product-shipping i {
    font-size: 0.6875rem;
    color: var(--success);
}

/* BUNDLE - DARK THEME */
.featured-bundle {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2.5rem;
    padding: 2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-bright);
    border-radius: 16px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.featured-bundle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.bundle-image-container {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-bright);
}

.bundle-image {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(145, 71, 255, 0.1), rgba(236, 72, 153, 0.1));
}

.bundle-image i {
    font-size: 6rem;
    color: rgba(145, 71, 255, 0.3);
}

.bundle-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bundle-image-container .product-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
}

.bundle-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
}

.bundle-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.bundle-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.bundle-price {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 2rem 0;
}

.bundle-compare-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bundle-compare-price .old-price {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    font-weight: 500;
}

.bundle-compare-price .compare-price-badge {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

.current-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, #ec4899 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.current-price .price-currency {
    font-size: 2rem;
}

.current-price .price-decimal {
    font-size: 2rem;
}

.bundle-content .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    border-radius: 12px;
    position: relative;
    width: fit-content;
    align-self: flex-start;
    
    /* 3D Knete-Effekt wie Fund-Button */
    transform: translateY(-6px);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 
                 0 -1px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 6px 0 rgba(145, 71, 255, 0.6),           /* Unterer 3D-Schatten (lila) */
        0 8px 15px rgba(0, 0, 0, 0.2),             /* Weicher Schatten */
        inset 0 1px 0 rgba(255, 255, 255, 0.4),    /* Oberer Glanz */
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);         /* Unterer Schatten */
    
    transition: all 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
}

.bundle-content .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 4px 0 rgba(145, 71, 255, 0.6),
        0 6px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.bundle-content .btn-primary:active {
    transform: translateY(0px);
    box-shadow: 
        0 0px 0 rgba(145, 71, 255, 0.6),
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.bundle-content .btn-primary i {
    font-size: 0.875rem;
}

/* BUTTONS */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.0625rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,10,15,0.9);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    position: relative;
    max-width: 1000px;
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    overflow: hidden;
    animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(-32px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.15s;
    z-index: 10;
}

.modal-close:hover {
    background: var(--danger);
    transform: rotate(90deg);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2.5rem;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-media {
    background: linear-gradient(135deg, rgba(139,92,246,0.05), rgba(236,72,153,0.05));
    border-radius: 1rem;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
}

.media-display i {
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.5;
}

.detail-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139,92,246,0.1);
    border-radius: 9999px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.detail-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.detail-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(16,185,129,0.05);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-item i {
    color: var(--success);
}

.detail-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.price-value {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* FLOATING CART BUTTON */
.cart-floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    z-index: 9999;
    
    /* 3D Knete-Effekt (reduziert) */
    transform: translateY(-5px);
    box-shadow: 
        0 5px 0 rgba(145, 71, 255, 0.6),
        0 6px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    
    transition: all 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
}

.cart-floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 3px 0 rgba(145, 71, 255, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.cart-floating-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 0px 0 rgba(145, 71, 255, 0.6),
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    border: 3px solid var(--bg);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* CART MODAL - orientiert an Profil-Modal */
.cart-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 11, 21, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
}

.cart-modal-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

.cart-modal-content {
    background-color: #1a1525;
    color: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
    border: 1px solid #2e2640;
    transform: scale(0.95) translateY(10px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.25s ease-out;
    transition-delay: 0s;
}

.cart-modal-overlay:not(.hidden) .cart-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
    transition-delay: 0.05s;
}

.cart-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid transparent;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease-out;
    font-size: 1.125rem;
}

.cart-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.cart-modal-header {
    padding: 2rem 2rem 1.5rem;
    position: relative;
    background: linear-gradient(135deg, rgba(145, 71, 255, 0.35) 0%, #0f0b15 75%);
    border-bottom: 1px solid #2e2640;
}

.cart-modal-header h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.cart-modal-header i {
    color: var(--primary);
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
    min-height: 300px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(145, 71, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(145, 71, 255, 0.3);
    transform: translateX(4px);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: rgba(145, 71, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-image i {
    font-size: 1.75rem;
    color: var(--primary);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

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

.cart-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-category {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    margin: 0 1rem;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(145, 71, 255, 0.15);
    border-radius: 8px;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.quantity-btn:hover:not(:disabled) {
    background: rgba(145, 71, 255, 0.25);
    transform: scale(1.1);
}

.quantity-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.quantity-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.quantity-number {
    font-family: 'Unbounded', monospace;
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    min-width: 24px;
    text-align: center;
}

.cart-item-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex-shrink: 0;
}

.cart-item-compare-price {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    font-weight: 500;
}

.cart-item-price {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
    font-family: 'Unbounded', monospace;
    font-weight: 700;
    font-size: 1.125rem;
    color: #ff60f6;
}

.cart-item-price .price-currency {
    font-size: 0.875rem;
    opacity: 0.8;
}

.cart-item-price .price-decimal {
    font-size: 0.875rem;
    opacity: 0.8;
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: scale(1.1);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1rem;
    color: var(--text-secondary);
}

.cart-empty i {
    font-size: 4rem;
    color: var(--text-tertiary);
    opacity: 0.3;
}

.cart-empty p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.cart-modal-footer {
    padding: 2rem;
    border-top: 1px solid rgba(145, 71, 255, 0.2);
    background: rgba(10, 10, 20, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0; /* Footer darf nicht schrumpfen */
}

.cart-modal-footer .support-info-card {
    margin-bottom: 0.5rem;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.summary-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.summary-value {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    font-family: 'Unbounded', monospace;
    color: #ff60f6;
    font-size: 1.75rem;
}

.summary-value .price-currency {
    font-size: 1.25rem;
    opacity: 0.8;
}

.summary-value .price-decimal {
    font-size: 1.25rem;
    opacity: 0.7;
}

.summary-value i {
    font-size: 1.5rem;
    color: #ff60f6;
}

/* AGB Checkbox */
.cart-terms {
    padding: 0.75rem 1rem;
    background: rgba(255, 193, 7, 0.05);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 8px;
    margin: 0.5rem 0;
}

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.terms-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 193, 7, 0.5);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.terms-checkbox:hover .checkmark {
    border-color: rgba(255, 193, 7, 0.8);
    background: rgba(255, 193, 7, 0.1);
}

.terms-checkbox input:checked ~ .checkmark {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    border-color: #ffc107;
}

.terms-checkbox input:checked ~ .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 14px;
    font-weight: bold;
}

.terms-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.terms-link {
    color: #ffc107;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.terms-link:hover {
    color: #ff9800;
    text-decoration: underline;
}

.btn-checkout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 700;
    border-radius: 12px;
    position: relative;
    
    /* 3D Knete-Effekt */
    transform: translateY(-6px);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 
                 0 -1px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 6px 0 rgba(145, 71, 255, 0.6),
        0 8px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    
    transition: all 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
}

.btn-checkout:hover:not(:disabled) {
    transform: translateY(-4px);
    box-shadow: 
        0 4px 0 rgba(145, 71, 255, 0.6),
        0 6px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-checkout:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 
        0 0px 0 rgba(145, 71, 255, 0.6),
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(0);
    box-shadow: none;
}

/* Login Button - gleicher Style wie Checkout */
.btn-login {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 700;
    border-radius: 12px;
    position: relative;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #9147ff, #a970ff);
    border: none;
    
    /* 3D Knete-Effekt */
    transform: translateY(-6px);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 
                 0 -1px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 6px 0 rgba(145, 71, 255, 0.6),
        0 8px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    
    transition: all 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
}

.btn-login:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 4px 0 rgba(145, 71, 255, 0.6),
        0 6px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 
        0 0px 0 rgba(145, 71, 255, 0.6),
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* PRODUCT MODAL - orientiert an Profil-Modal */
.product-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 11, 21, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
}

.product-modal-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

.product-modal-content {
    background-color: #1a1525;
    color: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 900px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
    border: 1px solid #2e2640;
    transform: scale(0.95) translateY(10px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.25s ease-out;
    transition-delay: 0s;
}

.product-modal-overlay:not(.hidden) .product-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
    transition-delay: 0.05s;
}

.product-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid transparent;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease-out;
    font-size: 1.125rem;
}

.product-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.product-modal-main {
    display: flex;
    flex-direction: row;
    min-height: 500px;
}

.product-modal-image-section {
    flex-shrink: 0;
    width: 300px;
    position: relative;
    background: linear-gradient(135deg, rgba(145, 71, 255, 0.35) 0%, #0f0b15 75%);
    border-right: 1px solid #2e2640;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.product-modal-image-section.hidden {
    display: none;
}

/* Wenn keine Bild-Section, dann Details volle Breite */
.product-modal-main:has(.product-modal-image-section.hidden) .product-modal-details {
    width: 100%;
}

.product-modal-image {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.product-modal-image i {
    font-size: 4rem;
    color: var(--primary);
}

.product-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 1;
    visibility: visible;
}

.product-modal-pattern {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Größere Pattern-Texturen im Modal */
.product-modal-pattern .pattern-top-far .pattern-texture {
    width: 48px;
    height: 48px;
    opacity: 0.08;
}

.product-modal-pattern .pattern-top .pattern-texture {
    width: 54px;
    height: 54px;
    opacity: 0.12;
}

.product-modal-pattern .pattern-bottom .pattern-texture {
    width: 54px;
    height: 54px;
    opacity: 0.12;
}

.product-modal-pattern .pattern-bottom-far .pattern-texture {
    width: 48px;
    height: 48px;
    opacity: 0.08;
}

.product-modal-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.product-modal-category {
    display: inline-block;
    background: rgba(145, 71, 255, 0.2);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.product-modal-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.product-modal-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.product-modal-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-modal-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(145, 71, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.product-modal-features li i {
    color: var(--primary);
    font-size: 1rem;
}

/* Pattern-Reihen im Modal verwenden gleiche CSS wie Product Cards */
.product-modal-pattern .pattern-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.product-modal-footer {
    padding: 2rem;
    border-top: 1px solid #2e2640;
    background: rgba(10, 10, 20, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}

.product-modal-footer .cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-modal-footer .support-info-card {
    margin-bottom: 0.5rem;
}

.product-modal-price {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-modal-price .price-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-modal-price .price-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Unbounded', monospace;
    font-weight: 700;
    font-size: 1.75rem;
    color: #ff60f6;
}

.product-modal-price .price-value i {
    font-size: 1.5rem;
    color: #ff60f6;
}

.product-modal-footer .btn-purchase {
    flex: 1;
    min-width: 280px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #ec4899);
    border: none;
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
    
    /* 3D Knete-Effekt */
    transform: translateY(-6px);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 
                 0 -1px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 6px 0 rgba(145, 71, 255, 0.6),
        0 8px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    
    transition: all 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
}

.product-modal-footer .btn-purchase:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #a855f7, #f472b6);
    box-shadow: 
        0 4px 0 rgba(145, 71, 255, 0.6),
        0 6px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.product-modal-footer .btn-purchase:active {
    transform: translateY(0);
    box-shadow: 
        0 0px 0 rgba(145, 71, 255, 0.6),
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.product-modal-footer .btn-purchase i {
    font-size: 1.2rem;
}

/* LOADING */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem;
    color: var(--text-secondary);
    min-width: 400px;
}

.loading-state .spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .product-card {
        width: 220px;
        height: 320px;
        grid-template-rows: 1fr 7.25rem;
    }
    
    .product-image {
        padding: 2rem 1.5rem 1rem;
    }
    
    .product-image i {
        font-size: 3.5rem;
    }
    
    .product-header {
        height: 3.5rem;
    }
    
    .product-name {
        height: 2.1em;
    }
}

@media (max-width: 1024px) {
    .store-hero, .featured-bundle, .modal-content {
        grid-template-columns: 1fr;
    }
    .hero-visual { display: none; }
    
    .gems-display {
        top: 80px;
        left: 1rem;
    }
    
    .featured-bundle {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .bundle-image-container {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .bundle-content h2 {
        font-size: 1.75rem;
    }
    
    .bundle-content p {
        font-size: 0.9375rem;
    }
    
    .current-price {
        font-size: 2.25rem;
    }
    
    .current-price .price-currency,
    .current-price .price-decimal {
        font-size: 1.5rem;
    }
    
    .bundle-compare-price .old-price {
        font-size: 1.125rem;
    }
    
    .bundle-compare-price .compare-price-badge {
        font-size: 0.8125rem;
        padding: 0.3125rem 0.625rem;
    }
    
    .bundle-content .btn-primary {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .shelf-title {
        font-size: 1.25rem;
    }
    
    .product-card {
        width: 200px;
        height: 300px;
        grid-template-rows: 1fr 6.875rem;
    }
    
    .product-image {
        padding: 1.5rem 1rem 0.75rem;
    }
    
    .product-image i {
        font-size: 3rem;
    }
    
    .product-header {
        height: 3.25rem;
    }
    
    .product-name {
        font-size: 0.8125rem;
        height: 1.95em;
    }
    
    .product-price {
        font-size: 1.375rem;
    }
    
    .compare-price-old {
        font-size: 0.7rem;
    }
    
    .compare-price-badge {
        font-size: 0.5625rem;
        padding: 0.1rem 0.3rem;
    }
    
    .product-footer {
        min-height: 2.25rem;
    }
    
    .product-add-btn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    
    /* Mobile: Kleinere Schatten für kleineren Button */
    .product-add-btn.in-cart {
        box-shadow: 
            0 2px 0 #b45309,
            0 3px 6px rgba(245, 158, 11, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
    
    .product-add-btn.in-cart:hover {
        box-shadow: 
            0 4px 0 #b45309,
            0 5px 8px rgba(245, 158, 11, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
    
    .product-add-btn.owned {
        box-shadow: 
            0 2px 0 #047857,
            0 3px 6px rgba(16, 185, 129, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
    
    .product-add-btn.owned:hover {
        box-shadow: 
            0 4px 0 #047857,
            0 5px 8px rgba(16, 185, 129, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
    
    .cart-item-compare-price {
        font-size: 0.75rem;
    }
    
    .cart-item-price {
        font-size: 1rem;
    }
    
    .cart-item-quantity {
        gap: 0.5rem;
        margin: 0 0.5rem;
    }
    
    .quantity-btn {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .quantity-number {
        font-size: 0.9rem;
        min-width: 20px;
    }
}

/* SHOP GESCHLOSSEN OVERLAY - Profil Modal Style */
.shop-closed-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 11, 21, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
}

.shop-closed-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

.shop-closed-modal {
    background-color: #1a1525;
    color: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 600px;
    border: 1px solid #2e2640;
    max-height: calc(100vh - 40px);
    position: relative;
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(10px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s;
}

.shop-closed-overlay:not(.hidden) .shop-closed-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
    transition-delay: 0.05s;
}

.shop-closed-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid transparent;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease-out;
}

.shop-closed-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.shop-closed-close i {
    font-size: 1.2rem;
}

.shop-closed-header {
    padding: 2.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(15, 11, 21, 0.3) 75%);
    border-bottom: 1px solid #2e2640;
    text-align: center;
}

.shop-closed-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    animation: closedPopIn 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.shop-closed-icon i {
    font-size: 2.5rem;
    color: white;
}

@keyframes closedPopIn {
    from {
        transform: scale(0.5) rotate(-15deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.shop-closed-title {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.shop-closed-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

.shop-closed-body {
    padding: 1.5rem 2rem 2rem;
}

.shop-closed-message {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.shop-closed-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.shop-closed-info i {
    color: #ef4444;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .shop-closed-overlay {
        padding: 15px;
    }
    
    .shop-closed-modal {
        max-height: calc(100vh - 30px);
    }
    
    .shop-closed-header {
        padding: 2rem 1.5rem 1.25rem;
    }
    
    .shop-closed-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 1rem;
    }
    
    .shop-closed-icon i {
        font-size: 2rem;
    }
    
    .shop-closed-title {
        font-size: 1.4rem;
    }
    
    .shop-closed-subtitle {
        font-size: 0.9rem;
    }
    
    .shop-closed-body {
        padding: 1.25rem 1.5rem 1.75rem;
    }
    
    .shop-closed-message {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .shop-closed-info {
        font-size: 0.9rem;
    }
}

/* SUCCESS MODAL - Profil Style */
#success-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 11, 21, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
}

#success-modal-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

.success-modal {
    background-color: #1a1525;
    color: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 600px;
    border: 1px solid #2e2640;
    max-height: calc(100vh - 40px);
    position: relative;
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(10px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s;
}

#success-modal-overlay:not(.hidden) .success-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
    transition-delay: 0.05s;
}

.success-modal .modal-header {
    padding: 2.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(15, 11, 21, 0.3) 75%);
    border-bottom: 1px solid #2e2640;
    text-align: center;
}

.success-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    animation: successPopIn 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.success-icon i {
    font-size: 2.5rem;
    color: white;
}

@keyframes successPopIn {
    from {
        transform: scale(0.5) rotate(-15deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.success-modal .modal-title {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.success-modal .modal-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

.success-modal .modal-body {
    padding: 1.5rem 2rem;
    overflow-y: auto;
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.success-message p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.success-note {
    margin-top: 0.75rem !important;
    font-size: 0.85rem !important;
    color: #10b981 !important;
    font-weight: 600;
}

.purchased-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 350px;
    overflow-y: auto;
}

.purchased-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #2e2640;
    border-radius: 12px;
    transition: all 0.2s ease-out;
}

.purchased-item:hover {
    background: rgba(145, 71, 255, 0.1);
    border-color: rgba(145, 71, 255, 0.3);
    transform: translateX(4px);
}

.purchased-item-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #9147ff, #a970ff);
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(145, 71, 255, 0.3);
}

.purchased-item-icon i {
    font-size: 1.5rem;
    color: white;
}

.purchased-item-info {
    flex: 1;
    text-align: left;
}

.purchased-item-name {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.25rem;
}

.purchased-item-type {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.success-modal .modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #2e2640;
    background: rgba(0, 0, 0, 0.15);
}

.success-modal .modal-footer .btn-primary {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, #9147ff, #a970ff);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease-out;
    box-shadow: 0 4px 12px rgba(145, 71, 255, 0.4);
}

.success-modal .modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(145, 71, 255, 0.5);
}

.success-modal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid transparent;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease-out;
}

.success-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.success-modal .modal-close i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .gems-display {
        position: static;
        margin-bottom: 2rem;
    }
    
    .gems-container {
        justify-content: center;
    }
    
    .store-support-info-top .support-info-card {
        max-width: 100%;
    }
    
    .support-info-card {
        padding: 0.75rem 1rem;
    }
    
    .support-info-icon {
        width: 32px;
        height: 32px;
    }
    
    .support-info-text {
        font-size: 0.8rem;
    }
    
    .empty-state {
        width: 100%;
        max-width: 280px;
        min-height: 280px;
        padding: 2rem 1rem;
    }
    
    .empty-state i {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .empty-state-title {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .empty-state-subtitle {
        font-size: 0.8rem;
    }
    
    /* Product Modal responsive */
    .product-modal-content {
        max-width: 95%;
        max-height: 95vh;
        margin: 0 1rem;
    }
    
    .product-modal-main {
        flex-direction: column;
        min-height: auto;
    }
    
    .product-modal-image-section {
        width: 100%;
        padding: 1.5rem;
        border-right: none;
        border-bottom: 1px solid #2e2640;
    }
    
    .product-modal-image {
        width: 140px;
        height: 140px;
    }
    
    .product-modal-image i {
        font-size: 3rem;
    }
    
    .product-modal-body {
        padding: 1.5rem;
    }
    
    .product-modal-title {
        font-size: 1.35rem;
    }
    
    .product-modal-description {
        font-size: 0.9rem;
    }
    
    .product-modal-footer {
        padding: 1.5rem;
    }
    
    .product-modal-footer .btn-purchase {
        min-width: auto;
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .product-modal-footer .btn-purchase i {
        font-size: 1.1rem;
    }
    
    .product-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    /* Cart Modal responsive */
    .cart-modal-content {
        max-width: 95%;
        max-height: 90vh; /* Mehr Platz für Footer */
        margin: 0 0.75rem;
    }
    
    .cart-modal-header {
        padding: 1.5rem 1.25rem 1rem;
    }
    
    .cart-modal-header h2 {
        font-size: 1.25rem;
    }
    
    .cart-modal-body {
        padding: 1rem 1.25rem;
        min-height: 200px; /* Kleinere min-height auf Mobile */
    }
    
    .cart-modal-footer {
        padding: 1.25rem; /* Weniger Padding für mehr Platz */
        gap: 0.75rem;
    }
    
    .cart-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .cart-item-image {
        width: 50px;
        height: 50px;
    }
    
    .cart-item-image i {
        font-size: 1.5rem;
    }
    
    .cart-item-name {
        font-size: 0.9rem;
    }
    
    .cart-item-price {
        font-size: 0.95rem;
    }
    
    .cart-summary {
        font-size: 1.25rem;
    }
    
    .summary-label {
        font-size: 0.9rem;
    }
    
    .btn-checkout,
    .btn-login {
        padding: 0.875rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
    
    .product-add-btn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    
    .shelf-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    /* Shelf Title Container responsive */
    .shelf-title-container {
        padding: 0.5rem 1rem;
        border-radius: 10px;
    }
    
    .shelf-title {
        font-size: 1.25rem;
    }
    
    .bundle-items {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .product-card {
        width: 180px;
        height: 280px;
        grid-template-rows: 1fr 6.5rem;
    }
    
    .product-image {
        padding: 1.25rem 0.875rem 0.625rem;
    }
    
    .product-image i {
        font-size: 2.5rem;
    }
    
    .product-info {
        padding: 0.875rem;
    }
    
    .product-header {
        height: 3rem;
    }
    
    .product-name {
        font-size: 0.75rem;
        height: 1.8em;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
    
    .product-footer {
        height: 2rem;
    }
    
    .product-add-btn {
        width: 28px;
        height: 28px;
        font-size: 0.6875rem;
    }
    
    /* Success Modal Mobile */
    #success-modal-overlay {
        padding: 15px;
    }
    
    .success-modal {
        max-height: calc(100vh - 30px);
    }
    
    .success-modal .modal-header {
        padding: 2rem 1.5rem 1.25rem;
    }
    
    .success-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 1rem;
    }
    
    .success-icon i {
        font-size: 2rem;
    }
    
    .success-modal .modal-title {
        font-size: 1.4rem;
    }
    
    .success-modal .modal-subtitle {
        font-size: 0.9rem;
    }
    
    .success-modal .modal-body {
        padding: 1.25rem 1.5rem;
    }
    
    .success-message {
        padding: 1rem;
    }
    
    .success-message p {
        font-size: 0.9rem;
    }
    
    .purchased-items {
        max-height: 250px;
    }
    
    .purchased-item {
        padding: 0.875rem;
        gap: 0.875rem;
    }
    
    .purchased-item-icon {
        width: 45px;
        height: 45px;
    }
    
    .purchased-item-icon i {
        font-size: 1.3rem;
    }
    
    .purchased-item-name {
        font-size: 0.95rem;
    }
    
    .purchased-item-type {
        font-size: 0.8rem;
    }
    
    .success-modal .modal-footer {
        padding: 1.25rem 1.5rem;
    }
    
    .success-modal .modal-footer .btn-primary {
        padding: 0.8rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ==========================================
   CHECKOUT ERROR MODAL
   ========================================== */

.checkout-error-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.checkout-error-overlay.active {
    opacity: 1;
    visibility: visible;
}

.checkout-error-modal {
    background: linear-gradient(145deg, #1a1525, #231b33);
    border: 2px solid #ef4444;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    box-shadow: 
        0 20px 60px rgba(239, 68, 68, 0.3),
        0 0 0 1px rgba(239, 68, 68, 0.1);
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.3s ease;
}

.checkout-error-overlay.active .checkout-error-modal {
    transform: scale(1);
    opacity: 1;
}

/* Error Modal Header */
.error-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.05);
}

.error-modal-header i.fa-exclamation-triangle {
    font-size: 1.75rem;
    color: #ef4444;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.error-modal-header h2 {
    flex: 1;
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
}

.error-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.error-modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Error Modal Body */
.error-modal-body {
    padding: 1.75rem;
}

.error-modal-body p {
    margin: 0 0 1.25rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.error-code-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    margin-top: 1rem;
}

.error-code-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.error-code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    letter-spacing: 1px;
}

/* Error Modal Footer */
.error-modal-footer {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid rgba(239, 68, 68, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.btn-error-ok {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-error-ok:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.btn-error-ok:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .checkout-error-overlay {
        padding: 1rem;
    }
    
    .checkout-error-modal {
        max-width: 100%;
    }
    
    .error-modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    .error-modal-header h2 {
        font-size: 1.15rem;
    }
    
    .error-modal-header i.fa-exclamation-triangle {
        font-size: 1.5rem;
    }
    
    .error-modal-body {
        padding: 1.5rem;
    }
    
    .error-code-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .error-code {
        width: 100%;
        text-align: center;
    }
    
    .error-modal-footer {
        padding: 1.25rem 1.5rem;
    }
    
    .btn-error-ok {
        padding: 0.8rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Extra kleine Geräte (Smartphones im Portrait-Modus) */
@media (max-width: 480px) {
    /* Cart Modal - Maximale Kompaktheit für kleine Screens */
    .cart-modal-content {
        max-height: 85vh; /* Noch mehr Platz sparen */
        margin: 0 0.5rem;
    }
    
    .cart-modal-header {
        padding: 1rem 1rem 0.75rem;
    }
    
    .cart-modal-header h2 {
        font-size: 1.1rem;
    }
    
    .cart-modal-body {
        padding: 0.75rem 1rem;
        min-height: 150px; /* Minimal height */
    }
    
    .cart-modal-footer {
        padding: 1rem; /* Minimales Padding */
        gap: 0.5rem;
    }
    
    .cart-item {
        padding: 0.625rem;
        gap: 0.625rem;
    }
    
    .cart-item-image {
        width: 45px;
        height: 45px;
    }
    
    .cart-item-name {
        font-size: 0.85rem;
    }
    
    .cart-item-price {
        font-size: 0.9rem;
    }
    
    .cart-summary {
        font-size: 1.1rem;
    }
    
    .summary-label {
        font-size: 0.85rem;
    }
    
    .btn-checkout,
    .btn-login {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem !important;
    }
    
    .cart-terms {
        font-size: 0.8rem;
    }
    
    .terms-text {
        font-size: 0.8rem;
    }
    
    /* Support Info Card kompakter */
    .support-info-card {
        padding: 0.625rem 0.875rem;
    }
    
    .support-info-text {
        font-size: 0.75rem;
    }
}
