h1 {
  font-size: 1.35rem;
  font-family: "IBM Plex Sans", sans-serif;
}

h2 {
  font-size: 1.05rem;
  font-family: "IBM Plex Sans", sans-serif;
  margin-bottom: .5rem;
  font-weight: 500;
}

h3 {
  font-size: .90rem;
  font-family: "IBM Plex Sans", sans-serif;
}

h4 {
  font-size: .80rem;
  font-family: "IBM Plex Sans", sans-serif;
}

h5 {
  color: #1E63E6;
}

.attribute-group-title {
  color: #1E63E6;
}

.price-tooltip {
  line-height: 1;
}

.price-tooltip .badge {
  font-size: .75rem;
  padding: .35rem .55rem;
}

.price-tax-card {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  /* pegada a la derecha como tu layout */
  width: 280px;
  border-radius: 14px;
  z-index: 20;
}

.price-tax-toggle .badge {
  font-size: .75rem;
  padding: .35rem .55rem;
}


.product-thumb.is-active {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, .25);
}

.select2 {
  width: 100%;
}

.select2-selection {
  min-height: 12px !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
}

/* Dropdown */
.select2-container--default .select2-results .select2-results__options {
  border-radius: 6px;
  padding: 3.5px;
}

.select2-results .select2-results__option {
  border-radius: 4px;
  line-height: 10px;
}

.select2-results .select2-results__option[aria-selected="true"],
.select2-results .select2-results__option--highlighted {
  background-color: rgb(224, 224, 230) !important;
  /* nuevo fondo para seleccionados */
  color: black !important;
  /* texto blanco */
}

.userProfile_userImage {
  min-width: 100px;
  min-height: 100px;
  max-width: 200px;
  max-height: 200px;
}

/* ── TOPBAR RESPONSIVE — estilo Minible compacto ────────────── */
@media (max-width: 991.98px) {
    /* Evitar scroll horizontal */
    html, body {
        overflow-x: hidden;
    }
    .main-content {
        margin-left: 0 !important;
        overflow-x: hidden;
    }
    /* Topbar más compacto en mobile */
    .navbar-header {
        height: 60px;
    }
    #page-topbar {
        left: 0 !important;
    }
    .header-item {
        height: 60px;
        padding-left: .45rem;
        padding-right: .45rem;
    }
    /* Hamburguesa — misma línea que header-item, solo ajuste de padding */
    .vertical-menu-btn {
        font-size: 18px;
    }
    /* Logo pequeño — ajustar al topbar reducido */
    .navbar-brand-box {
        height: 60px;
        display: inline-flex !important;
        align-items: center;
        padding: 0 .65rem !important;
    }
    /* Avatar más pequeño */
    .header-profile-user {
        width: 30px;
        height: 30px;
    }
    /* Contenido — ajustar al topbar reducido y sin desbordamiento */
    .page-content {
        padding-top: calc(60px + 1.25rem) !important;
        padding-left: .75rem !important;
        padding-right: .75rem !important;
    }
    .container-fluid {
        padding-left: .5rem;
        padding-right: .5rem;
    }
}
@media (max-width: 575.98px) {
    .header-item {
        padding-left: .3rem;
        padding-right: .3rem;
    }
    /* Ocultar texto de login/signup en pantallas muy pequeñas */
    .header-item .fw-medium.font-size-15 {
        font-size: 13px !important;
    }
}

/* ── DATATABLES FILTERS BAR — responsive ────────────────────── */
.dt-filters-bar {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: .5rem;
    flex-wrap: wrap;
}
.dt-filter-group {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    width: 160px;
}
.dt-filter-group .form-control,
.dt-filter-group .form-select { width: 100%; min-width: 0; max-width: 100%; }
.dt-filter-label {
    font-size: .75rem;
    font-weight: 600;
    color: #74788d;
    white-space: nowrap;
}
.dt-filter-search { width: 160px; }
.dt-filter-clear { align-self: flex-end; }

/* Dropdown acciones — no recortar por overflow de tabla */
.dataTables_wrapper,
.table-responsive,
.orders-table-wrap { overflow: visible !important; }
.dropdown-menu { z-index: 1080; }

@media (max-width: 767.98px) {
    .dt-filters-bar {
        gap: .4rem;
    }
    .dt-filter-group {
        flex: 1;
        min-width: calc(50% - .4rem);
    }
    .dt-filter-search { min-width: 100%; max-width: none; }
    .dt-filter-clear { min-width: auto; flex: 0; }
}

/* ── DATATABLES — responsive mobile ─────────────────────────── */
@media (max-width: 991.98px) {
    /* Paginación y controles — compactos */
    .dataTables_wrapper .dataTables_paginate .pagination {
        flex-wrap: wrap;
        gap: .15rem;
        justify-content: center;
    }
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: .25rem .5rem !important;
        font-size: .78rem !important;
    }
    .dataTables_wrapper .dataTables_info {
        font-size: .75rem;
        text-align: center;
        padding-top: .5rem;
    }
    .dataTables_wrapper .dataTables_length {
        font-size: .78rem;
    }
    .dataTables_wrapper .dataTables_length select {
        font-size: .78rem;
        padding: .2rem 1.5rem .2rem .4rem;
    }
    /* Tabla — celdas más compactas */
    .dataTables_wrapper table.dataTable td,
    .dataTables_wrapper table.dataTable th {
        padding: .5rem .4rem;
        font-size: .8rem;
    }
    /* Badges */
    .dataTables_wrapper .badge {
        font-size: .65rem !important;
        padding: .3rem .5rem !important;
    }
    /* Child rows del plugin responsive */
    table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
    table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
        background-color: #5b73e8;
        border: none;
        box-shadow: 0 0 0 2px rgba(91,115,232,.2);
    }
    table.dataTable > tbody > tr.child ul.dtr-details {
        width: 100%;
    }
    table.dataTable > tbody > tr.child ul.dtr-details li {
        border-bottom: 1px solid #f0f1f3;
        padding: .4rem 0;
    }
}
@media (max-width: 575.98px) {
    .dataTables_wrapper table.dataTable td,
    .dataTables_wrapper table.dataTable th {
        padding: .4rem .3rem;
        font-size: .75rem;
    }
    /* Page title stacking */
    .page-title-box {
        flex-direction: column;
        align-items: flex-start !important;
        gap: .25rem;
    }
    .page-title-box .page-title-right {
        display: none;
    }
}

/* Pending to add to dark css */
.select2-dropdown--below {
  margin-left: 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: none !important;
  background-color: transparent !important;
}

.select2-dropdown--below .select2-results {
  width: calc(100% - 20px);
  background-color: #fff !important;
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border: 1px solid #aaa;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(15, 34, 58, .12);
}

/* Fons blanc del formulari */
.signup-form {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 8px;
}

/* Inputs i selects grisos */
.signup-form .form-control,
.signup-form .form-select {
  background-color: #f2f2f2;
  border: 1px solid #d6d6d6;
  color: #333;
}

/* Placeholder una mica més suau */
.signup-form .form-control::placeholder {
  color: #999;
}

/* Focus (quan cliques a l'input) */
.signup-form .form-control:focus,
.signup-form .form-select:focus {
  background-color: #f7f7f7;
  border-color: #999;
  box-shadow: none;
  /* elimina glow blau de Bootstrap */
}

/* Labels una mica més foscos */
.signup-form .form-label {
  color: #444;
  font-weight: 500;
}

/* Cada accordion-item com una card independent */
.checkout-acc .accordion-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  /* separació entre cards */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* Elimina comportament “enganxat” de Bootstrap */
.checkout-acc .accordion-item:not(:first-of-type) {
  border-top: 1px solid #e0e0e0;
}

/* Capçalera de la card */
.checkout-acc .accordion-button {
  background-color: #ffffff;
  padding: 18px 20px;
  font-weight: 600;
  color: #333;
}

/* Evita fons gris quan està oberta */
.checkout-acc .accordion-button:not(.collapsed) {
  background-color: #ffffff;
  color: #333;
  box-shadow: none;
}

/* Cos de la card */
.checkout-acc .accordion-body {
  padding: 24px;
}

/* Icona fletxa més discreta */
.checkout-acc .accordion-button::after {
  transform: scale(0.9);
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 900px) {
  .signup-form {
    margin-left: 0;
    max-width: 100%;
  }

  .signup-grid-2 {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .signup-grid-1 .signup-field input {
    max-width: 100%;
  }

  .signup-actions {
    justify-content: flex-start;
    padding-right: 0;
  }
}

.is-dimmed {
  opacity: 0.55;
  filter: grayscale(20%);
  cursor: not-allowed;
}

/* Opcional: reforça el look en inputs bootstrap */
.is-dimmed.form-control,
.is-dimmed.form-select {
  background-color: #e9ecef;
  /* similar a disabled de Bootstrap */
}


.qty-control {
  width: 64px;
  /* pequeño como en la imagen */
}

.qty-control input {
  padding: .2rem .25rem;
  /* compacto */
  height: 34px;
  /* similar a btn-sm */
  font-size: .9rem;
}

/* ✅ Mantener flechas (spinners) siempre visibles en .qty-control */
.qty-control input[type="number"] {
  -webkit-appearance: auto;
  appearance: auto;
  -moz-appearance: number-input;
  /* Firefox */
}

/* Chrome / Edge / Safari */
.qty-control input[type="number"]::-webkit-inner-spin-button,
.qty-control input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: inner-spin-button;
  opacity: 1;
  margin: 0;
}

/* Barra de anchors: fondo blanco + borde azul */
.product-tabs {
  background: #fff !important;
  /* pisa bg-primary */
  border: 2px solid var(--bs-primary) !important;
}

/* Quita cualquier fondo del contenedor */
.product-tabs .tab-box {
  background: transparent !important;
}

