/* ============================================================
   PEDIDOSCLICK V9.6.0 · STOREFRONT BUILDER V3
   Una sola capa visual por vertical. Sin superponer el motor
   de 24 layouts de Storefront Studio.
   ============================================================ */
body.cp-storefront{
  --ui-surface:#fff;
  --ui-soft:#f7f7f8;
  --ui-line:#e9e8eb;
  --ui-ink:#19171d;
  --ui-muted:#6f6b75;
  --ui-shadow:0 14px 40px rgba(25,22,30,.08);
  --ui-shadow-soft:0 7px 22px rgba(25,22,30,.06);
  background:#fff!important;
  color:var(--ui-ink)!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
}
body.cp-storefront #storefrontMain{display:flex;flex-direction:column}
body.cp-storefront #hero{order:10}
body.cp-storefront #storeSummary{order:12}
body.cp-storefront #promoSection{order:14}
body.cp-storefront #featuredSection{order:16}
body.cp-storefront #catalogStage{order:20}
body.cp-storefront #informacion{order:30}
body.cp-storefront .wrap{width:min(1180px,calc(100% - 32px))}
body.cp-storefront .section{padding:40px 0}
body.cp-storefront .title{text-align:left;margin:0 0 20px}
body.cp-storefront .title h2{font-size:clamp(1.55rem,2.8vw,2.25rem);line-height:1.06;letter-spacing:-.04em;margin:0 0 7px;font-weight:950}
body.cp-storefront .title p{font-size:.92rem;color:var(--ui-muted);line-height:1.45;margin:0}

