:root {
    --grey-boder: var(--white1);
    --grey-boder-subcats: #BDBDBD;
}
body {
    overflow-x: hidden;
}

#footer {
    overflow: hidden;
}

section#for_you {
    box-sizing: border-box;
    margin: 0 auto var(--spacing-80x);
}

/* subcategories header */


.subcategories-list span {
    font-weight: 400;
    margin-left: 5px;
}
.grid-category,
.grid.products {
    display: grid;
    column-gap: var(--col-gap);
    transition: all ease 0.4s;
}
.arrows .swiper-button-prev svg{
    transform: rotate(180deg);
}
#wrapper.wb-sticky{
    position: relative;
    z-index: 10;
}

/************************/
/* Titulares */
/************************/


header a {
    color: var(--black1);
}
.main-title {
    font-family: "SF Pro Display";
    text-transform: uppercase;
}

.line-behind {
    position: relative;
    font-size: 120px;
    line-height: 120px;
    margin-bottom: 6rem;
    text-transform: uppercase;
}

#recomendados_category::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 100vw;
    height: 100%;
}

.compensar-container {
    margin: 0 -4rem;
}

.line-behind::after, 
.line-behind::before {
    height: 6px;
}

.button {
    font-weight: 400;
}

.loadMore {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--white);
    border: 2px solid #191819;
    border-radius: 8px;
    font-weight: 400;
    color: var(--black);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease !important;
    cursor: pointer;
    margin: 20px auto;
}

.loadMore:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .loadMore {
        padding: 6px 12px;
        font-size: 13px;
    }
}

#js-product-list {
    margin-bottom: 4rem;
}

.grid-system-items {
    margin: 0 auto;
}

.grid-system-items svg {
    color: var(--grey1);
}

.grid-system-items .active svg {
    color: black;
}

/****************
    Container 
****************/

#wrapper {
    padding-top: 2rem;
    top: unset !important;
}

#wrapper > .container {
    background: var(--white);
}

.is-sticky .content-sticky-header,
.is-sticky .wheel-content {
    width: calc(100% - 8rem);
    margin: auto;
}

.up {
    display: none;
}

.more {
    margin: 0 auto;
}

/*******************************
    sticky header filters
*******************************/

/* .sticky-category-header {
    background: var(--white1);
} */


.js-product-list-top {
    margin: 0;
}
.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}
.sticky-category-header .sort-by {
    display: none;
}

.filterHeader label {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}

.wheel-content {
    overflow: hidden;
}

.is-sticky .wheel-content {
    height: 0;
    transition: 0.4s;
}

.wheel-content > div {
    display: inline-block;
    width: 100%;
}

.subcategories-list li {
    list-style: none;
}

.count-items-header {
    color: var(--colors-green-green-40, #61AF62);
    font-weight: 700;
}

.filter-actions {
    display: flex;
}

.open-filters {
    margin-left: auto;
    display: flex;
    cursor: pointer;
    align-items: center;
    flex-wrap: wrap;
    /* max-width: 200px; */
    justify-content: center;
}
.sticky-category-header .dropdown button {
    padding: 0;
    margin-left: 0.5rem;
    text-transform: lowercase;
    border: none;
    color: var(--colors-green-green-40, #61AF62);
}


#cdpcp-go-to-compare-form {
    display: none;
}
.products-sort-order button {
    display: flex;
    align-items: center;
}
/**************** 
    dropdown 
****************/

.dropdown {
    position: relative;
}

.dropdown-menu {
    opacity: 0;
    pointer-events: none;
}

.target-ready {
    opacity: 1;
    pointer-events: auto;
    height: 0;
    overflow: hidden;
    transition: 0.4s;
    transform-origin: top center;
    position: absolute;
    background: var(--white);
    z-index: 2;
    width: max-content;
    box-shadow: 0px 4px 64px -16px rgba(0, 0, 0, 0.08);
}

.dropdown-menu > a {
    padding: 13px 19.5px 11px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    color: var(--black1);
    line-height: 1rem;
    text-decoration: none;
 }

 .dropdown-menu > a:hover {
    background: var(--grey3);
 }

 .dropdown button {
    position: relative;
 }

.dropdown > svg {
    display: none;
}

.clipped {
    opacity: hidden;
}

/**************** 
    sortby 
****************/

.showing {
    display: none;
}

#amazzing_filter .dropdown {
    display: inline-block;
}

#amazzing_filter .dropdown i {
    left: 0;
    top: 1px;
    border-width: 2px;
    right: unset;
}

#amazzing_filter .dropdown button {
    color: var(--black1);
}

/**************** 
    breadcrumb 
****************/

.breadcrumb {
    grid-column: 1 / 3;
    padding-top: 1rem;
}

