.dd-cart-count{
    margin-left: 5px;
}

/*
 * Full-bleed section backgrounds. The shop archive is set to Avada's 100%-width
 * template (see dualdraw_shop_full_width_main in functions.php), which drops
 * #main's normal max-width/gutter, so these sections can just be 100% wide.
 * Each section's nested .fusion-row re-applies the theme's normal content
 * max-width/centering (Avada targets any #main .fusion-row descendant).
 */
body.dualdraw-shop-archive #main.width-100 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 40px !important;
    h1{
        margin-top:0!important;
        color: #3B4251!important;
        font-size: 28px!important;
    }
}

body.dualdraw-shop-archive .avada-page-titlebar-wrapper {
    display: none;
}

.dd-shop-section {
    width: 100%;
    padding: 0 20px 40px 20px;
}

.dd-shop-section--header {
    background-color: #fff;
}

.dd-shop-section--products {
    background-color: #f7f7f7;
    padding: 20px;
}

.dd-shop-section--pagination {
    background-color: #fff;
}

.dd-shop-section--pagination .fusion-row {
    gap:0!important;
}

.dd-shop-product-count {
    margin: 0 0 20px;
    color: #666;
}


.dd-shop-view-toggle {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    border-bottom: 1px solid #d8dbdb;
    margin-bottom: 40px;
}
.dd-shop-view-btn {
      display: inline-block;
      padding: 10px 0;
      background: #fff;
      font-weight: 700;
      cursor: pointer;
      border: none;
      font-size: 16px;
      line-height: 20px;
      text-decoration: none;
      color: #3B4251;

}
.dd-shop-view-btn.is-active {
      position: relative;
      &::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            right: 0;
            height: 4px;
            background: #44b06b;
      }
}


.dd-card-meta {
      margin: 8px 0;
      flex-basis: 100%;
}
.dd-card-part-number {
      font-size: 14px;
      color: #666;
      line-height: 1.5;
      margin: 0 0 4px;
}
.dd-card-description {
      font-size: 14px;
      color: #666666;
      line-height: 1.4;
}
.dd-card-description p {
      margin: 0 0 8px;
}
.dd-card-description p:last-child {
      margin-bottom: 0;
}
.dd-card-description ul,
.dd-card-description ol {
      margin: 0;
      padding-left: 18px;
      text-align: left;
}


li.product {
      position: relative;
}

.dd-added-overlay {
      display: none;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      /* background: rgba(0, 0, 0, 0.85); */
      background: rgba(59, 66, 81, 0.95);
      color: #fff;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 20px;
      z-index: 10;
}

li.product.dd-added-state .dd-added-overlay {
      display: flex;
}

.dd-added-message {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 12px;
      color: #fff;
}

.dd-added-message:after {
      content: '';
      background: url("../images/cart-confirmation-checkmark.svg") no-repeat center / 20px 15px;
      display: inline-block;
      margin-left: 10px;
      width: 20px;
      height: 15px;
}

.dd-view-cart-btn,
.dd-continue-shopping-btn {
      display: inline-block;
      width: 100%;
      padding: 8px 16px;
      margin: 4px;
      font-size: 14px;
      font-weight: bold;
      cursor: pointer;
      text-decoration: none;
      line-height: 2;
      text-transform: uppercase;
      font-weight: 500;
      border: 1px solid transparent;
      &:hover {
        color: #fff;
        background: transparent;
        border: 1px solid #fff;
      }
}

.dd-view-cart-btn {
      background: #4bb1cf;
      color: #fff;
      border: none;
}

.dd-continue-shopping-btn {
      background: #45b06c;
      color: #fff;
      border: none;
}


.shop-section .cart-loading {
      display: none !important;
}

.dd-overlay-close {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent url("../images/cart-confirmation-box-close-icon.svg") no-repeat center / 14px 14px;
      border: none;
      cursor: pointer;
      padding: 0;
}


.dd-checkout-message {
      background: #3B4251;
      padding: 20px 20px 25px;
      margin-bottom: 20px;
      font-size: 14px;
      color: #fff;
      border-radius: 6px;
      text-align: center;
      p {
            margin: 0 auto!important;
      }
      a{
        color: #fff;
        font-weight: bold;
        text-decoration: underline;
      }
}


