.po-public-body {
    margin: 0;
    min-height: 100vh;
    scroll-behavior: smooth;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 190, 74, 0.2), transparent 35%),
        radial-gradient(circle at 80% 100%, rgba(37, 99, 235, 0.12), transparent 40%),
        #f4f6fb;
    color: #0f172a;
}

.po-public-top {
    top: 0;
    z-index: 40;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid #dbe4f0;
    backdrop-filter: blur(8px);
    animation: po-fade-in .35s ease-out;
}

.po-public-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #fff9ea, #ffffff 45%, #eef4ff);
    border: 1px solid #edd7a1;
    border-radius: 16px;
    padding: 10px 12px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    transition: transform .22s ease, box-shadow .22s ease;
}

.po-public-brand:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
}

.po-public-logo {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    object-fit: contain;
    background: #ffffff;
    border: 2px solid #f6c864;
    padding: 8px;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.22);
}

.po-public-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.po-public-brand-name {
    margin: 0;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.05;
    color: #111827;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.po-public-brand-sub {
    margin: 2px 0 0;
    font-size: 15px;
    color: #92400e;
    font-weight: 600;
}

.po-public-brand-help {
    margin: 3px 0 0;
    color: #4b5563;
    font-size: 14px;
}

.po-public-layout {
    max-width: 1440px;
    margin: 14px auto;
    padding: 0 14px 14px;
    height: auto;
    min-height: calc(100vh - 108px);
    box-sizing: border-box;
}

.po-public-body .po-layout {
    height: auto !important;
    align-items: start;
    gap: 14px;
}

.po-public-body .po-left,
.po-public-body .po-right {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #dfe7f2;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.po-public-body .po-left {
    background: #f8fafc;
    max-height: fit-content;
    overflow-y: auto;
}

.po-public-body .po-right {
    background: #ffffff;
    max-height: fit-content;
    overflow-y: auto;
}

.po-public-body .po-tabs {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #f8fafc;
    padding-bottom: 10px;
}

.po-public-body .po-tab {
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
}

.po-public-body .po-tab.active {
    background: linear-gradient(135deg, #ffe7b7, #ffd37a);
    border-color: #f8bd3f;
    color: #7c2d12;
}

.po-public-body .po-produtos-grid {
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 12px;
}

.po-public-body .po-produto-card {
    border-radius: 14px;
    padding: 12px;
    border-color: #dde6f2;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.po-public-body .po-produto-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 41, 59, 0.12);
}

.po-public-body .po-produto-img-wrapper {
    height: 112px;
    border-radius: 10px;
    background: #eff4fa;
    margin-bottom: 10px;
    overflow: hidden;
}

.po-public-body .po-produto-img {
    width: fit-content;
    height: 100%;
    object-fit: cover;
}

.po-public-body .po-produto-img-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: #e6ecf6;
    color: #6b7280;
    font-size: 20px;
    font-weight: 700;
}

.po-public-body .po-add-btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 7px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.po-public-body .po-add-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(217, 119, 6, 0.22);
}

.po-public-body .po-marmita-box {
    border-radius: 14px;
    border-color: #dfe7f2;
}

.po-public-body .po-itens-grid {
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 8px;
}

.po-public-body .po-item-btn {
    min-height: 76px;
    border-radius: 10px;
    justify-content: center;
    transition: transform .16s ease, box-shadow .16s ease;
}

.po-public-body .po-item-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(30, 41, 59, 0.1);
}

.po-public-body .po-item-img-small {
    width: 42px;
    height: 42px;
}

.po-public-body .po-cliente-wrap,
.po-public-body .po-right-header,
.po-public-body .po-footer {
    border-color: #e2e8f0;
}

.po-public-body .po-cliente-body {
    padding: 10px 14px 14px;
    background: #fbfdff;
}

.po-public-body .po-field input,
.po-public-body .po-field textarea,
.po-public-body .po-field select {
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    text-align: center;
}

.po-public-body .po-field label {
    font-size: 12px;
    color: #475569;
    font-weight: 600;
    text-align: center;
}

.po-public-body .po-items-list {
    background: #ffffff;
}

.po-items-list {
    max-height: 27vh !important;
}

.po-public-body .po-pedido-item {
    border-bottom-color: #edf2f7;
}

.po-public-body .po-total-row.main {
    font-size: 17px;
}

.po-public-body .po-confirmar-btn {
    background: linear-gradient(135deg, #111827, #0f172a);
    border-radius: 10px;
    font-size: 15px;
    padding: 12px;
    letter-spacing: 0.01em;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.po-public-body .po-confirmar-btn:hover {
    background: linear-gradient(135deg, #1f2937, #111827);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.25);
    filter: saturate(1.05);
}

.po-public-body .po-toast {
    border-radius: 10px;
    padding: 12px 18px;
    white-space: normal;
    max-width: min(92vw, 520px);
    text-align: center;
}

.po-public-body .po-campo-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.aviso-imagens-ilutrativas {
    font-size: 12px;
    color: grey;
    text-align: center;
}

.po-whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 15px;

    width: 43px;
    height: 43px;

    background: #25d366;
    color: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    z-index: 9999;
}

body > a > i {
    font-size: 35px;
    color: white;
}

@keyframes po-fade-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .po-public-layout {
        min-height: calc(100vh - 104px);
    }

    .po-public-body .po-layout {
        grid-template-columns: 1fr;
        gap: 12px;
        overflow: visible;
    }

    .po-public-body .po-right {
        border-top: 1px solid #dfe7f2;
    }

    .po-public-body .po-left,
    .po-public-body .po-right {
        max-height: none;
        overflow: visible;
    }

    .po-public-body .po-items-list {
        max-height: none;
    }
}

@media (max-width: 640px) {
    .po-public-top {
        position: sticky;
        padding: 12px 12px;
    }

    .po-public-brand {
        gap: 10px;
        border-radius: 12px;
        padding: 8px 10px;
    }

    .po-public-logo {
        width: 62px;
        height: 62px;
        border-radius: 12px;
        padding: 5px;
    }

    .po-public-brand-name {
        font-size: 24px;
    }

    .po-public-brand-sub {
        font-size: 13px;
    }

    .po-public-brand-help {
        font-size: 12px;
    }

    .po-public-layout {
        margin: 10px auto;
        padding: 0 10px 10px;
    }

    .po-public-body .po-left,
    .po-public-body .po-right {
        border-radius: 12px;
    }

    .po-public-body .po-field-pair {
        flex-direction: column;
        gap: 0;
    }

    .po-public-body .po-field-sm {
        flex: 1;
    }

    .po-public-body .po-produtos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .po-public-body .po-itens-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .po-public-body .po-items-list {
        max-height: none;
    }
}
