@media only screen and (max-width: 767px) {
    .icon-menu-mobile svg {
        transform: none;
        position: initial;
    }

    #header .header-nav #menu-icon,
    #header .header-nav #menu-icon .icon-menu-mobile {
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (width: 393px) and (height: 852px) and (-webkit-device-pixel-ratio: 3) {
    .icon-menu-mobile svg {
        transform: none;
        position: initial;
    }

    #header .header-nav #menu-icon,
    #header .header-nav #menu-icon .icon-menu-mobile {
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (width: 430px) and (height: 932px) and (-webkit-device-pixel-ratio: 3) {
    .icon-menu-mobile svg {
        transform: none;
        position: initial;
    }

    #header .header-nav #menu-icon,
    #header .header-nav #menu-icon .icon-menu-mobile {
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (width: 390px) and (height: 844px) and (-webkit-device-pixel-ratio: 3) {
    .icon-menu-mobile svg {
        transform: none;
        position: initial;
    }

    #header .header-nav #menu-icon,
    #header .header-nav #menu-icon .icon-menu-mobile {
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (width: 428px) and (height: 926px) and (-webkit-device-pixel-ratio: 3) {
    .icon-menu-mobile svg {
        transform: none;
        position: initial;
    }

    #header .header-nav #menu-icon,
    #header .header-nav #menu-icon .icon-menu-mobile {
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (width: 375px) and (height: 812px) and (-webkit-device-pixel-ratio: 3) {
    .icon-menu-mobile svg {
        transform: none;
        position: initial;
    }

    #header .header-nav #menu-icon,
    #header .header-nav #menu-icon .icon-menu-mobile {
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (width: 414px) and (height: 896px) and (-webkit-device-pixel-ratio: 2) {
    .icon-menu-mobile svg {
        transform: none;
        position: initial;
    }

    #header .header-nav #menu-icon,
    #header .header-nav #menu-icon .icon-menu-mobile {
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (width: 414px) and (height: 896px) and (-webkit-device-pixel-ratio: 3) {
    .icon-menu-mobile svg {
        transform: none;
        position: initial;
    }

    #header .header-nav #menu-icon,
    #header .header-nav #menu-icon .icon-menu-mobile {
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (width: 375px) and (height: 667px) and (-webkit-device-pixel-ratio: 2) {
    .icon-menu-mobile svg {
        transform: none;
        position: initial;
    }

    #header .header-nav #menu-icon,
    #header .header-nav #menu-icon .icon-menu-mobile {
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
}

/*MOD 13-06-24*/
/*BTN DELETE IMG COTIZADOR*/

#fileCountCotizador {
    margin: 0;
}

#download_files_cotizador {
    margin-bottom: 8%;
}

#files_content {
    display: flex;
    align-items: center;
    gap: 2%;
}

.delete-button-file {
    border: 0;
    background: white;
    color: red;
    font-size: 15px;
}

/*PRICE LIST PRODUCTS*/
#products .product-description .product-title {
    height: max-content;
    margin-bottom: 5%;
}

.product-price-and-shipping {
    margin-bottom: 5%;
}

.product-price-and-shipping .price {
    color: #30383B;
    font-weight: normal;
}

.on-sale-indicator {
    position: absolute;
    top: 0;
    background: red;
    z-index: 99;
    color: white;
    padding: 4%;
}


/* =================================================================
   VARIABLES PARA ETIQUETAS NEW Y OUTLET
   ================================================================= */
:root {
  --badge-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  --badge-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.4);
  --badge-text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  --badge-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --badge-border-radius: 6px;
  --badge-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* =================================================================
   ETIQUETAS NEW Y OUTLET MEJORADAS
   ================================================================= */
.new-indicator {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  background: linear-gradient(45deg, #28a745, #5ec85e);
  color: white;
  padding: 0.5rem 0.875rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  border-radius: var(--badge-border-radius);
  box-shadow: var(--badge-shadow);
  letter-spacing: 1.2px;
  font-family: var(--badge-font-family);
  text-shadow: var(--badge-text-shadow);
  transition: var(--badge-transition);
  z-index: 10;
  user-select: none;
  cursor: default;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
  
  /* Animación de entrada mejorada */
  animation: fadeInBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Efecto de brillo */
  overflow: hidden;
}

.new-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  transition: left 0.6s ease;
}

.new-indicator:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--badge-shadow-hover);
  filter: brightness(1.1);
}

.new-indicator:hover::before {
  left: 100%;
}

.outlet-indicator {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  background: linear-gradient(45deg, #ff0000, #ff6600);
  color: white;
  padding: 0.5rem 0.875rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  border-radius: var(--badge-border-radius);
  box-shadow: var(--badge-shadow);
  letter-spacing: 1.2px;
  font-family: var(--badge-font-family);
  text-shadow: var(--badge-text-shadow);
  transition: var(--badge-transition);
  z-index: 10;
  user-select: none;
  cursor: default;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
  
  /* Animación de entrada mejorada */
  animation: fadeInBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Efecto de brillo */
  overflow: hidden;
}

.outlet-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  transition: left 0.6s ease;
}

.outlet-indicator:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--badge-shadow-hover);
  filter: brightness(1.1);
}

