.top-banner {
  background-color: #128812;
}

.promo-title {
  font-weight: 900;
  font-size: 2.125rem;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.title-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight {
  font-family: "Annie Use Your Telescope", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
  background-color: #f75353;
  padding: 0.3rem 0.5rem;
  display: inline-block;
  line-height: 1.2;
}

.promo-subtitle {
  font-family: "Annie Use Your Telescope", cursive;
  font-weight: 400;
  font-style: normal;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.promo-items {
  font-family: "Annie Use Your Telescope", cursive;
  font-weight: 400;
  font-style: normal;
  color: white;
  font-size: 1.2rem;
}

.hr-white-thick {
  border: none;
  height: 10px;
  background-color: white;
  margin: 0.5rem 0;
}

.btn-login {
  text-align: center;
  text-decoration: none;
  border: 0.5px solid white;
  background: transparent;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  width: 90%;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-login:hover {
  background-color: white;
  color: #128812;
}

.btn-cart {
  background-color: #7b2eff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.btn-cart svg {
  fill: white;
}

.search-container {
  min-width: 100%;
}

.search-container .input-group {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-input {
  border: none;
  padding: 5px 16px;
  font-size: 16px;
}

.search-input:focus {
  box-shadow: none;
}

.btn-search {
  width: 15%;
  background: #8646e9;
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.btn-search:hover {
  background: linear-gradient(45deg, #e8590c, #c5303e);
}

nav.bg-light {
  background-color: #ffffff !important;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.nav-item a {
  color: #8646e9 !important;
  /* margin: 0 1rem; */
}

@media (min-width: 968px) {
  .promo-subtitle {
    font-size: 1.2rem;
  }

  .promo-items {
    font-size: 1.2rem;
  }

  .btn-login {
    min-width: 12rem;
  }

  .search-container {
    min-width: 20rem;
  }
}

.text-purple {
  color: #8646e9;
}

.card {
  transition: transform 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  filter: grayscale(100%);
  transition: filter 0.5s ease-in-out;
}

.card:hover img {
  filter: none;
}

.card .position-absolute {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  border-radius: 5px;
}

.annie-use-your-telescope-regular {
  font-family: "Annie Use Your Telescope", cursive;
  font-weight: 400;
  font-style: normal;
}

.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}

.bayon-regular {
  font-family: "Bayon", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.card-title {
  font-size: 0.9rem;
  color: grey;
}

.precio {
  font-size: 1.1rem;
}

.btn-custom-purple {
  font-weight: 0.9rem;
}

.lista-icono-simple {
  list-style-image: url("ruta/a/tu/icono-estrella.svg");
  padding-left: 10px; /* Ajusta el espacio entre el ícono y el texto */
}

.faq-item {
  background: white;
  border: none;
  border-bottom: 1px solid #e9ecef;
  border-radius: 0;
  margin-bottom: 2px;
}

.faq-button {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 20px 25px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-button:hover {
  background-color: #f8f9fa;
}

.faq-button:focus {
  box-shadow: none;
  outline: none;
}

.faq-content {
  padding: 0 25px 20px 25px;
  color: #666;
  line-height: 1.6;
}

.action-btn {
  width: 100%;
  padding: 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.action-btn:hover {
  color: white;
}

.btn-primary-custom {
  background: #8b5cf6;
  color: white;
}

.btn-primary-custom:hover {
  background: #7c3aed;
  transform: translateY(-2px);
}

.btn-secondary-custom {
  background: #1e1b4b;
  color: white;
}

.btn-secondary-custom:hover {
  background: #312e81;
  transform: translateY(-2px);
}

.btn-gray-custom {
  background: #6b7280;
  color: white;
}

.btn-gray-custom:hover {
  background: #4b5563;
  transform: translateY(-2px);
}

#menu_cliente ul {
  padding: 0px;
  display: flex;
}
#menu_cliente li {
  list-style: none;
  border-right: 2px solid #005e9d;
  margin-top: 30px;
  padding: 5px 10px;
}

#menu_cliente_mobile li {
  list-style: none;
  margin-top: 5px;
  padding: 5px 10px;
}

#menu_cliente li:last-child {
  border-right: none;
  padding-right: 0px;
}
#menu_cliente ul li a,
#menu_cliente_mobile ul li a {
  font-size: 19px;
  color: black;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 7px;
  padding-right: 7px;
  display: block;
  text-decoration: none;
  font-weight: bolder;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: transparent !important;
  color: #8646e9;
}

.nav-link,
.nav-link:hover {
  color: #929497;
}

.tab-content {
  border: 0;
  box-shadow: none;
}

#tablaexistencias thead tr th,
#tablaexistencias tbody tr td {
  border: 0;
}

#tablaexistencias thead tr th,
#tablaexistencias tbody tr {
  border-bottom: 1px solid #8646e9;
}

.upload-section {
  /* border: 1px solid #8646e9;
  padding: 2rem;
  margin: 2rem 0; */
}

.vertical-separator-ver_producto {
  border-left: 1px solid #898b8e;
  height: 80%;
}

.upload-btn {
  background-color: #8b5fbf;
  border: none;
  border-radius: 20px;
  color: white;
  padding: 0.6rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.upload-btn:hover {
  background-color: #7a52a8;
  color: white;
}

.upload-btn:focus {
  background-color: #7a52a8;
  color: white;
  box-shadow: 0 0 0 0.2rem rgba(139, 95, 191, 0.25);
}

#fileInput {
  display: none;
}

.precios {
  margin: 0 10rem;
}

.vertical-separator-add-cart {
  border-left: 1px solid #8646e9;
  height: 15dvh;
}

/* Hover effect for "Productos" dropdown link */
.nav-item.dropdown .nav-link.dropdown-toggle:hover {
  color: #6a1b9a !important; /* A slightly darker purple on hover */
  text-decoration: underline;
}

/* Style for the mega-menu itself */
.mega-menu {
  width: 100%;
  left: 0;
  right: 0;
  border: none;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-radius: 0;
}

/* Category links in mega-menu */
.mega-menu .dropdown-item {
  color: #333 !important;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-menu .dropdown-item:hover {
  background-color: #f0f0f0;
  color: #8a2be2 !important;
}

/* Category titles */
.mega-menu h6 {
  font-weight: bold;
}

/* Horizontal rule in mega-menu */
.mega-menu hr {
  border-top: 1px solid #eee;
}

/* Popular categories images */
.mega-menu .col-md-4 img {
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.mega-menu .col-md-4 img:hover {
  transform: scale(1.03);
}

/* Popular categories text */
.mega-menu .col-md-4 p {
  font-weight: bold;
  margin-top: 0.5rem;
}

.category-item {
  position: relative;
  display: flex;
  /* Use flexbox to align the link and the icon */
  align-items: center;
}

.category-item .dropdown-item {
  flex-grow: 1;
  /* Allow the link to take available space */
  min-width: 0;
}

.category-item .category-toggle {
  cursor: pointer;
  margin-left: 5px;
  /* Space between category name and icon */
}

.subcategory-menu {
  display: none;
  /* Hidden by default */
  position: absolute;
  /* Keep absolute positioning relative to .category-item */
  top: 100%;
  /* Position below the parent category */
  left: 0;
  /* Align with the left edge of the parent category */
  background-color: #f9f9f9;
  /* Light background for dropdown */
  width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  /* padding: 10px 0; */
  border-radius: 5px;
}

.category-item:hover .subcategory-menu,
.category-item.show .subcategory-menu {
  display: block;
  /* Show on hover or when 'show' class is added by JS */
}

.subcategory-menu .dropdown-item {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  /* Prevent text wrapping */
  overflow: hidden;
  text-overflow: ellipsis;
}

.subcategory-menu .dropdown-item:hover {
  background-color: #ddd;
}

.color-option {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.color-option:hover,
.color-option.active {
  border-color: #007bff;
  transform: scale(1.1);
}

.color-option.active::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  font-size: 12px;
}

/* counter */
.counter {
  display: flex;
  align-items: center;
  background: white;
  padding: 0;
  width: max-content;
  border: 1px solid #000;
  border-radius: 10px;
}

.counter span {
  display: flex;
  justify-content: center;
  align-items: center;
}

.counter span,
.counter input {
  width: 30px;
  height: 30px;
  font-size: 15px;
  text-align: center;
}

.counter input {
  border-left: none;
  border-right: none;
  background-color: transparent !important;
  padding: 0;
}

.price-filter {
  max-width: 400px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
}

.price-title {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 30px;
  color: #333;
}

.price-range-container {
  position: relative;
  margin-bottom: 30px;
}

.price-range-slider {
  position: relative;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  margin: 20px 0;
}

.price-range-progress {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #a855f7);
  border-radius: 3px;
  position: absolute;
}

.range-input {
  position: absolute;
  width: 100%;
  height: 6px;
  top: 20px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.range-input::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #8b5cf6;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
  pointer-events: auto;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.range-input::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #8b5cf6;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
  pointer-events: auto;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.range-input::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.range-input::-moz-range-track {
  background: none;
}

.price-display {
  font-size: 18px;
  color: #666;
  text-align: left;
  margin-top: 20px;
}

.price-inputs {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.price-input-group {
  flex: 1;
}

.price-input-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-weight: 500;
}

.price-input {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  text-align: center;
  transition: border-color 0.2s ease;
  background: #f8f9fa;
}

.price-input:focus {
  outline: none;
  border-color: #8b5cf6;
  background: white;
}

.separator {
  display: flex;
  align-items: end;
  font-size: 18px;
  color: #666;
  margin-bottom: 10px;
}

.subcategory-menu2 {
  display: none;
  background-color: #f8f9fa;
  border-top: 1px solid #eee;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Mostrar subcategorías cuando está expandido */
.category-item2.expanded .subcategory-menu2 {
  display: block;
  min-height: fit-content;
  width: 100%;
  /* Ajusta según necesites */
}
