
/* Main Container */
.ekit-shop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Shop Header */
.ekit-shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

/* Product Grid */
.ekit-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* Product Card */


.ekit-product-image:hover {
    display: block;
    padding: 20px;
    text-align: center;
    background: #ffff;

}


.ekit-product-image {
    display: block;
    padding: 20px;
    text-align: center;
    background: rgb(250, 251, 251);
    transition: box-shadow 0.3s ease-in-out;

}

.ekit-product-image img {
    max-width: 100%;
    height: auto;
}

.ekit-product-info {
    padding: 15px;
}

.ekit-product-info h3 {
    font-size: 16px;
    margin: 0 0 10px;
}

.ekit-product-price {
    font-size: 18px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 15px;
}

.ekit-product-actions .button {
    display: block;
    width: 100%;
    text-align: center;
    background: #0066cc;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
}

/* Pagination */
.ekit-shop-pagination {
    margin-top: 40px;
    text-align: center;
}

.ekit-shop-pagination .page-numbers li span, .ekit-shop-pagination .page-numbers a {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    border-radius: 4px;

}

.ekit-shop-pagination .current {
    background: var(--ekit-primary-color_light);
    color: white;
    border-color:var(--ekit-primary-color);
}
.ekit-shop-pagination .page-numbers {
    display: flex;
}


.ekit-shop-pagination .page-numbers li::marker{
    display: none;
    color: transparent;
}


.ekit-shop-pagination .page-numbers li span:hover, .ekit-shop-pagination .page-numbers li a:hover {
    background: var(--ekit-primary-color);
    color: white;
    border-color:var(--ekit-primary-color);
}


