/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    touch-action: manipulation;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f0f4f8;
    color: #1a2332;
    padding: 0 0 70px 0;
    min-height: 100vh;
    overflow-x: hidden;
}

#lista-articulos{
	margin-bottom: 100px;
}

/* ===== HEADER ===== */
#top-ad-bar {
    position: sticky;   /* ← Cambiar de relative a sticky */
    top: 0;             /* ← Se pega arriba */
    background: linear-gradient(135deg, #0d47a1 0%, #1976d3 100%);
    color: white;
    padding: 0;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    max-width: 480px;  /* ← NUEVO */
    margin: 0 auto;    /* ← NUEVO */
}

#header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    gap: 8px;
}

.btn-menu {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 8px;
    transition: background 0.2s;
    line-height: 1;
}

.btn-menu:active {
    background: rgba(255,255,255,0.25);
}

#header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo-text {
    font-size: 0.85rem;
    font-weight: 600;
}

.logo-text a {
    color: #ffd54f;
    text-decoration: none;
}

.logo-text a:hover {
    text-decoration: underline;
}

#header-by {
    font-size: 0.65rem;
    opacity: 0.7;
    white-space: nowrap;
}

#header-by a {
    color: #ffd54f;
    text-decoration: none;
}

/* ===== MENÚ DESPLEGABLE ===== */
#menu-desplegable {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a2332;
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 60;
    animation: slideDown 0.3s ease-out;
}

#menu-desplegable.activo {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#menu-desplegable a {
    display: block;
    padding: 10px 16px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s;
}

#menu-desplegable a:active {
    background: rgba(255,255,255,0.1);
}

/* ===== CONTENEDOR ===== */
#app-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 8px;
}

/* ===== VISTAS ===== */
.vista-activa {
    display: block;
}

.vista-inactiva {
    display: none;
}

/* ===== MENSAJE VACÍO ===== */
#mensaje-vacio {
    text-align: center;
    color: #78909c;
    padding: 40px 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

#mensaje-vacio img {
    width: 190px;
    height: 190px;
    margin-bottom: 12px;
    border-radius: 16px;
}

#mensaje-vacio p {
    font-size: 1rem;
    margin: 0 0 4px 0;
}

#mensaje-vacio small {
    font-size: 0.75rem;
    color: #b0bec5;
    display: block;
    line-height: 1.5;
}

/* ===== TIENDAS ===== */
.grupo-tienda {
    background: white;
    border-radius: 12px;
    margin-bottom: 2em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    overflow: hidden;
}

