/* NeoFarma MX · interfaz de app blanca y luminosa, independiente de la tienda oficial */
:root{
  color-scheme:light!important;
  --bg:#ffffff!important;
  --surface:#ffffff!important;
  --surface-2:#f4fbfd!important;
  --text:#15394c!important;
  --muted:#5b7480!important;
  --cyan:#087e9d!important;
  --green:#08764f!important;
  --line:rgba(0,143,177,.18)!important;
  --line-strong:rgba(0,151,177,.34)!important;
  --nf-app-ink:#15394c;
  --nf-app-muted:#5b7480;
  --nf-app-blue:#087e9d;
  --nf-app-green:#08764f;
  --nf-app-blue-glow:#00b5ea;
  --nf-app-green-glow:#27ce72
}
html{
  color-scheme:light!important;
  background-color:#fff!important
}
body.home-page,body.catalog-page,body.customer-page,body.cart-page,body.checkout-page,body.product-page,body.mayoreo-page{
  color-scheme:light!important;
  color:var(--nf-app-ink)!important;
  background-color:#fff!important;
  background-image:
    radial-gradient(ellipse 46rem 32rem at 7% 0%,rgba(0,181,234,.11),transparent 72%),
    radial-gradient(ellipse 36rem 28rem at 96% 8%,rgba(39,206,114,.10),transparent 72%),
    linear-gradient(rgba(255,255,255,.62),rgba(255,255,255,.62)),
    var(--nf-health-background,url("/assets/neo-futuristic-health-bg.webp?v=neo-health-bg-20261015-1"))!important;
  background-position:center top,center top,center top,center top!important;
  background-size:auto,auto,auto,cover!important;
  background-repeat:no-repeat!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility
}
body.home-page .app,body.catalog-page .app,body.customer-page .app,body.cart-page .app,body.checkout-page .app,body.product-page .app,body.mayoreo-page .app{
  min-height:100vh;
  color:var(--nf-app-ink)!important;
  background:transparent!important
}
body.home-page *,body.catalog-page *,body.customer-page *,body.cart-page *,body.checkout-page *,body.product-page *,body.mayoreo-page *{
  scrollbar-color:#a8d9df transparent
}
body.home-page h1,body.home-page h2,body.home-page h3,
body.catalog-page h1,body.catalog-page h2,body.catalog-page h3,
body.customer-page h1,body.customer-page h2,body.customer-page h3,
body.cart-page h1,body.cart-page h2,body.cart-page h3,
body.checkout-page h1,body.checkout-page h2,body.checkout-page h3,
body.product-page h1,body.product-page h2,body.product-page h3,
body.mayoreo-page h1,body.mayoreo-page h2,body.mayoreo-page h3{
  color:var(--nf-app-ink)!important
}
body.home-page .neo-premium-hero h1,body.home-page .neo-premium-section-head h2,
body.customer-page .farmi-copy h1,body.customer-page .customer-section-heading h2,
body.customer-page .customer-results__head h2,body.catalog-page .catalog-intro h1,
body.cart-page .cart-intro h1,body.checkout-page .checkout-intro h1,
body.product-page .product-detail__content h1,body.mayoreo-page .mayoreo-hero h1{
  color:var(--nf-app-ink)!important
}
body.home-page p,body.catalog-page p,body.customer-page p,body.cart-page p,
body.checkout-page p,body.product-page p,body.mayoreo-page p{
  color:#526c79
}
body .app-header,body .app-header--neo,body .customer-header--premium{
  color:var(--nf-app-ink)!important;
  background-color:rgba(255,255,255,.91)!important;
  border-bottom-color:rgba(0,145,174,.22)!important;
  box-shadow:0 8px 26px rgba(18,79,100,.09),0 0 22px rgba(0,181,234,.06)!important
}
body .app-header__bar,body .app-header__bar--home,body .customer-header__bar{
  color:var(--nf-app-ink)!important
}
body .brand img,body .customer-header__brand img,body .header-signature__logo{
  mix-blend-mode:normal!important
}
body .header-cart,body .install-header,body .neo-premium-nav,
body .neo-premium-sidebar,body .customer-header__nav a{
  color:#15506a!important;
  background-color:rgba(255,255,255,.96)!important;
  border-color:#cfe4e9!important
}
body .header-cart:hover,body .install-header:hover,body .customer-header__nav a:hover{
  color:#087e9d!important;
  border-color:#64bfd0!important;
  box-shadow:0 0 18px rgba(0,181,234,.16)!important
}
body .bottom-dock,body .customer-dock{
  color:var(--nf-app-ink)!important;
  background:rgba(255,255,255,.97)!important;
  border-color:#d8e9ec!important;
  box-shadow:0 -8px 26px rgba(16,73,89,.09),0 0 22px rgba(0,181,234,.05)!important
}
body .bottom-dock a,body .customer-dock a{color:#526d7b!important}
body .bottom-dock a.active,body .customer-dock a.active{
  color:#087b83!important;
  background:linear-gradient(135deg,#eaf8fc,#eafaf3)!important;
  box-shadow:inset 0 0 0 1px rgba(0,164,178,.12),0 0 15px rgba(0,181,234,.09)!important
}
body .neo-premium-hero,body .neo-premium-sidebar,body .neo-premium-nav,
body .neo-premium-sidecard,body .neo-premium-search,body .neo-premium-products,
body .neo-premium-benefits article,body .farmi-companion,
body .farmi-intro,body .customer-quick,body .customer-results,body .customer-help,
body .catalog-intro,body .catalog-master,body .catalog-summary,
body .cart-intro,body .cart-products,body .cart-summary,
body .checkout-intro,body .checkout-panel,body .checkout-summary,
body .checkout-delivery,body .product-detail,body .product-detail__media,
body .product-detail__content,body .product-error,
body .mayoreo-hero,body .mayoreo-steps__grid article,body .mayoreo-note,
body .mayoreo-catalog-hint,body .wholesale-promo,body .mayoreo-form{
  color:var(--nf-app-ink)!important;
  background-color:rgba(255,255,255,.96)!important;
  border-color:rgba(0,143,177,.18)!important;
  box-shadow:0 15px 40px rgba(17,72,91,.075),0 0 24px rgba(0,181,234,.035)!important
}
body .neo-premium-hero,body .farmi-intro,body .catalog-intro,
body .cart-intro,body .checkout-intro,body .mayoreo-hero{
  background-image:
    radial-gradient(ellipse at 92% 8%,rgba(39,206,114,.12),transparent 38%),
    radial-gradient(ellipse at 8% 92%,rgba(0,181,234,.12),transparent 42%),
    linear-gradient(130deg,#fff 0%,#f4fbfe 58%,#f2fbf6 100%)!important
}
body .neo-premium-scene__grid{opacity:.28!important}
body .neo-premium-halo{box-shadow:0 0 52px rgba(0,181,234,.18)!important}
body .product-card,body .category-grid button,body .customer-category-grid button,
body .catalog-filters button,body .farmi-capabilities li,body .cart-item,
body .checkout-item,body .product-detail__meta,body .mayoreo-step{
  color:var(--nf-app-ink)!important;
  background:rgba(255,255,255,.97)!important;
  border-color:#d4e8ec!important;
  box-shadow:0 8px 24px rgba(17,72,91,.055)!important
}
body .product-card__image,body .product-detail__image-wrap{
  background:linear-gradient(145deg,#fff,#f1fafc 56%,#f0faf5)!important
}
body .product-card h2,body .product-card h3,body .product-card strong,
body .product-card__price,body .cart-item strong,body .checkout-item strong{
  color:var(--nf-app-ink)!important
}
body .product-card__body,body .product-card__meta,body .product-card__presentation,
body .product-card__availability,body .customer-results__head p,
body .cart-products p,body .cart-summary p,body .checkout-panel p,
body .checkout-summary p,body .product-detail__description,
body .product-detail__meta,body .mayoreo-step p{
  color:var(--nf-app-muted)!important
}
body .neo-premium-hero__eyebrow,body .neo-premium-section-head>div>span,
body .customer-search__eyebrow,body .customer-section-heading>span,
body .customer-results__head>div>span,body .mayoreo-hero__eyebrow{
  color:#087e9d!important
}
body .neo-premium-btn--primary,body .neo-premium-searchbar button,
body .product-card__button,body .product-detail__add,body .product-detail__buy,
body .cart-primary,body .checkout-primary,body .customer-help>a,
body .mayoreo-form button,body .mayoreo-submit{
  color:#fff!important;
  background:linear-gradient(105deg,#087ab8 0%,#078d9a 52%,#127a50 100%)!important;
  border-color:transparent!important;
  box-shadow:0 8px 20px rgba(0,137,160,.19),0 0 18px rgba(0,181,234,.12)!important
}
body .neo-premium-btn--primary:hover,body .product-card__button:hover,
body .product-detail__add:hover,body .product-detail__buy:hover,
body .cart-primary:hover,body .checkout-primary:hover{
  filter:saturate(1.08) brightness(1.04)!important;
  box-shadow:0 10px 26px rgba(0,137,160,.24),0 0 21px rgba(39,206,114,.12)!important
}
body .neo-premium-btn--secondary,body .product-card__link,body .product-detail__links a,
body .cart-secondary,body .checkout-secondary,body .product-back,
body .customer-load-more,body .mayoreo-form a{
  color:#08788f!important;
  background:rgba(255,255,255,.97)!important;
  border-color:#b9dce4!important
}
body input,body select,body textarea{
  color:var(--nf-app-ink)!important;
  background:#fff!important;
  border-color:#c8dfe5!important;
  color-scheme:light!important
}
body input::placeholder,body textarea::placeholder{color:#718893!important;opacity:1}
body input:focus,body select:focus,body textarea:focus{
  border-color:#08a8b7!important;
  box-shadow:0 0 0 3px rgba(0,172,190,.15),0 0 18px rgba(0,181,234,.10)!important
}
body .search-shell,body .customer-searchbox,body .neo-premium-searchbar{
  color:var(--nf-app-ink)!important;
  background:rgba(255,255,255,.97)!important;
  border-color:#cce4e9!important;
  box-shadow:0 9px 25px rgba(14,73,91,.075),0 0 17px rgba(0,181,234,.055)!important
}
body .search-shell>svg,body .customer-searchbox>svg{color:#078fa6!important}
body button:focus-visible,body a:focus-visible{
  outline-color:#079fc0!important;
  box-shadow:0 0 0 4px rgba(0,181,234,.16)!important
}
body .neo-premium-footer,body .neo-info-links{
  color:#496572!important;
  border-color:#d8e8eb!important
}
body .neo-premium-footer a,body .neo-info-links a{color:#087b82!important}
body .farmi-chat__header,body .farmi-chat__messages,body .farmi-chat__composer,
body .farmi-chat__note{color:var(--nf-app-ink)!important}
@media(max-width:700px){
  body.home-page,body.catalog-page,body.customer-page,body.cart-page,
  body.checkout-page,body.product-page,body.mayoreo-page{
    background-attachment:scroll!important
  }
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* Page-specific precedence over legacy dark-theme rules */
body.home-page .neo-premium-hero,body.home-page .neo-premium-sidebar,
body.home-page .neo-premium-nav,body.home-page .neo-premium-sidecard,
body.home-page .neo-premium-search,body.home-page .neo-premium-products,
body.home-page .neo-premium-benefits article,body.home-page .farmi-companion,
body.customer-page .farmi-intro,body.customer-page .customer-quick,
body.customer-page .customer-results,body.customer-page .customer-help,
body.catalog-page .catalog-intro,body.catalog-page .catalog-master,
body.catalog-page .catalog-summary,body.cart-page .cart-intro,
body.cart-page .cart-products,body.cart-page .cart-summary,
body.checkout-page .checkout-intro,body.checkout-page .checkout-panel,
body.checkout-page .checkout-summary,body.product-page .product-detail,
body.product-page .product-detail__media,body.product-page .product-detail__content,
body.mayoreo-page .mayoreo-hero,body.mayoreo-page .mayoreo-note,
body.mayoreo-page .mayoreo-catalog-hint,body.mayoreo-page .mayoreo-steps__grid article,
body.mayoreo-page .mayoreo-form,body.mayoreo-page .wholesale-promo{
  color:var(--nf-app-ink)!important;
  background:rgba(255,255,255,.96)!important;
  border-color:rgba(0,143,177,.2)!important;
  box-shadow:0 15px 40px rgba(17,72,91,.075),0 0 24px rgba(0,181,234,.035)!important
}
body.home-page .neo-premium-hero,body.customer-page .farmi-intro,
body.catalog-page .catalog-intro,body.cart-page .cart-intro,
body.checkout-page .checkout-intro,body.mayoreo-page .mayoreo-hero{
  background-image:radial-gradient(ellipse at 92% 8%,rgba(39,206,114,.12),transparent 38%),radial-gradient(ellipse at 8% 92%,rgba(0,181,234,.12),transparent 42%),linear-gradient(130deg,#fff 0%,#f4fbfe 58%,#f2fbf6 100%)!important
}
body.cart-page .cart-item,body.checkout-page .checkout-delivery,
body.checkout-page .checkout-item,body.product-page .product-error,
body.catalog-page .catalog-filters button,body.customer-page .customer-category-grid button{
  color:var(--nf-app-ink)!important;background:#fff!important;border-color:#d4e8ec!important
}
body.home-page .neo-premium-btn--primary,body.home-page .neo-premium-searchbar button,
body.catalog-page .product-card__button,body.customer-page .customer-help>a,
body.cart-page .cart-primary,body.checkout-page .checkout-primary,
body.product-page .product-detail__add,body.product-page .product-detail__buy,
body.mayoreo-page .mayoreo-form button,body.mayoreo-page .mayoreo-submit{
  color:#fff!important;background:linear-gradient(105deg,#087ab8 0%,#078d9a 52%,#127a50 100%)!important;border-color:transparent!important
}
body .product-card__actions .product-card__button{color:#fff!important;background:linear-gradient(105deg,#087ab8 0%,#078d9a 52%,#127a50 100%)!important;border-color:transparent!important}


/* Mobile header: keep the sticky brand legible and avoid flicker near the top. */
@media(max-width:760px){
  body.home-page .app-header--neo,
  body.home-page .app-header--neo .app-header__bar--home{
    transition:background-color .2s ease,background-image .2s ease,border-color .2s ease,box-shadow .2s ease!important
  }
  body.home-page .app-header--neo.is-scrolled{
    background-color:rgba(255,255,255,.98)!important;
    background-image:linear-gradient(135deg,rgba(255,255,255,.99),rgba(239,249,251,.98))!important;
    background-position:center!important;
    border-bottom-color:rgba(0,145,174,.2)!important;
    box-shadow:0 7px 22px rgba(18,79,100,.12),0 0 18px rgba(0,181,234,.06)!important
  }
  body.home-page .app-header--neo.is-scrolled .app-header__bar--home{
    box-sizing:border-box!important;
    min-height:76px!important;
    padding-block:6px!important
  }
  body.home-page .app-header--neo.is-scrolled .app-header__bar--home>.brand.brand--home{
    width:clamp(120px,32vw,132px)!important;
    padding:3px 7px!important;
    border-color:#cfe4e9!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 3px 12px rgba(15,91,111,.10),0 0 15px rgba(0,181,234,.08)!important
  }
  body.home-page .app-header--neo.is-scrolled .app-header__bar--home>.brand.brand--home img{
    max-height:40px!important
  }
  body.home-page .app-header--neo.is-scrolled .header-brand-actions{
    gap:7px!important
  }
}
