/* Logo MYBODY */
/* Logo MYBODY - mismo tamaño para MY y BODY, círculo cubre bien */
.logo-default,
.logo-dark {
  font-size: 1.7rem !important;
  /* Más chico */
  letter-spacing: 0.02em !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.my-circle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #CA0027 !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 2em !important;
  height: 2em !important;
  line-height: 2em !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 1em !important;
  margin-right: 0.15em !important;
  vertical-align: middle !important;
  letter-spacing: 0.02em !important;
}

#logo {
  display: flex !important;
  align-items: center !important;

}

button.btn:not(.btn-creative):not(.btn-slide).btn-sm, .btn:not(.close):not(.mfp-close):not(.btn-creative):not(.btn-slide).btn-sm, a.btn:not([href]):not([tabindex]):not(.btn-creative):not(.btn-slide).btn-sm {
    font-size: 11px;
    height: auto;
    line-height: 28px;
    padding: 0 12px;
}

.site-subheader-alert {
  background-color: #f8f8f8 !important;
  padding: 20px !important;
  border-radius: 5px !important;
  text-align: center !important;
  margin-bottom: 20px !important;
}


/* Tamaño fijo para la tarjeta y la imagen */
.product-image {
  width: 100% !important;
  height: 240px !important;
  /* Ajusta la altura según tu preferencia */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8f8f800 !important;
  position: relative !important;
  overflow: hidden !important;
}

.product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  /* Usa 'contain' si prefieres que no recorte nada */
  object-position: center !important;
  display: block !important;
}

.product .product-new {
  background: #CA0027;
  font-weight: 800;
  font-size: 1rem;
}

.product-overlay {
  background: rgba(234, 234, 234, 0.8);
  /* Rojo con opacidad */
}

.product-overlay a {
  background-color: #ca0027 !important;
}

.product-overlay a,
.product-overlay a:visited {
  color: #fff !important;
}

.product-overlay a:hover,
.product-overlay a:active,
.product-overlay a:focus {
  color: #fff !important;
  text-decoration: underline;
  /* Opcional, si quieres subrayado en hover */
}

.product-description .product-title h3.product-title-custom {
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.product-title-custom a:hover {
  color: #CA0027 !important;
}

.product-category {
  font-size: 0.875rem !important;
  font-weight: 500 !important;

  /* Espacio entre título e imagen */
  margin-bottom: 0.5rem !important;
  /* Espacio entre categoría y titulo */
  line-height: 1.1;
  padding: 2px;
  color: rgb(120, 120, 120) !important;
  background-color: #ffffff !important;
  opacity: 1 !important;
  border-radius: 2px;


}

#ver-todos-container .btn.btn-primary {
  background: #CA0027 !important;
  color: #fff !important;
  border: none !important;
  transition: background 0.2s;
}

#ver-todos-container .btn.btn-primary:hover,
#ver-todos-container .btn.btn-primary:focus {
  background: #90001a !important;
  color: #fff !important;
}

/* Contacto - Boton Email */
.btn-mail-contact {
  color: rgb(59, 59, 59) !important;
  background-color: #fff !important;
  border: 2px solid #d2d2d2 !important;
  border-radius: 24px !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.18s, color 0.18s, border 0.18s;
}

.btn-mail-contact:hover {
  color: #fff !important;
  background-color: #4c9fb1 !important;
  border-color: #4c9fb1 !important;
}

/* Contacto - Botones restantes */
.btn-instagram-contact {
  color: rgb(59, 59, 59) !important;
  background-color: #fff !important;
  border: 2px solid #d2d2d2 !important;
  border-radius: 24px !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.btn-instagram-contact:hover {
  color: #fff !important;
  background-color: #CA0027 !important;
  border-color: #CA0027 !important;
}

.btn-phone-contact {
  color: rgb(59, 59, 59) !important;
  background-color: #fff !important;
  border: 2px solid #d2d2d2 !important;
  border-radius: 24px !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.btn-phone-contact:hover {
  color: #fff !important;
  background-color: #226236 !important;
  border-color: #226236 !important;
}

.btn-wapp-contact {
  color: rgb(59, 59, 59) !important;
  background-color: #fff !important;
  border: 2px solid #d2d2d2 !important;
  border-radius: 24px !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.btn-wapp-contact:hover {
  color: #fff !important;
  background-color: #2FBD44 !important;
  border-color: #2FBD44 !important;
}

/* Contacto - Barra address */
address {
  margin-bottom: 0 !important
}

.address-contact {
  margin-bottom: 5px;
  background-color: rgb(255, 255, 255) !important;
  padding: 12px !important;
  border-radius: 5px !important;
 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.address-contact {
  transition: box-shadow 0.18s, border 0.18s;
  border: 2px solid transparent;
}

.address-contact-active {
  border: 2px solid #CA0027 !important;
  box-shadow: 0 4px 16px rgba(202,0,39,0.08);
  background: #fff !important;
}


/* New Shop Portfolio */
#portfolio {
  height: auto !important;
  min-height: 1px;
}

#portfolio.grid-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#portfolio .portfolio-item {
  flex: 1 1 calc(25% - 10px);
  max-width: calc(25% - 10px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
}

#portfolio .portfolio-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  z-index: 2;
}

#portfolio .portfolio-item:hover .portfolio-title h5 {
  color: #CA0027 !important;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}

#portfolio .portfolio-item-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#portfolio .portfolio-image {
  width: 230px;
  height: 230px;
  padding: 20px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  margin: 0 auto 12px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

#portfolio .portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff;
}

#portfolio .portfolio-description {
  width: 100%;
  text-align: center;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 40px;
  /* Ajusta min-height según tu diseño */
}

