    .shop-header {
      text-align: left;
      padding: 15px 0px 0px 0px;
      background: transparent;
    }

    .shop-title {
      font-size: 2rem;
      font-weight: bold;
      color: #333;
    }

    .woocommerce-breadcrumb {
      font-size: 0.9rem;
      color: #777;
      margin-top: 10px;
    }

    .main-area {
      display: flex;
      gap: 20px;
      padding: 0px;
      margin-top: 0px;
    }

    .primary-content-area {
      flex: 1;
      background: transparent;
      padding: 0px;
      border-radius: 10px;
      box-shadow: none;
      width: 100%;
      margin-right: 0;
      margin-left: 0;
    }

    .shop-products {
      display: block;
      width: 100%;
    }

    .primary-content-wrap {
      display: flex;
      flex-direction: row;
      gap: 1.25rem;
    }

    .shop-sidebar {
      width: 25%;
    }

    .category-chips {
      display: flex;
      gap: 7px;
      flex-wrap: wrap;
      margin-bottom: 10px;
      max-height: 350px;
      padding: 0rem 1rem;
      overflow-y: auto;
      overflow-x: visible;
      scrollbar-width: thin;
      scrollbar-color: #1f3e77 #f0f0f0;
    }

    @media (min-width: 768px) {
      .category-chips {
        max-height: 500px;
      }
    }

    .category-chip {
      display: flex;
      align-items: center;
      padding: 7px;
      background: #fff;
      border-radius: 50px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      transition: all ease 0.25s;
    }

    .category-chip:hover,
    .category-chip.active {
      color: #ffffff;
      background: #1f3e77;
      transform: scale(1.1);
    }

    .category-chip img {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      margin-right: 10px;
      transition: all ease 0.25s;
    }

    .category-chip:hover img,
    .category-chip.active img {
      transform: scale(1.1);
    }

    .category-chip span {
      font-size: 12px;
    }

    /* Ajax pagination styles */
    .ajax-pagination {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin: 20px 0;
    }

    .ajax-pagination a {
      display: inline-block;
      padding: 8px 12px;
      background: #f1f1f1;
      color: #333;
      text-decoration: none;
      border-radius: 5px;
      transition: all 0.3s ease;
    }

    .ajax-pagination a:hover,
    .ajax-pagination a.current {
      background: #1f3e77;
      color: #fff;
    }

    .ajax-pagination .loading {
      display: inline-block;
      width: 20px;
      height: 20px;
      border: 3px solid rgba(0, 0, 0, 0.1);
      border-radius: 50%;
      border-top-color: #1f3e77;
      animation: spin 1s ease-in-out infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    /* Price Range Slider Styles */
    /* .price-filter {} */

    .price-slider-input-container {
      background: #fff;
      border-radius: 8px;
      padding: 15px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      margin-bottom: 20px;
    }

    .price-filter p {
      font-size: 0.7rem;
      color: #777;
      margin-bottom: 15px;
    }

    .price-input {
      width: 100%;
      display: flex;
      margin: 15px 0;
    }

    .price-input .field {
      display: flex;
      width: 100%;
      height: 40px;
      align-items: center;
    }

    .field input {
      width: 100%;
      height: 100%;
      outline: none;
      font-size: 16px;
      margin-left: 12px;
      border-radius: 5px;
      text-align: center;
      border: 1px solid #ddd;
      -moz-appearance: textfield;
    }

    input[type="number"]::-webkit-outer-spin-button,
    input[type="number"]::-webkit-inner-spin-button {
      -webkit-appearance: none;
    }

    .price-input .separator {
      width: 30px;
      display: flex;
      font-size: 16px;
      align-items: center;
      justify-content: center;
    }

    .slider {
      height: 5px;
      position: relative;
      background: #ddd;
      border-radius: 5px;
      margin-bottom: 20px;
    }

    .slider .progress {
      height: 100%;
      left: 0%;
      right: 50%;
      position: absolute;
      border-radius: 5px;
      background: #1f3e77;
    }

    .range-input {
      position: relative;
      margin-bottom: 30px;
    }

    .range-input input {
      position: absolute;
      width: 100%;
      height: 5px;
      top: -5px;
      background: none;
      pointer-events: none;
      -webkit-appearance: none;
      -moz-appearance: none;
    }

    input[type="range"]::-webkit-slider-thumb {
      height: 17px;
      width: 17px;
      border-radius: 50%;
      background: #1f3e77;
      pointer-events: auto;
      -webkit-appearance: none;
      box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    }

    input[type="range"]::-moz-range-thumb {
      height: 17px;
      width: 17px;
      border: none;
      border-radius: 50%;
      background: #1f3e77;
      pointer-events: auto;
      -moz-appearance: none;
      box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    }

    .filter-button,
    .clear-filters {
      display: block;
      width: 100%;
      padding: 10px;
      background: #1f3e77;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: 500;
      transition: all 0.3s ease;
    }

    .filter-button:hover {
      background: #283b9e;
    }

    .clear-filters {
      background: #f1f1f1;
      color: #333;
    }

    .clear-filters:hover {
      background: #e1e1e1;
    }

    .filter-buttons {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
    }

    .woocommerce-pagination {
      display: none;
    }

    /* Sorting select styles */
    .sorting-container {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 0px;
      padding: 0px 0;
      border-bottom: 1px solid #eee;
    }

    .woocommerce-ordering {
      margin-bottom: 0;
      margin-right: 1rem;
    }

    .woocommerce-ordering select.orderby {
      padding: 8px 12px;
      border: 1px solid #ddd;
      border-radius: 5px;
      background-color: #fff;
      font-size: 14px;
      color: #333;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .woocommerce-ordering select.orderby:focus {
      outline: none;
      border-color: #1f3e77;
      box-shadow: 0 0 5px rgba(30, 45, 125, 0.3);
    }

    /* Skeleton Loader Styles */

    .products-skeleton {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      width: 100%;
      margin: 0 auto;
    }

    .product-skeleton-item {
      background-color: #fff;
      border-radius: 5px;
      overflow: hidden;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      padding-bottom: 10px;
      margin-bottom: 20px;
    }

    .skeleton-image,
    .skeleton-title,
    .skeleton-price,
    .skeleton-button {
      background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
      background-size: 200% 100%;
      animation: shimmer 1.5s infinite;
    }

    .skeleton-image {
      width: 100%;
      height: 305px;
      margin-bottom: 10px;
    }

    .skeleton-title {
      height: 16px;
      width: 80%;
      margin: 0 auto 10px;
      border-radius: 4px;
    }

    .skeleton-price {
      height: 16px;
      width: 40%;
      margin: 0 auto 15px;
      border-radius: 4px;
    }

    .skeleton-button {
      height: 26px;
      width: 60%;
      margin: 0 auto;
      border-radius: 4px;
    }

    .skeleton-rating {
      display: flex;
      justify-content: center;
      margin-bottom: 10px;
    }

    .skeleton-star {
      width: 15px;
      height: 15px;
      margin: 0 2px;
      background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
      background-size: 200% 100%;
      animation: shimmer 1.5s infinite;
      border-radius: 50%;
    }

    @keyframes shimmer {
      0% {
        background-position: -200% 0;
      }

      100% {
        background-position: 200% 0;
      }
    }

    .products-skeleton {
      display: flex;
      flex-wrap: wrap;
      gap: 2%;
      justify-content: space-between;
    }

    .product-skeleton-item {
      width: 30%;
    }

    .thunk-list-grid-switcher,
    form.woocommerce-ordering:nth-child(2),
    .woocommerce-result-count {
      display: none;
    }

    .woocommerce-ordering::after {
      margin-bottom: 0px;
      padding-bottom: 0px;
    }

    .woocommerce .woocommerce-result-count {
      margin-bottom: 0px;
    }

    /* Para navegadores basados en Webkit (Chrome, Edge, Safari) */
    .category-chips::-webkit-scrollbar {
      width: 8px;
    }

    .category-chips::-webkit-scrollbar-track {
      background: #f0f0f0;
      border-radius: 10px;
    }

    .category-chips::-webkit-scrollbar-thumb {
      background: #1f3e77;
      border-radius: 10px;
    }

    .category-chips::-webkit-scrollbar-thumb:hover {
      background: #162261;
    }

    /* Improved Responsive Styles */
    /* Mobile first approach */
    .shop-title {
      font-size: 1.5rem;
    }

    .primary-content-wrap {
      flex-direction: column-reverse;
    }

    .shop-products,
    .shop-sidebar {
      width: 100%;
    }

    .shop-sidebar {
      margin-bottom: 20px;
    }

    .filter-buttons {
      flex-direction: column;
      gap: 10px;
    }

    .products-skeleton {
      grid-template-columns: 1fr;
    }

    .product-skeleton-item {
      width: 100%;
    }

    .category-chip {
      font-size: 12px;
      padding: 5px 10px;
    }

    .category-chip img {
      width: 25px;
      height: 25px;
      margin-right: 5px;
    }

    .category-chip span {
      font-size: 10px;
    }

    /* Tablet */
    @media (min-width: 576px) {
      .shop-title {
        font-size: 1.8rem;
      }

      .products-skeleton {
        grid-template-columns: repeat(2, 1fr);
      }

      .product-skeleton-item {
        width: 48%;
      }

      .filter-buttons {
        flex-direction: row;
      }

      .category-chip {
        padding: 6px;
      }

      .category-chip img {
        width: 28px;
        height: 28px;
        margin-right: 8px;
      }

      .category-chip span {
        font-size: 11px;
      }
    }

    /* Larger tablets and small desktops */
    @media (min-width: 768px) {
      .shop-title {
        font-size: 2rem;
      }

      .primary-content-wrap {
        flex-direction: row;
      }

      .shop-products {
        width: 100%;
      }

      .shop-sidebar {
        width: 30%;
        margin-bottom: 0;
      }

      .products-skeleton {
        grid-template-columns: repeat(2, 1fr);
      }

      .product-skeleton-item {
        width: 48%;
      }

      .category-chip {
        padding: 7px;
      }

      .category-chip img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
      }

      .category-chip span {
        font-size: 12px;
      }
    }

    /* Desktops */
    @media (min-width: 992px) {
      .products-skeleton {
        grid-template-columns: repeat(3, 1fr);
      }

      .product-skeleton-item {
        width: 32%;
      }

      .shop-products {
        width: 100%;
      }

      .shop-sidebar {
        width: 25%;
      }
    }

    /* Large desktops */
    @media (min-width: 1200px) {
      .products-skeleton {
        grid-template-columns: repeat(4, 1fr);
      }

      .product-skeleton-item {
        width: 23.5%;
      }
    }

    /* Mobile menu toggle for filters on small screens */
    .filter-toggle {
      display: none;
      width: 100%;
      padding: 10px;
      background: #1f3e77;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: 500;
      text-align: center;
      margin-bottom: 15px;
    }

    @media (max-width: 767px) {
      .filter-toggle {
        display: block;
      }

      .shop-sidebar {
        display: none;
      }

      .shop-sidebar.active {
        display: block;
      }
    }

    /* Estilos existentes se mantienen */

    /* Modificaciones para el filtro superpuesto */
    @media (max-width: 767px) {

      /* Contenedor principal para posicionamiento relativo */
      .main-area {
        position: relative;
        overflow-x: hidden;
        /* Evita scroll horizontal durante la transición */
      }

      /* Panel lateral de filtros */
      .shop-sidebar {
        position: fixed;
        top: 0;
        right: -85%;
        /* Comienza fuera de la pantalla */
        width: 80% !important;
        /* Ancho fijo del panel */
        height: 100vh;
        background: #f4f4f4;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 20px;
        overflow-y: auto;
        transition: right 0.3s ease-in-out;
      }

      .shop-sidebar.active {
        right: 0;
        /* Se mueve a la posición visible */
      }

      /* Overlay de fondo oscuro cuando el filtro está activo */
      .filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
      }

      .filter-overlay.active {
        display: block;
        opacity: 1;
      }

      /* Botón para cerrar el panel */
      .close-filter {
        position: absolute;
        top: 10px;
        right: 10px;
        background: none;
        border: none;
        font-size: 24px;
        color: #1f3e77;
        cursor: pointer;
        z-index: 1001;
      }

      /* Espacio para el botón de cerrar */
      .shop-sidebar .filter-buttons {
        margin-top: 40px;
      }
    }

    @media screen and (max-width: 992px) {

      .wc-related-upsell-columns-4 .related ul.products,
      .wc-related-upsell-columns-4 .up-sells ul.products,
      .woocommerce .wc-columns-container.wc-columns-4 .products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      }
    }

    @media screen and (max-width: 768px) {

      .wc-related-upsell-columns-4 .related ul.products,
      .wc-related-upsell-columns-4 .up-sells ul.products,
      .woocommerce .wc-columns-container.wc-columns-4 .products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      }
    }

    @media (min-width: 768px) {
      .close-filter {
        display: none
      }
    }

    @media screen and (max-width: 452px) {

      .wc-related-upsell-columns-4 .related ul.products,
      .wc-related-upsell-columns-4 .up-sells ul.products,
      .woocommerce .wc-columns-container.wc-columns-4 .products {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
      }
    }

    .sorting-container,
    .woocommerce .woocommerce-result-count {
      margin-bottom: 20px;
    }

    .woocommerce .woocommerce-ordering {
      margin-bottom: 0px;
      margin-right: 1rem;
    }

    #shop-product-wrap ul.products {
      padding-top: 0px;
    }

    .woocommerce-ordering select.orderby {
      height: 36px;
    }





    /* Filter button styles */
    .filter-toggle {
      padding: 10px 15px;
      background-color: #4a4a4a;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-block;
    }

    /* Filter button styles */
    .open-filter-button {
      background: #1f3e77;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: 500;
      transition: all 0.3s ease;
      display: inline-block;
      padding: 11px 55px;
    }

    /* Floating button for mobile */
    @media (max-width: 767px) {
      .filter-toggle {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        font-size: 24px;
      }

      .filter-toggle::before {
        content: "\f0b0";
        /* FontAwesome filter icon code */
        font-family: "FontAwesome";
      }

      .filter-toggle span {
        display: none;
      }
    }

    /* Dynamic sidebar */
    .shop-sidebar {
      position: fixed;
      top: 0;
      right: -350px;
      width: 350px;
      height: 100vh;
      background: #f4f4f4;
      padding: 20px;
      overflow-y: auto;
      z-index: 9999;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
      transition: right 0.3s ease;
    }

    .shop-sidebar.active {
      right: 0;
    }

    .filter-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 9998;
      display: none;
    }

    .filter-overlay.active {
      display: block;
    }

    .close-filter {
      position: absolute;
      top: 10px;
      right: 10px;
      background: transparent;
      border: none;
      font-size: 24px;
      cursor: pointer;
    }

    /* Responsive for smaller screens */
    @media (max-width: 480px) {
      .shop-sidebar {
        width: 100%;
      }
    }

    .attribute-filter {
      margin-bottom: 10px;
    }

    .attribute-filter-title {
      font-size: 0.9rem;
      font-weight: lighter;
      margin-bottom: 0.2rem;
      color: black;
      letter-spacing: 0px;
    }