.card {
    margin: 0 15px;
}

.grid-template {
    display: grid;
    grid-template-rows: repeat(1, 1fr);
}

.brand-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 10%;
    border: 1px solid #f3f3f3;
}

.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 30px;
    height: 30px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: fixed;
    z-index: 99999;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: white;
    background-size: 100%, 100%;
    width: 2rem;
    height: 2rem;
}

.carousel-control-prev-icon {
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23000" viewBox="0 0 16 16"%3E%3Cpath d="M11.354 1.646a.5.5 0 0 0-.708 0L5.646 6.646a.5.5 0 0 0 0 .708l5 5a.5.5 0 0 0 .708-.708L6.707 7.5l4.647-4.646a.5.5 0 0 0 0-.708z"/%3E%3C/svg%3E');
}

.carousel-control-next-icon {
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23000" viewBox="0 0 16 16"%3E%3Cpath d="M4.646 1.646a.5.5 0 0 1 .708 0l5 5a.5.5 0 0 1 0 .708l-5 5a.5.5 0 0 1-.708-.708L9.293 7.5 4.646 2.854a.5.5 0 0 1 0-.708z"/%3E%3C/svg%3E');
}

.month-filter-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.month-filter-container {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    background-color: white;
    padding: 8px;
    border-radius: 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.month-button {
    padding: 6px 20px;
    border-radius: 999px;
    background-color: transparent;
    color: #333;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
    min-width: 100px;
}

.month-button:hover {
    background-color: #1e3a8a;
    color: #fff;
}

.month-button.active {
    background-color: #1e3a8a;
    color: #fff;
}

/*month-filter swiper*/

/* Slides básicos */
.month-filter-swiper .swiper-slide {
    flex-shrink: 0 !important;
    box-sizing: border-box;
}

/* 4 items */
@media (min-width: 1101px) {
    .month-filter-swiper .swiper-slide {
        width: 25% !important;
        max-width: 24.4%;
    }
}

/* 3 items */
@media (min-width: 992px) and (max-width: 1100px) {
    .month-filter-swiper .swiper-slide {
        width: 33.33% !important;
        max-width: 33.33%;
    }
}

/* 2 items */
@media (min-width: 651px) and (max-width: 991px) {
    .month-filter-swiper .swiper-slide {
        width: 50% !important;
        max-width: 50%;
    }
}

/* 1 item */
@media (max-width: 650px) {
    .month-filter-swiper .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
    }

    .month-filter-swiper .swiper-slide > * {
        width: 98%;
        margin: 0 auto;
    }
}