#portfolio .portfolio-description {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  background: none !important;
  box-shadow: none !important;
  width: 100%;
  margin-top: 10px;
  display: block;
  z-index: auto !important;
  min-height: 0;
  opacity: 1 !important;
  pointer-events: auto !important;
}

#portfolio .portfolio-title {
  text-transform: uppercase ;
  font-size: 1.05rem;
  min-height: 28px;
  margin: 0;
  display: block;
  width: 100%;
  text-align: center;
    min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

#portfolio .portfolio-title h5 {
  font-weight: 600 !important;
}

/* Responsive: 2 columnas en tablet, 1 en mobile */
@media (max-width: 991px) {
  #portfolio .portfolio-item {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}
@media (max-width: 600px) {
  #portfolio .portfolio-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.heading-text.heading-section h2:before {
  background-color: #ca0027
}

/* Delivery Info Section */

.delivery-info-section {
  background-color: rgb(241, 241, 241) !important;
}

.delivery-info-section h3 {
  font-size: 14px !important;
  color: #4e4e4e;
}

.delivery-info-section p {
  font-size: 12px !important;
}

@media screen and (max-width: 768px) {
  .delivery-info-section h3 {
    margin: 0 !important;
  }
  .delivery-info-section p {
    margin: 0 !important;
  }
  
}

.flickity-button:hover {
  background-color: #CA0027 !important;
}



@media (max-width: 768px) {

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.05s, box-shadow 0.3s;
  box-shadow: none;
}

#header.header-scrolled {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}  
 

.body-inner {
    padding-top: 80px !important; /* Ajusta según la altura de tu header */
}

  #header .header-inner #logo,
  #header #header-wrap #logo {
    margin-left: 20px !important;
  }

  .slider-home h2 {
    font-size: 30px !important
  }





  .product-description .product-title h3.product-title-custom {
    font-size: 1rem !important;
    /* Tamaño más pequeño en móviles */
  }

  .product-category {
    font-size: 0.9rem !important;
    /* Tamaño más pequeño en móviles */
  }
}


/* Sidebar Nuevo */
/* Botón flotante */
.categorias-fab {
  position: fixed;
  top: 80px;
  left: 16px;
  z-index: 1200;
  background: #CA0027;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 10px 18px;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.categorias-fab:hover {
  background: #a8001f;
}

/* Off-canvas panel */
.categorias-offcanvas {
  position: fixed;
  top: 80px;
  left: -320px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 1300;
  box-shadow: 2px 0 16px rgba(0,0,0,0.08);
  transition: left 0.3s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
}
.categorias-offcanvas.open {
  left: 0;
}
.categorias-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1299;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.categorias-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 18px 10px 18px;
  border-bottom: 1px solid #eee;
  font-weight: bold;
  font-size: 18px;
}
.offcanvas-header button {
  background: none;
  border: none;
  font-size: 28px;
  color: #CA0027;
  cursor: pointer;
  line-height: 1;
}
.offcanvas-body {
  padding: 18px;
  overflow-y: auto;
  flex: 1;
}

/* Oculta sidebar y muestra botón solo en mobile */
@media (max-width: 991px) {
  #sidebar-categorias {
    display: none !important;
  }
  .categorias-fab {
    display: flex !important;
  }
}
@media (min-width: 992px) {
  .categorias-fab,
  .categorias-offcanvas,
  .categorias-backdrop {
    display: none !important;
  }
  #sidebar-categorias {
    display: block !important;
  }
}