/* Responsive */
@media (max-width: 768px) {
    .ekit-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ekit-shop-header {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .ekit-product-grid {
        grid-template-columns: 1fr;
    }
}







/* Horizontal Filters */
/* Vertical Filters Layout */
    .ekit-shop-layout {
        display: flex;
        gap: 30px;
    }

    .ekit-shop-filters-vertical {
        width: 280px;
        flex-shrink: 0;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        padding: 20px;
    }

    .ekit-shop-products {
        flex-grow: 1;
    }

    .ekit-filters-header {
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
        margin-bottom: 20px;
    }

    .ekit-filters-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }

    /* Filter Sections */
    .ekit-filter-section {
        margin-bottom: 25px;
    }

    .ekit-filter-section-header {
        margin-bottom: 12px;
    }

    .ekit-filter-section-header h4 {
        margin: 0;
        font-size: 15px;
        font-weight: 600;
        color: #333;
    }

    .ekit-filter-section-content {
        max-height: 300px;
        overflow-y: auto;
        padding-right: 5px;
    }

    /* Category List */
    .ekit-category-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .ekit-category-item {
        margin-bottom: 8px;
    }

    .ekit-category-item.active {
        font-weight: 600;
    }

    .ekit-category-link {
        display: flex;
        justify-content: space-between;
        color: #333;
        text-decoration: none;
        padding: 6px 0;
        transition: color 0.2s;
    }

    .ekit-category-link:hover {
        color: var(--et_amp-d-2-w);
    }

    .ekit-category-count {
        color: #999;
        font-weight: normal;
    }

    /* Attribute List */
    .ekit-attribute-list {
        list-style: none;
        padding: 0;
        margin: 0;
        
    }

    .ekit-attribute-label {
        white-space: nowrap;
        font-size: 14px;
        line-height: 20px;
        color: rgb(80, 86, 94);
        overflow: hidden;
        text-overflow: ellipsis;

    }

    .ekit-attribute-item {
        margin-bottom: 8px;
        display: flex;
        align-items: center;
    }

    .ekit-attribute-item.active {
        font-weight: 600;
    }

    .ekit-attribute-item label {
        display: flex;
        justify-content: space-between;
        width: 100%;
        cursor: pointer;
        padding: 6px 0;
    }

    .ekit-attribute-checkbox {
        margin-right: 10px;
    }

    .ekit-attribute-count {
        color: #999;
        font-weight: normal;
    }

    /* Price Range */
    .ekit-price-range {
        padding: 10px 0;
    }

    .ekit-price-labels {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
        font-size: 14px;
    }

    /* Filter Actions */
    .ekit-filter-actions {
        display: flex;
        gap: 10px;
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }

    .ekit-filter-button {
        background-color: var(--et_amp-d-2-w);
        color: white;
        border: none;
        padding: 8px 15px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.2s;
    }

    .ekit-filter-button:hover {
        background-color: var(--et_amp-d-2-w-h);
    }

    .ekit-reset-filters {
        color: #666;
        text-decoration: none;
        font-size: 14px;
        display: flex;
        align-items: center;
        transition: color 0.2s;
    }

    .ekit-reset-filters:hover {
        color: var(--et_amp-d-2-w);
    }

    /* Loading state */
    #ekit-products-container.loading {
        opacity: 0.7;
        position: relative;
        min-height: 300px;
    }

    #ekit-products-container.loading:after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 30px;
        height: 30px;
        border: 3px solid #f3f3f3;
        border-top: 3px solid var(--et_amp-d-2-w);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% { transform: translate(-50%, -50%) rotate(0deg); }
        100% { transform: translate(-50%, -50%) rotate(360deg); }
    }

    /* Responsive */
    @media (max-width: 768px) {
        .ekit-shop-layout {
            flex-direction: column;
        }
        
        .ekit-shop-filters-vertical {
            width: 100%;
            margin-bottom: 20px;
        }
    }

    

    .shop-filters-wrapper { padding: 1rem; background-color: #f9f9f9; overflow-x: auto; } .shop-filters { display: flex; gap: 0.5rem; flex-wrap: nowrap; } .filter-pill { padding: 0.5rem 1rem; background: #eee; border: none; border-radius: 50px; font-size: 14px; cursor: pointer; transition: background 0.3s ease; white-space: nowrap; } .filter-pill:hover, 
  


    /* Category Filter Pills */
.shop-filters-wrapper {
    margin-bottom: 15px;
    padding: 15px 0;
}

.shop-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-pill {
    padding: 8px 16px;
    background: #f0f0f0;
    border: none;
    border-radius: 20px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-pill:hover {
    background: #e0e0e0;
}

.filter-pill.active {
    background: var(--et_main-color, #a4004f);
    color: #fff;
}

/* Attribute Filter Pills */
    .attribute-filters-wrapper {
        padding: 0 0 15px;
    }

    .attribute-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .attribute-pill-container {
        position: relative;
    
    }

    
    .attribute-list {
        position: relative;
    
    }

    .attribute-icon {
    color: rgb(128, 136, 147);
    transform: rotateZ(90deg) rotateY(0deg);
    transition: transform 0.4s ease-in-out;
    margin-right: 5px;
     mask: url(https://assets.ecomm.ui.com/_next/static/media/arrowRight.55f1b50e.svg) 50% 50% / contain no-repeat;
    background-color: currentcolor;
    aspect-ratio: 8 / 10;
    height: 10px;
    width: auto;
    
    }

  .attribute-pill-container.open  .attribute-icon {
    transform: rotateZ(90deg) rotateY(180deg);
    
    
    }




    .attribute-pill {
        font-size: 14px;
        display: flex;
        gap: 8px;
        padding: 7px 8px;
        border: 1px solid #eeeff1;
        border-radius: 20px;
        align-items: center;
        background-color: transparent;
        position: relative;
    }

    .attribute-pill:hover {
        background: #e0e0e0;
    }

    .attribute-pill-container.active .attribute-pill {
        background:#fff;
        color: #ee2b2b;
    }

    .attribute-count {
        background: #fff;
        color: var(--et_main-color, #a4004f);
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        line-height: 1;
    }

    /* Attribute Values Dropdown */
    .attribute-values-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
      
        z-index: 100;
        min-width: 200px;
        max-height: 300px;
        overflow-y: auto;

      
        box-shadow: rgba(33, 35, 39, 0.08) 0px 0px 0px 0px, rgba(33, 35, 39, 0.08) 0px 8px 24px 0px;
        background-color: white;
        border-radius: 4px;
        flex-direction: column;
        padding: 8px;
        gap: 12px;
    }

    .attribute-pill-container.open .attribute-values-dropdown {
        display: block;
    }

    .attribute-values-container {
        padding: 10px;
    }

    .attribute-value-item {
        display: flex;
        align-items: center;
        padding: 6px 0;
        cursor: pointer;
    }

    .attribute-value-item input {
        margin-right: 8px;
    }

    .attribute-value-count {
        margin-left: auto;
        color: #777;
        font-size: 12px;
    }

    .attribute-actions {
        display: flex;
        border-top: 1px solid #eee;
        padding: 8px;
        gap: 8px;
    }

    .attribute-actions button {
        flex: 1;
        padding: 6px 12px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 13px;
    }

    .apply-attribute-filter {
        background: #fff;
        color: #fff;
    }

    .cancel-attribute-filter {
        background: #f0f0f0;
        color: #333;
    }

/* Loading state */
#ekit-products-container.loading {
    opacity: 0.7;
    position: relative;
    min-height: 300px;
}

#ekit-products-container.loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--et_main-color, #a4004f);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.attribute-pill-container {
    position: relative;
    padding-bottom: 5px; /* Creates a small buffer zone below the dropdown */
}



/* Ekit pills category */
.tabs-container {
    display: flex;
    row-gap: 8px;
    column-gap: 8px;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0 0 15px;
  }
  
  .tabs-wrapper {
    min-width: 0;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    display: block;
  }
  
  .tabs-background {
    background-color: rgb(246, 246, 248);
    border-radius: 28px;
    overflow: hidden;
    padding: 4px;
    min-width: 80px;
    box-sizing: border-box;
    margin: 0;
  }
  
  .tabs-scroll-container {
    position: relative;
    padding: 0;
    justify-content: flex-start;
    box-sizing: border-box;
    margin: 0;
    background-color: rgb(246, 246, 248);
    border-radius: 28px;
  }
  
  .tabs-scroll-area {
    display: flex;
    row-gap: 4px;
    column-gap: 4px;
    overflow-x: scroll;
    overflow-y: hidden;
    flex-direction: row;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    position: relative;
    flex-wrap: nowrap;
    justify-content: flex-start;
    background-color: rgb(246, 246, 248);
    border-radius: 28px;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
  }
  
  .tabs-scroll-area::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
  }
  
  .tab-item {
    flex-shrink: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    display: block;
  }
  
  .tab-item a {
    background-color: transparent;
    box-sizing: border-box;
    color: rgb(0, 111, 255);
    margin: 0;
    padding: 0;
    display: inline;
    text-decoration: none;
  }
  
  .tab-label {
    cursor: pointer;
    border-radius: 24px;
    padding: 4px 8px;
    line-height: 20px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.65);
    background-color: rgb(246, 246, 248);
    transition: background-color 0.2s ease-in-out;
    box-sizing: border-box;
    margin: 0;
    display: block;
  }
  
  .tab-label.active {
    background-color: rgb(255, 255, 255);
    color: var(--ekit-primary-color);
  }
  
  .scroll-indicator {
    z-index: 10;
    cursor: pointer;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
    transition: opacity 0.2s ease-in-out;
    opacity: 1;
    pointer-events: none;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  .scroll-indicator.left {
    width: 40px;
    left: 0;
    transform: translateY(-50%) rotate(180deg);
  }
  
  .scroll-indicator.right {
    width: 30px;
    right: 0;
  }
  
  .indicator-icon {
    background-color: rgb(144, 144, 144);
    height: 13px;
    width: auto;
    display: block;
  }

  .tab-item.disabled,
.tab-label.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none; /* disables clicks */
}

  
  /* Responsive adjustments */
  @media screen and (max-width: 479px) {
    .tabs-container {
      flex-direction: column;
    }
    
    .tabs-scroll-area {
      flex-direction: column;
      overflow-x: hidden;
      overflow-y: auto;
    }
  }
  
  @media screen and (max-width: 320px) {
    .tabs-container {
      flex-direction: column;
    }
    
    .tabs-scroll-area {
      flex-direction: column;
      overflow-x: hidden;
      overflow-y: auto;
    }
}


