body {
  font-size: 14px;
  overflow-x: hidden;
}

img{
  width: 100%;
}

.navbar {
  padding: 0px;
  box-shadow: 0 0px 2px #ababab;
}

.navbar-brand img {
  max-height: 65px;
}

.menu-movil {
  display: none;
}

.address p {
  margin-bottom: 2px;
}

.social-icons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 0 8px;
}

.share-button button {
  padding: 4px 10px;
  border-radius: 3px;
  position: absolute;
  right: 12px;
  margin-top: 3px;
}

.menu-social {
  list-style: none;
  display: inline-flex;
  margin-left: 1px;
}

.menu-social {
  position: fixed;
  bottom: 60px;
  left: auto;
  padding-left: 2px;
  right: 2%;
}

.menu-social a {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  text-align: center;
  font-size: 24px;
  margin: 5px;
  padding: 1px;
}

.social-item {
  margin: 2px;
  color: #ffffff;
}

.wsp-share {
  right: auto;
  left: 5px;
  bottom: 60px;
  z-index: 2;
}

.btn-wsp {
  z-index: 2;
}

.categories {
  background: #ededed;
}

.categories .category-item {
  background-size: cover;
  min-height: 230px;
  background-position: center;
}

.offcanvas {
  min-height: 90vh;
}

#preview-product-prices .price-sale {
  font-size: 22px;
  margin-right: 10px;
}

#preview-product-prices .price-before {
  font-size: 18px;
}

#preview-product-info p {
  margin-bottom: 3px;
}

.btn-whatsapp {
  background: #007d1e;
  padding: 6px 10px;
  color: #fff !important;
  border-radius: 4px;
  border-color: #007d1e;
  appearance: inherit;
}

.btn-whatsapp:hover, .btn-whatsapp:active, .btn-whatsapp:focus-visible {
  background-color: #007d1e !important;
}

.preview-product {
  padding-bottom: 115px;
}

.product-card .card-title {
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.multiple-slide-products, .category-slide-products{
  display: grid;
  grid-template-rows: 1fr;
}

.view-all-products {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  height: 100%;
}

.btn-view-products {
  background: #3c3c3c;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 42px;
  color: #fff;
  border-radius: 50%;
  margin-bottom: 10px;
}

.btn-product {
  font-size: 14px;
}
  
@media (max-width: 991.98px) {
  .offcanvas-collapse {
    z-index: 9;
    position: fixed;
    top: 0; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #fff;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
    box-shadow: -4px 0 120px 70px #00000091;
  }
}
  
.nav-scroller .nav {
  color: rgba(255, 255, 255, .75);
}
  
.nav-scroller .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-scroller .nav-link:hover {
  color: #007bff;
}

.nav-scroller .active {
  font-weight: 500;
  color: #343a40;
}

.bg-purple {
  background-color: #6f42c1;
}

.categories p {
  border: 1px solid #eaeaea;
  border-radius: 0 0 3px 3px;
  font-size: 14px;
  padding: 4px;
  background: #fff;
  width: 100%;
  margin-bottom: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

footer {
  padding-bottom: 20px;
  margin-bottom: 0;
}

.footer-copywriter {
  text-decoration: none;
}

.price-before {
  font-weight: 700;
  font-size: 14px;
  opacity: 0.7;
}

.price-sale {
  font-weight: 700;
  font-size: 16px;
}

.close-preview {
  position: fixed;
  width: 100%;
  bottom: 0;
}

.accordion-button::after {
  margin-left: 10px;
}

.accordion-button {
  padding-right: 10px;
  padding-left: 10px;
}

/*** preload ****/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* Color de fondo mientras carga */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Asegura que esté por encima de todo */
  opacity: 1;
  transition: opacity 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  pointer-events: none; /* Evita interacción */
}

.product-image .spinner {
  background: #111111ad;
}

.btn-close-preview-product {
  border: 1px solid #000;
  box-shadow: 0 0 2px #818181;
  right: 10px;
  font-weight: 700;
}

.btn-quick-view {
  color: #616161;
  border: 1px solid #e7e7e7;
  border-radius: 0;
  font-size: 11px;
}

.product-view-img {
  background-size: cover;
  background-position: center;
  border: 1px solid #e3e3e3;
  border-radius: 3px;
}

#cart-products {
  flex: 1 1 auto;
  overflow-y: scroll;
  overflow-x: hidden;
}

