.catalogue-list-items {
    display: grid;
    grid-template-columns: 1fr; /* Default to 1 column */
    gap: 30px;
}

.catalogue-list-item {
    box-sizing: border-box;
    border-radius: 15px;
    box-shadow: rgba(52, 64, 84, 0.54) 0px 1px 4px;
    transition: box-shadow 0.1s ease-in-out, transform 0.1s ease-in-out;
}

@media (min-width: 768px) {
    .catalogue-list-items {
        grid-template-columns: repeat(auto-fill, minmax(calc(50% - 30px), 1fr));
    }
}

@media (min-width: 1200px) {
    .catalogue-list-items {
        grid-template-columns: repeat(auto-fill, minmax(calc(33.3333% - 30px), 1fr));
    }
}

.catalogue-list-item:hover {
    transform: translateY(-5px);
    box-shadow: rgba(52, 64, 84, 0.54) 0px 10px 20px -5px;
}

.catalogue-list-item-wrap {
    position: relative;
    border-radius: 15px;
    display: flex;
    flex-flow: column wrap;
    height: 100%;
}

.catalogue-list-item-image {
    background-color: #B04EC4;
    border-radius: 15px 15px 0 0;
    padding: 15px;
}

.catalogue-list-item-content {
    background-color: #303E48;
    padding: 16px 20px;
    border-radius: 0 0 15px 15px;
    color: #FFFFFF;
    flex-grow: 1;
    display: flex;
    flex-flow: column wrap;
}

.catalogue-list-item-content hr {
    width: 100%;
}

.catalogue-list-item-title {
    color: #FFF;
    text-align: center;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.16px;
    flex-grow: 1;
}

.catalogue-list-item-view {
    color: #FFF;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}


.catalogue-filter {
    margin-bottom: 1rem;
}
.catalogue-filter select {
    border-radius: 5px;
    border: 1px solid #303E48;
    background: #FFF;
    display: block;
    width: 100%;
    padding: 12px;

    color: #000;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.2px;
}

.catalogue-filter select:hover {
    border: 1px solid #B04EC4;
}

#catalogue-reset {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border-radius: 5px;
    border: 1px solid #303E48;
    background: #FFF;
    width: 100%;
    padding: 9px 12px;

    color: #000;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.2px;

    cursor: pointer;
}

#catalogue-reset:hover {
    background: #B04EC4;
    color: #fff;
}

#catalogue-reset svg {
    color: #000; /* Set initial color */
    transform: rotate(-90deg);
    transition: transform 0.3s ease-in-out;
}

#catalogue-reset:hover svg {
    color: #fff; /* Set hover color */
    transform: rotate(0deg);
}


/* Loader styling */
.loader {
    border: 8px solid #F4F4F4; /* Light gray background */
    border-top: 8px solid #B04EC4; /* Blue color for the spinning part */
    border-radius: 50%; /* Makes it a circle */
    width: 1rem;
    height: 1rem;
    animation: spin 1s linear infinite; /* Spin animation */
}

/* Keyframes for the spinning animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.catalogue-list-loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#catalogue-list-loading {
    display: none;
}
#catalogue-list-display {
    display: none;
}