body[data-page-id] [data-depth="2"].breadcrumb,
body[data-page-id] [data-depth="2"].breadcrumb, 
body[data-page-id] [data-depth="3"].breadcrumb, 
body[data-page-id] [data-depth="4"].breadcrumb {
    display: block;
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--grey5);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1rem;
}

.breadcrumb svg,
.breadcrumb a {
    text-decoration: none;
    color: var(--black) !important;
}


.breadcrumb li:last-of-type {
    font-weight: 400;
}
/**************** 
    Recomendados 
****************/

#recomendados_category {
    padding-top: 6rem;
    padding-bottom: 6rem;
    position: relative;
    /* z-index: 1; */
}

/**************** 
    Amazing filter 
****************/
.filterHeader {
    display: flex;
    align-items: center;
}
.reset-filters {
    background: var(--white);
}
.block_content {
    position: relative;
    z-index: 1;
}
#p_from,
#p_to {
    display: inline-block;
    aspect-ratio: 3 / 2;
    width: 80px;
    box-sizing: border-box;
    border: 1px solid black;
    border-radius: 8px;
}

.conainer-filter-af.active {
    clip-path: inset(0 0 0 0);
    pointer-events: auto;
}

.conainer-filter-af.is-sticky-af {
    position: fixed;
    align-items: flex-end;
    transform: translateX(0);
}

.is-sticky-af #amazzing_filter {
    transition: height 0.4s;
}
.reset-save {
    display: flex;
    gap: 1rem;
    text-align: center;
    background: var(--white);
}

#amazzing_filter {
    box-sizing: border-box;
    overflow: hidden scroll;
    flex: none;
}
.conainer-filter-af.is-absolute-af {
    position: absolute;
    transform: translateX(0);
}
.conainer-filter-af.is-absolute-af.top {
    top: auto;
}

.conainer-filter-af.is-absolute-af.bottom {
    bottom: auto;
}

.af_filter ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.af_filter .af-parent-category {
    grid-template-columns: repeat(2, 1fr) !important;
}

.af_filter .child-categories {
    grid-template-columns: repeat(1, 1fr) !important;
}
.af_filter label {
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    line-height: 1rem;
}
.af_filter li {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: var(--white);
    box-shadow: 0px 4px 20px -16px rgba(0, 0, 0, 0.04);
}
[data-url="talla"] label,
[data-url="talla-zapatillas"] label {
    justify-content: center;
}
@media (min-width: 1920px) {
    [data-url="size"] ul {
        grid-template-columns: repeat(4, 1fr);
    }
}

[data-url="size"] ul {
    grid-template-columns: repeat(2, 1fr);
}

.af-checkbox-label input {
    display: none;
}

.af_filter .button.white {
    padding: 0 !important;
    min-width: 100px;
    height: fit-content;
    box-sizing: border-box;
}

.af_filter .button.white.active {
    font-weight: 700;
    background: var(--black);
    color: var(--white);
}

.af-checkbox-label .count {
    display: none;
}