#cart-products p, .products-cart p {
  margin-bottom: 3px;
}

#cart-products .item-cart, .products-cart .product-item {
  border-bottom: 1px solid #e0e0e0;
}

#cart-products .item-cart del, .products-cart .product-item del {
  font-size: 13px !important;
  margin-left: 8px;
  color: #575757;
}

.empty-cart {
  height: 50vh;
}

.empty-cart .bi-cart3 {
  font-size: 50px;
}

.num_products_cart {
  position: absolute;
  background: #e20000;
  color: #fff !important;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  right: -6px;
  top: -6px;
  font-size: 10px;
}

#totals-cart {
  padding-bottom: 70px;
}

.item-cart .cart_remove, .product-item .remove_item_cart {
  font-size: 14px;
  padding: 4px 7px;
  position: absolute;
  right: 10%;
  top: 40%;
}

.btn-default {
  border: 1px solid #000;
}

.btn_qty {
  background: #fff;
  border: 1px solid #d8d8d8;
  padding: 2px 13px;
}

input[type='text'], input[type='number'], input[type='email'], .form-select {
  height: 45px;
}

.pay-item {
  box-shadow: 0 0 3px #b0b0b0;
  padding: 15px;
}

#search-results p del {
  font-size: 14px;
  color: #999;
}

#search-results p {
  font-size: 15px;
}

#search-results a {
  text-decoration: none;
  color: #393939;
}

.icons-desktop a {
  border: none;
}

.icons-desktop a:hover {
  background: #fff;
  color: #000;
}

.icons-desktop .item i, .icons-desktop a i {
  font-size: 23px;
}

.icons-desktop a .fa-facebook, .icons-desktop a .bi-tiktok {
  font-size: 22px;
}

.variation-item {
  background: #fff;
  min-width: 45px;
  height: 38px;
  width: max-content;
  border: 1px solid rgb(134 134 134 / 27%);
  border-radius: 4px;
  padding: 7px 15px;
  margin-right: 8px;
  text-align: center;
  font-weight: 400;
}

.variation-item.active {
  background: #000;
  color: #fff;
}

/* Estilos para las tarjetas de mensaje */
.message-card {
  border-radius: 1rem; /* Bordes más redondeados */
  border: none;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.success-card {
  box-shadow: 0 0 4px 1px #4caf50 !important;
}

.error-card {
  box-shadow: 0 0 4px 1px #f44336 !important;
}

.message-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 5rem; /* Ajuste para que el círculo no esté tan pegado al borde superior */
  padding-bottom: 0; /* Quitamos el padding inferior del body para la barra de estado */
}

.icon-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2); /* Sombra difuminada */
}

.success-bg {
    background-color: #4CAF50; /* Verde de éxito */
}

.error-bg {
    background-color: #F44336; /* Rojo de error */
}

.icon-large {
    font-size: 4rem; /* Tamaño grande para los íconos */
    line-height: 1;
}

.status-bar {
    width: 100%;
    height: 25px; /* Altura de la barra de estado */
    border-bottom-left-radius: 1rem; /* Bordes redondeados inferiores */
    border-bottom-right-radius: 1rem;
    margin-top: auto; /* Empuja la barra hacia abajo */
}

.success-bar {
  background-color: #4CAF50;
}

.error-bar {
  background-color: #F44336;
}

.message-card h4 {
  font-weight: bold;
  color: #333;
  margin-bottom: 1.5rem; /* Espacio debajo del título */
}

.message-card p.text-muted {
  font-size: 0.9rem;
  margin-top: 0;
}

/* Ajuste para que el contenido no se desborde al posicionar el círculo */
.message-card .card-body {
  position: relative;
  padding-top: 90px; /* Espacio para el círculo que se sale */
}

.product-image-container {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1; 
  overflow: hidden;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* La magia sucede aquí */
}