/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.wd-header-my-account.wd-tools-element>a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    color: #d7d7d7;
    line-height: 1;
    font-weight: 500;
    color: #000000;
    padding: 5px 5px 5px 5px;
}

.wd-tools-icon {
    margin: 5px 7px;
}

.wd-header-my-account .whb-col-right .wd-dropdown-my-account {
    right: 0;
    left: auto;
}

.wd-header-my-account .wd-header-my-account.wd-tools-element {
    position: relative;
}

.wd-header-my-account .wd-dropdown-menu.wd-design-default,
.wd-header-my-account .wd-dropdown-menu.wd-design-default .wd-dropdown {
    padding: 12px 20px;
    width: 220px;
}

.wd-header-my-account .wd-dropdown {
    position: absolute;
    top: 40px;
    left: 0;
    z-index: 9999;
    margin: 15px 0 0;
    background-color: #FFF;
    background-position: bottom right;
    background-clip: border-box;
    background-repeat: no-repeat;
    box-shadow: 0 0 3px rgb(0 0 0 / 15%);
    text-align: left;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.19, 1, 0.22, 1), visibility 0.4s cubic-bezier(0.19, 1, 0.22, 1), transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateY(15px) translateZ(0);
    pointer-events: none;
}

.wd-header-my-account.wd-tools-element.wd-event-hover:hover .wd-dropdown {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: visible;
}

.wd-header-my-account .wd-dropdown {
    margin: 0px;
}

.wd-header-my-account .wd-dropdown li {
    list-style: none;
    position: relative;
    border: 0px none;
}

.wd-header-my-account nav li:hover a {
    color: #5755D9;
}

.wd-header-my-account .wd-dropdown li a {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
    color: #000;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
}

.wd-header-my-account .whb-color-light .wd-tools-element {
    position: relative;
}

.wd-header-my-account .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;
}


/* Advanced Search  */

[class*="wd-header-search-form"] {
    padding-right: 0px;
    padding-left: 0px;
    flex: 1 1 auto;
}

.wd-search-form {
    margin-left: auto;
    margin-right: auto;
    max-width: 580px;
    position: relative;
}

.wd-search-form .searchform.wd-style-with-bg input[type="text"] {
    background-color: #fff;
}

.wd-search-form input[type='text'],
.wd-search-form input[type='password'] {
    padding: 0 5px;
    max-width: 100%;
    width: 100%;
    height: 42px;
    border: 2px solid #5755D9;
    border-radius: 4px;
    color: #000;
    background-color: #fff;
    box-shadow: none;
    vertical-align: middle;
    font-size: 14px;
}

.wd-search-form .searchform input[type="text"] {
    padding-right: 140px;
    height: 46px;
    font-size: 15px;
}

.wd-search-form .wd-search-cat {
    display: flex;
    align-items: center;
    position: absolute;
    top: 2px;
    right: 50px;
    bottom: 2px;
}

.wd-search-form .wd-search-cat>a {
    display: flex;
    text-align: center;
    align-items: center;
    padding-right: 10px;
    padding-left: 10px;
    height: 100%;
    border-right: 1px solid #d7d7d7;
    border-left: 1px solid #d7d7d7;
    color: #5755D9;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
}

.wd-search-cat>a>span {
    overflow: hidden;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wd-search-form .wd-dropdown-search-cat.wd-design-default {
    width: 190px;
}

.wd-search-form .wd-dropdown-menu.wd-design-default,
.wd-dropdown-menu.wd-design-default .wd-dropdown {
    padding: 12px 20px;
}

.wd-search-form .wd-dropdown {
    transition: opacity .4s cubic-bezier(.19, 1, .22, 1), visibility .4s cubic-bezier(.19, 1, .22, 1), transform .4s cubic-bezier(.19, 1, .22, 1);
    pointer-events: none;
}

.wd-search-form .wd-dropdown-search-cat {
    right: 0;
    left: auto;
    margin: 2px 0 0 !important;
}

.wd-search-form .wd-dropdown {
    position: absolute;
    top: 100%;
    z-index: 9999;
    margin: 15px 0 0;
    background-color: #fff;
    background-position: bottom right;
    background-clip: border-box;
    background-repeat: no-repeat;
    box-shadow: 0 0 3px rgb(0 0 0 / 15%);
    text-align: left;
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px) translateZ(0);
    max-height: 350px;
}

.wd-search-form .wd-dropdown.active {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: visible;
}

.wd-search-form .wd-sub-menu li {
    position: relative;
    list-style: none;
}

.wd-search-form .wd-sub-menu li:hover a {
    color: #5755D9;
}

.wd-search-form .wd-sub-menu li a {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
    color: #000;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
}

.wd-search-form ul.wd-sub-menu {
    margin: 0px;
}

.wd-search-form ul.children {
    margin-left: 10px;
    margin-bottom: 0px;
}

.wd-search-form .searchform.wd-style-with-bg .searchsubmit {
    background-color: #5755D9;
}

.wd-search-form .searchform.wd-style-with-bg .searchsubmit {
    right: 0;
    width: 50px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    color: #fff;
}

