/* FoxCave Fox Animation */
.fox-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.fox {
    position: relative;
    width: 100%;
    height: 100%;
    animation: foxBounce 2s ease-in-out infinite;
}

.fox-head {
    position: absolute;
    top: 20px;
    left: 30px;
    width: 60px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50% 50% 45% 45%;
    animation: foxHeadTilt 3s ease-in-out infinite;
}

.fox-ears {
    position: absolute;
    top: 10px;
    left: 25px;
    width: 70px;
    height: 30px;
}

.fox-ear {
    position: absolute;
    width: 20px;
    height: 25px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50% 50% 0 0;
    animation: foxEarWiggle 2.5s ease-in-out infinite;
}

.fox-ear.left {
    left: 5px;
    transform: rotate(-15deg);
    animation-delay: 0.5s;
}

.fox-ear.right {
    right: 5px;
    transform: rotate(15deg);
    animation-delay: 0s;
}

.fox-face {
    position: absolute;
    top: 35px;
    left: 40px;
    width: 40px;
    height: 25px;
}

.fox-eyes {
    position: absolute;
    top: 5px;
    width: 100%;
    height: 10px;
}

.fox-eye {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #2c3e50;
    border-radius: 50%;
    animation: foxBlink 4s ease-in-out infinite;
}

.fox-eye.left {
    left: 8px;
}

.fox-eye.right {
    right: 8px;
}

.fox-nose {
    position: absolute;
    top: 15px;
    left: 16px;
    width: 8px;
    height: 6px;
    background: #2c3e50;
    border-radius: 50%;
}

.fox-body {
    position: absolute;
    top: 60px;
    left: 25px;
    width: 70px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 40% 40% 50% 50%;
    animation: foxBodyMove 2s ease-in-out infinite;
}

.fox-tail {
    position: absolute;
    top: 70px;
    right: 15px;
    width: 35px;
    height: 15px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    animation: foxTailWag 1.5s ease-in-out infinite;
}

.fox-paws {
    position: absolute;
    top: 90px;
    left: 20px;
    width: 80px;
    height: 20px;
}

.fox-paw {
    position: absolute;
    width: 12px;
    height: 15px;
    background: #ff6b35;
    border-radius: 50%;
    animation: foxPawStep 2s ease-in-out infinite;
}

.fox-paw.front-left {
    left: 5px;
    animation-delay: 0s;
}

.fox-paw.front-right {
    left: 25px;
    animation-delay: 0.5s;
}

.fox-paw.back-left {
    right: 25px;
    animation-delay: 1s;
}

.fox-paw.back-right {
    right: 5px;
    animation-delay: 1.5s;
}

/* Fox Accent Elements */
.fox-accent {
    position: absolute;
    background: #3498db;
    border-radius: 50%;
    animation: foxAccentGlow 3s ease-in-out infinite;
}

.fox-accent.primary {
    top: 15px;
    right: 10px;
    width: 8px;
    height: 8px;
    animation-delay: 0s;
}

.fox-accent.secondary {
    bottom: 15px;
    left: 10px;
    width: 6px;
    height: 6px;
    animation-delay: 1.5s;
}

.fox-accent.tertiary {
    top: 50%;
    left: 5px;
    width: 4px;
    height: 4px;
    animation-delay: 3s;
}

/* Animations */
@keyframes foxBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes foxHeadTilt {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes foxEarWiggle {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(-25deg); }
}

.fox-ear.right {
    animation: foxEarWiggleRight 2.5s ease-in-out infinite;
}

@keyframes foxEarWiggleRight {
    0%, 100% { transform: rotate(15deg); }
    50% { transform: rotate(25deg); }
}

@keyframes foxBlink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

@keyframes foxBodyMove {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(3px); }
}

@keyframes foxTailWag {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

@keyframes foxPawStep {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes foxAccentGlow {
    0%, 100% { 
        opacity: 0.6; 
        transform: scale(1);
        box-shadow: 0 0 5px #3498db;
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2);
        box-shadow: 0 0 15px #3498db;
    }
}

/* Fox Loading Animation */
.fox-loading {
    display: inline-block;
    animation: foxLoading 1.5s ease-in-out infinite;
}

@keyframes foxLoading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fox Success Animation */
.fox-success {
    animation: foxSuccess 0.8s ease-out;
}

@keyframes foxSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive Fox */
@media (max-width: 768px) {
    .fox-container {
        width: 80px;
        height: 80px;
    }
    
    .fox-head {
        top: 15px;
        left: 20px;
        width: 40px;
        height: 35px;
    }
    
    .fox-body {
        top: 40px;
        left: 15px;
        width: 50px;
        height: 30px;
    }
}

/* Fox Box Special Animation */
.fox-box-fox {
    animation: foxBoxSpecial 4s ease-in-out infinite;
}

@keyframes foxBoxSpecial {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    25% { 
        transform: scale(1.1) rotate(5deg);
        filter: hue-rotate(90deg);
    }
    50% { 
        transform: scale(1.2) rotate(0deg);
        filter: hue-rotate(180deg);
    }
    75% { 
        transform: scale(1.1) rotate(-5deg);
        filter: hue-rotate(270deg);
    }
}

/* Produkt-Karten */
.product-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Händler-Karten */
.merchant-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease-in-out;
}

.merchant-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.merchant-card .card-header {
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.merchant-card .collapse {
    border-top: 1px solid #e9ecef;
}

/* Tab-Styles */
.nav-tabs .nav-link {
    border: none;
    border-radius: 0;
    color: #6c757d;
    font-weight: 500;
    padding: 1rem 1.5rem;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    color: #495057;
    background-color: #f8f9fa;
    border-color: transparent;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    background-color: #fff;
    border-bottom: 3px solid #0d6efd;
    font-weight: 600;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .merchant-card .card-header .row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .merchant-card .card-header .col-md-4 {
        text-align: left !important;
    }
    
    .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
} 