.pr-public{
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    background:#fffaf4;
    color:#2b160d;
    padding:18px 12px 30px;
}

.pr-public *{
    box-sizing:border-box;
}

.pr-public-shell{
    max-width:980px;
    margin:0 auto;
}

.pr-public-header{
    margin-bottom:28px;
}

.pr-brand{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:18px;
}

.pr-brand-logo{
    width:74px;
    height:74px;
    border-radius:50%;
    background:linear-gradient(135deg,#8b5e34,#d6a15d);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:42px;
    flex:0 0 74px;
    box-shadow:0 8px 24px rgba(88,47,14,.18);
}

.pr-brand-name{
    font-size:54px;
    line-height:1.02;
    font-weight:900;
    color:#2a1006;
    letter-spacing:-1.5px;
}

.pr-page-title{
    margin-top:8px;
    font-size:34px;
    line-height:1.1;
    font-weight:600;
    color:#3d2a1f;
}

.pr-info-bar{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:0;
    border:1px solid #dfe8d7;
    border-radius:28px;
    background:#f2faeb;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(84,117,61,.08);
}

.pr-info-item{
    display:flex;
    align-items:center;
    gap:14px;
    padding:18px 22px;
    min-width:0;
    border-right:1px solid #d9e4d0;
}

.pr-info-item:last-child{
    border-right:0;
}

.pr-info-icon{
    font-size:34px;
    color:#2f7d32;
    line-height:1;
    flex:0 0 auto;
}

.pr-info-item strong{
    display:block;
    font-size:16px;
    color:#31552a;
    line-height:1.2;
}

.pr-info-item span{
    display:block;
    margin-top:4px;
    font-size:20px;
    font-weight:800;
    color:#1f3e1e;
    line-height:1.2;
}

.pr-public-message{
    border:1px solid #eadfce;
    border-radius:18px;
    background:#fff;
    padding:26px;
    box-shadow:0 12px 32px rgba(83,45,10,.08);
}

.pr-public-message h2{
    margin:0 0 12px;
    font-size:26px;
}

.pr-public-message p{
    margin:0;
    font-size:18px;
    line-height:1.55;
}

.pr-menu-section{
    margin-bottom:26px;
}

.pr-section-title{
    display:flex;
    align-items:center;
    gap:12px;
    margin:0 0 12px;
    font-size:30px;
    line-height:1.2;
    font-weight:900;
    color:#2a1208;
}

.pr-section-title span{
    font-size:32px;
}

.pr-meal-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px 18px;
}

.pr-meal-card{
    min-height:142px;
    border:1px solid #eadfce;
    border-radius:18px;
    background:#fff;
    padding:20px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    box-shadow:0 8px 24px rgba(83,45,10,.08);
}

.pr-meal-content{
    min-width:0;
}

.pr-meal-name{
    margin:0 0 10px;
    font-size:25px;
    line-height:1.15;
    font-weight:800;
    color:#271207;
}

.pr-meal-price{
    font-size:27px;
    line-height:1.1;
    font-weight:900;
    color:#ff6a00;
    margin-bottom:8px;
}

.pr-meal-stock{
    font-size:20px;
    line-height:1.2;
    color:#2f7d32;
    font-weight:700;
}

.pr-meal-stock-low{
    color:#d92323;
}

.pr-meal-action{
    flex:0 0 auto;
}

.pr-add-button{
    border:0;
    border-radius:12px;
    background:linear-gradient(180deg,#ff7b10,#f05a00);
    color:#fff;
    font-size:22px;
    font-weight:900;
    padding:15px 20px;
    min-width:132px;
    min-height:58px;
    cursor:pointer;
    box-shadow:0 6px 14px rgba(236,94,0,.25);
}

.pr-add-button:hover{
    filter:brightness(.98);
}

.pr-add-button:active{
    transform:translateY(1px);
}

.pr-add-button-disabled{
    background:#cbd5e1;
    box-shadow:none;
    cursor:not-allowed;
}

.pr-cart{
    margin-top:28px;
    border:1px solid #eadfce;
    border-radius:22px;
    background:#fff8ec;
    padding:22px;
    box-shadow:0 12px 32px rgba(83,45,10,.12);
}

.pr-cart-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:14px;
}

.pr-cart-title{
    display:flex;
    align-items:center;
    gap:12px;
    margin:0;
    font-size:30px;
    font-weight:900;
    color:#2a1208;
}

