/* ----------------------------------------------------------------
                         GLOBAL STYLES WEBPAGE
  ---------------------------------------------------------------- */
.bg_primary_global_page {
  background-color: var(--custom-primary-color) !important;
}

.bg_secondary_global_page {
  background-color: var(--custom-secondary-color) !important;
}

.color_primary_global_page {
  color: var(--custom-primary-color) !important;
}

.color_secondary_global_page {
  color: var(--custom-secondary-color) !important;
}

.border_primary_global_page {
  border: 1px solid var(--custom-primary-color) !important;
}

.border_secondary_global_page {
  border: 1px solid var(--custom-secondary-color) !important;
}

.border_color_primary_global_page {
  border-color: var(--custom-primary-color) !important;
}

.bg_whatsapp_global_page {
  background-color: #1B8755 !important;
}

.color_whatsapp_global_page {
  color: #1B8755 !important;
}

.border_color_whatsapp_global_page {
  border-color: #1B8755 !important;
}


/* texts */

.title-page {
  color: var(--custom-primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  transition: color 0.3s ease;
  display: inline-block;
}

.title-page:hover {
  color: var(----custom-secondary-color);
}

.subtitle-page {
  color: var(--custom-primary-color);
  font-size: 1.3rem;
  /* Mobile first */
  font-weight: 600;
  transition: color 0.3s ease;
}

.subtitle-page:hover {
  color: var(----custom-secondary-color);
}

.text-normal {
  color: var(--custom-primary-color);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.text-normal:hover {
  color: var(----custom-secondary-color);
}

/* Tablets */
@media (min-width: 768px) {
  .title-page {
    font-size: 2.2rem;
  }

  .subtitle-page {
    font-size: 1.6rem;
  }

  .text-normal {
    font-size: 1.1rem;
  }
}

/* Desktops */
@media (min-width: 992px) {
  .title-page {
    font-size: 2.5rem;
  }

  .subtitle-page {
    font-size: 1.8rem;
  }

  .text-normal {
    font-size: 1.15rem;
  }
}

/* Large Desktops */
@media (min-width: 1400px) {
  .title-page {
    font-size: 2.8rem;
  }

  .subtitle-page {
    font-size: 2rem;
  }

  .text-normal {
    font-size: 1.2rem;
  }
}


/* ----------------------------------------------------------------
                         END GLOBAL STYLES WEBPAGE
  ---------------------------------------------------------------- */

/* ----------------------------------------------------------------
                         LOADER
  ---------------------------------------------------------------- */

.section_loader {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.61);
}

.loader {
  position: relative;
  width: 60px;
  height: 60px;
}

.loader .loader_1 {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(0, 0, 0, 0.61);
  border-left-color: transparent;
  border-bottom: none;
  border-radius: 50%;
  animation: loader-1 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
}

.loader .loader_2 {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 4px solid rgb(59, 130, 246);
  border-top-color: transparent;
  border-right: none;
  border-radius: 50%;
  left: calc(50% - 20px);
  top: calc(50% - 20px);
  animation: loader-2 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
}

.show_loader {
  display: flex;
}

@keyframes loader-1 {
  0% {
    transform: rotate(0deg);
  }

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

@keyframes loader-2 {
  0% {
    transform: rotate(0deg);
  }

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

/* ----------------------------------------------------------------
                        END LOADER
  ---------------------------------------------------------------- */


/* ----------------------------------------------------------------
                        NAVBAR
  ---------------------------------------------------------------- */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--custom-primary-color);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.navbar-custom .navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
}

.navbar-custom .navbar-column {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.navbar-custom .navbar-logo {
  font-weight: bold;
  font-size: 1.5rem;
}

.navbar-custom .navbar-logo img {
  width: 45px;
  height: auto;
  object-fit: contain;
}

.navbar-custom .navbar-links {
  display: flex;
  /* agregado */
  gap: 1rem;
}

.navbar-custom .navbar-links a {
  display: inline-block;
  position: relative;
  padding: 0.25rem 0;
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
  font-weight: 600;
}

.navbar-custom .navbar-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

.navbar-custom .navbar-links a:hover::after {
  width: 100%;
}

.navbar-custom .navbar-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.navbar-custom .navbar-dropdown {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  animation: dropdownFade 0.3s ease;
}

.navbar-custom .navbar-dropdown.show {
  display: flex;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .navbar-custom .navbar-links {
    display: none;
  }

  .navbar-custom .navbar-toggle {
    display: block;
  }

  .navbar-custom .navbar-dropdown a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
  }

  .navbar-custom .navbar-dropdown a:hover {
    color: var(--custom-primary-color);
  }
}

/* ----------------------------------------------------------------
                        END NAVBAR
  ---------------------------------------------------------------- */



/* ----------------------------------------------------------------
                        FOOTER
  ---------------------------------------------------------------- */

/* FOOTER */
.footer {
  width: 100%;
  background: var(--custom-primary-color);
  display: block;
}

.inner-footer {
  width: 95%;
  margin: auto;
  padding: 30px 10px;
  display: flex;
  box-sizing: border-box;
  justify-content: center;
}

.footer-items {
  width: 25%;
  padding: 10px 20px;
  box-sizing: border-box;
  color: #fff;
}

.footer-items p {
  font-size: 16px;
  text-align: justify;
  line-height: 25px;
  color: #000000;
}

.footer-items h1 {
  font-weight: bold;
  color: #000000;
}

.footer-items h3 {
  font-weight: bold;
  color: white;
}

.border1 {
  height: 3px;
  width: 60px;
  background: var(----custom-secondary-color);
  color: var(----custom-secondary-color);
  background-color: var(----custom-secondary-color);
  border: 0px;
}

.footer ul {
  list-style: none;
  color: var(----custom-secondary-color);
  font-size: 15px;
  letter-spacing: 0.5px;
}

.footer ul a {
  text-decoration: none;
  outline: none;
  color: var(----custom-secondary-color);
  transition: 0.3s;
}

.footer ul a:hover {
  color: var(----custom-secondary-color);
}

.footer ul li {
  margin: 10px 0;
  height: 25px;
}

.footer li i {
  margin-right: 20px;
}

.social-media {
  width: 100%;
  color: #fff;
  text-align: center;
  font-size: 20px;
}

.social-media a {
  text-decoration: none;
}

.social-media i {
  height: 25px;
  width: 25px;
  margin: 20px 10px;
  padding: 4px;
  color: #fff;
  transition: 0.5s;
}

.social-media i:hover {
  transform: scale(1.5);
}

.footer-bottom {
  padding: 10px;
  background: #00121b;
  color: #fff;
  font-size: 12px;
  text-align: center;
}

/* for tablet mode view */

@media screen and (max-width: 1275px) {
  .footer-items {
    width: 50%;
  }
}

/* for mobile screen view */

@media screen and (max-width: 660px) {
  .footer-items {
    width: 100%;
    text-align: center;
  }

  .inner-footer {
    flex-wrap: wrap;
  }
}


/* ----------------------------------------------------------------
                        END FOOTER
  ---------------------------------------------------------------- */
/* ----------------------------------------------------------------
                        NAV
  ---------------------------------------------------------------- */

#navbar {
  transform: translateY(0);
  opacity: 1;
}

