.institution-benefited {
        margin-top: 88px;
        background: #f4f7ff;
        padding: 72px 0 40px;
}
.institution-wrapper { max-width: 860px; }
.institution-title { font-size: 1.3rem; letter-spacing: .5px; }
.institution-logo { width: 110px; }
.institution-description { font-size: .74rem; max-width: 760px; }

/* Footer layout (novo) */
.footer { background:#fff; padding:72px 0 32px; border-top:1px solid rgba(47,78,181,.08); }
.footer-content { display:flex; gap:64px; align-items:flex-start; }
.footer-col { flex:1 1 0; min-width:220px; }
.footer h4 { font-size:.95rem; font-weight:600; margin:0 0 16px; }
.footer-col ul { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.footer-col li, .footer-col a { font-size:.72rem; line-height:1.4; color:var(--color-muted); }
.footer a { text-decoration:none; }
.footer a:hover { color:var(--color-primary); }
.footer-brand { margin:0 0 14px; font-size:1.05rem; color:var(--color-primary); font-weight:600; }
.footer-brand-img { height:32px; width:auto; display:block; margin:0 0 18px; }
.footer-social { display:flex; gap:12px; margin-bottom:18px; }
.footer-social a { width:22px; height:22px; display:grid; place-items:center; font-size:.55rem; background:#e7ecf9; border-radius:6px; color:var(--color-primary); }
.footer-social a:hover { background:var(--color-primary); color:#fff; }
.footer-disclaimer { font-size:.6rem; line-height:1.35; color:var(--color-muted); margin:0 0 12px; }
.footer-line { height:2px; background:rgba(47,78,181,0.12); margin:36px auto 18px; }
.footer-logos-row { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:10px 0 4px; }
.footer-logos-left { display:flex; align-items:center; gap:32px; flex-wrap:wrap; }
.footer-logo-item { display:inline-flex; align-items:center; gap:10px; }
.footer-logo-label { font-size:.58rem; color:var(--color-muted); white-space:nowrap; }
.footer-logo-item img { height:30px; width:auto; object-fit:contain; }
.footer-logos-right img { height:34px; width:auto; }
.copyright { margin-top:36px; font-size:.62rem; text-align:center; color:var(--color-muted); }
@media (max-width:960px){
  .footer-content { flex-direction:column; gap:48px; }
  .institution-benefited { padding:56px 0 32px; }
  .institution-title { font-size:1.15rem; }
  .footer-logos-row { flex-direction:column; align-items:center; gap:16px; }
  .footer-logos-left { justify-content:center; gap:20px; }
}
/* Viva Sorte inspired custom styles */
:root {
    --color-primary: #2f4eb5;
    --color-secondary: #f7941d;
    --color-accent: #3caf4f;
    --color-dark: #1d2340;
    --color-muted: #5b6173;
    --color-background: #ffffff;
    --max-width: 1280px;
    --shadow-soft: 0 12px 32px rgba(25, 31, 65, 0.12);
    --radius-lg: 24px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    background: #fff;
    color: var(--color-dark);
}

body.public-site {
    background: #fff !important;
    color: var(--color-dark);
}

body.public-site main,
body.public-site section {
    background-color: #fff;
}

body,
main,
section {
    background-color: #fff;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p,
body li {
    color: var(--color-dark);
}


a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    max-width: 100%;
    display: block;
    border-radius: 18px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

main {
    position: relative;
    z-index: 1;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 6px 24px rgba(47, 78, 181, 0.12);
    border-bottom: 1px solid rgba(47, 78, 181, 0.08);
    transition: all 0.3s ease;
}

header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -18px;
    width: 100%;
    height: 18px;
    background: linear-gradient(180deg, rgba(47, 78, 181, 0.05) 0%, rgba(47, 78, 181, 0) 100%);
    pointer-events: none;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 32px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    width: 240px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 1rem;
    font-weight: 600;
}

.nav-links a {
    position: relative;
    padding: 6px 0;
    color: var(--color-dark);
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: var(--color-primary);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--color-primary);
}

.nav-links a:hover::after,
.nav-links a:focus::after,
.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
    opacity: 1;
    transform: translateY(0);
}

.nav-login {
    padding: 10px 22px;
    border-radius: 999px;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-login:hover,
.nav-login:focus {
    background: rgba(47, 78, 181, 0.12);
    box-shadow: 0 8px 18px rgba(47, 78, 181, 0.18);
    color: var(--color-primary);
}

.btn-primary {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(47, 78, 181, 0.24);
}

.hero {
    margin-top: 64px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

.hero-banner {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 650px;
}

.hero-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 750px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: calc(var(--radius-lg) - 16px);
}

.hero-panel {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 28px;
    box-shadow: var(--shadow-soft);
    width: 100%;
    position: sticky;
    top: 100px;
}

.hero-panel-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-panel-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
}

.hero-panel-header h1 {
    margin: 0;
    font-size: 1.9rem;
    color: var(--color-primary);
}

.hero-panel-header p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.hero-purchase-card {
    background: var(--color-primary);
    color: #fff;
    border-radius: 22px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.hero-total {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-total small {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.hero-total strong {
    font-size: 1.6rem;
    color: #fff;
}

.hero-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-quantity button {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: none;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.hero-quantity button:hover,
.hero-quantity button:focus {
    background: rgba(255, 255, 255, 0.28);
}

.hero-quantity span {
    min-width: 32px;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.hero-panel-cta {
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-panel-cta:hover,
.hero-panel-cta:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(60, 175, 79, 0.3);
}

.hero-details-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.section-header {
    margin: 48px 0 20px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.section-header h2 {
    margin: 0;
    font-size: 1.6rem;
}

.section-header p {
    margin: 0;
    color: var(--color-dark);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

/* Manter 3 colunas até tablet; só cair para 1 no mobile */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.product-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(25, 31, 65, 0.10);
    transition: box-shadow 0.2s ease;
}

.product-card:hover {
    box-shadow: 0 10px 24px rgba(25, 31, 65, 0.16);
}

.product-card img {
    border-radius: 14px;
    width: 100%;
    margin: 0;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    background: #fff;
    max-height: 360px; /* limitar altura das imagens para cards não ficarem gigantes */
}

/* Normalizar padding interno do conteúdo dos cards para evitar variações */
.product-card > div {
    padding: 16px !important;
}

.product-card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--color-muted);
}
.product-meta > * + * {
    margin-left: 12px;
}

.price-tag {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
}

.btn-secondary {
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.badge-muted {
    background: rgba(125, 130, 155, 0.15);
    color: var(--color-muted);
}

/* Barra de preço/ação mais compacta, estilo antigo */
.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.product-actions .btn-secondary {
    border-radius: 12px;
    padding: 10px 14px;
}

.highlight-list {
    margin: 0;
    padding-left: 20px;
    color: var(--color-dark);
    display: grid;
    gap: 8px;
    font-size: 0.95rem;
}

.info-section {
    margin-top: 64px;
}

.info-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.info-card {
    background: #fff;
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 16px;
}

.faq-section {
    margin-top: 72px;
}

.faq-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.faq-item {
    background: #fff;
    padding: 24px;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

/* (footer estilos antigos removidos) */

/* Winners section */
.winners-section {
    margin-top: 96px;
}

.winners-header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 48px;
    display: grid;
    gap: 12px;
}

.winners-header h2 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--color-primary);
}

.winners-header p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.winners-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.winners-track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 12px 8px 32px;
}

.winner-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    padding: 20px 24px 26px;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: relative;
}

.winner-card img {
    width: 116px;
    height: 140px;
    object-fit: cover;
    border-radius: 16px;
    background: #eef4ff;
}

.winner-code {
    background: #e7ecf9;
    color: var(--color-primary);
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 999px;
    font-size: 0.9rem;
}

.winner-card h3 {
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
}

.winner-location, .winner-prize {
    margin: 0;
    font-size: 0.75rem;
    color: var(--color-muted);
    text-align: center;
    line-height: 1.4;
}

.winners-arrow {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: none;
    background: #eef2ff;
    color: var(--color-muted);
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(25,31,65,0.12);
    transition: background .2s ease, color .2s ease;
}

.winners-arrow:hover {
    background: var(--color-primary);
    color: #fff;
}

.winners-footer {
    border-top: 1px solid rgba(47,78,181,0.12);
    margin-top: 8px;
    padding-top: 24px;
    display: flex;
    justify-content: center;
}

.btn-more-results {
    background: var(--color-primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 30px rgba(25,31,65,0.22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-more-results:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(25,31,65,0.28);
}

.btn-more-results .arrow {
    font-size: 1.4rem;
}

@media (max-width: 960px) {
    .winners-arrow {
        display: none;
    }
    .winners-track {
        padding-left: 4px;
    }
    .login-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .login-hero {
        padding: 48px 0 72px;
    }
    .login-card {
        padding: 28px;
    }
    .login-illustration {
        padding: 32px;
        flex-direction: column;
        text-align: center;
    }
    .login-illustration::before {
        right: -20px;
        bottom: -120px;
    }
    .login-illustration-content {
        align-items: center;
    }
    .login-hero-photo {
        width: min(360px, 100%);
    }
}

/* Institution benefited refined */
.institution-benefited {
    margin-top: 96px;
    background: #f8faff;
    padding: 56px 0 12px;
    border-top: 1px solid rgba(47,78,181,0.08);
}

.institution-wrapper {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.institution-title {
    margin: 0 0 20px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

.institution-logo {
    width: 140px;
    margin: 0 auto 18px;
    display: block;
}

.institution-description {
    margin: 0 auto;
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--color-muted);
}

/* Customer login page */
.login-page main {
    padding-top: 48px;
}

.login-hero {
    padding: 64px 0 96px;
}

.login-grid {
    display: grid;
    grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.login-card {
    background: #fff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(47, 78, 181, 0.08);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.login-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(47, 78, 181, 0.08);
    color: var(--color-primary);
}

.login-card h1 {
    margin: 0;
    font-size: 2rem;
    color: var(--color-dark);
}

.login-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
    font-size: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-dark);
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-field input {
    border: 1.5px solid rgba(47, 78, 181, 0.2);
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-field input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(47, 78, 181, 0.15);
}

.login-submit {
    border: none;
    border-radius: 18px;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    background: var(--color-primary);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(47, 78, 181, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(47, 78, 181, 0.22);
}

.login-note {
    font-size: 0.8rem;
    color: var(--color-muted);
    line-height: 1.4;
}

.login-note a {
    color: var(--color-primary);
    font-weight: 600;
}

.login-help {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.login-help a {
    color: var(--color-primary);
    font-weight: 600;
}

.login-illustration {
    position: relative;
    background: #f5f7ff;
    border-radius: 48px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;
    min-height: 540px;
}

.login-illustration::before {
    content: "";
    position: absolute;
    right: clamp(-40px, 4vw, 60px);
    bottom: -100px;
    width: clamp(320px, 45vw, 580px);
    height: clamp(320px, 45vw, 580px);
    background: radial-gradient(circle at 30% 30%, #4f6dea 0%, #1d2d6f 70%);
    border-radius: 50%;
    z-index: 0;
    filter: drop-shadow(0 30px 60px rgba(26, 34, 95, 0.35));
}

.login-illustration::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
}

.login-illustration-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
}

.login-illustration h2 {
    margin: 0;
    font-size: 2.4rem;
    color: var(--color-dark);
}

.login-illustration p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.login-hero-photo {
    position: relative;
    z-index: 1;
    width: clamp(320px, 45vw, 560px);
    max-height: 520px;
    object-fit: contain;
    align-self: flex-end;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 28px 48px rgba(7, 15, 45, 0.4));
}

.login-footer {
    margin-top: 64px;
    text-align: center;
    font-size: 0.78rem;
    color: var(--color-muted);
    line-height: 1.6;
}

/* Customer orders area */
.customer-area main {
    padding-top: 40px;
}

.customer-hero {
    background: linear-gradient(120deg, #f2f5ff, #ffffff);
    padding: 56px 0;
}

.customer-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.customer-hero h1 {
    margin: 12px 0 8px;
    font-size: 2.2rem;
}

.customer-id {
    margin-top: 10px;
    font-weight: 600;
    color: var(--color-muted);
}

.customer-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1.5px solid rgba(47, 78, 181, 0.6);
    font-weight: 600;
    color: var(--color-primary);
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(47, 78, 181, 0.08);
    box-shadow: 0 8px 18px rgba(47, 78, 181, 0.15);
}

.customer-orders {
    padding: 48px 0 80px;
}

.customer-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 24px;
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.order-card {
    background: #fff;
    border-radius: 28px;
    padding: 28px;
    border: 1px solid rgba(47, 78, 181, 0.08);
    box-shadow: var(--shadow-soft);
}

.order-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.order-code {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
}

.order-date {
    display: block;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.status-pill {
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.status-created { background: rgba(148, 163, 184, 0.2); color: #475569; }
.status-pending { background: rgba(250, 204, 21, 0.2); color: #a16207; }
.status-paid { background: rgba(34, 197, 94, 0.2); color: #15803d; }
.status-cancelled { background: rgba(239, 68, 68, 0.2); color: #b91c1c; }
.status-refunded { background: rgba(56, 189, 248, 0.2); color: #0369a1; }

.order-card-body {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.order-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.order-meta .meta-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.order-items {
    border-top: 1px solid rgba(47, 78, 181, 0.08);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.order-item p {
    margin: 0;
    font-weight: 600;
}

.order-item span {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.order-tickets {
    border-top: 1px solid rgba(47, 78, 181, 0.08);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ticket-chip {
    background: rgba(47, 78, 181, 0.08);
    border-radius: 14px;
    padding: 10px 14px;
    min-width: 120px;
}

.ticket-chip strong {
    font-size: 1rem;
}

.ticket-chip span {
    display: block;
    font-size: 0.75rem;
    color: var(--color-muted);
}

.order-alert {
    border-top: 1px solid rgba(47, 78, 181, 0.08);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-alert p {
    margin: 0;
}

    /* Uniformizar cards de produtos (estilo igual em todos) */
    .card-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* padrão: 3 colunas lado a lado (imagem 2) */
            gap: 24px;
            align-items: start;
    }
    /* Removido layout de 4 colunas: manter sempre 3 colunas em desktop */
    .product-card {
        background: #fff !important;
        border-radius: 16px !important;
        box-shadow: 0 2px 12px rgba(0,0,0,.08) !important;
        border: 1px solid rgba(47,78,181,.08) !important;
    }
    .product-card img { border-radius: 16px 16px 0 0 !important; }
    .product-card .chips-row { display:flex; gap:12px; margin-bottom:16px; }
    .product-card .chip {
        background:#5772DA !important;
        color:#fff !important;
        padding:8px 16px !important;
        border-radius:8px !important;
        font-size:.85rem !important;
        font-weight:600 !important;
        display:inline-flex; align-items:center; gap:8px;
    }
    .product-card .label-muted { font-size:.75rem; color:#667085 !important; margin-bottom:4px; }
    .product-card .price { font-size:1.1rem; font-weight:700; color:#5772DA !important; }
    .product-card .total-card {
        background:#5772DA !important; color:#fff !important;
        padding:12px 16px !important; border-radius:8px !important;
        margin-bottom:12px !important; display:flex; justify-content:space-between; align-items:center;
    }
    .product-card .qty-box { display:flex; align-items:center; gap:12px; background:#fff; padding:6px 12px; border-radius:50px; }
    .product-card .qty-btn {
        background:transparent; border:none; color:#5772DA !important; font-size:1.3rem; font-weight:700; cursor:pointer; padding:0; width:28px; height:28px; display:flex; align-items:center; justify-content:center; border:2px solid #5772DA; border-radius:50%;
    }
    .product-card .qty-val { font-size:1.1rem; font-weight:700; color:#5772DA !important; min-width:30px; text-align:center; }
    .product-card .add-btn {
        width:100%; background:#58CC62 !important; color:#fff !important; border:none; padding:14px; border-radius:8px; font-weight:600; font-size:.95rem; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px;
    }

    /* Responsivo: manter consistência em telas menores */
    @media (max-width: 720px) {
        .card-grid { grid-template-columns: 1fr; }
    }

.customer-empty {
    background: #fff;
    border-radius: 28px;
    padding: 48px;
    text-align: center;
    border: 1px solid rgba(47, 78, 181, 0.08);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

@media (max-width: 768px) {
    .customer-hero-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .order-card {
        padding: 20px;
    }
    .order-meta {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

@media (max-width: 640px) {
    .institution-benefited { padding: 48px 0 8px; }
    .institution-title { font-size: 1.1rem; }
    .institution-logo { width: 120px; margin-bottom: 14px; }
    .institution-description { font-size: 0.7rem; }
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        order: -1;
        position: static;
        top: auto;
    }

    .hero-banner {
        min-height: auto;
        padding: 0;
    }

    .hero-video {
        max-height: none;
        object-fit: contain;
        aspect-ratio: 16 / 9;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .hero-banner {
        padding: 16px;
    }

    .hero-panel {
        padding: 24px;
    }

    .hero-purchase-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .product-card {
        padding: 18px;
    }

    .product-card img {
        width: calc(100% + 36px);
        margin: -18px -18px 14px;
    }
    .login-card {
        padding: 24px;
    }
    .login-illustration {
        padding: 24px;
    }
    .login-hero-photo {
        width: 100%;
    }
}
