/*
This CSS file is used to apply styles to the "All Products" page that this plugin creates.
CSS class names should use dashes. Example: asp-product-description
*/

.l-main article {
    padding-bottom: 90px;
}

.wp-asp-grid button {
    /* background: #222e87;
    color: white;
    padding: 10px 15px;
    font-weight: normal;
    line-height: normal; */
}

.wp-asp-grid button:hover {
    /* background: #3F4DB3; */
}

.wp-asp-grid {
    font-family: Tahoma,Verdana,Segoe,sans-serif;
}

.wp-asp-grid a,.wp-asp-grid a:hover,.wp-asp-grid a:active,.wp-asp-grid a:focus {
    text-decoration: none;
    box-shadow: none;
    border: none;
}

.wp-asp-grid a, .wp-asp-grid button {
    outline: 0;
}

.sales .wp-asp-grid-item {
    padding: 7px;
}

.ec-list .wp-asp-grid-item {
    /* width: auto;
    border: none;
    background: #ededed;
    position: relative;
    margin: 0px 1% 10px 0px;
    padding: 7px; */
    background-color: #fff;
    display: flex;
    flex-basis: calc(50% - 1.25vw);
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.25);
}

.wp-asp-grid-row {
    width: 100%;
    clear: both;
    /* margin: 5px 0; */
    margin-top: 32px;
    padding: 0;
}

.wp-asp-post-grid {
    display: inline-block;
    clear: both;
    width: 100%;
}

.sales .wp-asp-product-name {
    text-align: center;
    font-weight: bold;
    margin: 5px;
}

.ec-list .wp-asp-product-name {
    /* text-align: center;
    font-weight: bold;
    font-size: 1em;
    margin: 5px;
    padding-bottom: 60px; */
    padding-bottom: 8px;
    border-bottom: solid 1px #E7ECEF;
    margin-bottom: 8px;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
}

.sales .wp-asp-product-thumb {
    margin: 10px 10px 5px 10px;
    text-align: center;
}

.ec-list .wp-asp-product-thumb {
    /* text-align: center;
    margin: 10px 10px 5px 10px; */
    aspect-ratio: 1 / 0.75;
    overflow: hidden;
    flex-basis: 51.724%;
}

.wp-asp-product-thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.sales .wp-asp-product-thumb img {
    margin: 0 auto;
    min-height: 128px;
    min-width: 128px;
}

.ec-list .wp-asp-product-detail {
    box-sizing: border-box;
    flex-basis: 48.276%;
    padding: 16px;
    position: relative;
}

.wp-asp-product-price {
    font-size: 2rem;
    font-weight: 600;
}

.wp-asp-view-product-btn {
    position: absolute;
    right: 0;
    bottom: 0;
}

.wp-asp-view-product-lnk {
    vertical-align: middle;
}

.wp-asp-view-product-lnk .txt {
    text-shadow: 0 0 4px 0 rgba(0,0,0, .35);
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
}

/* .wp-asp-product-price {
    text-align: center;
    margin-bottom: 10px;
    font-size: 0.9em;
} */

/* .wp-asp-view-product-btn {
    bottom: 15px;
    left: 0;
    position: absolute;
    width: 100%;
    text-align: center;
} */

/* .wp-asp-view-product-btn button {
    border-radius: 4px;
    border: none;
    background: #222E87;
    color: white;
    text-transform: none;
    font-family: Tahoma,Verdana,Segoe,sans-serif;
    font-size: 1em;
    line-height: 1em;
} */

/* SORT */
#asp-sort-by-form{    
    width:30%
}

#asp-sort-by-form select{
vertical-align: middle;
height: auto;
padding: 5px;
box-sizing: border-box;
width: 100%;
display: inline-block;
line-height: normal;
}
#asp-sort-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
#asp-search-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search */

#wp-asp-search-form{
    text-align: center;
    margin-bottom: 20px;
}
.wp-asp-listing-search-field{
    width: 90%;
    max-width: 90%;
    text-align: center;
    position: relative;
    height: 35px;
    margin: 0 auto;
}
.wp-asp-listing-search-field input {
    vertical-align: middle;
    height: 35px;
    padding: 5px;
    box-sizing: border-box;
    width: 100%;
    display: inline-block;
    line-height: normal;
}
.wp-asp-listing-search-field button {
    box-sizing: border-box;
    vertical-align: middle;
    padding: 5px 5px;
    height: 35px;
    width: 35px;
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
}
.wp-asp-listing-search-submit button span {
    font-size: 20px;
    height: 20px;
    width: 20px;
}

.wp-asp-search-res-text {
    /* text-align: center;
    margin-bottom: 20px; */
}

.wp-asp-search-res-text a {
    color: #000;
}

.wp-asp-search-res-text a:hover, .wp-asp-search-res-text a:focus, .wp-asp-search-res-text a:active {
    border-bottom: 1px solid grey;
}

/* Pagination */

.wp-asp-pagination {
    clear: both;
    text-align: center;
}

.wp-asp-pagination ul {
    font-weight: normal;
    list-style: none;
}

.wp-asp-pagination li {
    margin: 0 5px;
    display: inline;
}

.wp-asp-pagination span {
    padding: 5px 10px;
    background: #409ddb;
    color: white;
}

.wp-asp-pagination a {
    opacity: 0.7;
    color: black;
    padding: 5px 10px;
    text-decoration: none;
    border: none;
    box-shadow: none;
}

.wp-asp-pagination a:hover,.wp-asp-pagination a:active,.wp-asp-pagination a:focus {
    background: #c0c0c0;
}

@media (min-width: 768px) {
    .wp-asp-grid-row {
        display: flex;
        flex-wrap: wrap;
        gap: 2.5vw;
    }
    .wp-asp-listing-search-field{
        width: 70%;
        max-width: 70%;
    }
    /* .wp-asp-grid-item {
        width: 31%;
        margin-right: 1.5%;
        margin-left: 1.5%;
        display: inline-block;
        position: relative;
        box-sizing: border-box;
        align-items: stretch;
    } */
}

@media screen and (max-width: 767.98px) {
    .btn:not(.plain) .txt {
        padding: 0;
    }
    .wp-asp-grid-item {
        margin-top: 32px;
    }
    .wp-asp-product-detail {
        padding-bottom: 50px;
    }
}


/* asp_post_about */
.asp_post_about {
    background-color: #fff;
    padding: 52px 0;
}

.asp_post_about_item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.asp_post_about_item .icon {
    flex-basis: 112px;
}

.asp_post_about_item .cont {
    flex-basis: calc(100% - 112px - 18px);
}

.asp_post_about_ttl {
    color: #202A74;
    font-size: 2rem;
    font-weight: bold;
}

.asp_post_about_item + .asp_post_about_item {
    margin-top: 32px;
}

.asp_post_about hr {
    margin-top: 48px;
}