@media (max-width: 992px) {
    #category #wrapper {
        margin-top: 85.59px !important;
    }
    #category {
        background-position: right 170px !important;
    }
}

#category {
    background-image: url(https://michalis.es/img/header-category.png);
    background-repeat: no-repeat !important;
    background-size: auto;
    background-position: right 150px;
}

#category #content-wrapper.col-12 {
    padding-right: 0px;
    padding-left: 0px;
}

#category .h1.category-title {
    padding-top: 64px;
}

.filter-title{
	font-family: "Satoshi",sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 32px;
	line-height: 40px;	
	color: #0657A1;
}

#search_filters li label{
	display:flex;
}

.casub-section-categories {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    margin: 0 auto;
}

.casub-section-title {
    width: 100%;
    height: 48px;
    font-family: "Satoshi", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 48px;
    text-align: center;
    color: #020202;
    margin: 0;
}

.casub-title-highlight {
    color: #00A9FF;
}

.casub-content-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    padding: 0px;
    gap: 24px;
    width: 100%;
}

.casub-card-category {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    width: 100%;
    height: auto;
    border-radius: 4px;
    flex-grow: 1;
}

.casub-image-container {
    width: 100%;
    height: auto;
    border-radius: 4px;
    overflow: hidden;
}

.casub-category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.casub-block-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 4px;
    gap: 12px;
    width: 100%;
    height: 48px;
}

.casub-subcategory-name {
    width: 100%;
    height: 24px;
    font-family: "Satoshi", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #020202 !important;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 1440px) {
    .casub-section-categories {
        padding: 60px 0px;
    }
}

@media (max-width: 768px) { 
    .casub-section-title {
        font-size: 32px;
        line-height: 40px;
    }
}

/* Mobile styles based on the new CSS */
@media (max-width: 480px) {
    .casub-section-categories {
        gap: 32px;
        width: 100%;
        height: auto;
    }
    
    .casub-section-title {
        width: 100%;
        height: auto;
        min-height: 80px;
        font-size: 32px;
        line-height: 40px;
    }
    
    .casub-content-cards {
        gap: 16px;
        width: 100%;
        height: auto;
    }
    
}

.facet-title{
	font-family: "Satoshi", sans-serif;
	font-style: normal !important;
	font-weight: 400 !important;
	font-size: 18px !important;
	line-height: 24px !important;
	color: #0657A1 !important;
}

.facet-title a{
	color: #0657A1 !important;
}

.category-sub-title{
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: #6F6F72 !important;
    padding-bottom: 12px;

	padding-left:0 !important;
}

.category-sub-title:before{
	display:none !important;
}

.facet-label a{
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: #020202 !important;
}

#js-product-list-top.products-selection {
    border-top: 0px solid rgba(160, 160, 160, .25);
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
        margin-bottom: 30px;

}

#js-product-list-top .row {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0px;
    gap: 24px;
    width: 100%;
    height: 64px;
}

/* Results text styling */
#js-product-list-top .showing {
    font-family: 'Satoshi Variable', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #6F6F72;
    margin: 0 auto;
    max-width: 518px;
}

/* Sorting section styling */
#js-product-list-top .col-left-sort {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

/* Dropdown styling */
#js-product-list-top .form-control-select,
#js-product-list-top .select-title {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    width: 191px;
    height: 40px;
    max-height: 40px;
    background: #FFFFFF;
    border: 1px solid #D2D0D1;
    border-radius: 4px;
    font-family: 'Satoshi Variable', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #6F6F72;
    text-decoration: none;
    position: relative;
    justify-content: space-between;
}

#js-product-list-top .select-title .select-title-name {
    flex-grow: 1;
}

#js-product-list-top .select-title i {
    font-size: 16px;
    color: #6F6F72;
}

/* View switcher styling */
#js-product-list-top .view-switcher {
    display: flex;
    gap: 8px;
}

#js-product-list-top .view-switcher a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
}

