/* =========================================================
   CISER - Informações Rápidas (Quick Information)
   ========================================================= */

/* --- 1. Header (Filete no Topo - Destaque em Vermelho) --- */
.quick-info-header-wrapper {
    width: 100%;
    position: relative;
    z-index: 1020;
}

.quick-info-header-wrapper .quick-info-bar.quick-info-header {
    width: 100%;
    padding: 8px 15px;
    background-color: #0b3979;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-sizing: border-box;
}

.quick-info-header-wrapper .quick-info-bar.quick-info-header a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
}

.quick-info-header-wrapper .quick-info-bar.quick-info-header a:hover {
    color: #f1f1f1;
}

/* --- 2. Página Principal (Home - Destaque em Amarelo) --- */
.quick-info-home-wrapper {
    margin: 25px auto 15px auto;
    width: 100%;
    box-sizing: border-box;
}

.quick-info-home-wrapper .quick-info-block.quick-info-home {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.quick-info-home-wrapper .quick-info-block.quick-info-home:last-child {
    margin-bottom: 0;
}

/* --- 3. Rodapé (Filete no Rodapé - Destaque em Verde) --- */
.quick-info-footer-wrapper {
    width: 100%;
    position: relative;
    z-index: 10;
}

.quick-info-footer-wrapper .quick-info-bar.quick-info-footer {
    width: 100%;
    padding: 10px 15px;
    background-color: #072a5a;
    color: #ffffff;
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.quick-info-footer-wrapper .quick-info-bar.quick-info-footer a {
    color: #ffffff;
    text-decoration: underline;
}

.quick-info-footer-wrapper .quick-info-bar.quick-info-footer a:hover {
    color: #e2e8f0;
}

/* --- 4. PopUp (Modal Dialog Independente na Home) --- */
body.quick-info-popup-open {
    overflow: hidden !important;
}

.quick-info-popups-container {
    position: relative;
}

.quick-info-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.quick-info-popup-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.quick-info-popup-dialog {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    max-width: 620px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px 24px 24px;
    box-sizing: border-box;
    transform: translateY(-20px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quick-info-popup-overlay.is-active .quick-info-popup-dialog {
    transform: translateY(0) scale(1);
}

.quick-info-popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    font-weight: 300;
    color: #666666;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.15s ease, background-color 0.15s ease;
    z-index: 10;
}

.quick-info-popup-close:hover {
    color: #000000;
    background-color: #f1f5f9;
}

.quick-info-popup-body {
    font-size: 15px;
    color: #333333;
    line-height: 1.6;
    word-break: break-word;
}

.quick-info-popup-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

/* --- 5. Checkout (Confirmação de Pedido) --- */
.quick-info-checkout-wrapper {
    width: 100%;
    margin: 20px auto 15px auto;
    box-sizing: border-box;
}

.quick-info-checkout-wrapper .quick-info-block.quick-info-checkout {
    background-color: #e1f0d2;
    border: 1px solid #d2e7bf;
    border-radius: 4px;
    padding: 15px 20px;
    margin-bottom: 15px;
    text-align: left;
    color: #333333;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
}

.quick-info-checkout-wrapper .quick-info-block.quick-info-checkout:last-child {
    margin-bottom: 0;
}
