/* Central de Navegação da V4 — composição alinhada à referência aprovada. */
#home-content.central-navigation-active {
    min-height: 52vh;
    padding: 0;
    background: #fbfaf7;
    color: #253044;
}

#home-content.central-navigation-active > :not(#central-navegacao):not(.app-footer):not(#ifood-modal) {
    display: none !important;
}

#central-navegacao[hidden],
.central-section-empty[hidden],
.central-section-empty-card[hidden],
.central-nav-return-row[hidden],
.central-nav-status[hidden] {
    display: none !important;
}

#home-content.central-section-empty-active > :not(#central-section-empty):not(#central-combos-section):not(.central-nav-return-row):not(.app-footer) {
    display: none !important;
}

#central-combos-section[hidden] { display: none !important; }
.central-combos-section { box-sizing: border-box; container-type: inline-size; width: 100%; min-height: 48vh; padding: clamp(14px, 3vw, 28px); background: #fbfaf7; color: #263247; }
.central-combos-heading { max-width: 1100px; margin: 0 auto 18px; }
.central-combos-heading h2 { margin: 0; color: #123b25; font-size: clamp(1.2rem, 2.7vw, 1.8rem); }
.central-combos-heading p { margin: 6px 0 0; color: #4b5563; }
.central-combos-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; align-items: stretch; gap: clamp(10px, 2vw, 18px); max-width: 1100px; margin: 0 auto; }
.central-combo-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #d8dfd5; border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(31, 48, 38, .09); }
.central-combo-card.is-unavailable { border-color: #e3c9bb; background: #fffaf7; }
.central-combo-visual { box-sizing: border-box; display: grid; grid-template-columns: repeat(var(--combo-visual-columns, 2), minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); justify-items: stretch; align-items: stretch; gap: 5px; width: 100%; height: clamp(118px, 15vw, 176px); flex: 0 0 auto; min-height: 0; padding: 9px; overflow: hidden; background: #f1f6ee; }
.central-combo-visual.has-own-image { display: flex; align-items: center; justify-content: center; }
.central-combo-visual-item { position: relative; display: grid; box-sizing: border-box; width: 100%; height: 100%; min-width: 0; min-height: 0; place-items: center; overflow: hidden; border-radius: 8px; background: rgba(255,255,255,.65); }
.central-combo-visual-item img { box-sizing: border-box; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.central-combo-visual.has-own-image .central-combo-visual-item { flex: 0 1 auto; max-width: 100%; }
.central-combo-visual-fallback { display: grid; width: 100%; height: 100%; place-items: center; color: #52724e; font-size: clamp(1.8rem, 4vw, 3rem); }
.central-combo-visual-quantity { position: absolute; right: 4px; bottom: 4px; max-width: calc(100% - 8px); padding: 3px 6px; overflow: hidden; border-radius: 999px; background: rgba(18, 59, 37, .92); color: #fff; font-size: clamp(.58rem, .9vw, .72rem); font-weight: 800; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.central-combo-visual[data-image-count="3"] .central-combo-visual-item:last-child { grid-column: 1 / -1; width: 58%; justify-self: center; }
.central-combo-placeholder { display: grid; grid-column: 1 / -1; place-items: center; color: #52724e; font-size: clamp(2.3rem, 7vw, 4rem); }
.central-combo-content { display: flex; box-sizing: border-box; min-width: 0; flex: 1 1 auto; flex-direction: column; padding: clamp(12px, 2vw, 18px); }
.central-combo-name { margin: 0 0 6px; color: #1f3d29; font-size: clamp(1rem, 1.8vw, 1.28rem); line-height: 1.25; overflow-wrap: anywhere; }
.central-combo-description { margin: 0 0 12px; color: #4b5563; font-size: .9rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.central-combo-components { display: grid; gap: 6px; min-width: 0; margin: 0 0 12px; padding: 0; list-style: none; }
.central-combo-components li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 7px; min-width: 0; align-items: center; color: #374151; font-size: .82rem; line-height: 1.3; }
.central-combo-components li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.central-combo-components img { width: 34px; height: 34px; object-fit: contain; border-radius: 6px; background: #f8fafc; }
.central-combo-price { display: grid; gap: 3px; min-width: 0; padding-top: 10px; border-top: 1px solid #e5e7eb; }
.central-combo-promo { color: #146c35; font-size: clamp(1.22rem, 2.4vw, 1.7rem); font-weight: 900; }
.central-combo-compare { color: #667085; font-size: .82rem; overflow-wrap: anywhere; }
.central-combo-savings { color: #146c35; font-size: .86rem; font-weight: 800; overflow-wrap: anywhere; }
.central-combo-availability { display: inline-flex; max-width: 100%; margin-top: 10px; padding: 6px 9px; border-radius: 999px; background: #e8f5e9; color: #14532d; font-size: .78rem; font-weight: 800; white-space: normal; }
.central-combo-card.is-unavailable .central-combo-availability { background: #fff0e8; color: #9a3412; }
.central-combo-add-to-cart { margin-top: auto; }
.central-combo-purchase-note { max-width: 1100px; margin: 16px auto 0; padding: 11px 13px; border-radius: 10px; background: #f1f5f9; color: #475569; font-size: .86rem; text-align: center; }
.central-combos-loading { max-width: 1100px; margin: 0 auto; padding: 24px; border-radius: 14px; background: #f1f6ee; color: #315a36; text-align: center; }
@media (max-width: 560px) { .central-combos-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; } .central-combo-visual { height: clamp(132px, 38vw, 166px); padding: 7px; gap: 5px; } .central-combo-content { padding: 12px; } .central-combo-visual-quantity { font-size: .68rem; } .central-combo-components li { grid-template-columns: 28px minmax(0,1fr); font-size: .74rem; } .central-combo-components img { width: 28px; height: 28px; } .central-combo-description,.central-combo-compare { font-size: .76rem; } }
@container (max-width: 420px) { .central-combos-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

.central-section-empty {
    box-sizing: border-box;
    display: grid;
    min-height: min(56vh, 510px);
    place-items: center;
    padding: clamp(18px, 5vw, 42px);
    background: #fbfaf7;
}

.central-section-empty-card {
    box-sizing: border-box;
    display: flex;
    width: min(100%, 650px);
    min-height: 300px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 5vw, 42px);
    border: 1px solid rgba(38, 50, 68, .12);
    border-radius: 24px;
    color: #263247;
    text-align: center;
    box-shadow: 0 12px 32px rgba(33, 43, 58, .1);
}

.central-section-empty-card--offers { --empty-accent: #e94d2e; background: #fff3ec; }
.central-section-empty-card--campaigns { --empty-accent: #1474e8; background: #eef5ff; }
.central-section-empty-card--combos { --empty-accent: #138534; background: #eff8eb; }
.central-section-empty-card--error { --empty-accent: #a34d16; background: #fff7eb; }

.central-section-empty-icon {
    display: grid;
    width: clamp(72px, 12vw, 92px);
    height: clamp(72px, 12vw, 92px);
    flex: 0 0 auto;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--empty-accent);
    color: #fff;
}

.central-section-empty-icon svg {
    display: block;
    width: 58%;
    height: 58%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.central-section-empty-card--offers .central-section-empty-icon svg { fill: currentColor; stroke: none; }
.central-section-empty-card--combos .central-section-empty-icon svg { fill: none; }

.central-section-empty-card h2 {
    margin: 0;
    color: var(--empty-accent);
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    font-weight: 850;
    line-height: 1.2;
}

.central-section-empty-card p {
    max-width: 500px;
    margin: 12px 0 22px;
    color: #374151;
    font-size: clamp(.96rem, 2vw, 1.08rem);
    line-height: 1.55;
}

.central-section-empty-card button {
    min-height: 48px;
    padding: 12px 22px;
    border: 0;
    border-radius: 12px;
    background: var(--empty-accent);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.central-section-empty-card button:hover { filter: brightness(.94); }
.central-section-empty-card button:focus-visible { outline: 3px solid #172554; outline-offset: 3px; }

.central-nav {
    box-sizing: border-box;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(14px, 2.5vw, 26px) clamp(16px, 4vw, 34px) 24px;
    color: #253044;
    background: #fbfaf7;
}

.central-nav-heading {
    margin: 0 auto clamp(14px, 2vw, 20px);
    padding: clamp(13px, 2vw, 18px) 12px;
    border-radius: 18px;
    background: #e8efe5;
    text-align: center;
}

.central-nav-heading h1 {
    margin: 0;
    color: #123b25;
    font-size: clamp(1.15rem, 2.6vw, 1.75rem);
    font-weight: 800;
    line-height: 1.22;
}

.central-nav-heading p {
    margin: 5px 0 0;
    color: #263a2d;
    font-size: clamp(.84rem, 1.6vw, 1rem);
}

.central-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1.8vw, 15px);
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.central-nav-card {
    position: relative;
    box-sizing: border-box;
    display: flex;
    min-width: 0;
    min-height: clamp(170px, 27vh, 242px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    padding: clamp(14px, 2.4vh, 21px) 10px 44px;
    border: 2px solid currentColor;
    border-radius: 19px;
    color: #263247;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(33, 43, 58, .08);
    transition: transform .18s ease, box-shadow .18s ease;
    -webkit-appearance: none;
    appearance: none;
}

.central-nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(33, 43, 58, .14);
}

.central-nav-card:focus-visible,
.central-nav-return-row button:focus-visible {
    outline: 3px solid #174ea6;
    outline-offset: 3px;
}

.central-nav-card--offers { --central-accent: #e94d2e; background: #ffe5d3; color: #8c2b19; }
.central-nav-card--campaigns { --central-accent: #1474e8; background: #e2efff; color: #123b80; }
.central-nav-card--combos { --central-accent: #138534; background: #e5f3df; color: #12562c; }
.central-nav-card--catalog { --central-accent: #7037b8; background: #efe5ff; color: #4e287e; }
.central-nav-card--games { --central-accent: #0d6848; background: #e3f4e9; color: #0b5138; text-decoration: none; }
.central-nav-card--games .central-nav-icon { color: #fff; font-size: clamp(2rem, 5vw, 2.7rem); }

.central-nav-icon {
    display: grid;
    width: clamp(54px, 7vw, 68px);
    height: clamp(54px, 7vw, 68px);
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--central-accent);
}

.central-nav-icon svg {
    display: block;
    width: 62%;
    height: 62%;
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.central-nav-card--offers .central-nav-icon svg { fill: #fff; stroke: none; }
.central-nav-card--combos .central-nav-icon svg { fill: none; }

.central-nav-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.central-nav-copy strong {
    color: currentColor;
    font-size: clamp(.9rem, 1.65vw, 1.12rem);
    font-weight: 900;
    line-height: 1.12;
}

.central-nav-copy > span {
    color: #28323f;
    font-size: clamp(.76rem, 1.35vw, .9rem);
    line-height: 1.27;
}

.central-nav-card::after {
    position: absolute;
    bottom: 10px;
    left: 50%;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--central-accent);
    color: #fff;
    content: "→";
    font-size: 1.25rem;
    font-weight: 700;
    transform: translateX(-50%);
}

.central-nav-wellness {
    display: grid;
    grid-template-columns: minmax(120px, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    max-width: 760px;
    min-height: 126px;
    margin: clamp(14px, 2vw, 20px) auto 0;
    padding: 9px 16px;
    overflow: hidden;
    border-radius: 19px;
    background: #e6f0e2;
}

.central-nav-products {
    display: flex;
    height: 108px;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    overflow: hidden;
}

.central-nav-products img {
    display: block;
    width: 34%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

.central-nav-products img + img { margin-left: -5%; }

.central-nav-wellness p {
    margin: 0;
    color: #26372c;
    font-size: clamp(.95rem, 1.8vw, 1.25rem);
    line-height: 1.25;
}

.central-nav-wellness p strong,
.central-nav-wellness p span { display: block; }
.central-nav-wellness p strong { color: #123b25; font-size: 1.22em; font-weight: 850; }

.central-nav-status {
    max-width: 760px;
    margin: 16px auto 0;
    padding: 12px 16px;
    border: 1px solid #c8ddc7;
    border-radius: 12px;
    background: #f1f8ef;
    color: #315a36;
    font-size: .92rem;
    text-align: center;
}

.central-nav-return-row {
    padding: 12px 16px 0;
    background: #fbfaf7;
}

.central-nav-return-row button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid #d9dee7;
    border-radius: 12px;
    background: #fff;
    color: #28384d;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 380px) {
    .central-nav { padding-right: 12px; padding-left: 12px; }
    .central-nav-grid { gap: 8px; }
    .central-nav-card { min-height: 162px; gap: 8px; padding: 13px 7px 41px; border-radius: 16px; }
    .central-nav-icon { width: 50px; height: 50px; }
    .central-nav-copy strong { font-size: .78rem; }
    .central-nav-copy > span { font-size: .69rem; }
    .central-nav-wellness { grid-template-columns: 1fr 1fr; gap: 4px; padding-right: 10px; padding-left: 10px; }
    .central-nav-products { height: 94px; }
    .central-nav-wellness p { font-size: .82rem; }
    .central-section-empty { min-height: 48vh; padding: 14px; }
    .central-section-empty-card { min-height: 270px; padding: 22px 18px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .central-nav-card { transition: none; }
    .central-nav-card:hover { transform: none; }
}