#js-product-list-top .view-switcher a.current {
    background-color: #0039B2;
    border-radius: 4px;
}

/* Filter button styling */
#js-product-list-top .filter-button .btn {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    gap: 8px;
    height: 40px;
    border: 1px solid #0657A1;
    border-radius: 4px;
    font-family: 'Satoshi Variable', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #0657A1;
}

/* Tablet styles */
@media (max-width: 992px) {
    #js-product-list-top .row {
        padding: 12px 16px;
    }
    
    #js-product-list-top .col-left-sort:before {
        margin-right: 16px;
    }
    
    #js-product-list-top .form-control-select {
        width: 170px;
    }
}

/* Mobile styles - Based on Figma mobile design */
@media (max-width: 576px) {
    /* Overwrite the main container styles */
    #js-product-list-top.products-selection {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Row container */
    #js-product-list-top .row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px 0px 12px;
        gap: 16px;
        width: 100%;
        height: auto;
        margin: 0;
    }
    
    /* Hide the view switcher on mobile */
    #js-product-list-top .view-switcher {
        display: none;
    }
    
    /* Adjust the column for the content */
    #js-product-list-top .col {
        width: 100%;
        padding: 0;
    }
    
    /* Remove the default label */
    #js-product-list-top .col-left-sort:before {
        content: none;
    }
    
    /* Adjust the sorting column */
    #js-product-list-top .col-left-sort {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        margin: 0;
    }
    
    /* Make the products-sort-order container full width */
    #js-product-list-top .products-sort-order,
    #js-product-list-top .products-sort-nb-dropdown {
        width: 100%;
        margin-bottom: 16px;
    }
    
    /* Adjust the select dropdown for mobile */
    #js-product-list-top .form-control-select,
    #js-product-list-top .select-title {
        width: 100%;
        box-sizing: border-box;
        justify-content: space-between;
    }
    
    /* Style the dropdown options menu for mobile */
    #js-product-list-top .dropdown-menu {
        width: 100%;
        left: 0;
        right: 0;
        box-sizing: border-box;
        border: 1px solid #D2D0D1;
        border-radius: 4px;
        margin-top: 4px;
    }
    
    #js-product-list-top .dropdown-item {
        padding: 12px 16px;
        font-family: 'Satoshi Variable', sans-serif;
        font-size: 14px;
        line-height: 20px;
        color: #6F6F72;
    }
    
    /* Adjust the filter button container */
    #js-product-list-top .facated-toggler {
        width: 100%;
        margin: 0;
    }
    
    /* Adjust the filter button style */
    #js-product-list-top .filter-button {
        width: 100%;
    }
    
    #js-product-list-top .filter-button .btn {
        width: 100%;
        box-sizing: border-box;
        color: #0657A1;
        font-weight: 500;
        text-align: center;
        justify-content: center;
    }
    
    /* Style the showing results text */
    #js-product-list-top .showing {
        width: 100%;
        margin: 0;
        font-size: 14px;
        line-height: 20px;
        color: #6F6F72;
        padding-top: 16px;
    }
    
    /* Change order of elements */
    #js-product-list-top .col-left-sort {
        order: 1;
    }
    
    #js-product-list-top .facated-toggler {
        order: 2;
    }
    
    #js-product-list-top .col:not(.col-left-sort):not(.facated-toggler) {
        order: 3;
    }
}

#search_filters li{
    padding-bottom: 12px;

}

.facete-title{
	margin-bottom:16px;
}

@media (max-width: 767px) {
    .facete-title {
        display: none;
    }
    #category #content-wrapper{
        padding-right: 0px;
        padding-left: 0px;
    }
    
    #category #content-wrapper .products-grid .product-miniature-layout-1 .product-description {
        padding: 0;
    }
}


  /* CSS Base para todos los dispositivos */
