/**
 * Chatbot Cards - Store
 *
 * ✅ KONSISTENT MIT STORE DIRECTORY WIDGETS
 * Store-spezifische Card-Styles wie Bento & Clean Directory
 *
 * @package SMG_Mall
 * @since 2.1.0
 */

/* ========================================
   Store Card Base
   ======================================== */

.chatbot-card--store {
    /* Erbt Glassmorphism von .chatbot-card */
}

/* ========================================
   Logo Container - WIE STORE DIRECTORY
   ======================================== */

.chatbot-card__image-container--logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 160px; /* Feste Höhe wie .chatbot-card__image */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* Subtle Pattern Overlay - Wie Store Directory */
.chatbot-card__image-container--logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(227, 30, 36, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(227, 30, 36, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.chatbot-card__image--logo {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    background: transparent;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.chatbot-card--store:hover .chatbot-card__image--logo {
    transform: scale(1.05);
}

/* ========================================
   Logo Fallback (Initialen) - WIE STORE DIRECTORY
   ======================================== */

.chatbot-card__image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--smg-500, #e31e24), var(--smg-500, #c41a1f));
    color: white;
    font-size: 32px;
    font-weight: 700;
    border-radius: 12px;
    box-shadow:
        0 4px 12px rgba(227, 30, 36, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* ========================================
   Store Meta - KONSISTENT MIT WIDGETS
   ======================================== */

.chatbot-card--store .chatbot-card__meta {
    gap: clamp(0.5rem, 2vw, 0.625rem);
    padding-top: clamp(0.5rem, 2vw, 0.75rem);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.chatbot-card--store .chatbot-card__meta-item {
    padding: 0;
    font-size: clamp(0.75rem, 2vw, 0.8125rem);
    font-weight: 500;
}

/* Kategorie Badge - Wie News/Events */
.chatbot-card--store .chatbot-card__meta-item:first-child {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--smg-500, #c41a1f);
    font-size: clamp(0.625rem, 2vw, 0.75rem);
}

/* Öffnungszeiten Status - Grün/Rot */
.chatbot-card--store .chatbot-card__meta-item:last-child {
    font-weight: 600;
}

/* Grüner Punkt für "Geöffnet" */
.chatbot-card--store .chatbot-card__meta-item:last-child .chatbot-card__meta-icon {
    color: #10b981;
}

/* Roter Punkt für "Geschlossen" */
.chatbot-card--store .chatbot-card__meta-item:last-child:has(.chatbot-card__meta-icon:contains("🔴")) .chatbot-card__meta-icon {
    color: var(--smg-500, #ef4444);
}

/* ========================================
   Hover Effects - WIE STORE DIRECTORY
   ======================================== */

.chatbot-card--store:hover .chatbot-card__image-container--logo {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.chatbot-card--store:hover .chatbot-card__image-fallback {
    transform: scale(1.08) rotate(2deg);
    box-shadow:
        0 8px 20px rgba(227, 30, 36, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    .chatbot-card__image-container--logo {
        height: 140px;
        padding: var(--space-3, 0.75rem);
    }
    
    .chatbot-card__image-fallback {
        width: 100px;
        height: 100px;
        font-size: var(--text-3xl, 1.875rem);
    }
}

