/* 11/11/2026 Home nueva de dionequimica.com.ar. Se carga desde index.html; para volver atras, sacar las 2 lineas de index.html. */

/* Lo que se saca: banners informativos viejos, mapa en ingles y video viejo. Los sellos (logos-footer) quedan. */
app-home > app-home-banner,
app-home > div.container:not(.logos-footer),
app-home > div.video-home { display: none !important; }

.dn { font-family: Roboto, "Helvetica Neue", Arial, sans-serif; color: #1f2933; box-sizing: border-box; }
.dn *, .dn *::before, .dn *::after { box-sizing: border-box; }
.dn-wrap { max-width: 1200px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.dn-h2 { margin: 0 0 6px; font-family: "Barlow Condensed", Roboto, sans-serif; font-weight: 700; font-size: 38px; line-height: 1.05; color: #003b62; }
.dn-sub { margin: 0 0 22px; font-size: 16px; color: #44515e; }
.dn a { text-decoration: none; }

/* Franja "por que Dione" */
.dn-trust { background: #eef4fa; border-bottom: 1px solid #d6e3f0; }
.dn-trust .dn-wrap { padding-top: 24px; padding-bottom: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.dn-trust__item { display: flex; gap: 14px; align-items: center; }
.dn-ico { width: 52px; height: 52px; flex: none; border-radius: 50%; background: #004996; display: flex; align-items: center; justify-content: center; }
.dn-trust__t { font-weight: 700; font-size: 17px; color: #003b62; }
.dn-trust__s { font-size: 14px; color: #44515e; }

/* Categorias */
.dn-cats .dn-wrap { padding-top: 48px; padding-bottom: 16px; }
.dn-cats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.dn-cat { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 8px; border: 1px solid #d6e3f0; border-radius: 16px; background: #fff; color: #003b62 !important; font-weight: 500; font-size: 15px; text-align: center; transition: border-color .15s, box-shadow .15s, transform .15s; }
.dn-cat:hover { border-color: #004996; box-shadow: 0 6px 18px rgba(0, 59, 98, .12); transform: translateY(-2px); }
.dn-cat__ico { width: 64px; height: 64px; border-radius: 50%; background: #eef4fa; display: flex; align-items: center; justify-content: center; }

/* Franja comercios */
.dn-b2b { background: #003b62; color: #fff; margin-top: 32px; }
.dn-b2b__main { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.dn-b2b__txt { flex: 1 1 420px; min-width: 0; }
.dn-tag { display: inline-block; background: #c23d39; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.dn-b2b h2 { margin: 16px 0 12px; font-family: "Barlow Condensed", Roboto, sans-serif; font-style: italic; font-size: 52px; line-height: 1; font-weight: 700; color: #fff; }
.dn-b2b p { margin: 0 0 24px; font-size: 18px; line-height: 1.5; color: #d6e3f0; }
.dn-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.dn-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 16px; }
.dn-btn--white { background: #fff; color: #003b62 !important; }
.dn-btn--line { border: 2px solid #fff; color: #fff !important; }
.dn-btn--blue { background: #004996; color: #fff !important; }
.dn-btn--outline { border: 2px solid #004996; color: #004996 !important; }
.dn-steps { flex: 1 1 340px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.dn-step { display: flex; gap: 16px; align-items: flex-start; background: #004996; border-radius: 16px; padding: 18px 20px; }
.dn-step__n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #003b62; font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.dn-step__t { font-weight: 700; font-size: 18px; }
.dn-step__s { font-size: 15px; color: #d6e3f0; }
.dn-stats { border-top: 1px solid #1d5683; }
.dn-stats .dn-wrap { padding-top: 24px; padding-bottom: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; text-align: center; }
.dn-stat__n { font-family: "Barlow Condensed", Roboto, sans-serif; font-size: 46px; font-weight: 700; line-height: 1; }
.dn-stat__s { font-size: 15px; color: #d6e3f0; }

/* Local de fabrica */
.dn-visit .dn-wrap { padding-top: 48px; padding-bottom: 32px; }
.dn-visit__card { border: 1px solid #d6e3f0; border-radius: 16px; padding: 28px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.dn-visit__info { display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: #44515e; }
.dn-visit__info strong { color: #1f2933; font-size: 17px; font-weight: 500; }

/* Celular */
@media (max-width: 600px) {
  .dn-h2 { font-size: 28px; }
  .dn-sub { font-size: 15px; margin-bottom: 14px; }

  /* Por que Dione: 2x2 compacto */
  .dn-trust .dn-wrap { grid-template-columns: 1fr 1fr; gap: 14px 10px; padding-top: 16px; padding-bottom: 16px; }
  .dn-trust__item { flex-direction: column; text-align: center; gap: 6px; }
  .dn-ico { width: 40px; height: 40px; }
  .dn-ico svg { width: 20px; height: 20px; }
  .dn-trust__t { font-size: 14px; line-height: 1.2; }
  .dn-trust__s { font-size: 12px; line-height: 1.3; }

  /* Categorias: una fila que se desliza con el dedo */
  .dn-cats .dn-wrap { padding-top: 28px; padding-right: 0; }
  .dn-cats__grid { display: flex; overflow-x: auto; gap: 10px; padding: 2px 16px 10px 0; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .dn-cats__grid::-webkit-scrollbar { display: none; }
  .dn-cat { flex: 0 0 104px; scroll-snap-align: start; padding: 14px 6px; font-size: 13px; gap: 8px; border-radius: 14px; }
  .dn-cat__ico { width: 52px; height: 52px; }
  .dn-cat__ico svg { width: 26px; height: 26px; }

  /* Comercios */
  .dn-b2b { margin-top: 16px; }
  .dn-b2b__main { padding-top: 32px; padding-bottom: 32px; gap: 24px; }
  .dn-b2b h2 { font-size: 36px; margin-top: 12px; }
  .dn-b2b p { font-size: 16px; margin-bottom: 18px; }
  .dn-btns { width: 100%; }
  .dn-btn { flex: 1 1 100%; justify-content: center; }
  .dn-step { padding: 14px 16px; gap: 12px; }
  .dn-step__n { width: 34px; height: 34px; font-size: 17px; }
  .dn-step__t { font-size: 16px; }
  .dn-step__s { font-size: 14px; }
  .dn-stats .dn-wrap { grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 18px; padding-bottom: 18px; }
  .dn-stat__n { font-size: 32px; }
  .dn-stat__s { font-size: 12px; line-height: 1.25; }

  /* Mostrador de fabrica */
  .dn-visit .dn-wrap { padding-top: 28px; padding-bottom: 16px; }
  .dn-visit__card { padding: 20px; gap: 16px; }
  .dn-visit__info { font-size: 15px; }
  .dn-visit__info strong { font-size: 16px; }
  .dn-visit .dn-btns { flex-wrap: nowrap; gap: 8px; }
  .dn-visit .dn-btn { flex: 1 1 0; padding: 0 10px; font-size: 15px; text-align: center; }
}

/* ===== 11/11/2026 v3: carga sin "ruedita", tarjetas de producto nuevas, menu celular ===== */

/* Pantalla de carga de arranque (cuadraditos animados): no se muestra */
#loader-overlay { display: none !important; }
/* Ruedita en cada foto: en su lugar, fondo gris suave */
figure.image mat-spinner, app-image mat-spinner { display: none !important; }
figure.image { background: #f3f6f9; border-radius: 12px; }

/* Tarjetas de producto (listados y "mas vendidos") */
mat-card.product-card.mat-card {
  border: 1px solid #e1e8f0 !important; border-radius: 16px !important; box-shadow: none !important;
  padding: 0 !important; overflow: hidden; transition: box-shadow .15s, transform .15s, border-color .15s;
  display: flex; flex-direction: column;
}
mat-card.product-card.mat-card:hover { box-shadow: 0 8px 24px rgba(0, 59, 98, .12) !important; border-color: #c9d8e8 !important; transform: translateY(-2px); }
mat-card.product-card > a { display: block; padding: 12px 12px 0; }
mat-card.product-card figure.image { width: 100% !important; height: 190px !important; margin: 0 !important; background: #f5f8fb; }
mat-card.product-card figure.image img { width: 100% !important; height: 100% !important; object-fit: contain !important; padding: 4px; box-sizing: border-box; }
mat-card.product-card .product-card__content {
  display: flex !important; flex-direction: column; text-align: left !important; padding: 12px 16px 16px !important; gap: 4px; flex: 1;
}
mat-card.product-card .product-card__content p.mat-h3 {
  order: 1; margin: 0 !important; font-size: 15px !important; font-weight: 500 !important; line-height: 1.3; color: #1f2933;
  display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; height: auto !important; padding: 0 !important;
}
mat-card.product-card .product-card__content > div:has(> p.mat-h3) { order: 1; }
mat-card.product-card .product-card__content h4.mat-h1 { order: 2; margin: 6px 0 0 !important; font-size: 22px !important; font-weight: 700 !important; color: #003b62 !important; line-height: 1.1; }
mat-card.product-card .product-card__content h4.mat-h1 > span { font-size: 12px !important; font-weight: 400; color: #5b6b7a; padding-top: 2px !important; }
mat-card.product-card .product-card__content h4.mat-h1 > span[style*="line-through"] { display: inline !important; color: #5b6b7a !important; margin-left: 6px; }
mat-card.product-card .dtosEscalonados { display: none !important; }
mat-card.product-card .dn-esc { order: 3; margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
mat-card.product-card .dn-esc__t { font-size: 12px; font-weight: 700; color: #004996; text-transform: uppercase; letter-spacing: .04em; }
mat-card.product-card .dn-esc__r { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: #1f2933; background: #eef4fa; border-radius: 8px; padding: 5px 9px; }
mat-card.product-card .dn-esc__r b { color: #003b62; white-space: nowrap; }
mat-card.product-card app-product-add-to-cart { order: 4; margin-top: auto; padding-top: 10px; }
mat-card.product-card .product-card__add-to-favorite { position: absolute !important; top: 18px !important; right: 18px !important; background: #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
mat-card.product-card .discount-percent { order: 0; align-self: flex-start; background: #c23d39; color: #fff; font-weight: 700; font-size: 12px; padding: 3px 8px; border-radius: 999px; }

/* Celular: grilla de 2 columnas con tarjetas verticales */
@media (max-width: 600px) {
  div.products-list { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 10px; }
  div.products-list > app-product { width: auto !important; max-width: none !important; margin: 0 !important; min-width: 0; }
  mat-card#product-mobile.product-card.mat-card { margin: 0 !important; width: auto !important; height: 100%; flex-direction: column !important; align-items: stretch !important; }
  mat-card#product-mobile.product-card > a { padding: 8px 8px 0; width: auto !important; max-width: none !important; flex: none !important; display: block !important; }
  mat-card#product-mobile .product-card__content { width: auto !important; max-width: none !important; flex: 1 1 auto !important; margin: 0 !important; }
  mat-card#product-mobile figure.image { width: 100% !important; min-width: 0 !important; max-width: none !important; height: 130px !important; }
  mat-card#product-mobile app-image { width: 100% !important; }
  mat-card#product-mobile .product-card__content { padding: 8px 10px 12px !important; }
  mat-card#product-mobile .product-card__content p.mat-h3 { font-size: 13.5px !important; }
  mat-card#product-mobile .product-card__content h4.mat-h1 { font-size: 17px !important; }
  mat-card#product-mobile .product-card__content h4.mat-h1 > span { font-size: 11px !important; }
  mat-card#product-mobile .product-card__add-to-favorite { top: 12px !important; right: 12px !important; transform: scale(.8); }
  mat-card#product-mobile .dn-esc__t { font-size: 10.5px; }
  mat-card#product-mobile .dn-esc__r { font-size: 11.5px; padding: 3px 6px; gap: 4px; }
}

/* Menu de celular: textos que faltaban (Contacto, Nosotros, Blog) */
#hamburger li a .dn-lbl { margin-left: 0; }

/* ===== Registro mas simple (/user/register) ===== */
.dn-oculto { display: none !important; }
.dn-reg .user-register-img { display: none !important; }
.dn-reg .form__title h1 { font-size: 30px !important; font-weight: 700 !important; color: #003b62; margin-bottom: 4px !important; }
.dn-reg-sub { margin: 0 0 8px; color: #44515e; font-size: 15px; }
.dn-reg h2.dn-reg-h { font-size: 18px !important; font-weight: 700 !important; color: #003b62; margin: 22px 0 6px !important; padding-top: 14px; border-top: 1px solid #e1e8f0; }
.dn-reg form > h2.dn-reg-h:first-child { border-top: 0; padding-top: 0; margin-top: 4px !important; }
.dn-reg .mat-form-field { font-size: 16px; }
.dn-arca { font-size: 13px; color: #5b6b7a; margin: -6px 0 8px; min-height: 0; }
.dn-arca:empty { display: none; }
.dn-arca--ok { color: #1a7f45; font-weight: 500; }
.dn-entrega-sw { display: flex; align-items: center; gap: 8px; margin: 18px 0 2px; font-size: 15px; font-weight: 500; color: #003b62; cursor: pointer; }
.dn-entrega-sw input { width: 18px; height: 18px; accent-color: #004996; }
.dn-entrega-nota { font-size: 13px; color: #5b6b7a; margin-bottom: 8px; }
.dn-reg form:not(.dn-entrega-on) .dn-entrega { display: none !important; }
/* v61: el "No soy un robot" nunca se esconde (si se esconde, el boton Registrarse no hace nada) */
.dn-reg form .dn-entrega:has(re-captcha) { display: block !important; }
.dn-reg .form__actions button { min-height: 48px; font-size: 16px; border-radius: 12px !important; }

/* ===== Encabezado nuevo: azul Dione liso con linea roja ===== */
mat-toolbar.nav.mat-toolbar, mat-toolbar.nav-mobile.mat-toolbar {
  background: #003b62 !important; background-image: none !important;
  border-bottom: 3px solid #c23d39; box-shadow: 0 4px 14px rgba(0, 30, 60, .18) !important;
}
mat-toolbar.nav .menu-products { background: transparent !important; border-top: 1px solid rgba(255, 255, 255, .14); box-shadow: none !important; }
mat-toolbar.nav .menu-products a.nav-menu__link { color: #fff !important; opacity: .92; border-bottom: 2px solid transparent; padding-bottom: 2px; transition: opacity .15s, border-color .15s; }
mat-toolbar.nav .menu-products a.nav-menu__link:hover { opacity: 1; border-bottom-color: #fff; }
mat-toolbar.nav .form-search { background: #fff !important; border-radius: 999px !important; overflow: hidden; box-shadow: none !important; }
mat-toolbar.nav .form-search input.input { background: #fff !important; border: 0 !important; padding-left: 18px !important; font-size: 15px !important; }
mat-toolbar.nav .form-search__button { background: #c23d39 !important; color: #fff !important; border-radius: 999px !important; }
a.nav-user-button.not-logged { background: #c23d39 !important; color: #fff !important; border-radius: 999px !important; font-weight: 600; padding: 0 20px !important; }

/* ===== Pie nuevo con legales ===== */
app-footer footer.dn-pie-on > .container { display: none !important; }
.dn-pie { background: #003b62; color: #d6e3f0; font-family: Roboto, "Helvetica Neue", Arial, sans-serif; border-top: 3px solid #c23d39; }
.dn-pie a { color: #fff; text-decoration: none; }
.dn-pie a:hover { text-decoration: underline; }
.dn-pie__cols { max-width: 1200px; margin: 0 auto; padding: 40px 16px 24px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 24px; }
.dn-pie h3 { margin: 0 0 12px; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.dn-pie ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.dn-pie__logo { height: 44px; width: auto; display: block; margin-bottom: 12px; }
.dn-pie__txt { font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.dn-pie__redes { display: flex; gap: 10px; }
.dn-pie__redes a { width: 40px; height: 40px; border-radius: 50%; background: #004996; display: flex; align-items: center; justify-content: center; }
.dn-pie__redes a:hover { background: #c23d39; text-decoration: none; }
.dn-pie__arr { display: inline-block; margin-top: 4px; border: 1.5px solid #fff; border-radius: 8px; padding: 6px 10px; font-weight: 600; }
.dn-pie__base { border-top: 1px solid #1d5683; }
.dn-pie__base > div { max-width: 1200px; margin: 0 auto; padding: 16px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: 13px; }
.dn-pie__df img { height: 60px; width: auto; display: block; background: #fff; border-radius: 4px; }
@media (max-width: 900px) { .dn-pie__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .dn-pie__cols { grid-template-columns: 1fr 1fr; gap: 22px 16px; padding-top: 28px; }
  .dn-pie__cols > div:first-child { grid-column: 1 / -1; }
}
/* Iconos del encabezado siempre blancos (en celular se perdian sobre el azul) */
mat-toolbar.nav-mobile > mat-toolbar-row .mat-icon, mat-toolbar.nav-mobile > mat-toolbar-row > div > * > span[style], mat-toolbar.nav-mobile > mat-toolbar-row button,
mat-toolbar.nav .menu-user .mat-icon { color: #fff !important; }

/* Menu lateral del celular: fondo blanco, textos azules, logo arriba */
#hamburger, #hamburger-categories { background: #fff !important; }
#hamburger a, #hamburger span, #hamburger li, #hamburger .mat-icon,
#hamburger-categories a, #hamburger-categories li { color: #003b62 !important; }
#hamburger li a::before { color: #004996 !important; }
#hamburger .notLogged a, #hamburger .notLogged span { color: #fff !important; }
#hamburger .notLogged .mat-icon { color: #c9d8e8 !important; }
#hamburger .close-hamburger, #hamburger-categories .close-categories { background: #003b62 !important; box-shadow: none !important; border-bottom: 3px solid #c23d39; }
#hamburger .close-hamburger a, #hamburger-categories .close-categories a { color: #fff !important; outline: none !important; }
#hamburger .close-hamburger a.nav-brand-button { font-size: 0 !important; display: inline-block; width: 110px; height: 44px; background: url(/assets/img/DioneLogo.png) no-repeat left center / contain; border: 0 !important; }
#hamburger .separador { background: #e1e8f0 !important; }
#hamburger-categories li { border-bottom: 1px solid #eef2f6; }
mat-toolbar.nav-mobile .mat-toolbar-row:first-child { justify-content: space-between; }
mat-toolbar.nav-mobile img { filter: none; }

/* ===== "Los mas vendidos" nuevo ===== */
.dn-mv .dn-wrap { padding-top: 32px; padding-bottom: 16px; }
.dn-mv__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.dn-mv__card { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 14px; border: 1px solid #e1e8f0; border-radius: 16px; background: #fff; color: #1f2933 !important; transition: box-shadow .15s, transform .15s, border-color .15s; }
.dn-mv__card:hover { box-shadow: 0 8px 24px rgba(0, 59, 98, .12); border-color: #c9d8e8; transform: translateY(-2px); }
.dn-mv__img { height: 170px; border-radius: 12px; background: #f5f8fb; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.dn-mv__img img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 4px; box-sizing: border-box; }
.dn-mv__fam { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #004996; }
.dn-mv__n { font-size: 15px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.dn-mv__p { font-size: 21px; font-weight: 700; color: #003b62; }
.dn-mv__p span { font-size: 12px; font-weight: 400; color: #5b6b7a; }
.dn-mv__p--ver { font-size: 16px; color: #004996; }
.dn-mv__btn { margin-top: auto; align-self: stretch; text-align: center; padding: 10px 12px; border-radius: 10px; background: #c23d39; color: #fff; font-weight: 700; font-size: 14px; }
@media (max-width: 600px) {
  .dn-mv .dn-wrap { padding-right: 0; }
  .dn-mv__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 2px 16px 10px 0; scrollbar-width: none; }
  .dn-mv__grid::-webkit-scrollbar { display: none; }
  .dn-mv__card { flex: 0 0 62%; scroll-snap-align: start; }
  .dn-mv__img { height: 140px; }
}

/* Listado: boton "Ver mas productos" en vez de carga infinita */
.dn-vermas { display: block; width: 100%; flex: 0 0 100%; grid-column: 1 / -1; box-sizing: border-box; text-align: center; padding: 24px 16px 40px; font-family: Roboto, "Helvetica Neue", Arial, sans-serif; }
.dn-vermas button { min-height: 48px; padding: 0 32px; border: 2px solid #004996; border-radius: 12px; background: #fff; color: #004996; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.dn-vermas button:hover { background: #004996; color: #fff; }
.dn-vermas button:disabled { opacity: .6; cursor: default; }
.dn-vermas__n { margin-top: 8px; font-size: 14px; color: #5b6b7a; }

/* ===== Pagina de producto ===== */
.dn-pv .dtosEscalonados { display: none !important; }
.dn-pv aside h2.price-title { display: none !important; }
.dn-pv mat-card.mat-card { border-radius: 16px !important; box-shadow: none !important; border: 1px solid #e1e8f0; }
.dn-pv aside.aside > mat-card { position: sticky; top: 170px; }
.dn-pv h1.desktop-title { font-size: 26px !important; line-height: 1.2 !important; font-weight: 700 !important; color: #003b62 !important; }
.dn-pv p.caption.code { font-size: 13px !important; color: #5b6b7a; margin: 2px 0 !important; }
.dn-pv mat-card-content h2.mat-h1 { font-size: 20px !important; font-weight: 700 !important; color: #003b62; }
.dn-pv .buttons .fileDownload { display: none; }
.dn-ficha { margin-top: 14px; font-family: Roboto, "Helvetica Neue", Arial, sans-serif; }
.dn-ficha__precio { font-size: 34px; font-weight: 700; color: #003b62; line-height: 1.1; }
.dn-ficha__uni { font-size: 14px; color: #5b6b7a; margin-bottom: 12px; }
.dn-ficha__esc { background: #eef4fa; border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; }
.dn-ficha__esct { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #004996; margin-bottom: 6px; }
.dn-ficha__escr { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; border-top: 1px solid #d6e3f0; }
.dn-ficha__escr:first-of-type { border-top: 0; }
.dn-ficha__escr span { flex: 1; color: #1f2933; }
.dn-ficha__escr b { color: #003b62; white-space: nowrap; }
.dn-ficha__escr em { font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: #1a7f45; border-radius: 999px; padding: 2px 7px; }
.dn-ficha__acc { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.dn-btn2 { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none !important; }
.dn-btn2--rojo { background: #c23d39; color: #fff !important; }
.dn-btn2--wa { background: #fff; color: #1a7f45 !important; border: 2px solid #1a7f45; }
.dn-btn2--linea { background: #fff; color: #004996 !important; border: 2px solid #c9d8e8; }
.dn-ficha__crear { text-align: center; font-size: 13px; color: #5b6b7a !important; margin: 6px 0 0; }
.dn-ficha__info { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #44515e; }
.dn-ficha__info li { padding-left: 22px; position: relative; }
.dn-ficha__info li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 10px; height: 6px; border-left: 2px solid #1a7f45; border-bottom: 2px solid #1a7f45; transform: rotate(-45deg); }
@media (max-width: 900px) { .dn-pv aside.aside > mat-card { position: static; } }

/* Ficha de producto: relacionados */
.dn-rel { margin-top: 8px; padding-bottom: 32px; clear: both; width: 100%; }
.dn-rel .dn-h2 { font-size: 26px; margin-bottom: 14px; }
.dn-rel .dn-mv__grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
@media (max-width: 600px) { .dn-rel .dn-mv__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 10px; scrollbar-width: none; } }

/* Sellos viejos del inicio (ANMAT, IRAM, Google): fuera, pedido de Eze 11/11 */
app-home > div.logos-footer { display: none !important; }

/* ===== Ingreso ===== */
.dn-login .login-img { display: none !important; }
.dn-login .form__title h1 { font-size: 30px !important; font-weight: 700 !important; color: #003b62; margin-bottom: 4px !important; }
.dn-login .form__actions { flex-direction: column !important; align-items: stretch !important; gap: 10px; }
.dn-login .form__actions button[type=submit] { width: 100%; min-height: 48px; border-radius: 12px !important; background: #c23d39 !important; color: #fff !important; font-size: 16px; font-weight: 700; }
.dn-login .form__actions a.link[href="/user/register"] { display: none; }
.dn-login .form__actions > div { text-align: center; }
.dn-login mat-error { font-size: 12px; }
.dn-login .ng-untouched mat-error, .dn-login mat-form-field.ng-untouched .mat-form-field-subscript-wrapper { visibility: hidden; }
.dn-login-nuevo { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e1e8f0; display: flex; flex-direction: column; gap: 10px; text-align: center; font-family: Roboto, "Helvetica Neue", Arial, sans-serif; }
.dn-login-nuevo__t { font-weight: 700; color: #003b62; font-size: 16px; }
.dn-login-nuevo__p { margin: 4px 0 0; font-size: 14px; color: #44515e; }
.dn-login-nuevo__p a { color: #1a7f45; font-weight: 600; }

/* ===== Registro expres (con datos de ARCA) ===== */
form.dn-expres .dn-x { display: none !important; }
.dn-resumen { background: #e8f6ee; border: 1px solid #b7e1c7; border-radius: 12px; padding: 12px 14px; margin: 4px 0 14px; font-size: 14px; color: #14532d; display: flex; flex-direction: column; gap: 2px; font-family: Roboto, "Helvetica Neue", Arial, sans-serif; }
.dn-resumen b { font-size: 15px; }
.dn-resumen__ed { align-self: flex-start; margin-top: 6px; background: none; border: 0; padding: 0; color: #004996; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }

/* ===== Listado: sin panel de filtros, barra con titulo y vista Grilla / Lista ===== */
.dn-listado { flex-wrap: wrap !important; }
.dn-listado > .products-filter { display: none !important; }
/* v58: el panel viejo de filtros se ve un instante antes de que el JS marque dn-listado (lo vio Eze): se esconde solo con CSS */
div.products-filter { display: none !important; }
div.products-filter ~ div.products-list { flex: 1 1 100% !important; max-width: 100% !important; width: 100% !important; }
.dn-listado > div.products-list { flex: 1 1 100% !important; max-width: 100% !important; width: 100% !important; }
.dn-barra { flex: 1 1 100%; width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 4px 0 16px; font-family: Roboto, "Helvetica Neue", Arial, sans-serif; }
.dn-barra__t { margin: 0 !important; font-family: "Barlow Condensed", Roboto, sans-serif; font-size: 34px !important; font-weight: 700 !important; color: #003b62; line-height: 1.1 !important; }
.dn-barra__sw { display: inline-flex; border: 1px solid #c9d8e8; border-radius: 10px; overflow: hidden; background: #fff; }
.dn-barra__sw button { border: 0; background: #fff; color: #004996; font: inherit; font-size: 14px; font-weight: 600; padding: 9px 14px; cursor: pointer; min-height: 40px; }
.dn-barra__sw button[aria-pressed="true"] { background: #004996; color: #fff; }

/* Vista lista: una fila por producto, con las escalas al costado */
div.products-list.dn-lista { display: flex !important; flex-direction: column !important; gap: 8px !important; padding: 0 !important; }
div.products-list.dn-lista > app-product { width: 100% !important; max-width: none !important; flex: none !important; margin: 0 !important; }
div.products-list.dn-lista app-product-card { display: block !important; width: 100% !important; }
@media (min-width: 992px) {
  div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card { display: flex !important; }
  div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card { display: none !important; }
}
@media (max-width: 991px) {
  div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card { display: flex !important; }
  div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card { display: none !important; }
}
div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card { width: auto !important; max-width: none !important; min-height: 0 !important; margin: 0 !important; flex-direction: row !important; align-items: center !important; height: auto !important; padding: 8px 12px !important; }
div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card > a, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card > a { flex: 0 0 76px !important; width: 76px !important; max-width: 76px !important; padding: 0 !important; }
div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card app-image, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card app-image, div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card figure.image, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card figure.image { width: 76px !important; min-width: 0 !important; max-width: 76px !important; height: 76px !important; min-height: 0 !important; margin-top: 0 !important; }
div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card .product-card__content, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card .product-card__content { display: grid !important; grid-template-columns: minmax(0, 1.6fr) minmax(130px, auto) minmax(0, 1.4fr); align-items: center; gap: 4px 20px; padding: 4px 48px 4px 16px !important; margin: 0 !important; text-align: left !important; width: auto !important; max-width: none !important; flex: 1 1 auto !important; }
div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card .product-card__content > p.mat-h3, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card .product-card__content > p.mat-h3, div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card .product-card__content > div:has(> p.mat-h3), div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card .product-card__content > div:has(> p.mat-h3), div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card .product-card__content p.mat-h3, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card .product-card__content p.mat-h3 { grid-column: 1; grid-row: 1; min-height: 0 !important; max-width: none !important; max-height: none !important; }
div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card .product-card__content h4.mat-h1, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card .product-card__content h4.mat-h1 { grid-column: 2; grid-row: 1; margin: 0 !important; font-size: 19px !important; text-align: left !important; }
div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card .dn-esc, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card .dn-esc { grid-column: 3; grid-row: 1; margin: 0 !important; flex-direction: row !important; flex-wrap: wrap; gap: 4px 6px !important; }
div.products-list.dn-lista .dn-esc__t { display: none; }
div.products-list.dn-lista .dn-esc__r { font-size: 12.5px !important; }
div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card app-product-add-to-cart, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card app-product-add-to-cart { grid-column: 1 / -1; grid-row: 2; padding-top: 4px !important; }
div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card .product-card__add-to-favorite, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card .product-card__add-to-favorite { top: 50% !important; right: 10px !important; left: auto !important; transform: translateY(-50%) scale(.85) !important; }
@media (max-width: 700px) {
  .dn-barra__t { font-size: 26px !important; }
  div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card .product-card__content, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card .product-card__content { grid-template-columns: 1fr; padding: 2px 36px 2px 10px !important; gap: 2px; }
  div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card .product-card__content > p.mat-h3, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card .product-card__content > p.mat-h3, div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card .product-card__content > div:has(> p.mat-h3), div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card .product-card__content > div:has(> p.mat-h3), div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card .product-card__content p.mat-h3, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card .product-card__content p.mat-h3, div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card .product-card__content h4.mat-h1, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card .product-card__content h4.mat-h1, div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card .dn-esc, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card .dn-esc { grid-column: 1; grid-row: auto; }
  div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card > a, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card > a, div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card app-image, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card app-image, div.products-list.dn-lista mat-card#product-desktop.product-card.mat-card figure.image, div.products-list.dn-lista mat-card#product-mobile.product-card.mat-card figure.image { width: 64px !important; max-width: 64px !important; flex-basis: 64px !important; height: 64px !important; min-height: 0 !important; min-width: 0 !important; }
}

/* ===== Boton modo noche / dia ===== */
.dn-tema { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff !important; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; margin-right: 10px; flex: none; }
.dn-tema:hover { background: rgba(255,255,255,.12); }
mat-toolbar.nav-mobile > mat-toolbar-row > .dn-tema { margin: 0 0 0 6px; width: 36px; height: 36px; }

/* ===== Modo noche ===== */
html[data-tema="oscuro"] { color-scheme: dark; }
html[data-tema="oscuro"] body, html[data-tema="oscuro"] app-root, html[data-tema="oscuro"] app-e-commerce,
html[data-tema="oscuro"] section.section, html[data-tema="oscuro"] .mat-app-background, html[data-tema="oscuro"] .mat-drawer-container { background: #0e1621 !important; color: #e2e8f0 !important; }
html[data-tema="oscuro"] .mat-card, html[data-tema="oscuro"] mat-card,
html[data-tema="oscuro"] .dn-mv__card, html[data-tema="oscuro"] .dn-cat, html[data-tema="oscuro"] .dn-visit__card,
html[data-tema="oscuro"] .dn-ficha__esc, html[data-tema="oscuro"] .dn-barra__sw, html[data-tema="oscuro"] .dn-barra__sw button:not([aria-pressed="true"]),
html[data-tema="oscuro"] .dn-vermas button:not(:hover), html[data-tema="oscuro"] .dn-btn2--linea, html[data-tema="oscuro"] .dn-btn2--wa { background: #152131 !important; border-color: #263649 !important; color: #e2e8f0 !important; }
html[data-tema="oscuro"] .dn-trust, html[data-tema="oscuro"] .dn-esc__r, html[data-tema="oscuro"] .dn-cat__ico, html[data-tema="oscuro"] .dn-ficha__escr { background: #1b2a3d !important; border-color: #263649 !important; }
html[data-tema="oscuro"] .mat-h1, html[data-tema="oscuro"] .mat-h2, html[data-tema="oscuro"] .mat-h3, html[data-tema="oscuro"] .mat-body,
html[data-tema="oscuro"] .mat-card p, html[data-tema="oscuro"] .mat-card h1, html[data-tema="oscuro"] .mat-card h2, html[data-tema="oscuro"] .mat-card h4,
html[data-tema="oscuro"] .dn-h2, html[data-tema="oscuro"] .dn-barra__t, html[data-tema="oscuro"] .dn-trust__t, html[data-tema="oscuro"] .dn-cat,
html[data-tema="oscuro"] .dn-mv__n, html[data-tema="oscuro"] .dn-mv__p, html[data-tema="oscuro"] .dn-ficha__precio, html[data-tema="oscuro"] .dn-esc__r b,
html[data-tema="oscuro"] .dn-ficha__escr b, html[data-tema="oscuro"] .dn-ficha__escr span, html[data-tema="oscuro"] .dn-esc__r span,
html[data-tema="oscuro"] mat-card.product-card .product-card__content h4.mat-h1, html[data-tema="oscuro"] .dn-visit__info strong,
html[data-tema="oscuro"] .dn-reg .form__title h1, html[data-tema="oscuro"] .dn-login .form__title h1, html[data-tema="oscuro"] .dn-login-nuevo__t,
html[data-tema="oscuro"] .dn-reg h2.dn-reg-h, html[data-tema="oscuro"] .dn-pv h1.desktop-title, html[data-tema="oscuro"] .dn-pv mat-card-content h2.mat-h1 { color: #e8eef6 !important; }
html[data-tema="oscuro"] .dn-sub, html[data-tema="oscuro"] .dn-trust__s, html[data-tema="oscuro"] .dn-visit__info, html[data-tema="oscuro"] .dn-ficha__uni,
html[data-tema="oscuro"] .dn-reg-sub, html[data-tema="oscuro"] .dn-login-nuevo__p, html[data-tema="oscuro"] .dn-ficha__info, html[data-tema="oscuro"] .dn-vermas__n,
html[data-tema="oscuro"] mat-card.product-card .product-card__content h4.mat-h1 > span, html[data-tema="oscuro"] .dn-mv__p span, html[data-tema="oscuro"] .dn-pv p.caption.code,
html[data-tema="oscuro"] .dn-arca { color: #9fb0c3 !important; }
html[data-tema="oscuro"] .dn-esc__t, html[data-tema="oscuro"] .dn-mv__fam, html[data-tema="oscuro"] .dn-ficha__esct, html[data-tema="oscuro"] .dn-cat__ico,
html[data-tema="oscuro"] .dn-mv__p--ver, html[data-tema="oscuro"] .dn-barra__sw button:not([aria-pressed="true"]), html[data-tema="oscuro"] .dn-vermas button:not(:hover),
html[data-tema="oscuro"] .dn-btn2--linea, html[data-tema="oscuro"] .dn-resumen__ed, html[data-tema="oscuro"] .dn-visit__info a { color: #8cc2ff !important; }
html[data-tema="oscuro"] .dn-cat__ico svg { stroke: #8cc2ff; }
html[data-tema="oscuro"] .dn-btn2--wa { color: #6fd39b !important; border-color: #2f7d52 !important; }
html[data-tema="oscuro"] .dn-btn--outline { color: #8cc2ff !important; border-color: #8cc2ff !important; background: transparent; }
/* Fotos de producto: se dejan sobre fondo claro para que se vean bien */
html[data-tema="oscuro"] figure.image, html[data-tema="oscuro"] .dn-mv__img { background: #e9eef4 !important; }
/* Formularios (registro, ingreso, filtros) */
html[data-tema="oscuro"] .mat-form-field-label, html[data-tema="oscuro"] .mat-select-arrow, html[data-tema="oscuro"] .mat-hint { color: #9fb0c3 !important; }
html[data-tema="oscuro"] input.mat-input-element, html[data-tema="oscuro"] textarea, html[data-tema="oscuro"] .mat-select-value { color: #e8eef6 !important; caret-color: #e8eef6; }
html[data-tema="oscuro"] .mat-form-field-underline { background-color: #3a4d63 !important; }
html[data-tema="oscuro"] .mat-select-panel, html[data-tema="oscuro"] .mat-menu-panel { background: #152131 !important; }
html[data-tema="oscuro"] .mat-option, html[data-tema="oscuro"] .mat-menu-item { color: #e2e8f0 !important; }
html[data-tema="oscuro"] .mat-option:hover, html[data-tema="oscuro"] .mat-option.mat-active { background: #1f3147 !important; }
html[data-tema="oscuro"] .mat-checkbox-label, html[data-tema="oscuro"] .dn-entrega-sw { color: #e2e8f0 !important; }
html[data-tema="oscuro"] .dn-resumen { background: #12301f !important; border-color: #275c3c !important; color: #b9ecc9 !important; }
/* Menu lateral del celular */
html[data-tema="oscuro"] #hamburger, html[data-tema="oscuro"] #hamburger-categories { background: #101b28 !important; }
html[data-tema="oscuro"] #hamburger a, html[data-tema="oscuro"] #hamburger span:not(.notLogged span), html[data-tema="oscuro"] #hamburger li, html[data-tema="oscuro"] #hamburger .mat-icon,
html[data-tema="oscuro"] #hamburger-categories a, html[data-tema="oscuro"] #hamburger-categories li { color: #e2e8f0 !important; }
html[data-tema="oscuro"] #hamburger-categories li { border-bottom-color: #1f2d3e; }
/* Pie y franja de comercios ya son azules: un poco mas oscuros */
html[data-tema="oscuro"] .dn-pie, html[data-tema="oscuro"] .dn-b2b { background: #0a2a45 !important; }
/* Boton de modo dentro del menu lateral del celular */
#hamburger li.dn-tema-li { list-style: none; padding: 8px 0 0; }
#hamburger li.dn-tema-li::before, #hamburger li.dn-tema-li::after { display: none !important; content: none !important; }
#hamburger .dn-tema--txt { width: auto; height: 44px; border-radius: 12px; border: 1px solid #c9d8e8; padding: 0 16px; gap: 8px; color: #003b62 !important; font: inherit; font-size: 16px; margin: 0; }
html[data-tema="oscuro"] #hamburger .dn-tema--txt { border-color: #33475e; color: #e2e8f0 !important; }

/* Ficha de producto en celular: precio arriba, galeria compacta */
.dn-ficha--celu { padding: 0 16px 8px; }
.dn-ficha--celu .dn-ficha__precio { font-size: 30px; }
@media (max-width: 991px) {
  .dn-pv aside h2.price-title { display: none !important; }
  .dn-pv .slider .ng-image-slider { height: 120px !important; }
  .dn-pv h1.mobile-title { font-size: 24px !important; font-weight: 700 !important; color: #003b62 !important; line-height: 1.2 !important; margin: 8px 16px 4px !important; text-align: left !important; }
  html[data-tema="oscuro"] .dn-pv h1.mobile-title { color: #e8eef6 !important; }
  .dn-pv aside .product-favorite { margin-top: 0; }
}

/* Aviso de version de prueba */
.dn-aviso-prueba { position: fixed; left: 12px; bottom: 12px; z-index: 99999; background: #f2b705; color: #1f2933 !important; font: 700 13px Roboto, Arial, sans-serif; padding: 8px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.25); text-decoration: none !important; }

/* Boton flotante de WhatsApp: mas chico, y se esconde donde molesta */
body > menu { transition: opacity .2s, transform .2s; }
body > menu > button.trigger { width: 52px !important; height: 52px !important; font-size: 27px !important; box-shadow: 0 4px 14px rgba(0, 0, 0, .22) !important; }
body > menu.dn-wa-oculto { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media (max-width: 600px) { body > menu > button.trigger { width: 46px !important; height: 46px !important; font-size: 24px !important; } body > menu { right: 12px !important; bottom: 12px !important; } }

/* Precios por cantidad en las tarjetas de mas vendidos / relacionados */
.dn-mv__esc { display: flex; flex-direction: column; gap: 3px; margin-top: 2px; }
.dn-mv__esc > div { display: flex; justify-content: space-between; gap: 6px; font-size: 13px; background: #eef4fa; border-radius: 8px; padding: 4px 8px; color: #1f2933; }
.dn-mv__esc b { color: #003b62; white-space: nowrap; }
html[data-tema="oscuro"] .dn-mv__esc > div { background: #1b2a3d !important; color: #e2e8f0 !important; }
html[data-tema="oscuro"] .dn-mv__esc b { color: #e8eef6 !important; }

/* % de descuento en cada escalon */
.dn-pct { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: #1a7f45; border-radius: 999px; padding: 1px 6px; margin-left: auto; margin-right: 6px; align-self: center; white-space: nowrap; }
.dn-esc__r, .dn-mv__esc > div { align-items: center; }
.dn-esc__r > span:first-child, .dn-mv__esc > div > span:first-child { white-space: nowrap; }

/* Descripcion y modo de uso reacomodados */
.dn-txt p { margin: 0 0 10px; line-height: 1.6; font-size: 15px; }
.dn-txt p:last-child { margin-bottom: 0; }

/* Modo noche: titulos y tarjetas de las paginas propias de la web vieja (contacto, nosotros, usuario...) */
html[data-tema="oscuro"] .custom-card, html[data-tema="oscuro"] .example-large-box, html[data-tema="oscuro"] .form.mat-card,
html[data-tema="oscuro"] .mat-expansion-panel, html[data-tema="oscuro"] .mat-table, html[data-tema="oscuro"] .mat-dialog-container { background: #152131 !important; color: #e2e8f0 !important; }
html[data-tema="oscuro"] .mat-display-1, html[data-tema="oscuro"] .mat-display-2, html[data-tema="oscuro"] .mat-display-3,
html[data-tema="oscuro"] .mat-card-title, html[data-tema="oscuro"] .mat-card-subtitle, html[data-tema="oscuro"] .mat-headline, html[data-tema="oscuro"] .mat-title,
html[data-tema="oscuro"] app-e-commerce h1, html[data-tema="oscuro"] app-e-commerce h2, html[data-tema="oscuro"] app-e-commerce h3,
html[data-tema="oscuro"] app-e-commerce h4, html[data-tema="oscuro"] app-e-commerce h5, html[data-tema="oscuro"] .mat-cell, html[data-tema="oscuro"] .mat-header-cell { color: #e8eef6 !important; }
html[data-tema="oscuro"] .mat-card-title .mat-icon, html[data-tema="oscuro"] app-e-commerce .mat-icon.mat-primary { color: #8cc2ff !important; }
html[data-tema="oscuro"] app-e-commerce a.primary, html[data-tema="oscuro"] .custom-card a, html[data-tema="oscuro"] .mat-card a:not(.dn-btn2):not(.mat-button-base) { color: #8cc2ff !important; }

/* Logo del encabezado: siempre en su proporcion (en celular se veia estirado) */
app-nav-brand img, mat-toolbar img[alt="Logo de Dione"] { height: auto !important; object-fit: contain !important; aspect-ratio: 300 / 119; }
mat-toolbar.nav-mobile app-nav-brand img { width: 112px !important; max-height: none !important; }

/* ===== Celular: nada se desliza para el costado. Todo en grilla. ===== */
@media (max-width: 600px) {
  /* Por que Dione: 2x2 compacto, solo titulo */
  .dn-trust .dn-wrap { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 6px 10px !important; padding: 10px 16px !important; overflow: visible !important; }
  .dn-trust__item { flex-direction: row !important; text-align: left !important; gap: 8px !important; align-items: center; }
  .dn-trust .dn-ico { width: 28px !important; height: 28px !important; }
  .dn-trust .dn-ico svg { width: 15px !important; height: 15px !important; }
  .dn-trust__t { font-size: 12.5px !important; line-height: 1.2 !important; }
  .dn-trust__s { display: none !important; }

  /* Categorias: 4 columnas, sin deslizar */
  .dn-cats .dn-wrap { padding-right: 16px !important; }
  .dn-cats__grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 8px !important; overflow: visible !important; padding: 0 !important; }
  .dn-cat { flex: none !important; padding: 10px 2px !important; font-size: 11.5px !important; line-height: 1.2; gap: 6px !important; border-radius: 12px !important; }
  .dn-cat__ico { width: 40px !important; height: 40px !important; }
  .dn-cat__ico svg { width: 21px !important; height: 21px !important; }

  /* Mas vendidos y relacionados: 2 columnas */
  .dn-mv .dn-wrap { padding-right: 16px !important; }
  .dn-mv__grid, .dn-rel .dn-mv__grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; overflow: visible !important; padding: 0 !important; }
  .dn-mv__card { flex: none !important; padding: 8px 8px 10px !important; }
  .dn-mv__img { height: 120px !important; }
  .dn-mv__n { font-size: 13.5px !important; }
  .dn-mv__p { font-size: 17px !important; }
  .dn-mv__p span { display: block; }
  .dn-mv__esc > div { font-size: 11.5px !important; padding: 3px 6px !important; flex-wrap: wrap; }
  .dn-mv__btn { padding: 8px !important; font-size: 13px !important; }
}

/* Modo noche: recuadro del ingreso y nota del registro */
html[data-tema="oscuro"] form.form, html[data-tema="oscuro"] .dn-login { background: #152131 !important; }
html[data-tema="oscuro"] .dn-entrega-nota { color: #9fb0c3 !important; }

/* Menu de categorias con nombres cortos e iconos */
a.dn-catlink { font-size: 0 !important; }
a.dn-catlink .dn-catlink__t { font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
a.dn-catlink .dn-catlink__t svg { opacity: .85; flex: none; }
mat-toolbar.nav .menu-products ul.nav-menu-desktop { gap: 0 4px !important; }
mat-toolbar.nav .menu-products a.dn-catlink { border-radius: 999px; padding: 1px 10px !important; border-bottom: 0 !important; line-height: 1.2 !important; }
mat-toolbar.nav .menu-products a.dn-catlink:hover { background: rgba(255, 255, 255, .12); }
#hamburger-categories a.dn-catlink .dn-catlink__t { font-size: 16px; gap: 10px; }

/* Contacto: botones directos en lugar del formulario */
/* v60: el formulario viejo y la tarjeta de Sucursales se ocultan desde el CSS (antes se veian un instante hasta que corria el JS) */
app-contact .contacts-form, app-contact .contact-sucursales { display: none !important; }
.dn-contacto { margin-top: 8px; }
.dn-contacto__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.dn-contacto__op { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #d6e3f0; border-radius: 14px; background: #fff; color: #1f2933 !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.dn-contacto__op:hover { border-color: #004996; box-shadow: 0 4px 14px rgba(0, 59, 98, .1); }
.dn-contacto__ico { width: 42px; height: 42px; flex: none; border-radius: 50%; background: #eef4fa; color: #004996; display: flex; align-items: center; justify-content: center; }
.dn-contacto__op--wa .dn-contacto__ico { background: #e7f6ee; color: #1a7f45; }
.dn-contacto__tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dn-contacto__tx b { font-size: 15px; color: #003b62; }
.dn-contacto__tx span { font-size: 13px; color: #5b6b7a; }
/* v60: sin desbordes en celular y tablet chica (el mail no entraba en el boton y "Donde conseguir" tenia doble margen) */
.dn-contacto__grid { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.dn-contacto__tx span { overflow-wrap: anywhere; }
app-contact div.contact > .dn { flex: 1 1 100%; min-width: 0; max-width: 100%; }
app-contact .dn-puntos, app-contact .dn-puntos > .dn-wrap { padding-left: 0; padding-right: 0; }
@media (max-width: 420px) { .dn-contacto__op { padding: 12px; gap: 10px; } }
html[data-tema="oscuro"] .dn-contacto__op { background: #1b2a3d !important; border-color: #263649 !important; }
html[data-tema="oscuro"] .dn-contacto__tx b { color: #e8eef6 !important; }
html[data-tema="oscuro"] .dn-contacto__tx span { color: #9fb0c3 !important; }
html[data-tema="oscuro"] .dn-contacto__ico { background: #223349 !important; color: #8cc2ff !important; }
html[data-tema="oscuro"] .dn-contacto__op--wa .dn-contacto__ico { background: #173a28 !important; color: #6fd39b !important; }

/* Registro: primero solo CUIT, email, clave y telefono; lo de ARCA aparece despues */
.dn-reg form.dn-pre .dn-px { display: none !important; }
.dn-sincuit { display: block; background: none; border: 0; padding: 0; margin: 2px 0 10px; color: #0b5cad; text-decoration: underline; font-size: 14px; cursor: pointer; }
.dn-reg form:not(.dn-pre) .dn-sincuit { display: none; }
html[data-tema="oscuro"] .dn-sincuit { color: #8cc2ff; }

/* Modo noche: links y favoritos que no se leian */
html[data-tema="oscuro"] a.link { color: #8cc2ff !important; }
html[data-tema="oscuro"] a.product-favorite__text, html[data-tema="oscuro"] a.product-favorite__text .mat-button-wrapper { color: #ff9b94 !important; }
.dn-reg .form-field-container.first { flex-wrap: wrap !important; }
.dn-reg .form-field-container.first > .dn-arca, .dn-reg .form-field-container.first > .dn-resumen, .dn-reg .form-field-container.first > .dn-sincuit { flex: 0 0 100% !important; max-width: 100% !important; text-align: left; }
.dn-reg .dn-arca:empty { display: none; }

/* Listado: menos aire entre el titulo y los productos */
app-products-list .products-list { margin-top: 8px !important; }

/* ===== Fotos de producto con look moderno (sin cambiar las fotos) =====
   El blanco de la foto se funde con el recuadro (multiply): el producto queda "recortado" sobre un fondo suave. */
figure.image.mediumCard, .dn-mv__img { background: linear-gradient(180deg, #f8fafc 0%, #e8eef5 100%) !important; overflow: hidden; border-radius: 14px !important; }
figure.image.mediumCard img, .dn-mv__img img { mix-blend-mode: multiply; transition: transform .35s ease; }
mat-card.product-card:hover figure.image img, .dn-mv__card:hover .dn-mv__img img { transform: scale(1.06); }
html[data-tema="oscuro"] figure.image.mediumCard, html[data-tema="oscuro"] .dn-mv__img { background: linear-gradient(180deg, #eef2f7 0%, #d9e2ec 100%) !important; }

/* Corazon de favoritos: discreto, sin circulo blanco */
mat-card.product-card .product-card__add-to-favorite { background: transparent !important; box-shadow: none !important; }
mat-card.product-card .product-card__add-to-favorite, mat-card.product-card .product-card__add-to-favorite .mat-icon { color: #98a5b3 !important; transition: color .15s; }
mat-card.product-card .product-card__add-to-favorite:hover, mat-card.product-card .product-card__add-to-favorite:hover .mat-icon { color: #c8332c !important; }

/* Escalones: el primero (la compra minima habitual) bien destacado; y nada se sale de la tarjeta */
.dn-esc__r, .dn-mv__esc > div { min-width: 0; overflow: hidden; gap: 4px !important; }
.dn-esc__r b, .dn-mv__esc b { margin-left: auto; }
.dn-pct { font-size: 10.5px !important; padding: 1px 5px !important; margin: 0 4px 0 2px !important; }
.dn-mv__esc > div { font-size: 12.5px !important; padding: 4px 8px !important; }
.dn-esc__t + .dn-esc__r, .dn-esc > .dn-esc__r:first-child, .dn-mv__esc > div:first-child { background: #003b62 !important; color: #fff !important; font-weight: 600; }
.dn-esc__t + .dn-esc__r b, .dn-esc > .dn-esc__r:first-child b, .dn-mv__esc > div:first-child b,
.dn-esc__t + .dn-esc__r span, .dn-esc > .dn-esc__r:first-child span, .dn-mv__esc > div:first-child span { color: #fff !important; }
html[data-tema="oscuro"] .dn-esc__t + .dn-esc__r, html[data-tema="oscuro"] .dn-esc > .dn-esc__r:first-child, html[data-tema="oscuro"] .dn-mv__esc > div:first-child { background: #1f5f9e !important; }

/* Ficha: el codigo queda chiquito y discreto (sirve para pedir por WhatsApp); el alternativo es interno */
app-products-view p.caption.code { font-size: 12px !important; color: #8a97a6 !important; margin: 0 0 4px !important; line-height: 1.3 !important; }
app-products-view p.caption.code strong { font-weight: 400 !important; color: inherit !important; }
app-products-view p.caption.code + p.caption.code { display: none !important; }
.dn-esc__r, .dn-mv__esc > div { flex-wrap: wrap !important; overflow: visible !important; row-gap: 0 !important; padding-left: 7px !important; padding-right: 7px !important; }
.dn-pct { margin: 0 2px !important; }
/* "Llevando 5" -> "x5" cuando la tarjeta es angosta: siempre en un renglon */
.dn-esc__r, .dn-mv__esc > div { flex-wrap: nowrap !important; }
.dn-llev, .dn-x { font-style: normal; }
.dn-x { display: none; }
mat-card.product-card, .dn-mv__card { container-type: inline-size; }
@container (max-width: 270px) {
  .dn-llev { display: none; }
  .dn-x { display: inline; }
}
@media (max-width: 600px) { .dn-barra { padding-left: 16px !important; padding-right: 16px !important; box-sizing: border-box; } }
@container (max-width: 200px) {
  .dn-esc__r, .dn-mv__esc > div { font-size: 11px !important; padding: 3px 5px !important; gap: 2px !important; }
  .dn-pct { font-size: 9.5px !important; padding: 0 4px !important; margin: 0 1px !important; }
}

/* Registro: mientras se completan solos los desplegables con ARCA, no se ven abrirse */
html.dn-autollenando .cdk-overlay-container { opacity: 0 !important; pointer-events: none !important; }

/* ===== Buscador: sugerencias ===== */
.dn-sug { position: fixed; z-index: 10050; background: #fff; border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 30, 60, .22); padding: 6px; max-height: 70vh; overflow-y: auto; font-family: Roboto, Arial, sans-serif; }
.dn-sug__it { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; color: #1f2933 !important; text-decoration: none !important; }
.dn-sug__it:hover, .dn-sug__it:focus { background: #eef4fa; }
.dn-sug__it img { width: 44px; height: 44px; object-fit: contain; flex: none; border-radius: 8px; background: linear-gradient(180deg, #f8fafc, #e8eef5); mix-blend-mode: multiply; }
.dn-sug__tx { display: flex; flex-direction: column; min-width: 0; }
.dn-sug__tx b { font-weight: 500; font-size: 14px; line-height: 1.25; color: #003b62; }
.dn-sug__tx small { font-size: 12px; color: #5b6b7a; margin-top: 2px; }
.dn-sug__ia { display: block; width: 100%; text-align: left; border: 0; margin-top: 4px; padding: 10px 12px; border-radius: 10px; background: #fff4e5; color: #8a4b00; font: 600 13.5px Roboto, Arial, sans-serif; cursor: pointer; }
.dn-sug__ia::before { content: "✦ "; }
.dn-sug__ia:hover { background: #ffe9cc; }
html[data-tema="oscuro"] .dn-sug { background: #152131; box-shadow: 0 12px 32px rgba(0, 0, 0, .5); }
html[data-tema="oscuro"] .dn-sug__it { color: #e2e8f0 !important; }
html[data-tema="oscuro"] .dn-sug__it:hover { background: #1f3045; }
html[data-tema="oscuro"] .dn-sug__tx b { color: #e8eef6; }
html[data-tema="oscuro"] .dn-sug__tx small { color: #9fb0c3; }
html[data-tema="oscuro"] .dn-sug__ia { background: #3a2a12; color: #ffd08a; }

/* ===== Preguntame: burbuja y panel ===== */
.dn-pq { position: fixed; right: 18px; bottom: 84px; z-index: 10040; font-family: Roboto, Arial, sans-serif; }
.dn-pq__btn { display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; padding: 11px 16px 11px 13px; border-radius: 999px; background: linear-gradient(135deg, #004996, #003b62); color: #fff; font: 600 14.5px Roboto, Arial, sans-serif; box-shadow: 0 6px 18px rgba(0, 59, 98, .35); transition: transform .15s; }
.dn-pq__btn:hover { transform: translateY(-2px); }
.dn-pq__btn svg { color: #ffd08a; }
.dn-pq__panel { display: none; position: absolute; right: 0; bottom: 56px; width: 380px; height: min(580px, calc(100vh - 160px)); background: #fff; border-radius: 18px; box-shadow: 0 18px 48px rgba(0, 30, 60, .3); overflow: hidden; flex-direction: column; }
.dn-pq--abierto .dn-pq__panel { display: flex; }
.dn-pq__cab { display: flex; align-items: center; gap: 6px; padding: 12px 12px 12px 16px; background: #003b62; color: #fff; }
.dn-pq__tit { flex: 1; display: flex; flex-direction: column; }
.dn-pq__tit b { font-size: 16px; }
.dn-pq__tit small { font-size: 12px; opacity: .8; }
.dn-pq__x { border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 15px; }
.dn-pq__x:hover { background: rgba(255, 255, 255, .24); }
.dn-pq__lista { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f5f8fb; }
.dn-pq__m { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; word-wrap: break-word; }
.dn-pq__m p { margin: 0 0 6px; } .dn-pq__m p:last-child { margin: 0; }
.dn-pq__m ul { margin: 2px 0 6px; padding-left: 18px; }
.dn-pq__m--ia { align-self: flex-start; background: #fff; color: #1f2933; border: 1px solid #e1e8f0; border-bottom-left-radius: 4px; }
.dn-pq__m--yo { align-self: flex-end; background: #004996; color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.dn-pq__esp::after { content: "…"; animation: dnpq 1s steps(3) infinite; display: inline-block; width: 1em; overflow: hidden; vertical-align: bottom; }
@keyframes dnpq { from { width: 0; } to { width: 1em; } }
.dn-pq__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dn-pq__chips button { border: 1px solid #c9d8e8; background: #fff; color: #004996; border-radius: 999px; padding: 6px 11px; font: 500 13px Roboto, Arial, sans-serif; cursor: pointer; text-align: left; }
.dn-pq__chips button:hover { background: #eef4fa; }
.dn-pq__prods { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.dn-pq__prod { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; background: #eef4fa; color: #003b62 !important; text-decoration: none !important; font-size: 13px; }
.dn-pq__prod b { font-weight: 600; } .dn-pq__prod span { white-space: nowrap; color: #1a7f45; font-weight: 600; }
.dn-pq__pie { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #e1e8f0; background: #fff; margin: 0; }
.dn-pq__pie textarea { flex: 1; resize: none; border: 1px solid #c9d8e8; border-radius: 12px; padding: 9px 12px; font: 15px Roboto, Arial, sans-serif; max-height: 110px; outline: none; background: #fff; color: #1f2933; }
.dn-pq__pie textarea:focus { border-color: #004996; }
.dn-pq__env { border: 0; width: 42px; border-radius: 12px; background: #c8332c; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dn-pq__nota { font-size: 11px; color: #6b7b8b; padding: 0 12px 8px; background: #fff; }
@media (max-width: 600px) {
  .dn-pq { right: 12px; bottom: 70px; }
  .dn-pq__btn { padding: 9px 13px 9px 11px; font-size: 13.5px; }
  .dn-pq--abierto { inset: 0; right: 0; bottom: 0; }
  .dn-pq--abierto .dn-pq__btn { display: none; }
  .dn-pq__panel { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; bottom: 0; }
  html.dn-pq-on body > menu { display: none !important; }
}
html[data-tema="oscuro"] .dn-pq__panel, html[data-tema="oscuro"] .dn-pq__pie, html[data-tema="oscuro"] .dn-pq__nota { background: #152131; }
html[data-tema="oscuro"] .dn-pq__lista { background: #0e1621; }
html[data-tema="oscuro"] .dn-pq__m--ia { background: #1b2a3d; color: #e2e8f0; border-color: #263649; }
html[data-tema="oscuro"] .dn-pq__chips button { background: #1b2a3d; color: #8cc2ff; border-color: #263649; }
html[data-tema="oscuro"] .dn-pq__prod { background: #1f3045; color: #e8eef6 !important; }
html[data-tema="oscuro"] .dn-pq__prod span { color: #6fd39b; }
html[data-tema="oscuro"] .dn-pq__pie textarea { background: #0e1621; color: #e2e8f0; border-color: #263649; }
html[data-tema="oscuro"] .dn-pq__pie { border-color: #263649; }

/* Preguntame: links como botones chicos */
.dn-pq__link { display: inline-block; margin: 2px 2px; padding: 3px 10px; border-radius: 999px; background: #004996; color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: 13.5px; line-height: 1.5; }
.dn-pq__link:hover { background: #003b62; }
.dn-pq__link[href^="https://wa.me"] { background: #1a7f45; }
html[data-tema="oscuro"] .dn-pq__link { background: #1f5f9e; }

/* ===== Preguntame y WhatsApp como pestañas en el borde derecho: solo el icono; al pasar el mouse sale el nombre ===== */
.dn-pq { right: 0 !important; bottom: 156px !important; }
.dn-pq__btn { border-radius: 999px 0 0 999px !important; padding: 11px 14px 11px 13px !important; gap: 0 !important; box-shadow: -2px 3px 12px rgba(0, 59, 98, .28) !important; transform: none !important; transition: padding .2s, box-shadow .2s; }
.dn-pq__btn span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .25s ease, margin .25s ease; }
.dn-pq__btn:hover span, .dn-pq__btn:focus-visible span, .dn-pq--abierto .dn-pq__btn span { max-width: 140px; margin-left: 8px; }
.dn-pq__btn:hover { transform: none !important; padding-right: 18px !important; }
.dn-pq__panel { right: 12px !important; bottom: 58px !important; }

body > menu { right: 0 !important; bottom: 92px !important; }
body > menu > button.trigger { width: auto !important; min-width: 48px; height: 46px !important; padding: 0 12px 0 11px !important; border-radius: 999px 0 0 999px !important; display: flex !important; align-items: center; justify-content: flex-start; font-size: 24px !important; box-shadow: -2px 3px 12px rgba(0, 0, 0, .2) !important; }
body > menu > button.trigger::after { content: "WhatsApp"; font: 600 14.5px Roboto, Arial, sans-serif; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .25s ease, margin .25s ease; }
body > menu > button.trigger:hover::after, body > menu > button.trigger:focus-visible::after { max-width: 120px; margin-left: 8px; }

@media (max-width: 600px) {
  .dn-pq { bottom: 132px !important; }
  .dn-pq__btn { padding: 9px 11px 9px 11px !important; }
  body > menu { right: 0 !important; bottom: 80px !important; }
  body > menu > button.trigger { height: 42px !important; min-width: 44px; padding: 0 10px !important; font-size: 22px !important; }
}

/* Barra del listado: orden (Más vendidos / A-Z) + vista (Grilla / Lista) */
.dn-barra__der { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
@media (max-width: 600px) {
  .dn-barra { flex-wrap: wrap; gap: 8px; }
  .dn-barra__der { width: 100%; justify-content: space-between; }
  .dn-barra__der .dn-barra__sw button { padding: 6px 10px !important; font-size: 13px !important; }
}
/* Tarjetas de producto en el chat: nombre arriba, precio abajo (no se desborda) */
.dn-pq__prod { flex-direction: column !important; gap: 2px !important; }
.dn-pq__prod span { white-space: normal !important; }
/* Preguntame: mas preguntas frecuentes, en chips compactos */
.dn-pq__chips { gap: 5px !important; }
.dn-pq__chips button { padding: 5px 10px !important; font-size: 12.5px !important; }
/* El panel no se mete debajo del encabezado */
@media (min-width: 601px) { .dn-pq__panel { height: min(560px, calc(100vh - 250px)) !important; min-height: 320px; } }

/* ===== Carrito: escalones, "te faltan", compra minima, cantidad ===== */
.dtosEscalonados.dn-oculto-esc { display: none !important; }
.dn-cesc { display: flex; flex-direction: column; gap: 4px; min-width: 220px; max-width: 300px; }
.dn-cesc__t { font-size: 11.5px; font-weight: 700; color: #004996; text-transform: uppercase; letter-spacing: .04em; }
.dn-cesc__r { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #1f2933; background: #eef4fa; border-radius: 8px; padding: 5px 9px; }
.dn-cesc__r b { margin-left: auto; color: #003b62; white-space: nowrap; }
.dn-cesc__r--ok { background: #e6f4ec; }
.dn-cesc__r--ok span { color: #1a7f45; font-weight: 600; }
.dn-cesc__falta { font-size: 12.5px; color: #8a4b00; background: #fff4e5; border-radius: 8px; padding: 5px 9px; font-weight: 600; }
.dn-cmin { margin: 6px 0 14px; }
.dn-cmin__t { font-size: 13.5px; font-weight: 600; color: #003b62; margin-bottom: 6px; }
.dn-cmin__z { margin-top: 8px; font-size: 12.5px; color: #3c4a57; }
.dn-cmin__z summary { cursor: pointer; color: #00579d; font-weight: 600; list-style: none; }
.dn-cmin__z summary::-webkit-details-marker { display: none; }
.dn-cmin__z summary::after { content: ' ▾'; }
.dn-cmin__z[open] summary::after { content: ' ▴'; }
.dn-cmin__z ul { margin: 6px 0 0; padding: 0 0 0 2px; list-style: none; line-height: 1.55; }
html[data-tema="oscuro"] .dn-cmin__z { color: #c3ccd6; }
html[data-tema="oscuro"] .dn-cmin__z summary { color: #8cc2ff; }
.dn-cmin__bg { height: 8px; border-radius: 999px; background: #e1e8f0; overflow: hidden; }
.dn-cmin__fg { height: 100%; background: #f2b705; border-radius: 999px; transition: width .3s; }
.dn-cmin__fg--ok { background: #1a7f45; }
app-cart-list-item .product-add-to-cart { border-radius: 12px !important; overflow: hidden; }
app-cart-list-item .product-add-to-cart__input-container input { background: transparent !important; color: inherit !important; font-weight: 700; text-align: center; }
html[data-tema="oscuro"] .dn-cesc__t, html[data-tema="oscuro"] .dn-cmin__t { color: #8cc2ff; }
html[data-tema="oscuro"] .dn-cesc__r { background: #1b2a3d; color: #e2e8f0; }
html[data-tema="oscuro"] .dn-cesc__r b { color: #e8eef6; }
html[data-tema="oscuro"] .dn-cesc__r--ok { background: #16352a; }
html[data-tema="oscuro"] .dn-cesc__r--ok span { color: #6fd39b; }
html[data-tema="oscuro"] .dn-cesc__falta { background: #3a2a12; color: #ffd08a; }
html[data-tema="oscuro"] .dn-cmin__bg { background: #263649; }
html[data-tema="oscuro"] app-cart-list-item .product-add-to-cart { border-color: #3a4d63 !important; }
html[data-tema="oscuro"] app-cart-list-item .product-add-to-cart .mat-icon, html[data-tema="oscuro"] app-cart-list-item .product-add-to-cart__icon-button { color: #8cc2ff !important; }
html[data-tema="oscuro"] app-cart-list-item .product-item, html[data-tema="oscuro"] app-cart-list-detail mat-card { background: #152131 !important; }
html[data-tema="oscuro"] app-cart-list-item h3, html[data-tema="oscuro"] app-cart-list-item .span-family, html[data-tema="oscuro"] app-cart-list-item .price-container, html[data-tema="oscuro"] app-cart-list-detail { color: #e2e8f0 !important; }

/* Tarjetas de producto: nombre completo (sin "…") y mas ancho util para precio y escalones */
mat-card.product-card .product-card__content { margin-left: 0 !important; margin-right: 0 !important; padding-left: 14px !important; padding-right: 14px !important; box-sizing: border-box; width: 100% !important; }
mat-card.product-card p.mat-h3 { -webkit-line-clamp: unset !important; line-clamp: unset !important; display: block !important; overflow: visible !important; text-overflow: clip !important; white-space: normal !important; max-height: none !important; height: auto !important; min-height: 2.6em; }
html[data-tema="oscuro"] app-cart p.mat-caption.datos, html[data-tema="oscuro"] app-cart-list-detail p.datos { color: #9fb0c3 !important; }

/* ===== Selector de cantidad (tarjetas, ficha y carrito): un bloque redondeado, botones claros, numero grande ===== */
.product-add-to-cart-main { width: 100% !important; align-items: center; gap: 8px; }
.product-add-to-cart { height: 42px !important; border: 1.5px solid #c9d8e8 !important; border-radius: 999px !important; background: #fff !important; overflow: hidden; margin: 10px 0 !important; flex: 1; min-width: 0; }
.product-add-to-cart__icon-button { width: 40px !important; height: 40px !important; line-height: 40px !important; color: #004996 !important; flex: none; border-radius: 50% !important; }
.product-add-to-cart__icon-button:hover { background: #eef4fa !important; }
.product-add-to-cart__icon-button .mat-icon { font-size: 22px !important; }
.product-add-to-cart__input-container { flex: 1; min-width: 0; width: auto !important; }
.product-add-to-cart__input-container input { background: transparent !important; color: #003b62 !important; font-size: 17px !important; font-weight: 700 !important; height: 38px; padding: 0 !important; }
.product-add-to-cart-main .btn-add { flex: none; margin: 0 !important; width: 44px !important; height: 44px !important; box-shadow: 0 3px 10px rgba(0, 73, 150, .3) !important; }
.product-add-to-cart__add-button { border-radius: 999px !important; height: 42px; line-height: 42px !important; font-weight: 600 !important; }
html[data-tema="oscuro"] .product-add-to-cart { background: #0e1621 !important; border-color: #3a4d63 !important; }
html[data-tema="oscuro"] .product-add-to-cart__icon-button { color: #8cc2ff !important; }
html[data-tema="oscuro"] .product-add-to-cart__icon-button:hover { background: #1f3045 !important; }
html[data-tema="oscuro"] .product-add-to-cart__input-container input { color: #e8eef6 !important; }
html[data-tema="oscuro"] .product-add-to-cart-main .btn-add { background: #1f5f9e !important; }

/* Corazon en modo noche: sin circulo blanco */
html[data-tema="oscuro"] mat-card.product-card .product-card__add-to-favorite { background: transparent !important; box-shadow: none !important; }

/* Buscador -> listado: el producto elegido arriba, destacado */
.dn-elegido { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; padding: 14px 18px; border-radius: 16px; background: #fff; border: 2px solid #004996; box-shadow: 0 6px 18px rgba(0, 59, 98, .12); text-decoration: none !important; color: #1f2933 !important; }
.dn-elegido img { width: 96px; height: 96px; object-fit: contain; border-radius: 12px; background: linear-gradient(180deg, #f8fafc, #e8eef5); mix-blend-mode: multiply; flex: none; }
.dn-elegido__tx { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.dn-elegido__tx small { font-size: 11.5px; font-weight: 700; color: #004996; text-transform: uppercase; letter-spacing: .05em; }
.dn-elegido__tx b { font-size: 18px; color: #003b62; font-weight: 600; }
.dn-elegido__tx span { font-size: 15px; color: #1a7f45; font-weight: 600; }
.dn-elegido__btn { flex: none; background: #c8332c; color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 600; }
.dn-elegido__h { font-size: 15px; font-weight: 600; color: #5b6b7a; margin: 4px 0 10px; }
.dn-dup-elegido { display: none !important; }
html[data-tema="oscuro"] .dn-elegido { background: #152131; border-color: #1f5f9e; color: #e2e8f0 !important; }
html[data-tema="oscuro"] .dn-elegido__tx b { color: #e8eef6; }
html[data-tema="oscuro"] .dn-elegido__tx small { color: #8cc2ff; }
html[data-tema="oscuro"] .dn-elegido__tx span { color: #6fd39b; }
html[data-tema="oscuro"] .dn-elegido__h { color: #9fb0c3; }
@media (max-width: 600px) { .dn-elegido { margin: 0 16px 12px; padding: 10px 12px; gap: 10px; flex-wrap: wrap; } .dn-elegido img { width: 64px; height: 64px; } .dn-elegido__tx b { font-size: 15px; } .dn-elegido__btn { width: 100%; text-align: center; } .dn-elegido__h { margin: 4px 16px 10px; } }
.dn-elegido, .dn-elegido__h { flex: 0 0 100% !important; width: 100% !important; box-sizing: border-box; }

/* Tarjetas: la foto ocupa todo el ancho del recuadro; corazon sin circulo; escalones que nunca se salen */
mat-card.product-card app-image.ProductImage, mat-card.product-card app-image { width: 100% !important; display: block; }
mat-card.product-card a.product-favorite__icon, mat-card.product-card .product-card__add-to-favorite a { background: transparent !important; box-shadow: none !important; }
.dn-esc__r, .dn-mv__esc > div { flex-wrap: wrap !important; row-gap: 2px !important; }
.dn-esc__r > span:first-child, .dn-mv__esc > div > span:first-child { flex: 1 1 auto; }

/* ===== Comprar sin iniciar sesion ===== */
.dn-inv-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.dn-inv-step { display: inline-flex; align-items: center; height: 40px; border: 1.5px solid #c9d8e8; border-radius: 999px; background: #fff; overflow: hidden; }
.dn-inv-step button { width: 38px; height: 38px; border: 0; background: transparent; color: #004996; font-size: 22px; font-weight: 700; cursor: pointer; line-height: 1; }
.dn-inv-step button:hover { background: #eef4fa; }
.dn-inv-step input, .dn-inv-step span { width: 54px; border: 0; outline: 0; background: transparent; text-align: center; font: 700 16px Roboto, Arial, sans-serif; color: #003b62; -moz-appearance: textfield; }
.dn-inv-step input::-webkit-outer-spin-button, .dn-inv-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dn-inv-add { flex: 1; min-width: 140px; height: 42px; border: 0; border-radius: 999px; background: #004996; color: #fff; font: 600 15px Roboto, Arial, sans-serif; cursor: pointer; }
.dn-inv-add:hover { background: #003b62; }
.dn-inv-add--ok { background: #1a7f45 !important; }
.dn-inv-nota { flex: 0 0 100%; font-size: 12.5px; color: #5b6b7a; }
.dn-inv-buy--chico .dn-inv-add { min-width: 0; font-size: 14px; }
.dn-inv-buy--chico .dn-inv-step input { width: 44px; }
.dn-inv-step--chico { height: 32px; } .dn-inv-step--chico button { width: 30px; height: 30px; font-size: 18px; } .dn-inv-step--chico span { width: 36px; font-size: 14px; }
.dn-cli-badge { position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #c8332c; color: #fff; font: 700 11px/18px Roboto, Arial, sans-serif; text-align: center; }
.dn-inv-badge { position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #c8332c; color: #fff; font: 700 11px/18px Roboto, Arial, sans-serif; text-align: center; }
a.product-favorite__icon.dn-fav-on .favorite { visibility: hidden; }
a.product-favorite__icon.dn-fav-on::after { content: "♥"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #c8332c; font-size: 26px; }
.dn-cinv { position: fixed; inset: 0; z-index: 10060; pointer-events: none; }
.dn-cinv__fondo { position: absolute; inset: 0; background: rgba(0, 20, 40, .35); opacity: 0; transition: opacity .2s; }
.dn-cinv__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: #fff; box-shadow: -8px 0 30px rgba(0, 0, 0, .2); transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; font-family: Roboto, Arial, sans-serif; }
.dn-cinv--abierto { pointer-events: auto; } .dn-cinv--abierto .dn-cinv__fondo { opacity: 1; } .dn-cinv--abierto .dn-cinv__panel { transform: none; }
.dn-cinv__cab { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: #003b62; color: #fff; font-size: 18px; }
.dn-cinv__x { border: 0; background: rgba(255, 255, 255, .15); color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
.dn-cinv__lista { flex: 1; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; }
.dn-cinv__it { display: flex; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #e1e8f0; }
.dn-cinv__it img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: linear-gradient(180deg, #f8fafc, #e8eef5); mix-blend-mode: multiply; flex: none; }
.dn-cinv__tx { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.dn-cinv__tx a { color: #003b62 !important; font-weight: 600; font-size: 14.5px; line-height: 1.25; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dn-cinv__tx small { color: #5b6b7a; font-weight: 500; font-size: 12.5px; }
.dn-cinv__del { border: 0; background: none; color: #8a97a5; cursor: pointer; padding: 6px; border-radius: 8px; display: inline-flex; flex: none; }
.dn-cinv__del:hover { color: #c8332c; background: #fdecea; }
.dn-cinv__abajo { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.dn-cinv__abajo .dn-inv-step { width: auto !important; flex: none; }
.dn-cinv__lt { margin-left: auto; color: #003b62; font-size: 15px; white-space: nowrap; }
.dn-cinv__totn { font-size: 12px; color: #5b6b7a; margin-top: -4px; }
.dn-cmin--inv { margin: 4px 0 2px; } .dn-cmin--inv small { display: block; margin-top: 5px; font-size: 12px; color: #5b6b7a; }
.dn-cinv__vacio { color: #5b6b7a; text-align: center; margin-top: 30px; }
.dn-cinv__pie { padding: 14px 16px 18px; border-top: 1px solid #e1e8f0; display: flex; flex-direction: column; gap: 8px; }
.dn-cinv__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 600; color: #003b62; } .dn-cinv__total b { font-size: 21px; font-weight: 800; }
.dn-cinv__nota { margin: 0; font-size: 12.5px; color: #5b6b7a; }
.dn-cinv__fin { display: block; text-align: center; background: #c8332c; color: #fff !important; text-decoration: none !important; border-radius: 999px; padding: 12px; font-weight: 700; font-size: 16px; }
.dn-cinv__reg { display: block; text-align: center; color: #004996 !important; font-weight: 700; border: 1.5px solid #c9d8e8; border-radius: 999px; padding: 10px; text-decoration: none !important; }
.dn-cinv__reg:hover { background: #eef4fa; }
html[data-tema="oscuro"] .dn-inv-step { background: #0e1621; border-color: #3a4d63; }
html[data-tema="oscuro"] .dn-inv-step button { color: #8cc2ff; }
html[data-tema="oscuro"] .dn-inv-step input, html[data-tema="oscuro"] .dn-inv-step span { color: #e8eef6; }
html[data-tema="oscuro"] .dn-inv-nota, html[data-tema="oscuro"] .dn-cinv__nota { color: #9fb0c3; }
html[data-tema="oscuro"] .dn-cinv__panel { background: #152131; color: #e2e8f0; }
html[data-tema="oscuro"] .dn-cinv__it { border-color: #263649; } html[data-tema="oscuro"] .dn-cinv__pie { border-color: #263649; }
html[data-tema="oscuro"] .dn-cinv__tx a, html[data-tema="oscuro"] .dn-cinv__total { color: #e8eef6 !important; }
html[data-tema="oscuro"] .dn-cinv__tx small { color: #6fd39b; }
html[data-tema="oscuro"] .dn-cinv__reg { color: #8cc2ff !important; }
mat-card.product-card .product-card__content .dn-inv-buy { order: 99; width: 100%; }

/* ===== Lista de precios en pantalla ===== */
.dn-lp { display: none; position: fixed; inset: 0; z-index: 10070; background: #f5f8fb; flex-direction: column; font-family: Roboto, Arial, sans-serif; }
.dn-lp--abierto { display: flex; }
html.dn-lp-on body { overflow: hidden; }
.dn-lp__cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: #003b62; color: #fff; flex-wrap: wrap; }
.dn-lp__tit { display: flex; flex-direction: column; } .dn-lp__tit b { font-size: 20px; } .dn-lp__tit small { opacity: .85; font-size: 13px; }
.dn-lp__acc { display: flex; gap: 8px; align-items: center; }
.dn-lp__btn { border: 0; border-radius: 999px; padding: 9px 16px; background: #fff; color: #003b62; font-weight: 700; cursor: pointer; }
.dn-lp__btn:hover { background: #e8eef5; }
.dn-lp__x { border: 0; background: rgba(255, 255, 255, .15); color: #fff; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 16px; }
.dn-lp__fil { display: flex; gap: 10px; padding: 12px 20px; background: #fff; border-bottom: 1px solid #e1e8f0; flex-wrap: wrap; }
.dn-lp__q { flex: 1; min-width: 200px; height: 42px; border: 1.5px solid #c9d8e8; border-radius: 999px; padding: 0 16px; font-size: 15px; outline: none; }
.dn-lp__q:focus { border-color: #004996; }
.dn-lp__fam { height: 42px; border: 1.5px solid #c9d8e8; border-radius: 999px; padding: 0 12px; font-size: 14px; background: #fff; }
.dn-lp__cuerpo { flex: 1; overflow-y: auto; padding: 8px 20px 40px; }
.dn-lp__h { font-size: 17px; color: #003b62; margin: 18px 0 8px; font-weight: 700; }
.dn-lp__tabla { background: #fff; border-radius: 12px; border: 1px solid #e1e8f0; overflow: hidden; }
.dn-lp__fila { display: grid; grid-template-columns: minmax(0, 1fr) 130px minmax(0, 1.1fr); gap: 10px; align-items: center; padding: 9px 14px; border-top: 1px solid #eef2f6; font-size: 14px; }
.dn-lp__fila--cab { border-top: 0; background: #eef4fa; font-weight: 700; font-size: 12px; color: #004996; text-transform: uppercase; letter-spacing: .04em; }
.dn-lp__prod { display: flex; flex-direction: column; min-width: 0; } .dn-lp__prod b { font-weight: 500; color: #1f2933; } .dn-lp__prod small { color: #6b7b8b; font-size: 12px; }
.dn-lp__pr { font-weight: 700; color: #003b62; white-space: nowrap; }
.dn-lp__esc { display: flex; flex-wrap: wrap; gap: 4px; }
.dn-lp__esc i { font-style: normal; font-size: 12.5px; background: #e6f4ec; color: #1a7f45; border-radius: 999px; padding: 2px 9px; font-weight: 600; white-space: nowrap; }
.dn-lp__vars { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: -2px; }
.dn-lp__vars span { font-size: 12.5px; color: #33475b; background: #f1f5f9; border: 1px solid #e1e8f0; border-radius: 6px; padding: 1px 8px; }
html[data-tema="oscuro"] .dn-lp__vars span { background: #1b2a3d; border-color: #2a3c52; color: #c9d6e3; }
.dn-lp, .dn-lp * { box-sizing: border-box; }
.dn-lp { width: 100vw; max-width: 100%; }
.dn-lp__tit { min-width: 0; flex: 1 1 220px; }
.dn-lp__acc { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 560px) { .dn-lp__btn { padding: 8px 12px; font-size: 13px; } }
@media (max-width: 700px) { .dn-lp__fila { grid-template-columns: minmax(0, 1fr) auto; } .dn-lp__esc { grid-column: 1 / -1; } .dn-lp__fila--cab span:last-child { display: none; } .dn-lp__cab { padding: 12px 14px; } .dn-lp__fil, .dn-lp__cuerpo { padding-left: 12px; padding-right: 12px; } }
html[data-tema="oscuro"] .dn-lp { background: #0e1621; }
html[data-tema="oscuro"] .dn-lp__fil, html[data-tema="oscuro"] .dn-lp__tabla { background: #152131; border-color: #263649; }
html[data-tema="oscuro"] .dn-lp__q, html[data-tema="oscuro"] .dn-lp__fam { background: #0e1621; color: #e2e8f0; border-color: #3a4d63; }
html[data-tema="oscuro"] .dn-lp__fila { border-color: #1f2d40; }
html[data-tema="oscuro"] .dn-lp__fila--cab { background: #1b2a3d; color: #8cc2ff; }
html[data-tema="oscuro"] .dn-lp__prod b { color: #e2e8f0; } html[data-tema="oscuro"] .dn-lp__pr, html[data-tema="oscuro"] .dn-lp__h { color: #e8eef6; }
html[data-tema="oscuro"] .dn-lp__esc i { background: #16352a; color: #6fd39b; }
/* PDF: se imprime solo la lista, en blanco */
@media print {
  html.dn-lp-on body > *:not(.dn-lp) { display: none !important; }
  html.dn-lp-on .dn-lp { position: static; display: block; background: #fff; }
  html.dn-lp-on .dn-lp__acc, html.dn-lp-on .dn-lp__fil { display: none !important; }
  html.dn-lp-on .dn-lp__cab { background: #fff !important; color: #003b62 !important; border-bottom: 2px solid #003b62; }
  html.dn-lp-on .dn-lp__cuerpo { overflow: visible; }
  html.dn-lp-on .dn-lp__fila { break-inside: avoid; }
}

/* ===== Donde conseguir Dione ===== */
.dn-puntos { padding: 36px 0; }
.dn-puntos__sub { color: #5b6b7a; margin: -6px 0 18px; }
.dn-puntos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items: start; }
.dn-puntos__zona { background: #fff; border: 1px solid #e1e8f0; border-radius: 16px; padding: 16px 18px; }
.dn-puntos__zona h3 { margin: 0 0 10px; font-size: 16px; color: #004996; text-transform: uppercase; letter-spacing: .04em; }
.dn-puntos__it { display: grid; grid-template-columns: 1fr auto; gap: 1px 10px; padding: 9px 0; border-top: 1px solid #eef2f6; }
.dn-puntos__it:first-of-type { border-top: 0; }
.dn-puntos__it b { font-weight: 600; color: #003b62; font-size: 14.5px; grid-column: 1; }
.dn-puntos__it span { color: #5b6b7a; font-size: 13.5px; grid-column: 1; }
.dn-puntos__ir { grid-column: 2; grid-row: 1 / span 2; align-self: center; white-space: nowrap; font-size: 13px; font-weight: 600; color: #004996 !important; border: 1.5px solid #c9d8e8; border-radius: 999px; padding: 5px 12px; text-decoration: none !important; }
.dn-puntos__ir:hover { background: #eef4fa; }
html[data-tema="oscuro"] .dn-puntos__zona { background: #152131; border-color: #263649; }
html[data-tema="oscuro"] .dn-puntos__zona h3 { color: #8cc2ff; }
html[data-tema="oscuro"] .dn-puntos__it { border-color: #1f2d40; }
html[data-tema="oscuro"] .dn-puntos__it b { color: #e8eef6; } html[data-tema="oscuro"] .dn-puntos__it span, html[data-tema="oscuro"] .dn-puntos__sub { color: #9fb0c3; }
html[data-tema="oscuro"] .dn-puntos__ir { color: #8cc2ff !important; border-color: #3a4d63; }
@media (max-width: 600px) { .dn-puntos { padding: 24px 16px; } .dn-puntos__grid { grid-template-columns: minmax(0, 1fr); } .dn-puntos__it { grid-template-columns: minmax(0, 1fr) auto; } .dn-puntos__it b, .dn-puntos__it span { overflow-wrap: anywhere; } }

/* ===== Historial ===== */
.dn-vp-btn { width: auto !important; border-radius: 999px !important; padding: 0 14px 0 8px !important; background: #004996 !important; color: #fff !important; display: inline-flex !important; align-items: center; gap: 6px; }
.dn-vp-btn .mat-icon { color: #fff !important; }
.dn-vp { font: 600 14px Roboto, Arial, sans-serif; }
.dn-hab { max-width: 1200px; margin: 0 auto 22px; padding: 20px 22px; background: #fff; border: 1px solid #e1e8f0; border-radius: 18px; }
.dn-hab h2 { margin: 0 0 4px; color: #003b62; font-size: 22px; }
.dn-hab p { margin: 0 0 14px; color: #5b6b7a; }
.dn-hab__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.dn-hab__it { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #e1e8f0; border-radius: 12px; cursor: pointer; }
.dn-hab__it img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: linear-gradient(180deg, #f8fafc, #e8eef5); mix-blend-mode: multiply; flex: none; }
.dn-hab__tx { display: flex; flex-direction: column; flex: 1; min-width: 0; } .dn-hab__tx b { font-weight: 500; font-size: 14px; color: #1f2933; } .dn-hab__tx small { color: #6b7b8b; font-size: 12px; }
.dn-hab__q { width: 64px; height: 36px; border: 1.5px solid #c9d8e8; border-radius: 10px; text-align: center; font-weight: 700; font-size: 15px; }
.dn-hab__btn { margin-top: 14px; border: 0; border-radius: 999px; background: #c8332c; color: #fff; font: 700 15px Roboto, Arial, sans-serif; padding: 12px 22px; cursor: pointer; }
.dn-hab__btn:disabled { opacity: .7; } .dn-hab__nota { color: #c8332c; margin-top: 6px; font-size: 13px; }
html[data-tema="oscuro"] .dn-hab { background: #152131; border-color: #263649; }
html[data-tema="oscuro"] .dn-hab h2 { color: #e8eef6; } html[data-tema="oscuro"] .dn-hab p, html[data-tema="oscuro"] .dn-hab__tx small { color: #9fb0c3; }
html[data-tema="oscuro"] .dn-hab__it { border-color: #263649; } html[data-tema="oscuro"] .dn-hab__tx b { color: #e2e8f0; }
html[data-tema="oscuro"] .dn-hab__q { background: #0e1621; color: #e8eef6; border-color: #3a4d63; }
@media (max-width: 600px) { .dn-hab { margin: 0 12px 16px; padding: 14px; } .dn-hab__grid { grid-template-columns: 1fr; } }
/* Tarjetas angostas (celular): selector arriba a todo lo ancho, "Agregar" abajo */
@container (max-width: 300px) {
  .dn-inv-buy--chico { gap: 6px; }
  .dn-inv-buy--chico .dn-inv-step { flex: 1 1 100%; justify-content: space-between; }
  .dn-inv-buy--chico .dn-inv-step input { flex: 1; width: auto; }
  .dn-inv-buy--chico .dn-inv-add { flex: 1 1 100%; height: 38px; }
}
.dn-inv-step button { flex: none; }
.dn-inv-step input { min-width: 0; }
@container (max-width: 300px) { .dn-inv-buy--chico .dn-inv-step input { width: 0 !important; flex: 1 1 0; } }
/* Modo noche: miniaturas sueltas sin fusion (si no, se ven negras sobre fondo oscuro) */
html[data-tema="oscuro"] .dn-cinv__it img, html[data-tema="oscuro"] .dn-sug__it img, html[data-tema="oscuro"] .dn-hab__it img, html[data-tema="oscuro"] .dn-elegido img { mix-blend-mode: normal !important; background: #fff !important; }
/* Registro: Completar con Google */
.dn-google { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 10px 0 4px; }
.dn-google__ok { color: #1a7f45; font-weight: 600; font-size: 14px; }
html[data-tema="oscuro"] .dn-google__ok { color: #6fd39b; }

/* Carrito invitado: oscuro */
html[data-tema="oscuro"] .dn-cinv__lt { color: #e8eef6; }
html[data-tema="oscuro"] .dn-cinv__tx small, html[data-tema="oscuro"] .dn-cinv__totn, html[data-tema="oscuro"] .dn-cmin--inv small { color: #9fb0c3; }
html[data-tema="oscuro"] .dn-cinv__reg { border-color: #3a4d63; }
html[data-tema="oscuro"] .dn-cinv__del:hover { background: #3a1c1c; }

/* ===== Carrito con sesion (12/11): sin caja con scroll propio, resumen fijo, ahorro, barra en celular, quitar con Deshacer ===== */
app-cart-list .card-container > mat-card { max-height: none !important; height: auto !important; overflow: visible !important; }
app-cart-list, app-cart-list .content, app-cart-list .card-container, app-cart-list-item, app-cart-list-item .product-item { min-width: 0; max-width: 100%; }
app-cart-list-item .product-add-to-cart__input-container input[disabled] { max-width: 90px; }
@media (min-width: 900px) {
  aside.cart-list-detail { position: sticky; top: 150px; align-self: flex-start; }
}
.dn-ccab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 2px 12px; flex-wrap: wrap; }
.dn-ccab h1 { margin: 0; font-size: 24px; font-weight: 700; color: #003b62; }
.dn-ccab a { color: #004996 !important; font-weight: 600; font-size: 14px; text-decoration: none !important; }
.dn-ccab a:hover { text-decoration: underline !important; }
.dn-cahorro { margin: 6px 0 10px; padding: 8px 12px; border-radius: 10px; background: #e6f4ec; color: #1a7f45; font-weight: 700; font-size: 14px; text-align: center; }
.dn-cconf { list-style: none; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid #e1e8f0; font-size: 13px; color: #3c4a57; display: flex; flex-direction: column; gap: 6px; }
.dn-cconf li { padding-left: 22px; position: relative; }
.dn-cconf li::before { content: '✓'; position: absolute; left: 2px; color: #1a7f45; font-weight: 800; }
html.dn-borrar-directo .cdk-overlay-container { opacity: 0 !important; pointer-events: none !important; }
.dn-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 10090; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px);
  background: #1f2933; color: #fff; padding: 12px 14px 12px 18px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); font: 500 14px Roboto, Arial, sans-serif; transition: opacity .35s, transform .35s; }
.dn-toast button { border: 0; background: none; color: #8cc2ff; font-weight: 800; font-size: 14px; cursor: pointer; padding: 6px 8px; border-radius: 8px; white-space: nowrap; }
.dn-toast button:hover { background: rgba(255, 255, 255, .1); }
.dn-toast--fuera { opacity: 0; transform: translate(-50%, 12px); }
/* Freno del checkout (v43): el boton espera mientras se compara el carrito con la cuenta */
app-cart-list-detail .dn-verificando { opacity: .6; pointer-events: none; cursor: progress; }
.dn-cbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10050; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(0, 0, 0, .12); font-family: Roboto, Arial, sans-serif; transition: transform .2s; }
.dn-cbar--oculta { transform: translateY(110%); }
.dn-cbar__t { display: flex; flex-direction: column; line-height: 1.15; } .dn-cbar__t small { color: #5b6b7a; font-size: 12px; } .dn-cbar__t b { color: #003b62; font-size: 19px; }
.dn-cbar button { border: 0; border-radius: 999px; background: #004996; color: #fff; font-weight: 700; font-size: 16px; padding: 12px 26px; cursor: pointer; }
html.dn-cart-on .dn-wa, html.dn-cart-on .dn-pq__tab { bottom: 84px; }
html[data-tema="oscuro"] .dn-ccab h1 { color: #e8eef6; } html[data-tema="oscuro"] .dn-ccab a { color: #8cc2ff !important; }
html[data-tema="oscuro"] .dn-cahorro { background: #16352a; color: #6fd39b; }
html[data-tema="oscuro"] .dn-cconf { color: #c3ccd6; border-color: #263649; }
html[data-tema="oscuro"] .dn-cbar { background: #152131; } html[data-tema="oscuro"] .dn-cbar__t b { color: #e8eef6; }

/* ===== Historial nuevo: "Tus pedidos" (12/11) ===== */
html.dn-hist-on .history-content { display: none !important; }
.dn-ped { max-width: 1000px; margin: 22px auto 10px; padding: 0 4px; font-family: Roboto, Arial, sans-serif; }
.dn-ped__cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.dn-ped__cab h2 { margin: 0; font-size: 22px; color: #003b62; font-weight: 700; }
.dn-ped__per { display: inline-flex; border: 1.5px solid #c9d8e8; border-radius: 999px; overflow: hidden; background: #fff; }
.dn-ped__per button { border: 0; background: none; padding: 8px 14px; font-size: 13.5px; font-weight: 600; color: #004996; cursor: pointer; }
.dn-ped__per button + button { border-left: 1px solid #e1e8f0; }
.dn-ped__per button.dn-on { background: #004996; color: #fff; }
.dn-ped__lista { display: flex; flex-direction: column; gap: 12px; color: #5b6b7a; }
.dn-ped__vacio { text-align: center; padding: 24px; }
.dn-ped__it { background: #fff; border: 1px solid #e1e8f0; border-radius: 14px; padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; box-shadow: 0 1px 3px rgba(0, 40, 80, .05); }
.dn-ped__top { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dn-ped__f { display: flex; flex-direction: column; } .dn-ped__f b { font-size: 17px; color: #1f2933; } .dn-ped__f small { font-size: 12.5px; color: #6b7b8b; }
.dn-ped__est { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef4fa; color: #004996; }
.dn-ped__est--ok { background: #e6f4ec; color: #1a7f45; } .dn-ped__est--no { background: #fdecea; color: #c8332c; }
.dn-ped__tot { margin-left: auto; text-align: right; display: flex; flex-direction: column; }
.dn-ped__tot b { font-size: 18px; color: #003b62; } .dn-ped__tot small { font-size: 12px; color: #6b7b8b; } .dn-ped__tot .dn-ped__deuda { color: #b45309; font-weight: 700; }
.dn-ped__mini { display: flex; align-items: center; gap: 6px; min-width: 0; }
.dn-ped__mini img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #f3f6fa; border: 1px solid #e1e8f0; flex: none; }
.dn-ped__res { font-size: 13.5px; color: #3c4a57; margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dn-ped__acc { display: flex; gap: 8px; }
.dn-ped__acc button { border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.dn-ped__ver { border: 1.5px solid #c9d8e8; background: #fff; color: #004996; }
.dn-ped__rep { border: 0; background: #004996; color: #fff; }
.dn-ped__rep:disabled { opacity: .6; cursor: default; }
.dn-ped__nota { grid-column: 1 / -1; color: #b45309; font-size: 12.5px; } .dn-ped__nota:empty { display: none; }
.dn-ped__tabla { grid-column: 1 / -1; border-top: 1px solid #eef2f6; padding-top: 6px; }
.dn-ped__fila { display: grid; grid-template-columns: minmax(0, 1fr) 56px 130px 120px; gap: 10px; padding: 7px 2px; border-bottom: 1px solid #f1f5f9; font-size: 13.5px; align-items: center; color: #3c4a57; }
.dn-ped__fila a { color: #003b62 !important; text-decoration: none !important; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dn-ped__fila b { text-align: right; color: #1f2933; } .dn-ped__fila span:nth-child(3) { color: #6b7b8b; text-align: right; }
@media (max-width: 700px) {
  .dn-ped__it { grid-template-columns: 1fr; }
  .dn-ped__acc button { flex: 1; }
  .dn-ped__fila { grid-template-columns: minmax(0, 1fr) auto auto; } .dn-ped__fila span:nth-child(3) { display: none; }
}
html[data-tema="oscuro"] .dn-ped__cab h2 { color: #e8eef6; }
html[data-tema="oscuro"] .dn-ped__it, html[data-tema="oscuro"] .dn-ped__per, html[data-tema="oscuro"] .dn-ped__ver { background: #152131; border-color: #263649; }
html[data-tema="oscuro"] .dn-ped__f b, html[data-tema="oscuro"] .dn-ped__tot b, html[data-tema="oscuro"] .dn-ped__fila b { color: #e8eef6; }
html[data-tema="oscuro"] .dn-ped__res, html[data-tema="oscuro"] .dn-ped__fila { color: #c3ccd6; }
html[data-tema="oscuro"] .dn-ped__fila a { color: #8cc2ff !important; }
html[data-tema="oscuro"] .dn-ped__per button, html[data-tema="oscuro"] .dn-ped__ver { color: #8cc2ff; }
html[data-tema="oscuro"] .dn-ped__per button.dn-on { background: #2563eb; color: #fff; }
html[data-tema="oscuro"] .dn-ped__mini img { background: #fff; }

/* ===== Vista "Lista con escalas" (12/11): compra compacta a la derecha (cantidad chica + boton) ===== */
@media (min-width: 761px) {
  div.products-list.dn-lista mat-card.product-card.mat-card .product-card__content { grid-template-columns: minmax(0, 1.5fr) minmax(120px, auto) minmax(0, 1.3fr) 200px !important; }
  div.products-list.dn-lista mat-card.product-card.mat-card app-product-add-to-cart { grid-column: 4 !important; grid-row: 1 !important; padding-top: 0 !important; display: flex !important; justify-content: flex-end; align-items: center; width: 200px !important; }
}
div.products-list.dn-lista app-product-add-to-cart .product-add-to-cart-main { width: auto !important; justify-content: flex-end; gap: 6px; }
div.products-list.dn-lista app-product-add-to-cart .product-add-to-cart { flex: none !important; width: 132px !important; height: 38px !important; margin: 0 !important; }
div.products-list.dn-lista app-product-add-to-cart .product-add-to-cart__icon-button { width: 36px !important; height: 36px !important; line-height: 36px !important; }
div.products-list.dn-lista app-product-add-to-cart .product-add-to-cart__input-container input { font-size: 15px !important; height: 34px; }
div.products-list.dn-lista app-product-add-to-cart .product-add-to-cart-main .btn-add { width: 38px !important; height: 38px !important; }
div.products-list.dn-lista app-product-add-to-cart .product-add-to-cart__add-button { height: 38px; line-height: 38px !important; padding: 0 16px !important; min-width: 0 !important; width: auto !important; font-size: 13.5px !important; }
@media (max-width: 760px) {
  div.products-list.dn-lista app-product-add-to-cart { display: flex !important; justify-content: flex-start; }
}
div.products-list.dn-lista mat-card.product-card.mat-card .product-card__content { border-top: 0 !important; }
html[data-tema="oscuro"] app-history .history.container { background: #0e1621 !important; }
html[data-tema="oscuro"] app-history h1, html[data-tema="oscuro"] app-history .titulo { color: #e8eef6 !important; }
.dn-ped__cab h2 { font-size: 22px; }

.dn-pq.dn-pq--oculto .dn-pq__btn { opacity: 0; pointer-events: none; }
/* Menu del celular: boton "Menu de usuario" (en modo dia quedaba azul sobre azul) */
.hamburger-menu a.user-button { background: #003b62 !important; color: #fff !important; border-color: #003b62 !important; }
.hamburger-menu a.user-button .mat-button-wrapper, .hamburger-menu a.user-button .mat-icon { color: #fff !important; }

/* Carrito: escalones tocables y "Agregar N y pagar $X c/u" como boton (12/11) */
.dn-cesc__r--btn { cursor: pointer; transition: background .15s, box-shadow .15s; }
.dn-cesc__r--btn:hover { box-shadow: inset 0 0 0 1.5px #004996; }
button.dn-cesc__falta--btn { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; border: 0; cursor: pointer; font: inherit;
  background: #004996 !important; color: #fff !important; border-radius: 10px; padding: 9px 12px; box-shadow: 0 3px 10px rgba(0, 73, 150, .25); }
button.dn-cesc__falta--btn b { font-size: 14px; font-weight: 700; }
button.dn-cesc__falta--btn small { font-size: 12px; opacity: .85; font-weight: 500; }
button.dn-cesc__falta--btn:hover { background: #003b62 !important; }
/* Carrito: el selector de cantidad no se achica cuando el recuadro de escalones es ancho (se perdia el numero) */
app-cart-list-item .product-add-to-cart { flex: 0 0 auto !important; min-width: 124px !important; }
app-cart-list-item .product-add-to-cart__input-container { min-width: 48px !important; }
app-cart-list-item .product-add-to-cart__input-container input { min-width: 48px; }

.dn-cant-flash { animation: dnFlash .9s ease; }
@keyframes dnFlash { 0% { background: #ffe58a; } 100% { background: transparent; } }

/* Tarjetas: "Llevando N" se puede tocar para completar la cantidad */
.dn-esc__r--tap { cursor: pointer; }
.dn-ficha__escr--tap { cursor: pointer; }
.dn-ficha__escr--tap:hover span, .dn-ficha__escr--tap:focus-visible span { text-decoration: underline; }
.dn-ficha__escr--tap:focus-visible { outline: 2px solid #1d6fd1; outline-offset: 2px; }
.dn-esc__r--tap:hover { box-shadow: inset 0 0 0 1.5px #004996; }
/* Lista de precios: familia y titulos de columnas fijos al bajar */
.dn-lp__tabla { overflow: visible !important; }
.dn-lp__h { position: sticky; top: 0; z-index: 3; background: #f5f8fb; margin: 0 !important; padding: 16px 0 8px; }
.dn-lp__fila--cab { position: sticky; top: 46px; z-index: 2; border-radius: 12px 12px 0 0; box-shadow: 0 2px 4px rgba(0, 40, 80, .06); }
.dn-lp__tabla > .dn-lp__fila:last-child { border-radius: 0 0 12px 12px; }
html[data-tema="oscuro"] .dn-lp__h { background: #0e1621; }
@media print { .dn-lp__h, .dn-lp__fila--cab { position: static; } }
/* Carrito: la info del producto no puede ser mas ancha que su lugar (se corria encima de la foto) */
app-cart-list-item .product-item-content > div { min-width: 0 !important; flex: 1 1 auto !important; }
app-cart-list-item .info-container { max-width: 100% !important; min-width: 0 !important; }
app-cart-list-item .list-left { min-width: 0 !important; flex: 1 1 auto !important; }
app-cart-list-item .list-left > div { flex-wrap: wrap !important; gap: 8px 14px; }
app-cart-list-item .dn-cesc { min-width: 0; flex: 1 1 260px; }

.dn-ped__acc { flex-wrap: wrap; }
.dn-ped__comp:disabled { opacity: .8; cursor: default; }
.dn-ped__nota--ok { color: #1a7f45 !important; font-weight: 600; }

/* Ingreso con codigo por mail (12/11) */
.dn-cod { margin: 14px 0 4px; border: 1.5px dashed #c9d8e8; border-radius: 12px; padding: 10px 12px; font-family: Roboto, Arial, sans-serif; }
.dn-cod__abrir { border: 0; background: none; color: #004996; font-weight: 700; font-size: 14px; cursor: pointer; padding: 4px 0; text-align: left; width: 100%; }
.dn-cod__cuerpo { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.dn-cod__cuerpo[hidden], .dn-cod__paso2[hidden], .dn-cod__btn[hidden] { display: none !important; }
.dn-cod__p { margin: 0; font-size: 13px; color: #5b6b7a; }
.dn-cod__in { height: 42px; border: 1.5px solid #c9d8e8; border-radius: 10px; padding: 0 12px; font-size: 15px; background: #fff; color: #1f2933; box-sizing: border-box; width: 100%; }
.dn-cod__in--cod { font-size: 24px; letter-spacing: 8px; text-align: center; font-weight: 700; }
.dn-cod__paso2 { display: flex; flex-direction: column; gap: 8px; }
.dn-cod__btn { height: 42px; border: 0; border-radius: 999px; background: #004996; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.dn-cod__btn:disabled { opacity: .6; }
.dn-cod__link { border: 0; background: none; color: #004996; font-size: 13px; text-decoration: underline; cursor: pointer; align-self: center; }
.dn-cod__msj { font-size: 13px; color: #3c4a57; min-height: 0; }
.dn-cod__msj--ok { color: #1a7f45; font-weight: 600; } .dn-cod__msj--err { color: #c8332c; font-weight: 600; }
html[data-tema="oscuro"] .dn-cod { border-color: #3a4d63; }
html[data-tema="oscuro"] .dn-cod__abrir, html[data-tema="oscuro"] .dn-cod__link { color: #8cc2ff; }
html[data-tema="oscuro"] .dn-cod__in { background: #0e1621; color: #e2e8f0; border-color: #3a4d63; }
html[data-tema="oscuro"] .dn-cod__p, html[data-tema="oscuro"] .dn-cod__msj { color: #9fb0c3; }
/* Menu de los 3 WhatsApp (boton flotante) y pie (12/11) */
.dn-wamenu { position: fixed; z-index: 10095; width: min(300px, calc(100vw - 24px)); background: #fff; border-radius: 14px; box-shadow: 0 12px 34px rgba(0, 20, 40, .28); padding: 10px; font-family: Roboto, Arial, sans-serif; display: flex; flex-direction: column; gap: 6px; }
.dn-wamenu__t { font-size: 13px; font-weight: 700; color: #003b62; padding: 4px 6px 2px; }
.dn-wamenu__op { display: flex; flex-direction: column; gap: 1px; padding: 9px 12px 9px 40px; border-radius: 10px; text-decoration: none !important; color: #1f2933 !important; background: #f3f8f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325d366'%3E%3Cpath d='M12 2a10 10 0 0 0-8.7 14.9L2 22l5.3-1.3A10 10 0 1 0 12 2z'/%3E%3C/svg%3E") no-repeat 12px center / 18px; }
.dn-wamenu__op:hover { background-color: #e3f3e9; }
.dn-wamenu__op b { font-size: 14px; display: flex; align-items: center; gap: 6px; }
.dn-wamenu__op b em { font-style: normal; font-size: 11px; background: #25d366; color: #fff; border-radius: 999px; padding: 1px 7px; }
.dn-wamenu__op small { font-size: 12px; color: #5b6b7a; }
.dn-pie__wa--tuyo { font-weight: 700; }
.dn-pie__wa--tuyo::after { content: ' · tu vendedor'; font-weight: 400; opacity: .8; }
html[data-tema="oscuro"] .dn-wamenu { background: #152131; }
html[data-tema="oscuro"] .dn-wamenu__t { color: #e8eef6; }
html[data-tema="oscuro"] .dn-wamenu__op { background-color: #1b2a3d; color: #e2e8f0 !important; }
html[data-tema="oscuro"] .dn-wamenu__op small { color: #9fb0c3; }

/* ===== Lista de precios: Excel nuevo + PDF con logo, encabezado, pie y lineas entre articulos (12/11) ===== */
.dn-lp__imp { display: none; }
.dn-lp__btn--sec { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); font-weight: 600; }
.dn-lp__btn--sec:hover { background: rgba(255, 255, 255, .12); }
.dn-lp__btn:disabled { opacity: .7; cursor: progress; }
.dn-lp__fila { border-top: 1px solid #d5dee8; }
html[data-tema="oscuro"] .dn-lp__fila { border-color: #2a3a4f; }
@page lista {
  size: A4; margin: 12mm 11mm 16mm;
  @bottom-left { content: "Dione Química S.A. · www.dionequimica.com.ar · Precios con IVA incluido, sujetos a cambio sin previo aviso"; font: 8pt Arial, sans-serif; color: #5b6b7a; }
  @bottom-right { content: "Página " counter(page) " de " counter(pages); font: 8pt Arial, sans-serif; color: #5b6b7a; }
  @top-left { content: ""; } @top-center { content: ""; } @top-right { content: ""; }
}
@media print {
  html.dn-lp-on .dn-lp { page: lista; width: auto; }
  html.dn-lp-on .dn-lp, html.dn-lp-on .dn-lp * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html.dn-lp-on .dn-lp__cab { display: none !important; }
  html.dn-lp-on .dn-lp__imp { display: flex; align-items: center; gap: 20px; padding: 14px 18px; margin: 0 0 6px; background: #003b62 !important; color: #fff; border-radius: 10px; }
  html.dn-lp-on .dn-lp__imp img { height: 50px; width: auto; }
  html.dn-lp-on .dn-lp__imp-t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .35); }
  html.dn-lp-on .dn-lp__imp-t b { font-size: 22px; color: #fff; }
  html.dn-lp-on .dn-lp__imp-t span { font-size: 11.5px; color: #d6e4f2; }
  html.dn-lp-on .dn-lp__imp-cli { font-weight: 700; color: #fff !important; }
  html.dn-lp-on .dn-lp__imp-c { text-align: right; font-size: 10px; line-height: 1.5; color: #d6e4f2; }
  html.dn-lp-on .dn-lp__cuerpo { padding: 0 !important; }
  html.dn-lp-on .dn-lp__h { font-size: 14px; padding: 12px 0 5px; background: #fff !important; color: #003b62 !important; break-after: avoid; }
  html.dn-lp-on .dn-lp__tabla { border: 1px solid #b9c6d3; border-radius: 0; background: #fff !important; }
  html.dn-lp-on .dn-lp__fila { border-top: 1px solid #c3cfdb !important; padding: 6px 10px; font-size: 11.5px; border-radius: 0 !important; }
  html.dn-lp-on .dn-lp__fila--cab { border-top: 0 !important; background: #003b62 !important; color: #fff !important; box-shadow: none; font-size: 10px; }
  html.dn-lp-on .dn-lp__prod b { color: #1f2933 !important; }
  html.dn-lp-on .dn-lp__prod small { color: #6b7b8b !important; }
  html.dn-lp-on .dn-lp__pr { color: #003b62 !important; }
  html.dn-lp-on .dn-lp__esc i { background: #e6f4ec !important; color: #1a7f45 !important; font-size: 10.5px; }
  html.dn-lp-on .dn-lp__vars span { background: #f1f5f9 !important; border-color: #d5dee8 !important; color: #33475b !important; font-size: 10.5px; }
}

/* ===== Pedido confirmado: pantalla sobria (12/11) ===== */
mat-card.dn-ok { max-width: 640px !important; width: calc(100% - 32px) !important; margin: 32px auto !important; padding: 32px 36px !important; text-align: left !important; border-radius: 16px !important; border: 1px solid #e1e8f0; box-shadow: 0 8px 28px rgba(0, 40, 80, .08) !important; background: #fff !important; font-family: Roboto, Arial, sans-serif; }
mat-card.dn-ok > :not(.dn-ok__caja) { display: none !important; }
.dn-ok__cab { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #e1e8f0; }
.dn-ok__ico { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: #e6f4ec; color: #1a7f45; display: flex; align-items: center; justify-content: center; }
.dn-ok__t { margin: 0 !important; font-size: 24px !important; line-height: 1.2 !important; font-weight: 700 !important; color: #003b62 !important; }
.dn-ok__n { margin: 4px 0 0 !important; font-size: 14.5px; color: #5b6b7a; }
.dn-ok__sub { margin: 22px 0 10px !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; color: #004996 !important; }
.dn-ok__pasos { margin: 0; padding: 0; list-style: none; counter-reset: paso; display: flex; flex-direction: column; gap: 12px; }
.dn-ok__pasos li { counter-increment: paso; position: relative; padding-left: 38px; font-size: 14.5px; line-height: 1.5; color: #33475b; }
.dn-ok__pasos li::before { content: counter(paso); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: #eef4fa; color: #004996; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.dn-ok__pasos b { color: #1f2933; }
.dn-ok__pasos a, .dn-ok__ayuda a { color: #004996; font-weight: 600; }
.dn-ok__acc { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.dn-ok__btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 999px; background: #004996; color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none !important; }
.dn-ok__btn:hover { background: #003b62; }
.dn-ok__btn--sec { background: transparent; color: #004996 !important; border: 1.5px solid #c9d8e8; }
.dn-ok__btn--sec:hover { background: #eef4fa; }
.dn-ok__ayuda { margin: 18px 0 0 !important; font-size: 13.5px; color: #5b6b7a; }
@media (max-width: 560px) { mat-card.dn-ok { padding: 24px 20px !important; margin: 16px auto !important; } .dn-ok__btn { flex: 1 1 100%; } .dn-ok__t { font-size: 21px !important; } }
html[data-tema="oscuro"] mat-card.dn-ok { background: #152131 !important; border-color: #263649; box-shadow: none !important; }
html[data-tema="oscuro"] .dn-ok__cab { border-color: #263649; }
html[data-tema="oscuro"] .dn-ok__t { color: #e8eef6 !important; }
html[data-tema="oscuro"] .dn-ok__n, html[data-tema="oscuro"] .dn-ok__ayuda { color: #9fb0c3; }
html[data-tema="oscuro"] .dn-ok__sub { color: #8cc2ff !important; }
html[data-tema="oscuro"] .dn-ok__pasos li { color: #c9d6e3; }
html[data-tema="oscuro"] .dn-ok__pasos b { color: #e8eef6; }
html[data-tema="oscuro"] .dn-ok__pasos li::before { background: #1b2a3d; color: #8cc2ff; }
html[data-tema="oscuro"] .dn-ok__pasos a, html[data-tema="oscuro"] .dn-ok__ayuda a { color: #8cc2ff; }
html[data-tema="oscuro"] .dn-ok__ico { background: #16352a; color: #6fd39b; }
html[data-tema="oscuro"] .dn-ok__btn--sec { color: #8cc2ff !important; border-color: #3a4d63; }
html[data-tema="oscuro"] .dn-ok__btn--sec:hover { background: #1b2a3d; }

/* Buscador: el texto escrito se veia blanco sobre la caja blanca en el modo noche (13/11) */
form.form-search input, mat-toolbar .form-search input.input { color: #1f2933 !important; caret-color: #1f2933 !important; -webkit-text-fill-color: #1f2933 !important; }
form.form-search input::placeholder { color: #6b7b8b !important; -webkit-text-fill-color: #6b7b8b !important; }
/* Ficha: "Otras presentaciones" y "Tambien te puede servir" (13/11) */
.dn-pres, .dn-comp { padding-top: 8px !important; }
.dn-pres .dn-mv__grid, .dn-comp .dn-mv__grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
/* Caja de compra de la ficha: la web vieja la limita a 500 px; con las presentaciones no entraba y el boton "Agregar al carrito" quedaba cortado (13/11) */
app-products-view aside.aside.product > mat-card { max-height: none !important; height: auto !important; }
app-products-view aside.aside.product > mat-card > mat-card-content { height: auto !important; overflow: visible !important; }
.dn-presen { margin: 0 0 14px; }
.dn-presen__t { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #004996; margin-bottom: 6px; }
.dn-presen__f { display: flex; flex-wrap: wrap; gap: 8px; }
.dn-presen__b { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; border: 1.5px solid #c9d8e8; background: #fff; color: #003b62 !important; font-weight: 600; font-size: 14px; text-decoration: none !important; }
a.dn-presen__b:hover { border-color: #004996; background: #eef4fa; }
.dn-presen__b.dn-on { border-color: #004996; background: #004996; color: #fff !important; }
html[data-tema="oscuro"] .dn-presen__t { color: #8cc2ff; }
html[data-tema="oscuro"] .dn-presen__b { background: #152131; border-color: #3a4d63; color: #e2e8f0 !important; }
html[data-tema="oscuro"] a.dn-presen__b:hover { background: #1b2a3d; border-color: #8cc2ff; }
html[data-tema="oscuro"] .dn-presen__b.dn-on { background: #2f6fb3; border-color: #2f6fb3; color: #fff !important; }

/* ===== Ficha de producto v2 (13/11, SOLO version de prueba ?prueba=1 hasta que Eze la apruebe): imagen grande + panel de compra al lado, textos en tarjetas abajo ===== */
@media (min-width: 992px) {
  html.dn-prueba .dn-pv section.product-page .container.with-aside { max-width: 1180px !important; padding: 0 24px !important; }
  html.dn-prueba .dn-pv section.product-page .container.with-aside > div { display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); column-gap: 32px; row-gap: 18px; align-items: start; }
  html.dn-prueba .dn-pv .content.with-aside, html.dn-prueba .dn-pv .content.with-aside > mat-card { display: contents !important; }
  html.dn-prueba .dn-pv .content.with-aside > mat-card > * { grid-column: 1; }
  html.dn-prueba .dn-pv .content.with-aside > mat-card > app-image { grid-row: 1; margin: 0 !important; width: auto !important; background: #fff; border: 1px solid #e1e8f0; border-radius: 18px; min-height: 480px; display: flex !important; align-items: center; justify-content: center; padding: 28px; box-sizing: border-box; }
  html.dn-prueba .dn-pv .content.with-aside > mat-card > app-image figure.image { width: 100% !important; max-width: 560px; height: auto !important; margin: 0 auto !important; }
  html.dn-prueba .dn-pv .content.with-aside > mat-card > app-image figure.image img { width: 100% !important; height: auto !important; max-height: 440px; object-fit: contain; }
  html.dn-prueba .dn-pv .content.with-aside > mat-card > mat-card-content:not(.buttons) { background: #fff; border: 1px solid #e1e8f0; border-radius: 18px; padding: 22px 28px !important; margin: 0 !important; }
  html.dn-prueba .dn-pv .content.with-aside > mat-card > mat-card-content:not(.buttons) h2.mat-h1 { font-size: 18px !important; font-weight: 700 !important; color: #003b62 !important; margin: 0 0 8px !important; }
  html.dn-prueba .dn-pv .content.with-aside > mat-card > mat-card-content:not(.buttons) br { display: none; }
  html.dn-prueba .dn-pv .content.with-aside > mat-card > mat-card-content.buttons { display: none !important; }
  /* panel de compra: columna derecha, fija al bajar */
  html.dn-prueba .dn-pv aside.aside.product { grid-column: 2; grid-row: 1 / span 6; width: auto !important; max-width: none !important; position: sticky !important; top: 132px; margin: 0 !important; }
  html.dn-prueba .dn-pv aside.aside.product > mat-card { height: auto !important; min-height: 0 !important; max-height: none !important; border-radius: 18px !important; border: 1px solid #e1e8f0; box-shadow: 0 10px 30px rgba(0, 40, 80, .07) !important; padding: 26px 28px !important; }
  html.dn-prueba .dn-pv aside.aside.product mat-card-content { height: auto !important; overflow: visible !important; padding: 0 !important; display: flex; flex-direction: column; }
  html.dn-prueba .dn-pv aside.aside.product .title-badge h1.desktop-title { font-size: 28px !important; line-height: 1.2 !important; font-weight: 800 !important; color: #003b62 !important; margin: 0 0 4px !important; }
  html.dn-prueba .dn-pv aside.aside.product p.caption.code { font-size: 12.5px !important; color: #6b7b8b !important; margin: 0 0 18px !important; }
  html.dn-prueba .dn-pv aside.aside.product .dn-ficha { order: 3; }
  html.dn-prueba .dn-pv aside.aside.product app-product-favorite { order: 4; margin-top: 8px; }
  html.dn-prueba .dn-pv aside.aside.product app-product-favorite .product-favorite { height: auto !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
  html.dn-prueba .dn-pv aside.aside.product app-product-favorite a.product-favorite__text { justify-content: center; height: 38px; line-height: 38px; font-size: 13.5px !important; color: #6b7b8b !important; }
  html.dn-prueba .dn-pv .dn-ficha .dn-ficha__precio { font-size: 36px !important; font-weight: 800 !important; letter-spacing: -.5px; color: #003b62 !important; line-height: 1.1; }
  html.dn-prueba .dn-pv .dn-ficha .dn-ficha__uni { font-size: 13px !important; color: #6b7b8b !important; margin-bottom: 14px; }
  html.dn-prueba .dn-pv .dn-ficha .dn-ficha__esc { border: 1px solid #dbe5ef; border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
  html.dn-prueba .dn-pv .dn-ficha .dn-ficha__esct { background: #eef4fa; padding: 8px 14px; margin: 0 !important; }
  html.dn-prueba .dn-pv .dn-ficha .dn-ficha__escr { padding: 9px 14px; border-top: 1px solid #e6edf4; }
  html.dn-prueba .dn-pv .dn-presen { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid #e6edf4; }
  html.dn-prueba .dn-pv .dn-ficha__info { margin-top: 16px !important; padding-top: 14px !important; border-top: 1px solid #e6edf4; }
  /* galeria (solo si hay 2 o mas fotos reales): tira chica debajo de la foto */
  html.dn-prueba .dn-pv .content.with-aside > mat-card > .slider:not(.dn-oculto) { grid-row: 2; }
  html.dn-prueba[data-tema="oscuro"] .dn-pv .content.with-aside > mat-card > app-image { background: #fff; border-color: #263649; }
  html.dn-prueba[data-tema="oscuro"] .dn-pv .content.with-aside > mat-card > mat-card-content:not(.buttons) { background: #152131; border-color: #263649; }
  html.dn-prueba[data-tema="oscuro"] .dn-pv .content.with-aside > mat-card > mat-card-content:not(.buttons) h2.mat-h1 { color: #e8eef6 !important; }
  html.dn-prueba[data-tema="oscuro"] .dn-pv aside.aside.product > mat-card { background: #152131 !important; border-color: #263649; box-shadow: none !important; }
  html.dn-prueba[data-tema="oscuro"] .dn-pv aside.aside.product .title-badge h1.desktop-title, html.dn-prueba[data-tema="oscuro"] .dn-pv .dn-ficha .dn-ficha__precio { color: #e8eef6 !important; }
  html.dn-prueba[data-tema="oscuro"] .dn-pv .dn-ficha .dn-ficha__esc { border-color: #2a3c52; }
  html.dn-prueba[data-tema="oscuro"] .dn-pv .dn-ficha .dn-ficha__esct { background: #1b2a3d; }
  html.dn-prueba[data-tema="oscuro"] .dn-pv .dn-ficha .dn-ficha__escr, html.dn-prueba[data-tema="oscuro"] .dn-pv .dn-presen, html.dn-prueba[data-tema="oscuro"] .dn-pv .dn-ficha__info { border-color: #2a3c52; }
}

/* ===== Carrito opcion A (13/11): una fila compacta por producto (foto chica, nombre, cantidad, subtotal, acciones) ===== */
app-cart-list-item .product-item { padding: 10px 16px !important; border-bottom: 1px solid #e3eaf1 !important; margin: 0 !important; }
app-cart-list-item .product-item-content { display: grid !important; grid-template-columns: 60px minmax(0, 1fr); gap: 14px; align-items: center; padding: 0 !important; }
app-cart-list-item .product-item-content > app-image { width: 60px !important; height: 60px !important; margin: 0 !important; }
app-cart-list-item .product-item-content > app-image figure.image { width: 60px !important; height: 60px !important; margin: 0 !important; border: 1px solid #e3eaf1; border-radius: 10px; overflow: hidden; background: #fff; }
app-cart-list-item .product-item-content > app-image img { width: 100% !important; height: 100% !important; object-fit: contain; }
app-cart-list-item .info-container { display: grid !important; grid-template-columns: minmax(0, 1fr) 132px 150px 34px; grid-template-rows: auto auto auto; column-gap: 16px; row-gap: 2px; align-items: center; width: 100%; }
app-cart-list-item .info-container .list-left, app-cart-list-item .info-container .list-left > div:not(.title-product), app-cart-list-item .info-container .list-left > div:not(.title-product) > div, app-cart-list-item .info-container .list-right { display: contents !important; }
app-cart-list-item .title-product { grid-column: 1; grid-row: 1; margin: 0 !important; min-width: 0; }
app-cart-list-item .title-product h3.mat-h3 { font-size: 15px !important; line-height: 1.3 !important; font-weight: 600 !important; margin: 0 !important; white-space: normal; }
app-cart-list-item span.span-family { grid-column: 1; grid-row: 2; font-size: 12px !important; color: #6b7b8b !important; margin: 0 !important; }
app-cart-list-item app-product-add-to-cart { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0 !important; width: 132px !important; }
app-cart-list-item app-product-add-to-cart .product-add-to-cart__input-container { height: 36px !important; min-height: 0 !important; border-radius: 10px !important; width: 132px !important; }
app-cart-list-item app-product-add-to-cart .product-add-to-cart__input-container input { font-size: 15px !important; height: 34px !important; }
app-cart-list-item app-product-add-to-cart button { height: 34px !important; width: 34px !important; min-width: 0 !important; line-height: 34px !important; }
app-cart-list-item .dtos { grid-column: 1 / span 3; grid-row: 3; justify-self: stretch; margin: 4px 0 0 !important; padding: 0 !important; width: 100% !important; max-width: none !important; text-align: left !important; }
/* la casilla 'Incluir envases' vive en .price-detail: se muestra debajo, en su propia linea */
app-cart-list-item .info-container mat-checkbox { grid-column: 1 / span 3; grid-row: 4; justify-self: start; font-size: 12.5px; margin: 2px 0 0; }
app-cart-list-item .price-container { grid-column: 3; grid-row: 1 / span 2; text-align: right; margin: 0 !important; }
app-cart-list-item .price-container p.mat-h1 { font-size: 16px !important; font-weight: 800 !important; margin: 0 !important; line-height: 1.25 !important; }
app-cart-list-item .price-container p.unitario { font-size: 12px !important; line-height: 1.35 !important; margin: 0 !important; color: #6b7b8b !important; }
app-cart-list-item .price-container p.unitario.tachado { font-size: 11.5px !important; color: #9aa8b6 !important; }
app-cart-list-item .actions { grid-column: 4; grid-row: 1 / span 2; display: flex !important; flex-direction: column; align-items: center; gap: 2px; margin: 0 !important; }
app-cart-list-item .actions app-product-favorite, app-cart-list-item .actions .product-favorite { width: 30px !important; min-width: 0 !important; }
/* linea de escalon */
.dn-cesc.dn-cesc--linea { display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center; justify-content: flex-start !important; text-align: left !important; width: 100% !important; max-width: none !important; gap: 6px 10px; background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; font-size: 12.5px; }
.dn-cesc--linea .dn-cesc__ok { background: #e6f4ec; color: #1a7f45; font-weight: 700; border-radius: 6px; padding: 2px 8px; }
.dn-cesc--linea .dn-cesc__tx { color: #5b6b7a; }
.dn-cesc--linea .dn-cesc__ir { border: 0; background: none; padding: 0; color: #004996; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.dn-cesc--linea .dn-cesc__ir:hover { text-decoration: underline; }
html[data-tema="oscuro"] app-cart-list-item .product-item { border-color: #263649 !important; }
html[data-tema="oscuro"] app-cart-list-item .product-item-content > app-image figure.image { border-color: #263649; }
html[data-tema="oscuro"] .dn-cesc--linea .dn-cesc__ok { background: #16352a; color: #6fd39b; }
html[data-tema="oscuro"] .dn-cesc--linea .dn-cesc__tx, html[data-tema="oscuro"] app-cart-list-item span.span-family, html[data-tema="oscuro"] app-cart-list-item .price-container p.unitario { color: #9fb0c3 !important; }
html[data-tema="oscuro"] .dn-cesc--linea .dn-cesc__ir { color: #8cc2ff; }
@media (max-width: 760px) {
  app-cart-list-item .product-item { padding: 12px 12px !important; }
  app-cart-list-item .product-item-content { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: start; }
  app-cart-list-item .product-item-content > app-image, app-cart-list-item .product-item-content > app-image figure.image { width: 52px !important; height: 52px !important; }
  app-cart-list-item .info-container { grid-template-columns: minmax(0, 1fr) auto 30px; grid-template-rows: auto auto auto auto auto; column-gap: 10px; row-gap: 6px; }
  app-cart-list-item .title-product { grid-column: 1 / span 2; grid-row: 1; }
  app-cart-list-item .actions { grid-column: 3; grid-row: 1 / span 2; flex-direction: column; }
  app-cart-list-item span.span-family { grid-column: 1 / span 2; grid-row: 2; }
  app-cart-list-item app-product-add-to-cart { grid-column: 1; grid-row: 3; }
  app-cart-list-item .price-container { grid-column: 2 / span 2; grid-row: 3; }
  app-cart-list-item .dtos { grid-column: 1 / span 3; grid-row: 4; }
  app-cart-list-item .info-container mat-checkbox { grid-column: 1 / span 3; grid-row: 5; }
}
/* resumen del pedido mas compacto */
app-cart-list-detail mat-card { padding: 18px 20px !important; }
app-cart-list-detail .total-container { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 10px; }
app-cart-list-detail .total-container > br { display: none; }
app-cart-list-detail .total-container p.body-1 { margin: 0 !important; font-size: 13px !important; letter-spacing: .06em; }
app-cart-list-detail .total-container .total h1 { font-size: 24px !important; margin: 0 !important; }
app-cart-list-detail .total-container .dn-cahorro { flex: 1 1 100%; margin: 6px 0 0 !important; padding: 8px 10px !important; font-size: 13px !important; }
app-cart-list-detail p.caption { margin: 8px 0 0 !important; font-size: 12.5px !important; text-align: left !important; opacity: .8; }
app-cart-list-detail .dn-cmin { margin: 12px 0 !important; }
app-cart-list-detail a.mat-flat-button { height: 46px !important; line-height: 46px !important; font-size: 16px !important; border-radius: 999px !important; }
app-cart-list-detail ul.dn-cconf { margin-top: 12px !important; font-size: 12.5px !important; }

/* ===== Banner "Limpieza simple" en el inicio (13/11, solo version de prueba) ===== */
.dn-eco-sec { padding: 8px 0 28px; }
.dn-eco { border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); background: linear-gradient(120deg, #0f5132 0%, #1b7a4b 55%, #2e9a62 100%); color: #fff; box-shadow: 0 14px 40px rgba(15, 81, 50, .22); }
.dn-eco__txt { padding: 40px 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.dn-eco__tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.dn-eco h2 { font-size: 36px; line-height: 1.1; font-weight: 900; margin: 0 0 12px; letter-spacing: -.4px; color: #fff !important; }
.dn-eco h2 span { color: #c8f2d8; }
.dn-eco p { font-size: 16px; line-height: 1.55; margin: 0 0 18px; color: #e3f6ea; max-width: 460px; }
.dn-eco__ok { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; color: #f0fbf4; }
.dn-eco__ok li::before { content: '✓'; display: inline-block; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; background: rgba(255,255,255,.18); margin-right: 10px; font-weight: 700; font-size: 13px; }
.dn-eco__prods { padding: 28px 28px 28px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: center; }
.dn-eco__p { background: #fff; border-radius: 16px; padding: 12px 12px 10px; color: #1f2933 !important; text-decoration: none !important; display: flex; flex-direction: column; box-shadow: 0 6px 18px rgba(0,0,0,.12); transition: transform .15s; }
.dn-eco__p:hover { transform: translateY(-3px); }
.dn-eco__p img { width: 100%; height: 140px; object-fit: contain; }
.dn-eco__p b { font-size: 14px; margin-top: 8px; line-height: 1.25; color: #1f2933; }
.dn-eco__p small { font-size: 12px; color: #5b6b7a; margin-top: 2px; }
.dn-eco__p span { margin-top: 8px; font-weight: 700; color: #0f5132; font-size: 13.5px; }
@media (max-width: 860px) {
  .dn-eco { grid-template-columns: 1fr; border-radius: 18px; }
  .dn-eco__txt { padding: 26px 20px 8px; }
  .dn-eco h2 { font-size: 27px; }
  .dn-eco__prods { padding: 14px 14px 20px; gap: 10px; }
  .dn-eco__p img { height: 100px; }
}

/* ===== v47 (13/11, Eze eligio la opcion A): estetica corporativa y sobria. Botones y controles rectangulares (radio 4 px),
   texto centrado y misma altura (42 px); tarjetas con radio 6 px; etiquetas con radio 3 px. ===== */
.product-add-to-cart__add-button, .dn-inv-add, .dn-btn, .dn-btn2, .dn-mv__btn, .dn-vermas button, .dn-elegido__btn,
.dn-cinv__fin, .dn-cinv__reg, .dn-lp__btn, .dn-hab__btn, .dn-cbar button, .dn-ped__acc button, .dn-cod__btn, .dn-vp-btn,
.dn-login .form__actions button, .dn-reg .form__actions button, a.nav-user-button.not-logged, #hamburger .dn-tema--txt,
app-e-commerce .mat-flat-button, app-e-commerce .mat-raised-button, app-e-commerce .mat-stroked-button { border-radius: 4px !important; }
.product-add-to-cart__add-button, .dn-inv-add, .dn-btn2, .dn-cod__btn { display: flex !important; align-items: center !important; justify-content: center !important; text-align: center; height: 42px !important; min-height: 42px !important; line-height: 1.2 !important; padding: 0 14px !important; box-sizing: border-box; }
.product-add-to-cart__add-button .mat-button-wrapper { display: inline-flex; align-items: center; justify-content: center; }
mat-card.product-card .product-add-to-cart__add-button { width: 100% !important; margin: 0 !important; }
.dn-btn2--wa, .dn-btn2--linea { border-width: 1px !important; border-color: #c9d1dc !important; }
.dn-btn2--wa { color: #1d2b3a !important; gap: 8px; }
.dn-btn2--wa::before { content: ""; width: 18px; height: 18px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231f9d55'%3E%3Cpath d='M12 2a10 10 0 0 0-8.7 14.9L2 22l5.3-1.3A10 10 0 1 0 12 2z'/%3E%3C/svg%3E") no-repeat center / contain; }
html[data-tema="oscuro"] .dn-btn2--wa, html[data-tema="oscuro"] .dn-btn2--linea { border-color: #33465c !important; }
html[data-tema="oscuro"] .dn-btn2--wa { color: #e2e8f0 !important; }
.product-add-to-cart, app-cart-list-item .product-add-to-cart, .dn-inv-step, .dn-lp__q, .dn-lp__fam, .dn-cod__in, .dn-hab__q,
.dn-barra__sw, .dn-ped__per, mat-toolbar.nav .form-search { border-radius: 4px !important; }
.product-add-to-cart, .dn-inv-step { border-width: 1px !important; }
mat-toolbar.nav .form-search__button { border-radius: 0 !important; }
mat-card.product-card.mat-card, .dn-pv mat-card.mat-card, mat-card.dn-ok, .dn-cat, .dn-mv__card, .dn-visit__card, .dn-step, .dn-hab,
.dn-hab__it, .dn-ped__it, .dn-elegido, .dn-contacto__op, figure.image, .dn-ficha__esc, .dn-lp__tabla, .dn-cod, .dn-resumen,
.dn-cahorro { border-radius: 6px !important; }
.dn-lp__fila--cab { border-radius: 6px 6px 0 0 !important; }
app-cart-list-detail a.mat-flat-button, app-cart-list-detail button.mat-flat-button, .dn-login .form__actions button[type=submit],
app-cart-list-item app-product-add-to-cart .product-add-to-cart__input-container { border-radius: 4px !important; }
figure.image.mediumCard, .dn-mv__img, html.dn-prueba .dn-pv aside.aside.product > mat-card { border-radius: 6px !important; }
.dn-tag, mat-card.product-card .discount-percent, .dn-ficha__escr em, .dn-pct, .dn-lp__esc i, .dn-ped__est, .dn-wamenu__op b em,
.dn-pq__link, mat-card.product-card .dn-esc__r, mat-toolbar.nav .menu-products a.dn-catlink { border-radius: 3px !important; }
/* v47: en el carrito el precio se montaba sobre el selector de cantidad (la columna del precio quedaba en 75 px) */
app-cart-list-item .price-container { width: auto !important; max-width: none !important; min-width: 0 !important; justify-self: stretch !important; display: flex !important; flex-direction: column; align-items: flex-end !important; justify-content: center !important; }
app-cart-list-item .price-container > div { min-width: 0; max-width: 100%; text-align: right; }
app-cart-list-item .price-container p { white-space: nowrap; }
/* v48: entre 900 y 1200 px de ancho el encabezado no entraba y el carrito quedaba afuera; el buscador ahora se achica */
mat-toolbar-row.container > app-nav-search.nav-search { flex: 1 1 auto !important; min-width: 150px !important; width: auto !important; }
mat-toolbar-row.container > .container__start.desktop, mat-toolbar-row.container > app-nav-search.nav-search ~ .nav-menu, mat-toolbar-row.container > app-nav-search.nav-search ~ .container__end { flex: 0 0 auto !important; }
mat-toolbar-row.container > app-nav-search .form-search { width: 100% !important; max-width: 100% !important; }
@media (max-width: 1200px) {
  mat-toolbar-row.container > .container__end a.nav-user-button span, mat-toolbar-row.container > .container__end button.nav-user-button span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* v52: "Agregar al carrito" de la ficha (con sesion) arriba del WhatsApp y a todo el ancho */
app-product-add-to-cart.dn-ficha__comprar { display: block !important; width: 100% !important; margin: 0 0 8px !important; }
app-product-add-to-cart.dn-ficha__comprar .product-add-to-cart-main, app-product-add-to-cart.dn-ficha__comprar .product-add-to-cart,
app-product-add-to-cart.dn-ficha__comprar .product-add-to-cart__add-button { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
/* ===== v53 (13/11, Eze): carrito con el formato del pedido de Dione (PDF), sin fotos ===== */
html.dn-cart-on app-cart-list-item app-image { display: none !important; }
html.dn-cart-on app-cart-list-item .product-item { padding: 8px 12px !important; }
html.dn-cart-on app-cart-list-item .product-item-content { display: block !important; }
html.dn-cart-on app-cart-list-item .product-item-content > div { width: 100% !important; min-width: 0 !important; max-width: none !important; }
html.dn-cart-on app-cart-list-item .product-item-content .info-container { width: 100% !important; grid-template-columns: 58px 132px minmax(0, 1fr) 92px 112px 36px !important; grid-template-rows: auto auto auto !important; column-gap: 10px !important; row-gap: 2px !important; align-items: center !important; }
html.dn-cart-on app-cart-list-item .info-container span.span-family.span-family { grid-column: 1 !important; grid-row: 1 / span 2 !important; align-self: center !important; font-size: 0 !important; }
html.dn-cart-on app-cart-list-item .info-container span.span-family::after { content: attr(data-cod); font: 500 12.5px Roboto, Arial, sans-serif; color: #1d2b3a; }
html.dn-cart-on app-cart-list-item .info-container app-product-add-to-cart { grid-column: 2 !important; grid-row: 1 / span 2 !important; min-width: 0; max-width: 132px; }
html.dn-cart-on app-cart-list-item .info-container .title-product { grid-column: 3 !important; grid-row: 1 !important; min-width: 0; }
html.dn-cart-on app-cart-list-item .info-container .title-product h3 { font-size: 14px !important; line-height: 1.3 !important; margin: 0 !important; }
html.dn-cart-on app-cart-list-item .info-container .dtos { grid-column: 3 !important; grid-row: 2 !important; min-width: 0; }
html.dn-cart-on app-cart-list-item .info-container mat-checkbox.cart-check { grid-column: 3 !important; grid-row: 3 !important; }
html.dn-cart-on app-cart-list-item .info-container .price-container, html.dn-cart-on app-cart-list-item .info-container .price-container > div { display: contents !important; }
html.dn-cart-on app-cart-list-item .product-item-content .info-container .price-container p.unitario[data-pu]:not(.tachado) { grid-column: 4 !important; grid-row: 1 !important; text-align: right !important; font-size: 0 !important; margin: 0 !important; }
html.dn-cart-on app-cart-list-item .info-container .price-container p.unitario[data-pu]:not(.tachado)::after { content: attr(data-pu); font: 400 13px Roboto, Arial, sans-serif; color: #1d2b3a; white-space: nowrap; }
html.dn-cart-on app-cart-list-item .product-item-content .info-container .price-container p.unitario.tachado.tachado { grid-column: 4 !important; grid-row: 2 !important; text-align: right !important; align-self: start; margin: 0 !important; }
html.dn-cart-on app-cart-list-item .product-item-content .info-container .price-container p.mat-h1.mat-h1 { grid-column: 5 !important; grid-row: 1 !important; text-align: right !important; font-size: 14px !important; font-weight: 700 !important; margin: 0 !important; white-space: nowrap; }
html.dn-cart-on app-cart-list-item .info-container .actions { grid-column: 6 !important; grid-row: 1 / span 2 !important; justify-self: end; display: flex !important; flex-direction: column; align-items: center; gap: 2px; width: auto !important; min-width: 0 !important; overflow: visible; }
html.dn-cart-on app-cart-list-item .info-container .actions .mat-button, html.dn-cart-on app-cart-list-item .info-container .actions .mat-button-base { min-width: 0 !important; width: 30px !important; height: 30px !important; padding: 0 !important; line-height: 30px !important; margin: 0 !important; }
html.dn-cart-on app-cart-list-item .info-container .actions app-product-favorite, html.dn-cart-on app-cart-list-item .info-container .actions .product-favorite { display: none !important; }
.dn-ptab__cab { display: grid; grid-template-columns: 58px 132px minmax(0, 1fr) 92px 112px 36px; column-gap: 10px; padding: 8px 12px; margin: 0 0 2px; background: #004996; color: #fff; font: 500 12.5px Roboto, Arial, sans-serif; border-radius: 4px; }
.dn-ptab__cab span:nth-child(4), .dn-ptab__cab span:nth-child(5) { text-align: right; }
.dn-ptab__tot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin: 10px 0 4px; font-family: Roboto, Arial, sans-serif; border-radius: 4px; overflow: hidden; }
.dn-ptab__c { display: flex; flex-direction: column; background: #eef3f9; min-width: 0; }
.dn-ptab__c small { background: #004996; color: #fff; font-size: 12px; font-weight: 500; padding: 6px 12px; }
.dn-ptab__c b { padding: 8px 12px; font-size: 14px; font-weight: 500; color: #0c2340; }
.dn-ptab__c--ahorro b { color: #1a6b3c; }
.dn-ptab__c--env b { font-size: 12.5px; }
.dn-ptab__c--total b { font-size: 17px; font-weight: 700; }
html[data-tema="oscuro"] .dn-ptab__c { background: #1b2a3d; }
html[data-tema="oscuro"] .dn-ptab__c b, html[data-tema="oscuro"] app-cart-list-item .info-container span.span-family::after, html[data-tema="oscuro"] app-cart-list-item .info-container .price-container p.unitario[data-pu]:not(.tachado)::after { color: #e2e8f0; }
html[data-tema="oscuro"] .dn-ptab__c--ahorro b { color: #6fd39b; }
@media (max-width: 899px) {
  .dn-ptab__cab { display: none; }
  .dn-ptab__tot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.dn-cart-on app-cart-list-item .product-item-content .info-container { grid-template-columns: 124px minmax(0, 1fr) auto !important; grid-template-rows: auto auto auto auto auto auto !important; column-gap: 10px !important; row-gap: 4px !important; }
  html.dn-cart-on app-cart-list-item .info-container span.span-family.span-family { grid-column: 1 !important; grid-row: 1 !important; }
  html.dn-cart-on app-cart-list-item .info-container span.span-family::after { font-size: 11.5px; color: #5a6878; }
  html.dn-cart-on app-cart-list-item .info-container .title-product { grid-column: 1 / span 2 !important; grid-row: 2 !important; }
  html.dn-cart-on app-cart-list-item .info-container .actions { grid-column: 3 !important; grid-row: 1 / span 2 !important; }
  html.dn-cart-on app-cart-list-item .info-container .dtos { grid-column: 1 / -1 !important; grid-row: 3 !important; }
  html.dn-cart-on app-cart-list-item .info-container mat-checkbox.cart-check { grid-column: 1 / -1 !important; grid-row: 4 !important; }
  html.dn-cart-on app-cart-list-item .info-container app-product-add-to-cart { grid-column: 1 !important; grid-row: 5 / span 2 !important; justify-self: stretch !important; width: 100% !important; max-width: none !important; }
  html.dn-cart-on app-cart-list-item .info-container app-product-add-to-cart .product-add-to-cart-main, html.dn-cart-on app-cart-list-item .info-container app-product-add-to-cart .product-add-to-cart { width: 100% !important; max-width: none !important; }
  html.dn-cart-on app-cart-list-item .product-item-content .info-container .price-container p.unitario[data-pu]:not(.tachado) { grid-column: 2 !important; grid-row: 5 !important; }
  html.dn-cart-on app-cart-list-item .product-item-content .info-container .price-container p.unitario.tachado.tachado { grid-column: 2 !important; grid-row: 6 !important; }
  html.dn-cart-on app-cart-list-item .product-item-content .info-container .price-container p.mat-h1.mat-h1 { grid-column: 3 !important; grid-row: 5 !important; }
  html.dn-cart-on app-cart-list-item .info-container .title-product, html.dn-cart-on app-cart-list-item .info-container .title-product h3, html.dn-cart-on app-cart-list-item .info-container span.span-family { text-align: left !important; justify-self: start !important; }
  html.dn-cart-on app-cart-list-item .product-item-content .info-container .price-container p.unitario[data-pu]:not(.tachado), html.dn-cart-on app-cart-list-item .product-item-content .info-container .price-container p.unitario.tachado.tachado { display: block !important; }
  html.dn-cart-on app-cart-list-item .info-container .price-container p.unitario[data-pu]:not(.tachado)::after { font-size: 12px; }
}
@media (max-width: 400px) {
  html.dn-cart-on app-cart-list-item .info-container .product-add-to-cart__icon-button { width: 30px !important; min-width: 30px !important; flex: 0 0 30px !important; }
  html.dn-cart-on app-cart-list-item app-product-add-to-cart .product-add-to-cart .product-add-to-cart__input-container { flex: 0 0 44px !important; min-width: 0 !important; width: 44px !important; max-width: 44px !important; }
  html.dn-cart-on app-cart-list-item app-product-add-to-cart .product-add-to-cart .product-add-to-cart__input-container input { width: 100% !important; min-width: 0 !important; }
  html.dn-cart-on app-cart-list-item .info-container app-product-add-to-cart .product-add-to-cart { min-width: 0 !important; }
  html.dn-cart-on app-cart-list-item .product-item-content .info-container .price-container p.mat-h1.mat-h1 { font-size: 13px !important; }
  html.dn-cart-on app-cart-list-item .info-container .price-container p.unitario[data-pu]:not(.tachado)::after { font-size: 11px; }
  html.dn-cart-on app-cart-list-item .product-item-content .info-container { column-gap: 6px !important; grid-template-columns: 108px minmax(0, 1fr) auto !important; }
}
/* v55: reseñas reales de Google en el inicio (debajo de "Por qué Dione") */
.dn-resenas { grid-column: 1 / -1; justify-self: center; display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px 10px; padding: 8px 16px; border: 1px solid #c9d8e8; border-radius: 4px; background: #fff; color: #1d2b3a !important; text-decoration: none !important; font-family: Roboto, Arial, sans-serif; font-size: 14px; max-width: 100%; box-sizing: border-box; }
.dn-resenas__n { font-size: 18px; font-weight: 700; color: #0c2340; }
.dn-resenas__e { color: #f2b705; letter-spacing: 1px; font-size: 16px; }
.dn-resenas__l { color: #004996; font-weight: 600; white-space: nowrap; }
.dn-resenas:hover { border-color: #004996; }
html[data-tema="oscuro"] .dn-resenas { background: #152131; border-color: #263649; color: #e2e8f0 !important; }
html[data-tema="oscuro"] .dn-resenas__n { color: #e2e8f0; }
html[data-tema="oscuro"] .dn-resenas__l { color: #8cc2ff; }
/* v55 (Eze 13/11: "el checkout tiene que ser super limpio, claro, que inspire confianza"): sin corazon de favoritos ni
   "unidades ingresadas" en el carrito; queda solo quitar el renglon */
html.dn-cart-on app-cart-list-detail p.caption { display: none !important; }
/* v56: en tablet (panel derecho angosto) el total del carrito se salia de su caja */
@media (min-width: 600px) and (max-width: 1100px) {
  html.dn-cart-on app-cart-list-detail .total-container .total h1, html.dn-cart-on app-cart-list-detail .total-container .total h1.mat-h1 { font-size: 19px !important; white-space: nowrap; }
  html.dn-cart-on app-cart-list-detail .total-container { flex-direction: column !important; align-items: center !important; }
  html.dn-cart-on app-cart-list-detail .total-container > * { max-width: 100% !important; flex: 0 0 auto !important; }
  html.dn-cart-on app-cart-list-detail .total-container .total { display: flex !important; flex-wrap: wrap !important; justify-content: center; align-items: baseline; gap: 2px 4px; }
  html.dn-cart-on app-cart-list-detail .total-container .total h1 { white-space: normal !important; text-align: center; }
}
@media (min-width: 600px) and (max-width: 820px) {
  html.dn-cart-on app-cart-list-detail .total-container .total h1, html.dn-cart-on app-cart-list-detail .total-container .total h1.mat-h1 { font-size: 17px !important; }
}
html.dn-cart-on app-cart-list-item .dn-cesc { flex-wrap: wrap !important; min-width: 0; }
/* ===== "Armá tu negocio" (solo ?prueba=1) ===== */
.dn-emp-cta .dn-wrap { padding-top: 18px; padding-bottom: 6px; }
.dn-emp-cta__a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "tag tit ir" "tag sub ir"; gap: 2px 16px; align-items: center; padding: 16px 20px; border: 1px solid #c9d8e8; border-left: 4px solid #004996; border-radius: 6px; background: #fff; text-decoration: none !important; color: #1d2b3a !important; font-family: Roboto, Arial, sans-serif; }
.dn-emp-cta__tag { grid-area: tag; background: #004996; color: #fff; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 3px; }
.dn-emp-cta__a b { grid-area: tit; font-size: 18px; color: #0c2340; }
.dn-emp-cta__a > span:nth-of-type(2) { grid-area: sub; font-size: 14px; color: #44515e; }
.dn-emp-cta__ir { grid-area: ir; font-weight: 600; color: #004996; white-space: nowrap; }
html.dn-emp-on app-home > *:not(.dn-emp) { display: none !important; }
.dn-emp .dn-wrap { padding-top: 22px; padding-bottom: 40px; font-family: Roboto, Arial, sans-serif; color: #1d2b3a; }
.dn-emp h1 { font-family: "Barlow Condensed", Roboto, sans-serif; font-size: 36px; color: #0c2340; margin: 8px 0 6px; }
.dn-emp h2 { font-family: "Barlow Condensed", Roboto, sans-serif; font-size: 26px; color: #0c2340; margin: 28px 0 4px; }
.dn-emp__volver { color: #004996 !important; font-size: 14px; }
.dn-emp__lead { font-size: 16px; max-width: 760px; margin: 0 0 10px; }
.dn-emp__ok { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; font-size: 14px; }
.dn-emp__ok li::before { content: "✓ "; color: #1a7f45; font-weight: 700; }
.dn-emp__sub { font-size: 14px; color: #44515e; margin: 0 0 12px; }
.dn-emp__kits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.dn-emp__kit { display: flex; flex-direction: column; border: 1px solid #d9dfe7; border-radius: 6px; padding: 16px; background: #fff; min-width: 0; }
.dn-emp__kit h3 { margin: 0; font-size: 18px; color: #0c2340; }
.dn-emp__kit > p { margin: 2px 0 8px; font-size: 13px; color: #5a6878; }
.dn-emp__items { margin: 0 0 10px; padding-left: 18px; font-size: 13px; line-height: 1.5; flex: 1; }
.dn-emp__num { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin: 0 0 10px; border-radius: 4px; overflow: hidden; }
.dn-emp__num div { background: #eef3f9; padding: 6px 8px; min-width: 0; }
.dn-emp__num dt { font-size: 11px; color: #5a6878; }
.dn-emp__num dd { margin: 0; font-size: 14px; font-weight: 600; color: #0c2340; overflow-wrap: anywhere; }
.dn-emp__gan dd { color: #1a6b3c; }
.dn-emp__add { height: 42px; border: 0; border-radius: 4px; background: #004996; color: #fff; font: 600 14px Roboto, Arial, sans-serif; cursor: pointer; }
.dn-emp__add:disabled { opacity: .6; cursor: progress; }
.dn-emp__msg { color: #c23d39; font-size: 12px; }
.dn-emp__calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; border: 1px solid #d9dfe7; border-radius: 6px; padding: 16px; background: #fff; }
.dn-emp__form { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dn-emp__form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #44515e; }
.dn-emp__form select, .dn-emp__form input[type=number] { height: 40px; border: 1px solid #c9d1dc; border-radius: 4px; padding: 0 10px; font-size: 14px; background: #fff; color: #1d2b3a; max-width: 100%; }
.dn-emp__chk { flex-direction: row !important; align-items: center; gap: 8px !important; }
.dn-emp__res { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dn-emp__r { display: flex; justify-content: space-between; gap: 10px; background: #eef3f9; padding: 8px 12px; font-size: 14px; }
.dn-emp__r span { color: #44515e; }
.dn-emp__r b { text-align: right; overflow-wrap: anywhere; }
.dn-emp__r--gan { background: #e6f4ec; }
.dn-emp__r--gan b { color: #1a6b3c; font-size: 16px; }
.dn-emp__r--neg b { color: #c23d39; }
.dn-emp__alerta { color: #8a4b00; font-size: 13px; margin: 6px 0 0; }
.dn-emp__nota { font-size: 12px; color: #5a6878; margin: 18px 0 12px; max-width: 900px; }
.dn-emp__wa { max-width: 420px; }
html[data-tema="oscuro"] .dn-emp-cta__a, html[data-tema="oscuro"] .dn-emp__kit, html[data-tema="oscuro"] .dn-emp__calc { background: #152131; border-color: #263649; color: #e2e8f0 !important; }
html[data-tema="oscuro"] .dn-emp h1, html[data-tema="oscuro"] .dn-emp h2, html[data-tema="oscuro"] .dn-emp__kit h3, html[data-tema="oscuro"] .dn-emp-cta__a b, html[data-tema="oscuro"] .dn-emp .dn-wrap { color: #e2e8f0; }
html[data-tema="oscuro"] .dn-emp__num div, html[data-tema="oscuro"] .dn-emp__r { background: #1b2a3d; }
html[data-tema="oscuro"] .dn-emp__num dd, html[data-tema="oscuro"] .dn-emp__r b { color: #e2e8f0; }
html[data-tema="oscuro"] .dn-emp__r--gan { background: #173826; }
html[data-tema="oscuro"] .dn-emp__gan dd, html[data-tema="oscuro"] .dn-emp__r--gan b { color: #6fd39b; }
html[data-tema="oscuro"] .dn-emp-cta__a > span:nth-of-type(2), html[data-tema="oscuro"] .dn-emp__sub, html[data-tema="oscuro"] .dn-emp__kit > p, html[data-tema="oscuro"] .dn-emp__nota, html[data-tema="oscuro"] .dn-emp__r span, html[data-tema="oscuro"] .dn-emp__form label, html[data-tema="oscuro"] .dn-emp__num dt { color: #9fb0c3; }
html[data-tema="oscuro"] .dn-emp__form select, html[data-tema="oscuro"] .dn-emp__form input[type=number] { background: #0e1621; color: #e2e8f0; border-color: #33465c; }
@media (max-width: 760px) {
  .dn-emp-cta__a { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tag" "tit" "sub" "ir"; justify-items: start; }
  .dn-emp__calc { grid-template-columns: minmax(0, 1fr); }
  .dn-emp h1 { font-size: 28px; }
}

/* ===== Registro simple (prueba, 15/11): formulario propio y corto ===== */
.dn-reg.dn-rs-on > *:not(.dn-rs) { display: none !important; }
.dn-reg.dn-rs-on { display: block !important; max-width: 560px; margin: 0 auto; }
.dn-rs { font-family: Roboto, Arial, sans-serif; color: #1f2d3d; padding: 8px 4px 4px; }
.dn-rs__t { font-size: 28px; font-weight: 700; color: #003b62; margin: 0 0 4px; }
.dn-rs__sub { font-size: 15px; color: #44515e; margin: 0 0 18px; line-height: 1.45; }
.dn-rs__f { display: flex; flex-direction: column; gap: 5px; margin: 0 0 14px; min-width: 0; flex: 1 1 0; }
.dn-rs__l { font-size: 13px; font-weight: 600; color: #3b4652; }
.dn-rs__a { font-size: 12px; color: #6b7785; }
.dn-rs input[type=text], .dn-rs input[type=email], .dn-rs input[type=tel], .dn-rs select { height: 46px; border: 1px solid #c9d1dc; border-radius: 4px; padding: 0 12px; font-size: 16px; background: #fff; color: #1f2d3d; width: 100%; box-sizing: border-box; min-width: 0; }
.dn-rs input:focus, .dn-rs select:focus { outline: 2px solid #004996; outline-offset: 0; border-color: #004996; }
.dn-rs__fila { display: flex; gap: 12px; }
.dn-rs__fila > .dn-rs__f:last-child { flex: 0 0 38%; }
.dn-rs__est { font-size: 14px; color: #44515e; margin: -6px 0 12px; min-height: 0; }
.dn-rs__est:empty { display: none; }
.dn-rs__est--ok { color: #1a6b3c; }
.dn-rs__est--warn { color: #8a4b00; }
.dn-rs__res { border: 1px solid #d6e3f0; background: #f5f8fb; border-radius: 6px; padding: 12px 14px; margin: 0 0 16px; font-size: 14px; line-height: 1.5; }
.dn-rs__res b { font-size: 15px; color: #003b62; }
.dn-rs__ed { background: none; border: 0; color: #004996; font-weight: 600; padding: 4px 0 0; cursor: pointer; font-size: 14px; }
.dn-rs__chk { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #3b4652; margin: 2px 0 14px; cursor: pointer; }
.dn-rs__chk input { width: 18px; height: 18px; accent-color: #004996; }
.dn-rs__msj { font-size: 14px; margin: 0 0 12px; }
.dn-rs__msj:empty { display: none; }
.dn-rs__msj--err { color: #b3261e; }
.dn-rs__msj--ok { color: #1a6b3c; font-weight: 600; }
.dn-rs__msj a { color: #004996; font-weight: 600; }
.dn-rs__btn { width: 100%; height: 50px; border: 0; border-radius: 4px; background: #004996; color: #fff; font: 600 16px Roboto, Arial, sans-serif; cursor: pointer; }
.dn-rs__btn:disabled { opacity: .6; cursor: progress; }
.dn-rs__leg { font-size: 12px; color: #6b7785; margin: 10px 0 0; text-align: center; }
.dn-rs__leg a { color: #004996; }
.dn-rs__pie { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #e1e8f0; font-size: 14px; }
.dn-rs__pie a { color: #004996; font-weight: 600; text-decoration: none; }
.dn-rs__viejo { background: none; border: 0; color: #6b7785; font-size: 13px; cursor: pointer; padding: 0; text-decoration: underline; }
.dn-rs__entrando { background: #e6f4ec; color: #1a6b3c; border-radius: 4px; padding: 10px 12px; font-weight: 600; margin: 0 0 12px; }
@media (max-width: 480px) { .dn-rs__t { font-size: 24px; } .dn-rs__fila { flex-direction: column; gap: 0; } .dn-rs__fila > .dn-rs__f:last-child { flex: 1 1 auto; } }
html[data-tema="oscuro"] .dn-rs { color: #e2e8f0; }
html[data-tema="oscuro"] .dn-rs__t { color: #e8eef6; }
html[data-tema="oscuro"] .dn-rs__sub, html[data-tema="oscuro"] .dn-rs__l, html[data-tema="oscuro"] .dn-rs__chk, html[data-tema="oscuro"] .dn-rs__est { color: #c3cfdc; }
html[data-tema="oscuro"] .dn-rs__a, html[data-tema="oscuro"] .dn-rs__leg, html[data-tema="oscuro"] .dn-rs__viejo { color: #9fb0c3; }
html[data-tema="oscuro"] .dn-rs input[type=text], html[data-tema="oscuro"] .dn-rs input[type=email], html[data-tema="oscuro"] .dn-rs input[type=tel], html[data-tema="oscuro"] .dn-rs select { background: #0e1621; color: #e2e8f0; border-color: #33465c; }
html[data-tema="oscuro"] .dn-rs__res { background: #152131; border-color: #263649; }
html[data-tema="oscuro"] .dn-rs__res b { color: #e8eef6; }
html[data-tema="oscuro"] .dn-rs__ed, html[data-tema="oscuro"] .dn-rs__pie a, html[data-tema="oscuro"] .dn-rs__leg a, html[data-tema="oscuro"] .dn-rs__msj a { color: #8cc2ff; }
html[data-tema="oscuro"] .dn-rs__est--ok, html[data-tema="oscuro"] .dn-rs__msj--ok { color: #6fd39b; }

/* ===== "¿Para qué comprás?" (16/11): tarjeta chica abajo a la izquierda despues del registro, no tapa la compra ===== */
.dn-tc { position: fixed; left: 20px; bottom: 20px; z-index: 10080; width: 360px; max-width: calc(100vw - 24px); box-sizing: border-box;
  background: #fff; color: #1f2d3d; border: 1px solid #d6e3f0; border-radius: 6px; box-shadow: 0 8px 28px rgba(0, 32, 64, .18);
  padding: 16px 18px 12px; font-family: Roboto, Arial, sans-serif; animation: dnTcEntra .25s ease-out; }
@keyframes dnTcEntra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.dn-tc__cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dn-tc__t { margin: 0; font-size: 17px; font-weight: 700; color: #003b62; line-height: 1.3; }
.dn-tc__x { flex: 0 0 auto; width: 32px; height: 32px; margin: -6px 0 0 0; border: 0; background: none; color: #6b7785; font-size: 24px; line-height: 1; cursor: pointer; border-radius: 4px; }
.dn-tc__x:hover { background: #eef2f6; color: #1f2d3d; }
.dn-tc__sub { margin: 4px 0 12px; font-size: 13.5px; color: #44515e; line-height: 1.4; }
.dn-tc__ops { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dn-tc__op { min-height: 42px; padding: 8px 10px; border: 1px solid #c9d1dc; border-radius: 4px; background: #fff; color: #1f2d3d;
  font: 500 14px/1.25 Roboto, Arial, sans-serif; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.dn-tc__op:hover, .dn-tc__op:focus-visible { border-color: #004996; color: #004996; background: #f5f8fb; outline: none; }
.dn-tc__no { display: block; margin: 10px 0 0 auto; padding: 4px 0; border: 0; background: none; color: #6b7785; font-size: 13px; text-decoration: underline; cursor: pointer; }
.dn-tc__ok { margin: 2px 0; font-size: 15px; font-weight: 600; color: #1a6b3c; }
@media (max-width: 600px) { .dn-tc { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; } }
html[data-tema="oscuro"] .dn-tc { background: #152131; color: #e2e8f0; border-color: #263649; box-shadow: 0 8px 28px rgba(0, 0, 0, .5); }
html[data-tema="oscuro"] .dn-tc__t { color: #e8eef6; }
html[data-tema="oscuro"] .dn-tc__sub, html[data-tema="oscuro"] .dn-tc__no { color: #9fb0c3; }
html[data-tema="oscuro"] .dn-tc__x { color: #9fb0c3; }
html[data-tema="oscuro"] .dn-tc__x:hover { background: #1b2a3d; color: #e2e8f0; }
html[data-tema="oscuro"] .dn-tc__op { background: #0e1621; color: #e2e8f0; border-color: #33465c; }
html[data-tema="oscuro"] .dn-tc__op:hover, html[data-tema="oscuro"] .dn-tc__op:focus-visible { border-color: #8cc2ff; color: #8cc2ff; background: #1b2a3d; }
html[data-tema="oscuro"] .dn-tc__ok { color: #6fd39b; }
html[data-tema="oscuro"] .dn-rs__pie { border-color: #263649; }

html[data-tema="oscuro"] .dn-ficha__crear { color: #9fb0c3 !important; }

/* ===== v62: "Guias de limpieza" en el encabezado y en el inicio ===== */
mat-toolbar a.dn-guias-a { display: inline-flex !important; align-items: center; gap: 6px; width: auto !important; padding-right: 6px; text-decoration: none !important; }
mat-toolbar a.dn-guias-a .dn-guias-txt, .dn-guias-txt { font: 500 14px Roboto, Arial, sans-serif !important; color: #fff !important; text-transform: none !important; letter-spacing: 0 !important; white-space: nowrap; }
@media (max-width: 1099px) { .dn-guias-txt { display: none; } }
.dn-guias { padding: 30px 0 10px; }
.dn-guias__cab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dn-guias__cab .dn-h2 { margin: 0; }
.dn-guias__todas { font-size: 15px; font-weight: 600; color: #004996 !important; text-decoration: none !important; white-space: nowrap; }
.dn-guias__sub { color: #5b6b7a; margin: 4px 0 16px; font-size: 15px; }
.dn-guias__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dn-guias__c { display: flex; flex-direction: column; background: #fff; border: 1px solid #e1e8f0; border-radius: 6px; overflow: hidden; text-decoration: none !important; color: #1f2933 !important; transition: box-shadow .15s, border-color .15s; min-width: 0; }
.dn-guias__c:hover { border-color: #004996; box-shadow: 0 4px 14px rgba(0, 59, 98, .1); }
.dn-guias__c img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #fff; }
.dn-guias__t { padding: 12px 14px 14px; font-size: 15px; font-weight: 600; line-height: 1.35; color: #003b62; }
@media (max-width: 760px) { .dn-guias__grid { grid-template-columns: minmax(0, 1fr); } .dn-guias__c { flex-direction: row; align-items: center; } .dn-guias__c img { width: 38%; flex: none; } .dn-guias__t { font-size: 14px; padding: 10px 12px; } }
html[data-tema="oscuro"] .dn-guias__c { background: #152131; border-color: #263649; }
html[data-tema="oscuro"] .dn-guias__t { color: #e8eef6; }
html[data-tema="oscuro"] .dn-guias__sub { color: #9fb0c3; }
html[data-tema="oscuro"] .dn-guias__todas { color: #8cc2ff !important; }
/* el icono del menu se pinta blanco con un filtro sobre el link: el filtro va solo al icono para que el texto quede blanco */
mat-toolbar a.dn-guias-a { filter: none !important; }
mat-toolbar a.dn-guias-a > span:first-child { filter: invert(1) sepia(1) saturate(0) hue-rotate(280deg) brightness(1.04) contrast(1.01); }

/* v63: ingreso y registro no se muestran hasta que el ajuste nuevo esta aplicado (antes se veia un instante la pagina vieja).
   Si por algun motivo el JS no corre, aparecen igual a los 1,5 s. */
@keyframes dnMostrar { to { visibility: visible; } }
app-login form:not(.dn-login), app-register .form:not(.dn-reg) { visibility: hidden; animation: dnMostrar 0s 1.5s forwards; }

/* v63: ingreso con codigo por mail como opcion principal; la clave, a un clic */
form.dn-login.dn-login-cod > *:not(.form__title):not(.dn-cod):not(.dn-login-clave):not(.dn-login-nuevo):not(.dn-rs__entrando) { display: none !important; }
.dn-cod--primero { margin: 6px 0 4px; }
.dn-cod--primero .dn-cod__cuerpo { padding: 0; border: 0; background: none; }
.dn-login-clave { background: none; border: 0; color: #004996; font: 600 14px Roboto, Arial, sans-serif; padding: 8px 0; cursor: pointer; text-decoration: underline; display: block; margin: 4px 0 8px; }
html[data-tema="oscuro"] .dn-login-clave { color: #8cc2ff; }

/* 17/11 Enmienda 7: pagar un pedido con QR de Mercado Pago (para todos desde 17/11) */
.dn-qr { position: fixed; inset: 0; z-index: 10050; background: rgba(15, 23, 42, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dn-qr__caja { position: relative; background: #fff; color: #1f2937; border-radius: 8px; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow: auto; padding: 22px 22px 18px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.dn-qr__x { position: absolute; top: 6px; right: 10px; border: 0; background: none; font-size: 28px; line-height: 1; color: #64748b; cursor: pointer; }
.dn-qr__t { margin: 0 28px 12px 0; font-size: 18px; font-weight: 700; color: #003b71; }
.dn-qr__cuerpo { font-size: 14px; }
.dn-qr__imp { margin: 0 0 8px; text-align: center; font-size: 26px; font-weight: 700; color: #003b71; }
.dn-qr__img { display: flex; justify-content: center; margin: 4px 0 12px; }
.dn-qr__img img { width: 240px; height: 240px; max-width: 100%; image-rendering: pixelated; background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; }
.dn-qr__img--ok img { opacity: .25; }
.dn-qr__pasos { margin: 0 0 10px; padding-left: 20px; line-height: 1.45; }
.dn-qr__pasos li { margin-bottom: 4px; }
.dn-qr__est { margin: 8px 0 6px; font-weight: 600; color: #475569; }
.dn-qr__est--ok { color: #1a7f45; }
.dn-qr__nota { margin: 0; font-size: 12.5px; color: #64748b; }
.dn-qr__err { margin: 8px 0; color: #b45309; }
.dn-qr__prueba { margin: 0 0 10px; padding: 8px 10px; background: #fef3c7; color: #92400e; border: 1px solid #f59e0b; border-radius: 6px; font-size: 12.5px; font-weight: 600; }
html[data-tema="oscuro"] .dn-qr__caja { background: #111c2b; color: #e2e8f0; }
html[data-tema="oscuro"] .dn-qr__t, html[data-tema="oscuro"] .dn-qr__imp { color: #93c5fd; }
html[data-tema="oscuro"] .dn-qr__est { color: #cbd5e1; }
html[data-tema="oscuro"] .dn-qr__nota { color: #94a3b8; }
html[data-tema="oscuro"] .dn-qr__est--ok { color: #4ade80; }


/* 17/11: minimos en vivo en el carrito, Agregar en "Elegiste", aviso de recuperar clave */
.dn-cmin__t--falta { color: #b45309; font-weight: 600; }
.dn-cmin-it { margin-top: 4px; color: #b45309; font-size: 12.5px; font-weight: 600; }
.dn-elegido__compra { flex: 0 0 auto; margin-left: auto; margin-right: 12px; max-width: 260px; }
.dn-elegido__compra .dn-inv-nota:empty { display: none; }
.dn-inv-ircarro { color: #003b71; font-weight: 700; text-decoration: none; }
.dn-rec-ok { margin: 12px 0 8px; padding: 12px 14px; border: 1px solid #86efac; background: #f0fdf4; color: #14532d; border-radius: 6px; text-align: left; font-size: 14px; line-height: 1.4; }
.dn-rec-ok b { display: block; margin-bottom: 4px; }
html[data-tema="oscuro"] .dn-rec-ok { background: #0f2a1a; border-color: #166534; color: #bbf7d0; }
html[data-tema="oscuro"] .dn-inv-ircarro { color: #93c5fd; }
@media (max-width: 700px) { .dn-elegido__compra { margin: 8px 0 0; max-width: none; width: 100%; } }
@media (max-width: 700px) { .dn-elegido { flex-wrap: wrap; } }
.dn-cod-grupo { display: none !important; }

.dn-env-min { display: block; margin-top: 2px; color: #b45309; font-size: 12.5px; font-weight: 600; white-space: normal; }