.content-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    width: 100%;
    margin: 0 auto;
  }
  
  .category-title-wrapper {
    width: 100%;
    margin-bottom: 0px;
  }
  
  .category-title {
    font-family: 'Satoshi Variable', sans-serif;
    font-style: normal;
    font-weight: 400;
    color: #020202;
    margin: 0;
    padding: 0;
  }
  
  .category-description-top {
    width: 100%;
    margin-bottom: 40px;
  }
  
  .category-description-top .rte-content {
    font-family: 'Satoshi Variable', sans-serif;
    font-style: normal;
    font-weight: 400;
    color: #020202;
  }
  
  /* Estilos para dispositivos móviles (hasta 767px) */
  @media (max-width: 767px) {
    .content-title-wrapper {
      gap: 24px;
    }
    
    .category-title {
      font-size: 40px;
      line-height: 48px;
      overflow: hidden;
    }
    
    .category-description-top .rte-content {
      font-size: 18px;
      line-height: 24px;
      overflow-y: auto;
    }
  }
  
  /* Estilos para tablets (768px - 991px) */
  @media (min-width: 768px) and (max-width: 991px) {
    .content-title-wrapper {
      gap: 28px;
    }
    
    .category-title {
      font-size: 48px;
      line-height: 56px;
    }
    
    .category-description-top {
      max-width: 720px;
    }
    
    .category-description-top .rte-content {
      font-size: 18px;
      line-height: 24px;
    }
  }
  
  /* Estilos para escritorio (992px en adelante) */
  @media (min-width: 992px) {
    .content-title-wrapper {
      gap: 32px;
    }
    
    .category-title {
      font-size: 56px;
      line-height: 64px;
    }

    .category-description-top .rte-content {
      font-size: 18px;
      line-height: 24px;
    }
  }
  
  /* Estilos para asegurar que el contenido no se desborde */
  .content-title-wrapper img,
  .category-description-top img {
    max-width: 100%;
    height: auto;
  }

/* Subcategories */
.subcategory-image:hover + .subcategory-name {
    background-color: #e6f3ff;
    color: #0657A1 !important;
    display: block;
    width: 90%;
    margin: auto;
    border-radius: 4px;
    padding: 12px 0;
}
.subcategory-name {
    transition: all 0.3s ease;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    color: #020202 !important;
    padding: 12px 0;
    display: block;
}
.product-list-subcategories .subcategory-image {
    margin-bottom: 0px !important;
}
.product-list-subcategories .col-6 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}
.product-list-subcategories .row {
    row-gap: 16px !important;
}
@media (max-width: 992px) {
    .product-list-subcategories {
        margin-bottom: 0rem !important;
    }
}

/* Section Ofertas */
#category .home__offers img {
    width: 100%;
}
@media only screen and (min-width: 1920px) {
    .oferta__flash .elementor-widget-container {
        margin: -224px 0px 0px 0px !important;
    }
}

/* Section Destacados */