.wd-search-form .searchform .searchsubmit {
    position: absolute;
    top: 0;
    right: 2px;
    bottom: 0;
    padding: 5px 10;
    border: none;
    background-color: transparent;
    box-shadow: none;
    color: #000;
    font-weight: 400;
    font-size: 20px;
}

.wd-search-form button[type="submit"] {
    padding: 12px 20px;
    font-size: 13px;
    line-height: 18px;
    background-color: #f3f3f3;
    color: #3e3e3e;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
    border-width: 0;
    border-style: solid;
    border-color: transparent;
    border-radius: 0;
    box-shadow: none;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: none;
    letter-spacing: .3px;
    font-weight: 600;
}

.wd-search-form .wd-scroll-content {
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 50vh;
    scrollbar-width: thin;
}


/*
 *  STYLE 7
 */

.style-7::-webkit-scrollbar-track,
.wd-search-form .wd-dropdown::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
    border-radius: 10px;
}

.style-7::-webkit-scrollbar,
.wd-search-form .wd-dropdown::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.style-7::-webkit-scrollbar-thumb,
.wd-search-form .wd-dropdown::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgb(244, 165, 28);
}


/* Search filter wraper */

.search-results-wrapper .wd-dropdown-results.active {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: visible;
    pointer-events: unset;
    width: 100%;
}

.search-results-wrapper .wd-dropdown {
    transition: opacity .4s cubic-bezier(.19, 1, .22, 1), visibility .4s cubic-bezier(.19, 1, .22, 1), transform .4s cubic-bezier(.19, 1, .22, 1);
    pointer-events: none;
}

.search-results-wrapper .wd-scroll {
    --scrollbar-track-bg: rgba(0, 0, 0, .05);
    --scrollbar-thumb-bg: rgba(0, 0, 0, .12);
}

.search-results-wrapper .wd-dropdown-results {
    margin: 0 !important;
    max-width: 580px;
    z-index: 1200;
}

.search-results-wrapper .wd-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 15px 0 0;
    background-color: #fff;
    background-position: bottom right;
    background-clip: border-box;
    background-repeat: no-repeat;
    box-shadow: 0 0 3px rgba(0, 0, 0, .15);
    text-align: left;
    visibility: hidden;
    opacity: 0;
}

.search-results-wrapper .wd-scroll-content {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 50vh;
    scrollbar-width: thin;
    background-color: #fff;
}

.search-results-wrapper .autocomplete-suggestions {
    display: flex;
    flex-wrap: wrap;
    margin-top: -1px;
    margin-right: -1px;
}

.search-results-wrapper .autocomplete-suggestion {
    display: flex;
    flex: 1 1 100%;
    padding: 15px;
    border-top: 1px solid;
    border-top-color: currentcolor;
    border-right: 1px solid;
    border-right-color: currentcolor;
    border-color: rgba(119, 119, 119, .2);
    cursor: pointer;
    line-height: 1;
    transition: all .25s ease;
    position: relative;
}

@media (max-width: 767px) {
    .search-results-wrapper .autocomplete-suggestion {
        flex: 1 1 100%;
    }
}

.search-results-wrapper .autocomplete-suggestion a.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.search-results-wrapper .autocomplete-suggestion .suggestion-thumb {
    flex: 0 0 auto;
    margin-right: 15px;
    max-width: 65px;
}

.search-results-wrapper .autocomplete-suggestion .wd-entities-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.search-results-wrapper .wd-entities-title {
    display: block;
    color: #000;
    word-wrap: break-word;
    font-weight: 400;
    line-height: 1.4;
}

.search-results-wrapper .reset-last-child> :last-child {
    margin-bottom: 0;
}

.search-results-wrapper .price {
    color: #000;
}

.search-results-wrapper .price del {
    color: #bdbdbd;
    font-size: 90%;
}

.search-results-wrapper .price ins {
    padding: 0;
    background-color: transparent;
    text-decoration: none;
    opacity: 1;
    color: #bdbdbd;
}

.search-results-wrapper .amount {
    font-weight: 600;
    font-size: 14px;
    color: #2874f0;
}

.search-results-wrapper del .amount {
    font-weight: 600;
    font-size: 14px;
    color: #bdbdbd;
}


/* Shop Page Filter */

.wd-shop-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.wd-products-shop-view {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.wd-shop-tools>* {
    margin-bottom: 0px;
    margin-right: 10px;
    vertical-align: middle;
}

.wd-products-shop-view .shop-view {
    display: inline-flex;
    margin-right: 12px;
    vertical-align: middle;
    opacity: .3;
}

@media (max-width: 767px) {
    .wd-products-shop-view .shop-view {
        margin-right: 5px;
    }
}

.wd-shop-tools>*:last-child {
    margin-right: 0;
}

.wd-action-btn.wd-style-text {
    font-size: 0;
    line-height: 1;
}

.wd-filter-buttons.wd-action-btn>a {
    font-size: 20px;
}

.wd-action-btn.wd-style-text>a {
    position: relative;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
}

.wd-action-btn>a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    cursor: pointer;
}

