/* css/trust.css - Premium Trust Badges and Scarcity Elements */

/* 1. Footer Payments & Security */
.footer-payments-security {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
}

.footer-flags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-flags img, .footer-flags svg {
    height: 30px;
    background: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    object-fit: contain;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.footer-security-badge {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.security-shield svg {
    width: 32px;
    height: 32px;
}

.security-text {
    display: flex;
    flex-direction: column;
    color: #111;
}

.security-text strong {
    font-size: 14px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.security-text span {
    font-size: 10px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.2px;
}

/* 2. Product Buy Box Trust Area */
.trust-buy-box {
    margin-top: 25px;
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 10px 20px rgba(0,0,0,0.3);
}

.mercadopago-banner {
    padding: 15px 20px;
    background: linear-gradient(135deg, #111, #1a1a1a);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mp-text {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.mp-text span {
    color: #009ee3; /* Mercado Pago Blue */
    font-weight: bold;
}

.mp-main {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.mp-logo {
    height: 35px;
    object-fit: contain;
}

.mp-installments {
    font-size: 42px;
    font-weight: 900;
    color: #009ee3;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 158, 227, 0.3);
}

.mp-flags {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.mp-flags img, .mp-flags .barcode-icon {
    height: 18px;
    background: #fff;
    padding: 2px 4px;
    border-radius: 2px;
    object-fit: contain;
}

.mp-flags .barcode-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #000;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 6px;
    letter-spacing: -0.5px;
}

.scarcity-box {
    padding: 20px;
    background-color: #222;
    text-align: center;
}

.scarcity-text {
    font-size: 14px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 500;
}

.pulse-number {
    display: inline-block;
    background: #ccc;
    color: #111;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    font-weight: 900;
    font-size: 12px;
    margin: 0 4px;
    animation: pulseScale 2s infinite;
}

@keyframes pulseScale {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255,255,255,0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.progress-bar {
    height: 8px;
    background-color: #333;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 15%; /* Represents 10 items left */
    background: #ccc;
    border-radius: 4px;
}

.countdown-timer {
    font-size: 13px;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.timer {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