#category .js-product-miniature-wrapper .product-add-cart {
	    width: 100%;
}
#category .js-product-miniature-wrapper .product-add-cart a.btn {
	    border-radius: 4px;
		width: 100%;
}
.home__slide-productstop .swiper-pagination {
    text-align: left;
}
.home__slide-productstop .swiper-pagination-bullet {
    width: 229.67px; 
    height: 3px !important; 
    border-radius: 2px !important; 
    background-color: #E1F4FF !important; 
    opacity: 1 !important;
}
.home__slide-productstop .swiper-pagination-bullet-active {
    background-color: #0657A1 !important; 
}
.home__slide-productstop .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0px !important;
}
.home__slide-productstop .swiper-button-next {
	margin-right: 0px;
	bottom: 10px;
	position: relative;
	float: right;
	clear: both;
	width: 40px;
	height: 40px;
}
.home__slide-productstop .swiper-button-prev {
	margin-right: 48px;
	bottom: 0px;
	position: relative;
	float: right;
	clear: both;
	width: 40px;
	height: 40px;
}
#category .swiper-button-prev, .swiper-button-next {
    display: flex;
}
#category .swiper-button-next:after, .swiper-button-prev:after {
    font-family: FontAwesome;
    font-size: 16px;
    color: #0657A1;
    border-radius: 4px; 
}
#category .swiper-button-next, .swiper-button-prev {
    opacity: 1;
}
#category .swiper-button-next.swiper-button-disabled, #category .swiper-button-prev.swiper-button-disabled {
    opacity: 1;
    cursor: pointer;
}
@media only screen and (max-width: 767px) {
    .home__slide-productstop .swiper-pagination {
		width: 80%;
	}
	.home__slide-productstop .swiper-pagination-bullet {
        width: 55px; 
    }
	.home__slide-productstop .swiper-arrows-above .swiper-button {
		top: 468px !important;
	}
	.home__slide-productstop .swiper-button-prev, .home__slide-productstop .swiper-button-next {
		width: 40px;
        height: 40px;
	}
	.home__slide-productstop .swiper-arrows-above .swiper-button-prev {
		right: 3rem !Important;
	}
}
@media only screen and (max-width: 390px) {
	.home__slide-productstop .swiper-arrows-above .swiper-button {
		top: 439px !important;
	}
}
/* FIN Section Destacados */

#category .category__novedades .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0px !important;
}
#category .category__novedades .swiper-button-prev, .swiper-button-next, #category .category__novedades .swiper-button-prev, .swiper-button-next {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px;
    gap: 4px;
    width: 32px;
    height: 32px;
    background: #E1F4FF;
    border-radius: 4px;
    flex: none;
    order: 0;
    flex-grow: 0;
}
@media only screen and (max-width: 767px) {
    #category .category__novedades .swiper-button-prev {
        margin-left: 0px;
        margin-right: 48px;
        position: relative;
        float: right;
        clear: both;
        width: 40px;
        height: 40px;
    }
    #category .category__novedades .swiper-button-next {
        margin-right: 0px;
        bottom: 10px;
        position: relative;
        float: right;
        clear: both;
        width: 40px;
        height: 40px;
    }
    #category .category__novedades .swiper-pagination-bullet {
        width: 65.33px;
    }
    #category .category__novedades .swiper-pagination {
        text-align: left;
    }
    .category__btn a {
        width: 100% !important;
    }
}

/* Breadcrumbs */
#wrapper .breadcrumb {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.breadcrumb {
    margin-top: 40px !important;
    margin-bottom: 0px !important;
}
.breadcrumb li span {
    line-height: 20px !important;
    letter-spacing: 0px !important;
    font-size: 14px !important;
}
.breadcrumb li > span {
    color: #0657A1;
    text-decoration: underline;
}

@media (max-width: 992px) {
    #wrapper .breadcrumb {
        padding-top: 32px !important;
    }
    .breadcrumb .col {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }
}

/* Subcategories */
#category .casub-section-categories .casub-content-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}
#category .product-list-subcategories img {
    width: 100%;
}
@media (max-width: 992px) {
    #category .casub-section-categories .casub-content-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}
@media only screen and (max-width: 767px) {
    #category .casub-section-categories .casub-content-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Blog */
#category .simpleblog-posts .simpleblog-posts-column {
    padding-right: 15px;
    padding-left: 15px;
}

#category .category__posts {
    margin-left: -15px;
    margin-right: -15px;
}

/* Product list */
#category #js-product-list .product-availability {
    display: none;
}
#category #js-product-list .products-list .product-title a {
  color: #020202;
}
#category #js-product-list .products-list .product-price {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #020202;
}
#category #js-product-list .product-functional-buttons {
    display: none;
}
#category #js-product-list .product-brand {
    display: none;    
}
#category #js-product-list .product-flag.out_of_stock {
    min-height: 28px;
    background: #F7F7F7;
    border-radius: 4px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #959498;
}