/* El anchor ocupa TODO el bloque */
.product-tabs .tab-link {
  color: var(--bs-primary) !important;
  /* pisa text-white */
  background: transparent;
  width: 100%;
  height: 100%;
  display: flex !important;
  /* para centrar y rellenar */
  align-items: center;
  justify-content: center;
  transition: background-color .15s ease, color .15s ease;
}

/* Hover/focus: invierte colores en TODO el anchor */
.product-tabs .tab-link:hover,
.product-tabs .tab-link:focus {
  background: var(--bs-primary) !important;
  color: #fff !important;
  outline: none;
}

/* Fondo tipo dashboard (como la captura) */
.page-content {
  background: #f5f6f8;
}

/* Cards — estilo Minible */
.page-content .card {
  border-radius: .25rem !important;
  box-shadow: 0 2px 4px rgba(15, 34, 58, .12) !important;
}

/* Tipografía de textos dentro de cards (gris y aire) */
.page-content .card .text-muted,
.page-content .card p,
.page-content .card li {
  color: #6b7280 !important;
  font-size: .95rem;
  line-height: 1.65;
}

/* Encabezado azul con icono */
.section-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
}

.section-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-primary);
  font-weight: 900;
}

.section-title {
  color: var(--bs-primary);
  font-weight: 800;
  letter-spacing: .02em;
  font-size: .95rem;
}

/* Barra azul superior */
.product-tabs {
  background: var(--bs-primary);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .08);
}

.tab-col {
  min-width: 180px;
}

.tab-link {
  display: block;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 16px 14px;
  border-radius: 12px;
}

.tab-link:hover {
  background: rgba(255, 255, 255, .10);
}

/* Activo como el “rectángulo claro” de la captura */
.tab-link.is-active {
  background: rgba(255, 255, 255, .25);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25);
}

/* Tabla de atributos más limpia */
.table.table-sm> :not(caption)>*>* {
  padding-top: .55rem;
  padding-bottom: .55rem;
  border-color: #e9edf5;
}

.composite-config-card {
  border-radius: 18px !important;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .06) !important;
}

.composite-title {
  color: var(--bs-primary);
  font-weight: 800;
  letter-spacing: .02em;
  font-size: .95rem;
}

.composite-icon {
  color: var(--bs-primary);
}

.composite-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.composite-row--with-sub {
  align-items: flex-start;
}

.composite-label {
  font-weight: 600;
  color: #111827;
}

.composite-subtext {
  margin-top: 6px;
  color: #6b7280;
  font-size: .82rem;
}

.composite-link {
  color: var(--bs-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: .9rem;
  white-space: nowrap;
}

.composite-link:hover {
  text-decoration: underline;
}

.composite-left-divider {
  height: 1px;
  background: #e5e7eb;
}

.composite-summary {
  padding-top: 10px;
}

.anchor-section {
  scroll-margin-top: 110px;
}

.composite-summary-text {
  text-align: right;
  color: #6b7280;
  font-size: .82rem;
  line-height: 1.4;
}

.composite-summary-hr {
  height: 1px;
  background: #e5e7eb;
}

.composite-cost {
  text-align: left;
  color: #6b7280;
  font-size: .82rem;
}

.composite-cost-value {
  color: var(--bs-primary);
  font-weight: 800;
}

.composite-hr {
  height: 1px;
  background: #e5e7eb;
  width: 100%;
}

.composite-blue {
  height: 2px;
  background: var(--bs-primary);
  width: 100%;
  margin-top: 14px;
}

.composite-total {
  font-size: 16px;
  font-weight: 500;
}

.composite-total-value {
  color: var(--bs-primary);
  font-weight: 800;
}

.composite-selected {
  color: #111827;
  font-weight: 500;
}

.composite-qty {
  width: 92px;
}

.composite-btn {
  padding: 14px 12px;
  font-weight: 600;
}

.price-tax-hover {
  position: relative;
  display: inline-block;
}

.price-tax-hover {
  position: relative;
  display: inline-block;
}

.price-tax-card {
  position: absolute;
  top: calc(100% + .6rem);
  /* debajo del botón */
  left: 50%;
  transform: translateX(-50%);
  display: none;

  min-width: 240px;
  max-width: 280px;
  white-space: normal;
  z-index: 2000;

  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
  border-radius: .75rem;
}

/* Flecha apuntando hacia arriba (hacia el botón) */
.price-tax-card::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
}

.price-tax-hover:hover .price-tax-card,
.price-tax-hover:focus-within .price-tax-card {
  display: block;
}

/* Si usas click con JS */
.price-tax-hover.is-open .price-tax-card {
  display: block;
}

.price-tax-btn {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0;
  width: 25px !important;
  height: 25px !important;
}

.price-tax-btn i {
  color: #8a8f98;
  /* tono normal */
  font-size: 20px;
  /* antes 18px */
  line-height: 1;
  transition: color .15s ease, filter .15s ease, transform .15s ease;
}

.price-tax-hover:hover .price-tax-btn i,
.price-tax-btn:hover i,
.price-tax-btn:focus-visible i {
  color: var(--bs-primary);
  /* se ilumina */
  filter: drop-shadow(0 0 6px rgba(13, 110, 253, .35));
  transform: translateY(-1px);
}

.price-tax-btn:focus {
  outline: none;
}

/* Evita que el bloque de info se estire raro */
.component-info {
  min-width: 0;
}

/* Contenedor fijo y recorte */
.component-thumb {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  background: #f3f3f3;
}

/* Blindaje contra CSS global tipo img{width:100%} */
.component-thumb-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Texto */
.component-text {
  min-width: 0;
}

.component-name {
  line-height: 1.2;
}

.component-sku {
  line-height: 1.2;
}

/* Columna precio con ancho consistente */
.component-price {
  min-width: 110px;
}

/* contenedor del listado */
.summary-components {
  display: flex;
  flex-direction: column;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.summary-line-left {
  min-width: 0;
}

.summary-line-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary-line-right {
  min-width: 90px;
  text-align: right;
  white-space: nowrap;
}

/* separador entre líneas (reutiliza tu estilo visual) */
.summary-divider {
  margin: 0;
}

/* Mini imagen de referencia en el summary */
.composite-mini-img {
  max-width: 150px;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Línea base del summary (producto principal) y líneas de componentes */
.composite-summary .composite-summary-text,
.composite-summary .summary-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
}

.composite-summary .summary-line-left {
  min-width: 0;
}

.composite-summary .summary-line-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.composite-summary .summary-line-sku {
  line-height: 1.2;
  font-weight: 700;
}

.composite-summary .summary-line-right {
  min-width: 90px;
  text-align: right;
  white-space: nowrap;
}

/* separadores entre líneas (reutiliza tu estilo) */
.composite-summary .summary-divider {
  margin: 6px 0;
}

/* Ajusta aquí el “40%” */
.js-collapse-block {
  --collapse-max: 40vh;
  /* 40% de pantalla */
  position: relative;
  max-height: var(--collapse-max);
  overflow: hidden !important;
  /* fuerza el recorte sí o sí */
}

/* Abierto */
.js-collapse-block.is-open {
  max-height: none !important;
  overflow: visible !important;
}

/* Degradado que TAPA el texto (no deja leer lo de abajo) */
.js-collapse-block.has-more::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0px,
      var(--bs-card-bg, #fff) 14px,
      var(--bs-card-bg, #fff) 100%);
  pointer-events: none;
}

.js-collapse-block.is-open::after {
  display: none;
}

body.cart-open {
  overflow: hidden;
}

/* Overlay */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 99998;
}

.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Sidebar derecha */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 420px;
  max-width: 100vw;
  background: #fff;
  transform: translateX(100%);
  transition: transform .25s ease;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, .15);
}

.cart-sidebar.is-open {
  transform: translateX(0);
}