.pr-cart-title-icon{
    width:38px;
    height:38px;
    border-radius:10px;
    background:#ff7b10;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.pr-cart-clear{
    border:0;
    background:transparent;
    color:#d92323;
    font-size:16px;
    font-weight:800;
    cursor:pointer;
    padding:8px;
}

.pr-cart-empty{
    margin:12px 0 0;
    font-size:19px;
    color:#6b4c38;
}

.pr-cart-items{
    display:flex;
    flex-direction:column;
    gap:0;
}

.pr-cart-item{
    display:grid;
    grid-template-columns:1fr auto auto;
    gap:16px;
    align-items:center;
    padding:15px 0;
    border-bottom:1px dashed #e6d5bd;
}

.pr-cart-item-name{
    font-size:20px;
    line-height:1.25;
    font-weight:800;
    color:#2a1208;
}

.pr-cart-item-price{
    margin-top:4px;
    font-size:17px;
    color:#6b4c38;
}

.pr-quantity-control{
    display:flex;
    align-items:center;
    border:1px solid #dfd1bd;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
}

.pr-quantity-button{
    width:54px;
    height:46px;
    border:0;
    background:#fff7e8;
    color:#2a1208;
    font-size:26px;
    font-weight:900;
    cursor:pointer;
}

.pr-quantity-button:disabled{
    opacity:.35;
    cursor:not-allowed;
}

.pr-quantity-value{
    width:60px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-left:1px solid #dfd1bd;
    border-right:1px solid #dfd1bd;
    font-size:22px;
    font-weight:900;
    background:#fff;
}

.pr-cart-remove{
    border:0;
    background:transparent;
    color:#d92323;
    font-size:16px;
    font-weight:800;
    cursor:pointer;
    padding:8px;
}

.pr-cart-total{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    padding-top:16px;
    margin-top:4px;
}

.pr-cart-total-label{
    font-size:25px;
    font-weight:900;
    color:#2a1208;
}

.pr-cart-total-value{
    font-size:36px;
    font-weight:950;
    color:#2a1208;
}

