* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #F4F5F6;
    overflow-x: hidden;
}

/* Títulos principais */
.section-title,
.article-title,
.news-title,
.reward-title,
.extract-title,
.cart-title,
#sidebar h1 {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 700;
}

/* Subtítulos (opcional) */
.article-subtitle,
.balance-label {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
}

.mobile-container {
    max-width: 375px;
    margin: 0 auto;
    background-color: #FFFFFF;
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Status Bar */
.status-bar {
    background-color: #CCE5FF;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
}

.status-right {
    display: flex;
    gap: 5px;
}

.status-right i {
    font-size: 12px;
    margin-left: 4px;
}

.header-section {
    background: #1f496d;
    padding: 12px 0 16px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* Linha superior: Logo e Carrinho */
.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
}

.header-left-spacer,
.header-left-top {
    width: 40px;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header-logo-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-link {
    display: inline-block;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.header-right-top {
    width: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}

.header-left-top {
    width: 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-shrink: 0;
}

.header-cart-icon {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.header-cart-icon:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
    text-decoration: none;
}

.cart-badge-pink {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #FF69B4;
    color: white;
    border-radius: 8px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Linha inferior: Seção de Saldo */
.header-balance-row {
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-info-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.balance-label-header {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.balance-amount-large {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    font-family: 'Titillium Web', sans-serif;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.balance-currency {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: lowercase;
    white-space: nowrap;
}

.balance-arrow-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.balance-arrow-link:hover {
    color: white;
    transform: translateX(2px);
    text-decoration: none;
}

.balance-updated {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    white-space: nowrap;
}

.balance-view-link {
    font-size: 11px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.balance-view-link:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* ============================================
   HEADER DESKTOP
   ============================================ */

.header-desktop {
    background: #1f496d;
    padding: 12px 0;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

/* Compensar altura do header fixo no desktop */
@media (min-width: 768px) {
    body.has-desktop-header {
        padding-top: 70px;
    }
}

.header-desktop-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-desktop-logo {
    flex-shrink: 0;
}

.logo-link-desktop {
    display: inline-block;
    transition: transform 0.2s ease;
}

.logo-link-desktop:hover {
    transform: scale(1.05);
}

.logo-img-desktop {
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Navegação Desktop */
.header-desktop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.nav-link-desktop {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link-desktop i {
    font-size: 1rem;
}

.nav-link-desktop:hover,
.nav-link-desktop.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
}

/* Dropdown Mais Desktop */
.dropdown-more {
    position: relative;
}

.dropdown-toggle-more {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: none;
    background: transparent;
    cursor: pointer;
}

.dropdown-toggle-more::after {
    display: none;
}

.dropdown-toggle-more i.fa-ellipsis-h {
    font-size: 1rem;
}

.dropdown-toggle-more i.fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.dropdown-toggle-more[aria-expanded="true"] i.fa-chevron-down,
.dropdown.show .dropdown-toggle-more i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-toggle-more:hover,
.dropdown-toggle-more.active,
.dropdown-toggle-more[aria-expanded="true"],
.dropdown.show .dropdown-toggle-more {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
}

.dropdown-menu-more {
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 8px;
    margin-top: 8px;
    min-width: 220px;
    left: auto !important;
    right: 0;
}

.dropdown-menu-more .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: #1A1A1A;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}

.dropdown-menu-more .dropdown-item i {
    width: 20px;
    text-align: center;
    color: #1f496d;
}

.dropdown-menu-more .dropdown-item:hover {
    background: #F8F9FA;
    color: #1f496d;
}

/* Ações Desktop */
.header-desktop-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.balance-section-desktop {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.balance-amount-group-desktop {
    display: flex;
    align-items: center;
    gap: 6px;
}

.balance-icon-desktop {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.amount-desktop {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    font-family: 'Titillium Web', sans-serif;
    letter-spacing: -0.2px;
}

.currency-desktop {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: lowercase;
}

.header-action-desktop {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-action-desktop:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.cart-badge-desktop {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #FF69B4;
    color: white;
    border-radius: 8px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid #1f496d;
}

@media (max-width: 576px) {
    .header-section {
        padding: 10px 0;
    }
    
    .header-top-row {
        margin-bottom: 12px;
    }
    
    .header-cart-icon {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    .balance-info-section {
        gap: 6px;
    }
    
    .balance-amount-large {
        font-size: 16px;
    }
    
    .balance-currency {
        font-size: 12px;
    }
    
    .balance-label-header {
        font-size: 10px;
    }
    
    .balance-updated {
        font-size: 9px;
    }
    
    .balance-view-link {
        font-size: 10px;
    }
    
    .balance-arrow-link {
        font-size: 0.8rem;
    }
}

.logo-section {
    padding-top: 10px;
}

.logo-img {
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.2s ease;
}

@media (max-width: 576px) {
    .logo-img {
        height: 40px;
    }
}

.balance-label {
    font-size: 12px;
    font-weight: 400;
    color: #115DA9;
    margin-bottom: 8px;
    text-align: center;
}

.balance-amount-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.currency {
    font-size: 16px;
    font-weight: 600;
    color: #115DA9;
}

.amount {
    font-size: 20px;
    font-weight: 600;
    color: #115DA9;
    letter-spacing: -0.5px;
}

.eye-btn {
    background: none;
    border: none;
    color: #115DA9;
    cursor: pointer;
}

.eye-btn i {
    font-size: 20px;
}

/* Quick Actions */
.quick-actions {
    background-color: #FFFFFF;
    padding: 20px 0 10px;
    margin-top: -20px;
    border-radius: 8px;
    box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.quick-actions .row {
    padding: 0 30px;
    align-items: flex-end;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.action-icon {
    width: 40px;
    height: 40px;
    background-color: #115DA9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 18px;
}

.action-icon.qris-icon {
    width: 60px;
    height: 60px;
    padding: 12px;
    background-color: #115DA9;
}

.action-icon.qris-icon svg {
    width: 100%;
    height: 100%;
}

.action-label {
    font-size: 11px;
    font-weight: 500;
    color: #115DA9;
    text-align: center;
    margin-top: -5px;
    white-space: nowrap;
}

/* Main Content */
.main-content {
    background-color: #F4F5F6;
    padding: 25px 0 120px;
    min-height: calc(100vh - 500px);
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #115DA9;
    margin: 0;
}

.shortcut-tags {
    display: flex;
    gap: 10px;
}

.tag {
    font-size: 12px;
    font-weight: 600;
    color: #949494;
}

.shortcut-icons {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 15px;
    padding: 0;
}

.shortcut-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    cursor: pointer;
    transition: transform 0.2s;
}

.shortcut-item:hover {
    transform: translateY(-2px);
}

.shortcut-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #115DA9 0%, #0d4a85 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 28px;
    box-shadow: 5px 5px 5px rgba(54, 54, 54, 0.1);
}

.shortcut-label {
    font-size: 12px;
    font-weight: 500;
    color: #115DA9;
    text-align: center;
}

/* Rewards Section */
.rewards-section {
    margin-top: 0;
}

.reward-description {
    font-size: 12px;
    color: #949494;
}

.btn-view-all {
    background: none;
    border: none;
    color: #115DA9;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.btn-view-all:hover {
    text-decoration: underline;
}

/* GRID DE CARDS - Responsivo desktop e mobile */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 15px;
    padding-bottom: 10px;
}

/* Mobile: 2 colunas ou scroll horizontal em telas muito pequenas */
@media (max-width: 575.98px) {
    .rewards-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 12px;
    }
}

/* Desktop grande: até 4 colunas */
@media (min-width: 1200px) {
    .rewards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.rewards-grid-mobile {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 15px;
    padding-bottom: 10px;
}

@media (max-width: 992px) {
    .rewards-grid-mobile {
        margin-top: 15px;
        margin-bottom: 15px;
        padding-bottom: 10px;
        grid-template-columns: 1fr;
    }
}

/* CARD */
.reward-card {
    min-width: 0;
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.reward-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.reward-card.disabled {
    opacity: 0.6;
}

/* Altura mínima apenas para cards com imagem (recompensas) */
.reward-card:has(.reward-image) {
    min-height: 320px;
}

/* IMAGEM - proporção responsiva */
.reward-image {
    aspect-ratio: 1;
    max-height: 200px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
}

.reward-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* BADGE */
.oferta-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: .4px;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
    z-index: 2;
}

.oferta-badge-texto {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: .4px;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
    z-index: 2;
}


@media (min-width: 768px) {
    .floating-cart-btn {
        bottom: 16px; /* desktop: mais próximo da base da tela */
    }
}

/* INFO */
.reward-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
    min-width: 0;
}

.reward-info .text-muted {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px !important;
}

.reward-card .progress-area {
    margin-top: 8px;
}

.reward-card .progress {
    height: 21px;
    border-radius: 8px;
    background-color: #e9ecef;
}

.reward-card .progress-bar {
    border-radius: 8px;
}

.reward-title {
    font-size: 21px;
    font-weight: 600;
    color: #115DA9;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reward-points {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.points-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

/* Valor antigo */
.points-old {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
}

/* Valor com desconto (destaque) */
.points-new {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.reward-points i {
    color: #FFD700;
    font-size: 16px;
}

/* BOTÃO FIXO NO FUNDO - apenas em cards de recompensa (com reward-actions) */
.reward-actions {
    margin-top: auto;
    padding-top: 8px;
}

@media (max-width: 575.98px) {
    .reward-actions {
        flex-direction: column;
    }
}

.btn-redeem {
    width: 100%;
    background-color: #115DA9;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: auto;
}

.btn-redeem:hover {
    background-color: #0d4a85;
}

.btn-redeem:disabled {
    background-color: #CCCCCC;
    cursor: not-allowed;
}

.btn-load-more {
    width: 75%;
    background-color: #115DA9;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-load-more:hover {
    background-color: #0d4a85;
}

.btn-load-more:disabled {
    background-color: #CCCCCC;
    cursor: not-allowed;
}

/* ESTADO VAZIO */
.reward-card.no-rewards,
.reward-card.no-challenges {
    grid-column: 1 / -1;
    min-height: auto;
    box-shadow: none;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.challenge-text {
    font-size: 14px;
    color: #949494;
}


/* Extract Section */

.btn-filter {
    background: none;
    border: none;
    color: #115DA9;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
}

.extract-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.extract-item {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.extract-item:hover {
    transform: translateX(3px);
}

.extract-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.extract-icon.positive {
    background-color: #E8F5E9;
    color: #4CAF50;
}

.extract-icon.negative {
    background-color: #FFEBEE;
    color: #F44336;
}

.extract-icon.pending {
    background-color: #ffffff;
    color: #f7f326;
}

.extract-details {
    flex: 1;
}

.extract-title {
    font-size: 14px;
    font-weight: 600;
    color: #115DA9;
    margin-bottom: 4px;
}

.extract-date {
    font-size: 12px;
    color: #949494;
    margin: 0;
}

.extract-amount {
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.extract-amount.positive {
    color: #4CAF50;
}

.extract-amount.negative {
    color: #F44336;
}

/* Bottom Navigation */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: #FFFFFF;
    padding: 15px 0;
    box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

@media (max-width: 992px) {
    .bottom-nav {
        display: block;
    }
}

.nav-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: #949494;
    transition: color 0.3s;
}

.nav-item i {
    font-size: 20px;
}

.nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.nav-item.active {
    color: #115DA9;
}

.nav-item:hover {
    color: #115DA9;
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .mobile-container {
        max-width: 100%;
    }
    
    .shortcut-icons {
        gap: 10px;
    }
    
    .shortcut-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* Animação para toggle do saldo */
.balance-hidden .amount {
    filter: blur(8px);
    user-select: none;
}

.balance-hidden .currency {
    filter: blur(4px);
    user-select: none;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background-color: #FFFFFF;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.notification.success {
    border-left: 4px solid #4CAF50;
}

.notification.error {
    border-left: 4px solid #F44336;
}

.notification.info {
    border-left: 4px solid #115DA9;
}

.notification i {
    font-size: 20px;
}

.notification.success i {
    color: #4CAF50;
}

.notification.error i {
    color: #F44336;
}

.notification.info i {
    color: #115DA9;
}

.notification span {
    font-size: 14px;
    font-weight: 500;
    color: #115DA9;
}

.progress-container {
    width: 100%;
    height: 10px;
    background-color: #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-area {
    /* margin-top: auto; */
}

.progress-bar {
    height: 100%;
    background-color: #28a745; /* verde */
    width: 0; /* Você altera via JS */
    transition: width 0.4s ease;
}

/* Botão flutuante */
.floating-cart-btn {
    position: fixed;
    bottom: 16px; /* desktop: próximo da base */
    right: 20px;
    width: 55px;
    height: 55px;
    background: #115DA9;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 9999; /* fica acima de tudo */
    cursor: pointer;
    transition: transform .2s ease;
}

.floating-cart-btn:hover {
    transform: scale(1.08);
}

/* Mobile: acima do bottom nav */
@media (max-width: 767.98px) {
    .floating-cart-btn {
        bottom: 80px;
    }
}

/* Badge de quantidade */
.floating-cart-btn .cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #d60000;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.cart-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    gap: 1rem;
}

@media (max-width: 576px) {
    .cart-item {
        flex-direction: column;
    }
}

.cart-icon {
    font-size: 28px;
    color: #6c63ff;
}

.cart-points{
    font-size: 16px;
    font-weight: bold;
    color: #115DA9;
}

.del-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}
.qty-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%; /* ajuste se quiser mais espaço */
}

@media (max-width: 992px) {
    .qty-box {
        width: 100%; /* ajuste para telas menores */
    }
}

.btn-qty {
    border: none;
    background: none;
    font-size: 18px;
    width: 28px;
    height: 28px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
}

.btn-qty:hover {
    background: #f0f0f0;
}

.qty-value {
    text-align: center;
    font-weight: bold;
}


.accordion-button,
.accordion-button:not(.collapsed) {
    background-color: #fff !important;
    color: #212529;
    box-shadow: none;
}

/* Carousel de banners */
.carousel-wrapper {
    border-radius: 12px;
    overflow: hidden;
}

/* Mobile: compacto, centralizado */
@media (max-width: 991.98px) {
    .carousel-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
}

.carousel-wrapper .carousel-inner {
    border-radius: 12px;
    overflow: hidden;
}

#carouselExampleIndicators {
    margin: 0;
}

/* Indicadores em barras horizontais (estilo da imagem de referência) */
#carouselExampleIndicators .carousel-indicators-bars {
    position: static;
    margin: 12px 0 0;
    gap: 8px;
    display: flex;
    justify-content: center;
}

#carouselExampleIndicators .carousel-indicators-bars button {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    border: none;
    background-color: rgba(0, 0, 0, 0.25);
    opacity: 1;
    flex: 0 0 auto;
    transition: width 0.2s ease, background-color 0.2s ease;
}

#carouselExampleIndicators .carousel-indicators-bars button.active {
    width: 32px;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Desktop: altura maior, ocupa toda área */
#carouselExampleIndicators .carousel-item img {
    object-fit: cover;
}

.digit-input{
  font-size: clamp(16px, calc(12px + 2vw), 32px);
  text-align: center;
}

.more-menu {
    position: relative;
}

.more-dropdown {
    position: absolute;
    bottom: 60px; /* sobe acima do menu */
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 -4px 15px rgba(0,0,0,.15);
    display: none;
    flex-direction: column;
    min-width: 160px;
    padding: 8px 0;
    z-index: 999;
}

.more-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.more-dropdown a:hover {
    background: #f5f5f5;
}

.more-dropdown i {
    width: 18px;
    text-align: center;
}

.bottom-nav,
.nav-items {
    overflow: visible;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Logo */
.header-left {
    display: flex;
    align-items: center;
}

/* Coluna da direita */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Ajuste do carrinho no header */
.header-cart {
    position: relative;
    bottom: auto;
    right: auto;
    width: 42px;
    height: 42px;
    font-size: 18px;
}

/* Badge menor no header */
.header-cart .cart-badge {
    font-size: 10px;
    padding: 1px 5px;
}

.cart-title {
    margin: 0;
}

.balance-amount-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-menu {
    position: relative;
    cursor: pointer;
}

.user-dropdown {
    position: absolute;
    top: 52px;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    min-width: 180px;
    display: none;
    flex-direction: column;
    padding: 8px 0;
    z-index: 1000;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.user-dropdown a:hover {
    background: #f5f5f5;
}

.user-dropdown i {
    width: 18px;
    text-align: center;
}

/* Grid de notícias - responsivo */
.news-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 15px;
    padding-bottom: 10px;
}

@media (max-width: 575.98px) {
    .news-carousel {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 12px;
    }
}

@media (min-width: 1200px) {
    .news-carousel {
        grid-template-columns: repeat(4, 1fr);
    }
}

.new-card {
    min-width: 0;
    min-height: 280px;
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.new-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.new-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.new-card .card-body p {
    flex: 1;
    font-size: 13px !important;
    margin-bottom: 12px;
}

.new-card .card-footer {
    padding: 0;
    margin-top: auto;
    border: none;
    background: transparent;
}

.news-image-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    min-height: 120px;
    border-radius: 8px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #46C4DA 0%, #115DA9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-image-placeholder i {
    font-size: 42px;
    color: rgba(255, 255, 255, 0.75);
}

.news-image {
    width: 100%;
    aspect-ratio: 16/10;
    min-height: 120px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
}

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

.news-title {
    font-size: 14px;
    font-weight: 600;
    color: #115DA9;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-carousel-mobile {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 15px;
    padding-bottom: 10px;
}

@media (max-width: 992px) {
    .news-carousel-mobile {
        margin-top: 15px;
        margin-bottom: 15px;
        padding-bottom: 10px;
        grid-template-columns: 1fr;
    }
}

.page-link {
    background-color: #115DA9;
    color: white;
    margin: 0;
}

.article-title{
    font-size: 30px;
    font-weight: bold;
    color: #115DA9;
}

.article-subtitle{
    font-size: 14px;
}

.article-image-wrapper {
    max-width: 75%;
    margin: 0 auto 20px;
}

@media (max-width: 992px) {
    .article-image-wrapper {
        max-width: 100%;
    }
}

.article-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.article-text {
    font-size: 16px;
    line-height: 1.6;
}


.tratamento-box {
	cursor: pointer;
	transition: all 0.2s ease;
}

.tratamento-box:hover {
	background-color: #e9ecef;
}

.tratamento-box input:checked {
	accent-color: #0d6efd;
}

#sidebar li.nav-item{
  position: relative;
  margin-bottom: .25rem;
}

#sidebar li.nav-item .nav-link{
  gap: .75rem;
  color:#fff;
  padding: .5rem;
  position: relative;
  z-index: 1;
  border-radius: 8px;
  transition: all .2s ease-in-out;
}

#sidebar li.nav-item:hover .nav-link, #sidebar li.nav-item .nav-link.active{
  background-color: var(--lev-primary);
  transition: all 0.2s ease-in-out;
}

#sidebar {
  min-width: 270px;
  max-width: 270px;
  background: var(--lev-dark);
  color: #fff;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  position: relative;
  margin-left: -270px;
}

#sidebar .h6 {
  color: #fff;
}

#sidebar.active {
  margin-left: 0;
  transition: all 0.2s;
}

#sidebar h1 {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 30px;
}

#sidebar h1 .logo {
  color: #fff;
}

#sidebar h1 .logo span {
  font-size: 14px;
  color: #44bef1;
  display: block;
}

#sidebar ul li {
  font-size: 16px;
}

#sidebar ul li>ul {
  margin-left: 10px;
}

#sidebar ul li>ul li {
  font-size: 14px;
}

#sidebar ul li a {
  padding: 10px 0;
  display: block;
  color: #fff;
}

#sidebar ul li a span {
  color: #44bef1;
}

#sidebar ul li a:hover {
  color: #fff;
}

#sidebar ul li.active>a {
  background: transparent;
  color: #fff;
}

[data-toggle="sidebarCollapse"]{left:1rem;top:50%;transform: translateY(-50%);}

@media (max-width: 991.98px) {
  #sidebar {
    margin-left: -270px;
  }

  #sidebar.active {
    margin-left: 0;
  }
}

a[data-toggle="collapse"] {
  position: relative;
}

.dropdown-toggle::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media (max-width: 991.98px) {
  [data-toggle="sidebarCollapse"] span {
    display: none;
  }
}

@media (max-width: 768px) {
    .container-xl {
        max-width: 100% !important;
        padding: 0 !important;
    }
}