/* Original template layout preserved. Brand colors and logo only. */
.rd-navbar-brand img,.footer-modern .brand img{width:84px;height:84px;object-fit:contain;border-radius:50%}
.button-primary,.button-primary:focus{color:#fff;background-color:#008e55;border-color:#008e55}
.button-primary:hover{color:#fff;background-color:#006b40;border-color:#006b40}
.button-secondary,.button-secondary:focus{color:#fff;background-color:#c62828;border-color:#c62828}
.button-secondary:hover{color:#fff;background-color:#a71e1e;border-color:#a71e1e}
.product-figure img{object-fit:cover;border-radius:50%;aspect-ratio:1}
.form-input:disabled{opacity:.65}
/* Header logo size on desktop; mobile uses the original template sizing. */
.rd-navbar.rd-navbar-modern.rd-navbar-static .rd-navbar-brand img{width:96px;height:96px;max-width:96px;max-height:96px}



.food-photo{display:block;background-image:url('../images/mexican-food-atlas.png');background-size:300% 200%;background-repeat:no-repeat;aspect-ratio:1;max-width:100%}
.food-photo-tacos{background-position:0 0}.food-photo-tortas{background-position:50% 0}.food-photo-tamales{background-position:100% 0}.food-photo-quesadillas{background-position:0 100%}.food-photo-nachos{background-position:50% 100%}.food-photo-burritos{background-position:100% 100%}
.services-terri-figure .food-photo{width:100%;aspect-ratio:370/278}
.services-terri-icon.mexican-food-icon{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;font-size:inherit}
.mexican-food-icon svg{display:block;width:56px;height:56px}
.product-figure .food-photo{width:162px;height:162px;border-radius:50%;margin:auto}
.team-modern-figure .food-photo,.post-classic-figure .food-photo,.thumbnail-mary-figure .food-photo{width:100%;height:auto}
.food-illustration-note{font-size:12px;color:#777;margin-top:20px}
/* Random menu product behind section titles, retaining the template overlay. */
.breadcrumbs-custom .product-title-background{overflow:hidden;background-image:none}
.product-title-background .food-photo{position:absolute;width:100%;aspect-ratio:1;top:50%;left:0;transform:translateY(-50%)}
.contact-captcha{margin:24px 0;max-width:100%;overflow-x:auto}.contact-feedback{margin:20px 0;padding:16px;border-left:3px solid #008e55;background:#f5f5f5}.contact-feedback[role="alert"]{border-color:#c62828}
/* Shared WhatsApp shortcut; keep clear of the template's back-to-top button. */
.whatsapp-float{position:fixed;right:24px;bottom:104px;z-index:1100;width:58px;height:58px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#128c4a;color:#fff;box-shadow:0 4px 16px rgba(0,0,0,.25);transition:background .2s,transform .2s}
.whatsapp-float svg{width:32px;height:32px}
.whatsapp-float:hover,.whatsapp-float:focus{background:#08763b;color:#fff;transform:translateY(-2px)}
.whatsapp-float:focus-visible{outline:3px solid #182b23;outline-offset:4px}
@media(max-width:767px){.whatsapp-float{right:18px;bottom:calc(22px + env(safe-area-inset-bottom,0px));width:54px;height:54px}}
@media(prefers-reduced-motion:reduce){.whatsapp-float{transition:none}}
/* About tabs: crop square food photos into the original wide frame without stretching. */
#tabs-4 .tab-pane > .food-photo{position:relative;overflow:hidden;background-image:none;width:100%}
#tabs-4 .tab-pane > .food-photo::before{content:"";display:block;position:absolute;left:0;top:50%;width:100%;aspect-ratio:1;transform:translateY(-50%);background-image:url('../images/mexican-food-atlas.png');background-size:300% 200%;background-repeat:no-repeat;background-position:inherit}
.box-icon-classic-icon.mexico-map-icon{display:inline-flex;align-items:center;justify-content:center}
.mexico-map-icon svg{display:block;width:76px;height:60px;max-width:100%}
/* Video modal only: the existing section layout remains intact. */
.flavors-video-dialog{border:0;padding:22px;width:min(760px,calc(100% - 28px));max-height:90vh;overflow:auto;background:#fff;color:#151515;box-shadow:0 15px 70px #0007}
.flavors-video-dialog::backdrop{background:rgba(0,0,0,.8)}
.flavors-video-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}
.flavors-video-heading h4{margin:0}.flavors-video-heading button{border:0;background:transparent;color:#151515;font-size:32px;line-height:1;padding:4px 10px;cursor:pointer}
.flavors-video-frame{height:min(60vh,600px);background:#111}.flavors-video-frame iframe{display:block;width:100%;height:100%;border:0}
.flavors-video-dialog>p{margin-top:14px;font-size:13px}.flavors-video-dialog>p a{text-decoration:underline}
html.flavors-video-open{overflow:hidden}
/* Match the lightbox to the portrait format of the Facebook Reel. */
.flavors-video-dialog{width:min(420px,calc(100vw - 28px));padding:16px;max-height:calc(100dvh - 28px)}
.flavors-video-heading{margin-bottom:12px;gap:12px}
.flavors-video-heading h4{font-size:23px;line-height:1.2}
.flavors-video-frame{width:min(100%,calc((100dvh - 190px)*9/16));height:auto;aspect-ratio:9/16;margin-inline:auto;overflow:hidden}
.flavors-video-frame iframe{width:100%;height:100%;display:block}
.flavors-video-dialog>p{margin-top:12px;line-height:1.4}
/* The template resets dialog display; keep the video out of the layout until opened. */
.flavors-video-dialog:not([open]){display:none!important}
.flavors-video-dialog[open]{display:block;position:fixed;inset:0;margin:auto;height:fit-content;z-index:2000}
/* Uploaded content images keep the same frames as the original template. */
.services-terri-figure>img{width:100%;aspect-ratio:370/278;object-fit:cover}
.thumbnail-mary-figure>img{width:100%;aspect-ratio:1;object-fit:cover}
.thumbnail-creative-figure>img{width:100%;aspect-ratio:195/164;object-fit:cover}
.post-classic-figure>img{width:100%;aspect-ratio:370/247;object-fit:cover}
/* News detail lightboxes. Explicitly hide closed dialogs despite the template reset. */
.news-detail-dialog:not([open]){display:none!important}
.news-detail-dialog[open]{display:block;position:fixed;inset:0;margin:auto;width:min(720px,calc(100vw - 28px));height:fit-content;max-height:90dvh;overflow:auto;border:0;padding:0;background:#fff;color:#151515;z-index:2000;box-shadow:0 15px 70px #0007}
.news-detail-dialog::backdrop{background:rgba(0,0,0,.8)}
.news-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px}
.news-detail-heading h4{margin:0;font-size:27px;line-height:1.25}
.news-detail-heading button{flex-shrink:0;border:0;background:transparent;color:#151515;font-size:32px;padding:5px 10px;cursor:pointer;line-height:1}
.news-detail-photo{max-width:480px;margin:auto}.news-detail-photo>.food-photo{width:100%;aspect-ratio:1}.news-detail-photo>img{display:block;width:100%;height:auto;max-height:55dvh;object-fit:contain}
.news-detail-copy{padding:24px;overflow-wrap:anywhere}.news-detail-copy time{font-size:12px;color:#777}.news-detail-copy p{margin-top:14px;line-height:1.7}
html.news-dialog-open{overflow:hidden}
@media(max-width:600px){.news-detail-heading{padding:16px}.news-detail-heading h4{font-size:23px}.news-detail-copy{padding:18px}}
