/* premium.css - Estilo Baseado nas Referências do Usuário */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --brand-blue: #003b73;
    /* Azul Escuro da Logo ITS */
    --brand-blue-hover: #002b54;
    --brand-orange: #f27a24;
    /* Laranja CTA */
    --brand-orange-hover: #d96d20;
    --text-main: #1a1a1a;
    --text-muted: #6c757d;
    --bg-main: #f4f7f6;
    --border-color: #eaeaea;
    --card-bg: #ffffff;
}

body {
    font-family: 'Inter', sans-serif !important;
    background-color: var(--bg-main) !important;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   CABEÇALHO (HEADER) E RESPONSIVO
   ========================================================================== */
#top-header {
    display: none !important;
}

#header {
    background-color: #ffffff !important;
    background-image: none !important; /* FORÇA A REMOÇÃO DA IMAGEM AZUL DO STYLE.CSS */
    height: auto !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 0 !important; /* REMOVIDO PARA COLAR O BANNER */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.header-logo-ctn .logo img {
    max-width: 180px;
}

.header-nav-ctn .main-nav {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav-ctn .main-nav>li>a {
    color: var(--brand-blue) !important;
    font-weight: 700 !important;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
}

.header-nav-ctn .main-nav>li>a:hover,
.header-nav-ctn .main-nav>li.active>a {
    color: var(--brand-orange) !important;
}

.header-search {
    flex-grow: 1;
    max-width: 400px;
    margin: 0 auto;
}

.header-search form {
    display: flex;
}

.header-search form .input {
    border: 1px solid var(--border-color) !important;
    border-right: none !important;
    border-radius: 30px 0 0 30px !important;
    color: var(--text-main) !important;
    padding: 10px 20px !important;
    background-color: #f9f9f9 !important;
    font-size: 14px;
    width: 100%;
}

.header-search form .input:focus {
    border-color: var(--brand-blue) !important;
    outline: none;
    background-color: #fff !important;
}

.header-search form .search-btn {
    border-radius: 0 30px 30px 0 !important;
    background: var(--brand-orange) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 25px !important;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.header-search form .search-btn:hover {
    background: var(--brand-orange-hover) !important;
}

.header-account-ctn {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-btn-toggle {
    color: var(--brand-blue) !important;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.cart-btn-toggle i {
    font-size: 24px;
}

.cart-btn-toggle .qty {
    position: absolute;
    background-color: #d10024 !important;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    font-size: 11px;
    line-height: 20px;
    top: -5px;
    right: -10px;
    font-weight: bold;
}

.user-btn-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-blue) !important;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.user-btn-toggle i {
    font-size: 20px;
}

.btn-outline-primary {
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue) !important;
    background: transparent;
    padding: 8px 25px !important;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-outline-primary:hover {
    background: var(--brand-blue);
    color: #fff !important;
}

.menu-toggle a {
    color: var(--brand-blue);
    font-size: 22px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-toggle a span {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

/* RESPONSIVE MENU PANEL (MOBILE) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 280px;
    height: 100%;
    background: #ffffff;
    z-index: 10002;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-panel.open {
    transform: translateX(0);
}

/* Garante que o scroll vaze na tela (segurança) */
body, html {
    overflow-x: hidden;
}

.mobile-menu-overlay.open {
    display: block;
    opacity: 1;
}

.mobile-menu-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-header img {
    max-height: 40px;
}

/* ----------------------------------------------------
   MOBILE PROFILE CARD (USER LOGGED IN)
------------------------------------------------------- */
.mobile-user-section {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
}

.mobile-profile-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.mp-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--brand-blue);
    color: #fff;
}

.mp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 12px;
}

.mp-info {
    display: flex;
    flex-direction: column;
}

.mp-greeting {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.mp-name {
    font-size: 15px;
    font-weight: 700;
}

.mp-actions {
    padding: 10px 0;
}

.mp-actions a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.mp-actions a:hover {
    background: #fdfdfd;
    color: var(--brand-orange);
}

.mp-actions a i {
    margin-right: 10px;
    color: #888;
    width: 16px;
    text-align: center;
}

.mp-logout {
    display: block;
    text-align: center;
    padding: 12px;
    background: #fff5f5;
    color: #e53e3e;
    font-weight: 700;
    border-top: 1px solid #ffe3e3;
    transition: background 0.2s;
}

.mp-logout:hover {
    background: #ffebeb;
}

.mp-logout i {
    margin-right: 6px;
}

.mobile-btn-login {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--brand-orange);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mobile-btn-login:hover {
    background: var(--brand-orange-hover);
    color: #fff;
}
.mobile-btn-login i {
    margin-right: 8px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    padding: 20px;
    margin: 0;
    flex-grow: 1;
}

.mobile-nav-links li {
    margin-bottom: 15px;
}

.mobile-nav-links li a {
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-nav-links li a i {
    width: 25px;
    text-align: center;
    color: var(--brand-orange);
}

.mobile-menu-footer {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-user-greeting {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.mobile-link {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-link:hover {
    color: var(--brand-blue);
}

.mobile-btn-logout,
.mobile-btn-login {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 10px;
}

.mobile-btn-logout {
    background: #fee;
    color: #d10024;
    border: 1px solid #fcc;
}

.mobile-btn-login {
    background: var(--brand-blue);
    color: #fff;
}

@media (max-width: 768px) {
    .header-content-wrapper {
        justify-content: space-between;
    }

    .header-search-ctn {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }

    .header-search form .input {
        border-radius: 8px 0 0 8px !important;
    }

    .header-search form .search-btn {
        border-radius: 0 8px 8px 0 !important;
    }

    .header-logo-ctn .logo img {
        max-width: 140px;
    }
}

/* ==========================================================================
   HERO BANNER (HOME)
   ========================================================================== */
.home-hero {
    background: linear-gradient(rgba(0, 59, 115, 0.85), rgba(0, 43, 84, 0.95)), url('../img/bg1.jpg') center/cover;
    padding: 80px 0 100px;
    margin-top: -110px; /* COMPENSA EXATAMENTE OS 80px do Container + 30px da Section vazia do header.php */
    margin-bottom: 40px;
    color: #fff;
    text-align: left;
    position: relative;
    overflow: hidden;
    width: 100% !important;
}

.hero-badge {
    display: inline-block;
    background: #007bff;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-search-form {
    background: #fff;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
}

.home-hero .text-center {
    text-align: left !important;
}

.hero-search-form form {
    display: flex;
    align-items: center;
}

.hero-search-form .search-icon {
    color: var(--text-muted);
    font-size: 18px;
    padding-left: 20px;
}

.hero-search-form .hero-search-input {
    flex-grow: 1;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    color: var(--text-main);
    background: transparent;
    outline: none;
}

.hero-search-form .hero-search-btn {
    background: var(--brand-orange);
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.hero-search-form .hero-search-btn:hover {
    background: var(--brand-orange-hover);
}

/* ==========================================================================
   SECTION HEADERS (HOME)
   ========================================================================== */
.section-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.section-titles h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-blue);
    margin: 0 0 5px 0;
}

.section-titles p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}

.view-all-link {
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: var(--brand-orange);
}

/* ==========================================================================
   CARDS DE EVENTOS (HOME)
   ========================================================================== */
.premium-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.premium-card-img {
    position: relative;
    width: 100%;
    padding-top: 55%;
    background: #eee;
}

.premium-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-date-badge {
    position: absolute;
    top: -5px;
    right: 20px;
    background: #ffffff;
    color: var(--brand-blue);
    border-radius: 0 0 12px 12px;
    padding: 10px 18px;
    text-align: center;
    font-weight: 800;
    line-height: 1.1;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.premium-date-badge span {
    display: block;
    font-size: 22px;
    color: var(--brand-blue);
}

.premium-date-badge small {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.premium-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.premium-location {
    color: var(--brand-blue);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-location i {
    color: var(--brand-blue);
}

.premium-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 8px;
    line-height: 1.3;
}

.premium-title a {
    color: var(--brand-blue);
    text-decoration: none;
}

.premium-title a:hover {
    color: var(--brand-orange);
}

.premium-desc {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.premium-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0;
    border-top: none;
}

.premium-price {
    font-size: 12px;
    color: var(--text-muted);
}

.premium-price span {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-blue);
}

.btn-buy {
    background: var(--brand-orange);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(242, 122, 36, 0.3);
}

.btn-buy:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(242, 122, 36, 0.4);
}

@media (max-width: 768px) {
    .premium-page-content, .page-rich-content {
        padding: 20px !important;
    }
    .page-rich-content > div,
    .page-rich-content .col-md-4 > div,
    .page-rich-content .col-md-6 > div,
    .page-rich-content .col-md-12 > div {
        padding: 20px !important;
    }
}

@media (max-width: 768px) {
    .home-hero {
        padding: 50px 0;
        text-align: center;
    }

    .home-hero .text-center {
        text-align: center !important;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-search-form form {
        flex-direction: column;
        border-radius: 12px;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .hero-search-form {
        background: transparent;
        box-shadow: none;
    }

    .hero-search-form .hero-search-input {
        width: 100%;
        background: #fff;
        border-radius: 8px;
        margin-bottom: 10px;
        padding: 15px;
    }

    .hero-search-form .search-icon {
        display: none;
    }

    .hero-search-form .hero-search-btn {
        width: 100%;
        border-radius: 8px;
    }

    .section-header-custom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ==========================================================================
   PÁGINA DO EVENTO (DETALHES)
   ========================================================================== */
.event-hero {
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin-bottom: 30px;
    border: none;
}

.event-main-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.event-main-img img {
    width: 100%;
    height: auto;
    display: block;
}

.ticket-selector {
    background: transparent;
    padding: 0;
    margin-top: 20px;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
}

.ticket-row:last-child {
    border-bottom: none;
}

.ticket-info {
    flex-grow: 1;
}

.ticket-info h4 {
    margin: 0;
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.ticket-info p {
    margin: 4px 0 0;
    font-size: 18px;
    color: var(--brand-blue);
    font-weight: 800;
}

.ticket-info .ticket-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 8px;
    display: block;
}

.ticket-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 6px 15px;
}

.ticket-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    color: var(--text-main);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.ticket-btn:hover {
    background: var(--brand-blue);
    color: #fff;
}

.ticket-qty {
    font-weight: 700;
    font-size: 18px;
    min-width: 25px;
    text-align: center;
    color: var(--text-main);
}

.event-buy-panel {
    background: #fff;
    padding: 20px 0 0 0;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    display: none;
}

.btn-finalizar {
    background: var(--brand-blue);
    color: #fff !important;
    padding: 18px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 8px;
    border: none;
    width: 100%;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-finalizar:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 59, 115, 0.3);
}

/* ==========================================================================
   RODAPÉ (FOOTER) - NOVO PADRÃO AZUL ESCURO
   ========================================================================== */
#footer {
    background-color: #001a33 !important; /* Um tom de azul ainda mais escuro e sofisticado */
    background-image: none !important;
    min-height: auto !important;
    color: #ffffff;
    padding-top: 70px;
    padding-bottom: 20px;
    border-radius: 0; /* Fim das bordas arredondadas bregas */
    box-shadow: none;
    margin-top: 50px;
    border-top: 3px solid var(--brand-orange); /* Linha de sotaque elegante */
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 40px;
    opacity: 0.9;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
    margin-top: 15px;
}

.footer-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
    font-size: 14px;
}

.footer-links li a:hover {
    color: var(--brand-orange);
    text-decoration: none;
    padding-left: 5px;
}

.copyright {
    display: block;
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   CARRINHO SUSPENSO (CART DROPDOWN) - DESIGN PREMIUM
   ========================================================================== */
.cart-dropdown {
    background: #ffffff !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    padding: 25px !important;
    min-width: 350px !important;
    top: 120%; /* Afasta um pouco do ícone */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(10px);
}

/* Setinha do balão */
.cart-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 40px; /* Alinha com o ícone do carrinho */
    width: 16px;
    height: 16px;
    background: #fff;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-left: 1px solid rgba(0,0,0,0.05);
}

.dropdown:hover .cart-dropdown,
.dropdown.open > .cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Scrollbar estilizada */
.cart-dropdown .cart-list {
    max-height: 280px !important;
    padding-right: 10px;
}
.cart-dropdown .cart-list::-webkit-scrollbar {
    width: 6px;
}
.cart-dropdown .cart-list::-webkit-scrollbar-track {
    background: #f8f9fa; 
    border-radius: 10px;
}
.cart-dropdown .cart-list::-webkit-scrollbar-thumb {
    background: #d1d5db; 
    border-radius: 10px;
}
.cart-dropdown .cart-list::-webkit-scrollbar-thumb:hover {
    background: #9ca3af; 
}

/* Layout dos Itens - Flexbox para ficar moderno e limpo */
.cart-dropdown .product-widget {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 15px;
    padding: 15px 0 !important;
    border-bottom: 1px solid #f1f5f9;
}

.cart-dropdown .product-widget:last-child {
    border-bottom: none;
}

.cart-dropdown .product-img {
    position: relative !important;
    width: 65px !important;
    height: 65px !important;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.cart-dropdown .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-dropdown .product-body {
    flex: 1;
    min-width: 0; /* Essencial para o flexbox permitir truncate/reticências sem quebrar a tela */
    padding-right: 35px; /* Espaço pro botão excluir */
    text-align: left; /* Garante alinhamento sólido à esquerda */
}

.cart-dropdown .product-name {
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Adiciona "..." se o nome for grande, evitando quebrar linha */
}

.cart-dropdown .product-name a {
    font-size: 13px;
    font-weight: 800;
    color: var(--brand-blue);
    text-transform: uppercase;
    text-decoration: none;
    display: block; /* Garante que ocupe a linha para o truncate funcionar */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-dropdown .product-price {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main) !important;
}

.cart-dropdown .product-price .qty {
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-orange);
    margin-right: 6px;
}

/* Botão Excluir Lixeira */
.cart-dropdown .delete {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.cart-dropdown .delete i {
    color: #ef4444 !important;
    font-size: 15px;
}
.cart-dropdown .delete:hover {
    background: #fee2e2;
}

/* Resumo (Subtotal) */
.cart-dropdown .cart-summary {
    padding: 20px 0 !important;
    border-top: 1px solid #f1f5f9;
}
.cart-dropdown .cart-summary small {
    display: inline-block;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cart-dropdown .cart-summary h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-dropdown .cart-summary h5 label {
    color: var(--brand-blue);
    font-size: 20px;
    margin: 0;
}

/* Botão Finalizar (Bottom Bar) */
.cart-dropdown .cart-btns {
    margin: 0 -25px -25px -25px !important; /* Expande para preencher o fundo da caixa */
    display: block;
}
.cart-dropdown .cart-btns > a {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--brand-orange) !important;
    color: #fff !important;
    padding: 20px !important;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 0 16px 16px;
    transition: background 0.3s, transform 0.2s;
}
.cart-dropdown .cart-btns > a:hover {
    background: var(--brand-orange-hover) !important;
    text-decoration: none;
}

/* ==========================================================================
   MENU DO USUÁRIO (USER PROFILE DROPDOWN)
   ========================================================================== */
.menu-profile {
    background: #ffffff !important;
    min-width: 250px !important;
    padding: 15px !important;
    right: -10px; /* Alinha melhor com o botão */
}

/* Seta do balão para o perfil (ajustada para alinhar com o ícone do usuário) */
.menu-profile::before {
    right: 45px; 
}

.menu-profile .menu-siderbar {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
}

.menu-profile .menu-siderbar li {
    margin-bottom: 5px;
    width: 100%;
}

.menu-profile .menu-siderbar li a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 15px !important;
    color: var(--text-main) !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: transparent !important;
    text-decoration: none;
}

.menu-profile .menu-siderbar li a i {
    font-size: 18px;
    color: var(--brand-blue) !important;
    transition: color 0.2s ease;
}

.menu-profile .menu-siderbar li a:hover {
    background: #f4f6f9 !important;
    color: var(--brand-orange) !important;
    transform: translateX(5px);
}

.menu-profile .menu-siderbar li a:hover i {
    color: var(--brand-orange) !important;
}

/* ==========================================================================
   ESPAÇAMENTO DE PÁGINAS (INTERNAS VS HOME)
   ========================================================================== */
.page-section {
    padding-top: 5px !important; /* Espaço para não grudar no header */
}

.home-section {
    padding-top: 0 !important; /* Home deve grudar no header */
}

/* ==========================================================================
   DROPDOWN "MAIS" NO HEADER
   ========================================================================== */
.premium-dropdown > a {
    font-weight: 700 !important;
    color: var(--brand-orange) !important;
}
.premium-dropdown .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    padding: 15px 0;
    min-width: 200px;
    margin-top: 15px;
}
.premium-dropdown .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0; 
    height: 0; 
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}
.premium-dropdown .dropdown-menu li a {
    padding: 12px 25px;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.2s;
}
.premium-dropdown .dropdown-menu li a:hover {
    background: #fdfdfd;
    color: var(--brand-orange);
    padding-left: 30px; /* Efeito de deslizar ao focar */
}

/* ==========================================================================
   MODAL DE LOGIN E CADASTRO (PREMIUM MODAL)
   ========================================================================== */

/* Arredondamento e sombra suave do Modal inteiro */
.premium-modal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* Header do Modal sem borda padrão, focado nas abas */
.premium-modal .modal-header {
    border-bottom: none;
    padding: 0;
    position: relative;
    background: #fcfcfc;
}

.premium-modal .modal-header .close {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 10;
    font-size: 24px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.premium-modal .modal-header .close:hover {
    opacity: 1;
    color: var(--brand-orange);
}

/* Estilos das Abas Modernas (Nav-tabs) */
.modal-tabs {
    border-bottom: 2px solid #eaeaea;
    display: flex;
    margin: 0;
}

.modal-tabs > li {
    flex: 1;
    text-align: center;
    margin-bottom: -2px; /* Superpõe a borda da linha */
}

.modal-tabs > li > a {
    border: none !important;
    background: transparent !important;
    color: #888;
    font-weight: 700;
    font-size: 15px;
    padding: 20px 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border-bottom: 2px solid transparent !important;
}

.modal-tabs > li > a:hover {
    color: var(--brand-blue);
}

.modal-tabs > li.active > a,
.modal-tabs > li.active > a:hover,
.modal-tabs > li.active > a:focus {
    color: var(--brand-blue);
    border-bottom: 2px solid var(--brand-orange) !important;
}

/* Corpo do Modal */
.premium-modal .modal-body {
    padding: 40px;
}

/* Labels e Inputs */
.premium-label {
    display: block;
    font-weight: 600;
    color: var(--brand-blue);
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-premium {
    width: 100%;
    height: 48px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 0 15px;
    font-size: 15px;
    color: var(--text-main);
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.input-premium:focus {
    border-color: var(--brand-orange);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 94, 0, 0.1);
    outline: none;
}

/* Botões de Ação do Modal */
.btn-premium {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--brand-orange);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.2);
}

.btn-premium:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 94, 0, 0.3);
}