/* Explore Categories Page Styles for Laptop & PC Screens */

body.explore-categories-body .sticky-header-wrapper,
body.explore-categories-body .topbar,
body.explore-categories-body footer,
body.explore-categories-body .whatsapp-btn {
    display: none !important;
}

body.explore-categories-body {
    background: #ffffff !important;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.explore-cat-wrapper {
    min-height: 100vh;
    width: 100%;
    background: #ffffff !important;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.explore-cat-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    padding: 93px 0 60px 0;
    box-shadow: none;
    box-sizing: border-box;
}

/* Header */
.explore-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 13px;
}

.explore-cat-header .header-logo img,
.explore-cat-header .header-logo-img {
    width: 213px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.explore-cat-header .header-date {
    font-size: 14px;
    font-weight: 500;
    color: #173158;
    line-height: 1.35;
    text-align: right;
    white-space: nowrap;
}

/* Gradient Banner */
.explore-cat-banner {
    background: linear-gradient(90deg, #173158 0%, #E83161 100%);
    width: 100%;
    max-width: 100%;
    height: 100px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    box-sizing: border-box;
    border-radius: 0;
}

.explore-cat-banner-title {
    color: #ffffff;
    font-size: 36px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.2;
}

.explore-cat-banner-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.explore-cat-banner-icon svg {
    width: 50px;
    height: 50px;
}

/* Section Title */
.explore-cat-title {
    font-size: 36px;
    font-weight: 600;
    color: #173158;
    margin: 0 0 16px 0;
    font-family: 'Poppins', sans-serif;
    text-align: left;
}

/* Grid Layout (2 Columns with 32px gap) */
.explore-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 24px;
    row-gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Category Card */
.explore-cat-card {
    background: #F7F8F9;
    width: 100%;
    height: 250px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none !important;
    border: 1px solid transparent;
    cursor: pointer;
    box-sizing: border-box;
}

.explore-cat-card:hover,
.explore-cat-card:focus {
    background: #F7F8F9;
    text-decoration: none !important;
}

.explore-cat-card .explore-cat-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.explore-cat-card .explore-cat-icon svg,
.explore-cat-card .explore-cat-icon img,
.explore-cat-card .explore-cat-img {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain !important;
}

.explore-cat-card .explore-cat-icon i {
    font-size: 45px !important;
}

.explore-cat-card .explore-cat-name {
    font-size: 20px;
    font-weight: 600;
    color: #E83161;
    margin-bottom: 8px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.explore-cat-card .explore-cat-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #173158;
    text-decoration: none !important;
    transition: color 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.explore-cat-card .explore-cat-download svg {
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0;
}

/* Spinner Loader */
.explore-cat-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid #E83161;
    border-top-color: transparent;
    border-radius: 50%;
    animation: kp-spin 0.6s linear infinite;
    margin-right: 4px;
}

.explore-cat-card.is-loading .explore-cat-spinner {
    display: inline-block;
}

.explore-cat-card.is-loading .explore-cat-download-text {
    opacity: 0.7;
}

@keyframes kp-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Screen (Max-width 711.98px) */
@media (max-width: 711.98px) {
    .explore-cat-container {
        width: 322px;
        max-width: 322px;
        padding: 48px 0 40px 0;
        margin: 0 auto;
    }

    .explore-cat-header {
        margin-bottom: 12px;
        width: 322px;
    }

    .explore-cat-header .header-logo img,
    .explore-cat-header .header-logo-img {
        width: 150px !important;
        height: 36px !important;
    }

    .explore-cat-header .header-date {
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.25 !important;
        text-align: right !important;
    }

    .explore-cat-banner {
        width: 322px !important;
        max-width: 322px !important;
        height: 116px !important;
        padding: 0 16px !important;
        margin-bottom: 16px !important;
    }

    .explore-cat-banner-title {
        font-size: 24px !important;
        font-weight: 400 !important;
        line-height: 1.18 !important;
    }

    .explore-cat-banner-icon {
        width: 30px !important;
        height: 30px !important;
    }

    .explore-cat-banner-icon svg {
        width: 30px !important;
        height: 30px !important;
    }

    .explore-cat-title {
        font-size: 20px !important;
        font-weight: 600 !important;
        margin: 0 0 16px 0 !important;
    }

    .explore-cat-grid {
        grid-template-columns: repeat(2, 156px) !important;
        column-gap: 10px !important;
        row-gap: 10px !important;
        gap: 10px !important;
        justify-content: space-between !important;
        width: 322px !important;
    }

    .explore-cat-card {
        width: 156px !important;
        height: 180px !important;
        padding: 12px 6px !important;
    }

    .explore-cat-card .explore-cat-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 12px !important;
    }

    .explore-cat-card .explore-cat-icon svg,
    .explore-cat-card .explore-cat-icon img,
    .explore-cat-card .explore-cat-img {
        width: 60px !important;
        height: 60px !important;
    }

    .explore-cat-card .explore-cat-icon i {
        font-size: 45px !important;
    }

    .explore-cat-card .explore-cat-name {
        font-size: 18px !important;
        font-weight: 600 !important;
        margin-bottom: 9px !important;
    }

    .explore-cat-card .explore-cat-download {
        font-size: 13px !important;
        font-weight: 500 !important;
        gap: 4px !important;
    }

    .explore-cat-card .explore-cat-download svg {
        width: 10px !important;
        height: 10px !important;
    }
}