/*TOP-CART*/
#top-cart #alc__addToCart.cart-icon {
  position: relative;
  top: auto;
  height: auto;
  width: auto;
}
#top-cart #alc__addToCart.cart-icon span#eshopTopCart_totalItems {
  background-color: #003996;
  color: white;
  font-weight: 900;
}
/*DESPLEGABLE CART*/
#alc__cartDrawer .items.cart .title {
  text-align: left;
  font-size: small;
}
#alc__submitForm {
  display: flex !important;
  gap: 2%;
}
#alc__submitForm .pay.panel-cart-action {
  margin: 3px;
  padding: inherit;
  height: auto;
}
#alc__submitForm .pay.panel-cart-action span {
  font-size: small;
  font-weight: 400;
  padding: 3px;
  line-height: 1;
}
#alc__submitForm button.btn-primary {
  background-color: #003996 !important;
  border-color: #003996 !important;
}
#alc__submitForm button.btn-secondary {
  color: #ff007f !important;
  background-color: white !important;
  border-color: #ff007f !important;
}
/*TIPOS DE PRODUCTOS - HOME*/
.alc__cm-contentlist.flex_elements {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
}
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}
.carousel-next {
  right: 10px;
}
/*GRID 2X2*/
.grid .alc__cm-contentlist.flex_elements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1%;
}
.grid .product-desc {
  width: fit-content;
  bottom: 0;
}
.image-container {
position: relative;
width: 100%;
height: 100%;
overflow: hidden; /* Oculta cualquier contenido que se salga del contenedor */
}

.image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out, scale 0.3s ease-in-out;
    object-fit: cover; /* Opcional: asegura que la imagen cubra el contenedor */
}

.image-container:hover img {
    transform: scale(1.2); /* Amplía la imagen al pasar el cursor */
}
img.imgcard {
    aspect-ratio: 1/1;
    object-fit: contain;
}
p {
    color: grey;
}

.container2 {
    width: 100%;
    border: 1px solid #e0dede !important;
    padding: 20px 20px 20px 20px;
    margin-bottom: 70px;
    position: relative;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.tab {
    position: absolute;
    top: -20px;
    left: 20px;
    background-color: #fff;
    padding: 0 10px;
}

.tab-title {
    color: #D0A396;
    font-size: 16px;
}

.description h5 {
    color: #5B392B;
    margin-top: 20px;
    margin-left: 30px;
}

.description p {
    color: gray;
    line-height: 1.6;
    margin-top: 10px;
}

.d-flex color-i:hover {
    color: #D6B49D !important;
    text-decoration: none;
}

.cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10em;
    margin-bottom: 5em;
}

.separator {
    margin-left: 15em;
    margin-right: 15em;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    /* Firefox */
}

input[type="button"].minus,
input[type="button"].plus {
    border: 1px solid #e0dede;
    width: 40px;
    height: 40px;
    background: #f9f9f9;
    text-align: center;
    cursor: pointer;
    margin: 0;
}

input[type="button"].minus {
    border-radius: 5px 0px 0px 5px;
}

input[type="button"].plus {
    border-radius: 0px 5px 5px 0px;
}

input[type="number"].qty {
    width: 40px;
    height: 40px;
    text-align: center;
    text-align: center;
    padding-bottom: 3px;
    border-bottom: 1px solid #e0dede;
    border-top: 1px solid #e0dede;
    border-left: 0px solid #e0dede;
    border-right: 0px solid #e0dede;
    color: #747474;
}

.quantity.buttons_added {
    display: flex;
    align-items: center;
}

p span#price_display {
    font-size: 18px;
    color: #FF6F61;
    font-weight: bold;
}

.btn-card-add-to-cart {
    color: #54473f;
    font-size: 13px;
}

.fa-lg-cart {
    font-size: 20px !important;
}

p,
.text-price {
    font-size: 14px;
}

.product-border {
    height: 6px;
    border-top: 1px solid #e7e6e6;
    border-bottom: 1px solid #e7e6e6;
    margin: 20px 0;
}

.imgcard {
    width: 500px;
    border-radius: 5px;
}

/*SOCIAL*/
.social-share ul {
    list-style: none;
    border-top: 1px solid #e7e6e6;
    border-bottom: 1px solid #e7e6e6;
}

.social-share li {
    width: 25%;
    display: flex;
    padding: 20px 30px;
    align-items: center;
}

.social-share li.facebook,
.social-share li.twitter,
.social-share li.pinterest {
    border-right: 1px solid #e7e6e6;
}

.social-share i,
.social-share a {
    color: #333;
    align-content: center;
}
.social-share .share-text {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.2;
    padding: 0 0 0 10px;
}

@media (max-width: 768px) {
    .social-share li {
        display: block;
        float: left;
        margin: 0 auto;
        border-right: 0 !important;
        border-left: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 50%;
    }
}
.image {
    transition: transform 0.1s ease-in-out;
    object-fit: cover;
}

.col-lg-6 .image:hover {
    width: 100%;
    height: auto;
    transform: scale(1.5);
    transform-origin: center center;
}
/*CARDS*/
.row.prod__wrapperlist {
  display: grid !important;
}
/*cuerpo de tarjeta*/
.product-list-block .product-desc,
.alc__simple-custom-block .product-desc {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  padding: 0.9rem !important;
}
.product-list-block .product-image {
  border: none !important;
}
.product-card {
  position: relative;
  transition: box-shadow 0.1s ease;
  border: 1px solid #ebeaea;
  margin: 10px;
}
.shadow,
.product-card {
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}
.product-card img {
  aspect-ratio: 1/1;
  object-fit: cover;
}
.product-card .full-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  z-index: 1;
}

.product-price-cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.button-main-product {
  height: 100%;
  display: flex;
  width: fit-content;
  align-items: center;
  padding: 0.5rem 1.25rem;
  font-size: 20px !important;
  font-weight: 600 !important;
}
.cart-btn {
  margin-right: 35px;
  display: flex;
  color: #54473f;
  border: none;
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  position: absolute;
  top: 85%;
  right: -5rem;
  z-index: -1;
  transition: all 0.4s ease;
}
.product-card:hover .cart-btn {
  z-index: 0;
  right: -1rem;
}

@media (min-width: 996px) {
  .row.prod__wrapperlist,
  .list-cards .alc__cm-contentlist.flex_elements {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 769px) and (max-width: 995px) {
  .row.prod__wrapperlist,
  .list-cards .alc__cm-contentlist.flex_elements {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .row.prod__wrapperlist,
  .list-cards .alc__cm-contentlist.flex_elements {
    grid-template-columns: repeat(2, 1fr);
  }
}

a .product_card_item:hover{
  color:none !important;
}

body ::selection {
    background: #f1f1f1;
    color: inherit;
    text-shadow: none
}