.outlet-indicator:hover::before {
  left: 100%;
}

/* =================================================================
   RESPONSIVE DESIGN MEJORADO
   ================================================================= */
@media (max-width: 1024px) {
  .new-indicator, 
  .outlet-indicator {
    font-size: 0.813rem;
    padding: 7px 12px;
    letter-spacing: 1px;
  }
}

@media (max-width: 768px) {
  .new-indicator, 
  .outlet-indicator {
    font-size: clamp(10px, 2.5vw, 12px);
    padding: clamp(4px, 1.2vw, 6px) clamp(8px, 2vw, 10px);
    top: 0.5rem;
    left: 0.5rem;
    letter-spacing: 0.8px;
    border-radius: 4px;
  }
}

@media (max-width: 480px) {
  .new-indicator, 
  .outlet-indicator {
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
    top: 0.375rem;
    left: 0.375rem;
    letter-spacing: 0.5px;
  }
}

/* =================================================================
   ANIMACIONES MEJORADAS
   ================================================================= */
@keyframes fadeInBounce {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.8);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-2px) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =================================================================
   ESTADOS DE ACCESIBILIDAD
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  .new-indicator,
  .outlet-indicator {
    animation: fadeInSimple 0.3s ease;
    transition: none;
  }
  
  .new-indicator::before,
  .outlet-indicator::before {
    transition: none;
  }
  
  .new-indicator:hover,
  .outlet-indicator:hover {
    transform: none;
  }
}

@keyframes fadeInSimple {
  from { 
    opacity: 0; 
  }
  to { 
    opacity: 1; 
  }
}

/* =================================================================
   MEJORAS DE CONTRASTE PARA ACCESIBILIDAD
   ================================================================= */
@media (prefers-contrast: high) {
  .new-indicator {
    background: #1e7e34;
    border: 2px solid white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }
  
  .outlet-indicator {
    background: #bd2130;
    border: 2px solid white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }
}

/* =================================================================
   UTILIDADES ADICIONALES
   ================================================================= */
.new-indicator[data-pulse="true"],
.outlet-indicator[data-pulse="true"] {
  animation: fadeInBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), 
             pulse 2s ease-in-out 1s infinite;
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1; 
  }
  50% { 
    opacity: 0.7; 
  }
}

/* Variante con esquinas más redondeadas */
.new-indicator.rounded,
.outlet-indicator.rounded {
  border-radius: 12px;
}

/* Variante con tamaño pequeño */
.new-indicator.small,
.outlet-indicator.small {
  font-size: 0.688rem;
  padding: 0.313rem 0.563rem;
  letter-spacing: 0.8px;
}

