body{margin:0;background:#f3e9d6;font-family:'Nunito',system-ui,sans-serif;font-size:16px;line-height:1.5;color:#2b1a0a}
.box{background:#fffaf0;border:1px solid #d9c59c;border-radius:16px;overflow:hidden}
.bar{background:#e8d6ae;color:#1f4e79;font-weight:800;font-size:18px;padding:12px 20px;margin:0}
.in{padding:20px;display:grid;gap:16px}
.pill{border-radius:999px;padding:8px 20px;font-weight:700;text-decoration:none}
.meta{font-size:14px;color:#5a4630;margin:0}
label{font-weight:700;display:grid;gap:8px}
input[type=text],input[type=tel],textarea{font:inherit;padding:8px 16px;border:1px solid #b9a37a;border-radius:12px;background:#fff}
input[type=number]{font:700 14px 'Nunito',sans-serif;box-sizing:border-box;width:30px;height:30px;padding:0;text-align:center;border:1px solid #b9a37a;border-radius:8px;background:#fff;-moz-appearance:textfield;appearance:textfield}
input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.opt{display:flex;gap:8px;align-items:center;border:1px solid #d9c59c;border-radius:999px;padding:8px 16px;font-weight:400;background:#fff}
.row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px}
.add{flex:1 1 120px;min-height:44px;background:#F5EDDB;color:#2b1a0a;border:0;border-radius:999px;font:800 14px 'Nunito',sans-serif;cursor:pointer;transition:background-color .2s ease}
.add:hover,.add:active{background:#F5E8C9}
.stp{width:30px;height:30px;padding:0;border-radius:50%;border:1px solid #b9a37a;background:#fff;color:#1f4e79;font:700 18px/1 'Nunito',sans-serif;cursor:pointer}
.rm{background:none;border:0;color:#5a4630;text-decoration:underline;font:14px 'Nunito',sans-serif;padding:8px;cursor:pointer}

input,select,textarea,button{box-sizing:border-box}
.row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.row2>label,.row2 input{min-width:0;max-width:100%}
.hp{position:absolute;left:-9999px}
.msg{font-weight:700}.msg.ok{color:#2f4a22}.msg.err{color:#a3321b}
[hidden]{display:none!important}
select,input[type=search],input[type=date],input[type=time],input[type=email],input[type=password]{font:inherit;width:100%;padding:8px 16px;border:1px solid #b9a37a;border-radius:12px;background:#fff;color:inherit}
.btn{display:inline-block;background:#f08a24;color:#2b1a0a;border:0;border-radius:999px;padding:8px 20px;min-height:44px;font:800 14px 'Nunito',sans-serif;cursor:pointer}
.btn.danger{background:transparent;border:2px solid #5a4630}
.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.tab{border:1px solid #b9a37a;background:transparent;border-radius:999px;padding:8px 20px;font:700 14px 'Nunito',sans-serif;color:#1f4e79;cursor:pointer}
.tab.on{background:#1f4e79;color:#fff;border-color:#1f4e79}
.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;margin-bottom:8px}
.card{background:#fff;border:1px solid #d9c59c;border-radius:12px;padding:16px;display:grid;gap:8px;margin:8px 0}
.card p,.card ul{margin:0}.card ul{padding-left:20px}
.badge{display:inline-block;border:1px solid #1f4e79;border-radius:999px;padding:0 10px;font-size:13px;font-weight:700}
.badge.rush{background:#f08a24;border-color:#f08a24}
.acts{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:480px){.row2{grid-template-columns:1fr}}

/* cart box, totals */
.cartbox{border:2px dashed #b9a37a;border-radius:12px;padding:4px 16px}
.line{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 16px;padding:12px 0}
.line+.line{border-top:1px solid #d9c59c}
.trow{display:flex;justify-content:space-between;gap:16px;padding:4px 0}
.tpay{border-top:1px solid #d9c59c;margin-top:4px;padding-top:8px;font-size:18px;font-weight:800}

/* totals: no background when cart is empty; flash then cream when items are in the cart */
#totals{background:transparent;transition:background-color 1.2s ease}
#totals.has{background:#F5EDDB;border-color:#8a6a35}
#totals.has .tpay{border-top-color:#b9a37a}
#totals.flash{background:#F5E8C9;transition:none}

/* focus (selected) border color: quantity box, Name, Mobile */
input[type=number]:focus,input[type=text]:focus,input[type=tel]:focus{outline:none;border-color:#B9A37A;box-shadow:0 0 0 1px #B9A37A}

/* lighter placeholder text (Mobile sample number) */
input::placeholder,textarea::placeholder{color:#a39a88;opacity:1}

/* Mobile and Notes sample text: text color #2B1A0A at 20% opacity */
#orderForm input::placeholder,#orderForm textarea::placeholder{color:#2B1A0A;opacity:.2}

/* order form fields: typed text matches the option labels (Pickup Today) */
#orderForm input[type=text],#orderForm input[type=tel],#orderForm input[type=date],#orderForm input[type=time]{font-family:'Nunito',system-ui,sans-serif;font-size:16px;font-weight:400;font-style:normal;color:#2b1a0a}
#orderForm input[type=date]:focus,#orderForm input[type=time]:focus{outline:none;border-color:#B9A37A;box-shadow:0 0 0 1px #B9A37A}

/* Notes: no scroll bar and no resize handle; the box grows by itself while typing (script in index.html). Typed text matches option labels (Priority +20% Fee), selected border #B9A37A */
#orderForm textarea{resize:none;overflow:hidden;font-family:'Nunito',system-ui,sans-serif;font-size:16px;font-weight:400;font-style:normal;color:#2b1a0a}
#orderForm textarea:focus{outline:none;border-color:#B9A37A;box-shadow:0 0 0 1px #B9A37A}

/* Skeleton loading: cream #FFFAF0 boxes, beige bars with a shimmer sweep. Shown while the page loads, then fades out. */
.skel{position:absolute;inset:0;z-index:20;overflow:hidden;background:#f3e9d6;transition:opacity .5s ease,visibility .5s}
.skel.gone{opacity:0;visibility:hidden}
.sk{background:linear-gradient(90deg,#e8d6ae 25%,#FFFAF0 50%,#e8d6ae 75%);background-size:200% 100%;animation:skShimmer 1.4s linear infinite;border-radius:12px}
.skbox{background:#FFFAF0;border:1px solid #d9c59c;border-radius:16px;overflow:hidden}
.skbox>.sk.skbar{border-radius:0;height:48px}
.skin{padding:20px;display:flex;flex-direction:column;gap:16px}
@keyframes skShimmer{from{background-position:200% 0}to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){.sk{animation:none;background:#e8d6ae}}

/* PLACE ORDER / NEW ORDER button: flash #CD6D0C, then fade back to its own color */
.place{background:#f08a24;color:#2b1a0a;border:0;font:inherit;font-weight:800;padding:12px 24px;cursor:pointer;transition:background-color 1.2s ease}
.place.flash{background:#CD6D0C;transition:none}
a.place{display:inline-block;text-align:center}

/* after a successful order: hide the cart and form, keep only the message and the button */
#orderForm.done>:not(#msg):not(.place){display:none!important}
#orderForm.done #msg{order:-1}
