/* Norky's V6 — personalización pública, checkout corregido, tarjetas de locales y contacto */
body:not(.admin-page) .site-header{background:var(--nav-bg,#fff)!important;color:var(--nav-text,#465a4c)!important}
body:not(.admin-page) .main-nav .nav-link{color:var(--nav-text,#465a4c)!important}
body:not(.admin-page) .main-nav .nav-link:hover,body:not(.admin-page) .main-nav .nav-link.is-active{background:var(--nav-active-bg,#edf8f0)!important;color:var(--nav-active-text,#087b3e)!important}
body:not(.admin-page) .menu-sidebar{background:var(--sidebar-bg,#fff);color:var(--sidebar-text,#254936);position:relative;isolation:isolate;border-radius:12px;padding:17px 22px 17px 12px}
body:not(.admin-page) .menu-sidebar::before{content:"";inset:0;position:absolute;z-index:0;border-radius:inherit;background-image:var(--sidebar-art,none);background-size:cover;background-position:center;opacity:var(--sidebar-art-opacity,0);pointer-events:none}
body:not(.admin-page) .menu-sidebar h2,body:not(.admin-page) .menu-sidebar .sidebar-kicker,body:not(.admin-page) .menu-sidebar .category-pills button{color:var(--sidebar-text,#254936)}
body:not(.admin-page) .bag-icon{display:inline-flex!important;align-items:center;justify-content:center;background:transparent!important;width:22px!important;min-width:22px!important;margin:0!important;height:23px!important;border:0!important;color:inherit!important}
body:not(.admin-page) .cart-button{display:flex;align-items:center;gap:8px}
body:not(.admin-page) .cart-button .cart-label{display:inline!important;background:transparent!important;border-radius:0!important;font-size:12px!important;width:auto!important;height:auto!important;color:inherit;padding:0!important;margin:0!important}
body:not(.admin-page) .cart-button #cartCount{border-radius:50%;font-size:10px!important;background:#fff!important;color:#06793e!important;min-width:22px!important;height:22px!important;display:grid!important;place-items:center;margin:0!important}
/* Cuatro locales estilo directorio, con logotipo y datos en lugar de fotografías pesadas */
body:not(.admin-page) .v6-store-card{border:1px solid #e9ece8!important;background:#fff;text-align:center;box-shadow:0 9px 22px rgba(12,43,25,.04)!important;overflow:hidden}
body:not(.admin-page) .store-logo-area{height:131px;padding:19px 14px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:linear-gradient(180deg,#fff,#f9fdf9)}
body:not(.admin-page) .store-logo-area img{width:155px;height:62px;object-fit:contain}
body:not(.admin-page) .store-logo-area span{font-size:10px;font-weight:800;color:#068b45}
body:not(.admin-page) .v6-store-card .store-card-body{padding:12px 15px 17px}
body:not(.admin-page) .v6-store-card .store-card-body h3{min-height:38px;font-size:15px;margin:3px 0 7px}
body:not(.admin-page) .v6-store-card p{min-height:26px}
body:not(.admin-page) .location-actions{display:flex;flex-direction:column;gap:6px;margin-top:10px}
body:not(.admin-page) .location-actions a{padding:11px 8px;border-radius:8px;background:#078943;color:#fff;font-size:10px;font-weight:800}
body:not(.admin-page) .location-actions a+ a{background:#f4f9f5;color:#13723f;border:1px solid #e4ede6}
body:not(.admin-page) .v6-store-card .store-extras{justify-content:center;gap:15px}
/* Corrige el desborde de autorización en el formulario y la barra horizontal */
body:not(.admin-page) .modal-overlay{overflow:hidden;align-items:center;justify-items:center}
body:not(.admin-page) .checkout-modal{box-sizing:border-box;width:min(710px,100%);max-width:100%;max-height:calc(100dvh - 24px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:clamp(17px,3vw,29px);border-radius:18px}
body:not(.admin-page) .checkout-modal *,body:not(.admin-page) .cart-drawer *{box-sizing:border-box;min-width:0}
body:not(.admin-page) .checkout-modal label{overflow-wrap:anywhere}
body:not(.admin-page) .checkout-modal input:not([type=checkbox]):not([type=radio]),body:not(.admin-page) .checkout-modal select,body:not(.admin-page) .checkout-modal textarea{max-width:100%;width:100%;min-width:0}
body:not(.admin-page) .checkout-modal .form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body:not(.admin-page) .checkout-modal .consents{display:grid;gap:9px;max-width:100%;margin:15px 0 18px}
body:not(.admin-page) .checkout-modal .consents .privacy-consent{display:grid!important;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:12px;width:100%;max-width:100%;padding:13px 15px!important;margin:0!important;min-height:0!important;background:#f1f8f2;border:1px solid #e1ede2;border-radius:10px;color:#3c5442;font-weight:500;font-size:12px;line-height:1.65;white-space:normal!important}
body:not(.admin-page) .checkout-modal .consents .privacy-consent span{display:block;width:100%;min-width:0;max-width:100%;overflow-wrap:break-word;white-space:normal!important}
body:not(.admin-page) .checkout-modal .consents .privacy-consent input{margin:3px 0 0;width:17px!important;height:17px;min-width:17px}
body:not(.admin-page) .checkout-modal .consents .optional{background:#fcfefc}
body:not(.admin-page) .checkout-modal .checkout-total,body:not(.admin-page) .checkout-modal .primary-btn{max-width:100%}
body:not(.admin-page) .address-check{display:flex;align-items:center;gap:13px;margin:10px 0 16px;flex-wrap:wrap;padding:11px 13px;border:1px solid #e2eee5;border-radius:10px;background:#f7fbf7}
body:not(.admin-page) .address-check button{border:0;border-radius:8px;padding:10px 13px;background:#087c42;color:#fff;font-size:11px;font-weight:800}
body:not(.admin-page) .address-check p{font-size:10px;color:#607668;margin:0;flex:1;min-width:180px;line-height:1.6}
body:not(.admin-page) .address-check p[data-status=verified]{color:#078741;font-weight:700}
body:not(.admin-page) .address-check p[data-status=invalid],body:not(.admin-page) .address-check p[data-status=unconfirmed]{color:#b4512d;font-weight:700}
body:not(.admin-page) .form-hint{font-size:10px;color:#718375;display:block;margin-top:4px;font-weight:500}
/* Sección de contacto (sin carga de archivos) */
body:not(.admin-page) .contact-section{display:none;background:#f9fcf9;min-height:calc(100dvh - 280px)}
body:not(.admin-page) .contact-mode .contact-section{display:block}
body:not(.admin-page) .contact-mode .hero,body:not(.admin-page) .contact-mode .menu-section,body:not(.admin-page) .contact-mode .promos,body:not(.admin-page) .contact-mode .locations,body:not(.admin-page) .contact-mode .order-context,body:not(.admin-page) .contact-mode .about-section{display:none!important}
body:not(.admin-page) .contact-layout{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(360px,1.25fr);gap:52px;align-items:start}
body:not(.admin-page) .contact-intro h2{font-size:clamp(30px,4vw,51px);letter-spacing:-.04em;line-height:1.1;color:#087d42;margin:8px 0 17px}
body:not(.admin-page) .contact-intro p{line-height:1.8;color:#657568}
body:not(.admin-page) .contact-socials{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
body:not(.admin-page) .contact-socials a{padding:12px 14px;background:#ebf7ee;border:1px solid #dceade;border-radius:8px;color:#0a763c;font-size:12px;font-weight:800}
body:not(.admin-page) .contact-card{padding:27px;background:white;border-radius:17px;box-shadow:0 12px 42px #0c31100b;border:1px solid #e5eee6;display:grid;gap:17px}
body:not(.admin-page) .contact-card .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
body:not(.admin-page) .contact-card label{display:block;font-size:12px;font-weight:800;color:#354f3d;min-width:0}
body:not(.admin-page) .contact-card input:not([type=checkbox]),body:not(.admin-page) .contact-card select,body:not(.admin-page) .contact-card textarea{display:block;width:100%;min-width:0;padding:12px;border:1px solid #d7e4d9;border-radius:8px;font-size:12px;margin-top:7px;outline-offset:3px}
body:not(.admin-page) .contact-card .checkline{display:flex;gap:10px;align-items:flex-start;line-height:1.5}
body:not(.admin-page) .contact-card .checkline input{margin-top:3px}
body:not(.admin-page) .contact-card .spam-field{position:absolute!important;left:-10000px!important;top:-10000px!important;opacity:0!important}
body:not(.admin-page) #contactResult{font-weight:700;color:#0c7b3f;font-size:12px}
body:not(.admin-page) .footer-social{display:flex;gap:14px;flex-wrap:wrap;margin:9px 0}
@media(max-width:760px){
 body:not(.admin-page) .checkout-modal .form-row{grid-template-columns:1fr}
 body:not(.admin-page) .checkout-modal{max-height:calc(100dvh - 12px);padding:20px 15px;border-radius:12px}
 body:not(.admin-page) .contact-layout{grid-template-columns:1fr;gap:22px}
 body:not(.admin-page) .contact-card{padding:19px}
 body:not(.admin-page) .contact-card .form-row{grid-template-columns:1fr}
 body:not(.admin-page) .v6-store-card .store-logo-area{height:105px}
 body:not(.admin-page) .v6-store-card .store-logo-area img{height:55px}
 body:not(.admin-page) .menu-sidebar{padding:14px}
}

body:not(.admin-page) .menu-sidebar .sidebar-sticky{position:relative;z-index:1}
