/* Store Card Design - Consistent across all pages */

.store-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 12px 12px 12px;
    background: white;
    border: 2px solid #ed174f;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    min-height: 180px;
    margin: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
}

.store-card:hover {
    box-shadow: 0 8px 20px rgba(237, 23, 79, 0.25);
    transform: translateY(-4px);
    border-color: #d01445;
}

.store-card-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    padding: 0;
    margin-bottom: 12px;
}

.store-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 36px;
    line-height: 1.3;
}

.store-coupon-badge {
    display: none;
}

/* Animated OPEN Sign Icon - Centered below title */
.store-open-sign {
    position: relative;
    width: 50px;
    height: 32px;
    background: linear-gradient(135deg, #ed174f 0%, #d01445 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(237, 23, 79, 0.4);
    animation: swingSign 3s ease-in-out infinite;
    transform-origin: top center;
    z-index: 10;
    margin: 0 auto;
}

.store-open-sign::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: #ed174f;
}

.store-open-sign::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #ed174f;
    border-radius: 50%;
}

.store-open-sign-text {
    font-size: 16px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.store-open-sign-count {
    display: none;
}

@keyframes swingSign {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-8deg);
    }
    75% {
        transform: rotate(8deg);
    }
}

/* Mobile responsive */
@media (max-width: 640px) {
    .store-card {
        min-height: 160px;
        padding: 16px 8px 12px 8px;
        margin: 4px;
        border-width: 2px;
    }
    
    .store-card-logo {
        width: 70px;
        height: 70px;
    }
    
    .store-card-title {
        font-size: 13px;
        min-height: 32px;
        margin: 0 0 6px 0;
    }
    
    .store-open-sign {
        width: 44px;
        height: 28px;
    }
    
    .store-open-sign-text {
        font-size: 14px;
    }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 959px) {
    .store-card {
        margin: 6px;
        border-width: 2px;
    }
    
    .store-card-logo {
        width: 80px;
        height: 80px;
    }
    
    .store-open-sign {
        width: 47px;
        height: 30px;
    }
    
    .store-open-sign-text {
        font-size: 15px;
    }
}
