/* Customer store only. The CRM keeps its existing stylesheet and behavior. */
.landing { --store-header: 76px; }
.landing .hidden { display: none !important; }
.landing .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.landing .skip-link { position: fixed; top: -90px; left: 1rem; z-index: 100; padding: 1rem; background: var(--cream); color: var(--burgundy); border-radius: .5rem; }
.landing .skip-link:focus { top: .5rem; }
.landing :where(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }
.landing :where(h2, main)[tabindex="-1"]:focus { outline: none; }
.landing :where(#menuTitulo, #checkoutTitulo, #view-home) { scroll-margin-top: calc(var(--store-header) + 24px); }
.landing .topbar { min-height: var(--store-header); padding: .7rem max(1.25rem, calc((100vw - 1160px) / 2)); }
.landing .topbar .brand span { font-size: 1.25rem; }
.landing .topbar .brand img { height: 40px; width: 40px; object-fit: contain; }
.landing .topbar .LogoHeader img { height: 44px; width: auto; }
.landing .topbar .nav { gap: .75rem; }
.landing .topbar #btnCart { background: var(--cream); color: var(--burgundy); border-color: var(--cream); min-height: 44px; gap: .6rem; }
.landing .cart-count { display: inline-grid; place-items: center; min-width: 23px; height: 23px; padding: 0 .3rem; border-radius: 50%; background: var(--burgundy); color: var(--cream); font-size: .72rem; }
.landing .account-menu { position: relative; }
.landing .account-menu > summary { list-style: none; cursor: pointer; padding: .7rem .5rem; font-size: .85rem; font-weight: 600; }
.landing .account-menu > summary::-webkit-details-marker { display: none; }
.landing .account-menu > summary::after { content: "⌄"; margin-left: .5rem; }
.landing .account-menu-panel { position: absolute; right: 0; top: calc(100% + .5rem); width: 190px; padding: .5rem; border-radius: .75rem; border: 1px solid var(--cream-dark); box-shadow: var(--shadow-lg); background: #fff; }
.landing .topbar .account-menu-panel button { display: block; width: 100%; text-align: left; color: var(--dark); border: 0; padding: .8rem; }
.landing .topbar .account-menu-panel button:hover { background: var(--cream); }
.landing .topbar :where(button, summary, a):focus-visible { outline-color: #e7c99d; }
.landing .hero { padding: 2.25rem 1.25rem 2.75rem; }
.landing .hero-inner { gap: 3rem; }
.landing .hero .hero-logo { height: clamp(96px, 9vw, 120px); margin-bottom: 1rem; }
.landing .hero .hero-title { font-size: clamp(2.2rem, 4vw, 3.25rem); max-width: 17ch; line-height: 1.08; }
.landing .hero .hero-sub { font-size: .96rem; max-width: 43ch; }
.landing .hero-media img { height: 390px; object-position: center 67%; transform: none; border-width: 1px; border-color: rgba(255,255,255,.2); border-radius: 1rem 4rem 1rem 1rem; }
.landing .hero-cta { flex-direction: column; align-items: flex-start; gap: .95rem; margin-top: 1.35rem; }
.landing .hero-cta .btn { min-width: 215px; justify-content: space-between; padding: .9rem 1.2rem; }
.landing .hero-club-link { color: #efe0c7; font-size: .82rem; text-decoration: underline; text-underline-offset: 4px; }
.landing .hero-chips { margin-top: 1.3rem; }
.landing .store-service-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem 2rem; padding: .9rem 1.25rem; background: #eee7d8; color: var(--olive-dark); font-size: .8rem; line-height: 1.5; text-align: center; border-bottom: 1px solid #e3dbc9; }
.landing .store-service-track, .landing .store-service-group { display: contents; }
.landing .store-service-repeat { display: none; }
.landing .store-service-strip:focus-visible { outline: 2px solid var(--olive); outline-offset: -3px; }
@keyframes store-service-scroll {
  to { transform: translateX(-50%); }
}
.landing .store-menu { padding-top: 3.5rem; padding-bottom: 2rem; }
.landing .menu-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.6rem; }
.landing .menu-heading h2 { margin-bottom: .6rem; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.landing .menu-heading p { font-size: .9rem; max-width: 58ch; line-height: 1.6; margin: 0; }
.landing #precioModo { flex-shrink: 0; margin-bottom: .25rem; font-size: .7rem; }
.landing .category-nav { display: flex; gap: .55rem; overflow-x: auto; padding: .35rem 0 .85rem; margin-bottom: 1.5rem; scrollbar-width: thin; }
.landing .category-pill { flex-shrink: 0; padding: .7rem 1.1rem; min-height: 44px; border: 1px solid #ded5c4; border-radius: 100px; color: var(--dark); background: transparent; font: 600 .84rem "Inter", sans-serif; cursor: pointer; transition: background .15s, color .15s; }
.landing .category-pill:hover { background: #eee7d8; }
.landing .category-pill[aria-pressed="true"] { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.landing .catalog-loading, .landing .catalog-error, .landing .catalog-empty { padding: 2.5rem 1.5rem; text-align: center; background: #fff9; border: 1px solid var(--cream-dark); border-radius: 1rem; line-height: 1.6; }
.landing .catalog-error h3, .landing .catalog-empty h3 { margin-bottom: .75rem; color: var(--burgundy); }
.landing .catalog-error p, .landing .catalog-empty p { margin-bottom: 1rem; color: var(--gray); }
.landing .catalogo { gap: 2.5rem; }
.landing .grid-productos { grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 1.25rem; }
.landing .product-card { border-color: #e8dfd0; border-radius: .85rem; }
.landing .product-card .product-img { padding: 0; height: auto; aspect-ratio: 4/3; background-image: none; background-color: #efe8dc; }
.landing .product-card .product-img img { object-fit: cover; }
.landing .product-card .product-body { padding: 1.1rem; }
.landing .product-card .product-name { font-size: 1.18rem; line-height: 1.3; }
.landing .product-card .product-meta { font-size: .87rem; margin-top: .4rem; font-weight: 500; }
.landing .product-card .product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; font-size: 1.35rem; margin-top: .85rem; }
.landing .product-price > span { font-size: .7rem; font-weight: 400; color: var(--gray); }
.landing .product-stock { font-size: .69rem; padding: .35rem .6rem; }
.landing .product-availability { font-size: .73rem; line-height: 1.5; color: var(--gray); margin-top: .6rem; margin-bottom: .15rem; }
.landing .product-actions { gap: .65rem; padding-top: 1rem; }
.landing .product-qty { display: flex; align-items: center; border: 1px solid var(--gray-light); border-radius: .55rem; overflow: hidden; flex-shrink: 0; }
.landing .qty-btn { min-width: 38px; min-height: 42px; border: 0; border-radius: .4rem; color: var(--dark); font-size: 1rem; }
.landing .product-qty .qty-btn { border-radius: 0; background: var(--cream); min-width: 32px; }
.landing .product-actions .input-sm { width: 34px; border: 0; background: #fff; padding: .2rem 0; font-size: .9rem; appearance: textfield; -moz-appearance: textfield; box-shadow: none; }
.landing .product-actions input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.landing .product-actions .btn { min-height: 44px; padding: .65rem .75rem; justify-content: space-between; }
.landing .text-button { appearance: none; border: 0; background: none; color: var(--burgundy); font: 600 .85rem "Inter", sans-serif; padding: .5rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-align: left; }
.landing .field-label { display: block; margin-bottom: .4rem; font-size: .85rem; font-weight: 600; }
.landing.is-checkout { background: #f6f2e9; }
.landing.is-checkout .topbar { box-shadow: none; }
.landing #view-checkout { padding-top: 2rem; max-width: 1080px; }
.landing .checkout-head { margin: .5rem 0 1.75rem; }
.landing .checkout-head .section-title { max-width: 24ch; font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.2; }
.landing .checkout-sub { max-width: 65ch; margin-top: .7rem; line-height: 1.7; }
.landing .checkout-grid { gap: 1.5rem; }
.landing .checkout-summary { top: calc(var(--store-header) + 20px); }
.landing .checkout-card-head h3 { font-size: 1.25rem; }
.landing .guest-invitation { padding: .9rem 1rem; background: #f3f5ee; border-left: 3px solid var(--olive); border-radius: .4rem; font-size: .85rem; line-height: 1.6; }
.landing .guest-invitation p { margin: .2rem 0 0; color: var(--gray); }
.landing .guest-invitation .text-button { padding-bottom: 0; }
.landing .pickup-info { margin-top: .85rem; padding: 1rem; background: var(--cream); border-radius: .65rem; font-size: .85rem; }
.landing .pickup-info select { margin: .7rem 0; }
.landing .checkout-item { grid-template-columns: 42px minmax(0, 1fr) auto; row-gap: .4rem; padding: .85rem 0; }
.landing .checkout-item-qty { display: flex; align-items: center; gap: .4rem; padding: 0; background: transparent; border: 0; }
.landing .checkout-item-qty .qty-btn { min-width: 32px; min-height: 36px; background: var(--cream); }
.landing .checkout-item-qty > span { min-width: 14px; text-align: center; }
.landing .checkout-item-info strong { font-size: .85rem; }
.landing .checkout-item-total { font-size: .85rem; }
.landing .checkout-coupon { padding: 0; border: 0; background: transparent; }
.landing .checkout-coupon > summary { cursor: pointer; font-size: .84rem; color: var(--burgundy); padding: .6rem 0; }
.landing .checkout-coupon label { margin-top: .6rem; }
.landing .checkout-grand-total { font-size: .95rem; }
.landing .checkout-grand-total strong { font-size: 1.5rem; }
.landing [aria-invalid="true"] { border-color: var(--danger); outline: 2px solid var(--danger); }
.landing.modal-open { overflow: hidden; }
.landing .modal { max-height: calc(100dvh - 4rem); overflow-y: auto; }
.landing .modal-head { position: sticky; top: 0; z-index: 2; background: #fff; }
.landing .modal-foot { position: sticky; bottom: 0; z-index: 2; background: #fff; }
.landing .cart-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .5rem .7rem; }
.landing .cart-item > .flex-1 { grid-column: 1 / -1; }
.landing .cart-item > strong { justify-self: end; font-size: .92rem; }
.landing .cart-item > .qty { gap: .6rem; }
.landing .cart-item > button:last-child { justify-self: end; }
.landing .cart-subtotal { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; font-weight: 600; }
.landing .store-feedback { position: fixed; z-index: 55; bottom: 1.25rem; left: 50%; transform: translateX(-50%); max-width: min(92vw, 540px); width: max-content; padding: .9rem 1.25rem; border-radius: .75rem; background: var(--olive-dark); color: #fff; font-size: .85rem; line-height: 1.5; box-shadow: var(--shadow-lg); pointer-events: none; }
.landing .mobile-cart { display: none; }
.landing .club-section h2 { max-width: 19ch; }
.landing .footer { margin-top: 3rem; }
.landing .footer { padding: 3rem 0 1.25rem; border-top-width: 2px; }
.landing .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.8fr); gap: 2.5rem; }
.landing .footer-grid > * { min-width: 0; }
.landing .footer-brand { grid-column: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.landing .footer-brand img { display: block; width: 180px; max-width: 100%; height: auto; margin: 0; border-radius: 0; }
.landing .footer-col + .footer-col { border-left: 0; padding-left: 0; }
.landing .footer-col h4 { margin: .2rem 0 1rem; font-family: "Inter", sans-serif; font-size: .7rem; font-weight: 600; letter-spacing: .14em; color: #dbc6aa; }
.landing .footer-link { width: fit-content; max-width: 100%; min-height: 44px; gap: .75rem; padding: .45rem 0; font-size: .9rem; }
.landing .footer-link + .footer-link { margin-top: .4rem; }
.landing .footer-link svg { width: 19px; height: 19px; color: #dbc6aa; }
.landing .footer-link-txt { min-width: 0; gap: .25rem; line-height: 1.4; overflow-wrap: anywhere; }
.landing .footer-link-txt small { font-size: .7rem; letter-spacing: .03em; text-transform: none; color: #d8bfc0; }
.landing .footer-social { font-size: .82rem; font-weight: 500; }
.landing .footer-social .footer-link-txt small { font-size: .68rem; }
.landing .footer-locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.landing .footer-lugar { align-content: start; gap: .4rem .6rem; padding: 1rem .85rem; margin: 0; border-radius: .65rem; background: rgba(250,245,235,.035); border-color: rgba(250,245,235,.14); }
.landing .footer-lugar:hover { background: rgba(250,245,235,.09); border-color: rgba(250,245,235,.3); }
.landing .footer-lugar svg { width: 16px; height: 18px; color: #dbc6aa; }
.landing .footer-lugar-txt { gap: .25rem; line-height: 1.4; }
.landing .footer-lugar-zona { font-size: .85rem; font-weight: 600; }
.landing .footer-lugar-ciudad { font-size: .75rem; color: #d8bfc0; }
.landing .footer-lugar-accion { margin-top: .35rem; font-size: .62rem; letter-spacing: .06em; }
.landing .footer :where(a):focus-visible { outline-color: #e7c99d; border-radius: .25rem; }
.landing .footer-bottom { margin-top: 2.25rem; padding-top: 1.15rem; gap: .65rem 1.5rem; border-top-color: rgba(250,245,235,.14); }
.landing .footer-bottom p { font-size: .7rem; line-height: 1.7; color: #d8bfc0; }
.landing .footer-legal { flex-wrap: wrap; gap: .45rem .65rem; font-size: .7rem; line-height: 1.7; }
.landing .footer-legal a { color: #d8bfc0; }
@media (max-width: 900px) {
  .landing .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .landing .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .landing .footer-bottom { align-items: flex-start; flex-direction: column; }
  .landing .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 1.5rem; }
  .landing .hero-media img { height: 360px; }
  .landing .hero .hero-title { font-size: 2.35rem; }
  .landing .checkout-summary { position: static; }
  .landing .menu-heading { align-items: flex-start; flex-direction: column; }
  .landing .grid-productos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .landing .footer { padding-top: 2.25rem; }
  .landing .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .landing .footer-brand { gap: .8rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(250,245,235,.14); }
  .landing .footer-brand img { width: 160px; }
  .landing .footer-col h4 { margin-top: 0; margin-bottom: .75rem; }
  .landing .footer-locations { grid-template-columns: minmax(0, 1fr); }
  .landing .footer-lugar { padding: .9rem 1rem; }
  .landing .footer-bottom { margin-top: 1.75rem; }
  .landing { --store-header: 66px; }
  .landing .topbar { padding: .55rem 1rem; gap: .5rem; }
  .landing .topbar .brand span { font-size: 1rem; }
  .landing .topbar .brand img { display: none; }
  .landing .topbar .brand small { display: none; }
  .landing .topbar .nav { gap: .3rem; }
  .landing .account-menu > summary { font-size: .76rem; padding: .7rem .25rem; }
  .landing .topbar #btnCart { font-size: .76rem; padding: .5rem .65rem; }
  .landing .hero { padding: 1.6rem 1.25rem 1.8rem; }
  .landing .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .landing .hero .hero-logo { height: 76px; margin-bottom: .9rem; }
  .landing .hero .hero-title { font-size: clamp(2rem, 7.8vw, 2.7rem); max-width: 19ch; }
  .landing .hero .hero-sub { font-size: .86rem; line-height: 1.6; }
  .landing .hero-cta { margin-top: 1rem; gap: .8rem; }
  .landing .hero-cta .btn { flex: none; width: 100%; min-height: 48px; }
  .landing .hero-chips { display: none; }
  .landing .hero-media img { height: 165px; width: 100%; object-position: center 67%; border-radius: .75rem 2.5rem .75rem .75rem; }
  .landing .hero-badge { left: .6rem; bottom: .6rem; font-size: .58rem; letter-spacing: .03em; }
  .landing .store-service-strip { display: block; overflow: hidden; font-size: .75rem; padding: .8rem 0; text-align: left; cursor: grab; user-select: none; touch-action: pan-y pinch-zoom; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  .landing .store-service-track { display: flex; width: max-content; animation: store-service-scroll 40s linear infinite; }
  .landing .store-service-group { display: flex; flex: none; align-items: stretch; gap: 1.5rem; padding-right: 1.5rem; }
  .landing .store-service-group > span { flex: 0 0 min(84vw, 24rem); width: min(84vw, 24rem); min-height: 4.5em; align-content: center; white-space: normal; overflow-wrap: anywhere; font-size: inherit; line-height: inherit; }
  .landing .store-service-group strong { font-size: inherit; }
  .landing .store-service-strip:is(:focus-within, .is-dragging) .store-service-track { animation-play-state: paused; }
  .landing .store-service-strip.is-dragging { cursor: grabbing; }
  .landing .store-menu { padding-top: 2.25rem; }
  .landing .menu-heading { gap: .75rem; margin-bottom: 1rem; }
  .landing .menu-heading h2 { font-size: 1.75rem; }
  .landing .menu-heading p { font-size: .83rem; }
  .landing .category-nav { margin-bottom: 1rem; }
  .landing .category-pill { padding: .65rem 1rem; font-size: .79rem; }
  .landing .grid-productos { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .landing .product-card { display: flex; flex-direction: column; }
  .landing .product-card .product-img { height: auto; min-height: 0; aspect-ratio: 4/3; flex: none; }
  .landing .product-card:hover, .landing .product-card:hover .product-img img { transform: none; }
  .landing .product-card .product-body { padding: 1.1rem; min-width: 0; }
  .landing .product-card .product-name { font-size: 1.15rem; }
  .landing .product-card .product-meta { font-size: .85rem; }
  .landing .product-card .product-price { font-size: 1.35rem; gap: .1rem .3rem; margin-top: .75rem; }
  .landing .product-card .product-price > span { font-size: .7rem; }
  .landing .product-stock { top: .75rem; left: .75rem; padding: .35rem .6rem; font-size: .69rem; max-width: calc(100% - 1.5rem); }
  .landing .product-stock::before { flex-shrink: 0; }
  .landing .product-availability { font-size: .73rem; line-height: 1.5; }
  .landing .product-actions { flex-wrap: wrap; gap: .65rem; padding-top: .9rem; }
  .landing .product-actions .btn { flex: 1 1 90px; font-size: .85rem; padding: .65rem .75rem; }
  .landing .product-qty .qty-btn { min-width: 36px; min-height: 44px; }
  .landing .product-actions .input-sm { width: 36px; font-size: 16px; }
  .landing .mobile-cart { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; align-items: center; justify-content: space-between; gap: .6rem; border: 0; border-top: 1px solid #ffffff24; padding: 1rem 1.2rem calc(1rem + env(safe-area-inset-bottom)); min-height: 64px; color: #fff; background: var(--burgundy); box-shadow: 0 -5px 25px #2b221e22; font-family: "Inter", sans-serif; font-size: .84rem; cursor: pointer; }
  .landing .mobile-cart > strong { margin-left: auto; font-size: 1rem; }
  .landing.has-cart:not(.is-checkout) { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .landing .store-feedback { bottom: 1rem; font-size: .78rem; }
  .landing.has-cart:not(.is-checkout) .store-feedback { bottom: calc(85px + env(safe-area-inset-bottom)); }
  .landing #view-checkout { padding-top: 1.25rem; }
  .landing .checkout-head .section-title { font-size: 1.85rem; }
  .landing .checkout-sub { font-size: .84rem; }
  .landing .checkout-grid, .landing .checkout-col { gap: 1rem; }
  .landing .checkout-item { grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: .5rem; }
  .landing .checkout-item-thumb { width: 36px; height: 42px; }
  .landing .modal-backdrop { padding: 1rem .6rem; }
  .landing .modal { max-height: calc(100dvh - 2rem); }
  .landing .modal-foot .btn { min-height: 44px; }
  .landing .pasos-section { padding-top: 2rem; }
}
@media (max-width: 640px) and (hover: hover) {
  .landing .store-service-strip:hover .store-service-track { animation-play-state: paused; }
}
@media (max-width: 360px) {
  .landing .topbar { padding-inline: .7rem; }
  .landing .topbar .brand span { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.landing) { scroll-behavior: auto; }
  .landing *, .landing *::before, .landing *::after { animation: none !important; transition: none !important; }
  .landing .product-card:hover, .landing .product-card:hover .product-img img { transform: none; }
  .landing .store-service-strip { overflow-x: auto; touch-action: auto; }
  .landing .store-service-repeat { display: none; }
}