.dd-shop-subcat {
      display: flex;
      gap: 8px;
      align-items: center;
      flex-wrap: wrap;
}

.dd-shop-subcat select {
      padding: 10px 12px;
      border: 1px solid #DBDBDB;
      background: #f7f7f7;
      min-width: 220px;
}

.dd-shop-search {
      display: flex;
      gap: 8px;
      align-items: center;
      margin-top: 12px;
      flex-wrap: wrap;
}

.dd-shop-search label{
    flex-basis: 100%;
}

.dd-shop-search input[type="text"] {
      padding: 20px 12px;
      border: 1px solid #DBDBDB;
      max-width: 200px;
      background: #f7f7f7;
}
.dd-shop-search-btn {
      padding: 9px;
      background: #44b06b;
      color: #fff;
      border: none;
      cursor: pointer;
      
      
}
.dd-shop-search-clear {
      font-size: 13px;
      color: #747474;
      text-decoration: underline;
}

.dd-shop-search-reset{
    background: #4BB1CF;
    text-transform: uppercase;
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
    padding: 12px 20px;
    &:hover{
        color: #fff;
        background:#38859c;
    }
}

.wc_payment_method.payment_method_authorize{
    display: none;
}
.dd-pre-checkout-message{
    display: flex;
    justify-content: space-between;
    background: #F6F6F6;
    padding: 24px 20px;
    margin-bottom: 30px;
    a{
        font-weight: bold;
        text-decoration: underline;
    }
    @media screen and (max-width: 768px) {
        flex-direction: column-reverse;
        gap: 20px;
    }
}

.catalog-ordering {
    display: none!important;
}

.dd-shop-section--pagination {
    margin-top: 2rem;
}

.dd-shop-section--pagination .fusion-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.shop-section-pagination {
    /* margin-top: 2rem; */
    clear: both;
}

.dd-shop-show-all-btn {
    display: inline-block;
    /* margin-top: 2rem; */
    padding: 12px;
    border: 1px solid #DBDBDB;
    color: #01AD6B;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    line-height: normal;
    text-transform: uppercase;
}
.dd-shop-show-all-btn:hover {
    background: #F7F7F7;
    color: #01AD6B;
}

/* Product Cards */

.product .fusion-product-wrapper{
    border-color: #DBDBDB!important;
    border: 1px solid #DBDBDB!important;
    background: #fff!important;
}

.product .fusion-product-wrapper .featured-image{
    aspect-ratio: 1/1;
}
.product .fusion-product-wrapper .featured-image img{
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.product-details .product-title a{
    font-weight: 700;
    font-size: 18px;
    line-height :1.25;
    color: #3B4251;
}

.product-details .price .amount{
    font-weight: 700;
    font-size: 16px;
    line-height :1.25;
    color: #3B4251;

}

.product-buttons .fusion-content-sep{
    display: none!important;
}

.product-buttons-container{
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
}

.product-buttons-container .quantity{
   position: relative;
   overflow: visible!important;
}

.product-buttons-container .quantity:before{
    content: "Quantity";
    position: absolute;
    top: -30px;
    left:0;
}

.product-buttons-container .quantity input{
    height: 100%!important;
}

.add_to_cart_button{
    background: #45B06C;
    text-transform: uppercase;
    padding: 13px;
    color: #fff;
    margin-left: 10px;
    text-align: center!important;
    flex-grow: 1;
    max-width: 100%!important;
    font-size: 14px!important;
    &:before{
        display: none!important;
    }
    &:hover{
        color: #fff;
        background: #348451;
    }
}

.show_details_button{
    display: none!important;
}

/* Match single product's Add to Cart button to the archive page's .add_to_cart_button */
.woocommerce div.product form.cart .single_add_to_cart_button{
    background: #45B06C;
    text-transform: uppercase;
    color: #fff;
    border: none;
    text-align: center!important;
    font-size: 14px!important;
    font-weight: 400;
    padding: 13px 26px;
    &:hover{
        
        color: #fff;
        background: #348451;
    }
}

.woocommerce-pagination {
    justify-content: center!important;
    margin-top: 0!important;
    .page-numbers{
        list-style-type: none;
        border: none!important;
        .prev, .next{
            display: none!important;
        }
        .page-numbers{
            border: 1px solid #DBDBDB!important;
            color: #01AD6B;
            font-size: 14px;
            padding: 12px!important;
            &.current{
                background: #4BB1CF;
                color: #fff;
                border: 1px solid #4BB1CF!important;
            }
            &:hover{
                background: #F7F7F7;
                color: #01AD6B;
                cursor: pointer;
            }
        }
    }
}

.avada-shipping-calculator-form, .woocommerce-billing-fields__field-wrapper,.woocommerce-account-fields,.woocommerce-additional-fields,.woocommerce-shipping-fields{
    select,input,span,textarea{
        color: #666666!important;
        &::placeholder{
            color: #666666!important;
        }
    }
}

#dd_part_search, #dd_part_search::placeholder, #dd_subcat{
    color: #666666!important;
    height: 42px;
}

