.templaza-ap-archive.list .ap-product-item {
    width: 100% !important;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 24px;
}
.templaza-ap-archive.list .ap-product-item:last-child {
    border-bottom: none;
}
.templaza-ap-archive.list .ap-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
span.ap_switcher_btn.uk-active {
    background: #c00808;
}
span.ap_switcher_btn.uk-active svg{
    color: #fff;
    fill: #fff;
}
span.ap_switcher_btn{
    padding: 10px;
    background: #f5f5f5;
}
.templaza-ap-archive.list .ap-product-image {
    flex: 0 0 140px;
    max-width: 140px;
    margin-right: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    overflow: hidden;
}
.templaza-ap-archive.list .ap-product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}
.templaza-ap-archive.list .ap-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.templaza-ap-archive.list .ap-product-title {
    font-size: 1.2em;
    margin-bottom: 8px;
    font-weight: 600;
}
.templaza-ap-archive.list .ap-product-meta {
    font-size: 0.95em;
    color: #666;
}
@media (max-width: 700px) {
    .templaza-ap-archive.list .ap-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .templaza-ap-archive.list .ap-product-image {
        margin-right: 0;
        margin-bottom: 16px;
        max-width: 100%;
        height: auto;
    }
}
.templaza-ap-archive.list {
    display: block !important;
}
.templaza-ap-archive.list .ap-product-item {
    width: 100% !important;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 24px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.templaza-ap-archive.list .ap-product-item:last-child {
    border-bottom: none;
}
.templaza-ap-archive.list .ap-product-image {
/*     flex: 0 0 140px;
    max-width: 140px;
    margin-right: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    overflow: hidden; */
}
.templaza-ap-archive.list .ap-product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}
.templaza-ap-archive.list .ap-product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.templaza-ap-archive.list .ap-product-title {
    font-size: 1.2em;
    margin-bottom: 8px;
    font-weight: 600;
}
.templaza-ap-archive.list .ap-product-meta {
    font-size: 0.95em;
    color: #666;
}
@media (max-width: 700px) {
    .templaza-ap-archive.list .ap-product-item {
        flex-direction: column;
        align-items: stretch;
    }
    .templaza-ap-archive.list .ap-product-image {
        margin-right: 0;
        margin-bottom: 16px;
        max-width: 100%;
        height: auto;
    }
}
/* List Layout Styles */
.templaza-ap-archive.list {
    display: block !important;
}

.templaza-ap-archive.list .ap-product-item {
    width: 100% !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.templaza-ap-archive.list .ap-product-item:last-child {
    border-bottom: none;
}
.templaza-ap-archive.list .ap-item .ap-inner{
    width: 100%;
}
.templaza-ap-archive.list .ap-item .ap-inner .ap-readmore-box{
    max-width: 200px;
}
.templaza-ap-archive.list .ap-product-image {
    flex: 0 0 30%;
    margin-right: 24px;
    height: auto;
    max-width: 30%;
}

.templaza-ap-archive.list .ap-product-details {
    flex: 1;
}

.templaza-ap-archive.list .ap-product-title {
    font-size: 1.2em;
    margin-bottom: 8px;
}

.templaza-ap-archive.list .ap-product-meta {
    font-size: 0.95em;
    color: #666;
}
/* Search Input Styling */

.ap-search-input {

    width: 100%;

    padding: 10px 12px;

    border: 1px solid #ddd;

    border-radius: 4px;

    font-size: 14px;

    line-height: 1.4;

    color: #333;

    background-color: #fff;

    box-sizing: border-box;

    transition: border-color 0.3s ease;

}

#templaza-row-ap {
    padding: 60px 0;
    position: relative;
}
.ap-filters {
    padding: 30px;
    border: none;
    background: #F0F0F0;
    border-radius: 0;
    box-shadow: none;
}
.ap-filters select:not([multiple]):not([size]) {
    border-color: #ddd;
}
.ap-filters select, .ap-filters input[type="text"], .ap-filters input[type="number"] {
    background-color: #fff !important;
    margin-top: 0;
    height: 50px;
}

.ap-search-input:focus {

    outline: none;

    border-color: #007cba;

    box-shadow: 0 0 0 1px #007cba;

}



.ap-search-input::placeholder {

    color: #999;

    opacity: 1;

}



/* Filter group styling for search */

.ap-filter-group {

    margin-bottom: 20px;

}



.ap-filter-group label {

    display: block;

    margin-bottom: 5px;

    font-weight: 600;

    color: #333;

}



/* Loading spinner styling */

.ap-loading {

    text-align: center;
    top: 55px;
    padding: 40px 20px;
    position: absolute;
    left: 0;
    right: 0;

}



.ap-spinner {

    border: 4px solid #f3f3f3;

    border-top: 4px solid #007cba;

    border-radius: 50%;

    width: 40px;

    height: 40px;

    animation: spin 1s linear infinite;

    margin: 0 auto 10px;

}



@keyframes spin {

    0% { transform: rotate(0deg); }

    100% { transform: rotate(360deg); }

}

.advanced-product-search-form. {
    margin: 0px 0px 0px -20px;
    border-style: none;
    display: flex;
    flex-wrap: wrap;
}

.advanced-product-search-form .ap-search-item {
    width: 21%;
    padding: 0px 0px 0px 20px !important;
    margin: 0 !important;
}
.advanced-product-search-form .ap-search-item.ap-search-button {
    width: 16%;
    margin: 31px 0px 0px 0px !important;
}
.advanced-product-search-form .ap-search-item input {
    background-color: var(--e-global-color-secondary);
    color: var(--e-global-color-0718502);
}
form.advanced-product-search-form .ap-search-item select {
    background-color: var(--e-global-color-secondary) !important;
    color: var(--e-global-color-0718502) !important;
}
.advanced-product-search-form .ap-search-item.ap-search-button button {
    margin: 0 !important;
}
.advanced-product-search-form .ap-search-item button {
    line-height: 1em;
}
@media (max-width: 959px) {
    .advanced-product-search-form .ap-search-item {
        width: 50%;
        padding: 0px 0px 20px 10px !important;
        margin: 0 !important;
    }
    .advanced-product-search-form .ap-search-item.ap-search-button {
        width: 50%;
    }
    .advanced-product-search-form .ap-search-item{
        padding: 0px 0px 20px 10px !important;
        margin: 0 !important;
    }
}