/* ==========================================================
MR SHOP WORLD - ALL COUNTRIES PAGE
VERSION 1.0
========================================================== */

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

#all-countries-page {
    font-family: Inter, Segoe UI, Arial, sans-serif;
    background: #f4f7ff;
    color: #0f172a;
}

.ac-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero */
.ac-hero {
    background: linear-gradient(135deg, #0057ff, #00b4ff);
    padding: 70px 0 50px;
    text-align: center;
    color: #fff;
    border-radius: 0 0 30px 30px;
    margin-bottom: 50px;
}

.ac-badge {
    display: inline-block;
    padding: 7px 16px;
    background: rgba(255,255,255,0.18);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.ac-hero h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
}

.ac-hero p {
    font-size: 16px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Controls */
.ac-controls {
    margin-bottom: 40px;
}

.ac-search {
    position: relative;
    max-width: 480px;
    margin-bottom: 20px;
}

.ac-search .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.6;
}

.ac-search input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 15px;
    background: #fff;
    outline: none;
    transition: 0.3s;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}

.ac-search input:focus {
    border-color: #0057ff;
    box-shadow: 0 0 0 4px rgba(0,87,255,0.12);
}

/* Region Filter */
.ac-region-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ac-region-btn {
    padding: 9px 18px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: 0.25s;
}

.ac-region-btn:hover,
.ac-region-btn.active {
    background: #0057ff;
    border-color: #0057ff;
    color: #fff;
}

/* Region Section */
.ac-region-section {
    margin-bottom: 50px;
}

.ac-region-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.ac-region-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

/* Country Grid */
.ac-country-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ac-country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    border-radius: 18px;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    color: #0f172a;
}

.ac-country-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

.ac-country-card.disabled {
    opacity: 0.6;
    cursor: default;
}

.ac-flag {
    font-size: 38px;
    margin-bottom: 12px;
}

.ac-country-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ac-meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 14px;
}

.ac-btn {
    padding: 7px 16px;
    background: #0057ff;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 40px;
    transition: 0.3s;
}

.ac-country-card:hover .ac-btn {
    background: #0046d4;
}

/* Bottom CTA */
.ac-bottom-cta {
    margin: 60px 0 40px;
    padding: 40px;
    background: linear-gradient(135deg, #0057ff, #00b4ff);
    border-radius: 24px;
    text-align: center;
    color: #fff;
}

.ac-bottom-cta h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}

.ac-bottom-cta p {
    margin-bottom: 24px;
    opacity: 0.95;
}

.ac-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.ac-cta-btn {
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.ac-cta-btn.primary {
    background: #fff;
    color: #0057ff;
}

.ac-cta-btn.secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.ac-cta-btn:hover {
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 991px) {
    .ac-country-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ac-hero h1 {
        font-size: 28px;
    }
    .ac-country-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .ac-country-card {
        padding: 18px 12px;
    }
    .ac-flag {
        font-size: 32px;
    }
    .ac-country-card h3 {
        font-size: 15px;
    }
}