/* Variante con tamaño grande */
.new-indicator.large,
.outlet-indicator.large {
  font-size: 1rem;
  padding: 0.625rem 1.125rem;
  letter-spacing: 0.094rem;
}
/* Adaptación para pantallas pequeñas */
@media (max-width: 768px) {
  .new-indicator, 
  .outlet-indicator {
    font-size: 2.5vw; /* Un poco más grande en móviles */
    padding: 1.2vw 2vw;
    top: 5px;
    left: 5px;
  }
}
/*FIN DEL CSS DE ETIQUETAS NEW/OUTLET*/




/*=================================================================
ESTO ES PARA LAS DIRECCIONES DENTRO DEL CHECKOUT
=================================================================*/
.collapse-address {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 0;
  opacity: 0;
  visibility: hidden;
}

.collapse-address.expanded {
  max-height: 800px; /* Asegúrate de que sea mayor al contenido esperado */
  padding: 10px 0;
  opacity: 1;
  visibility: visible;
}
/* =================================================================
   FIN DEL CHECKOUT
   ================================================================= */







/*=================================================================
ESTO ES LO DEL INICIAR SESION EN LOS DETALLES DE PRODUCTO SI ERAS GUEST
=================================================================*/
/* Contenedor general */
#login-required-message {
  background-color: #fefefe;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Botón personalizado con Bootstrap base */
#login-required-message .login-btn {
  background-color: #dc3545; /* rojo Bootstrap */
  border-color: #dc3545;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease-in-out;
}

#login-required-message .login-btn:hover {
  background-color: #bb2d3b;
  border-color: #b02a37;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
  text-decoration: none;
}

/* Texto descriptivo */
#login-required-message .login-message {
  font-size: 0.9rem;
  color: #6c757d;
  background-color: #f8f9fa;
  border-left: 4px solid #dc3545;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
}

/* =================================================================
   AQUÍ TERMINA LO DEL LOGIN DEL GUEST
   ================================================================= */

/* =================================================================
   VARIABLES CSS PARA CONSISTENCIA Y MANTENIMIENTO PARA LAS CARDS
   ================================================================= */