.af-inline-colors label {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.af-inline-colors label .af-color-box{
    margin-left: auto;
}

.af-inline-colors li.active label {
    border: 2px solid var(--black1);
    font-weight: 700;
}

[data-url="color"] .name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

[data-url="color"] .color {
    font-size: 0;
    line-height: 0;
    border: 1px solid #BDBDBD;
    width: 24px;
    height: 24px;
    display: inline-block;
    border-radius: 50%;
    margin: -4px 0;
    flex: none;
}

.counter-filters {
    width: 100%;
    display: none;
}

.is-block {
    display: block;
}

.counter-filters .count {
    margin-right: 1.5rem;
    margin-left: 0.5rem;
    display: inline-block;
    color: var(--primary-color);
}

.counter-filters .trigger-open-filter {
    cursor: pointer;
}

.selectedFilters {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;  /* Para Firefox */
    scrollbar-color: #000000 transparent;  /* Para Firefox */
}

.selectedFilters::-webkit-scrollbar {
    height: 2px;  /* Altura de la barra de scroll */
}

.selectedFilters::-webkit-scrollbar-track {
    background: transparent;  /* Color del fondo de la barra */
    border-radius: 10px;
}

.selectedFilters::-webkit-scrollbar-thumb {
    background-color: #000000;  /* Color de la barra */
    border-radius: 10px;  /* Bordes redondeados */
}

.selectedFilters::-webkit-scrollbar-thumb:hover {
    background-color: #333333;  /* Color al hover */
}

.selectedFilters [data-group="color"] {
    font-size: 0;
    line-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.selectedFilters [data-group="color"] a {
    font-size: 1rem;
    line-height: 1.5rem;
    margin-left: 0.75rem;
}

[data-group="color"]::before {
    content: '';
    background: var(--color);
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    border-radius: 50%;
}

#products {
    /* position: relative;
    z-index: 1; */
}

.baseHeight {
    position: relative;
    z-index: 2;

    @media (max-width: 1080px) {
        z-index: 1;
    }
}

.dynamic-loading {
    grid-column-start: 1;
    grid-column-end: 3;
}


.conainer-filter-af {
    grid-column: 2;
    grid-row: 1;
}

.af.dynamic-loading.prev {
    grid-column: 1/3;
    grid-row: 1;
}

.af.dynamic-loading.prev ~ .conainer-filter-af {
    grid-row: 2;
}

.af_filter {
    display: inline-block;
    width: 100%;
}

.af-slider .back-bar {
    height: 2px;
}

.af-slider .selected-bar {
    background: var(--black);
}

.af-slider .pointer {
    background: var(--white);
    border-color: var(--black);
    border-width: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.af_filter[data-url="talla"] ul span { 
    text-align: center;
}

.af_subtitle .counter {
    margin-left: 5px;
    font-weight: 700;
}

.af_subtitle {
    font-weight: 400;
}

.af_subtitle.toggle-content:before {
    border: none;
    background: var(--black1);
    width: 18px;
    height: 2px;
    transform: none;
    margin: 0;
}
.closed .af_subtitle.toggle-content::before {
    margin: 0;
}
.toggle-content::after {
    content: '';
    background: var(--black1);
    position: absolute;
    right: 11px;
    top: 50%;
    height: 0;
    width: 1px;
    transform: translateY(-50%);
    transition: 0.3s;
}

.closed .toggle-content::after {
    height: 18px;
}


.reset-save a {
    width: 100% !important;
    /* text-align: center; */
}
.mobile-af {
    position: sticky;
    top: 0;
    z-index: 2;
}
.selectedFilters {
    display: flex;
}
.hidden {
    display: none;
}

/* seleted filters */

.selectedFilters a {
    text-decoration: none;
    color: var(--black1);
}
.selectedFilters .selected-filters-label {
    display: none;
}

.selectedFilters > div {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--white);
    border: 2px solid #191819;
    border-radius: 8px;
    gap: 1rem;
    font-weight: 400;
    color: var(--black);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.selectedFilters .close {
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
    border-radius: 50%;
    opacity: 1;
}

.selectedFilters .cf a::before {
    color: var(--black1);
}

/**************** 
    El universo del basket
****************/

#basket-universe {
    display: flex;
    position: relative;
    z-index: 0;
    background: var(--white);
}

#basket-universe .stick-element {
    display: inline-flex;
    position: sticky;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--background) center center / cover no-repeat;
    background-size: auto;
    background-position: top;
}

#basket-universe .stick-element img {
    width: 100%;
}

.read-more-content {
    overflow: hidden;
}

.open-excerpt {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--white);
    border: 2px solid #191819;
    border-radius: 8px;
    font-weight: 400;
    color: var(--black);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
}

.open-excerpt:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .open-excerpt {
        padding: 6px 12px;
        font-size: 13px;
    }
}

.open-excerpt > svg {
    margin-left: 10px;
    flex: none;
}

.stick-parent {
    width: 45%;
    position: relative;
}

.content-container > svg {
    position: absolute;
    top: 0;
    right: 0;
    height: auto;
}
.big-title,
.big-subtitle,
#basket-universe h1,
#basket-universe h2,
#basket-universe h3,
#basket-universe h4,
#basket-universe h5 {
    text-transform: uppercase;
    font-family: "Round8";
    margin-bottom: var(--spacing-12x) !important;
}
#basket-universe p {
    font-weight: 400;
    margin-bottom: var(--spacing-24x) !important;
}
/**************** 
    Medias
****************/


@media (max-width: 1081px),
(any-hover: none) {
    .is-sticky .wheel-content,
    .is-sticky .content-sticky-header {
        padding: 0 2rem;
        width: 100%;
        box-sizing: border-box;
    }

    .is-sticky .content-sticky-header {
        /* padding: 1rem 2rem; */
    }

    .filter-actions {
        position: fixed;
        z-index: 1;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .conainer-filter-af.active .position-sticky::before {
        content: '';
        position: fixed;
        display: block;
        z-index: -1;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.70);
      }
}

.subcategories-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* margin: 0px 0px 2.5rem; */
}

.subcategory-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--white);
  border: 2px solid #191819;
  border-radius: 8px;
  font-weight: 400;
  color: var(--black);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.subcategory-tag:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.subcategory-tag span {
  margin-left: 8px;
  font-size: 12px;
  color: var(--grey2);
}

.subcategory-tag:hover span {
  color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* .subcategories-tags {
    padding: 0 10px;
  } */
  
  .subcategory-tag {
    padding: 6px 12px;
    font-size: 13px;
  }
}