.cart-sidebar__header {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-sidebar__body {
  padding: 16px;
  overflow: auto;
  flex: 1;
}

.cart-close {
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.page-wrap {
  max-width: 1600px;
  /* el tamaño fijo que quieras */
  width: 100%;
}

.accordion-button.shipping-btn {
  position: relative;
  padding-right: 4.5rem;
  /* hueco chevron */
}

/* El contenedor NO captura clicks (deja pasar al botón) */
.accordion-button.shipping-btn .shipping-check {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  /* CLAVE */
}

/* Pero input y label sí capturan clicks */
.accordion-button.shipping-btn .shipping-check input,
.accordion-button.shipping-btn .shipping-check label {
  pointer-events: auto;
  /* CLAVE */
}


/* Card como botón */
.addr-card {
  width: 320px;
  /* ajusta si quieres */
  text-align: left;
  border: 1px solid #eef2f7;
  border-radius: 6px;
  padding: 18px 18px 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

.addr-card:hover {
  border-color: #e5e7eb;
}

.addr-card.is-active {
  border-color: #2f6bff;
  /* azul tipo imagen */
  box-shadow: 0 0 0 1px #2f6bff;
}

.addr-card:active {
  transform: translateY(1px);
}

.addr-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.addr-card-title {
  font-weight: 600;
  color: #111827;
}

.addr-card-pencil {
  color: #2f6bff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  user-select: none;
}

.addr-card-pencil:hover {
  background: #eff6ff;
}

.addr-card-name {
  font-weight: 600;
  color: #111827;
  margin-bottom: 10px;
}

.addr-card-line {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.35;
  margin-top: 4px;
}

.pay-card {
  width: 260px;
  height: 130px;
  border: 1px solid #eef2f7;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

.pay-card:hover {
  border-color: #e5e7eb;
}

.pay-card.is-active {
  border-color: #2f6bff;
  box-shadow: 0 0 0 1px #2f6bff;
}

.pay-card:active {
  transform: translateY(1px);
}

.pay-card-icon {
  color: #111827;
  line-height: 0;
  font-size: 34px;
  /* tamaño icono Unicons */
}

.pay-card-title {
  font-weight: 600;
  color: #111827;
  font-size: 14px;
}

.addr-card-pencil i {
  color: #2f6bff;
  font-size: 20px;
}


/* Overlay */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1050;
}

.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Sidebar bigger */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh; /* usa viewport dinámico en móviles (respeta barra del navegador) */
  width: min(640px, 92vw);
  background: #fff;
  z-index: 1055;
  transform: translateX(100%);
  transition: transform .2s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* evita scroll del sidebar completo */
}

.cart-sidebar.is-open {
  transform: translateX(0);
}

.cart-sidebar__header,
.cart-sidebar__footer {
  flex: 0 0 auto;
}

/* Footer del carrito SIEMPRE visible — fondo blanco, borde, z-index */
.cart-sidebar__footer {
  background: #fff;
  border-top: 1px solid #eee;
  z-index: 2;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}

.cart-sidebar__body {
  flex: 1 1 0%;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  /* ✅ evita barra horizontal */
}

/* truncado + acciones siempre visibles */
.min-w-0 {
  min-width: 0 !important;
}

.cart-line {
  overflow-x: hidden;
}

.cart-line__head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cart-line__title-wrap {
  flex: 1 1 auto;
  min-width: 0;
  /* ✅ clave */
}

.cart-line__title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-line__actions {
  flex: 0 0 auto;
}

.cart-line__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  line-height: 1;
}

.cart-actions-menu {
  display: none;
}

.cart-actions-menu.is-open {
  display: block;
  position: fixed;
  /* ✅ clave */
  z-index: 2000;
  /* por encima del sidebar */
  margin: 0;
}

/* Botón + circular como ofertas */
.quotes-add-btn {
  width: 42px;
  height: 42px;
  padding: 0;
}

/* Tabla más "flat" */
.quotes-table thead th {
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  font-weight: 600;
}

.quotes-table tbody td {
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 1px solid rgba(0, 0, 0, .04);
}

/* DataTables: fix ancho completo en wrapper */
.dataTables_wrapper > div.row > div[class^="col-"] {
  padding-left: 12px !important;
  padding-right: 12px !important;
}
.dataTables_wrapper > div.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* DataTables: controles como en ofertas */
.dataTables_wrapper .dataTables_length {
  float: left;
  margin-bottom: 12px;
}

.dataTables_wrapper .dataTables_filter {
  float: right;
  margin-bottom: 12px;
}

.dataTables_wrapper .dataTables_filter input {
  margin-left: .5rem;
}

/* Limpieza del wrapper (evita saltos raros) */
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  margin-top: 12px;
}


/* ============ Edit Quotes — estilo 1:1 (como la captura) ============ */
:root {
  --ui-border: #eef1f4;
  --ui-border-2: #d4dbe3;
  --ui-head-bg: #f3f4f6;
  --ui-muted: #6b7280;
  --ui-text: #111827;
  --ui-radius: 4px;
}

/* ====== Títulos de sección ====== */
.address-title {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.address-title h2 {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ui-text) !important;
}

/* Cliente / Contacto: título sin subrayado (como en la captura) */
.col-md-3 .address-title {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 8px !important;
}

/* Bloques de direcciones y detalles: con línea fina inferior */
#billing-address-block .address-title,
#shipping-address-block .address-title,
#quote-meta-block .address-title {
  border-bottom: 1px solid var(--ui-border) !important;
  padding-bottom: 10px !important;
  margin-bottom: 14px !important;
}

/* ====== Selects (Cliente / Contacto) ====== */
.form-select {
  border: 1px solid var(--ui-border-2) !important;
  border-radius: var(--ui-radius) !important;
  min-height: 38px !important;
  font-size: 13px !important;
  box-shadow: none !important;
}

.form-select:focus {
  box-shadow: none !important;
  border-color: #bfc8d3 !important;
  outline: none !important;
}

/* ====== Direcciones (que se vean como texto, pero editables) ====== */
.address-block {
  padding-top: 2px;
}

.address-row {
  margin: 0 0 2px 0;
}

.address-block input {
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  height: auto !important;
  line-height: 1.55 !important;
  font-size: 13px !important;
  color: #1f2937 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.address-block input::placeholder {
  color: #9ca3af !important;
}

/* Si haces focus, que no “cante” */
.address-block input:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ====== Detalles de la oferta (meta) ====== */
.offer-meta {
  padding-top: 2px;
}

.offer-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
  font-size: 13px;
}

.offer-meta-label {
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
}

/* Que el valor ocupe el resto (y el icono del date quede a la derecha) */
.offer-meta-input,
.offer-meta-select {
  flex: 1;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  height: auto !important;
  box-shadow: none !important;
  font-size: 13px !important;
  color: #111827 !important;
}

/* Input date sin “caja”, icono a la derecha (como en la captura) */
.offer-meta-input[type="date"] {
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  padding-right: 28px !important;
}

/* ====== Tabla líneas ====== */
.offer-lines-card {
  border: 0 !important;
}

.offer-lines-card .card-header {
  background: transparent !important;
  border: 0 !important;
  padding: 0 0 10px 0 !important;
}

.offer-lines-card .card-header h2 {
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  color: var(--ui-text) !important;
}

.offer-lines-table {
  margin-bottom: 0 !important;
}

.offer-lines-table thead th {
  background: var(--ui-head-bg) !important;
  color: #111827 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 10px 12px !important;
  border: 0 !important;
}

.offer-lines-table tbody td {
  padding: 10px 8px !important;
  border: 0 !important;
}

/* Inputs de la tabla */
.offer-lines-table .form-control {
  border: 1px solid var(--ui-border-2) !important;
  border-radius: var(--ui-radius) !important;
  height: 38px !important;
  font-size: 13px !important;
  box-shadow: none !important;
}

.offer-lines-table .form-control:focus {
  box-shadow: none !important;
  border-color: #bfc8d3 !important;
}

/* Input-group (€, %, etc.) */
.offer-lines-table .input-group-text,
.offer-lines-table .line-currency-btn {
  border: 1px solid var(--ui-border-2) !important;
  background: #e9edf2 !important;
  border-radius: var(--ui-radius) !important;
  font-size: 13px !important;
  height: 38px !important;
}

/* Que el readonly no se vea gris (como en la captura) */
.offer-lines-table input[readonly] {
  background: #fff !important;
}

/* Botón “Añadir linea” */
.add-line-row-button {
  border-radius: 4px !important;
  font-size: 12px !important;
  padding: 4px 10px !important;
  line-height: 1.3 !important;
}

/* Papelera derecha */
.delete-product.btn-link {
  text-decoration: none !important;
  padding: 0 !important;
}

.delete-product i {
  color: #ef4444 !important;
}

/* ====== Notas (texto sin caja, como en la captura) ====== */
.no-border-until-typed {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  resize: none !important;
  font-size: 13px !important;
}

.no-border-until-typed:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ====== Totales (alineación / tipografía) ====== */
.totals-block {
  margin-top: 8px;
}

.totals-block span {
  font-size: 13px;
  color: #374151;
}

.totals-block .fw-bold span {
  color: #111827;
}

/* Inputs de totales ya van sin borde, aseguramos look “texto” */
.totals-block input[readonly] {
  color: #111827 !important;
  font-size: 13px !important;
}

.qty-btn--ghost {
  width: 22px;
  height: 22px;
  line-height: 20px;
  border: 1px solid transparent !important;
  border-radius: 6px;
  font-weight: 700;
}

.qty-btn--ghost:hover {
  border-color: #d0d0d0 !important;
}

.qty-btn--ghost:focus {
  box-shadow: none !important;
}

/* Wrapper: evita scroll en desktop */
.quotes-table-wrap {
  width: 100%;
}

/* Encaje perfecto: evita que el contenido fuerce ancho */
.quotes-table {
  width: 100% !important;
  table-layout: fixed;
  /* clave para no crecer */
}

/* Permite partir texto para no empujar */
.quotes-table th,
.quotes-table td {
  white-space: normal;
  word-break: break-word;
  vertical-align: middle;
}

/* Columnas que conviene no partir */
.quotes-table td:nth-child(2),
/* Identificador visible */
.quotes-table td:nth-child(6),
/* Creación */
.quotes-table td:last-child {
  /* Acciones */
  white-space: nowrap;
}

/* Tabla más compacta */
.quotes-table th,
.quotes-table td {
  padding: .55rem .75rem;
}

/* Ajustes finos de alineación */
.quotes-table th.text-end,
.quotes-table td.text-end {
  text-align: right !important;
}

/* En desktop no queremos scroll horizontal */
@media (min-width: 992px) {
  .quotes-table-wrap {
    overflow-x: hidden !important;
  }
}

/* En móvil sí permitimos scroll (lo hace bootstrap con table-responsive-md) */
@media (max-width: 991.98px) {
  .quotes-table-wrap {
    overflow-x: auto;
  }
}


/* Grid de cards (3 por fila en desktop) */
.address-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  /* equivalente visual a gap-3 */
  width: 100%;
  align-items: stretch;
}

/* IMPORTANTE: anula min-width antiguos de .addr-card si los tienes */
.address-cards-grid .addr-card {
  width: 100%;
  min-width: 0 !important;
  max-width: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 170px;
  /* ajusta si quieres igualar altura exacta */
}



.address-cards-grid .addr-card-create:hover {
  box-shadow: 0 0 0 2px rgba(47, 91, 255, 0.08);
}

