/* O conteúdo é o mesmo na página direta e no painel do cardápio e da index. */
.sobre-conteudo {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    overflow-wrap: break-word;
}
.sobre-conteudo *, #sobreModal * { box-sizing: border-box; }
.sobre-conteudo [hidden], #sobreModal[hidden], #sobreModal [hidden] { display: none !important; }
.sobre-conteudo .card {
    display: block;
    background: #fff;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    margin: 0 0 12px;
    overflow: hidden;
}
.sobre-conteudo .card-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #eceff1;
    background: #fff;
}
.sobre-conteudo .card-header .icon {
    width: 24px;
    margin-right: 12px;
    text-align: center;
    font-size: 19px;
    color: var(--primary-color);
}
.sobre-conteudo .card-header h2 {
    margin: 0;
    padding: 0;
    border: 0;
    color: #222b34;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
}
.sobre-conteudo .card-body { padding: 14px 16px; }
.sobre-conteudo .card-content { color: #49535d; }
.sobre-conteudo img, .sobre-conteudo iframe { max-width: 100%; }
.sobre-conteudo .img-fluid { height: auto; border-radius: 8px; }
.sobre-conteudo .table { width: 100%; border-collapse: collapse; margin: 0; }
.sobre-conteudo .table td { padding: 8px; border: 0; border-bottom: 1px solid #eceff1; }
.sobre-conteudo .table tr:last-child td { border-bottom: 0; }
.sobre-conteudo .table-striped tr:nth-child(odd) { background: #f7f8fa; }
.sobre-conteudo .todays-hours { font-weight: 700; color: var(--primary-color); }
.sobre-conteudo .developer-footer { text-align: center; padding: 12px; }
.sobre-conteudo .developer-logo { width: 80px; height: auto; margin: 0 auto 12px; }
.sobre-conteudo .sobre-logo-claro { background: #f8f9fa; padding: 8px; border-radius: 8px; }
.sobre-conteudo .payment-method img { flex: none; max-width: 38%; object-fit: contain; }
.sobre-conteudo .payment-method span { min-width: 0; font-size: 13px; color: #49535d; }
.sobre-conteudo .btn, .sobre-conteudo .rede-social-tile, .sobre-erro button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 14px;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    font: inherit;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
}
.sobre-conteudo .btn-outline, .sobre-erro button {
    border: 1px solid currentColor;
    background: #fff;
    color: var(--primary-color);
}
.sobre-conteudo .redes-sociais-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.sobre-conteudo .rede-social-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sobre-conteudo .rede-social-icone { font-size: 20px; }
.sobre-conteudo .rede-social-perfil {
    min-width: 0;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sobre-conteudo .btn:active, .sobre-conteudo .rede-social-tile:active, .sobre-erro button:active { opacity: .8; }
.sobre-conteudo :focus-visible, #sobreModal :focus-visible, [data-abrir-sobre]:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
.opcao-item[data-abrir-sobre] { text-decoration: none; }

/* A moldura, a alça, o botão Fechar e os pontos de quebra são os do MPX. */
html.sobre-modal-aberto, html.sobre-modal-aberto body { overflow: hidden; }
#sobreModal:not([hidden]) { display: flex; }
#sobreModal { font-family: inherit; text-align: left; }
#sobreModal [data-sobre-arraste] { flex: none; touch-action: none; user-select: none; }
#sobreModal .mpx-corpo {
    min-height: 0;
    overscroll-behavior: contain;
    padding-bottom: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
}
#sobreModal .mpx-sheet { min-height: 0; height: 97%; max-height: 97%; }
@supports (height: 100dvh) {
    #sobreModal { height: 100dvh; }
    #sobreModal .mpx-sheet { max-height: calc(100% - env(safe-area-inset-top, 0px)); }
}
@media (min-width: 769px) {
    #sobreModal .mpx-sheet { height: 90%; }
}
.sobre-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 12px 0 20px;
    color: #49535d;
    font-size: 14px;
}
.sobre-loader { position: relative; display: inline-block; width: 26px; height: 26px; }
.ccm-spinner.sobre-spinner {
    display: block;
    width: 26px;
    height: 26px;
    border-width: 3px;
    border-color: #d5dade;
    border-top-color: var(--sobre-cor, #495057);
}
.sobre-placeholder, .sobre-erro {
    padding: 16px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 14px;
}
.sobre-placeholder span {
    display: block;
    height: 12px;
    margin-top: 10px;
    border-radius: 6px;
    background: #e4e8ec;
    animation: sobre-pulso 1.4s ease-in-out infinite alternate;
}
.sobre-placeholder span:first-child { width: 35%; height: 16px; margin: 0 0 18px; }
.sobre-placeholder span:last-child { width: 70%; }
.sobre-erro { --primary-color: var(--sobre-cor); text-align: center; color: #333; }
.sobre-erro a { display: block; padding: 12px; color: inherit; text-decoration: underline; }
@keyframes sobre-pulso { to { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
    #sobreModal, #sobreModal .mpx-sheet { transition: none; }
    .sobre-placeholder span, .ccm-spinner.sobre-spinner { animation: none; }
}
