@import url('../all.css');

/* TITLE */

.box_judul {
    width: 100%;
    height: 70px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 30px;
    box-sizing: border-box;
    margin-top: 0px;
    background-color: var(--white);
}

.box_judul p {
    font-size: 17px;
    font-weight: 500;
    color: var(--black);
}

.box_judul span {
    font-size: 17px;
    font-weight: 600;
    color: var(--orange);
}

.box_produk {
    width: 100%;
    margin-top: 15px;
    /* background-color: blue; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
}

/* LOAD MORE */

.lihat_semua_t {    
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    }
    
    .lihat_semua_t button {
    padding: 10px 20px;
    font-size: 14px;
    background-color: var(--orange);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    }
    
    .lihat_semua_t button .loading-animation {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-top: 2px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 6px;
    }
    
    .lihat_semua_t button.loading .loading-animation {
    display: inline-block;
    margin-right: 10px;
    }
    
    @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
    }
    
    .lihat_semua_t button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

/* RESPONSIVE */

@media only screen and (max-width: 600px) {
    .box_judul {
        margin-top: 15px;
        padding: 0 15px;
        height: 53px;
    }
    .box_judul p {
        font-size: 15px;
    }
    .box_judul span {
        font-size: 15px; 
    }
    .box_produk{
        background-color: var(--white);
        margin-top: 0;
        padding: 0px 15px 15px 15px;
        grid-gap: 10px;
        box-sizing: border-box;
        grid-template-columns: 1fr 1fr;
    }
}