/* Responsive: tablet = 2 columnas */
@media (max-width: 991.98px) {
  .address-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Responsive: móvil = 1 columna */
@media (max-width: 575.98px) {
  .address-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Quote lines -> estilo "Order summary" ===== */

.quote-lines-card {
  background: #fff;
  border-radius: 8px;
}

.quote-lines-card .card-header {
  background: transparent;
  border: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #eef1f5;
}

.quote-lines-card .card-header h2 {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  color: #0f172a;
}

/* Tabla base */
.quote-lines-table {
  border-collapse: collapse;
  width: 100%;
}

/* Cabecera: fina, limpia */
.quote-lines-table thead th {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #eef1f5 !important;
  padding: 12px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: .2px;
}

/* Filas: separador suave */
.quote-lines-table tbody tr {
  border-bottom: 1px solid #f1f4f8;
}

.quote-lines-table tbody td {
  border: 0 !important;
  padding: 16px 12px;
  vertical-align: middle;
}

/* Quitar look de "input" y que parezca texto */
.quote-lines-table .form-control {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  height: auto !important;
  line-height: 1.2;
  font-size: 13.5px;
}

/* Bootstrap pone disabled gris y con fondo: lo anulamos */
.quote-lines-table .form-control:disabled,
.quote-lines-table .form-control[readonly] {
  color: #0f172a !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #0f172a !important;
  /* Safari */
}

/* Item (Detalles) un poco más marcado */
.quote-lines-table .line-name-input {
  font-weight: 600;
}

/* SKU un pelín más suave */
.quote-lines-table .line-sku-input {
  font-weight: 500;
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
}

/* Números: misma sensación que la imagen */
.quote-lines-table .text-end {
  font-variant-numeric: tabular-nums;
}

/* Input-group como texto plano */
.quote-lines-table .input-group {
  align-items: center;
}

.quote-lines-table .input-group-text {
  border: 0 !important;
  background: transparent !important;
  padding: 0 0 0 8px !important;
  color: #0f172a;
  font-size: 13.5px;
}

/* Impuestos: estilo texto simple */
.quote-lines-table .line-taxes-input {
  font-weight: 500;
  color: #0f172a !important;
}

/* Componentes: más sutil y alineado bajo el padre */
.quote-lines-table tr.is-component td {
  padding-top: 10px;
  padding-bottom: 10px;
}

.quote-lines-table tr.is-component .line-name-input {
  font-weight: 500;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

/* (Opcional) reduce un poco el alto visual si hay demasiado aire */
.quote-lines-table tbody td .mb-1 {
  margin-bottom: 0 !important;
}

/* ===== Cuadrar columnas y textos (layout fijo + ellipsis) ===== */

.quote-lines-table {
  table-layout: fixed;
  /* CLAVE: evita que el texto largo rompa el layout */
  width: 100%;
}

.quote-lines-table th,
.quote-lines-table td {
  overflow: hidden;
  /* necesario para ellipsis en celdas */
}

/* Anchos por columna (ajústalos si quieres, pero estos suelen cuadrar bien) */
.quote-lines-table thead th:nth-child(1),
.quote-lines-table tbody td:nth-child(1) {
  width: 44%;
}

.quote-lines-table thead th:nth-child(2),
.quote-lines-table tbody td:nth-child(2) {
  width: 13%;
}

.quote-lines-table thead th:nth-child(3),
.quote-lines-table tbody td:nth-child(3) {
  width: 7%;
}

.quote-lines-table thead th:nth-child(4),
.quote-lines-table tbody td:nth-child(4) {
  width: 14%;
}

.quote-lines-table thead th:nth-child(5),
.quote-lines-table tbody td:nth-child(5) {
  width: 10%;
}

.quote-lines-table thead th:nth-child(6),
.quote-lines-table tbody td:nth-child(6) {
  width: 7%;
}

.quote-lines-table thead th:nth-child(7),
.quote-lines-table tbody td:nth-child(7) {
  width: 10%;
}

/* Inputs: ocupar celda y truncar */
.quote-lines-table .form-control {
  width: 100% !important;
  min-width: 0 !important;
  /* CLAVE para truncar en flex/inputs */
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Alineación por columna (como "order summary") */
.quote-lines-table thead th:nth-child(1),
.quote-lines-table tbody td:nth-child(1) {
  text-align: left;
}

.quote-lines-table thead th:nth-child(2),
.quote-lines-table tbody td:nth-child(2) {
  text-align: left;
}

.quote-lines-table thead th:nth-child(3),
.quote-lines-table tbody td:nth-child(3) {
  text-align: center;
}

.quote-lines-table thead th:nth-child(4),
.quote-lines-table tbody td:nth-child(4),
.quote-lines-table thead th:nth-child(5),
.quote-lines-table tbody td:nth-child(5),
.quote-lines-table thead th:nth-child(7),
.quote-lines-table tbody td:nth-child(7) {
  text-align: right;
}

.quote-lines-table thead th:nth-child(6),
.quote-lines-table tbody td:nth-child(6) {
  text-align: left;
}

/* Números: que queden “rectos” visualmente */
.quote-lines-table td:nth-child(3),
.quote-lines-table td:nth-child(4),
.quote-lines-table td:nth-child(5),
.quote-lines-table td:nth-child(7) {
  font-variant-numeric: tabular-nums;
}

/* Input groups: que no descoloquen el ancho (precio/total/dto) */
.quote-lines-table td:nth-child(4) .input-group,
.quote-lines-table td:nth-child(5) .input-group,
.quote-lines-table td:nth-child(7) .input-group {
  width: 100%;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.quote-lines-table td:nth-child(4) .input-group-text,
.quote-lines-table td:nth-child(5) .input-group-text,
.quote-lines-table td:nth-child(7) .input-group-text {
  flex: 0 0 auto;
  min-width: 18px;
  text-align: right;
  padding-left: 8px !important;
}

/* Cantidad centrada incluso siendo input */
.quote-lines-table td:nth-child(3) .form-control {
  text-align: center !important;
}

/* Componentes: tabulación del INPUT (no del texto) + también truncar bien */
.quote-lines-table td:nth-child(1)>div {
  min-width: 0;
  /* importante: permite ellipsis en wrapper */
}

.quote-lines-table tr.is-component td:nth-child(1)>div {
  margin-left: 26px;
  width: calc(100% - 26px);
}

/* Un pelín más aire como tu screenshot */
.quote-lines-table tbody td {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Color acento (pon aquí el mismo color que usas en "líneas de oferta") */
:root {
  --offer-accent: var(--bs-primary);
}

/* Título con línea/acento */
.block-title-accent {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 600;
}

/* Línea vertical (como separador visual del bloque) */
.block-title-accent::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 3px;
  background: var(--offer-accent);
  display: inline-block;
}

/* (Opcional) una línea fina debajo del header del bloque */
.block-header-accent {
  padding-bottom: 10px;
  border-bottom: 1px solid #eef1f5;
}



/* ══════════════════════════════════════════════════════════════
   CATALOG SEARCH BAR
══════════════════════════════════════════════════════════════ */
#catalogSearchResults { display: none; }

/* ── Buscador catálogo — protagonista ── */
.catalog-search-wrap { position: relative; }
.catalog-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: #74788d;
  pointer-events: none;
  z-index: 1;
}
.catalog-search-input {
  padding: .85rem 3rem .85rem 2.8rem !important;
  font-size: 1.05rem !important;
  height: auto !important;
  background-color: #fff;
  border: 1px solid #e2e5ec;
  box-shadow: 0 2px 4px rgba(15, 34, 58, .08);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.catalog-search-input:focus {
  border-color: #5b73e8 !important;
  box-shadow: 0 2px 8px rgba(91, 115, 232, .15) !important;
  outline: none;
}
.catalog-search-input::placeholder {
  color: #adb5bd;
  font-weight: 400;
}
.catalog-search-compact {
  padding: .5rem 2.5rem .5rem 2.5rem !important;
  font-size: .875rem !important;
}
.catalog-search-spinner {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
}
.catalog-search-hint {
  font-size: .75rem;
  color: #74788d;
  margin-top: .35rem;
}

#catalogSearchInput:focus {
    border-color: #ced4da;
    box-shadow: none;
    outline: none;
}

/* ══════════════════════════════════════════════════════════════
   SEARCH RESULTS — 2-column layout
   Left:  categories + manufacturers (col-12 col-md-4)
   Right: product list (col-12 col-md-8)
══════════════════════════════════════════════════════════════ */
/* ── Labels de sección (Categorías, Fabricantes, Productos) ── */
.search-res-section-label {
    font-size: .75rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: .5rem;
}

/* ── Lista vertical de categoría / fabricante ── */
.search-res-list {
    list-style: none;
    padding: 0;
    margin: 0 0 .5rem 0;
}
.search-res-list li {
    margin-bottom: .1rem;
}
.search-res-link {
    display: block;
    padding: .35rem .5rem;
    border-radius: .25rem;
    text-decoration: none;
    color: #495057;
    font-size: .8rem;
    transition: background .15s, color .15s;
}
.search-res-link:hover {
    background: rgba(91, 115, 232, .06);
    color: #5b73e8;
}

/* ── Separador entre categorías y fabricantes ── */
.search-res-divider {
    border: 0;
    border-top: 1px solid #eef1f5;
    margin: .5rem 0;
}

/* ── Separador vertical entre columnas izquierda/derecha ── */
@media (min-width: 768px) {
    .search-results-left {
        border-right: 1px solid #eef1f5;
        padding-right: 1rem;
    }
    .search-results-left + div {
        padding-left: 1rem;
    }
}

/* ── Product row card ── */
.search-prod-card {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .6rem 0;
    border: 0;
    border-bottom: 1px solid #f0f1f5;
    background: transparent;
    transition: background .15s;
}
.search-prod-card:last-of-type {
    border-bottom: 0;
}
.search-prod-card:hover {
    background: rgba(91, 115, 232, .03);
}
.search-prod-link {
    display: flex;
    align-items: center;
    gap: .85rem;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: #495057;
}
.search-prod-link:hover {
    color: #495057;
}
.search-prod-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: #f8f9fa;
    border-radius: .25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.search-prod-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.search-prod-info { flex: 1; min-width: 0; }
.search-prod-name {
    font-size: .85rem;
    font-weight: 600;
    color: #495057;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}
.search-prod-sku {
    font-size: .75rem;
    color: #74788d;
    font-weight: 500;
    line-height: 1.2;
    margin-top: .1rem;
}

/* Right side: price + cart + delivery */
.search-prod-actions {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .2rem;
    min-width: 130px;
    padding-right: .5rem;
}
.search-prod-price-row {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.search-prod-price {
    font-size: .9rem;
    font-weight: 700;
    color: #343a40;
    white-space: nowrap;
}
.search-prod-delivery {
    font-size: .7rem;
    color: #34c38f;
    font-weight: 600;
    white-space: nowrap;
}
.search-prod-cart-btn {
    padding: .25rem .45rem;
    font-size: .95rem;
    line-height: 1;
    color: #adb5bd;
    background: transparent;
    border: 0;
    transition: color .15s;
}
.search-prod-cart-btn:hover {
    color: #5b73e8;
}
.search-prod-cart-btn.added {
    color: #34c38f;
}

/* ── Botón "Ver todo" ── */
.search-see-all-wrap {
    text-align: center;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid #eef1f5;
}

/* ══════════════════════════════════════════════════════════════
   BRAND CARDS — estilo Minible con borde lateral
══════════════════════════════════════════════════════════════ */
/* ── Brand cards — Minible accent border ── */
.brand-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1rem;
    background: #fff;
    border: 1px solid #e9ebec;
    border-left: 3px solid #adb5bd;
    border-radius: .25rem;
    text-decoration: none;
    color: #495057;
    height: 100%;
    transition: border-color .2s, box-shadow .2s;
}
.brand-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    color: #495057;
}
.brand-card-body {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex: 1;
    min-width: 0;
}
.brand-card-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}
.brand-card-title {
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.25;
}
.brand-card-desc {
    font-size: .8rem;
    color: #74788d;
    line-height: 1.3;
    margin-top: .15rem;
}
.brand-card-arrow {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #adb5bd;
    transition: color .2s;
}
.brand-card:hover .brand-card-arrow { color: #495057; }

/* Hover: borde izquierdo primary */
.brand-card:hover {
    border-left-color: #5b73e8;
}

/* ── Category cards — horizontal con icono ── */
.cat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1rem;
    background: #fff;
    border: 1px solid #e9ebec;
    border-left: 3px solid #adb5bd;
    border-radius: .25rem;
    text-decoration: none;
    color: #495057;
    height: 100%;
    transition: border-color .2s, box-shadow .2s;
}
.cat-card:hover {
    border-color: #5b73e8;
    border-left-color: #5b73e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    color: #495057;
}
.cat-card-body {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex: 1;
    min-width: 0;
}
.cat-card-icon {
    font-size: 1.3rem;
    color: #5b73e8;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 115, 232, .08);
    border-radius: .25rem;
    overflow: hidden;
}
.cat-card-name {
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.25;
}
.cat-card-desc {
    font-size: .75rem;
    color: #74788d;
    line-height: 1.3;
    margin-top: .15rem;
}
.cat-card-count {
    font-size: .72rem;
    color: #74788d;
    margin-top: .1rem;
}
.cat-card-arrow {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #adb5bd;
    transition: color .2s;
}
.cat-card:hover .cat-card-arrow { color: #495057; }
.cat-card-featured {
    border-left-color: #5b73e8;
}

/* ── Product list — chips de filtro ── */
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .6rem;
    font-size: .75rem;
    font-weight: 400;
    color: #5b73e8;
    background: transparent;
    border: 1px solid #5b73e8;
    border-radius: .25rem;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.filter-chip:hover {
    background: #5b73e8;
    color: #fff;
}
.chip-x {
    font-size: .8rem;
    line-height: 1;
    opacity: .7;
}
.filter-chip:hover .chip-x {
    opacity: 1;
    color: #fff;
}
/* Chip "Limpiar todos" — acción destructiva al final de la row */
.filter-chip-clear {
    color: #e63946;
    border-color: #e63946;
    margin-left: .25rem;
}
.filter-chip-clear:hover {
    background: #e63946;
    color: #fff;
    border-color: #e63946;
}
.filter-chip-clear i {
    font-size: .85rem;
}
/* Row de chips + wizard button — botón siempre a la derecha, chips wrap a la izquierda.
   min-width-0 previene que flex items con mucho contenido rompan el layout. */
.min-width-0 { min-width: 0 !important; }
@media (max-width: 575px) {
    .pf-chips-row {
        flex-direction: column;
        align-items: stretch !important;
    }
    .pf-chips-row .pf-trigger-btn {
        align-self: stretch;
    }
}

/* ── Product list — precio y filtros ── */
.price-val {
    font-size: .95rem;
    font-weight: 700;
    color: #343a40 !important;
    white-space: nowrap;
}
.price-val-ondemand {
    font-size: .85rem;
    font-weight: 500;
    color: #5b73e8;
    white-space: nowrap;
}
.filter-section-header span {
    text-transform: none;
    letter-spacing: 0;
    font-size: .8rem;
    font-weight: 600;
    color: #495057;
}

/* ── Mobile search bar ── */
@media (max-width: 767.98px) {
    .mobile-search-open {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0 !important;
        padding: .5rem;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,.1);
        z-index: 1050;
        border-radius: 0;
    }
    .mobile-search-open .catalog-search-input {
        font-size: .85rem !important;
    }
}

/* ── Card titles — color oscuro, no azul ── */
.card-title {
    color: #343a40 !important;
}

/* ── Efecto pulse para buscador ── */
@keyframes search-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(91, 115, 232, .4); }
    50% { box-shadow: 0 0 0 6px rgba(91, 115, 232, 0); }
}
.search-pulse {
    animation: search-pulse .75s ease 2;
    border-color: #5b73e8 !important;
}

#catResults { display: none; }
#mfrResults { display: none; }

.brand-card-featured-mfr {
    border-left-color: #5b73e8 !important;
}

/* ── Índice alfabético ── */
.cat-alpha-index {
    display: flex;
    justify-content: space-between;
    padding-bottom: .75rem;
    border-bottom: 1px solid #eef1f5;
}
.cat-alpha-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: .25rem;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    color: #5b73e8;
    background: rgba(91, 115, 232, .08);
    transition: background .15s, color .15s;
}
.cat-alpha-link:hover {
    background: #5b73e8;
    color: #fff;
}
.cat-alpha-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: .8rem;
    font-weight: 600;
    color: #ced4da;
}
.cat-letter-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #343a40;
    padding-bottom: .4rem;
    margin-bottom: .75rem;
    border-bottom: 2px solid #5b73e8;
    display: inline-block;
}
.cat-card-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ── Título de sección catálogo ── */
.catalog-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #343a40;
    padding-bottom: .5rem;
    margin-top: .75rem;
    border-bottom: 1px solid #eef1f5;
}