/* UI Product Card */



.ui-product-card.product-card {
    display: flex;
    flex-direction: column;
    background-color: #fafbfb;
    border-radius: 4px;
    padding: 16px;
    min-height: 190px;
    justify-content: space-between;

    text-decoration: none;
    transition: box-shadow 0.3s ease-in-out;
  }


  .ui-product-card.product-card:hover {
    box-shadow: rgba(0, 0, 0, 0.06) 0px 0px 1px, rgba(0, 0, 0, 0.12) 0px 12px 48px;
    background-color: rgb(255, 255, 255);
    border-radius: 4px;
    transition: box-shadow 0.3s ease-in-out;
}

.ui-product-card .product-card__top {
    height: 180px;
    width: 180px;
    margin: 0px auto 16px;
    position: relative;
}

.ui-product-card .product-card__image-wrapper img {
    height: 180px;
    width: 180px;
    margin: 0px auto 16px;
    position: relative;
}

.ui-product-card .product-card__actions {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ui-product-card:hover .product-card__actions {
    opacity: 1;
}

.ui-product-card .product-card__actions_wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.actions-item.learn,
.actions-item.compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 86px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.87);
    border-radius: 28px;
    padding: 4px 0px;
    font-size: 14px;
    line-height: 20px;
    color: var(--ekit-primary-color) !important;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
    text-align: center;
}

