/* ==========================================================
MR SHOP WORLD - ALL CATEGORIES
VERSION 1.0 - Premium App Look
========================================================== */

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

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

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

/* Hero */
.ac-hero {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    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.12);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

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

/* Search */
.ac-search-box {
    position: relative;
    max-width: 480px;
    margin: 0 auto 25px;
}

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

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

.ac-search-box input:focus {
    border-color: #0f172a;
    box-shadow: 0 0 0 4px rgba(15,23,42,0.1);
}

/* Filter Tabs */
.ac-filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.ac-tab {
    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: 0.25s;
}

.ac-tab:hover,
.ac-tab.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

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

/* Card */
.ac-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 26px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: #fff;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.ac-card.color-1 { background: linear-gradient(145deg, #2563eb, #3b82f6); }
.ac-card.color-2 { background: linear-gradient(145deg, #059669, #10b981); }
.ac-card.color-3 { background: linear-gradient(145deg, #7c3aed, #a855f7); }
.ac-card.color-4 { background: linear-gradient(145deg, #ea580c, #f97316); }
.ac-card.color-5 { background: linear-gradient(145deg, #db2777, #ec4899); }
.ac-card.color-6 { background: linear-gradient(145deg, #0891b2, #06b6d4); }

.ac-icon {
    font-size: 36px;
    margin-bottom: 12px;
    transition: 0.35s;
}

.ac-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

.ac-count {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    opacity: 0.95;
}

.ac-type {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    margin-bottom: 14px;
}

.ac-btn {
    padding: 8px 18px;
    background: rgba(255,255,255,0.2);
    border-radius: 40px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.ac-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.ac-card:hover .ac-icon {
    transform: scale(1.15);
}

.ac-card:hover .ac-btn {
    background: #fff;
    color: #111;
}

/* Empty */
.ac-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

/* Stats */
.ac-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 55px;
}

.ac-stat-box {
    background: #fff;
    border-radius: 18px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.ac-stat-box h3 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.ac-stat-box p {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

/* CTA */
.ac-cta {
    margin: 60px 0 40px;
    padding: 45px 30px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 24px;
    text-align: center;
    color: #fff;
}

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

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

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

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

.ac-cta-btn.primary {
    background: #fff;
    color: #0f172a;
}

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

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

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

@media (max-width: 768px) {
    .ac-hero h1 { font-size: 28px; }
    .ac-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .ac-card { padding: 20px 12px; }
    .ac-icon { font-size: 30px; }
    .ac-card h3 { font-size: 15px; }
    .ac-stats { grid-template-columns: repeat(2, 1fr); }
    .ac-cta { padding: 35px 20px; }
    .ac-cta h3 { font-size: 22px; }
}