/* ── Carrusel de logos de fabricantes ── */
.brand-logos-section {
    overflow: hidden;
    padding: .75rem 0;
    border-top: 1px solid #eef1f5;
    border-bottom: 1px solid #eef1f5;
}
.brand-logos-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    animation: brand-scroll 30s linear infinite;
    width: max-content;
}
.brand-logos-track:hover {
    animation-play-state: paused;
}
.brand-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .45;
    transition: opacity .2s;
}
.brand-logo-item:hover {
    opacity: 1;
}
.brand-logo-item img {
    height: 28px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter .2s;
}
.brand-logo-item:hover img {
    filter: grayscale(0%);
}
@keyframes brand-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════════════════════════ */
@keyframes cat-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.cat-skeleton {
    background: linear-gradient(90deg, #f0f2f4 25%, #e4e8eb 50%, #f0f2f4 75%);
    background-size: 200% 100%;
    animation: cat-shimmer 1.3s infinite;
    border-radius: .2rem;
}


.prod-card-link {
    text-decoration: none;
    color: #495057;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.prod-card-link:hover { color: #495057; }
.prod-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ebec;
    border-radius: .25rem;
    background: #fff;
    overflow: hidden;
    height: 100%;
    transition: border-color .2s, box-shadow .2s;
}
.prod-card:hover {
    border-color: #5b73e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.prod-card-img {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
    flex-shrink: 0;
}
.prod-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: .5rem;
}