/* Al aparecer */
#navbar.show_hover {
  animation: slideDown 0.6s ease-in-out forwards;
}

/* Al ocultar */
#navbar.hidden_hover {
  animation: slideUp 0.6s ease-in-out forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(-1000%);
    opacity: 0;
  }
}

/* ----------------------------------------------------------------
                        END NAV
  ---------------------------------------------------------------- */

/* ----------------------------------------------------------------
                       PAGINATION
  ---------------------------------------------------------------- */

.custom-pagination-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  user-select: none;
  max-width: fit-content;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: transparent;
  border-radius: 16px;
}

.custom-pagination-1 a {
  text-decoration: none;
  color: var(--custom-primary-color);
  padding: 6px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--custom-primary-color);
  background: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.custom-pagination-1 a:hover:not(.custom-active) {
  background: var(--custom-primary-color);
  color: white;
  border-color: var(--custom-primary-color);
  box-shadow: 0 0 5px var(--custom-primary-color);
}

.custom-active-1 {
  color: white !important;
  background-color: var(--custom-primary-color) !important;
  border-color: var(--custom-primary-color) !important;
  box-shadow: 0 0 8px 1.5px var(--custom-primary-color);
  cursor: default;
  font-weight: 700;
}

.custom-prev-1,
.custom-next-1 {
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 14px;
  border: 1.5px solid var(--custom-primary-color);
  background: transparent;
  color: var(--custom-primary-color);
  transition: all 0.3s ease;
}

