@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

* {
    font-family: 'Montserrat', sans-serif;
    padding: 0;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.header-image, .footer-image {
    grid-column-start: 1;
    grid-column-end: 4;
}

.header-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.footer-image {
    display: flex;
}

.footer-image img {
    width: 100%;
}

.pdf-container {
    display: flex; 
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1em;
    justify-content: center;
    background: #FFF;
    width: 85%;
    margin-inline: auto;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 245px;
    max-width: 200px;
    border: 2px solid #bf0819;
    border-bottom: 4px solid #bf0819;
    position: relative;
}

.brand-image {
    width: 50px;
}


.bottom-content {
    padding-inline: 8px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.bottom-content p {
    font-size: 0.875rem;
}

.code {
    position: absolute;
    right: 0;
    top: 0;
    padding: 2px;
    color: #ffffff;
    background-color: #bf0819;
}

.mt-top {
    margin-top: 34rem !important;
}

.mt-top2 {
    margin-top: 17.5rem !important;
}


.overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: 'Montserrat', sans-serif;
    flex-direction: column;
    gap: 1rem;
    transition: opacity 0.3s ease;
}

.overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Loader animado */
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #ccc;
    border-top-color: #bf0819;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.overlay p {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
}