.grupo-tienda[data-color="0"] h3 { background: linear-gradient(135deg, #1565C0 0%, #1E88E5 100%); }
.grupo-tienda[data-color="1"] h3 { background: linear-gradient(135deg, #6A1B9A 0%, #8E24AA 100%); }
.grupo-tienda[data-color="2"] h3 { background: linear-gradient(135deg, #AD1457 0%, #D81B60 100%); }
.grupo-tienda[data-color="3"] h3 { background: linear-gradient(135deg, #BF360C 0%, #E64A19 100%); }
.grupo-tienda[data-color="4"] h3 { background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%); }
.grupo-tienda[data-color="5"] h3 { background: linear-gradient(135deg, #E65100 0%, #F57C00 100%); }
.grupo-tienda[data-color="6"] h3 { background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%); }
.grupo-tienda[data-color="7"] h3 { background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 100%); }
.grupo-tienda[data-color="8"] h3 { background: linear-gradient(135deg, #4E342E 0%, #6D4C41 100%); }
.grupo-tienda[data-color="9"] h3 { background: linear-gradient(135deg, #1A237E 0%, #283593 100%); }

.grupo-tienda h3 {
    color: white;
    padding: 10px 14px;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grupo-tienda h3 span {
    background: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.grupo-tienda ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ===== TARJETA DE ARTÍCULO ===== */
.grupo-tienda li {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f2f5;
    background: white;
    transition: background 0.15s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.grupo-tienda li:last-child {
    border-bottom: none;
}

.grupo-tienda li:active {
    background: #f5f8fc;
}

.item-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    z-index: 2;
    background: white;
    padding: 2px 0;
}

/* LÍNEA 1: nombre + categoría */
.item-header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.item-header .item-nombre {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a2332;
    flex: 1;
}

.item-categoria-tag {
    background: #e8edf3;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.6rem;
    color: #546e7a;
    font-weight: 500;
    flex-shrink: 0;
}

/* LÍNEA 2: precio por contenido + precio total */
.item-detalles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #546e7a;
}

.item-detalles .item-total {
    font-weight: 700;
    color: #1976d3;
    font-size: 0.95rem;
}

/* LÍNEA 3: $/cont */
.item-meta {
    font-size: 0.7rem;
    color: #78909c;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-cont strong {
    color: #1976d3;
    font-weight: 600;
}

.meta-presentacion {
    font-size: 0.65rem;
    color: #90a4ae;
}

/* ===== SWIPE ===== */
.grupo-tienda li::before {
    content: '→ Carrito';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 70px;
    background: #1976d3;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border-radius: 0 8px 8px 0;
}

.grupo-tienda li::after {
    content: '✕ Eliminar';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 70px;
    background: #e53935;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border-radius: 8px 0 0 8px;
}

.grupo-tienda li.swipe-left::after {
    opacity: 1;
}

.grupo-tienda li.swipe-right::before {
    opacity: 1;
}

/* ===== CARRITO ===== */
#header-carrito {
    background: white;
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.btn-volver {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1976d3;
    padding: 0 8px 0 0;
}

#titulo-carrito {
    font-weight: 600;
    font-size: 1rem;
    flex: 1;
    text-align: center;
}

#total-carrito-header {
    font-weight: 700;
    color: #1976d3;
    font-size: 1rem;
}



/* ===== BOTÓN FLOTANTE ===== */
#btn-abrir-form {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d47a1 0%, #1976d3 100%);
    color: white;
    border: none;
    font-size: 28px;
    box-shadow: 0 3px 12px rgba(25, 118, 211, 0.4);
    cursor: pointer;
    z-index: 99;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#btn-abrir-form:active {
    transform: scale(0.9);
}


/* ===== PANTALLAS GRANDES (PC) ===== */
@media screen and (min-width: 481px) {
    #btn-abrir-form {
        right: calc(50% - 240px + 16px);  /* ← Solo en pantallas grandes */
    }
}

/* ===== FOOTER ===== */
#footer-totales {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0d47a1 0%, #1976d3 100%);
    color: white;
    padding: 12px 16px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
    z-index: 100;
    max-width: 480px;  /* ← NUEVO */
    margin: 0 auto;    /* ← NUEVO */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.6fr;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
    align-items: center;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.footer-col:nth-child(2) {
    align-items: center;
}

.footer-col-btn {
    align-items: flex-end;
}

.footer-label {
    font-size: 0.75rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.footer-valor {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-monto {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

#total-lista-items {
    color: #90caf9;
    font-size: 1.1rem;
    font-weight: 700;
}

#total-lista-monto {
    color: #bbdefb;
}

#total-carrito-items {
    color: #a5d6a7;
    font-size: 1.1rem;
    font-weight: 700;
}

#total-carrito-monto {
    color: #c8e6c9;
}

/* ===== BOTÓN CARRITO ===== */
.btn-footer-carrito {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
    line-height: 1;
}

.btn-footer-carrito:active {
    background: rgba(255,255,255,0.3);
    transform: scale(0.92);
}

/* ===== RESPONSIVE ===== */


.footer-visible {
    display: block;
}

.footer-oculto {
    display: none;
}


@media screen and (min-width: 480px) {
    .footer-grid {
        gap: 24px; /* ← Más espacio en pantallas grandes */
    }
}



/* ===== FORMULARIO ===== */
.form-container {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    max-width: 480px;
    margin: 0 auto;
    animation: fadeInSimple 0.25s ease-out;
}

@keyframes fadeInSimple {
    from { opacity: 0; }
    to { opacity: 1; }
}

.form-container h2 {
    margin-bottom: 16px;
    color: #0d47a1;
    font-size: 1.2rem;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    margin: 4px 0 10px 0;
    border: 1.5px solid #e0e4e8;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: #fafbfc;
    color: #1a2332;
}

.form-control:focus {
    outline: none;
    border-color: #1976d3;
    background: white;
    box-shadow: 0 0 0 3px rgba(25, 118, 211, 0.1);
}

.form-control[readonly] {
    background: #f0f2f5;
    color: #1976d3;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0d47a1 0%, #1976d3 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 4px;
}

.btn-primary:active { transform: scale(0.97); }

.btn-cancelar {
    width: 100%;
    padding: 10px;
    background: #f0f2f5;
    color: #78909c;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    margin-top: 6px;
}

.btn-cancelar:active { background: #e4e7ec; }

.item-url {
    font-size: 0.65rem;
    color: #1976d3;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-url a {
    color: #1976d3;
    text-decoration: none;
}

.item-url a:active {
    text-decoration: underline;
}

.item-precio-unitario {
    color: #546e7a;
    font-size: 0.75rem;
}

/* ===== PRECIO POR CONTENIDO (formulario) ===== */
#precio-por-contenido {
    background: #e3f2fd;
    padding: 8px;
    border-radius: 8px;
    margin: 4px 0 10px 0;
    text-align: center;
    font-size: 0.85rem;
}

#precio-contenido-valor {
    color: #0d47a1;
    font-weight: 700;
}

/* ===== SCROLL ===== */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: #e8edf3; }
::-webkit-scrollbar-thumb { background: #1976d3; border-radius: 4px; }

/* ===== CARRITO - COLORES POR TIENDA (como en la lista) ===== */
.grupo-carrito {
    border-radius: 12px;
    margin-bottom: 2em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    overflow: hidden;
}

.grupo-carrito[data-color="0"] h3 { background: linear-gradient(135deg, #1565C0 0%, #1E88E5 100%); }
.grupo-carrito[data-color="1"] h3 { background: linear-gradient(135deg, #6A1B9A 0%, #8E24AA 100%); }
.grupo-carrito[data-color="2"] h3 { background: linear-gradient(135deg, #AD1457 0%, #D81B60 100%); }
.grupo-carrito[data-color="3"] h3 { background: linear-gradient(135deg, #BF360C 0%, #E64A19 100%); }
.grupo-carrito[data-color="4"] h3 { background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%); }
.grupo-carrito[data-color="5"] h3 { background: linear-gradient(135deg, #E65100 0%, #F57C00 100%); }
.grupo-carrito[data-color="6"] h3 { background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%); }
.grupo-carrito[data-color="7"] h3 { background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 100%); }
.grupo-carrito[data-color="8"] h3 { background: linear-gradient(135deg, #4E342E 0%, #6D4C41 100%); }
.grupo-carrito[data-color="9"] h3 { background: linear-gradient(135deg, #1A237E 0%, #283593 100%); }

.grupo-carrito h3 {
    color: white;
    padding: 10px 14px;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grupo-carrito h3 span {
    background: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.grupo-carrito ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f5f5f5;
}

.grupo-carrito li {
    padding: 10px 14px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
    cursor: pointer;
}

.grupo-carrito li:last-child {
    border-bottom: none;
}

.grupo-carrito li .item-total {
    color: #1976d3;
}

.grupo-carrito li .meta-cont strong {
    color: #1976d3;
}

.grupo-carrito li .item-precio-unitario {
    color: #546e7a;
    font-size: 0.75rem;
}

.grupo-carrito li .item-url {
    font-size: 0.65rem;
    color: #1976d3;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.grupo-carrito li .item-url a {
    color: #1976d3;
    text-decoration: none;
}

/* ===== ACCIONES CARRITO (FIJAS ABAJO) ===== */
#acciones-carrito {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;  /* ← SIN separación */
    padding: 0;  /* ← SIN padding */
    background: white;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
    z-index: 100;
    max-width: 480px;
    margin: 0 auto;
}

.btn-carrito-cancelar {
    padding: 16px 0;
    background: #e8edf3;
    color: #1976d3;
    border: none;
    border-radius: 0;  /* ← SIN bordes redondeados */
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    width: 100%;
}

.btn-carrito-cancelar:active {
    background: #d5dce6;
}

.btn-carrito-cerrar {
    padding: 16px 0;
    background: #f57c00;
    color: white;
    border: none;
    border-radius: 0;  /* ← SIN bordes redondeados */
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.btn-carrito-cerrar:active {
    background: #e65100;
}

/* Ajuste para que el contenido no se esconda detrás de los botones */
#contenedor-carrito {
    padding-bottom: 70px;
}


/* ===== SUGERENCIAS AUTOCOMPLETAR ===== */
.sugerencias-container {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    overflow: hidden;
}

.sugerencias-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sugerencia-item {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sugerencia-item:last-child {
    border-bottom: none;
}

.sugerencia-item:hover {
    background: #f5f5f5;
}

.sugerencia-item:active {
    background: #e8e8e8;
}

.sugerencia-nombre {
    font-weight: 600;
    color: #1a2332;
}

.sugerencia-detalle {
    font-size: 0.75rem;
    color: #78909c;
}

/* ===== FORZAR MENÚ VISIBLE ===== */
/*#top-ad-bar {
    overflow: visible !important;
}*/

#menu-desplegable {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: #1a2332 !important;
    padding: 8px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    z-index: 9999 !important;
}

#menu-desplegable.activo {
    display: block !important;
}

#menu-desplegable a {
    display: block !important;
    padding: 12px 16px !important;
    color: rgba(255,255,255,0.9) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

#menu-desplegable a:active {
    background: rgba(255,255,255,0.1) !important;
}

/* ===== FORMULARIO RÁPIDO (desde abajo) ===== */
#form-rapido-overlay {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.3);
    z-index: 200;
    height: 100vh;
    align-items: flex-end;
    justify-content: center;
    overflow-y: auto;
}

#form-rapido-overlay.active {
    display: flex;
}

#form-rapido {
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 24px 20px 30px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    animation: slideUp 0.3s ease-out;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    /* Evita que el teclado lo cubra */
    max-height: 90vh;
    overflow-y: auto;
}

#form-rapido .handle {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 4px;
    margin: 0 auto 16px;
}

#form-rapido h3 {
    margin: 0 0 16px 0;
    color: #0d47a1;
    font-size: 1.1rem;
}

#form-rapido .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

#form-rapido .btn-rapido-group {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

#form-rapido .btn-rapido-group .btn-cancelar {
    flex: 1;
    padding: 12px;
    background: #f0f2f5;
    color: #78909c;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
}

#form-rapido .btn-rapido-group .btn-primary {
    flex: 2;
    padding: 12px;
    background: linear-gradient(135deg, #0d47a1 0%, #1976d3 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

#form-rapido .btn-rapido-group .btn-primary:active {
    transform: scale(0.97);
}

/* ===== ANIMACIÓN ===== */
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ===== RECIBOS ===== */
.recibo-item:active {
    background: #f5f8fc !important;
}

#vista-detalle-recibo {
    animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== POLÍTICA DE PRIVACIDAD ===== */
.politica-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.politica-container h1 {
    color: #0d47a1;
    font-size: 1.3rem;
    margin: 0 0 4px 0;
}

.politica-container .subtitulo {
    color: #546e7a;
    font-size: 0.85rem;
    margin: 0 0 20px 0;
}

.politica-container .intro {
    color: #1a2332;
    font-size: 0.95rem;
    line-height: 1.6;
    background: #f5f8fc;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #1976d3;
}

.politica-container h2 {
    color: #0d47a1;
    font-size: 1rem;
    margin: 24px 0 8px 0;
}

.politica-container h2 .badge {
    font-weight: 400;
    color: #78909c;
    font-size: 0.8rem;
}

.politica-container p {
    color: #546e7a;
    font-size: 0.9rem;
    line-height: 1.6;
}

.politica-container .footer-text {
    color: #78909c;
    font-size: 0.75rem;
    margin-top: 24px;
    border-top: 1px solid #f0f2f5;
    padding-top: 16px;
    text-align: center;
}

.politica-container .footer-text .frase {
    font-style: italic;
    color: #b0bec5;
}

.politica-container a {
    color: #1976d3;
    text-decoration: none;
}

.politica-container a:hover {
    text-decoration: underline;
}