.custom-prev-1:hover,
.custom-next-1:hover {
  background: var(--custom-primary-color);
  color: white;
  border-color: var(--custom-primary-color);
  box-shadow: 0 0 5px var(--custom-primary-color);
}

.custom-disabled-1 {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

/* ----------------------------------------------------------------
                      END PAGINATION
---------------------------------------------------------------- */

/* ----------------------------------------------------------------
                        CUSTOM NAV FOOTER
  ---------------------------------------------------------------- */

.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #ddd;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    z-index: 9999;
  }

  .bottom-nav.hide {
    transform: translateY(100%);
  }

  .bottom-nav .nav-item {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.2s;
  }

  .bottom-nav .nav-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 3px;
  }

  .bottom-nav .nav-item.active {
    color: var(--custom-primary-color);
    font-weight: 600;
  }

  .bottom-nav .nav-item.active i {
    color: var(--custom-primary-color);
  }
}

/* ----------------------------------------------------------------
                       END CUSTOM NAV FOOTER
  ---------------------------------------------------------------- */

/* ----------------------------------------------------------------
                        WHATSAPP BUTTON
  ---------------------------------------------------------------- */
.container-whatsapp {
  position: fixed;
  bottom: 10%;
  right: 40px;
}

.container-whatsapp .img-whatsapp {
  width: 50px;
}

.container-whatsapp .notificacion-whatsapp {
  text-align: center;
  width: 28px;
  height: 28px;
  position: absolute;
  top: -25%;
  right: -25%;
  padding: 5px;
  background-color: red;
  border-radius: 100%;
  color: white;
  font-weight: bold;
  font-size: 14px;
  display: none;
}

.container-whatsapp .message-whatsapp {
  position: absolute;
  bottom: 95%;
  right: 30%;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
  color: black;
  border-radius: 5px;
  width: 160px;
  padding: 5px;
  font-weight: 500;
  display: none;
}

/* Caja de agentes con estilo tipo chat */
.container-whatsapp .box-whatsapp-agentes {
  position: absolute;
  bottom: 95%;
  right: 40%;
  width: 270px;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-100%);
  opacity: 0;
  z-index: 99999;
  font-family: 'Segoe UI', sans-serif;
}

/* Animación para mostrar */
.container-whatsapp .box-whatsapp-agentes.show {
  animation: slideDown 0.6s ease-in-out forwards;
}

/* Al ocultar */
.container-whatsapp .box-whatsapp-agentes.hidden_box {
  animation: slideUp 0.6s ease-in-out forwards;
}

