/* ============================= */
/* CATEGORY PAGE STYLE           */
/* ============================= */

.catZyWrap {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 40px 15px;
}

.catZyHeader {
    text-align: center;
    margin-bottom: 35px;
}

.catZyTitle {
    font-size: 30px;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}

.catZyDesc {
    font-size: 15px;
    color: #555;
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
}

.catZyGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.catZyCard {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
    transition: 0.25s;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.catZyCard:hover {
    transform: translateY(-5px);
    border-color: #0d6efd;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.15);
}

.catZyIconBox {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    background: #f4f7ff;
    border: 1px solid #dbe7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 14px;
}

.catZyIconBox img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.catZyInfo {
    margin-bottom: 16px;
}

.catZyName {
    font-size: 17px;
    font-weight: 800;
    color: #111;
    margin-bottom: 6px;
    line-height: 1.4;
}

.catZyText {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.catZyArrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: #0d6efd;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

.catZyArrow i {
    font-size: 13px;
    transition: 0.25s;
}

.catZyCard:hover .catZyArrow i {
    transform: translateX(4px);
}

.catZyEmpty {
    grid-column: 1 / -1;
    text-align: center;
    background: #fff;
    border: 1px dashed #ccc;
    padding: 40px 20px;
    border-radius: 16px;
}

.catZyEmpty h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111;
}

.catZyEmpty p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ============================= */
/* RESPONSIVE                    */
/* ============================= */

@media (max-width: 1100px) {
    .catZyGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 850px) {
    .catZyGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .catZyTitle {
        font-size: 24px;
    }

    .catZyGrid {
        grid-template-columns: 1fr;
    }

    .catZyCard {
        padding: 16px;
    }

    .catZyIconBox {
        width: 55px;
        height: 55px;
    }

    .catZyIconBox img {
        width: 38px;
        height: 38px;
    }
}