.pr-reservation-form{
    margin-top:18px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.pr-field{
    position:relative;
}

.pr-field-icon{
    position:absolute;
    left:15px;
    top:50%;
    transform:translateY(-50%);
    color:#8a7a6a;
    font-size:20px;
    pointer-events:none;
}

.pr-field input,
.pr-field select{
    width:100%;
    min-height:54px;
    border:1px solid #d8cbb8;
    border-radius:10px;
    background:#fff;
    padding:12px 14px 12px 48px;
    font-size:18px;
    color:#2a1208;
}

.pr-field input:focus,
.pr-field select:focus{
    outline:2px solid rgba(255,106,0,.25);
    border-color:#ff8a2a;
}

.pr-reservation-error{
    margin:4px 0 0;
    color:#d92323;
    font-size:16px;
    font-weight:800;
}

.pr-confirm-button{
    margin-top:4px;
    width:100%;
    min-height:68px;
    border:0;
    border-radius:12px;
    background:linear-gradient(180deg,#4b932f,#2f741f);
    color:#fff;
    font-size:29px;
    font-weight:950;
    cursor:pointer;
    box-shadow:0 8px 18px rgba(47,116,31,.25);
}

.pr-confirm-button:disabled{
    opacity:.65;
    cursor:not-allowed;
}

.pr-success{
    border:2px solid #46b450;
    border-radius:18px;
    background:#f0fff4;
    padding:26px;
}

.pr-success h3{
    margin:0 0 12px;
    font-size:30px;
    color:#245c20;
}

.pr-success p{
    margin:10px 0;
    font-size:19px;
}

.pr-success-number{
    display:inline-block;
    margin-top:4px;
    font-size:42px;
    font-weight:950;
    color:#245c20;
}

@media(max-width:760px){

    .pr-public{
        padding:14px 10px 22px;
    }

    .pr-brand{
        gap:13px;
        margin-bottom:14px;
    }

    .pr-brand-logo{
        width:58px;
        height:58px;
        flex-basis:58px;
        font-size:32px;
    }

    .pr-brand-name{
        font-size:36px;
        letter-spacing:-.8px;
    }

    .pr-page-title{
        font-size:24px;
        margin-top:4px;
    }

    .pr-info-bar{
        grid-template-columns:1fr;
        border-radius:18px;
    }

    .pr-info-item{
        border-right:0;
        border-bottom:1px solid #d9e4d0;
        padding:14px 16px;
    }

    .pr-info-item:last-child{
        border-bottom:0;
    }

    .pr-info-icon{
        font-size:28px;
    }

    .pr-info-item span{
        font-size:18px;
    }

    .pr-section-title{
        font-size:26px;
    }

    .pr-meal-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .pr-meal-card{
        min-height:auto;
        padding:17px 15px;
    }

    .pr-meal-name{
        font-size:22px;
    }

    .pr-meal-price{
        font-size:24px;
    }

    .pr-meal-stock{
        font-size:18px;
    }

    .pr-add-button{
        min-width:120px;
        min-height:54px;
        font-size:20px;
        padding:13px 16px;
    }

    .pr-cart{
        padding:18px 15px;
        border-radius:18px;
    }

    .pr-cart-header{
        align-items:flex-start;
    }

    .pr-cart-title{
        font-size:26px;
    }

    .pr-cart-item{
        grid-template-columns:1fr;
        gap:10px;
        align-items:stretch;
    }

    .pr-quantity-control{
        width:max-content;
    }

    .pr-cart-remove{
        justify-self:start;
        padding-left:0;
    }

    .pr-cart-total-value{
        font-size:32px;
    }

    .pr-confirm-button{
        font-size:25px;
    }
}

/* ===== Temos elementų paslėpimas rezervacijos puslapyje ===== */

/*
   Šios taisyklės turi būti UŽ @media bloko.
   Jos paslepia WordPress temos antraštes ir footerį tik tame puslapyje,
   kuriame yra mūsų rezervacijos langas.
*/

body:has(.pr-public) header:not(#wpadminbar),
body:has(.pr-public) footer,
body:has(.pr-public) .wp-block-template-part,
body:has(.pr-public) .wp-block-post-title,
body:has(.pr-public) .entry-title,
body:has(.pr-public) .page-title,
body:has(.pr-public) .entry-header,
body:has(.pr-public) .entry-footer{
    display:none !important;
}

body.pr-public-page header:not(#wpadminbar),
body.pr-public-page footer,
body.pr-public-page .wp-block-template-part,
body.pr-public-page .wp-block-post-title,
body.pr-public-page .entry-title,
body.pr-public-page .page-title,
body.pr-public-page .entry-header,
body.pr-public-page .entry-footer{
    display:none !important;
}

/* Admin bar paliekame, kai esi prisijungęs */
body:has(.pr-public) #wpadminbar,
body.pr-public-page #wpadminbar{
    display:block !important;
}

/* Nuimame temos paliktus viršutinius ir apatinius tarpus */
body:has(.pr-public),
body.pr-public-page{
    background:#fffaf4;
}

body:has(.pr-public) .wp-site-blocks,
body:has(.pr-public) main,
body:has(.pr-public) .wp-block-post-content,
body:has(.pr-public) .entry-content,
body.pr-public-page .wp-site-blocks,
body.pr-public-page main,
body.pr-public-page .wp-block-post-content,
body.pr-public-page .entry-content{
    margin-top:0 !important;
    margin-bottom:0 !important;
    margin-block-start:0 !important;
    margin-block-end:0 !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
}

/* Rezervacijos langas per visą aukštį */
body:has(.pr-public) .pr-public,
body.pr-public-page .pr-public{
    min-height:100vh;
}

/* Logo dydžio pataisymas */
.pr-brand{
    align-items:center !important;
}

.pr-brand-logo,
.pr-brand-logo-image{
    width:130px !important;
    height:130px !important;
    flex:0 0 130px !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.pr-brand-logo img,
.pr-brand-logo-image img,
.pr-brand img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
}

@media(max-width:760px){

    .pr-brand-logo,
    .pr-brand-logo-image{
        width:92px !important;
        height:92px !important;
        flex-basis:92px !important;
    }

}

/* Info juostos adreso šrifto sumažinimas */
.pr-info-item:first-child span{
    font-size:15px !important;
    line-height:1.15 !important;
}

.pr-pickup-label{
    margin:10px 0 6px;
    font-size:15px;
    font-weight:800;
    color:#3b2a1f;
}