.wd-products-shop-view .shop-view.active {
    opacity: 1;
}

.wd-products-shop-view .shop-view:hover {
    opacity: .8;
}

.wd-shop-tools .wd-filter-buttons.wd-action-btn a {
    border: 1px solid #000;
    padding: 15px 12px;
    border-radius: 2px;
}

/* Dashboard */

.wd-my-account-links ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-left: -10px;
    margin-right: -10px;
}

.wd-my-account-links .woocommerce-MyAccount-navigation {
    width: 100% !important;
}

.wd-my-account-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-left: -10px;
    margin-right: -10px;
}

.wd-my-account-links>div {
    flex: 1 1 33%;
    max-width: 33%;
    width: 33%;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}

.wd-my-account-links a {
    display: block;
    padding: 20px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.35) !important;
    border-radius: 2px;
    font-size: 14px;
    line-height: 1.2em;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    color: #3f3f3f;
    position: relative;
}

.wd-my-account-links a:hover {
    color: #3f3f3f;
    background-color: rgba(0, 0, 0, 0.03);
}

.wd-my-account-links a:hover:before {
    color: #5755D9;
}


/* Product List Grid View */

body.woocommerce.product-list-item ul.products,
body.woocommerce-page.product-list-item ul.products {
    grid-template-columns: repeat(1, 1fr) !important;
}

@media (min-width: 575px) {
    body.woocommerce.product-list-item ul.products li.product,
    body.woocommerce-page.product-list-item ul.products li.product {
        flex-direction: row;
        background-color: #f4f4f4;
    }
    body.woocommerce.product-list-item ul.products li.product .astra-shop-thumbnail-wrap,
    body.woocommerce-page.product-list-item ul.products li.product .astra-shop-thumbnail-wrap {
        flex-basis: 30%;
        max-width: 30%;
    }
    body.woocommerce.product-list-item ul.products li.product .astra-shop-summary-wrap,
    body.woocommerce-page.product-list-item ul.products li.product .astra-shop-summary-wrap {
        flex-basis: 70%;
        max-width: 70%;
        padding: 15px 25px;
    }
}

@media (min-width: 575px) {
    body.woocommerce.product-list-item ul.products .woocommerce-product-details__short-description {
        display: block !important;
        position: absolute;
        left: 30%;
        padding: 25px;
        top: 125px;
        height: 105px;
        overflow: hidden;
        width: 50%;
        text-align: left;
    }
    body.woocommerce.product-list-item ul.products ul li.product a.button,
    body.woocommerce-page.product-list-item ul.products li.product a.button {
        position: absolute;
        top: 250px;
        bottom: unset;
        width: auto;
        left: unset;
        transform: unset;
    }
}


/* List responsive */

@media (min-width: 575px) and (max-width: 768px) {
    body.woocommerce.product-list-item ul.products li.product,
    body.woocommerce-page.product-list-item ul.products li.product {
        min-height: 250px;
    }
    body.woocommerce.product-list-item ul.products li.product .astra-shop-summary-wrap,
    body.woocommerce-page.product-list-item ul.products li.product .astra-shop-summary-wrap {
        padding: 7px 7px;
    }
    body.woocommerce.product-list-item ul.products .woocommerce-product-details__short-description {
        width: 65%;
        padding: 10px;
        height: 85px;
    }
    body.woocommerce.product-list-item ul.products ul li.product a.button,
    body.woocommerce-page.product-list-item ul.products li.product a.button {
        top: 190px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

body.woocommerce.product-list-item .products ul.products li.product:hover a.button,
body.woocommerce-page.product-list-item ul.products li.product:hover a.button {
    opacity: 1;
    bottom: unset;
}

body.woocommerce.product-list-item .products ul.products li.product a.button,
body.woocommerce-page.product-list-item ul.products li.product a.button {
    opacity: 1;
}

@media (min-width: 575px) {
    body.woocommerce.product-list-item ul.products span.ast-woo-product-category,
    body.woocommerce.product-list-item ul.products a.ast-loop-product__link,
    body.woocommerce.product-list-item ul.products li.product .price {
        text-align: left;
    }
    body.woocommerce.product-list-item ul.products .star-rating {
        margin-left: 0 !important;
    }
}

body.woocommerce.product-list-item ul.products li.product a img,
body.woocommerce-page.product-list-item ul.products li.product a img {
    margin-bottom: 0px !important;
}


/* Product hover secondary images */

.hover-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.35s ease, transform 1s cubic-bezier(0, 0, .44, 1.18);
}

.astra-shop-thumbnail-wrap:hover .hover-img {
    opacity: 1;
    transform: scale(1.09);
}

.astra-shop-thumbnail-wrap {
    overflow: hidden;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    margin-bottom: 0px;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap {
    margin-top: 8px;
}


@media only screen and (max-width: 575px) {
	.wd-my-account-links>div {
		flex: 1 1 50%;
		max-width: 50%;
		width: 50%;
		padding-left: 10px;
		padding-right: 10px;
		margin-bottom: 20px;
	}
}
