
@media (max-width: 1023px) {
    #vendor_registration {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 1280px) {
    @media (min-width: 769px ) {
        body .slider-tablet {
            display: block;
        }

        body .slider-desktop, .slider-mobile {
            display: none;
        }

        body .custom-join-us .wp-block-button a {
            padding-left: 0px !important;
            padding-right: 0px !important;
        }

        body main .engagement,
        body main .engagement > div {
            display: flex;
            flex-direction: row !important;
            padding-bottom: 20px !important;
            flex-basis: 25% !important;
            text-align: center !important;
            justify-content: center !important;
        }
        
        body main .custom-engagements p {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 160px;
            text-align: center;
        }
    
        body .custom-engagements > div {
            width: 100% !important;
        }
        
        body main .custom-engagements > div > div.wp-block-ainoblocks-flexbox {
            width: 100%;
            text-align: center !important;
            margin: auto;
            max-width: 100%;
            display: flex;
            flex-direction: row !important;
            flex: 1 1 25%;
            padding-bottom: 20px !important;
            flex-basis: 25% !important;
            text-align: center !important;
            justify-content: center !important;
        }

        .custom-product-details {
            display: none !important;
        }

        .custom-product-details-tablet {
            display: block !important;
        }

        body main {
            max-width: 97%;
            width: 97%;
            text-align: start;
            margin: auto;
        }

        body.woocommerce-account .woocommerce-MyAccount-navigation ul {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
    
        body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
            flex: 1 1 calc(25% - 30px);
            max-width: 23%;
            min-width: 115px;
            box-sizing: border-box;
            background-color: var(--wp--preset--color--background-primary);
        }

        body.woocommerce-account .woocommerce-Addresses.addresses {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            width: 100%;
            justify-content: space-between;
        }

        body.woocommerce-account .woocommerce-Addresses.addresses .woocommerce-Address {
            width: 45%;
            padding-top: 0;
        }

        body.woocommerce-account .col2-set .u-column2.woocommerce-Address {
            border-left: unset;
            border-top: unset;
        }

        body.woocommerce-account .col2-set .u-column1.woocommerce-Address {
            border-right: 1px solid var(--wp--preset--color--background-light-gray);
            border-top: unset;
        }

        body.woocommerce-account .woocommerce-Address > address {
            width: 95%;
            padding: var(--wp--preset--spacing--6)0;
            margin: auto;
        }

        body.woocommerce-account .col2-set .u-column2 {
            padding-top: var(--wp--preset--spacing--12);
            border-top: 1px solid var(--wp--preset--color--background-light-gray);
        }

        body.woocommerce-account .woocommerce-Address > a {
            margin-left: 2.5% !important;
        }

        body.woocommerce-account .woocommerce-MyAccount-content button:not(.iti__selected-country, .purchased-product-details),
        body.woocommerce-account .woocommerce-MyAccount-content input[type=button]:not() {
            display: block;
            width: 50%;
            margin: auto;
        }

        .password-change-form h4 {
            margin: auto;
            text-align: center;
        }

        .woocommerce-MyAccount-content button.alg-wc-wl-remove-all {
            background-color: var(--wp--preset--color--background-secondary);
            margin-bottom: 30px !important;
            padding: 5px 25px;
        }

        .alg-wc-wl-view-table-container .custom-products-grid, 
        .alg-wc-wl-view-table-container  .wp-block-template-part > ul.custom-products-grid {
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
        }

        body .custom-products-grid, body .wp-block-template-part > ul.custom-products-grid {
            grid-template-columns: repeat(4, minmax(140px, 1fr)) !important;
        }
    
        body .custom-products-grid .custom-product-item, 
        body .custom-products-grid > .product, 
        body .wp-block-template-part > ul.custom-products-grid > li {
            position: relative;
            min-width: 140px !important;
        }

        body .custom-products-grid .custom-product-item h5 {
            font-size: 13px !important;
            font-weight: 600 !important;
            text-wrap: wrap;
        }
    
        body .custom-products-grid .custom-product-item h3 {
            font-size: 13px !important;
            text-wrap: wrap;
        }
    
        body .custom-products-grid .params {
            display: flex !important;
            flex-direction: column-reverse;
            justify-content: flex-start !important;
            align-items: flex-start !important;
            max-width: 100% !important;
            width: 100% !important;
            height: auto;
        }
    
        body .custom-products-grid .wc-block-components-product-price * {
            font-size: 12px !important;
        }

        body main .woocommerce-MyAccount-content .purchased-product .purchased-product-picture img, body main #reviews .purchased-product .purchased-product-picture img {
            max-height: 150px !important;
            height: 100% !important;
            width: auto !important;
            display: block !important;
            object-fit: cover !important;
            margin: 0px 0 0 auto !important;
          }

        body img, video {
            height: unset;
            max-width: unset;
        }

        body .leave-review-button {
                width: 100%;
        }

        body main .woocommerce-MyAccount-content .purchased-product::after {
            content: '';
            position: absolute;
            bottom: 0;
            width: 80% !important;
            height: 2px;
            background-color: var(--wp--preset--color--background-light-gray);
            margin: auto !important;
            left: 10%;
        }

        body main .woocommerce-MyAccount-content .purchased-product, body main #reviews .purchased-product {
            width: 73%;
            margin: auto;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        body main .woocommerce-MyAccount-content .purchased-product .purchased-product-picture, body main .purchased-product .purchased-product-picture {
            margin-top: 25px;
            margin-bottom: 25px;
        }

        .wc-block-cart-items .wc-block-cart-item__image {
            width: 75%;
        }
    
        .wc-block-cart-items .wc-block-cart-item__image > a:not(.wc-block-components-product-name) {
            width: 35%;
            height: auto;
        }
    
        .wc-block-cart-items .wc-block-cart-item__image .wc-block-cart-item__wrap {
            width: 65%;
        }
    
        table.custom-order-details-item .wc-block-cart-items__row td.wc-block-cart-item__total {
            padding: 0px;
            width: 25%;
        }
    
        table.custom-order-details-item .wc-block-cart-items__row td.wc-block-cart-item__total * {
            text-align: end !important;
        }

        body .woocommerce .woocommerce-MyAccount-content .woocommerce-customer-details, 
        body .woocommerce .woocommerce-MyAccount-content .woocommerce-order-details, 
        body .woocommerce .woocommerce-MyAccount-content .custom-order-update .woocommerce-OrderUpdates, 
        body .woocommerce .woocommerce-MyAccount-content .custom-order-update h2, 
        body .custom-order-again-button {
            width: 95%;
            margin: auto;
        }

        body .wc-block-cart-items .wc-block-cart-items__row:not(.custom-total-cost)::before {
            content: '';
            position: absolute;
            bottom: -19px;
            width: 100%;
            height: 1px;
            background-color: var(--wp--preset--color--background-light-gray);
        }

        body .wc-block-cart-items.wc-block-mini-cart-items .wc-block-cart-items__row:not(.custom-total-cost)::before {
            content: '';
            position: absolute;
            bottom: 0px;
            width: 100%;
            height: 1px;
            background-color: var(--wp--preset--color--background-light-gray);
        }

          body .wc-block-cart-items tfoot {
            display: block;
            margin-top: 23px;
          }

          body .wc-block-cart-items tfoot .wc-block-cart-items__row:not(.custom-total-cost)::before {
            content: '';
            position: absolute;
            bottom: 0px;
            width: 100%;
            height: 1px;
            background-color: var(--wp--preset--color--background-light-gray);
          }

          body .woocommerce .woocommerce-MyAccount-content .woocommerce-customer-details > section{
            display: flex !important;
            flex-direction: row !important;
            justify-content: space-between !important;
            align-items: start !important;
          }

        body main .wc-block-order-confirmation-totals-wrapper table {
            margin-right: auto !important;
            max-width: 1000px;
            min-width: 320px;
            width: 100%;
            max-width: unset;
        }

        [data-block-name="woocommerce/order-confirmation-totals-wrapper"] .wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
            max-width: 85px;
        }
        
        .custom-confirmation-page {
            text-align: start;
            width: 75%;
        }

        body .custom-confirmation-page .wc-block-cart-items .wc-block-cart-items__row:not(.custom-total-cost)::before {
            content: '';
            position: absolute;
            bottom: 0px;
            width: 100%;
            height: 1px;
            background-color: var(--wp--preset--color--background-light-gray);
        }

        body #dokan-store-listing-filter-wrap > .right {
            width: 100%;
            justify-content: space-between;
        } 

        body #dokan-store-listing-filter-wrap .right .item.sort-by {
            margin: 0px 0px;
        }

        /*--------------------------------------- HEADER START ---------------------------------------*/

        body header .custom-mobile-header .custom-account-icon > img {
            width: 28px !important;
        }
    
        body header .wc-block-mini-cart__button:after {
            top: 6px;
            left: 10px;
        }
    
        body header > .custom-header .wc-block-mini-cart > .wc-block-mini-cart__button:after, body header > .custom-mobile-header .wc-block-mini-cart > .wc-block-mini-cart__button:after {
            width: 28px !important;
        }

        body header .custom-mobile-logo img {
            width: auto !important;
            height: 36px !important;
        }

        body header .custom-mobile-nav img {
            width: 36px !important;
        }

        body header .custom-cart-icon > button {
            margin-top: -47px;
        }

        body header .custom-cart-icon > button span.wc-block-mini-cart__badge, body header .custom-cart-icon > button span.wc-block-mini-cart__quantity-badge {
            margin-left: 2px;
            margin-top: -8px;
        }

        body .custom-mobile-menu {
            min-width: 330px;
            min-height: 820px;
        }

        /*--------------------------------------- HEADER END ---------------------------------------*/

        /*--------------------------------------- FOOTER START ---------------------------------------*/
        body footer h3 {
            padding-top: 16px !important;
            margin-bottom: 5px !important;
            font-size: 20px !important;
        }

        body footer p a {
            font-size: 16px !important;
        }

        body footer .custom-footer {
            margin-left: 0px !important;
        }

        body footer .custom-footer div:not(.footer-custom-image-item, .footer-logo-item, .custom-payment-methods *) {
            margin-left: 10% !important;
        }

        body footer .custom-footer > div {
            margin-left: 0px !important;
            width: 100%;
        }

        body footer .footer-logo-item img {
            width: 200px !important;
            height: auto;
        }

        body footer .footer-logo-item figure,
        body footer .footer-logo-item figure[class^=wp-block-].pb__10 {
            padding-bottom: 15px;
        }

        body footer .footer-logo-item p {
            font-size: 13px !important;
        }

        body footer .footer-custom-image-item {
            margin-bottom: var(--s-8);
        }

        body footer .custom-footer .custom-payment-methods * {
            padding-right: clamp(0.25*2rem, 0.1491*2rem + 0.4386*2vw, 0.5*2rem);
            padding-left: 0;
        }

        body footer .custom-footer .custom-footer-menu {
            width: 100%;
        }
        
        .custom-footer-menu-shop {
            grid-column-start: 2 !important;
            grid-column-end: 4 !important;
        }

        .custom-footer-menu-support {
            grid-column-start: 5 !important;
            grid-column-end: 7 !important;
        }
        
        .custom-footer-menu-sale {
            grid-column-start: 8 !important;
            grid-column-end: 10 !important;
        }
        
        .custom-footer-menu-contact {
            grid-column-start: 11 !important;
            grid-column-end: 12 !important;
        }

        .custom-footer-copyright {
            grid-column-start: 2 !important;
            grid-column-end: 4 !important;
        }
        
        .custom-payment-methods {
            grid-column-start: 5 !important;
            grid-column-end: 12 !important;
        }
        /*--------------------------------------- FOOTER END ---------------------------------------*/

        
    }

    body, html {
        overflow-x: hidden;
    }

    body header .wp-block-ainoblocks-flexbox {
        flex-wrap: nowrap;
    }

    body .custom-join-us .wp-block-buttons>.wp-block-button {
        width: 100% !important;
    }

    body main .vendor-container,
    body main .wp-block-ainoblocks-flexbox {
        flex-wrap: wrap;
    }

    body main div.about-us {
        max-width: 106% !important;
    }

    body .latest-blog-posts {
        flex-direction: column;
    }
    
    body main .blog-post {
        flex: 1;
        text-align: start;
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }

    body main .custom-categories,
    body main .custom-categories .right-block {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 40px;
        width: 100%;
        height: 100%;
    }
    
    body main .custom-categories .right-block {
        height: 720px;
    }

    body main .custom-categories .left-block,
    body main .custom-categories .right-section,
    body main .custom-categories .right-section .right-images div,
    body .custom-categories .right-images div:first-child  {
        height: 350px;
    }

    body main .custom-categories .left-block {
        width: 100%;
        position: relative;
        display: block;
    }

    body .custom-categories a {
        width: 100%;
    }

    body main .custom-categories .right-section .right-images div {
        width: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    body .custom-categories .right-images div:first-child {
        width: 100%;
    }

    body .custom-categories .right-images div:last-child {
        display: none;
    }

    *[class^=wp-block-].pb__19, 
    *[class^=wp-block-ainoblocks-].pb__19, .wp-block-group.pb__19 {
        padding-bottom: 150px;
    }

    body .mc4wp-form {
        max-width: 80%;
    }

    body .woocommerce-MyAccount-content .woocommerce-customer-details address {
        padding-top: 0px !important;
        margin-left: 7% !important;
    }

    body .wc-block-cart-item__product .wc-block-cart-item__wrap {
        justify-content: flex-start;
    }

    div[data-block-name="woocommerce/cart"] .wc-block-cart-items .wc-block-cart-item__image img  {
    
    }

    div[data-block-name="woocommerce/cart"] .wc-block-cart-items .wc-block-cart-item__image,
    div[data-block-name="woocommerce/cart"] .wc-block-cart-items .wc-block-cart-item__image > a {
        width: 100%;
    }

    div[data-block-name="woocommerce/cart"] .is-medium table.wc-block-cart-items .wc-block-cart-items__row {
        justify-content: stretch;
    }

    div[data-block-name="woocommerce/cart"] .is-medium table.wc-block-cart-items .wc-block-cart-items__row, .is-mobile table.wc-block-cart-items .wc-block-cart-items__row, .is-small table.wc-block-cart-items .wc-block-cart-items__row {
        -ms-grid-columns: unset;
        display: -ms-grid;
        display: grid;
        grid-template-columns: unset;
        padding: 16px 0;
          padding-top: 16px;
          padding-bottom: 16px;  
        width: 100%;
      }

    .store-info > .store-details > h4 {
        max-width: 200px;
        line-height: 22px;
        max-width: calc(75% - 60px);
    }

    

    .dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info-head .profile-img.profile-img-circle img {
        margin-top: 10px;
    }
    
    body.dokan-store div.wp-site-blocks main.site-main {
        width: inherit;
        margin: auto;
    }

    body .dokan-store-products-filter-area .dokan-store-products-ordeby input.product-name-search,
    .dokan-store-products-filter-area select.orderby.orderby-search {
        height: 36px;
        min-height: 36px;
        max-height: 36px;
    }

    body .dokan-store-products-filter-area select.orderby.orderby-search {
        height: 28px;
        min-height: 28px;
        max-height: 28px;
    }

    body.dokan-store div.wp-site-blocks main.site-main {
        width: unset;
        margin: auto;
    }

    body .custom-homepage-newsletter {
        max-width: 120%;
        width: 120%;
    }

    body .woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--deconnection {
        display: block;
    }

    body .custom-account-deconnection {
        display: none !important;
    }

    body .wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block {
        z-index: 1;
    }

    body .wc-block-cart-item__total .price .amount bdi > span {
        font-weight: 600 !important;
    }
    
    #wc-backbone-modal-dialog .wms_pickup_modal_map_container {
        max-width: 100%;
    }

    #wc-backbone-modal-dialog .wms_pickup_modal_map_container .wms_pickup_modal_map_openstreemap,
    #wc-backbone-modal-dialog .wms_pickup_modal_map_container .wms_pickup_modal_listing {
        display: block;
        position: relative;
    }

    body .custom-template-width,
	body .custom-template-width > .wp-block-group {
		max-width: 95%;
        width: 95%;
		margin: auto;
	}

    body .product-labels-container a.tags-info-mobile {
        display: inline-flex;
        align-items: center;
        margin-left: 6px;
    }

    body .product-labels-container a.tags-info-mobile img {
        width: 24px;
        height: 24px;
        display: block;
    }

    body .product-labels-container a.tags-info-mobile:hover,
    body .product-labels-container a.tags-info-mobile:hover > img {
        background-color: transparent !important;
        transform: scale(1.03) !important;
    }

    /*--------------------------------------- HEADER START ---------------------------------------*/
    body .custom-homepage-newsletter {
        max-width: 120%;
        width: 120%;
        margin-left: -10% !important;
    }

    body .custom-mobile-nav-items .wp-block-ainoblocks-flex-item {
        width: 100%
    }

    body .custom-mobile-menu {
        display: flex;
    }

    .custom-header {
        display: none;
    }

    body .custom-mobile-header {
        display: flex;
        width: 100%;
    }

    .mobile-menu-icon {
        display: flex;
    }

    .header-container {
        justify-content: space-between;
    }

    body header .custom-mobile-header-icons {
        gap: 10px !important;
    }
    
    /*--------------------------------------- HEADER END ---------------------------------------*/

    /*--------------------------------------- FOOTER START ---------------------------------------*/

    body footer .custom-newsletter p.custom-secondary-button > input[type="submit"],
    body footer .custom-newsletter p.custom-secondary-button > button[type="submit"] {
        width: unset;
    }

    .single-product .woocommerce-tabs {
        margin: auto !important;
    }

    .footer-logo-item > figure, .footer-logo-item > p {
        margin-left: auto !important;
    }
    /*--------------------------------------- FOOTER END---------------------------------------*/
}
