@font-face{font-family:"Bystander Serif";src:url("assets/BystanderSerif-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

:root{--orange:#eb3427;--cream:#fff7e8;--green:#76b040;--brand-ink:#651814;--yellow:#ffc84a;--ink:#651814;--muted:#765047;--line:#efdcc4;--paper:#fffcf5;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}

*{box-sizing:border-box}
body{margin:0;padding-bottom:110px}
button,input,textarea{font:inherit}
button,a,input,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;touch-action:manipulation}
button:disabled{cursor:wait;opacity:.6}
button{min-height:46px;border-radius:14px;border:0;padding:12px 18px;font-weight:700}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--brand-ink);outline-offset:3px}
button.primary{background:var(--orange);color:#010101;font-weight:800;width:100%;border:2px solid #ae2817}
button.primary:hover{filter:brightness(.96)}
.outline{background:var(--paper);color:var(--brand-ink);border:1px solid var(--line)}
.back{background:transparent;color:var(--brand-ink);padding-left:0;text-align:left}
a{color:inherit}
[hidden]{display:none!important}
img{max-width:100%}
h1,h2,p{overflow-wrap:anywhere}
h1,h2{color:var(--brand-ink);letter-spacing:-.045em;line-height:1.08}
h1{font-size:clamp(32px,5vw,48px);margin:10px 0}
h2{font-size:24px}
.header{max-width:1120px;margin:auto;min-height:88px;display:flex;align-items:center;gap:18px;padding:12px 24px}
.header a{display:block;margin-right:auto}
.header img{display:block;object-fit:contain;width:210px;height:62px}
.header button{white-space:nowrap}
#count{background:var(--brand-ink);color:#fff;border-radius:50%;padding:2px 7px;margin-left:4px}
.zone{font-size:14px;font-weight:700;white-space:nowrap}
main{max-width:1120px;margin:auto;padding:0 24px}
.hero{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;overflow:hidden;border-radius:24px;background:var(--orange);color:#010101;padding:28px 32px;min-height:218px;border-bottom:10px solid var(--yellow)}
.hero h1{font:900 clamp(34px,4.6vw,54px)/.96 Georgia,serif;color:var(--brand-ink);letter-spacing:-.06em;margin:8px 0 14px}
.hero p{font-weight:600;max-width:390px;line-height:1.4}
.hero .eyebrow{font-size:11px;letter-spacing:.1em}
.hero img{height:200px;width:150px;object-fit:contain;align-self:flex-end;z-index:1}
.hero>div{z-index:1}
.hero:after{content:"";position:absolute;width:480px;height:220px;border:26px solid var(--yellow);border-radius:50%;right:-160px;bottom:-210px}
.toolbar{display:flex;gap:12px;margin:24px 0 14px}
.search{flex:1}
.search input{width:100%;height:50px;border:1px solid var(--line);border-radius:16px;background:var(--paper);padding:12px 18px;font-size:16px}
input,textarea{color:var(--ink)}
.categories{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 10px;scrollbar-width:thin}
.categories button{white-space:nowrap;background:var(--paper);color:var(--brand-ink);border:1px solid var(--line)}
.categories button[aria-pressed=true]{background:var(--brand-ink);color:white;border-color:var(--brand-ink)}
.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 18px}
.section-title h2{margin:0}
.section-title span,.footnote{font-size:13px;color:var(--muted);line-height:1.5}
.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.product{border:1px solid var(--line);border-radius:20px;background:var(--paper);overflow:hidden;display:flex;flex-direction:column}
.product .photo{border-radius:0;width:100%;padding:0;display:block;background:var(--cream);height:190px}
.product img{width:100%;height:100%;object-fit:cover}
.product .photo.no-photo{height:70px;background:var(--cream);font-size:14px;color:var(--muted)}
.product-body{padding:16px;display:flex;flex-direction:column;flex:1;gap:10px}
.product-title{border:0;background:none;color:var(--brand-ink);font-size:18px;text-align:left;line-height:1.2;padding:0;min-height:44px;letter-spacing:-.02em}
.product p{margin:0;color:var(--muted);font-size:13px;line-height:1.4}
.product-bottom{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-top:auto}
.price{font-size:19px;font-weight:800;color:var(--brand-ink)}
.stepper{display:flex;align-items:center;gap:6px}
.stepper button{width:44px;min-height:44px;padding:8px;background:var(--cream);color:var(--brand-ink);border:1px solid var(--line);font-size:21px}
.stepper .plus{background:var(--orange);color:#010101;border-color:#ae2817}
.stepper output{min-width:24px;text-align:center;font-weight:800}
.add{background:var(--orange);color:#010101;border:1px solid #ae2817;padding:10px 14px}
.cart-dock{position:fixed;bottom:0;left:0;right:0;z-index:8;padding:12px 24px calc(12px + env(safe-area-inset-bottom));background:var(--cream);border-top:1px solid var(--line)}
.cart-dock>button{max-width:1072px;margin:auto;display:flex;align-items:center;justify-content:space-between;min-height:58px}
.notice{border:1px solid #c8b64d;border-radius:16px;background:#fff4bf;color:#453a00;padding:16px;line-height:1.5}
.subtitle{color:var(--muted);margin:10px 0 24px}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}
.cart-lines{border-radius:18px;background:var(--paper);padding:0 18px}
.cart-line{display:flex;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}
.cart-line:last-child{border-bottom:0}
.cart-line img{height:72px;width:72px;object-fit:cover;border-radius:12px}
.cart-line .line-info{flex:1;min-width:0}
.cart-line h2{font-size:17px;line-height:1.3;margin:0 0 10px}
.cart-line .price{font-size:17px;white-space:nowrap}
fieldset{padding:0;border:0;margin:26px 0}
legend,.note-label{font-size:22px;font-weight:800;letter-spacing:-.03em;color:var(--brand-ink);margin:0 0 14px}
.delivery-options{display:flex;gap:12px}
.delivery-options label{flex:1;display:flex;align-items:center;gap:10px;min-height:78px;border:2px solid var(--line);border-radius:16px;padding:14px;background:var(--paper);cursor:pointer}
.delivery-options label:has(input:checked){border-color:var(--brand-ink);background:#f5edf9}
.delivery-options input{accent-color:var(--brand-ink);width:20px;height:20px}
.delivery-options span{font-weight:700}
.delivery-options small{font-weight:400;display:block;line-height:1.4;margin-top:4px;font-size:12px}
.note-label{display:block;margin-top:24px;font-size:19px}
.note-label span{font-size:13px;font-weight:400;float:right;color:var(--muted)}
textarea{width:100%;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--paper);resize:vertical;font-size:16px}
.totals{background:var(--paper);border-radius:20px;padding:24px;border:1px solid var(--line);position:sticky;top:20px}
.totals h2{margin-top:0}
.amount-row{display:flex;justify-content:space-between;gap:14px;line-height:1.6;margin:10px 0}
.amount-row.total{border-top:1px solid var(--line);padding-top:14px;font-size:24px;font-weight:800;color:var(--brand-ink)}
#quote-hint,.location p{color:var(--muted);font-size:14px;line-height:1.5}
.location{background:var(--paper);padding:18px;border-radius:16px}
.location h2{font-size:20px}
.whatsapp-note{background:#e2efcf;color:#244409;padding:12px;border-radius:12px;font-size:14px}
.empty,.receipt{text-align:center;padding:32px 16px}
.empty p{line-height:1.6}
.receipt{max-width:650px;margin:auto}
.receipt>img{object-fit:contain}
.receipt .eyebrow{font-size:12px;letter-spacing:.08em}
.status{display:inline-block;background:var(--brand-ink);color:#fff;border-radius:20px;padding:12px 20px;font-weight:700}
.receipt-total{font-size:30px;color:var(--brand-ink);font-weight:800}
.receipt-line{display:flex;justify-content:space-between;text-align:left;gap:20px;padding:14px 0;border-bottom:1px solid var(--line)}
dialog{padding:24px;border:0;border-radius:22px;background:var(--paper);max-width:480px;width:calc(100% - 28px);max-height:90dvh;overflow-y:auto;color:var(--ink)}
dialog::backdrop{background:#24122d99}
.dialog-close{display:block;margin-left:auto;margin-bottom:14px}
#product-detail img{width:100%;max-height:300px;object-fit:cover;border-radius:14px}
#product-detail p{line-height:1.6}
.skeleton{background:linear-gradient(90deg,#dfd9c4,#f5f1e1,#dfd9c4);background-size:200% 100%;animation:loading 1.5s infinite;border-radius:20px;height:250px}
.hero-skeleton{height:230px}
.skeleton-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:24px 0}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@keyframes loading{to{background-position:-200% 0}
}

@media(min-width:900px){.hero img{height:210px;width:210px}
.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){body{padding-bottom:100px}
.header{padding:10px 16px;gap:10px;min-height:78px}
.header img{width:150px;height:48px}
.header button{font-size:13px;padding:10px}
.header .zone{display:none}
main{padding:0 16px}
.hero{padding:18px 18px 0;min-height:200px;border-radius:20px}
.hero h1{font-size:38px}
.hero img{height:174px;width:128px}
.hero p:not(.eyebrow){font-size:13px}
.hero .eyebrow{font-size:10px}
.toolbar{gap:8px;margin-top:18px}
.toolbar>button{padding:10px;font-size:12px;max-width:90px}
.section-title h2{font-size:23px}
.section-title span{font-size:11px;max-width:78px;text-align:right}
.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.product .photo{height:145px}
.product-body{padding:12px;gap:8px}
.product-title{font-size:16px}
.product-bottom{align-items:flex-start;flex-direction:column;gap:10px}
.product-bottom>.add{width:100%}
.stepper{width:100%;justify-content:space-between}
.price{font-size:18px}
.cart-dock{padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
.checkout-layout{grid-template-columns:1fr;gap:20px}
.totals{position:static}
.cart-lines{padding:0 12px}
.cart-line{gap:10px;align-items:flex-start}
.cart-line img{width:48px;height:48px}
.cart-line .stepper{max-width:145px}
.cart-line .price{font-size:15px}
.delivery-options{gap:8px}
.delivery-options label{padding:12px;gap:7px}
.delivery-options input{flex-shrink:0}
.receipt{padding:24px 4px}
.hero>div{min-width:0;max-width:70%}
}

@media(max-width:360px){.hero h1{font-size:32px}
.hero img{width:105px}
.hero .eyebrow{font-size:9px}
.product .photo{height:120px}
.product-body{padding:10px}
.stepper button{width:40px}
.header img{width:132px}
.cart-line img{display:none}
}

.hero{background:var(--paper);border:1px solid var(--line);border-bottom:8px solid var(--yellow)}
.hero:after{border-color:var(--orange);bottom:-170px;left:60%;right:auto;width:420px;box-shadow:0 -14px 0 var(--yellow)}
.products{align-items:start}
h1[tabindex="-1"]:focus{outline:none}

@media(max-width:700px){.hero{min-height:160px}
.hero img{height:145px;width:108px}
.hero h1{font-size:32px}
.hero p:not(.eyebrow){display:none}
.product .photo{height:125px}
}

/* Identity follows tacospastorcito.com; compact ordering keeps its own layout. */
.hero{background:var(--cream) url("assets/site-background.webp") center/cover no-repeat;border:1px solid #fff1dd;border-bottom:0;padding:20px 28px;min-height:200px}
.hero:after{display:none}
.hero h1{font-family:"Bystander Serif",Cambria,Georgia,serif;font-weight:700;color:var(--orange);text-transform:uppercase;letter-spacing:-.02em;font-size:clamp(32px,4vw,46px)}
.hero img{height:190px;width:165px;object-fit:contain}
.hero p{color:var(--ink)}
.hero>div{max-width:65%}

button.primary,.add{background:linear-gradient(130deg,#f04430,#ed2d25);color:#fff;border:1px solid #fff3e4;font-size:19px;font-weight:800;border-radius:28px;box-shadow:0 5px 14px #eb342718}
.stepper .plus{color:white;border-color:#ed2d25}
.price,.receipt-total{color:var(--orange)}
.categories button[aria-pressed=true]{background:var(--orange);border-color:var(--orange);color:white;font-size:19px}
.delivery-options label:has(input:checked){background:#fff0df;border-color:var(--orange)}
.delivery-options input{accent-color:var(--orange)}
.whatsapp-note{background:#fff0da;color:var(--ink);border:1px solid #ffe2ad}
dialog::backdrop{background:#65181499}
.skeleton{background:linear-gradient(90deg,#f2ddbf,#fff8ed,#f2ddbf);background-size:200% 100%}
.status{background:var(--orange);font-size:19px}
.hero-skeleton{height:200px}

@media(max-width:700px){.hero{min-height:156px;padding:16px 18px}
.hero h1{font-size:31px}
.hero img{height:150px;width:118px}
.hero .eyebrow{font-size:9px}
.hero>div{max-width:62%}
.product .photo{height:125px}
}

@media(max-width:360px){.hero h1{font-size:28px}
.hero img{width:100px}
.header img{width:132px}
}

.whatsapp-return{display:block;width:max-content;max-width:100%;margin:16px auto;padding:16px 24px;background:#276518;color:#fff;border-radius:28px;font-weight:700;text-align:center;text-decoration:none}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

