/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.rab-expand, .rab-collapse {
  cursor: pointer;
  margin: 0px;
  user-select: none;
}

.rab-extra {
  overflow: hidden;
  margin: 10px 0!important;
  height: 0;
  transition: all 0.3s;
}

/* Contenedor exterior del carrusel */
.sibling-categories-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0 20px;
    overflow: visible;
}

h4.sibling-category-title {
    height: 80px;
}

/* Carrusel interno (scroll) */
.sibling-categories-carousel-inner {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0px;
    -webkit-overflow-scrolling: touch;
    /* Quitar scrollbars */
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow: hidden;
    width: 100%;
    /*justify-content: center;*/
}

.sibling-categories-carousel-inner::-webkit-scrollbar {
    display: none;
}

/* Cada slide (item) */
.sibling-category-slide{
    --ancho-slide: 4;
}

@media screen and (max-width: 1079px) {
    .sibling-category-slide {
        --ancho-slide: 3;
    }
}

@media screen and (max-width: 767px) {
    .sibling-category-slide {
        --ancho-slide: 2;
    }
}

@media screen and (max-width: 425px) {
    .sibling-category-slide {
        --ancho-slide: 1;
    }
}

.sibling-category-slide {
    box-sizing: border-box;
    width: calc((100% - 3 * 20px) / var(--ancho-slide));
    min-width: calc((100% - 3 * 20px) / var(--ancho-slide));
    flex-shrink: 0;
    text-align: center;
    background: var(--awb-color3, #f0f0f0);
    border-radius: 15px;
    height: stretch;
    min-height: 335px;
    justify-content: space-between;
    align-items: center;
    display: flex;
    flex-direction: column;
}

/* Título */
.sibling-category-title {
    min-height: 35px;
    font-size: 22px !important;
    line-height: 1 !important;
    width: 100%;
    padding: 17px 10px 20px;
    background: var(--awb-custom_color_1);
    border-radius: 0 0 15px 15px;
}

/* Imagen destacada */
.sibling-category-thumb {
    display: block;
    width: 100%;
    height: 100%;
    padding: 20px 20px 43px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-content: center;
    flex-wrap: wrap;
}

.sibling-category-thumb img {
    max-width: 100%;
    height: auto;
}

/* Flechas */
.sibling-carousel-prev,
.sibling-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: 'icomoon'!important;
}

.sibling-carousel-prev:hover,
.sibling-carousel-next:hover {
    opacity: 1;
}

.sibling-carousel-prev {
    left: -20px;
}

.sibling-carousel-prev::before {
    content: "\ea901";
    color: #002e6d;
}

.sibling-carousel-next {
    right: -20px;
}

.sibling-carousel-next::before {
    content: "\ea900";
    color: #002e6d;
}

.sibling-carousel-prev:hover::before,
.sibling-carousel-next:hover::before {
    color: var(--awb-color4);
}