/* Header tipo WhatsApp */
.container-whatsapp .box-whatsapp-agentes::before {
  content: "Comunicate con nuestros asesores";
  display: block;
  background-color: #25D366;
  color: white;
  font-weight: bold;
  font-size: 15px;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

/* Cuerpo de agentes */
.container-whatsapp .box-whatsapp-agentes strong {
  display: none;
  /* Lo ocultamos porque usamos el ::before */
}

.box-whatsapp-agentes .asesor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f5f5;
  padding: 8px;
  border-radius: 6px;
  margin: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.box-whatsapp-agentes .info {
  max-width: 60%;
}

.box-whatsapp-agentes .nombre {
  margin: 0;
  font-weight: bold;
  color: #075e54;
}

.box-whatsapp-agentes .numero {
  margin: 2px 0 0;
  font-size: 13px;
  color: #555;
}

.box-whatsapp-agentes .btn-contactar {
  background-color: #25D366;
  color: white;
  padding: 6px 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: background-color 0.3s ease;
}

.box-whatsapp-agentes .btn-contactar:hover {
  background-color: #1ebe5d;
}

/* Animaciones */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

/* ----------------------------------------------------------------
                        WHATSAPP BUTTON
  ---------------------------------------------------------------- */

/* ----------------------------------------------------------------
                        DROPDOWN
  ---------------------------------------------------------------- */

.custom-dropdown {
  position: relative;
  width: 280px;
}

.custom-dropdown__input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  color: #000;
  font-size: .9375rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.custom-dropdown__input:hover,
.custom-dropdown.open .custom-dropdown__input {
  border-color: var(--custom-primary-color);
}

.custom-dropdown__list {
  list-style: none;
  position: absolute;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 6px;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 10;
}

.custom-dropdown__item {
  padding: 8px 12px;
  color: #000;
  font-size: .9375rem;
  cursor: pointer;
  transition: background 0.25s;
}

.custom-dropdown__item:hover {
  background-color: color-mix(in srgb, var(--custom-primary-color) 20%, transparent);
}

.custom-dropdown.open .custom-dropdown__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  border-color: var(--custom-primary-color);
}



/* ----------------------------------------------------------------
                       END DROPDOWN
  ---------------------------------------------------------------- */

/* ----------------------------------------------------------------
                        NOT PRODUCTS
  ---------------------------------------------------------------- */


.estado-vacio-productos-custom {
  background-color: #f4f5f7;
  border: 1px dashed #d0d3d9;
  color: #6c757d;
  text-align: center;
  padding: 40px 20px;
  border-radius: 8px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
  margin: 40px auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.estado-vacio-productos-custom i {
  font-size: 64px;
  color: #b0b4ba;
  margin-bottom: 20px;
  display: inline-block;
}

.estado-vacio-productos-custom h2 {
  font-size: 24px;
  margin: 10px 0;
  color: #5a5e66;
}

.estado-vacio-productos-custom p {
  font-size: 16px;
  color: #7c828a;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .estado-vacio-productos-custom {
    padding: 30px 15px;
  }

  .estado-vacio-productos-custom i {
    font-size: 48px;
  }

  .estado-vacio-productos-custom h2 {
    font-size: 20px;
  }

  .estado-vacio-productos-custom p {
    font-size: 14px;
  }
}

/* ----------------------------------------------------------------
                       END NOT PRODUCTS
  ---------------------------------------------------------------- */

/* ----------------------------------------------------------------
                       NOSOTROS
  ---------------------------------------------------------------- */
.profile-container-custom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-family: Arial, sans-serif;
}

.profile-card-custom {
  background-color: var(--custom-primary-color);
  color: white;
  padding: 2rem;
  text-align: center;
  max-width: 300px;
  border-radius: 10px;
  position: relative;
}

.profile-image-custom {
  width: 120px;
  height: 120px;
  border-radius: 100%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid white;
  margin: auto;
}

.profile-name-custom {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: white;
  font-weight: bold;
}

.profile-description-custom {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: justify;
}

.social-links-custom a {
  color: white;
  margin: 0 0.5rem;
  font-size: 1.2rem;
  text-decoration: none;
}

.profile-about-custom {
  max-width: 500px;
  padding: 1rem;
}

.credit-custom {
  font-size: 0.8rem;
  color: var(--custom-primary-color)
}

.credit-custom a {
  color: var(--custom-primary-color);
  text-decoration: none;
}

.profile-about-custom p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #333;
}

/* Detalles de la tienda */
.detail-store {
  margin-bottom: 2rem;
}

.item-detail-store {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--custom-primary-color);
  padding: 0.5rem 0;
  gap: 1rem;
}

.item-detail-store span:first-child {
  font-weight: bold;
  white-space: nowrap;
}

.item-detail-store span:last-child {
  font-weight: normal;
  flex: 1;
  text-align: right;
}

/* Métodos de pago */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 columnas por defecto */
  gap: 1rem;
  margin-top: 1.5rem;
}

.payment-methods figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  width: 100%;
}

.payment-methods img {
  width: 100%;
  max-width: 100px;
  height: auto;
  border-radius: 4px;
  aspect-ratio: 16 / 16;
}

