/* ===== Global Background ===== */
body {
    background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
}

/* ===== Store Card ===== */
.store-card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}

.store-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* ===== Badge ===== */
.badge {
    border-radius: 12px;
    font-size: 0.75rem;
}

/* ===== Categories Scroll ===== */
.categories-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 5px;
}

.categories-scroll a {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .store-card {
        margin-bottom: 15px;
    }

    .card-body p {
        font-size: 0.9rem;
    }
}

/* ===== Modern Categories UI ===== */
.modern-categories {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 6px 14px;
}

.category-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    text-decoration: none;
    color: #111;
    min-width: 170px;
    transition: all 0.25s ease;
}

.category-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.category-pill .icon {
    font-size: 1.6rem;
}

.category-pill .text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.category-pill strong {
    font-size: 0.9rem;
}

.category-pill small {
    font-size: 0.7rem;
    color: #666;
}

/* Active category */
.category-pill.active {
    background: linear-gradient(135deg, #0d6efd, #4dabf7);
    color: #fff;
}

.category-pill.active small {
    color: #eaeaea;
}

/* Hide scrollbar */
.modern-categories::-webkit-scrollbar {
    display: none;
}

/* ===== Star Rating ===== */
.star-rating {
    direction: rtl;
    font-size: 1.6rem;
    display: inline-flex;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffc107;
}

/* ===== Rating Form ===== */
.rating-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-btn {
    background: #e0e0e0;
    color: #888;
    border: none;
    padding: 10px 26px;
    font-size: 0.95rem;
    border-radius: 999px;
    transition: all 0.25s ease;
}

/* Active state after star selected */
.rating-btn.active {
    background: linear-gradient(135deg, #0d6efd, #4dabf7);
    color: #fff;
    box-shadow: 0 8px 18px rgba(13,110,253,0.35);
    transform: scale(1.06);
}

/* ===== Social Buttons ===== */
.social-btn {
    display: block;
    padding: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    text-align: center;
    transition: all 0.25s ease;
}

/* Instagram */
.instagram-btn {
    color: #fff;
    background: linear-gradient(
        135deg,
        #f58529,
        #dd2a7b,
        #8134af,
        #515bd4
    );
}

.instagram-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(221, 42, 123, 0.4);
}

/* WhatsApp */
.whatsapp-btn {
    color: #fff;
    background: #25D366;
}

.whatsapp-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

/* ===== Footer ===== */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #eee;
}

.site-footer .footer-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.site-footer .footer-links {
    font-size: 0.8rem;
}

.site-footer .footer-links a {
    color: #0d6efd;
    text-decoration: none;
    margin: 0 6px;
}

.site-footer .footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .site-footer .footer-text {
        font-size: 0.8rem;
    }
}