:root {
  --product-bg-color: #ffffff;
  --text-primary: #30383b;
  --text-secondary: #232323;
  --text-muted: #48545b;
  --border-color: #d2d2d2;
  --accent-bg: #f7f7f7;
  --border-radius: 0.9375rem; /* 15px */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.3125rem; /* 5px */
  --spacing-md: 0.7rem;
  --spacing-lg: 1.563rem; /* 25px */
  --font-size-sm: 0.75rem; /* 12px */
  --font-size-base: 1rem; /* 15px */
  --transition-base: all 0.3s ease;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* =================================================================
   CONTENEDOR PRINCIPAL DE PRODUCTOS
   ================================================================= */
.thumbnail-container {
  /*position: relative;
  height: auto;
  margin-bottom: var(--spacing-lg);
  overflow: hidden;
  background: var(--product-bg-color);*/
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
}

.thumbnail-container:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Aplicar a todos los contextos de productos */
/*#products .thumbnail-container,
.featured-products .thumbnail-container,
.product-accessories .thumbnail-container,
.product-miniature .thumbnail-container {
  /* Hereda los estilos base
}*/

/* =================================================================
   IMAGEN DEL PRODUCTO
   ================================================================= */
.product-thumbnail {
  position: relative;
  height: calc(100% - 4.375rem);
  overflow: hidden;
  border-radius: 0.5rem 0.5rem 0 0;
}

.product-thumbnail img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail-container:hover .product-thumbnail img {
  transform: scale(1.05);
}

/* =================================================================
   DESCRIPCIÓN DEL PRODUCTO
   ================================================================= */
.product-description {
  position: relative;
  bottom: 0;
  z-index: 3;
  height: auto;
  padding: var(--spacing-xs) var(--spacing-xs) var(--spacing-md);
  overflow: hidden;
  background: var(--product-bg-color);
  border-radius: 0 0 8px 8px;
}

/* =================================================================
   TÍTULO DEL PRODUCTO
   ================================================================= */
/*.product-title {
  height: max-content;
  margin-bottom: 5%;
  text-align: center;
  text-transform: capitalize;
}*/

.product-title a {
 /* font-size: var(--font-size-base);
  color: var(--text-primary);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;*/
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.3s ease;
  display: block;
}

.product-title a:hover {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* =================================================================
   PRECIO Y ENVÍO
   ================================================================= */
.product-price-and-shipping {
  /*font-weight: 700;
  color: var(--text-secondary);
  text-align: center;*/
  margin-top: var(--spacing-sm);
}

.product-price-and-shipping .price {
  color: var(--text-primary);
  font-weight: 400;
  font-size: 0.9rem;
}

.product-price-and-shipping .regular-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.9em;
  margin-right: var(--spacing-sm);
}

/* =================================================================
   COMBINACIONES Y COLORES
   ================================================================= */
.combinations-values {
  /*background-color: var(--accent-bg);*/
  min-height: 5.625rem;
  padding: var(--spacing-sm) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  margin: var(--spacing-sm) 0;
}

.color-container {
  /*width: fit-content !important;
  position: relative !important;
  display: flex !important;
  align-items: center;
  justify-content: center;*/
  margin: 0 auto !important;
  height: 2.5rem !important;
  gap: var(--spacing-sm);
}

.combinations-values .color {
  width: 1.375rem;
  height: 1.375rem;
  display: inline-block;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  position: relative;
  margin: 0.188rem;
  background-position: center !important;
  background-size: cover;
  cursor: pointer;
  transition: var(--transition-base);
}

.combinations-values .color:hover {
  transform: scale(1.1);
  border-color: var(--text-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.combinations-values .color.selected {
  border-width: 2px;
  border-color: var(--text-primary);
  box-shadow: 0 0 0 2px rgba(48, 56, 59, 0.2);
}

/* =================================================================
   INFORMACIÓN DE STOCK
   ================================================================= */
/*.stock-information {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  position: relative;
  padding-bottom: 0.438rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}*/

.stock-information.in-stock {
  color: #28a745;
}

.stock-information.low-stock {
  color: #ffc107;
}

.stock-information.out-of-stock {
  color: #dc3545;
}

/* =================================================================
   RESPONSIVE DESIGN
   ================================================================= */
@media (max-width: 768px) {
  .thumbnail-container {
    margin-bottom: var(--spacing-md);
  }
  
  .product-title a {
    font-size: 0.875rem;
  }
  
  .combinations-values {
    min-height: 70px;
  }
  
  .combinations-values .color {
    width: 1.125rem;
    height: 1.125rem;
  }
}

@media (max-width: 480px) {
  .product-description {
    padding: var(--spacing-xs);
  }
  
  .combinations-values .color {
    width: 1rem;
    height: 1rem;
    margin: 0.125rem;
  }
}

/* =================================================================
   ESTADOS Y ANIMACIONES ADICIONALES
   ================================================================= */
/*.product-miniature:focus-within {
  outline: 0.1px solid var(--text-primary);
  outline-offset: 0.1px;
}*/

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =================================================================
   UTILIDADES ADICIONALES
   ================================================================= */
.product-badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: var(--text-primary);
  color: white;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 4;
}

.product-badge.sale {
  background: #dc3545;
}

.product-badge.new {
  background: #28a745;
}

.color-count-indicator {
  display: inline-block;
  background-color: #999;
  color: #fff;
  font-size: 0.75rem;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  margin-left: 0.313rem;
  font-weight: bold;
}

.category-image {
  width: 2rem;
  vertical-align: middle;
  height: auto;
}
.category-image2 {
  width: 2.25rem;
  vertical-align: middle;
  height: auto;
}