/* Grid 5 columnas en desktop */
@media (min-width: 992px) {
    .prod-grid-item {
        flex: 0 0 20%;
        max-width: 20%;
    }
}
.prod-card-no-img { font-size: 2rem; color: #ced4da; }
.prod-card-body {
    padding: .5rem .25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .15rem;
}
.prod-card-name {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    color: #343a40;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.prod-card-sku {
    font-size: .72rem;
    color: #74788d;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.prod-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .25rem .25rem .5rem;
    margin-top: auto;
}
.prod-card-price {
    font-size: .9rem;
    font-weight: 700;
    color: #343a40;
}


/* Tag section headings */
.tag-section-heading {
    font-size: .75rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tag-section-heading .tag-see-all {
    font-size: .72rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--bs-primary);
    text-decoration: none;
}
.tag-section-heading .tag-see-all:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   PRODUCT TAG SLIDERS — arrow navigation
══════════════════════════════════════════════════════════════ */
.prod-slider-outer {
    position: relative;
    padding: 0;
}
.prod-slider-wrap {
    overflow: hidden;
    /* padding en los 4 lados para que scale(1.04) no quede cortado en ningún borde */
    padding: 6px;
    margin: -6px;
}
.prod-slider-track {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    transition: transform .3s ease;
    will-change: transform;
}
.prod-slider-item {
    flex: 0 0 200px;
    width: 200px;
}
@media (max-width: 575px) {
    .prod-slider-item  { flex: 0 0 150px; width: 150px; }
    .prod-slider-outer { padding: 0; }
}
/* Arrow buttons */
.prod-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 .1rem .35rem rgba(0,0,0,.1);
    transition: background .15s, opacity .15s;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1;
    color: #495057;
}
.prod-slider-btn:hover  { background: #f3f6f9; }
.prod-slider-btn.s-prev { left:  .25rem; }
.prod-slider-btn.s-next { right: .25rem; }
.prod-slider-btn[disabled],
.prod-slider-btn.s-hidden { opacity: 0; pointer-events: none; }

<style>
/* ══════════════════════════════════════════════════════════════
   FILTER ASIDE
══════════════════════════════════════════════════════════════ */
@media (min-width: 992px) {
    #filterAsideWrap > .card {
        position: sticky;
        top: 1rem;
    }
}
.filter-aside {
    /* Altura controlada por #filterAsideWrap padre — sin max-height propio */
    overflow-y: visible;
}

.filter-section {
    border-bottom: 1px solid #f0f1f3;
    padding: .55rem 0;
}
.filter-section:last-child { border-bottom: none; }

.filter-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #495057;
    padding: .1rem 0;
}
.fs-toggle-icon {
    font-size: 1rem;
    color: #adb5bd;
    transition: transform .18s ease;
    flex-shrink: 0;
}
.filter-section.fs-collapsed .fs-toggle-icon { transform: rotate(-90deg); }
.filter-section-body {
    overflow: hidden;
    max-height: 2000px;
    transition: max-height .22s ease;
}
.filter-section.fs-collapsed .filter-section-body { max-height: 0 !important; }

.filter-item {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .24rem .1rem;
    border-radius: .2rem;
    cursor: pointer;
    font-size: .8rem;
    color: #495057;
    transition: background .1s;
    margin: 0;
}
.filter-item:hover { background: #f8f9fa; }
.filter-item input[type="checkbox"] {
    flex-shrink: 0;
    width: 14px; height: 14px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--bs-primary);
}
.filter-item input[type="checkbox"]:disabled { opacity: .4; cursor: not-allowed; }
.filter-item-label { flex: 1; line-height: 1.3; font-weight: 400; }
.filter-item-count { font-size: .7rem; color: #5b73e8; font-weight: 400; font-variant-numeric: tabular-nums; }

/* Sub-categories */
.subcategory-wrap {
    padding-left: 1.1rem;
    border-left: 2px solid rgba(var(--bs-primary-rgb), .15);
    margin: .15rem 0 .15rem .9rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height .22s ease;
}
.subcategory-wrap.open { max-height: 1500px; }

/* Show more */
.fi-hidden { display: none; }
.filter-show-btn {
    background: none;
    border: none;
    padding: .15rem 0;
    font-size: .74rem;
    color: var(--bs-primary);
    cursor: pointer;
    display: none;
}
.filter-show-btn:hover { text-decoration: underline; }

/* Max category notice */
.cat-max-notice {
    font-size: .7rem;
    color: #e8840e;
    padding: .18rem .1rem;
    display: none;
}

/* ── Price slider ───────────────────────────────────────────── */
.price-slider-wrap { padding: .3rem .1rem 0; }
.price-track-bg {
    position: relative;
    height: 4px;
    background: #e9ebec;
    border-radius: 2px;
    margin: 1rem 0 .35rem;
}
.price-track-fill {
    position: absolute;
    height: 100%;
    background: var(--bs-primary);
    border-radius: 2px;
}
.price-range-inputs { position: relative; height: 0; }
.price-range-inputs input[type="range"] {
    position: absolute;
    top: -12px;
    width: 100%;
    height: 4px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
    outline: none;
}
.price-range-inputs input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--bs-primary);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1.5px var(--bs-primary);
    cursor: pointer;
    pointer-events: all;
    transition: box-shadow .15s;
}
.price-range-inputs input[type="range"]:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb),.18);
}
.price-range-inputs input[type="range"]::-moz-range-thumb {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--bs-primary);
    border: 2px solid #fff;
    cursor: pointer;
    pointer-events: all;
}
.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
    font-weight: 600;
    color: #495057;
    margin-top: .8rem;
}