.payment-methods figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  text-align: center;
}

/* Tablets: 3 por fila */
@media (max-width: 1023px) {
  .payment-methods {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Móviles: 2 por fila */
@media (max-width: 767px) {
  .payment-methods {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .profile-card-custom {
    max-width: 400px;
    width: 100%;
  }
}

/* ----------------------------------------------------------------
                       END NOSOTROS
  ---------------------------------------------------------------- */

/* ----------------------------------------------------------------
                       SEARCH
  ---------------------------------------------------------------- */

.container-search-products {
  width: 100%;
  position: absolute;
  min-height: 40px;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: white;
  z-index: 2000;
  border-radius: 20px;
  padding: .5rem;
  border: solid 1px rgb(189, 189, 189);
  display: none;
}

.container-search-products {
  overflow-y: auto;
  /* Habilita el scroll en Y */
  scrollbar-width: thin;
  /* Hace el scroll más delgado (Firefox) */
  scrollbar-color: rgb(189, 189, 189) transparent;
  /* Color del thumb y track en Firefox */
}

/* Para Chrome, Edge y Safari */
.container-search-products::-webkit-scrollbar {
  width: 6px;
  /* Grosor del scroll */
}

.container-search-products::-webkit-scrollbar-thumb {
  background-color: rgb(189, 189, 189);
  /* Color del scroll */
  border-radius: 4px;
  /* Bordes redondeados */
}

.mi-contenedor::-webkit-scrollbar-track {
  background: transparent;
  /* Hace que el track (fondo) sea transparente */
}

.container-search-products a {
  color: #222 !important;
}

.custom-form-search-products {
  padding: .8rem;
  border-radius: 25px;
  display: inline-block;
  color: black !important;
  width: 400px;
}

.custom-form-search-products:focus,
.custom-form-search-products:active {
  border: none;
  outline: none;
}

.btn-search-products {
  width: auto;
  height: 50px;
  width: 50px;
  background-color: #fffb00;
  color: black;
  display: inline-block;
  border-radius: 100%;
  font-size: 25px;
}

/* ----------------------------------------------------------------
                      END SEARCH
  ---------------------------------------------------------------- */

/* ----------------------------------------------------------------
                       CONFIG STORE 
  ---------------------------------------------------------------- */
.config-store {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.config-store .config-container {
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  margin: auto;
}

.config-store .config-logo {
  width: 120px;
  display: block;
  margin: 0 auto 2rem auto;
}

.config-store .slides {
  position: relative;
  min-height: 300px;
}

.config-store .slide {
  display: none;
  flex-direction: column;
  gap: 1rem;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  position: relative;
}

.config-store .slide.active {
  display: flex;
}

.config-store input[type="text"],
.config-store input[type="email"],
.config-store input[type="file"],
.config-store select {
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  background-repeat: no-repeat;
  background-position: left 10px center;
  background-size: 16px 16px;
  cursor: pointer;
  list-style: none;
  outline: none;
}

.config-store input[type="text"]:focus,
.config-store input[type="email"]:focus,
.config-store select:focus {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 2px #000000;
  outline: none;
}

.config-store select option {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 0.5rem 1rem;
}

.config-store .row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.config-store .color-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.config-store input[type="color"] {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  background: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.config-store input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  vertical-align: middle;
}

.config-store input[type="checkbox"]:hover {
  border-color: rgba(0, 0, 0, 0.7);
}

.config-store input[type="checkbox"]:checked {
  background: #000000;
  border-color: #000000;
  box-shadow: 0 0 8px #000000;
}

.config-store input[type="checkbox"]:checked::after {
  content: "✓";
  color: #ffffff;
  font-weight: bold;
  position: absolute;
  top: -2px;
  left: 5px;
  font-size: 16px;
  user-select: none;
}

.config-store .config-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.config-store .config-navigation button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 10px;
  background: #000000;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  user-select: none;
}

.config-store .config-navigation button:hover {
  background: #333333;
  transform: translateY(-2px);
}

.config-store .config-navigation button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #999999;
  box-shadow: none;
}

.config-store .slide h2 {
  text-align: center;
  font-weight: 700;
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 0.3rem;
  position: relative;
  z-index: 2;
}

.config-store .slide hr {
  width: 60px;
  height: 3px;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  margin: 0 auto 1.5rem auto;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

/* ----------------------------------------------------------------
                      END CONFIG STORE 
  ---------------------------------------------------------------- */


/* STYLES FOR DROPZONE  */
.dropzone-container {
  border: 2px dashed #007bff;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  margin: 10px auto;
  max-width: 600px;
}

.dropzone-container-sm {
  border: 2px dashed #007bff;
  border-radius: 5px;
  text-align: center;
  max-width: 600px;
  min-height: 80px;
  width: 100%;
}

.dropzone-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.dz-preview {
  position: relative;
  width: 150px;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.dz-preview-sm {
  position: relative;
  width: 80px;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.dz-image {
  overflow: hidden;
  border-radius: 5px;
}

.dz-image img {
  object-fit: contain !important;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 16;
}

.dz-remove-button {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 30px;
  height: 30px;
  color: white;
  background-color: #dc3545;
  border: none;
  padding: 5px;
  border-radius: 100%;
  cursor: pointer;
}

.dz-remove-button:hover {
  background-color: #c82333;
}

.primary-image-checkbox {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.dz-filename {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 145px !important;
}

/* END STYLES FOR DROPZONE */

/* table responsive */

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 576px) {
  .table-responsive-sm {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 768px) {
  .table-responsive-md {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 992px) {
  .table-responsive-lg {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 1200px) {
  .table-responsive-xl {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 1400px) {
  .table-responsive-xxl {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* end table responsive */

/* styles for icon attention numbers */

.icon_attention_number {
  background-color: #00000031;
  padding: 5px;
  border-radius: 100%;
  height: 30px;
  width: 30px;
  margin-right: 5px;
}

/* Personaliza la caja principal de Select2 (el contenedor de selección) */

.select2-selection.select2-selection--single {
  height: 39px !important;
  border-color: rgb(226, 232, 240) !important;
  border-radius: 20px !important;
  padding: 8px 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 20px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 5px !important;
  right: 5px !important;
}

/* Cuando el select2 está enfocado (focus) */
.select2-container .select2-selection--single:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* custom styles para los temas */

/* Opciones de colores */
.color-selector {
  display: flex;
  gap: 8px;
}

.color-option {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

/* El indicador de selección */
.color-option span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  transition: 0.3s;
}

/* Ocultar radio buttons */
.color-option input {
  display: none;
}

/* Estilo cuando se selecciona un color */
.color-option input:checked+span {
  border: 1px solid white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.btn_whatsapp {
  background-color: #1B8755 !important;
  border: 1px solid white !important;
}

/* nav hover */
.effect-link-nav {
  position: relative;
  display: inline-block;
  color: white;
  text-decoration: none;
  padding-bottom: 4px;
  font-weight: bold;
}

.effect-link-nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
}

.effect-link-nav:hover::after {
  width: 100%;
  left: 50%;
}

/* Personaliza la caja principal de Select2 (el contenedor de selección) */

.select2-selection.select2-selection--single {
  height: 39px !important;
  border-color: rgb(226, 232, 240) !important;
  border-radius: 20px !important;
  padding: 8px 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 20px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 5px !important;
  right: 5px !important;
}

/* Cuando el select2 está enfocado (focus) */
.select2-container .select2-selection--single:focus,
.select2-container .select2-selection--single:active {
  border-color: #0056b3 !important;
  box-shadow: none !important;
}

/* stylos para el flex de produxctos  */
/* Contenedor flexible para productos */
.contenedor-productos-custom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Tarjeta de producto */
.tarjeta-producto-custom {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Control del ancho por dispositivo */
@media (max-width: 639px) {
  .tarjeta-producto-custom {
    flex: 0 0 calc(50% - 0.5rem);
    /* 2 por fila en móviles */
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .tarjeta-producto-custom {
    flex: 0 0 calc((100% - 2 * 1.25rem) / 3);
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .tarjeta-producto-custom {
    flex: 0 0 calc((100% - 2 * 1.25rem) / 3);
  }
}

@media (min-width: 1440px) {
  .tarjeta-producto-custom {
    flex: 0 0 calc(25% - 0.75rem);
    /* 4 por fila en pantallas grandes */
  }
}

/* card product */
/* Contenedor de tarjeta de producto */
.product-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

/* Imagen y botón de favorito */
.product-image-container {
  position: relative;
}

.favorite-button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  background-color: #fff;
  border-radius: 50%;
  border: 1px solid var(--custom-primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.favorite-button i {
  color: var(--custom-primary-color);
  font-size: 16px;
}

.product-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

.imagen-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem 0.5rem 0 0;
}

.imagen-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease-in-out;
}

.imagen-wrapper:hover img {
  transform: scale(1.05);
}

/* Contenido inferior */
.product-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Título del producto */
.product-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  max-height: calc(1.4em * 2);
  /* máximo 2 líneas */
}

.product-title a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.product-title a:hover {
  color: var(--custom-primary-color);
}

/* Precio */
.product-price {
  font-size: 1rem;
  margin-top: 0.5rem;
  font-weight: bold;
}

.product-price-old {
  text-decoration: line-through;
  color: #888;
  margin-left: 0.5rem;
  font-size: 0.85rem;
}

/* Botones */
.product-buttons {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: .4rem;
}

.add-to-cart {
  flex-grow: 1;
  padding: 6px 8px;
  background-color: #fff;
  border: 1px dashed var(--custom-primary-color);
  color: var(--custom-primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background-color 0.3s, color 0.3s;
}

/* .add-to-cart:hover {
  background-color: var(--custom-primary-color);
  color: #fff;
} */

.add-to-cart i {
  font-size: 16px;
}

/* Grid responsivo para tarjetas */
.contenedor-productos-custom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tarjeta-producto-custom {
  width: 100%;
}

@media (min-width: 480px) {
  .product-title {
    font-size: 0.95rem;
  }

  .product-price {
    font-size: 1.05rem;
  }

  .add-to-cart {
    font-size: 0.95rem;
  }

  .tarjeta-producto-custom {
    width: calc(50% - 0.5rem);
  }

}

@media (min-width: 768px) {
  .product-title {
    font-size: 1rem;
  }

  .product-price {
    font-size: 1.1rem;
  }

  .tarjeta-producto-custom {
    width: calc(33.333% - 0.5rem);
  }
}

@media (min-width: 1024px) {
  .tarjeta-producto-custom {
    width: calc(25% - 0.5rem);
  }
}





/* checkox style */

/* Contenedor que alinea checkbox y texto en línea y centrados verticalmente */
.checkbox-container-custom {
  display: inline-flex;
  align-items: center;
  /* centra verticalmente */
  gap: 8px;
  /* espacio entre checkbox y texto */
  cursor: pointer;
  color: var(--custom-primary-color);
}

/* Ocultar checkbox real */
input[type="checkbox"].checkbox-custom {
  display: none;
}

/* Caja visible del checkbox */
.checkbox-wrapper-custom {
  display: inline-block;
  width: 15px;
  height: 15px;
  position: relative;
  border: 1px solid var(--custom-primary-color);
  border-radius: 4px;
  box-sizing: border-box;
}

/* Check oculto por defecto */
.checkbox-wrapper-custom::after {
  content: "✔";
  font-size: 13px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  color: var(--custom-primary-color);
}

/* Mostrar check cuando está marcado */
input[type="checkbox"].checkbox-custom:checked+.checkbox-wrapper-custom::after {
  display: block;
}

/* Texto label para que se vea natural */
.checkbox-label-custom {
  user-select: none;
  color: black;
  font-weight: 400;
  /* para que no se seleccione al hacer clic */
}

/* custom styles for cofirm order  */

.swal2-confirm-btn-custom {
  background-color: #25D366 !important;
  /* Verde WhatsApp */
  color: white !important;
}

.swal2-cancel-btn-custom {
  background-color: #f27474 !important;
  color: white !important;
}