/* Desktop navigation remains simple. Mobile becomes an overlay search bar. */
body.cp-storefront .top{
  background:#fff!important;color:var(--ui-ink)!important;border-bottom:1px solid var(--ui-line)!important;
  box-shadow:0 5px 22px rgba(25,22,30,.055)!important;backdrop-filter:blur(16px);z-index:70
}
body.cp-storefront .nav{min-height:64px}
body.cp-storefront .brand{color:var(--ui-ink)!important}
body.cp-storefront .brand img{height:40px!important;max-height:40px;max-width:145px!important}
body.cp-storefront .actions .light,body.cp-storefront .actions .ghost{background:#fff!important;color:var(--ui-ink)!important;border:1px solid var(--ui-line)!important}
body.cp-storefront .mobile-back,body.cp-storefront .mobile-quick-search{display:none}

/* Cover image. Large marketing copy is useful on desktop only. */
body.cp-storefront #hero{min-height:390px!important;overflow:hidden;isolation:isolate;background-position:center!important;background-size:cover!important}
body.cp-storefront #hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.32));z-index:-1;pointer-events:none}
body.cp-storefront #hero .copy{padding:64px 0 76px}
body.cp-storefront #hero .hero-copy-inner{max-width:650px}
body.cp-storefront #hero h1{font-size:clamp(2.45rem,5.6vw,4.6rem);font-weight:950;letter-spacing:-.055em;text-shadow:0 7px 28px rgba(0,0,0,.22)}
body.cp-storefront #hero p{font-size:1rem;max-width:600px;color:rgba(255,255,255,.92)}
body.cp-storefront #hero .pill,body.cp-storefront .go-home{backdrop-filter:blur(10px)}
body.cp-storefront #hero .btn{border-radius:999px}

/* One store summary only. No invented value cards. */
body.cp-storefront .store-summary{position:relative;z-index:15;margin-top:-46px}
body.cp-storefront .store-summary-card{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;
  border:1px solid var(--ui-line);border-radius:24px;background:#fff;padding:18px 20px;box-shadow:0 18px 55px rgba(24,20,30,.12)
}
body.cp-storefront .store-summary-logo{width:76px;height:76px;border-radius:18px;object-fit:contain;background:#fff;border:1px solid var(--ui-line);padding:4px}
body.cp-storefront .store-summary-state{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:5px}
body.cp-storefront .summary-status,body.cp-storefront .summary-vertical{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:.66rem;font-weight:900}
body.cp-storefront .summary-status{background:#eaf8ef;color:#13703a}
body.cp-storefront .summary-status.closed{background:#fff0f0;color:#a42a2a}
body.cp-storefront .summary-vertical{background:color-mix(in srgb,var(--p) 10%,#fff);color:color-mix(in srgb,var(--p) 80%,#111)}
body.cp-storefront .store-summary-copy h2{font-size:1.7rem;letter-spacing:-.04em;margin:0 0 5px;font-weight:950}
body.cp-storefront .store-summary-copy p{margin:0;color:var(--ui-muted);font-size:.82rem;line-height:1.45}
body.cp-storefront .summary-services{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
body.cp-storefront .summary-services span{background:#f5f4f6;border-radius:999px;padding:6px 9px;font-size:.68rem;font-weight:800;color:#45414a}
body.cp-storefront .store-summary-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
body.cp-storefront .store-summary-actions .btn{border-radius:999px;padding:10px 14px}

/* Promotions are near the top, commercial but not intrusive. */
body.cp-storefront #promoSection{padding:30px 0 14px}
body.cp-storefront .promos{display:flex!important;gap:14px;overflow:auto;scroll-snap-type:x mandatory;padding:2px 2px 10px;scrollbar-width:none}
body.cp-storefront .promos::-webkit-scrollbar{display:none}
body.cp-storefront .promo{flex:0 0 min(440px,82vw);display:grid;grid-template-columns:42% 58%;overflow:hidden;border:1px solid var(--ui-line);border-radius:20px!important;background:#fff!important;box-shadow:var(--ui-shadow-soft)!important;scroll-snap-align:start}
body.cp-storefront .promo>img{width:100%!important;height:100%!important;min-height:176px;object-fit:cover!important}
body.cp-storefront .promo .body{padding:16px!important;min-width:0}
body.cp-storefront .promo .body small:first-child{font-size:.66rem;font-weight:900;color:var(--p);letter-spacing:.04em;text-transform:uppercase}
body.cp-storefront .promo h3{font-size:1rem;margin:5px 0 6px}
body.cp-storefront .promo p{font-size:.75rem;line-height:1.4;min-height:0!important;margin:0 0 9px;color:var(--ui-muted)}
body.cp-storefront .promo-badge{display:inline-flex;background:#ffe832;color:#17131c;border-radius:8px;padding:6px 8px;font-size:.7rem;font-weight:950}
body.cp-storefront .promo-code{display:block;margin-top:7px;font-weight:850;font-size:.72rem}
body.cp-storefront .promo .btn{margin-top:9px;border-radius:999px;padding:8px 11px;font-size:.74rem}
body.cp-storefront .promo-float{display:none!important}

/* Featured products: visual section, inspired by modern delivery/catalog apps. */
body.cp-storefront #featuredSection{padding:24px 0 10px}
body.cp-storefront .featured-track{gap:14px;padding:2px 2px 12px}
body.cp-storefront .featured-item{min-width:min(310px,75vw);border:0!important;border-radius:20px!important;overflow:hidden;background:#fff!important;box-shadow:none!important;scroll-snap-align:start}
body.cp-storefront .featured-item img{width:100%;aspect-ratio:4/3;height:auto!important;object-fit:cover;border-radius:20px}
body.cp-storefront .featured-item .body{padding:11px 2px!important}
body.cp-storefront .featured-item .body h3{font-size:.95rem;margin:0 0 5px}
body.cp-storefront .featured-item .body p{font-size:.74rem;min-height:0;margin:0 0 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Categories / search / filters. */
body.cp-storefront #categoriesSection{padding:28px 0 4px;background:#fff!important}
body.cp-storefront #categoriesSection .title{margin-bottom:12px}
body.cp-storefront #categoriesSection .title h2{font-size:1.18rem}
body.cp-storefront .cats{gap:8px;padding:2px 1px 10px}
body.cp-storefront .cat{display:inline-flex;align-items:center;gap:6px;min-height:40px;border:1px solid var(--ui-line)!important;background:#f7f6f8!important;color:#2d2932!important;border-radius:999px!important;padding:9px 13px!important;font-size:.75rem!important;font-weight:850!important;box-shadow:none!important}
body.cp-storefront .cat.on{background:#19171d!important;color:#fff!important;border-color:#19171d!important}
body.cp-storefront #menu{padding:22px 0 42px}
body.cp-storefront .catalog-tools{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:10px}
body.cp-storefront .store-search{position:relative;flex:1;max-width:520px}
body.cp-storefront .store-search:before{content:"⌕";position:absolute;left:14px;top:50%;transform:translateY(-55%);font-size:1.35rem;color:#77727d;z-index:1}
body.cp-storefront .store-search input{width:100%;height:46px;border:1px solid var(--ui-line)!important;border-radius:999px!important;background:#f6f5f7!important;padding:0 17px 0 42px!important;outline:0;color:var(--ui-ink)}
body.cp-storefront .store-search input:focus{background:#fff!important;border-color:color-mix(in srgb,var(--p) 45%,var(--ui-line))!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--p) 8%,transparent)}
body.cp-storefront .catalog-count{font-size:.74rem;color:var(--ui-muted);font-weight:800;white-space:nowrap}
body.cp-storefront .catalog-quick-filters{display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding:1px 1px 8px;margin-bottom:13px}
body.cp-storefront .catalog-quick-filters::-webkit-scrollbar{display:none}
body.cp-storefront .catalog-filter-btn{white-space:nowrap;border:1px solid var(--ui-line);background:#fff;color:#3b3740;border-radius:999px;padding:8px 12px;font-size:.7rem;font-weight:850;cursor:pointer}
body.cp-storefront .catalog-filter-btn.on{background:color-mix(in srgb,var(--p) 10%,#fff);color:color-mix(in srgb,var(--p) 82%,#111);border-color:color-mix(in srgb,var(--p) 25%,var(--ui-line))}

/* Product card primitives. */
body.cp-storefront #products{display:grid;gap:16px}
body.cp-storefront .cp-product-card{position:relative;min-width:0;background:#fff!important;border:1px solid var(--ui-line)!important;border-radius:20px!important;overflow:hidden;box-shadow:none!important}
body.cp-storefront .cp-product-media{position:relative;overflow:hidden;background:#f7f6f8}
body.cp-storefront .cp-product-media>img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
body.cp-storefront .cp-discount-badge,body.cp-storefront .cp-feature-badge{position:absolute;z-index:3;top:10px;line-height:1}
body.cp-storefront .cp-discount-badge{left:10px;background:#ffe832;color:#17131c;padding:7px 8px;border-radius:8px;font-size:.68rem;font-weight:950}
body.cp-storefront .cp-feature-badge{right:10px;background:#fff;color:#111;padding:7px;border-radius:50%;box-shadow:0 5px 14px rgba(0,0,0,.12)}
body.cp-storefront .cp-product-body{padding:14px!important}
body.cp-storefront .cp-product-eyebrow{display:block;margin-bottom:5px;color:var(--ui-muted);font-size:.62rem;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
body.cp-storefront .cp-product-body h3{font-size:.98rem;line-height:1.25;margin:0 0 5px;font-weight:900}
body.cp-storefront .cp-product-description{font-size:.76rem;line-height:1.42;color:var(--ui-muted)!important;min-height:0!important;margin:0 0 9px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.cp-storefront .product-meta{margin:5px 0 9px}
body.cp-storefront .cp-product-buy{margin-top:7px;align-items:center}
body.cp-storefront .cp-price-stack{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
body.cp-storefront .price{font-size:1rem!important;font-weight:950;color:var(--ui-ink)!important}
body.cp-storefront .old-price{font-size:.72rem!important;color:#8c8790}
body.cp-storefront .cp-add-button{border-radius:999px!important;padding:9px 13px!important;min-height:38px;font-size:.73rem!important}

/* RESTAURANT: menu rows on mobile, photo-driven cards on desktop. */
body.cp-storefront.cp-vertical-restaurant #products{grid-template-columns:repeat(3,minmax(0,1fr))}
body.cp-storefront.cp-vertical-restaurant .cp-product-media>img{aspect-ratio:4/3;object-fit:cover}

/* MARKET: dense grocery grid with direct + action. */
body.cp-storefront.cp-vertical-market{background:#fafafa!important}
body.cp-storefront.cp-vertical-market #products{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
body.cp-storefront.cp-vertical-market .cp-product-card{border-radius:16px!important}
body.cp-storefront.cp-vertical-market .cp-product-media{background:#fff}
body.cp-storefront.cp-vertical-market .cp-product-media>img{aspect-ratio:1/1;object-fit:contain;padding:10px}
body.cp-storefront.cp-vertical-market .cp-product-body{padding:10px!important}
body.cp-storefront.cp-vertical-market .cp-product-body h3{font-size:.82rem;min-height:2.05em}
body.cp-storefront.cp-vertical-market .cp-product-description,body.cp-storefront.cp-vertical-market .cp-product-eyebrow{display:none!important}
body.cp-storefront.cp-vertical-market .product-meta span:not(.stock-low):not(.stock-out){display:none}
body.cp-storefront.cp-vertical-market .cp-add-button{width:34px;min-width:34px;height:34px;min-height:34px;padding:0!important;font-size:1.15rem!important;border-radius:50%!important}
body.cp-storefront.cp-vertical-market .price{font-size:.93rem!important}

/* STORE: editorial catalog, less text and taller product photography. */
body.cp-storefront.cp-vertical-store #products{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
body.cp-storefront.cp-vertical-store .cp-product-card{border:0!important;border-radius:0!important;background:transparent!important}
body.cp-storefront.cp-vertical-store .cp-product-media{border-radius:18px;background:#f5f4f6}
body.cp-storefront.cp-vertical-store .cp-product-media>img{aspect-ratio:4/5;object-fit:cover;border-radius:18px}
body.cp-storefront.cp-vertical-store .cp-product-body{padding:11px 2px 4px!important}
body.cp-storefront.cp-vertical-store .cp-product-description,body.cp-storefront.cp-vertical-store .product-meta{display:none!important}
body.cp-storefront.cp-vertical-store .cp-product-body h3{font-size:.9rem}

/* Information remains functional but quieter. */
body.cp-storefront #informacion{background:#f8f7f9!important;padding-top:38px}
body.cp-storefront .info-card,body.cp-storefront .map-card,body.cp-storefront .qrbox{border:1px solid var(--ui-line)!important;box-shadow:none!important;border-radius:18px!important}
body.cp-storefront footer{background:#18161b!important;padding-bottom:42px!important}

/* Cart: only appears after an item has been added. */
body.cp-storefront .mobile-app-nav{display:none!important}
body.cp-storefront .cart-dock{position:fixed;left:50%;bottom:18px;z-index:66;transform:translate(-50%,120px);opacity:0;width:min(520px,calc(100% - 28px));background:#18161b;color:#fff;border-radius:999px;padding:9px 10px 9px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 18px 48px rgba(18,15,21,.28);transition:.2s;pointer-events:none}
body.cp-storefront .cart-dock.on{transform:translate(-50%,0);opacity:1;pointer-events:auto}
body.cp-storefront .cart-dock b{display:block;font-size:.78rem}
body.cp-storefront .cart-dock small{display:block;font-size:.68rem;color:#d2ced6;margin-top:2px}
body.cp-storefront .cart-dock button{border:0;border-radius:999px;background:var(--p);color:#fff;padding:10px 14px;font-weight:900;cursor:pointer;white-space:nowrap}
body.cp-storefront .branch-fab{bottom:82px}

@media(max-width:980px){
  body.cp-storefront.cp-vertical-restaurant #products{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.cp-storefront.cp-vertical-market #products{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.cp-storefront.cp-vertical-store #products{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:760px){
  body.cp-storefront{padding-bottom:22px!important;background:#fff!important}
  body.cp-storefront .wrap{width:min(100% - 24px,720px)}
  body.cp-storefront .top{position:absolute!important;top:0;left:0;right:0;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none;color:#fff!important}
  body.cp-storefront .nav{min-height:68px;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;padding-top:6px}
  body.cp-storefront .mobile-back{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#fff;color:#19171d;font-size:2rem;line-height:1;box-shadow:0 5px 16px rgba(0,0,0,.14)}
  body.cp-storefront .brand{display:none!important}
  body.cp-storefront .mobile-quick-search{display:flex;height:42px;align-items:center;gap:6px;background:#fff;color:#5c5762;border-radius:999px;padding:0 13px;box-shadow:0 5px 16px rgba(0,0,0,.14);min-width:0}
  body.cp-storefront .mobile-quick-search span{font-size:1.12rem}
  body.cp-storefront .mobile-quick-search input{border:0!important;outline:0;background:transparent;width:100%;min-width:0;color:#1b181e;font-size:.78rem}
  body.cp-storefront .actions{display:flex;justify-content:flex-end}
  body.cp-storefront .actions .branch-top-btn,body.cp-storefront .actions .status,body.cp-storefront .actions .primary{display:none!important}
  body.cp-storefront .actions .light[onclick*="openCart"]{display:grid!important;place-items:center;width:42px;height:42px;padding:0!important;border:0!important;background:#fff!important;color:#19171d!important;border-radius:50%!important;box-shadow:0 5px 16px rgba(0,0,0,.14);font-size:.9rem;position:relative}
  body.cp-storefront .actions .light[onclick*="openCart"] #count{display:grid;place-items:center;position:absolute;right:-2px;top:-3px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--p);color:#fff;font-size:.57rem}

  body.cp-storefront #hero{min-height:225px!important;border-radius:0!important}
  body.cp-storefront #hero .copy{padding:72px 0 22px!important;min-height:225px}
  body.cp-storefront #hero .hero-copy-inner{min-height:130px;display:flex;align-items:flex-end}
  body.cp-storefront #hero .pill,body.cp-storefront #hero h1,body.cp-storefront #hero p,body.cp-storefront #hero .hero-actions,body.cp-storefront #hero .branch-current,body.cp-storefront #hero .pwa-tools,body.cp-storefront .go-home{display:none!important}

  body.cp-storefront .store-summary{margin-top:-26px}
  body.cp-storefront .store-summary-card{grid-template-columns:60px minmax(0,1fr);gap:11px;padding:13px;border-radius:22px}
  body.cp-storefront .store-summary-logo{width:60px;height:60px;border-radius:16px}
  body.cp-storefront .store-summary-copy h2{font-size:1.2rem;margin-bottom:4px}
  body.cp-storefront .store-summary-copy p{font-size:.68rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.cp-storefront .store-summary-state{gap:5px;margin-bottom:4px}
  body.cp-storefront .summary-status,body.cp-storefront .summary-vertical{font-size:.56rem;padding:4px 6px}
  body.cp-storefront .summary-services{grid-column:1/-1;margin-top:0;gap:5px}
  body.cp-storefront .summary-services span{font-size:.59rem;padding:5px 7px}
  body.cp-storefront .store-summary-actions{grid-column:1/-1;justify-content:stretch;display:grid;grid-template-columns:1fr 1fr;gap:7px}
  body.cp-storefront .store-summary-actions .btn{min-height:38px;padding:8px 10px;font-size:.7rem}
  body.cp-storefront .store-summary-actions .btn:only-child{grid-column:1/-1}

  body.cp-storefront .section{padding:28px 0}
  body.cp-storefront .title{margin-bottom:14px}
  body.cp-storefront .title h2{font-size:1.35rem}
  body.cp-storefront .title p{font-size:.75rem}
  body.cp-storefront #promoSection{padding:22px 0 7px}
  body.cp-storefront #promoSection .title{margin-bottom:12px}
  body.cp-storefront .promos{margin-inline:-12px;padding-inline:12px;gap:10px}
  body.cp-storefront .promo{flex-basis:86vw;grid-template-columns:42% 58%;border-radius:17px!important}
  body.cp-storefront .promo>img{min-height:150px}
  body.cp-storefront .promo .body{padding:11px!important}
  body.cp-storefront .promo h3{font-size:.88rem}
  body.cp-storefront .promo p{font-size:.66rem;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
  body.cp-storefront .promo .btn{padding:7px 9px;font-size:.65rem;margin-top:6px}

  body.cp-storefront #featuredSection{padding:20px 0 7px}
  body.cp-storefront .featured-track{margin-inline:-12px;padding-inline:12px;gap:10px}
  body.cp-storefront .featured-item{min-width:72vw;border-radius:17px!important}
  body.cp-storefront .featured-item img{border-radius:17px}
  body.cp-storefront .featured-item .body{padding:9px 1px!important}

  body.cp-storefront #categoriesSection{padding:20px 0 2px!important;position:static!important;background:#fff!important;border:0!important}
  body.cp-storefront #categoriesSection .title{display:none}
  body.cp-storefront .cats{margin-inline:-12px;padding-inline:12px;gap:7px}
  body.cp-storefront .cat{min-height:37px!important;padding:8px 10px!important;font-size:.67rem!important}
  body.cp-storefront #catalogStage{display:block!important;width:auto!important;margin:0!important}
  body.cp-storefront #catalogStage>.section>.wrap{width:min(100% - 24px,720px)!important;margin:auto!important}
  body.cp-storefront #menu{padding-top:18px!important}
  body.cp-storefront .catalog-tools{display:none!important}
  body.cp-storefront .catalog-quick-filters{margin-inline:-12px;padding-inline:12px;margin-bottom:13px;gap:7px}
  body.cp-storefront .catalog-filter-btn{font-size:.64rem;padding:7px 10px}
  body.cp-storefront #products{gap:9px!important}

  body.cp-storefront.cp-vertical-restaurant #products{grid-template-columns:1fr!important}
  body.cp-storefront.cp-vertical-restaurant .cp-product-card{display:grid!important;grid-template-columns:minmax(0,1fr) 112px!important;min-height:122px;border-radius:16px!important;overflow:hidden}
  body.cp-storefront.cp-vertical-restaurant .cp-product-media{grid-column:2;grid-row:1;height:100%}
  body.cp-storefront.cp-vertical-restaurant .cp-product-media>img{width:112px!important;height:100%!important;min-height:122px;aspect-ratio:auto!important;object-fit:cover!important}
  body.cp-storefront.cp-vertical-restaurant .cp-product-body{grid-column:1;grid-row:1;padding:12px!important;display:flex!important;flex-direction:column;min-width:0}
  body.cp-storefront.cp-vertical-restaurant .cp-product-body h3{font-size:.88rem;margin-bottom:4px}
  body.cp-storefront.cp-vertical-restaurant .cp-product-description{font-size:.67rem!important;line-height:1.35;-webkit-line-clamp:2;margin-bottom:6px!important}
  body.cp-storefront.cp-vertical-restaurant .product-meta{display:none!important}
  body.cp-storefront.cp-vertical-restaurant .cp-product-buy{margin-top:auto}
  body.cp-storefront.cp-vertical-restaurant .price{font-size:.9rem!important}
  body.cp-storefront.cp-vertical-restaurant .cp-add-button{width:32px;min-width:32px;height:32px;min-height:32px;padding:0!important;font-size:0!important;border-radius:50%!important}
  body.cp-storefront.cp-vertical-restaurant .cp-add-button:after{content:"+";font-size:1.1rem;font-weight:800}
  body.cp-storefront.cp-vertical-restaurant .cp-discount-badge{left:auto;right:7px;top:7px;font-size:.58rem;padding:5px 6px}
  body.cp-storefront.cp-vertical-restaurant .cp-feature-badge{display:none}

  body.cp-storefront.cp-vertical-market #products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.cp-storefront.cp-vertical-market .cp-product-media>img{padding:8px}
  body.cp-storefront.cp-vertical-market .cp-product-body{padding:8px!important}
  body.cp-storefront.cp-vertical-market .cp-product-body h3{font-size:.72rem}
  body.cp-storefront.cp-vertical-market .price{font-size:.83rem!important}
  body.cp-storefront.cp-vertical-market .cp-add-button{width:31px;min-width:31px;height:31px;min-height:31px;font-size:1rem!important}

  body.cp-storefront.cp-vertical-store #products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  body.cp-storefront.cp-vertical-store .cp-product-media{border-radius:15px}
  body.cp-storefront.cp-vertical-store .cp-product-media>img{border-radius:15px}
  body.cp-storefront.cp-vertical-store .cp-product-body h3{font-size:.8rem}
  body.cp-storefront.cp-vertical-store .price{font-size:.86rem!important}
  body.cp-storefront.cp-vertical-store .cp-add-button{font-size:.63rem!important;padding:7px 9px!important}

  body.cp-storefront #informacion{padding-top:28px}
  body.cp-storefront .info-layout{grid-template-columns:1fr!important}
  body.cp-storefront .map-card iframe{height:220px!important}
  body.cp-storefront .branch-fab{right:12px;bottom:82px;font-size:.7rem;padding:9px 11px}
  body.cp-storefront .cart-dock{bottom:12px;width:calc(100% - 24px)}
  body.cp-storefront footer{padding-bottom:78px!important}
}

@media(max-width:380px){
  body.cp-storefront .store-summary-actions{grid-template-columns:1fr}
  body.cp-storefront .promo{flex-basis:90vw}
}


/* ============================================================
   V9.6.0 · STOREFRONT BUILDER V3
   Controles del admin operativos + 3 motores maestros.
   ============================================================ */
body.cp-storefront{font-family:var(--cp-font,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif)!important}
body.cp-storefront .section{padding-block:var(--cp-section-space,54px)}
body.cp-storefront #products{grid-template-columns:repeat(var(--cp-cols,4),minmax(0,1fr))}
body.cp-storefront .cp-product-media>img{aspect-ratio:var(--cp-image-ratio,4/3)!important;height:auto!important}

/* Cabecera, portada, botones y densidad */
body.cp-header-compact .nav{min-height:54px}body.cp-header-compact .brand img{height:34px!important;max-height:34px}
body.cp-header-minimal .top{box-shadow:none!important;border-bottom:1px solid var(--ui-line)!important}body.cp-header-minimal .actions .primary{display:none}
body.cp-header-centered .nav{display:grid;grid-template-columns:1fr auto 1fr}body.cp-header-centered .brand{grid-column:2}body.cp-header-centered .actions{grid-column:3;justify-self:end}
body.cp-hero-center #hero .hero-copy-inner{margin-inline:auto;text-align:center}body.cp-hero-center #hero .hero-actions{justify-content:center}body.cp-hero-center #hero .branch-current{margin-inline:auto}
body.cp-button-pill .btn,body.cp-button-pill .cp-add-button{border-radius:999px!important}
body.cp-button-square .btn,body.cp-button-square .cp-add-button{border-radius:4px!important}
body.cp-button-rounded .btn,body.cp-button-rounded .cp-add-button{border-radius:12px!important}
body.cp-density-compact .section{padding-block:38px!important}body.cp-density-compact #products{gap:10px!important}body.cp-density-compact .cp-product-body{padding:10px!important}
body.cp-density-airy .section{padding-block:66px!important}body.cp-density-airy #products{gap:24px!important}body.cp-density-airy .cp-product-body{padding:20px!important}

/* Tarjetas: ahora el selector del admin sí cambia la tienda */
body.cp-card-soft .cp-product-card{box-shadow:0 10px 30px rgba(20,18,24,.08)!important;border-color:transparent!important}
body.cp-card-flat .cp-product-card{box-shadow:none!important;border-color:transparent!important;border-radius:4px!important}
body.cp-card-bordered .cp-product-card{box-shadow:none!important;border:1px solid #d8d6dc!important}
body.cp-card-compact .cp-product-card{border-radius:12px!important}body.cp-card-compact .cp-product-description{display:none!important}body.cp-card-compact .cp-product-body{padding:9px!important}
body.cp-card-editorial .cp-product-card{box-shadow:none!important;border:0!important;border-radius:0!important}body.cp-card-editorial .cp-product-media,body.cp-card-editorial .cp-product-media>img{border-radius:0!important}body.cp-card-editorial .cp-product-body{padding:12px 0!important}

/* Categorías: pills / tiles / icons / tabs */
body.cp-category-tabs .cats{border-bottom:1px solid var(--ui-line);gap:18px}body.cp-category-tabs .cat{border:0!important;background:transparent!important;border-radius:0!important;padding:10px 2px!important}body.cp-category-tabs .cat.on{color:var(--p)!important;background:transparent!important;border-bottom:3px solid var(--p)!important}
body.cp-category-tiles .cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}body.cp-category-tiles .cat{justify-content:flex-start;border-radius:14px!important;min-height:58px}
body.cp-category-icons .cat{min-width:92px;flex-direction:column;justify-content:center;gap:5px;border-radius:16px!important;padding:11px!important}body.cp-category-icons .cat svg{width:22px;height:22px}
body.cp-cart-drawer .cart-dock{display:none!important}body.cp-cart-floating .cart-dock.on{display:flex}
body.cp-sticky-cats #categoriesSection{position:sticky;top:64px;z-index:25;background:#fff!important;border-bottom:1px solid var(--ui-line)!important;padding-block:12px!important}

/* ========== MAESTRA 1 · RESTAURANTE DELIVERY / FAST FOOD ========== */
body.cp-template-restaurant-fastfood{background:#fff!important}
body.cp-template-restaurant-fastfood #hero{min-height:360px!important}
body.cp-template-restaurant-fastfood .store-summary-card{max-width:930px;margin-inline:auto;border-radius:28px;padding:20px 24px}
body.cp-template-restaurant-fastfood #promoSection .promo{background:linear-gradient(135deg,#fff,var(--ui-soft))!important}
body.cp-template-restaurant-fastfood #featuredSection .featured-item{min-width:min(350px,76vw)}
body.cp-template-restaurant-fastfood #products{grid-template-columns:repeat(var(--cp-cols,3),minmax(0,1fr));gap:18px}
body.cp-template-restaurant-fastfood .cp-product-card{display:grid;grid-template-columns:minmax(0,1fr) 150px;min-height:150px}
body.cp-template-restaurant-fastfood .cp-product-media{grid-column:2;grid-row:1;height:100%}
body.cp-template-restaurant-fastfood .cp-product-media>img{width:100%;height:100%!important;aspect-ratio:auto!important;object-fit:cover}
body.cp-template-restaurant-fastfood .cp-product-body{grid-column:1;grid-row:1;display:flex;flex-direction:column}
body.cp-template-restaurant-fastfood .cp-product-buy{margin-top:auto}
body.cp-template-restaurant-fastfood .cp-add-button{min-width:42px}
body.cp-template-restaurant-fastfood #menu>.wrap>.title h2:after{content:" · pide en pocos toques";font-weight:650;color:var(--ui-muted);font-size:.55em}

/* ========== MAESTRA 2 · MARKET SUPER ========== */
body.cp-template-market-super{background:#f7f8f6!important}
body.cp-template-market-super #hero{min-height:285px!important}
body.cp-template-market-super .store-summary{margin-top:-34px}
body.cp-template-market-super #catalogStage{display:grid;grid-template-columns:240px minmax(0,1fr);gap:26px;width:min(1320px,calc(100% - 32px));margin-inline:auto;align-items:start}
body.cp-template-market-super #catalogStage>.section>.wrap{width:auto!important;margin:0!important}
body.cp-template-market-super #categoriesSection{position:sticky;top:78px;padding:22px 0!important;background:transparent!important}
body.cp-template-market-super #categoriesSection .title{display:block!important}
body.cp-template-market-super #categoriesSection .cats{display:flex;flex-direction:column;overflow:visible;padding:0;gap:7px}
body.cp-template-market-super #categoriesSection .cat{width:100%;justify-content:flex-start;border-radius:12px!important;background:#fff!important;box-shadow:0 4px 14px rgba(20,30,20,.04)}
body.cp-template-market-super #categoriesSection .cat.on{background:#173f2b!important;color:#fff!important}
body.cp-template-market-super #menu{padding-top:22px!important}
body.cp-template-market-super #products{grid-template-columns:repeat(var(--cp-cols,5),minmax(0,1fr));gap:10px!important}
body.cp-template-market-super .cp-product-card{border-radius:14px!important;background:#fff!important}
body.cp-template-market-super .cp-product-media>img{padding:10px;object-fit:contain;background:#fff}
body.cp-template-market-super .cp-product-body{padding:10px!important}
body.cp-template-market-super .cp-product-body h3{font-size:.82rem;line-height:1.2}
body.cp-template-market-super .cp-product-description{display:none!important}
body.cp-template-market-super .cp-add-button{width:34px;min-width:34px;height:34px;padding:0!important;border-radius:50%!important;font-size:1.15rem!important}
body.cp-template-market-super .product-meta{font-size:.65rem}body.cp-template-market-super .price{font-size:.95rem!important}

/* ========== MAESTRA 3 · TIENDA CATÁLOGO PRO ========== */
body.cp-template-store-catalog{background:#fff!important}
body.cp-template-store-catalog #hero{min-height:430px!important}
body.cp-template-store-catalog #catalogStage{display:grid;grid-template-columns:210px minmax(0,1fr);gap:38px;width:min(1280px,calc(100% - 36px));margin-inline:auto;align-items:start}
body.cp-template-store-catalog #catalogStage>.section>.wrap{width:auto!important;margin:0!important}
body.cp-template-store-catalog #categoriesSection{position:sticky;top:82px;padding:28px 0!important;background:#fff!important}
body.cp-template-store-catalog #categoriesSection .cats{display:flex;flex-direction:column;overflow:visible;gap:3px}
body.cp-template-store-catalog #categoriesSection .cat{justify-content:flex-start;background:transparent!important;border:0!important;border-radius:0!important;padding:10px 4px!important}
body.cp-template-store-catalog #categoriesSection .cat.on{color:var(--p)!important;background:transparent!important;border-left:3px solid var(--p)!important;padding-left:12px!important}
body.cp-template-store-catalog #products{grid-template-columns:repeat(var(--cp-cols,4),minmax(0,1fr));gap:24px}
body.cp-template-store-catalog .cp-product-card{border:0!important;box-shadow:none!important;border-radius:0!important}
body.cp-template-store-catalog .cp-product-media{background:#f5f3f1;border-radius:0!important}
body.cp-template-store-catalog .cp-product-media>img{object-fit:cover}
body.cp-template-store-catalog .cp-product-body{padding:12px 0!important}
body.cp-template-store-catalog .cp-product-description{font-size:.78rem}
body.cp-template-store-catalog .cp-add-button{background:transparent!important;color:var(--tx)!important;border:1px solid #1f1f1f!important}
body.cp-template-store-catalog #featuredSection .featured-track{gap:24px}
body.cp-template-store-catalog #featuredSection .featured-item{min-width:min(420px,82vw);border-radius:0!important}
body.cp-template-store-catalog #featuredSection .featured-item img{border-radius:0!important;aspect-ratio:16/9}

@media(max-width:980px){
 body.cp-template-market-super #catalogStage,body.cp-template-store-catalog #catalogStage{grid-template-columns:1fr;width:auto;margin:0}
 body.cp-template-market-super #categoriesSection,body.cp-template-store-catalog #categoriesSection{position:static;padding-bottom:6px!important}
 body.cp-template-market-super #categoriesSection .cats,body.cp-template-store-catalog #categoriesSection .cats{flex-direction:row;overflow:auto}
 body.cp-template-market-super #categoriesSection .cat,body.cp-template-store-catalog #categoriesSection .cat{width:auto;white-space:nowrap}
 body.cp-template-market-super #catalogStage>.section>.wrap,body.cp-template-store-catalog #catalogStage>.section>.wrap{width:min(100% - 32px,900px)!important;margin:auto!important}
}
@media(max-width:760px){
 body.cp-header-centered .nav{grid-template-columns:44px minmax(0,1fr) 44px}
 body.cp-storefront #products{grid-template-columns:repeat(var(--cp-mobile-cols,1),minmax(0,1fr))!important}
 body.cp-category-tiles .cats{display:flex;overflow:auto}body.cp-category-icons .cat{min-width:78px}body.cp-sticky-cats #categoriesSection{position:static!important}
 body.cp-template-restaurant-fastfood #hero{min-height:215px!important}body.cp-template-restaurant-fastfood .store-summary-card{margin:0;border-radius:22px;padding:13px}
 body.cp-template-restaurant-fastfood #products{grid-template-columns:1fr!important}body.cp-template-restaurant-fastfood .cp-product-card{grid-template-columns:minmax(0,1fr) 118px!important;min-height:126px}body.cp-template-restaurant-fastfood .cp-product-media>img{min-height:126px}body.cp-template-restaurant-fastfood #menu>.wrap>.title h2:after{display:none}
 body.cp-template-market-super #hero{min-height:190px!important}body.cp-template-market-super #products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}body.cp-template-market-super .cp-product-card{display:block!important;min-height:0!important}body.cp-template-market-super .cp-product-media{height:auto!important}body.cp-template-market-super .cp-product-media>img{aspect-ratio:1/1!important;height:auto!important}body.cp-template-market-super .cp-product-body{display:block!important}
 body.cp-template-store-catalog #hero{min-height:225px!important}body.cp-template-store-catalog #products{grid-template-columns:repeat(var(--cp-mobile-cols,2),minmax(0,1fr))!important;gap:14px!important}body.cp-template-store-catalog .cp-product-card{display:block!important;min-height:0!important}body.cp-template-store-catalog .cp-product-media{height:auto!important}body.cp-template-store-catalog .cp-product-media>img{aspect-ratio:var(--cp-image-ratio,1/1)!important;height:auto!important}body.cp-template-store-catalog .cp-product-body{display:block!important}
}

/* V9.6.1 · Menú/Catálogo operativo + documento */
.catalog-document-section{padding-top:var(--cp-section-space,54px);padding-bottom:var(--cp-section-space,54px)}
.catalog-document-card{display:grid;grid-template-columns:1.2fr .8fr;gap:26px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:calc(var(--r) + 4px);padding:28px;box-shadow:var(--shadow)}
.catalog-document-kicker{display:inline-flex;padding:7px 10px;border-radius:999px;background:color-mix(in srgb,var(--p) 11%,#fff);color:var(--p);font-weight:900;font-size:.76rem;text-transform:uppercase;letter-spacing:.04em}
.catalog-document-copy h2{font-size:clamp(1.7rem,3vw,2.4rem);margin:12px 0 8px;letter-spacing:-.03em}.catalog-document-copy p{color:var(--muted);line-height:1.6;max-width:650px}.catalog-document-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.catalog-document-actions .light{border:1px solid var(--line);color:var(--tx);background:#fff}
.catalog-document-preview{min-height:220px;border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--p) 9%,#fff),#f8fafc);border:1px dashed color-mix(in srgb,var(--p) 30%,var(--line));display:grid;place-items:center;overflow:hidden}.catalog-document-preview img{width:100%;height:100%;max-height:340px;object-fit:contain;background:#fff}.catalog-document-preview.no-image:after{content:'PDF / Documento';font-weight:950;color:var(--muted);font-size:1.15rem}
body.cp-catalog-disabled #catalogStage,body.cp-catalog-disabled #featuredSection,body.cp-catalog-disabled #promoSection,body.cp-catalog-disabled #catalogDocumentSection{display:none!important}
body.cp-orders-disabled .cp-add-button,body.cp-orders-disabled #cartDock,body.cp-orders-disabled #topCartButton{display:none!important}
body.cp-prices-hidden .cp-price-stack,body.cp-prices-hidden .featured-item .price{display:none!important}
@media(max-width:760px){.catalog-document-card{grid-template-columns:1fr;padding:20px}.catalog-document-preview{min-height:160px}.catalog-document-actions .btn{flex:1}}
