/* ================================================================
   PILAR ONLINE — RESTAURANTES E DELIVERY | DETALHE DO PRODUTO
   Extensão visual de /loja/_css/catalogo.css.
   Não altera o CSS compartilhado das lojas tradicionais.
   ================================================================ */
.po-delivery-product-page {
    --po-d-red: #C1272D;
    --po-d-orange: #F47016;
    --po-d-ink: #26313D;
    --po-d-muted: #657180;
    --po-d-border: #E6E9EE;
    font-family: Poppins, Arial, sans-serif;
}
.po-delivery-product-page,
.po-delivery-product-page * {box-sizing:border-box}
.po-delivery-product-page .product-detail-page {padding-top:24px}
.po-delivery-product-page .product-breadcrumb {flex-wrap:wrap;white-space:normal;gap:8px;margin-bottom:22px;font-size:12px;line-height:1.6}
.po-delivery-product-page .product-breadcrumb a {color:var(--po-d-muted);text-decoration:none}
.po-delivery-product-page .product-breadcrumb a:hover {color:var(--po-d-red)}
.po-delivery-product-page .product-breadcrumb strong {font-weight:600}
.po-delivery-product-page .product-detail-layout-v2 {gap:clamp(19px,3vw,42px);border-radius:20px;border:1px solid var(--po-d-border);box-shadow:0 14px 40px rgba(23,32,45,.055)}
.po-delivery-product-page .product-gallery-v2 {min-width:0}
.po-delivery-product-page .product-gallery-shell {border-radius:16px;overflow:hidden}
.po-delivery-product-page .product-main-stage {background:#F9FAFB}
.po-delivery-product-page .product-main-image-v2 {background:#F9FAFB}

/* ================================================================
   GALERIA DE FOTOS | imagem inteira, sempre centralizada
   Restringe as mudanças à página de produto do Cardápio Digital.
   A foto não é recortada: funciona com imagens verticais, horizontais
   ou quadradas, preservando o botão de ampliar e a navegação.
   ================================================================ */
.po-delivery-product-page .product-gallery-v2 .product-gallery-shell {
    overflow: hidden;
    border: 1px solid #edf0f4;
    border-radius: 16px;
    background: #f8f9fb;
}

.po-delivery-product-page .product-gallery-v2 .product-main-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    background: #f8f9fb;
}

.po-delivery-product-page .product-gallery-v2 .product-main-stage > .product-main-image-v2 {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.po-delivery-product-page .product-gallery-v2 .product-main-image-v2 > img {
    position: static !important;
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none;
}

/* Miniaturas: fotos completas e alinhadas ao centro. */
.po-delivery-product-page .product-thumbnails-v2 .product-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}
.po-delivery-product-page .product-thumbnails-v2 .product-thumb > img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center !important;
}

/* As imagens das variações e dos produtos relacionados seguem o mesmo padrão. */
.po-delivery-product-page .po-variation-image > img,
.po-delivery-product-page .related-products-v2 .product-image > img {
    object-fit: contain !important;
    object-position: center center !important;
}
.po-delivery-product-page .related-products-v2 .product-image {
    background: #f8f9fb;
}

/* Lightbox: centralizado em tamanho normal; preserva o zoom existente. */
.product-lightbox .product-lightbox-stage:not(.po-is-zoomed) > img {
    object-fit: contain !important;
    object-position: center center !important;
    max-width: 100%;
    max-height: 100%;
}
.product-lightbox .product-lightbox-thumbs img {
    object-fit: contain !important;
    object-position: center center !important;
}