.woocommerce-products-header__title{
    line-height: 1.25;
}

.dd-shop-controls{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dd-shop-controls .dd-shop-view-toggle{
    flex-basis: 100%;
}

.dd-shop-controls form{
    flex: 1 1 100%;
    @media screen and (min-width: 768px) {
        flex: 1 1 calc(50% - 4px);
    }
    @media screen and (min-width: 1080px) {
        flex: 0 1 250px;
    }
}
    

.dd-shop-search input[type="text"]{
    max-width: calc(100% - 42px);
    @media screen and (min-width: 1080px) {
        flex: 0 1 250px;
    }
}

.dd-shop-controls form input, .dd-shop-controls form select{
    width: 100%;
}

.dd-shop-controls .dd-shop-subcat label{
    flex-basis: 100%;
}

.dd-shop-controls .dd-shop-search{
    margin-top: 0;
    align-items: flex-start;
    column-gap: 0;
}
.dd-shop-controls .dd-shop-search-reset-wrap{
    display: flex;
    align-items: flex-end;
    margin-top: 8px;
}


/* Single Product Page */

.single-product .product .avada-single-product-gallery-wrapper .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > div a img.wp-post-image{
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border: 1px solid #D8D8D8;
}

.single-product .product .summary-container .product_title{
    font-family: 'Open Sans', sans-serif!important;
    font-weight: 700!important;
    font-size: 25px!important;
    color: #3B4251!important;
}

.single-product .product .summary-container .dd-single-product-meta-part-number{
    display: block!important;
    font-family: 'Open Sans', sans-serif!important;
    font-weight: 400!important;
    font-size: 14px!important;
    color: #666666!important;
}

.single-product .product .summary-container .price, .single-product .product .summary-container .price span{
    font-family: 'Open Sans', sans-serif!important;
    font-weight: 700!important;
    font-size: 18px!important;
    color: #3B4251!important;
}

.single-product .product .summary .summary-container .product-border{
    height: 0;
    border-top: none;
    padding-top: 20px;
    border-color: #666666;
}

.single-product .product .summary .summary-container .dd-single-product-meta-description{
    border-top: 1px solid #666666;
    padding-top: 30px;
}

.single-product .product .summary .summary-container .dd-single-product-meta-description h2{
    font-family: 'Open Sans', sans-serif!important;
    font-weight: 700!important;
    font-size: 18px!important;
    color: #3B4251!important;
}

.single-product .product .social-share{
    display: none!important;
}

/* Product Page Heros */
.product-hero > div{
    flex-direction: column-reverse!important;
    @media screen and (min-width: 1024px) {
        flex-direction: row!important;
    }

    .bg-full{
        > div{
            background-size: contain!important;
            height: 200px!important;
            @media screen and (min-width: 1024px) {
                min-height: 200px!important;
                height: auto!important;
            }
        }
    }
}

.shop-section{
    margin-bottom: 50px;
}

.shop-section .products .product .product-details .product-details-container .dd-card-meta .dd-card-description ul{
    list-style-type: disc;
}

.woocommerce-page .woocommerce .button{
    font-weight: 400!important;
    padding: 13px 26px!important;
}