@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Outfit:wght@400;500;600;700&display=swap);
:root {
  /* Brand palette — blanco, grises, celeste industrial, naranja acento */
  --brand-primary: #206e91;
  --brand-primary-hover: #185a78;
  --brand-primary-deep: #154d66;
  --brand-primary-soft: rgba(32, 110, 145, 0.1);
  --brand-primary-ring: rgba(32, 110, 145, 0.28);
  --brand-accent: #d65909;
  --brand-accent-hover: #b84a08;
  --brand-accent-soft: rgba(214, 89, 9, 0.12);
  --brand-accent-ring: rgba(214, 89, 9, 0.28);
  /* Superficies oscuras de marca = celeste (no negro) */
  --brand-ink: #206e91;
  --brand-text: #1a2a32;
  --brand-text-muted: #5a6a72;
  --brand-border: #e2e8ec;
  --brand-bg: #ffffff;
  --brand-surface: #ffffff;
  --brand-surface-muted: #f4f7f9;
  --brand-on-dark: #ffffff;
  --brand-radius: 2px;
  --brand-radius-md: 10px;
  --brand-shadow: 0 18px 50px rgba(32, 110, 145, 0.12);
  --brand-shadow-sm: 0 8px 24px rgba(32, 110, 145, 0.1);
  --brand-font: 'Outfit', 'Segoe UI', sans-serif;
  --brand-display: 'Montserrat', 'Outfit', sans-serif;
  --brand-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-offset: 222px;
  --header-offset-mobile: 194px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  font-family: var(--brand-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  background-color: var(--brand-bg);
  padding-top: 222px !important;
  padding-top: var(--header-offset) !important;
  overflow-x: hidden;
  color: #1a2a32;
  color: var(--brand-text);
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  body {
    padding-top: 194px !important;
    padding-top: var(--header-offset-mobile) !important;
  }
}

@media (max-width: 499.98px) {
  :root {
    --header-offset-mobile: 131px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

h1, h2, h3, h4, .brand-display {
  font-family: 'Montserrat', 'Outfit', sans-serif;
  font-family: var(--brand-display);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
}

.btn-brand,
.btn-dark {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand-accent);
  --bs-btn-border-color: var(--brand-accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-accent-hover);
  --bs-btn-hover-border-color: var(--brand-accent-hover);
  --bs-btn-focus-shadow-rgb: 214, 89, 9;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--brand-accent-hover);
  --bs-btn-active-border-color: var(--brand-accent-hover);
  background-color: #d65909;
  background-color: var(--brand-accent);
  border-color: #d65909;
  border-color: var(--brand-accent);
  color: #fff;
  border-radius: 2px;
  border-radius: var(--brand-radius);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn-brand:hover,
.btn-dark:hover {
  background-color: #b84a08;
  background-color: var(--brand-accent-hover);
  border-color: #b84a08;
  border-color: var(--brand-accent-hover);
  color: #fff;
}

.btn-outline-brand,
.btn-outline-dark,
.btn-outline-secondary {
  --bs-btn-color: var(--brand-primary);
  --bs-btn-border-color: var(--brand-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-primary);
  --bs-btn-hover-border-color: var(--brand-primary);
  --bs-btn-focus-shadow-rgb: 32, 110, 145;
  color: #206e91;
  color: var(--brand-primary);
  border-color: #206e91;
  border-color: var(--brand-primary);
  background-color: transparent;
  border-radius: 2px;
  border-radius: var(--brand-radius);
  font-weight: 600;
}

.btn-outline-brand:hover,
.btn-outline-dark:hover,
.btn-outline-secondary:hover {
  background-color: #206e91;
  background-color: var(--brand-primary);
  border-color: #206e91;
  border-color: var(--brand-primary);
  color: #fff;
}

a:not(.btn):not(.nav-link):not(.navbar-brand):not(.footer-link):not(.footer-credit-link):not(.footer-social):not(.hero-btn):not(.featured-all-link):not(.contact-cta):not(.cotizar-banner-btn):not(.desktop-cotizar-btn):not(.category-single-cta) {
  color: #206e91;
  color: var(--brand-primary);
}

a:not(.btn):not(.nav-link):not(.navbar-brand):not(.footer-link):not(.footer-credit-link):not(.footer-social):not(.hero-btn):not(.featured-all-link):not(.contact-cta):not(.cotizar-banner-btn):not(.desktop-cotizar-btn):not(.category-single-cta):hover {
  color: #185a78;
  color: var(--brand-primary-hover);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html, body, #root {
  height: 100%;
}

body.login-route {
  padding-top: 0 !important;
  height: 100vh;
  overflow: hidden;
}

body.chromeless-route {
  padding-top: 0 !important;
}

.App {
  min-height: 100%;
  background: #ffffff;
  background: var(--brand-bg);
}

#contacto {
  scroll-margin-top: calc(222px + 16px);
  scroll-margin-top: calc(var(--header-offset) + 16px);
}

@media (max-width: 768px) {
  #contacto {
    scroll-margin-top: calc(194px + 12px);
    scroll-margin-top: calc(var(--header-offset-mobile) + 12px);
  }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10000;
  padding: 0.75rem 1.1rem;
  background: #206e91;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  border-radius: var(--brand-radius);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid #d65909;
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}

/* Bloques de marca oscuros: siempre celeste + texto blanco */
.brand-panel {
  background: #206e91;
  background: var(--brand-primary);
  color: #ffffff;
  color: var(--brand-on-dark);
}