/* ── Chips — heredan de la definición principal arriba ────── */
/* .filter-chip duplicado eliminado */
.filter-chip-legacy-unused {
    display: none;
    border: 1px solid rgba(var(--bs-primary-rgb),.2);
    border-radius: 2rem;
    font-size: .7rem;
    font-weight: 600;
    padding: .18rem .55rem;
    cursor: pointer;
    transition: background .12s;
    line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT LIST
══════════════════════════════════════════════════════════════ */
.prod-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .7rem 1rem .6rem;
    border-bottom: 1px solid #f0f1f3;
    font-size: .78rem;
    color: #74788d;
}
.prod-list-count { font-weight: 600; color: #495057; }

.prod-list-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .55rem .75rem;
    border-bottom: 1px solid #f6f7f8;
    transition: background .12s;
}
.prod-list-row:last-child { border-bottom: none; }
.prod-list-row:hover { background: #fafbfc; }

.prod-thumb {
    flex-shrink: 0;
    width: 54px; height: 54px;
    background: transparent;
    border: none;
    border-radius: .25rem;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.prod-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 4px; }
.prod-thumb-empty { font-size: 1.3rem; color: #ced4da; }
.prod-thumb-qv { transition: transform .15s, box-shadow .15s; }
.prod-thumb-qv:hover { transform: scale(1.1); box-shadow: 0 2px 8px rgba(0,0,0,.1); border-radius: .35rem; }

.prod-meta { flex: 1; min-width: 0; }
.prod-name {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    transition: color .12s;
}
.prod-name:hover { color: var(--bs-primary); }
.prod-sku   { font-size: .67rem; color: #adb5bd; font-weight: 600; letter-spacing: .03em; }
.prod-brand { font-size: .67rem; color: #868e96; }

/* ── Tags de producto (texto con color, sin fondo) ── */
.prod-tags {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-top: .25rem;
    font-size: .75rem;
    font-weight: 500;
}
.prod-tag-delivery { color: #34c38f; }
.prod-tag-stock { color: #34c38f; }
.prod-tag-stock-grey { color: #74788d; }
.prod-tag-freeship { color: #5b73e8; }
.prod-tag-ondemand { color: #f1b44c; }
.prod-tag-consult { color: #5b73e8; }
.prod-tag-nostock { color: #f46a6a; }
.prod-tag-promo { color: #f46a6a; }
.prod-tag-sep { color: #ced4da; font-size: .7rem; margin: 0 .1rem; }

/* ── Atributos de grid (línea de specs debajo del SKU) ── */
.prod-grid-attrs {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
    margin-top: .45rem;
    font-size: .74rem;
    line-height: 1.4;
    color: #495057;
}
.grid-attr-chip {
    display: inline;
    white-space: nowrap;
}
.grid-attr-chip + .grid-attr-chip::before {
    content: '·';
    color: #ced4da;
    margin: 0 .4rem;
    font-weight: 700;
    font-size: .8rem;
}
.grid-attr-label {
    color: #868e96;
    font-weight: 500;
    font-size: .7rem;
    margin-right: .15rem;
}
.grid-attr-label::after {
    content: ':';
}

/* ── Botón de acción principal (Comprar/Configurar/Consultar) ── */
.prod-action-btn { white-space: nowrap; font-size: .78rem; padding: .3rem .75rem; }

/* ── Botones de acción (icono sutil) ── */
.btn-action-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: .3rem;
    font-size: 1.1rem;
    transition: color .15s;
}
.btn-action-icon.btn-cart { color: #34c38f; }
.btn-action-icon.btn-cart:hover { color: #2a9d6f; }
.btn-action-icon.btn-wish { color: #e63946; }
.btn-action-icon.btn-wish:hover { color: #c5303b; }
.btn-action-icon.btn-wish.active { color: #c5303b; }
.prod-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .3rem;
    flex-shrink: 0;
}
.prod-qty-price {
    display: flex;
    align-items: center;
    gap: .6rem;
}
.prod-right-actions {
    display: flex;
    align-items: center;
    gap: .3rem;
}
.prod-right .prod-tags {
    margin-top: 0;
    justify-content: flex-end;
}
.prod-price { flex-shrink: 0; min-width: 88px; text-align: right; }

.prod-qty {
    flex-shrink: 0;
    display: flex; align-items: center;
    border: 1px solid #dee2e6;
    border-radius: .3rem;
    overflow: hidden;
}
.qty-btn {
    width: 1.65rem; height: 1.65rem;
    background: #f8f9fa; border: none;
    font-size: .95rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #495057;
    transition: background .1s; flex-shrink: 0;
}
.qty-btn:hover { background: #e9ecef; }
.qty-input {
    width: 2rem; height: 1.65rem;
    border: none;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    text-align: center;
    font-size: .78rem; font-weight: 600; color: #495057;
    outline: none; background: #fff;
    -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.prod-actions { flex-shrink: 0; display: flex; gap: .3rem; }
.btn-action {
    width: 1.9rem; height: 1.9rem;
    border-radius: .3rem; border: 1px solid #dee2e6;
    background: #fff; font-size: .95rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #74788d;
    transition: color .12s, background .12s, border-color .12s;
    padding: 0;
}
.btn-action.btn-cart:hover { color: var(--bs-primary); border-color: rgba(var(--bs-primary-rgb),.35); background: rgba(var(--bs-primary-rgb),.05); }
.btn-action.btn-wish:hover,
.btn-action.btn-wish.active { color: #e44b4b; border-color: rgba(228,75,75,.3); background: rgba(228,75,75,.06); }

/* Skeleton */
@keyframes pl-shimmer { 0%{background-position:-600px 0} 100%{background-position:600px 0} }
.sk-block {
    background: linear-gradient(90deg,#f0f1f3 25%,#e4e6ea 50%,#f0f1f3 75%);
    background-size: 600px 100%;
    animation: pl-shimmer 1.2s infinite;
    border-radius: .2rem;
}
.pl-skel-row { display: flex; align-items: center; gap: .8rem; padding: .55rem .75rem; border-bottom: 1px solid #f6f7f8; }

/* State messages */
.pl-state-msg {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 3.5rem 1rem; text-align: center;
    color: #74788d; gap: .6rem;
}
.pl-state-msg i { font-size: 2.5rem; opacity: .22; }
.pl-state-msg p { font-size: .82rem; margin: 0; max-width: 260px; }

/* Pagination */
.pl-pagination { margin-top: 1rem; }

/* Mobile drawer */
.filter-mobile-bar { display: none; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
@media (max-width: 991px) {
    .filter-mobile-bar { display: flex; }
    #filterAsideWrap {
        position: fixed; top: 0; left: -310px;
        width: 300px; height: 100%;
        background: #fff; z-index: 1055;
        box-shadow: 2px 0 24px rgba(0,0,0,.15);
        transition: left .28s cubic-bezier(.4,0,.2,1);
        padding: 0;
        overflow-y: auto;
        overflow-x: hidden;
        display: block;
    }
    #filterAsideWrap.open { left: 0; }
    #filterOverlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 1050; backdrop-filter: blur(2px); }
    #filterAsideWrap.open ~ #filterOverlay { display: block; }

    /* — Cabecera del drawer (sticky) — */
    .filter-aside-close {
        display: flex; align-items: center; justify-content: space-between;
        padding: .85rem 1.15rem;
        background: #f8f9fa;
        border-bottom: 1px solid #e9ebec;
        position: sticky;
        top: 0;
        z-index: 3;
    }
    .filter-aside-close span {
        font-size: .95rem;
        font-weight: 600;
        color: #495057;
        letter-spacing: .01em;
    }

    /* — Card de filtros (sin scroll anidado, fluye en el drawer) — */
    #filterAsideWrap .card { border: none; box-shadow: none; margin-bottom: 0; }
    #filterAsideWrap .card-body { padding: .5rem .9rem !important; }
    #filterAsideWrap #attrFiltersWrap { padding: .25rem .9rem 1.5rem; }
    #filterAsideWrap #attrFiltersWrap .attr-card-filter {
        margin-top: .25rem;
        border-top: 1px solid #eef0f2;
        border-radius: 0;
    }
    #filterAsideWrap #attrFiltersWrap .attr-card-filter .card-body {
        padding: .5rem 0 !important;
    }

    /* — Secciones de filtro en drawer — */
    #filterAsideWrap .filter-section {
        border-bottom: 1px solid #eef0f2;
        padding: 0;
    }
    #filterAsideWrap .filter-section:last-child { border-bottom: none; }
    #filterAsideWrap .filter-section-header {
        padding: .75rem .25rem;
        font-size: .85rem;
        font-weight: 600;
        text-transform: none;
        letter-spacing: 0;
        color: #495057;
        transition: color .15s;
    }
    #filterAsideWrap .filter-section-header:active { background: #f8f9fa; }
    #filterAsideWrap .filter-section:not(.fs-collapsed) .filter-section-header {
        color: #5b73e8;
    }
    #filterAsideWrap .fs-toggle-icon {
        font-size: .85rem;
        transition: transform .2s ease, color .15s;
    }
    #filterAsideWrap .filter-section:not(.fs-collapsed) .fs-toggle-icon { color: #5b73e8; }

    /* — Body de filtro en drawer — */
    #filterAsideWrap .filter-section-body { padding: 0 .25rem .5rem; }

    /* — Items de filtro — */
    #filterAsideWrap .filter-item {
        padding: .4rem .5rem;
        border-radius: .25rem;
        font-size: .82rem;
        margin-bottom: 1px;
    }
    #filterAsideWrap .filter-item:hover { background: rgba(91,115,232,.04); }
    #filterAsideWrap .filter-item:has(input:checked) {
        background: rgba(91,115,232,.06);
    }
    #filterAsideWrap .filter-item input[type="checkbox"] {
        width: 16px; height: 16px;
        border-radius: 3px;
    }
    #filterAsideWrap .filter-item-count {
        font-size: .7rem;
        background: #f0f1f5;
        color: #74788d;
        padding: 1px 6px;
        border-radius: 10px;
        font-weight: 500;
    }
    #filterAsideWrap .filter-item:has(input:checked) .filter-item-count {
        background: rgba(91,115,232,.1);
        color: #5b73e8;
    }

    /* — Show more btn — */
    #filterAsideWrap .filter-show-btn {
        font-size: .78rem;
        padding: .3rem .5rem;
        color: #5b73e8;
    }

    /* — Footer drawer (sticky) — */
    .filter-drawer-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        padding: .75rem .9rem;
        border-top: 1px solid #e9ebec;
        background: #f8f9fa;
        width: 100%;
        box-sizing: border-box;
        position: sticky;
        bottom: 0;
        z-index: 3;
    }
    .filter-drawer-footer .btn {
        flex: 1;
        max-width: 50%;
        white-space: nowrap;
        font-size: .8rem;
    }
}
@media (min-width: 992px) {
    #filterAsideWrap { display: block !important; }
    #filterOverlay   { display: none !important; }
    .filter-aside-close { display: none; }
    .filter-drawer-footer { display: none; }
}
@media (max-width: 575px) {
    .prod-price { min-width: 68px; }
    .price-val  { font-size: .78rem; color: #343a40 !important; }
}

/* ================================================================
   b2b-global-overrides.css
   AO Data Cloud — b2b.aodatacloud.es
   ----------------------------------------------------------------
   Incluir DESPUÉS de los CSS del tema Minible.
   <link href="/assets/css/b2b-global-overrides.css" rel="stylesheet">
   ================================================================ */

/* ── 1. SCROLLBAR — ocultar en toda la app ───────────────────── */
html, body,
html *, body * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
html::-webkit-scrollbar, body::-webkit-scrollbar,
*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

/* ── 2. BORDER-RADIUS — 1px global ───────────────────────────── */
body .btn,
body .form-control,
body .form-select,
body .input-group-text,
body .dropdown-menu,
body .badge,
body .alert,
body .toast,
body .popover,
body .tooltip-inner,
body .modal-content,
body .nav-tabs .nav-link,
body .nav-pills .nav-link,
body .page-link,
body .accordion-item,
body .accordion-button,
body .list-group-item,
body .progress,
body .ts-control,
body .ts-dropdown,
body .shadow-sm,
body [class*="rounded"] {
    border-radius: 1px !important;
}

body .rounded-circle,
body .avatar-title.rounded-circle {
    border-radius: 50% !important;
}

body .input-group > :first-child {
    border-top-left-radius: 1px !important;
    border-bottom-left-radius: 1px !important;
}
body .input-group > :last-child {
    border-top-right-radius: 1px !important;
    border-bottom-right-radius: 1px !important;
}

/* ── 3. NOTIFICACIONES — debajo del topbar (70px) ────────────── */
body .toast-wrap,
body .notification-wrap,
body [id$="ToastContainer"],
body [id$="NotifContainer"],
body .notification-container,
body .toast-container,
body [class*="toast-top"] {
    top: 80px !important;
    z-index: 1080 !important;
}

/* SweetAlert2 toast — posicionar debajo del topbar Minible (70px) */
body .swal2-container.swal2-top-end,
body .swal2-container.swal2-top-right {
    top: 70px !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Chat Advisor Widget
   ═══════════════════════════════════════════════════════════════════════════ */

.chat-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    z-index: 99997;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(91, 115, 232, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chat-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(91, 115, 232, 0.5);
}
.chat-fab.is-hidden {
    display: none;
}

.chat-advisor-overlay {
    display: none;
}

.chat-advisor-sidebar {
    position: fixed;
    bottom: 90px;
    right: 24px;
    /* Por defecto: 80% del viewport con tope 760px y suelo 520px.
       Más alto que antes (620px fijo) y se adapta a la pantalla. */
    height: clamp(520px, 80vh, 760px);
    width: 400px;
    max-width: calc(100vw - 32px);
    background: var(--bs-card-bg, #fff);
    border-radius: 12px;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease, height 0.2s ease, width 0.2s ease;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}
.chat-advisor-sidebar.is-open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
/* Modo "expandido": ocupa casi toda la altura y se ensancha a 480px.
   El usuario lo activa con el botón maximizar del header. */
.chat-advisor-sidebar.is-tall {
    height: calc(100vh - 110px);
    width: 480px;
}

.chat-advisor-sidebar__header {
    flex: 0 0 auto;
    border-radius: 12px 12px 0 0;
}
.chat-advisor-sidebar__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px;
}
.chat-advisor-sidebar__footer {
    flex: 0 0 auto;
    border-radius: 0 0 12px 12px;
    background: #fff;
}

/* Avatar circular en header y greeting */
.chat-advisor-avatar,
.chat-advisor-greeting-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b73e8, #3f51b5);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.chat-advisor-greeting-avatar {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
    margin: 0 auto;
}
.chat-advisor-greeting-title {
    font-weight: 600;
    color: #1d1d2c;
    font-size: 1rem;
}
.chat-advisor-greeting-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #6b7280;
}

/* Footer: dos botones rápidos siempre visibles — estilo "chip" minimalista */
.chat-advisor-quick-actions {
    display: flex;
    gap: 8px;
    padding: 10px 12px 8px 12px;
    background: #fafbfc;
    border-bottom: 1px solid #eef0f3;
}
.chat-advisor-action {
    flex: 1 1 50%;
    font-size: 0.74rem;
    font-weight: 500;
    padding: 6px 10px;
    line-height: 1.2;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #fff;
    color: #4b5563;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}
.chat-advisor-action i { font-size: 0.9rem; line-height: 1; }
.chat-advisor-action:hover { background: #f3f4f6; color: #1f2937; }
.chat-advisor-action:disabled { opacity: 0.45; cursor: not-allowed; }
/* "Hablar con un agente" se mantiene en estilo neutro: es una acción
   alternativa, no queremos empujar al usuario a abandonar la IA. */

/* Textarea auto-grow + botón enviar — alineados horizontalmente */
.chat-advisor-input-wrap { background: #fff; border-radius: 0 0 12px 12px; }
.chat-advisor-input-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
}
.chat-advisor-textarea {
    flex: 1 1 auto;
    min-width: 0;          /* clave: permite que el textarea encoja para que quepa el botón */
    width: auto;
    resize: none;
    overflow-y: auto;
    max-height: 140px;
    min-height: 40px;
    line-height: 1.4;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 0.88rem;
}
.chat-advisor-textarea:focus {
    outline: none;
    border-color: #5b73e8;
    box-shadow: 0 0 0 3px rgba(91,115,232,0.12);
}
.chat-advisor-send {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    min-height: 40px;        /* anula min-height de Bootstrap .btn */
    padding: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.chat-advisor-send i { font-size: 1.1rem; line-height: 1; }
/* Variante "detener" mientras la IA procesa */
.chat-advisor-send.is-stopping {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}
.chat-advisor-send.is-stopping:hover {
    background: #dc2626;
    border-color: #dc2626;
}

/* Editar último mensaje cliente — discreto, a la derecha del bubble */
.chat-advisor-msg .chat-advisor-edit-btn {
    opacity: 0;
    transition: opacity 0.15s ease, color 0.15s ease;
    background: transparent;
    border: 0;
    padding: 0;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b3b8c2;
    cursor: pointer;
    margin-left: 4px;
    align-self: flex-end;
    margin-bottom: 4px;
}
.chat-advisor-msg .chat-advisor-edit-btn i { font-size: 0.85rem; line-height: 1; }
.chat-advisor-msg:hover .chat-advisor-edit-btn { opacity: 0.7; }
.chat-advisor-edit-btn:hover { opacity: 1 !important; color: #5b73e8; }
.chat-advisor-edited-tag {
    font-size: 0.65rem;
    font-style: italic;
    color: #9ca3af;
    margin-left: 4px;
}
.chat-advisor-edit-form {
    width: 100%;
}
.chat-advisor-edit-form textarea {
    width: 100%;
    min-height: 60px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 0.85rem;
    resize: vertical;
}
.chat-advisor-edit-actions {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

/* Tarjetas de producto */
.chat-advisor-products {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}
.chat-product-card {
    display: flex;
    gap: 10px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    position: relative;
}
.chat-product-card:hover {
    border-color: #5b73e8;
    box-shadow: 0 2px 10px rgba(91,115,232,0.12);
    transform: translateY(-1px);
    color: inherit;
    text-decoration: none;
}
.chat-product-card__img {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    background: #f3f4f6;
    object-fit: contain;
    flex-shrink: 0;
}
.chat-product-card__img-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    flex-shrink: 0;
}
.chat-product-card__info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.chat-product-card__title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1d1d2c;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.chat-product-card__meta {
    font-size: 0.7rem;
    color: #6b7280;
    line-height: 1.3;
}
.chat-product-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    gap: 6px;
}
.chat-product-card__price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1d1d2c;
}
.chat-product-card__price-note {
    font-size: 0.65rem;
    font-weight: 400;
    color: #9ca3af;
    margin-left: 2px;
}
.chat-product-card__actions {
    display: flex;
    gap: 4px;
}
.chat-product-card__cart-btn,
.chat-product-card__copy-btn {
    background: #fff;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
    padding: 0;
}
/* Carrito → verde (acción de compra) */
.chat-product-card__cart-btn {
    border: 1px solid #10b981;
    color: #10b981;
}
.chat-product-card__cart-btn:hover { background: #10b981; color: #fff; }
.chat-product-card__cart-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Copiar → gris neutro (acción secundaria, ayuda al usuario referenciar el producto en chat) */
.chat-product-card__copy-btn {
    border: 1px solid #d1d5db;
    color: #6b7280;
}
.chat-product-card__copy-btn:hover { background: #f3f4f6; color: #374151; border-color: #9ca3af; }
.chat-product-card__copy-btn.is-copied { background: #10b981; color: #fff; border-color: #10b981; }
.chat-product-card__badges {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    gap: 4px;
}
.chat-product-card__badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.chat-product-card__badge--promo {
    background: #fef3c7;
    color: #b45309;
}
.chat-products-more {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.78rem;
    color: #5b73e8;
    text-decoration: none;
    padding: 6px 8px;
    background: transparent;
    border: 0;
    border-top: 1px dashed #e5e7eb;
    margin-top: 2px;
    cursor: pointer;
    font-weight: 500;
}
.chat-products-more:hover { text-decoration: underline; background: #f9fafb; }

/* Banner de conversación finalizada */
.chat-advisor-closed-banner {
    padding: 20px 18px;
    text-align: center;
    background: #f8f9fb;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 12px 12px;
}
.chat-advisor-closed-icon i { font-size: 32px; color: #28a745; }
.chat-advisor-closed-title { font-weight: 600; margin-top: 6px; color: #1d1d2c; }
.chat-advisor-closed-text { font-size: 0.85rem; color: #6b7280; margin-top: 4px; line-height: 1.45; }

/* Chat menu dropdown (⋮) */
.chat-menu-toggle { line-height: 1; }
.chat-menu-popup {
    position: absolute;
    top: calc(100% + 4px);
    right: 24px;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 6px 0;
    z-index: 1060;
}
.chat-menu-popup[hidden] { display: none !important; }
.chat-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 14px;
    background: transparent;
    border: 0;
    font-size: 0.9rem;
    color: #374151;
    text-align: left;
    cursor: pointer;
}
.chat-menu-item:hover { background: #f3f4f6; }
.chat-menu-item:disabled { opacity: 0.45; cursor: not-allowed; }
.chat-menu-item i { font-size: 1rem; color: #6b7280; }
.chat-menu-sep { height: 1px; background: #e5e7eb; margin: 4px 0; }

/* Chat bubbles */
.chat-advisor-bubble {
    max-width: 85%;
    padding: 0.5rem 0.8rem;
    border-radius: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.chat-advisor-bubble-client {
    background: #f1f3f5;
}
.chat-advisor-bubble-ai,
.chat-advisor-bubble-commercial {
    background: #e8f4fd;
}
.chat-advisor-bubble-system {
    text-align: center;
}
.chat-advisor-bubble-system .badge {
    white-space: normal;
    display: inline-block;
    max-width: 100%;
    padding: 0.45rem 0.75rem;
    line-height: 1.45;
    text-align: left;
}
.chat-advisor-time {
    font-size: 0.7rem;
    color: #999;
    margin-top: 0.15rem;
}

/* Typing indicator */
.chat-advisor-typing {
    display: inline-flex;
    gap: 4px;
    padding: 0.5rem 0.8rem;
    background: #e8f4fd;
    border-radius: 0.5rem;
}
.chat-advisor-typing span {
    width: 6px;
    height: 6px;
    background: #999;
    border-radius: 50%;
    animation: chatDotPulse 1.4s infinite;
}
.chat-advisor-typing span:nth-child(2) {
    animation-delay: 0.2s;
}
.chat-advisor-typing span:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes chatDotPulse {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 575.98px) {
    .chat-advisor-sidebar {
        bottom: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        max-width: 100vw;
        border-radius: 0;
    }
    .chat-advisor-sidebar__header {
        border-radius: 0;
    }
    .chat-advisor-sidebar__footer {
        border-radius: 0;
    }
    .chat-fab {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
}
/* ═══════════════════════════════════════════════════════════════════════════
   GRID RESPONSIVE — Ofertas, Pedidos, Facturas
   En móvil solo se muestran: ID | Total | Estado | Acciones
   ═══════════════════════════════════════════════════════════════════════════ */

/* Subtítulo en celda ID (fecha + asunto) — solo visible en móvil */
.grid-cell-sub {
    display: none;
    font-size: .72rem;
    color: #868e96;
    font-weight: 400;
    margin-top: 2px;
    line-height: 1.3;
}
.grid-cell-sub span {
    display: inline;
}
@media (max-width: 767.98px) {
    .grid-cell-sub {
        display: block;
    }
}

@media (max-width: 767.98px) {
    /* Ocultar columnas no críticas */
    .col-hide-mobile {
        display: none !important;
    }

    /* Ocultar botón expandir/responsive de DataTables (+) y su columna */
    table.dtr-inline.collapsed > tbody > tr > td.dtr-control,
    table.dtr-inline.collapsed > tbody > tr > th.dtr-control,
    table.dataTable td.dtr-control,
    table.dataTable tr.dtr-control,
    .dtr-control {
        display: none !important;
    }
    table.dataTable > tbody > tr > td:first-child:before {
        display: none !important;
    }

    /* Padding más compacto en tablas móvil */
    table.datatable td,
    table.datatable th {
        padding: .6rem .5rem;
    }

    /* ID bold más visible */
    table.datatable a.text-reset {
        font-size: .88rem;
    }
}