/* No celular, a foto inteira ocupa um quadro quadrado responsivo. */
@media (max-width: 600px) {
    .po-delivery-product-page .product-gallery-v2 .product-main-stage {
        aspect-ratio: 1 / 1;
    }
    .po-delivery-product-page .product-gallery-v2 .product-gallery-shell {
        border-radius: 12px;
    }
}
.po-delivery-product-page .product-detail-info-v2 {min-width:0}
.po-delivery-product-page .product-detail-info h1 {font-size:clamp(26px,3vw,38px);font-weight:700;line-height:1.22;letter-spacing:-.025em;color:var(--po-d-ink);overflow-wrap:anywhere}
.po-delivery-product-page .detail-store-name {transition:background .2s ease,border-color .2s ease}
.po-delivery-product-page .detail-store-copy .detail-store-label {color:var(--po-d-muted)}
.po-delivery-product-page .detail-price {margin:20px 0 14px}
.po-delivery-product-page .detail-price strong {color:var(--po-d-red);font-weight:700;font-size:clamp(28px,4vw,37px)}
.po-delivery-product-page .detail-price small {font-size:13px}
.po-delivery-product-page .detail-price span {color:var(--po-d-orange);font-size:12px;font-weight:700}
.po-delivery-product-page .detail-brand,.po-delivery-product-page .detail-availability {font-size:12px}
.po-delivery-product-page .detail-category {font-size:11px}
.po-delivery-product-page .product-payment-summary {margin:13px 0 19px}
.po-delivery-product-page .product-payment-summary button {font-size:11px}
.po-delivery-product-page .add-cart-box-v2 {border:1px solid var(--po-d-border);border-radius:15px;background:#FFF;padding:clamp(13px,2.2vw,20px)}
.po-delivery-product-page .detail-label {font-size:12px;font-weight:700}
.po-delivery-product-page .variation-list {gap:10px}
.po-delivery-product-page .variation-chip {border-radius:12px;min-width:0}
.po-delivery-product-page .variation-chip:hover {border-color:var(--po-d-orange)}
.po-delivery-product-page .po-variation-title {font-size:12px}
.po-delivery-product-page .po-variation-copy strong {font-size:13px}
.po-delivery-product-page .po-variation-copy small {font-size:11px}
.po-delivery-product-page .add-cart-quantity > span {font-size:12px;font-weight:600}
.po-delivery-product-page .add-to-cart-button {background:var(--po-d-red);font-size:13px;font-weight:700;border-radius:11px;transition:filter .2s ease}
.po-delivery-product-page .add-to-cart-button:not(:disabled):hover {filter:brightness(.94)}
.po-delivery-product-page .add-to-cart-button:disabled {cursor:not-allowed;opacity:.62}
.po-delivery-product-page .product-detail-actions {display:flex;flex-wrap:wrap;align-items:stretch;gap:9px;margin:20px 0}
.po-delivery-product-page .product-detail-actions > * {min-width:0}
.po-delivery-product-page .product-detail-actions .primary-product-action,
.po-delivery-product-page .product-detail-actions .secondary-product-action,
.po-delivery-product-page .po-delivery-back-menu {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border-radius:10px;text-decoration:none;font-size:12px;font-weight:600}
.po-delivery-product-page .po-delivery-back-menu {border:1px solid var(--po-d-border);color:var(--po-d-ink);background:#FFF}
.po-delivery-product-page .po-delivery-back-menu:hover {border-color:var(--po-d-red);color:var(--po-d-red)}
.po-delivery-product-page .product-description-text {font-size:14px;line-height:1.75;overflow-wrap:anywhere}
.po-delivery-product-page .product-description-card h2,
.po-delivery-product-page .product-specs-card h2 {font-size:20px}
.po-delivery-product-page .po-product-shipping {border-radius:16px}
.po-delivery-product-page .po-product-shipping-heading h2 {font-size:18px}
.po-delivery-product-page .related-products-head h2 {font-size:clamp(20px,2.5vw,26px)}

/* Status real: espelha o cálculo em /includes/horarios.php. */
.po-delivery-product-page .po-delivery-product-hours {margin:15px 0 16px;padding:15px 17px;border:1px solid var(--po-d-border);border-radius:14px;background:linear-gradient(145deg,#FFF,#FCFDFE)}
.po-delivery-product-page .po-delivery-product-hours-top {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.po-delivery-product-page .po-delivery-product-status {display:inline-flex;align-items:center;gap:10px;min-height:36px;padding:7px 13px;border:1px solid #F0CED2;border-radius:100px;background:#FFF2F3;color:#9B2931;font-size:12px;font-weight:700;line-height:1.35}
.po-delivery-product-page .po-delivery-product-status i {width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:#C73E49}
.po-delivery-product-page .po-delivery-product-status.is-open {color:#147449;border-color:#C2E8D1;background:#EDF9F1}
.po-delivery-product-page .po-delivery-product-status.is-open i {background:#18A363;box-shadow:0 0 0 3px #D1F1DF}
.po-delivery-product-page .po-delivery-product-next {font-size:12px;color:var(--po-d-orange);font-weight:700}
.po-delivery-product-page .po-delivery-product-hours > p {margin:10px 0 0;font-size:12px;line-height:1.6;color:var(--po-d-muted)}
.po-delivery-product-page .po-delivery-product-schedule {margin-top:13px;border-top:1px solid #EBEEF2;padding-top:10px}
.po-delivery-product-page .po-delivery-product-schedule summary {display:flex;justify-content:space-between;align-items:center;gap:8px;cursor:pointer;list-style:none;color:var(--po-d-red);font-size:12px;font-weight:700}
.po-delivery-product-page .po-delivery-product-schedule summary::-webkit-details-marker {display:none}
.po-delivery-product-page .po-delivery-product-schedule[open] summary span {transform:rotate(180deg)}
.po-delivery-product-page .po-delivery-product-week {margin:12px 0 6px}
.po-delivery-product-page .po-delivery-product-day {display:grid;grid-template-columns:minmax(110px,.55fr) minmax(0,1fr);gap:12px;padding:9px 7px;border-bottom:1px solid #EFF1F3;font-size:11px}
.po-delivery-product-page .po-delivery-product-day span {color:#667281}
.po-delivery-product-page .po-delivery-product-day strong {font-weight:600;color:var(--po-d-ink);overflow-wrap:anywhere}
.po-delivery-product-page .po-delivery-product-day.is-today {border-radius:7px;background:#FFF8F0}
.po-delivery-product-page .po-delivery-product-schedule > small {display:block;margin-top:9px;color:#7B8795;font-size:10px;line-height:1.5}
.po-delivery-product-page .po-delivery-product-blocked {display:flex;align-items:flex-start;gap:12px;margin:14px 0;padding:15px;border:1px solid #F0D7BE;border-radius:13px;background:#FFF8F0}
.po-delivery-product-page .po-delivery-product-blocked > span {display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;background:#FCE9D6;color:#A96224;font-size:20px}
.po-delivery-product-page .po-delivery-product-blocked strong {display:block;font-size:13px;font-weight:700;color:#875121}
.po-delivery-product-page .po-delivery-product-blocked p {font-size:12px;line-height:1.65;margin:4px 0 0;color:#795C42}
.po-delivery-product-page .po-delivery-product-disabled-cta {display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px;border:1px solid #DDE2E8;border-radius:11px;background:#F1F3F6;color:#697786;font-size:13px;font-weight:700;cursor:not-allowed;text-align:center}
.po-delivery-product-page .po-delivery-product-cart-shortcuts {display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px}
.po-delivery-product-page .po-delivery-product-cart-shortcuts a {min-height:39px;display:inline-flex;justify-content:center;align-items:center;padding:8px 13px;border:1px solid #F0CBCF;border-radius:10px;color:var(--po-d-red);text-decoration:none;font-size:12px;font-weight:700;background:#FFF8F8}
.po-delivery-product-page .po-delivery-product-cart-shortcuts a.is-primary {border-color:var(--po-d-red);background:var(--po-d-red);color:#FFF}
.po-delivery-product-page .po-delivery-product-cart-shortcuts a:hover {filter:brightness(.96)}
.po-delivery-product-page.po-delivery-closed .store-cart-button {display:none !important}

@media(max-width:820px) {
    .po-delivery-product-page .product-detail-layout-v2 {gap:18px}
    .po-delivery-product-page .po-delivery-product-hours {margin-top:14px}
}
@media(max-width:600px) {
    .po-delivery-product-page .product-detail-page {padding-top:12px}
    .po-delivery-product-page .product-detail-layout-v2 {padding:12px;border-radius:14px}
    .po-delivery-product-page .product-breadcrumb {font-size:11px;line-height:1.5;margin:4px 0 13px}
    .po-delivery-product-page .product-detail-info h1 {font-size:26px}
    .po-delivery-product-page .po-delivery-product-hours {padding:12px;border-radius:12px}
    .po-delivery-product-page .po-delivery-product-day {grid-template-columns:95px minmax(0,1fr);gap:8px;font-size:10px}
    .po-delivery-product-page .product-detail-actions {display:grid;grid-template-columns:1fr 1fr}
    .po-delivery-product-page .product-detail-actions > * {width:100%}
    .po-delivery-product-page .product-detail-actions .primary-product-action {grid-column:1/-1}
    .po-delivery-product-page .product-detail-actions .secondary-product-action {min-width:0}
    .po-delivery-product-page .po-delivery-product-cart-shortcuts a {flex:1 1 auto}
    .po-delivery-product-page .po-product-shipping {padding:14px}
    .po-delivery-product-page .product-description-card,.po-delivery-product-page .product-specs-card {padding:16px}
}
@media (max-width:380px) {
    .po-delivery-product-page .product-detail-actions {grid-template-columns:1fr}
    .po-delivery-product-page .product-detail-actions .primary-product-action {grid-column:auto}
}
@media (prefers-reduced-motion:reduce) {
    .po-delivery-product-page * {scroll-behavior:auto !important;transition:none !important}
}


/* Adicionais opcionais do Cardápio Digital */
.po-delivery-product-page .po-extras{margin:0 0 18px;padding:18px;border:1px solid #e8d7d7;border-radius:15px;background:#fff}
.po-extras-head{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:15px}
.po-extras-head span:first-child{font-size:10px;font-weight:700;letter-spacing:.07em;color:#c1272d}
.po-extras-head h2{font-size:18px;color:#26313d;margin:4px 0}
.po-extras-head p{margin:3px 0 0;font-size:12px;color:#677480;line-height:1.55}
.po-extras-optional{padding:6px 10px;border-radius:99px;background:#fff1f1;color:#a12c31;font-size:11px;font-weight:700;white-space:nowrap}
.po-extras-options{display:grid;gap:9px}
.po-extras-option{position:relative;display:flex;align-items:center;gap:12px;min-height:59px;padding:12px 13px;border:1px solid #e3e7ec;border-radius:11px;background:#fff;cursor:pointer;transition:border-color .16s,background .16s}
.po-extras-option input{position:absolute;opacity:0;width:1px;height:1px}
.po-extras-option:focus-within{outline:3px solid rgba(193,39,45,.18)}
.po-extras-check{display:grid;place-items:center;width:23px;height:23px;border:2px solid #cbd3dc;border-radius:7px;color:transparent;flex:0 0 23px;font-size:14px;font-weight:700}
.po-extras-option.is-selected{border-color:#c1272d;background:#fff8f8}
.po-extras-option.is-selected .po-extras-check{border-color:#c1272d;background:#c1272d;color:#fff}
.po-extras-option strong{flex:1;min-width:0;font-size:13px;font-weight:600;color:#303946}
.po-extras-price{color:#a52b31;font-size:13px;font-weight:700;white-space:nowrap}
.po-extras-total{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;margin-top:15px;padding-top:14px;border-top:1px solid #eceef1}
.po-extras-total>div{display:grid;gap:5px}.po-extras-total small{font-size:11px;color:#687480}.po-extras-total strong{font-size:20px;color:#c1272d}
.po-extras-warning{margin:12px 0 0;font-size:10px;line-height:1.55;color:#7b6a54}
.po-extras-readonly .po-extras-option{cursor:default}
@media(max-width:600px){.po-delivery-product-page .po-extras{padding:13px}.po-extras-head h2{font-size:16px}.po-extras-option{min-height:57px}.po-extras-total strong{font-size:18px}}


/* ================================================================
   BUSCA DE CEP POR RUA — MESMO MODAL UTILIZADO EM loja/produto.php
   Adição específica de restaurantes_e_delivery/produto.php.
   ================================================================ */
.po-delivery-product-page .po-product-cep-helper{
    display:flex;justify-content:flex-end;align-items:center;margin-top:8px;
}
.po-delivery-product-page .po-product-cep-find{
    display:inline-flex;align-items:center;gap:6px;padding:5px 0;
    border:0;background:transparent;color:#66717f;
    font:500 12px/1.5 Poppins,Arial,sans-serif;cursor:pointer;text-align:right;
}
.po-delivery-product-page .po-product-cep-find strong{
    color:var(--store-primary,#C1272D);font-weight:700;text-decoration:underline;
    text-decoration-thickness:1px;text-underline-offset:3px;
}
.po-delivery-product-page .po-product-cep-find:hover strong,
.po-delivery-product-page .po-product-cep-find:focus-visible strong{color:#941c22}
.po-delivery-product-page .po-product-cep-find svg{
    width:17px;height:17px;flex:none;color:var(--store-primary,#C1272D);
}
.po-delivery-product-page .po-product-cep-find:focus-visible{
    outline:2px solid #C1272D;outline-offset:3px;border-radius:4px;
}
body.po-cep-modal-open{overflow:hidden}
.po-cep-search-modal[hidden]{display:none!important}
.po-cep-search-modal{
    position:fixed;inset:0;z-index:100050;display:grid;place-items:center;
    padding:16px;font-family:Poppins,Arial,sans-serif;
}
.po-cep-search-modal *{box-sizing:border-box}
.po-cep-search-backdrop{position:absolute;inset:0;background:rgba(19,27,40,.64);backdrop-filter:blur(5px)}
.po-cep-search-dialog{
    position:relative;width:min(660px,100%);max-height:min(92dvh,780px);
    display:flex;flex-direction:column;overflow:hidden;background:#fff;
    border:1px solid #e5e8ec;border-radius:18px;box-shadow:0 30px 95px rgba(6,12,25,.25);
}
.po-cep-search-head{display:flex;align-items:flex-start;gap:13px;padding:24px 25px 20px;border-bottom:1px solid #edf0f3}
.po-cep-search-emblem{
    width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;
    border-radius:13px;color:#C1272D;background:#fff0f1;
}
.po-cep-search-emblem svg{width:23px;height:23px}
.po-cep-search-head>div:nth-child(2){min-width:0;flex:1}
.po-cep-search-head>div:nth-child(2)>span{font-size:10px;letter-spacing:.12em;font-weight:700;color:#C1272D}
.po-cep-search-head h2{font-size:22px;line-height:1.25;color:#202733;margin:3px 0 5px;font-weight:700}
.po-cep-search-head p{font-size:12px;line-height:1.6;color:#667280;margin:0}
.po-cep-search-close{
    width:32px;height:32px;flex:0 0 32px;border:0;border-radius:9px;
    color:#4e5662;background:#f1f3f5;cursor:pointer;font-size:24px;line-height:1;
}
.po-cep-search-close:hover{background:#e8ebef}
.po-cep-search-body{padding:22px 25px 25px;overflow-y:auto;overscroll-behavior:contain}
.po-cep-search-fields{display:grid;grid-template-columns:1.25fr 1fr;gap:10px}
.po-cep-search-form label{display:block;min-width:0}
.po-cep-search-form label span{display:block;margin-bottom:7px;font-size:12px;font-weight:650;color:#27303d}
.po-cep-search-form input{
    height:45px;width:100%;min-width:0;padding:0 13px;background:#fff;
    border:1px solid #cfd6df;border-radius:9px;color:#25303d;font-size:13px;outline:none;
}
.po-cep-search-form input:focus{border-color:#C1272D;box-shadow:0 0 0 3px rgba(193,39,45,.1)}
.po-cep-search-form input::placeholder{color:#9ca3ae}
.po-cep-search-submit{
    height:44px;margin-top:12px;padding:0 20px;background:#C1272D;
    color:#fff;border:0;border-radius:9px;font-size:12px;font-weight:700;cursor:pointer;
}
.po-cep-search-submit:hover:not(:disabled){background:#a91e25}
.po-cep-search-submit:disabled{opacity:.65;cursor:wait}
.po-cep-search-status{margin:17px 0 10px;color:#687480;font-size:12px;line-height:1.5}
.po-cep-search-status.is-error{color:#aa2630}
.po-cep-search-status.is-success{color:#236943}
.po-cep-search-list{display:grid;gap:8px}
.po-cep-search-item{
    display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
    width:100%;gap:12px;padding:12px 14px;border:1px solid #e2e6eb;
    border-radius:11px;background:#fff;text-align:left;cursor:pointer;
    transition:border-color .16s,background .16s;
}
.po-cep-search-item:hover,.po-cep-search-item:focus-visible{
    border-color:#d87275;background:#fffafa;outline:none;
}
.po-cep-search-item-main{min-width:0}
.po-cep-search-item-main strong{display:block;font-size:13px;color:#29313d;font-weight:650;overflow-wrap:anywhere}
.po-cep-search-item-main small{display:block;margin-top:4px;color:#687583;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.po-cep-search-item-code{display:flex;flex-direction:column;gap:3px;align-items:flex-end;white-space:nowrap}
.po-cep-search-item-code b{color:#C1272D;font-size:14px;font-weight:700}
.po-cep-search-item-code em{font-style:normal;font-size:10px;color:#737d89}
.po-cep-search-empty{padding:22px 14px;border:1px dashed #dae0e8;border-radius:10px;background:#f8f9fb;text-align:center;color:#677380;font-size:12px;line-height:1.6}
.po-cep-search-tip{margin:15px 0 0;font-size:11px;line-height:1.6;color:#798391}
@media(max-width:600px){
    .po-cep-search-modal{padding:9px}
    .po-cep-search-dialog{border-radius:14px;max-height:94dvh}
    .po-cep-search-head{gap:10px;padding:18px 15px 15px}
    .po-cep-search-head h2{font-size:19px}
    .po-cep-search-head p{font-size:11px}
    .po-cep-search-emblem{width:38px;height:38px;flex-basis:38px}
    .po-cep-search-body{padding:17px 15px 20px}
    .po-cep-search-fields{grid-template-columns:minmax(0,1fr)}
    .po-cep-search-submit{width:100%}
    .po-cep-search-item{padding:11px 10px;gap:6px}
    .po-cep-search-item-code b{font-size:12px}
    .po-delivery-product-page .po-product-cep-find{font-size:11px}
}


/* ================================================================
   PILAR ONLINE | ENCOMENDAS — SELO PROFISSIONAL + MODAL
   Tamanho contido, contraste alto e microtexto visível.
   O modal existente permanece inalterado.
   ================================================================ */
.po-delivery-product-page .po-encomenda-badge {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 69px;
    margin: 11px 0 17px;
    padding: 11px 13px;
    border: 1px solid #ebc796;
    border-left: 4px solid #cf771a;
    border-radius: 12px;
    background: linear-gradient(105deg, #fff4e4, #fffaf3 80%);
    color: #86440f;
    text-align: left;
    font-family: Poppins, Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(130, 71, 16, .065);
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.po-delivery-product-page .po-encomenda-badge:hover {
    border-color: #d69147;
    background: #fff0d9;
    box-shadow: 0 5px 14px rgba(130, 71, 16, .11);
}
.po-delivery-product-page .po-encomenda-badge:focus-visible {
    outline: 3px solid #c1272d;
    outline-offset: 3px;
}
.po-delivery-product-page .po-encomenda-badge__icon {
    display: grid;
    place-items: center;
    width: 41px;
    height: 41px;
    flex: 0 0 41px;
    border-radius: 10px;
    background: #fbe4c2;
    color: #9a4c09;
}
.po-delivery-product-page .po-encomenda-badge__icon svg { width: 23px; height: 23px; }
.po-delivery-product-page .po-encomenda-badge__copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.po-delivery-product-page .po-encomenda-badge__copy strong {
    display: block;
    color: #8a4007;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .045em;
    line-height: 1.32;
}
.po-delivery-product-page .po-encomenda-badge__copy small {
    display: block;
    color: #84572c;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}
.po-delivery-product-page .po-encomenda-badge__copy small b {
    color: #763904;
    font-weight: 800;
}
.po-delivery-product-page .po-encomenda-badge__copy u {
    color: #9c420d;
    font-weight: 700;
    text-underline-offset: 2px;
}
.po-delivery-product-page .po-encomenda-badge__arrow {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    border: 1px solid #e8c59e;
    border-radius: 50%;
    background: #fffaf3;
    color: #9a531d;
}
.po-delivery-product-page .po-encomenda-badge__arrow svg { width: 16px; height: 16px; }

body.po-encomenda-modal-open{overflow:hidden}
.po-encomenda-modal[hidden]{display:none!important}
.po-encomenda-modal{
    position:fixed;inset:0;z-index:2147483010;display:grid;place-items:center;
    padding:18px;font-family:Poppins,Arial,sans-serif;
}
.po-encomenda-modal,.po-encomenda-modal *{box-sizing:border-box}
.po-encomenda-modal__backdrop{
    position:absolute;inset:0;background:rgba(20,28,41,.73);backdrop-filter:blur(5px);
}
.po-encomenda-modal__dialog{
    position:relative;width:min(670px,100%);max-height:calc(100dvh - 36px);
    display:flex;flex-direction:column;overflow:hidden;
    border:1px solid #efdbca;border-radius:20px;background:#fff;
    box-shadow:0 30px 90px rgba(12,23,40,.32);
    outline:none;animation:poEncomendaModalIn .2s ease-out;
}
@keyframes poEncomendaModalIn{
    from{opacity:0;transform:translateY(12px) scale(.985)}
    to{opacity:1;transform:translateY(0) scale(1)}
}
.po-encomenda-modal__head{
    display:flex;align-items:flex-start;gap:14px;flex:0 0 auto;
    padding:22px 25px;border-bottom:1px solid #f2e6da;
    background:linear-gradient(118deg,#fff1db 0%,#fffbf6 100%);
}
.po-encomenda-modal__emblem{
    display:grid;place-items:center;flex:0 0 51px;width:51px;height:51px;
    border-radius:14px;background:#e9a653;color:#66370f;
}
.po-encomenda-modal__emblem svg{width:29px;height:29px}
.po-encomenda-modal__heading{min-width:0;flex:1}
.po-encomenda-modal__heading>span{
    display:block;font-size:10px;letter-spacing:.1em;font-weight:700;color:#a25918;
}
.po-encomenda-modal__heading h2{
    margin:5px 0 4px;font-size:clamp(19px,3.5vw,25px);font-weight:700;
    line-height:1.25;color:#292f36;
}
.po-encomenda-modal__heading p{
    margin:0;font-size:12px;color:#707782;line-height:1.5;overflow-wrap:anywhere;
}
.po-encomenda-modal__close{
    width:37px;height:37px;flex:0 0 37px;border:1px solid #ead9c8;
    border-radius:10px;background:#fff;color:#5c5a58;
    cursor:pointer;font:400 26px/1 Poppins,Arial,sans-serif;
}
.po-encomenda-modal__close:hover{background:#fdf0df;color:#8d4315}
.po-encomenda-modal__body{
    min-height:0;overflow-y:auto;overscroll-behavior:contain;
    padding:23px 25px 25px;
}
.po-encomenda-modal .po-encomenda-summary{
    display:flex;align-items:flex-start;gap:15px;padding:19px;
    border:1px solid #ead5bb;border-radius:15px;
    background:linear-gradient(135deg,#fffcf6,#fff);
}
.po-encomenda-modal .po-encomenda-summary__icon{
    width:47px;height:47px;flex:0 0 47px;display:grid;place-items:center;
    border:1px solid #f3d6b1;border-radius:12px;background:#fff0da;color:#9b5118;
}
.po-encomenda-modal .po-encomenda-summary__icon svg{width:25px;height:25px}
.po-encomenda-modal .po-encomenda-summary__content{min-width:0;flex:1}
.po-encomenda-modal .po-encomenda-summary__eyebrow{
    display:block;margin-bottom:5px;color:#925018;font-size:10px;
    letter-spacing:.08em;font-weight:700;
}
.po-encomenda-modal .po-encomenda-summary h2{
    margin:0;color:#293340;font-size:clamp(16px,2vw,19px);line-height:1.4;font-weight:700;
}
.po-encomenda-modal .po-encomenda-summary p{
    margin:8px 0 0;color:#556373;font-size:13px;line-height:1.7;
}
.po-encomenda-modal .po-encomenda-summary p strong{color:#95510e;font-weight:800}
.po-encomenda-modal .po-encomenda-summary ul{
    margin:12px 0 0;padding-left:18px;color:#596878;font-size:12px;line-height:1.75;
}
.po-encomenda-modal .po-encomenda-summary li+li{margin-top:6px}
.po-encomenda-modal .po-encomenda-summary__notice{
    display:flex;align-items:flex-start;gap:9px;margin-top:16px;
    padding:13px;border:1px solid #efdeb6;border-radius:10px;
    background:#fff8e6;color:#71562e;font-size:11.5px;line-height:1.6;font-weight:500;
}
.po-encomenda-modal .po-encomenda-summary__notice span{flex:none;font-size:18px;line-height:1.1}
.po-encomenda-modal__actions{display:flex;justify-content:flex-end;margin-top:18px}
.po-encomenda-modal__actions button{
    min-height:49px;padding:11px 22px;border:0;border-radius:11px;
    background:#c1272d;color:#fff;cursor:pointer;
    font:700 13px/1.35 Poppins,Arial,sans-serif;
}
.po-encomenda-modal__actions button:hover{background:#a41f26}
.po-encomenda-modal :is(button,a):focus-visible{outline:3px solid #d57b38;outline-offset:3px}

/* Opções do pedido permanecem no formulário original; somente a quantidade
   e o botão são posicionados na largura total, por associação HTML5. */
.po-delivery-product-page .po-encomenda-form {
    padding: 13px 14px;
    border: 1px solid #e2e6ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}
.po-delivery-product-page .po-encomenda-form .add-to-cart-button:not(:disabled) {
    background: #c1272d;
    color: #fff;
    box-shadow: none;
}
.po-delivery-product-page .po-encomenda-form .add-to-cart-button:focus-visible {
    outline: 3px solid #f8b34f;
    outline-offset: 3px;
}

/* ================================================================
   PILAR ONLINE | COMPRA EM LARGURA TOTAL
   A área de opções permanece junto às informações do produto; apenas
   o seletor de quantidade e o botão ficam abaixo de foto + detalhes.
   O botão externo envia o formulário #poProductAddToCart via HTML5.
   ================================================================ */
.po-delivery-product-page .po-product-options-empty {
    display: none !important;
}

.po-delivery-product-page .po-product-buy-wide {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 14px 0 0;
    padding: clamp(15px, 2vw, 21px);
    border: 1px solid #dfe5ec;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(21, 34, 52, .035);
}

.po-delivery-product-page .po-product-buy-wide .add-cart-row {
    display: grid;
    grid-template-columns: minmax(136px, 170px) minmax(0, 1fr);
    align-items: end;
    gap: 14px;
    width: min(100%, 850px);
    min-width: 0;
    margin: 0 auto;
    padding: 0;
}

.po-delivery-product-page .po-product-buy-wide .add-cart-quantity {
    min-width: 0;
    margin: 0;
}
.po-delivery-product-page .po-product-buy-wide .add-cart-quantity > span {
    display: block;
    margin: 0 0 7px;
    color: #3d4a5d;
    font-size: 12px;
    font-weight: 600;
}
.po-delivery-product-page .po-product-buy-wide .quantity-control {
    display: flex;
    align-items: stretch;
    height: 46px;
    max-width: 170px;
    border: 1px solid #dbe1e9;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
}
.po-delivery-product-page .po-product-buy-wide .quantity-control > button {
    display: grid;
    place-items: center;
    flex: 0 0 39px;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    background: #f5f7fa;
    color: #40516b;
    cursor: pointer;
}
.po-delivery-product-page .po-product-buy-wide .quantity-control > input {
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    height: 100%;
    border: 0;
    border-radius: 0;
    text-align: center;
    background: #fff;
    font-weight: 700;
    appearance: textfield;
    -moz-appearance: textfield;
}
.po-delivery-product-page .po-product-buy-wide .quantity-control > input::-webkit-inner-spin-button,
.po-delivery-product-page .po-product-buy-wide .quantity-control > input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.po-delivery-product-page .po-product-buy-wide .add-to-cart-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 11px 18px;
    border: 0;
    border-radius: 10px;
    background: #c1272d;
    color: #fff;
    font: 700 13px/1.4 Poppins, Arial, sans-serif;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 5px 13px rgba(193,39,45,.10);
}
.po-delivery-product-page .po-product-buy-wide .add-to-cart-button:hover:not(:disabled) {
    background: #ab2027;
}
.po-delivery-product-page .po-product-buy-wide .add-to-cart-button:disabled {
    opacity: .55;
    cursor: not-allowed;
}
.po-delivery-product-page .po-product-buy-wide .add-to-cart-button svg {
    width: 18px;
    height: 18px;
    flex: none;
}
.po-delivery-product-page .po-product-buy-wide + .product-detail-actions {
    justify-content: center;
    margin: 14px 0 22px;
}
@media(max-width:600px) {
    .po-delivery-product-page .po-encomenda-form { padding: 12px; }
    .po-delivery-product-page .po-product-buy-wide { padding: 13px; border-radius: 13px; }
    .po-delivery-product-page .po-product-buy-wide .add-cart-row {
        grid-template-columns: minmax(112px, 134px) minmax(0, 1fr);
        gap: 9px;
    }
    .po-delivery-product-page .po-product-buy-wide .add-to-cart-button { font-size: 12px; padding: 10px 8px; }
    .po-delivery-product-page .po-product-buy-wide .quantity-control { height: 44px; }
    .po-delivery-product-page .po-product-buy-wide .quantity-control > button { flex-basis: 32px; }
}
@media(max-width:390px) {
    .po-delivery-product-page .po-product-buy-wide .add-cart-row {
        grid-template-columns: 1fr;
        gap: 11px;
    }
    .po-delivery-product-page .po-product-buy-wide .quantity-control { max-width: 160px; }
}

@media(max-width:600px){
    .po-delivery-product-page .po-encomenda-badge{min-height:64px;padding:10px 11px;gap:9px;margin:10px 0 15px}
    .po-delivery-product-page .po-encomenda-badge__icon{width:37px;height:37px;flex-basis:37px}
    .po-delivery-product-page .po-encomenda-badge__icon svg{width:21px;height:21px}
    .po-delivery-product-page .po-encomenda-badge__copy strong{font-size:12.5px}
    .po-delivery-product-page .po-encomenda-badge__copy small{font-size:10px}
    .po-delivery-product-page .po-encomenda-badge__arrow{width:24px;height:24px;flex-basis:24px}
    .po-encomenda-modal{padding:9px}
    .po-encomenda-modal__dialog{border-radius:15px;max-height:calc(100dvh - 18px)}
    .po-encomenda-modal__head{padding:17px 14px;gap:9px}
    .po-encomenda-modal__emblem{width:42px;height:42px;flex-basis:42px;border-radius:10px}
    .po-encomenda-modal__emblem svg{width:25px;height:25px}
    .po-encomenda-modal__heading>span{font-size:9px}
    .po-encomenda-modal__heading h2{font-size:19px}
    .po-encomenda-modal__body{padding:15px}
    .po-encomenda-modal .po-encomenda-summary{padding:14px;gap:10px}
    .po-encomenda-modal .po-encomenda-summary__icon{width:38px;height:38px;flex-basis:38px}
    .po-encomenda-modal .po-encomenda-summary__icon svg{width:21px;height:21px}
    .po-encomenda-modal .po-encomenda-summary h2{font-size:16px}
    .po-encomenda-modal .po-encomenda-summary p{font-size:12px}
    .po-encomenda-modal .po-encomenda-summary ul{font-size:11.5px}
    .po-encomenda-modal__actions button{width:100%}
}
@media(prefers-reduced-motion:reduce){
    .po-encomenda-modal__dialog{animation:none}
    .po-delivery-product-page .po-encomenda-badge{transition:none}
}


/* ================================================================
   PILAR ONLINE | MODALIDADE DE ATENDIMENTO DO PRODUTO
   Loja obrigatoriamente com Cardápio Digital ativo (validado no PHP).
   A encomenda mantém o aviso/modal originais; a entrega imediata é informativa.
   ================================================================ */
.po-delivery-product-page .po-entrega-imediata-badge {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 69px;
    margin: 11px 0 17px;
    padding: 11px 13px;
    border: 1px solid #b4dfc6;
    border-left: 4px solid #249259;
    border-radius: 12px;
    background: linear-gradient(110deg, #edf9f2, #f9fdfa 80%);
    box-shadow: 0 3px 10px rgba(28, 119, 74, .05);
    color: #17663e;
    font-family: Poppins, Arial, sans-serif;
    text-align: left;
}
.po-delivery-product-page .po-entrega-imediata-badge__icon {
    display: grid;
    place-items: center;
    flex: 0 0 41px;
    width: 41px;
    height: 41px;
    border-radius: 10px;
    background: #d6f2e2;
    color: #17663e;
}
.po-delivery-product-page .po-entrega-imediata-badge__icon svg {width: 23px; height: 23px;}
.po-delivery-product-page .po-entrega-imediata-badge__copy {
    display: grid;
    flex: 1;
    min-width: 0;
    gap: 3px;
}
.po-delivery-product-page .po-entrega-imediata-badge__copy strong {
    display: block;
    color: #17623e;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .025em;
    line-height: 1.25;
}
.po-delivery-product-page .po-entrega-imediata-badge__copy small {
    display: block;
    color: #387758;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}

/* Outros produtos do restaurante: mesma legenda vista na vitrine. */
.po-delivery-product-page .related-products-v2 .po-related-product-mode {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 60px;
    padding: 9px 11px;
    border-left: 3px solid transparent;
    border-bottom: 1px solid #e7eaf0;
    line-height: 1.35;
}
.po-delivery-product-page .related-products-v2 .po-related-product-mode.is-immediate {
    border-left-color: #21945a;
    background: #edf9f2;
    color: #166b43;
}
.po-delivery-product-page .related-products-v2 .po-related-product-mode.is-preorder {
    border-left-color: #e18b24;
    background: #fff6e9;
    color: #895011;
}
.po-delivery-product-page .related-products-v2 .po-related-product-mode__icon {
    display: grid;
    place-items: center;
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    border: 1px solid currentColor;
    border-radius: 9px;
    background: rgba(255, 255, 255, .7);
}
.po-delivery-product-page .related-products-v2 .po-related-product-mode__icon svg {
    width: 17px;
    height: 17px;
}
.po-delivery-product-page .related-products-v2 .po-related-product-mode__copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.po-delivery-product-page .related-products-v2 .po-related-product-mode__copy strong {
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}
.po-delivery-product-page .related-products-v2 .po-related-product-mode__copy small {
    color: inherit;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
@media (max-width: 600px) {
    .po-delivery-product-page .po-entrega-imediata-badge {
        min-height: 64px;
        gap: 9px;
        margin: 10px 0 15px;
        padding: 10px 11px;
    }
    .po-delivery-product-page .po-entrega-imediata-badge__icon {
        flex-basis: 37px;
        width: 37px;
        height: 37px;
    }
    .po-delivery-product-page .po-entrega-imediata-badge__icon svg {width: 21px; height: 21px;}
    .po-delivery-product-page .po-entrega-imediata-badge__copy strong {font-size: 12.5px;}
    .po-delivery-product-page .po-entrega-imediata-badge__copy small {font-size: 10px;}
}
@media (max-width: 520px) {
    .po-delivery-product-page .related-products-v2 .po-related-product-mode {
        gap: 6px;
        min-height: 55px;
        padding: 8px 7px;
    }
    .po-delivery-product-page .related-products-v2 .po-related-product-mode__icon {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
        border-radius: 7px;
    }
    .po-delivery-product-page .related-products-v2 .po-related-product-mode__icon svg {width: 14px; height: 14px;}
    .po-delivery-product-page .related-products-v2 .po-related-product-mode__copy strong {font-size: 10px;}
    .po-delivery-product-page .related-products-v2 .po-related-product-mode__copy small {font-size: 8.5px;}
}

/* ================================================================
   CARDÁPIO DIGITAL | OPÇÕES ALIMENTÍCIAS POR PRODUTO
   Mantém variações convencionais e fotos intactas.
   ================================================================ */
.po-delivery-product-page .po-food-choices{margin:0 0 17px;padding:18px;border:1px solid #e6dce0;border-radius:15px;background:#fff}
.po-delivery-product-page .po-food-choices-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:13px}
.po-food-choices-heading>div>span{display:block;color:#c1272d;font-size:10px;font-weight:700;letter-spacing:.07em}
.po-food-choices-heading h2{margin:4px 0;font-size:18px;color:#26313d}
.po-food-choices-heading p{margin:0;color:#677480;font-size:12px;line-height:1.5}
.po-food-required{padding:6px 9px;border-radius:999px;background:#fff1f1;color:#a12c31;font-size:11px;font-weight:700;white-space:nowrap}
.po-food-choices-list{display:grid;gap:9px}
.po-food-choice{display:flex;align-items:center;gap:11px;min-height:59px;padding:12px 13px;border:1px solid #e3e7ec;border-radius:11px;background:#fff;cursor:pointer;transition:border-color .16s,background .16s}
.po-food-choice input{position:absolute;opacity:0;width:1px;height:1px}
.po-food-choice:focus-within{outline:3px solid rgba(193,39,45,.16)}
.po-food-choice-radio{flex:0 0 22px;width:22px;height:22px;border:2px solid #cbd3dc;border-radius:50%;background:#fff}
.po-food-choice.is-selected{border-color:#c1272d;background:#fff8f8}
.po-food-choice.is-selected .po-food-choice-radio{border:6px solid #c1272d}
.po-food-choice strong{flex:1;min-width:0;color:#303946;font-size:13px;font-weight:600}
.po-food-choice-price{flex:0 0 auto;color:#a52b31;font-size:12px;font-weight:700;white-space:nowrap}
.po-food-choice-feedback{margin:12px 0 0;color:#6c7280;font-size:11px;line-height:1.5}
.po-delivery-product-page .po-extras-option[hidden]{display:none!important}
.po-delivery-product-page .po-extras-counter{margin:12px 0 0;font-size:11px;color:#627080;font-weight:600}
.po-food-choices-readonly .po-food-choice{cursor:default}
@media(max-width:600px){.po-delivery-product-page .po-food-choices{padding:13px}.po-food-choices-heading h2{font-size:16px}.po-food-choice{padding:11px;min-height:57px}.po-food-choice-price{font-size:11px}}

/* ================================================================
   PERSONALIZAÇÃO COMPACTA - acordeão profissional no desktop
   O preço principal também é atualizado pelo JavaScript do produto.
   ================================================================ */
.po-delivery-product-page .po-extras:has(.po-extras-accordion) {
    padding: 0;
    overflow: hidden;
    border-color: #e2e6ec;
    box-shadow: 0 3px 15px rgba(24,35,52,.035);
}
.po-delivery-product-page .po-extras-accordion {
    display: block;
}
.po-delivery-product-page .po-extras-accordion > summary.po-extras-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
    background: linear-gradient(110deg,#fff,#fffafa);
}
.po-delivery-product-page .po-extras-accordion > summary::-webkit-details-marker {display:none}
.po-delivery-product-page .po-extras-accordion > summary:focus-visible {
    outline: 3px solid rgba(193,39,45,.24);
    outline-offset: -3px;
}
.po-delivery-product-page .po-extras-accordion > summary:hover {background:#fff8f8}
.po-delivery-product-page .po-extras-accordion > summary h2 {font-size:16px;margin:2px 0}
.po-delivery-product-page .po-extras-accordion > summary p {font-size:11px;margin:4px 0 0}
.po-delivery-product-page .po-extras-summary-side {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 11px;
}
.po-delivery-product-page .po-extras-chevron {
    width: 11px;
    height: 11px;
    border-right: 2px solid #a52b31;
    border-bottom: 2px solid #a52b31;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .18s ease;
}
.po-delivery-product-page .po-extras-accordion[open] .po-extras-chevron {
    transform: translateY(3px) rotate(225deg);
}
.po-delivery-product-page .po-extras-content {
    padding: 4px 18px 18px;
    border-top: 1px solid #f0ecee;
}
.po-delivery-product-page .po-extras-content .po-extras-options {padding-top:13px}
@media (max-width:760px) {
    .po-delivery-product-page .po-extras-accordion > summary.po-extras-head {padding:14px 13px}
    .po-delivery-product-page .po-extras-content {padding:2px 13px 14px}
    .po-delivery-product-page .po-extras-accordion > summary h2 {font-size:15px}
    .po-delivery-product-page .po-extras-accordion > summary p {font-size:10px}
    .po-delivery-product-page .po-extras-summary-side {gap:7px}
}
@media (prefers-reduced-motion:reduce) {
    .po-delivery-product-page .po-extras-chevron {transition:none}
}


/* ================================================================
   PILAR ONLINE | QUANTIDADE MÍNIMA DE COMPRA · NOV/2026
   Selo informativo + seletor de quantidade + modal de alerta.
   ================================================================ */
.po-delivery-product-page .po-min-order-notice {
    display:flex;align-items:center;gap:12px;margin:10px 0 16px;
    padding:13px 15px;border:1px solid #f0cbd0;border-left:4px solid #C1272D;
    border-radius:12px;background:linear-gradient(108deg,#fff4f4,#fffaf7);
}
.po-delivery-product-page .po-min-order-notice__count {
    flex:0 0 auto;min-width:49px;height:45px;display:grid;place-items:center;
    padding:0 5px;border-radius:10px;background:#C1272D;color:#fff;
    font:800 16px/1 Poppins,Arial,sans-serif;
}
.po-delivery-product-page .po-min-order-notice > div {min-width:0}
.po-delivery-product-page .po-min-order-notice strong {
    display:block;color:#8d2029;font-size:13px;font-weight:700;line-height:1.4;
}
.po-delivery-product-page .po-min-order-notice small {
    display:block;margin-top:3px;color:#795761;font-size:11px;line-height:1.5;
}
.po-delivery-product-page .po-min-order-hint {
    display:block;margin:-3px 0 7px;color:#9b2930;font-size:10.5px;
    font-weight:700;line-height:1.45;
}
.po-delivery-product-page .po-product-buy-wide .quantity-control > input:invalid {
    color:#a1222c;
}
.po-delivery-product-page .po-product-buy-wide .quantity-control:focus-within {
    border-color:#C1272D;box-shadow:0 0 0 3px rgba(193,39,45,.09);
}
body.po-min-order-modal-open {overflow:hidden}
.po-min-order-modal[hidden] {display:none!important}
.po-min-order-modal,
.po-min-order-modal * {box-sizing:border-box}
.po-min-order-modal {
    position:fixed;inset:0;z-index:2147483040;display:grid;place-items:center;
    padding:18px;font-family:Poppins,Arial,sans-serif;
}
.po-min-order-modal__backdrop {
    position:absolute;inset:0;background:rgba(16,23,36,.72);backdrop-filter:blur(5px);
}
.po-min-order-modal__dialog {
    position:relative;width:min(100%,470px);max-height:calc(100dvh - 36px);
    overflow-y:auto;padding:30px 28px 25px;border:1px solid #f1d8d8;
    border-radius:20px;background:#fff;box-shadow:0 28px 85px rgba(0,0,0,.26);
    color:#27313e;text-align:center;outline:none;
    animation:poMinOrderEnter .2s ease-out;
}
@keyframes poMinOrderEnter {
    from{opacity:0;transform:translateY(12px) scale(.985)}
    to{opacity:1;transform:translateY(0) scale(1)}
}
.po-min-order-modal__icon {
    width:67px;height:67px;display:grid;place-items:center;margin:0 auto 15px;
    border:2px solid #f5d0c7;border-radius:50%;background:#fff3ec;
    color:#C1272D;font:800 34px/1 Poppins,Arial,sans-serif;
}
.po-min-order-modal__eyebrow {
    display:block;color:#C1272D;font-size:10px;font-weight:800;letter-spacing:.11em;
}
.po-min-order-modal__dialog h2 {
    margin:8px 0 12px;color:#25303c;font-size:clamp(20px,4vw,25px);
    font-weight:750;line-height:1.35;
}
.po-min-order-modal__dialog p {
    margin:0;color:#647080;font-size:13px;line-height:1.75;
}
.po-min-order-modal__dialog p strong {color:#9d242d;font-weight:750}
.po-min-order-modal__actions {margin-top:23px}
.po-min-order-modal__actions button {
    display:flex;justify-content:center;align-items:center;width:100%;min-height:50px;
    padding:11px 18px;border:0;border-radius:11px;background:#C1272D;
    color:#fff;font:700 13px/1.4 Poppins,Arial,sans-serif;cursor:pointer;
}
.po-min-order-modal__actions button:hover {background:#a31e25}
.po-min-order-modal :is(button,a):focus-visible {outline:3px solid #F47016;outline-offset:3px}
@media(max-width:600px) {
    .po-delivery-product-page .po-min-order-notice{padding:11px;gap:9px}
    .po-delivery-product-page .po-min-order-notice__count{min-width:43px;height:43px;font-size:14px}
    .po-delivery-product-page .po-min-order-notice strong{font-size:12px}
    .po-delivery-product-page .po-min-order-notice small{font-size:10px}
    .po-delivery-product-page .po-min-order-hint{font-size:10px}
    .po-min-order-modal{padding:11px}
    .po-min-order-modal__dialog{padding:25px 18px 21px;border-radius:16px}
    .po-min-order-modal__dialog p{font-size:12px}
}
@media(prefers-reduced-motion:reduce) {
    .po-min-order-modal__dialog{animation:none}
}

.po-delivery-product-page .po-closed-banner {
    align-items: center;
    margin: 0 0 14px;
    border-left: 4px solid #bf581f;
}
.po-delivery-product-page .product-main-no-image { position: relative; }
.po-delivery-product-page .po-photo-mode {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    pointer-events: none;
    padding: 5px 11px;
    border: 1px solid #cce9d8;
    border-radius: 20px;
    background: #f1fff6;
    color: #135c3b;
    font: 700 12px/1.4 Poppins, sans-serif;
    box-shadow: 0 2px 8px #0002;
}
.po-delivery-product-page .product-main-stage .product-gallery-counter {
    left: auto;
    right: 12px;
    bottom: 12px;
    transform: none;
}
.po-delivery-product-page .product-detail-info-v2 h1 + .detail-price-v2 {
    margin: 4px 0 14px;
}

/* A personalização ocupa a largura do produto abaixo da galeria e do resumo. */
.po-delivery-product-page .product-detail-layout-v2 > .po-order-panels {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}
@media (min-width: 900px) {
    .po-delivery-product-page .product-detail-layout-v2 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        row-gap: 16px;
    }
    .po-delivery-product-page .po-order-panels:not(.po-product-options-empty) {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 12px;
    }
    .po-delivery-product-page .po-order-panels:has(> .po-food-choices):has(> .po-extras) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .po-delivery-product-page .po-order-panels > * {
        grid-column: 1 / -1;
        min-width: 0;
        margin-block: 0;
    }
    .po-delivery-product-page .po-order-panels > :is(.po-food-choices, .po-extras) {
        grid-column: auto;
    }
}

/* No celular, segue a ordem do HTML: galeria, resumo e personalização. */
@media (max-width: 899.98px) {
    .po-delivery-product-page .product-detail-layout.product-detail-layout-v2 {
        display: block;
    }
    .po-delivery-product-page .product-detail-layout-v2 > .product-gallery-v2 {
        position: static;
        margin-bottom: 16px;
    }
    .po-delivery-product-page .product-detail-layout-v2 > .po-order-panels:not(.po-product-options-empty) {
        margin-top: 16px;
    }
}