.brand-panel a {
  color: #ffffff;
  color: var(--brand-on-dark);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.carrito-offcanvas {
  width: 360px !important;
}

.carrito-offcanvas .offcanvas-header {
  border-bottom: 1px solid #e9ecef;
  padding: 1rem 1.25rem;
}

.carrito-offcanvas .offcanvas-title {
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.carrito-offcanvas .offcanvas-title svg {
  font-size: 0.9rem;
}

.carrito-offcanvas .offcanvas-body {
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Carrito vacío */
.carrito-vacio-sidebar {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.carrito-vacio-sidebar p {
  color: #6c757d;
  font-size: 1rem;
}

/* Lista de items */
.carrito-items-list {
  flex: 1 1;
  overflow-y: auto;
  padding: 0.75rem;
}

.carrito-item-sidebar {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.carrito-item-sidebar:last-child {
  border-bottom: none;
}

.item-imagen-sidebar {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.item-info-sidebar {
  flex: 1 1;
}

.item-nombre-sidebar {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.item-precio-sidebar {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.4rem;
}

.cantidad-controls-sidebar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.btn-cantidad-sidebar {
  background-color: #fff;
  border: 1px solid #dee2e6;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #333;
  font-size: 0.65rem;
}

.btn-cantidad-sidebar:hover:not(:disabled) {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.btn-cantidad-sidebar:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cantidad-valor-sidebar {
  font-weight: 600;
  font-size: 0.85rem;
  min-width: 22px;
  text-align: center;
}

.item-subtotal-sidebar {
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0;
}

.btn-eliminar-sidebar {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  color: #333;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: all 0.2s ease;
}

.btn-eliminar-sidebar:hover {
  color: var(--brand-accent);
  transform: scale(1.1);
}

/* Footer del sidebar */
.carrito-footer-sidebar {
  border-top: 2px solid #e9ecef;
  padding: 1.25rem;
  background-color: #f8f9fa;
}

.total-sidebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #333;
}

.total-valor-sidebar {
  font-size: 1.15rem;
}

.envio-mensaje-sidebar {
  text-align: left;
  padding: 0.5rem 0;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0.75rem;
}

.btn-ir-carrito {
  background-color: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-ir-carrito:hover {
  background-color: var(--brand-accent-hover);
  border-color: var(--brand-accent-hover);
  color: #fff;
  transform: translateY(-2px);
}

.link-seguir-comprando {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 0.8rem;
  font-weight: 400;
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.5rem 0;
  width: 100%;
  text-align: center;
}

.link-seguir-comprando:hover {
  color: var(--brand-primary-hover);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 576px) {
  .carrito-offcanvas {
    width: 90% !important;
  }
}


.announcement-bar {
  background: var(--brand-primary);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.announcement-text {
  margin: 0;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
  color: #fff;
}

.site-header {
  z-index: 1040;
  background: rgba(250, 251, 252, 0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.navbar-loaded {
  opacity: 1;
}

.site-header.is-scrolled {
  border-bottom-color: var(--brand-border);
  box-shadow: 0 10px 40px rgba(12, 18, 21, 0.06);
  background: rgba(255, 255, 255, 0.92);
}

.site-header.is-scrolled .desktop-top-bar {
  min-height: 148px;
  transition: min-height 0.3s var(--brand-ease);
}

.site-header .nav-link,
.site-header button.nav-link {
  background: transparent;
  border: 0;
  color: var(--brand-text);
  font-family: var(--brand-font);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.site-header .nav-link:hover,
.site-header button.nav-link:hover {
  color: var(--brand-primary);
}

.site-navbar.navbar-expand-md {
  flex-wrap: wrap !important;
  background-color: transparent !important;
  padding: 0;
  box-shadow: none !important;
}

.navbar-expand-md {
  flex-wrap: wrap !important;
  z-index: 1040;
  background-color: transparent !important;
}

.navbar>.container-fluid {
  display: block;
}

.nav-style {
  padding: 0.5rem 0;
}

.desktop-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 154px;
  padding: 0 1rem 0 0.5rem;
  width: 100%;
}

.desktop-top-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1;
  min-width: 0;
}

.desktop-top-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.desktop-logo {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--brand-primary);
  padding: 0;
  margin: 0;
  opacity: 1;
}

.navbar-loaded .desktop-logo {
  opacity: 1;
}

.desktop-logo:hover {
  opacity: 0.9;
}

.navbar-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  padding-left: 12px;
}

.navbar-logo-mobile {
  height: 163px;
  width: auto;
  object-fit: contain;
  padding-right: 10px;
  padding-bottom: 15px;
}

.navbar-logo-mobile-menu {
  margin-top: 20px;
  height: 125px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 499.98px) {
  .navbar-logo-mobile {
    height: 100px;
    padding-bottom: 8px;
  }

  .navbar-logo-mobile-menu {
    height: 100px;
  }

  .mobile-bar .navbar-brand {
    min-width: 100px;
  }
}

.desktop-search-container {
  flex: 1 1;
  max-width: 420px;
  min-width: 180px;
  z-index: 1050;
  opacity: 1;
}

.navbar-loaded .desktop-search-container {
  opacity: 1;
}

.desktop-cotizar-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.15rem;
  background: var(--brand-accent);
  color: #fff !important;
  font-family: var(--brand-font);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: var(--brand-radius);
  border: 1px solid var(--brand-accent);
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.35s var(--brand-ease), box-shadow 0.25s ease;
}

.desktop-cotizar-btn:hover {
  background: var(--brand-accent-hover);
  border-color: var(--brand-accent-hover);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--brand-shadow-sm);
}

.desktop-cotizar-btn:focus-visible {
  outline: 3px solid var(--brand-accent-ring);
  outline-offset: 2px;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .desktop-cotizar-btn {
    font-size: 0.8rem;
    padding: 0.55rem 0.85rem;
  }

  .desktop-search-container {
    max-width: 280px;
  }
}

.buscador-desktop {
  width: 100%;
}

.search-container .form-control {
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius) 0 0 var(--brand-radius);
  background: var(--brand-surface);
  box-shadow: none;
  font-size: 0.92rem;
  min-height: 46px;
  letter-spacing: -0.01em;
}

.search-container .form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-primary-soft);
}

.search-container .btn {
  border-radius: 0 var(--brand-radius) var(--brand-radius) 0;
  min-height: 46px;
}

/* Estilos para el botón de búsqueda — CTA naranja */
.search-container .btn {
  background-color: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
}

.search-container .btn:hover {
  background-color: var(--brand-accent-hover);
  border-color: var(--brand-accent-hover);
  color: #fff;
}

.search-container .btn:focus-visible {
  box-shadow: 0 0 0 0.2rem var(--brand-accent-ring);
}

.search-clear-btn {
  position: absolute;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

/* Ocultar la X nativa del input type=search (evita doble icono) */
.search-container input[type="search"]::-webkit-search-cancel-button,
.search-container input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.search-container input[type="search"]::-ms-clear,
.search-container input[type="search"]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

.nav-link {
  color: var(--brand-text);
  font-size: 0.92rem;
  padding: 10px 14px;
  font-weight: 500;
  font-family: var(--brand-font);
  position: relative;
  text-decoration: none;
  letter-spacing: -0.015em;
  transition: color 0.25s ease;
  margin: 0 2px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.navbar-nav .nav-link {
  flex: 0 0 auto;
  text-align: center;
  min-width: auto;
}

.navbar-loaded .nav-link {
  opacity: 1;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--brand-accent);
  transition: width 0.3s var(--brand-ease);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--brand-primary);
}

.nav-link:hover::before {
  width: 55%;
}

.nav-link.active {
  color: var(--brand-primary);
  font-weight: 600;
}

.nav-link.active::before {
  width: 55%;
}

.separador-nav {
  border: 0;
  border-top: 1px solid var(--brand-border);
  margin: 0.15rem 0 0.35rem;
  opacity: 1;
}

/* Estilos para las sugerencias de búsqueda */
.search-container {
  position: relative;
  width: 100%;
  z-index: 1050;
}

.suggestions-container {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1050;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  max-height: 300px;
  overflow-y: auto;
  margin-top: 1px;
  text-align: left;
}

.suggestions-list {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0.375rem;
}

.suggestion-item {
  border: none !important;
  border-bottom: 1px solid #f8f9fa !important;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.suggestion-item:last-child {
  border-bottom: none !important;
}

.suggestion-item:hover {
  background-color: var(--brand-primary-soft) !important;
}

.suggestion-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.suggestion-image {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.suggestion-text {
  flex: 1 1;
  min-width: 0;
  text-align: left;
}

.suggestion-title {
  font-weight: 500;
  color: #333;
  font-size: 0.82rem;
  margin-bottom: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-price {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .suggestions-container {
    max-height: 220px;
  }

  .suggestion-content {
    gap: 0.4rem;
  }

  .suggestion-image {
    width: 28px;
    height: 28px;
  }

  .suggestion-title {
    font-size: 0.78rem;
  }

  .suggestion-item {
    padding: 0.45rem 0.6rem;
  }

  .suggestion-price {
    font-size: 0.7rem;
  }
}

@media (max-width: 767.98px) {
  .mobile-bar {
    padding: 0.5rem 1rem;
    margin-bottom: -1rem; /* Eliminar espacio en blanco */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
  }

  .navbar-loaded .mobile-bar {
    opacity: 1;
    transform: translateY(0);
  }

  /* Espaciado mejorado para mobile */
  .mobile-bar .d-flex {
    gap: 1.5rem; /* Más espacio entre logo y buscador */
  }

  .mobile-bar .navbar-brand {
    margin-right: 0;
    min-width: 120px; /* Ancho mínimo para el logo */
  }

  .mobile-bar .search-container {
    flex: 1 1;
    margin-left: 1rem; /* Espacio adicional desde el logo */
    margin-top: 1rem; /* Margen superior para separar del logo */
  }

  /* Navlinks alineados a la izquierda en mobile */
  .navbar-nav {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .navbar-nav .nav-link {
    flex: none;
    text-align: left;
    min-width: auto;
    margin: 0;
    padding: 8px 0;
  }

  .menu-btn {
    border: none !important;
    background: transparent !important;
    font-size: 1.2rem;
    color: var(--brand-primary) !important;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-btn:hover {
    transform: scale(1.05);
    background: var(--brand-primary-soft) !important;
    color: var(--brand-primary-hover) !important;
  }

  .menu-btn.active {
    background: var(--brand-primary-soft) !important;
    color: var(--brand-primary) !important;
  }

  .menu-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem var(--brand-primary-ring) !important;
  }

  .navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg viewBox=%270 0 30 30%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3cpath stroke=%27%23206e91%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    transition: all 0.3s ease;
  }

  .offcanvas-custom {
    z-index: 9999 !important;
    background-color: white !important;
    border-right: 1px solid #dee2e6;
  }

  .offcanvas-custom .offcanvas-header {
    border-bottom: 1px solid #eaeaea;
    background-color: white;
  }

  .offcanvas-custom .offcanvas-body {
    background-color: white;
    padding: 1rem;
  }

  .offcanvas-custom .nav-link {
    font-size: 1.1rem;
    padding-left: 0;
    margin-bottom: 0.5rem;
    /* Efectos adaptados para mobile */
    transform: none;
    text-shadow: none;
  }

  .offcanvas-custom .nav-link::before {
    height: 3px;
    bottom: -8px;
    border-radius: 2px;
    left: 0;
    transform: none;
  }

  .offcanvas-custom .nav-link:hover {
    transform: translateX(8px);
    text-shadow: none;
  }

  .offcanvas-custom .nav-link:hover::before {
    width: 40%;
  }

  .offcanvas-custom .nav-link.active {
    color: #333;
    font-weight: 600;
  }

  .offcanvas-custom .nav-link.active::before {
    width: 40%;
  }

  .offcanvas-custom .form-control {
    font-size: 0.95rem;
  }

  .mobile-menu-content .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    margin-bottom: 0.5rem;
    color: var(--brand-text);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
  }

  .mobile-menu-content .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-primary);
    transition: all 0.3s ease;
    border-radius: 1px;
  }

  .mobile-menu-content .nav-link:hover {
    color: var(--brand-primary);
    transform: translateX(8px);
  }

  .mobile-menu-content .nav-link:hover::before {
    width: 40%;
  }

  .mobile-menu-content .nav-link.active {
    color: var(--brand-primary);
    font-weight: 600;
  }

  .mobile-menu-content .nav-link.active::before {
    width: 100%;
    background: var(--brand-accent);
  }

  .search-clear-btn {
    right: 44px;
  }

  /* Margen superior al buscador en el menú hamburguesa */
  .mobile-menu-content .search-container {
    margin-top: 1rem;
  }

  /* Margen superior al SearchForm en el menú hamburguesa */
  .mobile-menu-content form {
    margin-top: 3rem !important;
  }

  .mobile-menu-cotizar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 1.5rem;
    padding: 0.75rem 1.1rem;
    background: var(--brand-accent);
    color: #fff !important;
    font-family: var(--brand-font);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    border-radius: var(--brand-radius);
    border: 1px solid var(--brand-accent);
  }

  .mobile-menu-cotizar:hover,
  .mobile-menu-cotizar:focus-visible {
    background: var(--brand-accent-hover);
    border-color: var(--brand-accent-hover);
    color: #fff !important;
  }
}

.form-control:focus {
  box-shadow: 0 0 0 0.2rem var(--brand-primary-ring);
  border-color: var(--brand-primary);
}

/* Estilos para el icono del carrito en desktop */
.desktop-cart-icon {
  position: relative;
  flex-shrink: 0;
  font-size: 1.75rem;
  color: var(--brand-primary);
  cursor: pointer;
  transition: color 0.25s ease, transform 0.3s var(--brand-ease);
  opacity: 1;
  background: transparent;
  border: none;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-cart-icon svg {
  fill: none;
  stroke: currentColor;
}

.navbar-loaded .desktop-cart-icon {
  opacity: 1;
}

.desktop-cart-icon:hover {
  color: var(--brand-accent);
  transform: scale(1.06);
}

.desktop-cart-icon .cart-badge {
  position: absolute;
  top: 0;
  right: 0;
}

.mobile-cart-icon {
  position: relative;
  font-size: 1.7rem;
  color: var(--brand-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-cart-icon svg {
  fill: none;
  stroke: currentColor;
}

.mobile-cart-icon:hover {
  color: var(--brand-accent);
}

.mobile-cart-icon .cart-badge {
  position: absolute;
  top: 0;
  right: 0;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background-color: var(--brand-accent);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
}

@media (min-width:768px) {
  .navbar-nav {
    gap: 30px;
  }
}
.boton-wsp {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  color: white;
  border-radius: 50%;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
}

.boton-wsp:hover {
  transform: scale(1.1);
}

.boton-wsp img {
  width: 60px;
  height: 60px;
}

.footer {
  background: linear-gradient(180deg, var(--brand-primary) 0%, var(--brand-primary-deep) 100%);
  color: #fff;
  margin-top: auto;
  position: relative;
  text-align: left;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer.footer-loaded {
  opacity: 1;
}

.footer-title {
  font-family: var(--brand-font);
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-link {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.45rem;
  transition: opacity 0.25s ease;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  opacity: 0.9;
}

.footer-link.footer-main {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  opacity: 1;
}

.footer-link:hover {
  color: #fff;
  opacity: 1;
}

.footer-contact {
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
}

.plain-icon {
  margin-right: 0.55rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact-link {
  text-decoration: none;
  display: block;
}

.footer-contact-link:hover .footer-contact {
  color: #fff;
}

.footer-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.footer-brand-desc {
  max-width: 18rem;
  line-height: 1.55;
  margin-bottom: 1rem !important;
  color: rgba(255, 255, 255, 0.88);
}

.footer-fiscal {
  margin-top: 1rem !important;
  opacity: 0.75;
  font-size: 0.78rem !important;
  color: #fff;
}

.footer-socials-inline {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid #fff;
  border-radius: 999px;
  font-size: 0.95rem;
  margin-left: 0;
  color: #fff !important;
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.footer-social svg {
  color: #fff;
  fill: currentColor;
}

.footer-social:hover {
  color: #fff !important;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0.92;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-credit-link {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.25s ease;
}

.footer-credit-link:hover {
  color: #fff !important;
  opacity: 0.85;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-left,
.footer-right {
  text-align: left;
}

.footer-map {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--brand-radius-md);
  aspect-ratio: 1 / 1;
  max-width: 180px;
  background: var(--brand-primary-deep);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05) brightness(0.85);
}

.footer h6,
.footer p,
.footer a,
.footer small {
  text-align: left;
}

@media (max-width: 991px) {
  .footer {
    padding-left: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-map {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
}

.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  width: 100%;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-spinner {
  position: relative;
  width: 48px;
  height: 48px;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #e5e5e5;
  border-top: 2px solid var(--brand-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .loader-container {
    min-height: 250px;
  }

  .loader-spinner {
    width: 40px;
    height: 40px;
  }
}
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(32, 110, 145, 0.08), transparent 70%),
    #fff;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(32, 110, 145, 0.08), transparent 70%),
    var(--brand-surface, #fff);
  transition: opacity 0.45s ease, visibility 0.45s ease;
  transition: opacity 0.45s var(--brand-ease, ease), visibility 0.45s var(--brand-ease, ease);
}

.page-loader--leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-mark {
  position: relative;
  width: min(280px, 58vw);
  line-height: 0;
}

.page-loader-logo {
  width: 100%;
  height: auto;
  display: block;
  -webkit-user-select: none;
          user-select: none;
  pointer-events: none;
}

.page-loader-logo--base {
  filter: grayscale(1) brightness(1.05) contrast(0.92);
  opacity: 0.55;
}

.page-loader-logo--color {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: -webkit-clip-path 0.12s linear;
  transition: clip-path 0.12s linear;
  transition: clip-path 0.12s linear, -webkit-clip-path 0.12s linear;
}

@media (max-width: 767.98px) {
  .page-loader-mark {
    width: min(220px, 70vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader {
    transition: opacity 0.2s ease;
  }

  .page-loader-logo--color {
    transition: none;
  }
}

.login-page {
  height: 100dvh; /* handle mobile browser UI */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.login-page .container,
.login-page .row {
  height: 100%;
}

.login-card {
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  padding: 28px;
}

.login-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 1rem;
}

.login-logo {
  height: 42px;
  width: auto;
  display: block;
}

.login-input {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
}

.login-input:focus {
  border-color: #000;
  box-shadow: 0 0 0 0.15rem rgba(0,0,0,0.08);
}

.login-button {
  height: 44px;
  border-radius: 12px;
  font-weight: 600;
}

.login-muted {
  color: #6c757d;
  font-size: 0.9rem;
}

.login-alert {
  border-radius: 12px;
}


.admin-page {
  min-height: calc(100vh - 160px);
}

.admin-title {
  font-weight: 700;
}

.admin-card {
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Borde de color para cards del dashboard */
.admin-card-sales {
  border-left: 4px solid #0d6efd; /* azul */
}

.admin-card-commission {
  border-left: 4px solid #20c997; /* verde */
}

.admin-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.75rem;
  text-align: left;
}

/* Fondo blanco para filtros-container en admin */
.py-4 .filtros-container {
  background-color: #fff !important;
}

/* Estilos para form-control dentro de filtros-container */
.filtros-container .form-control {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  background-color: #ffffff;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filtros-container .form-control:focus {
  border-color: #333 !important;
  box-shadow: 0 0 0 0.2rem rgba(51, 51, 51, 0.15) !important;
  outline: none;
}

.filtros-container .form-control:hover {
  border-color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Estilos minimalistas para tabla de pedidos */
.admin-pedidos-table {
  background: #fff;
  border-radius: 4px;
  overflow-x: auto;
  overflow-y: visible;
  box-shadow: none;
  border: 1px solid #f0f0f0;
}

.admin-table-modern {
  margin-bottom: 0;
  border: none;
}

.admin-table-modern thead th {
  background: #f8f9fa;
  border: none;
  border-bottom: 1px solid #e9ecef;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.875rem;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table-modern tbody td {
  border: none;
  border-bottom: 1px solid #f1f3f5;
  padding: 16px;
  vertical-align: middle;
}

.admin-table-modern tbody tr.no-hover:hover {
  background-color: #f8f9fa !important;
}

.admin-table-modern tbody tr.no-hover:hover td {
  background-color: #f8f9fa !important;
}

.admin-pedido-row {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.admin-pedido-row:hover {
  background-color: #f8f9fa;
}

.admin-pedido-row.expanded {
  background-color: #f8f9fa;
}

.expand-icon {
  color: #6c757d;
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.admin-status-toggle {
  border: none;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0;
}

.admin-status-toggle:hover,
.admin-status-toggle:active,
.admin-status-toggle:focus {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
}

.admin-status-toggle:focus {
  box-shadow: none;
}

.admin-status-badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  font-weight: 500;
  border-radius: 12px;
  cursor: pointer;
}

/* Cobrado: celeste medio oscuro, contraste con texto blanco */
.admin-status-badge.bg-cobrado {
  background-color: #0e7490 !important;
  color: #fff !important;
}

/* Rechazado: rojo oscuro distinto de CANCELADO (danger) */
.admin-status-badge.bg-rechazado {
  background-color: #7f1d1d !important;
  color: #fff !important;
}

.admin-status-badge:hover {
  opacity: 1;
}

.admin-status-menu {
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 4px;
  margin-top: 4px;
  position: absolute;
  z-index: 1050 !important;
}

/* Asegurar que el dropdown se muestre fuera del contenedor de la tabla */
.admin-pedidos-table .dropdown-menu {
  position: fixed !important;
  z-index: 1050 !important;
}

.admin-status-menu .dropdown-item {
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.875rem;
  transition: background-color 0.15s ease;
}

.admin-status-menu .dropdown-item:hover {
  background-color: #f8f9fa;
}

.admin-status-menu .dropdown-item.active {
  background-color: #e7f3ff;
  color: #0066cc;
  font-weight: 600;
}

/* Estilos para productos expandidos */
.admin-productos-expanded {
  background-color: #f8f9fa;
  border: none;
  padding: 0;
  box-shadow: none !important;
}

.admin-productos-expanded:hover {
  background-color: #f8f9fa !important;
}

.admin-table-modern tbody tr.no-hover td.admin-productos-expanded:hover {
  background-color: #f8f9fa !important;
}

.admin-productos-content {
  padding: 24px;
}

.admin-productos-content:hover {
  background-color: transparent !important;
}

.admin-productos-list:hover,
.admin-producto-item:hover {
  background-color: transparent !important;
}

.admin-table-modern tbody tr.no-hover .admin-productos-content:hover,
.admin-table-modern tbody tr.no-hover .admin-productos-list:hover,
.admin-table-modern tbody tr.no-hover .admin-producto-item:hover {
  background-color: transparent !important;
}

.admin-productos-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.admin-producto-item {
  padding: 12px 0;
  border-bottom: 1px solid #f1f3f5;
  transition: none;
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-producto-item:hover {
  background-color: transparent;
}

.admin-producto-item:last-child {
  border-bottom: none;
}

.admin-producto-nombre {
  font-weight: 600;
  color: #212529;
  margin-bottom: 0;
  font-size: 0.9375rem;
  flex-shrink: 0;
  min-width: 200px;
  text-align: left;
}

.admin-producto-details {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  flex: 1 1;
}

.admin-producto-subtotal {
  margin-left: auto;
  font-weight: 600;
  color: #495057;
}

.admin-descuento {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e9ecef;
  font-size: 0.875rem;
}

.admin-resumen-pedido {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-resumen-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.admin-resumen-total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #e9ecef;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .admin-producto-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .admin-producto-nombre {
    min-width: auto;
  }
  
  .admin-producto-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }
  
  .admin-producto-subtotal {
    margin-left: 0;
  }
}

/* Estilos para checkbox de producto destacado */
.admin-checkbox-container {
  display: flex;
  align-items: center;
}

.admin-checkbox-container .form-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.admin-checkbox-destacado {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  flex-shrink: 0;
}

.admin-checkbox-destacado .form-check-input {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.admin-checkbox-destacado .form-check-label {
  margin-left: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

/* Estilos para formulario de editar producto */
.admin-form-container {
  background: #fff;
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: none;
  border: 1px solid #f0f0f0;
}

.admin-form-group {
  margin-bottom: 1.25rem;
}

.admin-form-label {
  font-weight: 400;
  color: #666;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  text-align: left;
  display: block;
}

.admin-form-control {
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  padding: 0.5rem 0.625rem;
  font-size: 0.875rem;
  transition: border-color 0.15s ease-in-out;
  background: #fff;
}

.admin-form-control:focus {
  border-color: #333;
  box-shadow: none;
  outline: 0;
}

.admin-form-select {
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  padding: 0.5rem 0.625rem;
  font-size: 0.875rem;
  transition: border-color 0.15s ease-in-out;
  background: #fff;
}

.admin-form-select:focus {
  border-color: #333;
  box-shadow: none;
  outline: 0;
}

.admin-form-actions {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.admin-form-actions .btn {
  padding: 0.5rem 1.25rem;
  font-weight: 400;
  border-radius: 3px;
  transition: all 0.15s ease-in-out;
  font-size: 0.875rem;
}

/* Estilos para botones primarios del admin */
.admin-page .btn-primary,
.admin-form-container .btn-primary,
.admin-modal-confirm .btn-primary,
[class*="admin"] .btn-primary,
.container .btn-primary {
  background-color: #333 !important;
  border-color: #333 !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  border: none !important;
  letter-spacing: 0.3px !important;
}

.admin-page .btn-primary.btn-sm,
.admin-form-container .btn-primary.btn-sm,
.admin-modal-confirm .btn-primary.btn-sm,
[class*="admin"] .btn-primary.btn-sm,
.container .btn-primary.btn-sm {
  padding: 0.5rem 1.25rem !important;
}

.admin-page .btn-primary:not(.btn-sm),
.admin-form-container .btn-primary:not(.btn-sm),
.admin-modal-confirm .btn-primary:not(.btn-sm),
[class*="admin"] .btn-primary:not(.btn-sm),
.container .btn-primary:not(.btn-sm) {
  padding: 0.625rem 1.5rem !important;
}

.admin-page .btn-primary:hover,
.admin-form-container .btn-primary:hover,
.admin-modal-confirm .btn-primary:hover,
[class*="admin"] .btn-primary:hover,
.container .btn-primary:hover {
  background-color: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-1px) !important;
}

.admin-page .btn-primary:active,
.admin-form-container .btn-primary:active,
.admin-modal-confirm .btn-primary:active,
[class*="admin"] .btn-primary:active,
.container .btn-primary:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.admin-page .btn-primary:focus,
.admin-form-container .btn-primary:focus,
.admin-modal-confirm .btn-primary:focus,
[class*="admin"] .btn-primary:focus,
.container .btn-primary:focus {
  background-color: #000 !important;
  border-color: #000 !important;
  box-shadow: 0 0 0 0.15rem rgba(51, 51, 51, 0.25) !important;
  outline: none !important;
}

.admin-form-actions .btn-primary {
  background-color: #333;
  border-color: #333;
}

.admin-form-actions .btn-primary:hover {
  background-color: #000;
  border-color: #000;
}

.admin-form-actions .btn-outline-secondary {
  border-color: #e5e5e5;
  color: #666;
}

.admin-form-actions .btn-outline-secondary:hover {
  background-color: #fafafa;
  border-color: #d0d0d0;
}

@media (max-width: 768px) {
  .admin-form-container {
    padding: 1rem;
  }
}

/* Estilos para botones en tablas */
.admin-table-modern .btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.15s ease-in-out;
}

.admin-table-modern .btn-outline-dark {
  border-color: #333;
  color: #333;
}

.admin-table-modern .btn-outline-dark:hover {
  background-color: #333;
  border-color: #333;
  color: #fff;
}

.admin-table-modern .btn-outline-dark:focus {
  box-shadow: 0 0 0 0.15rem rgba(51, 51, 51, 0.25);
}

.admin-table-modern .btn-outline-danger {
  border-color: #dc3545;
  color: #dc3545;
}

.admin-table-modern .btn-outline-danger:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: #fff;
}

.admin-table-modern .btn-outline-danger:focus {
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}

/* Estilos para botones en filtros */
.admin-form-container .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.15s ease-in-out;
}

.admin-form-container .btn-outline-secondary {
  border-color: #dee2e6;
  color: #495057;
}

.admin-form-container .btn-outline-secondary:hover {
  background-color: #f8f9fa;
  border-color: #adb5bd;
  color: #495057;
}

.admin-form-container .btn-outline-secondary:focus {
  box-shadow: 0 0 0 0.15rem rgba(108, 117, 125, 0.25);
}

/* Estilos minimalistas para Modal de confirmación */
.admin-modal-confirm .modal-content {
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  box-shadow: none;
}

.admin-modal-confirm .modal-header {
  border-bottom: 1px solid #f0f0f0;
  padding: 1rem 1.25rem;
}

.admin-modal-confirm .admin-modal-title {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #333;
}

.admin-modal-confirm .admin-modal-body {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: #666;
}

.admin-modal-confirm .admin-modal-footer {
  border-top: 1px solid #f0f0f0;
  padding: 0.75rem 1.25rem;
}

.admin-modal-confirm .admin-modal-btn {
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 400;
  border-radius: 3px;
  border: 1px solid #e5e5e5;
}

.admin-modal-confirm .admin-modal-btn.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
}

.admin-modal-confirm .admin-modal-btn.btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
}

.admin-modal-confirm .admin-modal-btn.btn-secondary {
  background-color: #fff;
  border-color: #e5e5e5;
  color: #666;
}

.admin-modal-confirm .admin-modal-btn.btn-secondary:hover {
  background-color: #fafafa;
  border-color: #d0d0d0;
  color: #333;
}

.admin-modal-confirm .btn-close {
  opacity: 0.5;
  font-size: 0.75rem;
}

.admin-modal-confirm .btn-close:hover {
  opacity: 0.75;
}


.btn-mobile-toggle {
  background-color: #fff;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  padding: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
  width: 100%;
  text-align: center;
  border-radius: 0;
  z-index: 1;
  position: relative;
}

/* Estado activo/focus en mobile */
@media (max-width: 767px) {
  .btn-mobile-toggle:hover {
    background-color: var(--brand-primary) !important;
    color: #fff !important;
    border-color: var(--brand-primary) !important;
    box-shadow: none !important;
  }

  .btn-mobile-toggle:active,
  .btn-mobile-toggle:focus,
  .btn-mobile-toggle:focus-visible {
    background-color: var(--brand-primary) !important;
    color: #fff !important;
    border-color: var(--brand-primary) !important;
  }
}

.filtros-container {
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  text-align: left;
}

/* Estilos para filtros deshabilitados */
.filtros-disabled {
  opacity: 0.7;
  pointer-events: none;
}

.filtros-disabled .form-control,
.filtros-disabled .form-select,
.filtros-disabled .form-check-input {
  background-color: #e9ecef;
  cursor: not-allowed;
}

.filtros-disabled .form-check-label {
  cursor: not-allowed;
  color: #6c757d;
}

.filtros-container h5 {
  color: #333;
  font-weight: 600;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .filtros-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background-color: #fff;
    z-index: 1050; /* Aumentar z-index para estar por encima del navbar */
    overflow-y: auto;
    padding: 4rem 1.5rem 2rem; /* Aumentar padding-top para evitar el navbar */
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease-in-out;
    border-radius: 0;
    border: none;
  }

  .filtros-container.open {
    right: 0;
  }

  .filtros-container .close-icon {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: #333;
    z-index: 1060;
    cursor: pointer;
  }
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.checkbox-group .form-check {
  margin-bottom: 0.25rem;
  padding-left: 1.5rem;
  text-align: left;
}

.checkbox-group .form-check-input {
  margin-left: -1.5rem;
  border-radius: 50%;
  width: 1.2em;
  height: 1.2em;
  border: 2px solid #dee2e6;
  background-color: #fff;
  transition: all 0.15s ease-in-out;
}

.checkbox-group .form-check-input:checked {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27m6 10 3 3 6-6%27/%3e%3c/svg%3e");
}

.checkbox-group .form-check-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.2rem var(--brand-primary-ring);
}

/* Estilos modernos para el select */
.form-select {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  background-color: #ffffff;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-select:focus {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 0 0 0.2rem var(--brand-primary-ring) !important;
  outline: none;
}

.form-select:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 2px 6px rgba(32, 110, 145, 0.12);
}

/* Estilo para las opciones del select */
.form-select option {
  padding: 0.5rem;
  font-size: 0.9rem;
}

.checkbox-group .form-check-label {
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
  text-align: left;
}

.form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.precio-row {
  display: flex;
  gap: 1rem;
}

.precio-row .form-group {
  flex: 1 1;
}

.precio-row .form-control {
  border-radius: 4px;
  border: 1px solid #ced4da;
}

.precio-row .form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.2rem var(--brand-primary-ring);
}

/* Estilos para filtros activos (tags/pills) */
.filtros-activos {
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.filtros-activos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filtro-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid #dee2e6;
  background-color: #f8f9fa;
  transition: all 0.2s ease;
}

.filtro-tag:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
}

.filtro-label {
  color: #6c757d;
  font-weight: 600;
  font-size: 0.8rem;
}

.filtro-valor {
  color: #333;
  font-weight: 500;
}

.btn-remove-filtro {
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  transition: all 0.2s ease;
}

.btn-remove-filtro:hover {
  background-color: #dc3545;
  color: #fff;
}

.btn-remove-filtro:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Responsive para filtros activos */
@media (max-width: 767px) {
  .filtros-activos {
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .filtro-tag {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .filtro-label {
    font-size: 0.75rem;
  }
}

/* Estilos para filtros desplegables */
.filtro-desplegable {
  border: none;
  border-radius: 0;
  overflow: visible;
}

.filtro-toggle {
  width: 100%;
  padding: 0.75rem 0;
  background-color: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
  border-bottom: 1px solid #f0f0f0;
}

.filtro-toggle:hover {
  background-color: transparent;
  color: var(--brand-primary);
}

.filtro-toggle:focus {
  outline: none;
  box-shadow: none;
}

.filtro-toggle:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.filtro-opciones {
  padding: 0.5rem 0;
  background-color: transparent;
  border-top: none;
}

.filtro-opciones .checkbox-group {
  padding: 0;
}

/* Estilos para el botón aplicar filtros — CTA naranja */
.btn-aplicar-filtros {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-accent);
  border: 2px solid var(--brand-accent);
  border-radius: 9999px;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  height: 44px;
  padding: 0 16px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-aplicar-filtros:hover {
  background-color: #fff;
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

.btn-aplicar-filtros:focus {
  background-color: #fff;
  border-color: var(--brand-accent);
  color: var(--brand-accent);
  box-shadow: 0 0 0 0.2rem var(--brand-accent-ring);
}

.btn-aplicar-filtros:active {
  background-color: #fff;
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}
.admin-layout {
  min-height: 100vh;
}

.admin-sidebar {
  border-right: 1px solid #eee;
  padding: 0;
  background: #fff;
}

.admin-brand-logo {
  height: 44px;
  width: auto;
  margin-right: 10px;
}

.admin-brand {
  padding: 24px 16px 12px 24px;
  margin-bottom: 6px;
}

.admin-brand-text {
  font-weight: 700;
  font-size: 1rem;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  gap: 6px;
  text-align: left;
  padding: 16px;
}

.admin-nav-link {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 0;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  text-align: left;
}

.admin-nav-link:hover {
  background: #f3f3f3;
}

.admin-nav-link.active {
  background: #111;
  color: #fff;
}

.admin-content {
  padding: 24px 24px 40px;
}

.admin-header-title {
  margin: 0 0 10px 0;
  font-weight: 700;
  text-align: left;
}

.admin-user-toggle {
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: none;
}

.admin-divider {
  height: 1px;
  background: linear-gradient(90deg, #ddd, #eee);
  margin-bottom: 20px;
}

.admin-outlet {
  padding-top: 4px;
}

/* Toggle button (solo mobile) */
.admin-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 0;
  background: transparent;
  margin-bottom: 12px;
}

.admin-menu-toggle:active {
  transform: scale(0.98);
}

.admin-menu-toggle:focus {
  outline: none;
  box-shadow: none;
}

/* Responsive: sidebar como panel deslizable en mobile */
@media (max-width: 767.98px) {
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    transform: translateX(-100%);
    transition: transform 0.28s ease-in-out;
    z-index: 1040;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
  }

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

  .admin-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1039;
  }

  /* Empujar contenido cuando sidebar está abierto (opcional) */
  .admin-content {
    padding: 20px 16px 32px;
  }
}

/* Desktop/tablet: sidebar siempre visible y estático */
@media (min-width: 768px) {
  .admin-sidebar {
    position: relative;
    transform: none !important;
    height: auto;
    /* width: auto; */
    box-shadow: none;
    z-index: 1;
  }
}



/*# sourceMappingURL=main.dc2cb37b.css.map*/