/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


.enamad img {
    width: 95px;
    background: #ffffffc7;
    border-radius: 10px;
}
.footer-top-icons p.elementor-image-box-description {
    text-align: center;
}

.wd-header-secondary-nav a.woodmart-nav-link {
    background: #4c9af8;
    border-radius: 10px;
    color: #fff !important;
    padding: 8px;
    font-size: 12px;
    font-weight: 500;
}

.wd-header-secondary-nav a.woodmart-nav-link span {
    color: #fff;
}

.prod-feat table.woocommerce-product-attributes tr:nth-child(n+7) {
    display: none;
}

.searchform input[type="text"] {
    border-radius: 10px;
}

[class*="wd-header-search-form"] input[type='text'] {
    border-radius: 10px !important;
}

h1,h2,h3,h4,h5,h6,p,input,select,button,label,td,th {
    font-family: 'iranyekan' !important;
}

.apc-btn {
    min-width: 200px;
}

button.apc-btn.secondary {
    width: 20px !important;
    min-width: 40px;
    height: 40px;
    background: #ff0101;
    color: #fff;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 15px;
}

.swiper-pagination.swiper-pagination-bullets {
    border-radius: 5px;
}

.last-updated-box {
    border: 2px solid;
    padding: 5px;
    border-radius: 10px;
    background: #d2ffd3;
    font-size: 15px;
}

.wd-nav[class*="wd-style-underline"] .nav-link-text {
    line-height: 2.8 !important;
}

span.woocommerce-Price-amount.amount , .elementor-widget-woocommerce-product-price .price :is(del,.amount) {
     font-family: 'iranyekan' !important;
}
.wd-content-layout {
    padding-block: 10 !important;
}

button#apc_add , button#apc_calc {
    background: var(--e-global-color-primary);
    color: #fff;
    border-radius: 10px;
    transition: .3s;
    font-size: 17px;
}

button#apc_add:hover , button#apc_calc:hover {
    background: var(--accent);
    transition: .3s;
}

.wd-header-secondary-nav a.woodmart-nav-link:hover , .wd-header-secondary-nav .current-menu-item  a.woodmart-nav-link {
    background: var(--e-global-color-primary) !important;
}


.video-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.video-category-list li a {
    padding: 6px 12px;
    background: #eee;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.video-category-list li.active a,
.video-category-list li a:hover {
    background: #0d297f;
    color: #fff;
}

.video-side .woocommerce  .wd-negative-gap.elementor-element {
    border-radius: 12px;
}


.button.supply-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #0d297f;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    animation: pulse-border 1s infinite;
}

@keyframes pulse-border {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

div#saeed-supply-form-box {
    position: fixed;
    background: #000000b3;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

.supply-form-box-wr {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}

button#supply-form-box-close {
    background: #ff0404;
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    line-height: 0.5 !important;
    opacity: .8;
    transition: .3s;
}

button#supply-form-box-close:hover {
    transition: .3s;
    opacity: 1;
}


.filter-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.filter-grid label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.filter-grid select {
  width: 100%;
  padding: 6px;
}


.cat-filters select {
    border-radius: 10px;
}

.smart-wc-filter > button {
    margin-top: 10px;
    border-radius: 10px;
    font-weight: bold;
    background: var(--wd-primary-color) !important;
    color: #fff !important;
    font-size: 18px;
    padding: 10px 30px;
    transition: .3s;
}

.smart-wc-filter > button:hover {
    background: var(--e-global-color-secondary) !important;
    color: #fff !important;
    transition: .3s;
}

.wd-cat-inner h3.wd-entities-title {
    background: #0d297f;
    color: #fff;
    padding: 5px;
    border-radius: 10px;
}

.apc-result {
    font-family: 'iranyekan';
}

aside.wd-sidebar.sidebar-container {
    display: none;
}

.wd-content-area.site-content {
    width: 100%;
    grid-column: auto / span 12;
}


.archive.tax-product_cat .wd-content-area.site-content , .archive.tax-product_brand .wd-content-area.site-content {
    width: 100%;
    grid-column: auto / span 10;
}

.archive.tax-product_cat aside.wd-sidebar.sidebar-container , .tax-product_brand  aside.wd-sidebar.sidebar-container {
    display: block;
    
}



.apc-res-wr {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.apc-res-wr img {
    width: 60px;
}

.apc-res-wr p {
    font-size: 20px;
    font-weight: bold;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 10px;
    margin: 0;
    background: #fff;
}

#apc_out .apc-result {
    text-align: center;
}

.wp-singular .woocommerce-message {margin-bottom: 45px !important;}

.wd-header-my-account.wd-tools-element {
    display: none;
}

.logged-in .wd-header-my-account.wd-tools-element {
    display: block;
}



@media screen and (max-width: 650px) {
	.filter-grid {
    grid-template-columns: repeat(1, 1fr);
}

.archive.tax-product_cat .wd-content-area.site-content, .archive.tax-product_brand .wd-content-area.site-content {
    width: 100%;
    grid-column: auto / span 12;
}

form.smart-wc-filter {
    padding: 20px;
}

.archive.tax-product_cat aside.wd-sidebar.sidebar-container , .tax-product_brand  aside.wd-sidebar.sidebar-container {
    z-index: 9999999;
}

.archive #main-content > div > div.shop-loop-head > div:nth-child(2) {
    display: none;
}

.archive.tax-product_cat #main-content > div > div.shop-loop-head > div:nth-child(2), .archive.tax-product_brand #main-content > div > div.shop-loop-head > div:nth-child(2) {
 display: flex;
}

.apc-res-wr {
  grid-template-columns: repeat(1, 1fr);
}

.apc-res-wr p {
    font-size: 17px;
    text-align: center;
}

.apc-res-wr img {
    display: block;
    margin: 0 auto;
}

.wd-header-my-account.wd-tools-element {
    display: block;
}

}