.ui-product-card .product-card__actions_wrapper .actions-item a {
    color: inherit;
    text-decoration: none;
    padding: 4px 12px;
    display: block;
    width: 100%;
}

.ui-product-card .product-card__actions_wrapper .actions-item:hover {
    background: rgb(246, 246, 248);
}


  .ui-product-card .action {
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
  }
  
  /* .ui-product-card .product-card__content {
    margin-top: 16px;
  } */
  
  .ui-product-card .title {
    font-weight:500;
    font-size: 18px;
  }
  
  .ui-product-card .subtitle {
    font-weight:300;
    font-size: 14px;
    color: #666;
  }
  
  .ui-product-card .description {
    margin-top:8px;
    font-size: 12px;
    line-height: 16px;
    color: rgb(80, 86, 94);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .ui-product-card .features {
    display: flex;
    gap: 12px;
    margin-top: 8px;
  }
  
  .ui-product-card .feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;

background:none;
  }
  
  .ui-product-card .feature img {
    width: 20px;
    height: 20px;
  }
  
  .ui-product-card .product-card__footer {
    display:flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    gap: 8px;
  }
  
  .ui-product-card .price {
   
    color: rgb(80, 86, 94);
    font-size: 16px;
    line-height: 1.22222;
    letter-spacing: -0.36px;
  }
  
  .ui-button {
    font-size:14px;
    background-color: var(--ekit-primary-color);
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
      }

    .ui-button:hover {
    color: rgb(255, 255, 255);
    border-color: rgb(248, 91, 91);
    background-color: rgb(255, 122, 122);
        }


    /* Product card actions - hide by default */
.product-card__actions {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    transform: translateY(10px);
}

.ui-product-card:hover .product-card__actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Style for the action buttons */
.product-card__actions .action {
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.product-card__actions .action:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

/* Ekit Product Tabs */
.group-title {
	display:none;
}


.wc-tabs .et-woocommerce-tab a {
     cursor: pointer !important;
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
    border-image: initial !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    letter-spacing: -0.02em !important;
    background-color: transparent !important;
    border-radius: 0px !important;
    color: rgb(80, 86, 94) !important;
    line-height: 20px !important;
    padding: 8px 12px !important;
    transition: border-color 0.2s, color 0.2s !important;
    border-bottom: 1px solid transparent !important;

}


.wc-tabs .et-woocommerce-tab.active a {
  cursor: pointer !important;
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
    border-image: initial !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    letter-spacing: -0.02em !important;
    background-color: transparent !important;
    border-radius: 0px !important;
    line-height: 20px !important;
    padding: 8px 12px !important;
    transition: border-color 0.2s, color 0.2s !important;
    border-bottom: 1px solid var(--ekit-primary-color) !important;
    color: var(--ekit-primary-color) !important;
    font-weight: bold !important;
}

.ui-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.transition-effect {
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-icon-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .ui-button {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .btn-icon-content::after {
        content: "→";
        margin-left: 5px;
        transition: transform 0.3s ease;
    }
    
    .ui-button:hover .btn-icon-content::after {
        transform: translateX(3px);
    }
}

/* Single product image containment */
.single-product .woocommerce-product-gallery__image a,
.single-product .woocommerce-product-gallery__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: transparent;
    display: block;
}

.single-product .woocommerce-product-gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

/* Thumbnails */
.single-product .flex-control-thumbs li a,
.single-product .flex-control-thumbs li {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: transparent;
}

.single-product .flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

/* Prevent theme image CSS from stretching fixed heights */
.single-product .woocommerce-product-gallery img {
    height: 100% !important;
}

/* Custom shop card image square containment */
.ui-product-card .product-card__image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-product-card .product-card__image-wrapper picture,
.ui-product-card .product-card__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
}