/* Change Ask Question button color */
.ap-btn-ask,
.ap-btn-primary,
.ap-ask-btn {
    background-color: #000000 !important;
    /* change this hex code */
    color: #ffffff !important;
    /* text color */
    border: none !important;
}

/* Change hover color */
.ap-btn-ask:hover,
.ap-btn-primary:hover,
.ap-ask-btn:hover {
    background-color: #915F6D !important;
    /* hover color */
    color: #ffffff !important;
}

.dokan-product-inventory.dokan-edit-row,
.dokan-product-seo.dokan-edit-row,
.dokan-linked-product-options {
    display: none;
}

li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--giftcards {
    display: none;
}

li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads {
    display: none;
}

.woocommerce-account .entry-content .woocommerce .woocommerce-form-row .password-input {
    display: inline-block;
    width: 100%;
}

@media (max-width:400px) {
    .woocommerce-filters {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width:782px) {
    .woocommerce-section-header {
        margin-left: 0;
        margin-right: 0;
    }

    .woocommerce-section-header.has-interval-select .woocommerce-chart__interval-select {
        bottom: -15px;
    }
}

/* Probrains */

/* Store name font size on small devices */
@media (max-width: 768px) {
    .store-name {
        font-size: 14px !important;
        color: black !important;
    }
}

@media (max-width: 480px) {
    .dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info-head {
        font-size: 16px !important;
    }
}

#breadcrumbs {
    margin: 24px 20px !important;
}

.dokan-product-inventory {
    display: block !important;
}

.dokan-linked-product-options {
    display: none !important;
}

.select2-container {
    width: 100% !important;
}

.wp-block-post-title.has-text-align-center {
    display: none !important;
}

/* Hide Orders submenu and its dropdown arrow */
.dokan-dashboard .dokan-dashboard-menu li.orders .navigation-submenu {
    display: none !important;
}

.dokan-dashboard .dokan-dashboard-menu li.orders .menu-dropdown {
    display: none !important;
}

#bulk-order-action-selector {
    display: none !important;
}

input#bulk-order-action[name="bulk_order_status_change"] {
    display: none !important;
}

/* Hide sale tag */
.onsale {
    display: none !important;
}

.wp-block-woocommerce-product-sale-badge {
    display: none !important;
}

/* reset button align */
.woocommerce-ResetPassword.lost_reset_password button.woocommerce-Button {
    margin-top: 52px !important;
}

/* hide shipping section */
.shipping_tab {
    display: none !important;
}

.woocommerce-Tabs-panel--shipping {
    display: none !important;
}

.dokan-offer-container {
    display: none !important;
}

.dokan-product-shipping-tax {
    display: none !important;
}

.wcv-featuredimg {
    width: 300px !important;
}

.bpbm-empty-or,
.bpbm-empty-link,
.chat-header {
    display: none !important;
}

.bm-product-info {
    display: none !important;
}


/* Wishlist code  */
.yith-wcwl-add-to-wishlist,
.yith-wcwl-add-button,
.yith-wcwl-add-to-wishlist a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
}

.single-product .product,
.single-product .summary {
    overflow: visible !important;
}

.yith-wcwl-add-to-wishlist svg {
    width: 22px;
    height: 22px;
    display: inline-block !important;
}

.wc-block-components-product-image {
    position: relative;
}

.yith-wcwl-add-to-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    padding: 0 !important;
    margin: 0 !important;
}

.wishlist-items-wrapper .product-add-to-cart .remove_from_wishlist.button {
    display: none !important;
}

.feedback img {
    width: 40px !important;
}

.yith-wcwl-add-to-wishlist {
    background: none !important;
}

.yith-wcwl-add-to-wishlist a.add_to_wishlist>img {
    width: 40px !important;
    max-width 0 !important;
    float: right !important;
}

.add-to-wishlist-before_image .yith-wcwl-add-to-wishlist {
    position: absolute !important;
    padding: 3px !important;
}

.yith-wcwl-wishlistaddedbrowse {
    display: flex !important;
    flex-direction: row !important;
    justify-content: end !important;
}

.add-to-wishlist-before_image .yith-wcwl-add-to-wishlist img {
    width: 40px !important;
}

.wp-block-column.is-vertically-aligned-top.is-layout-flow.wp-block-column-is-layout-flow {
    position: relative !important;
}

.yith-wcwl-add-to-wishlist {
    position: absolute !important;
}

.start-shopping,
.vendor-dashboard,
.logout-btn,
.account-details-btn {
    border-radius: 25px !important;
    padding: 12px 30px !important;
    font-size: 14px !important;
}

@media (max-width: 768px) {

    /*     body .is-layout-flex {
        justify-content: flex-end !important;
    } */
    .wl-my-account-content .links-row:last-of-type {
        flex-direction: column !important;
    }

}

.dokan-store-support-btn-wrap {
    display: none !important;
}

.product-name-search {
    display: none !important;
}

.search-store-products {
    display: none !important;
}

.dokan-product-date-filter {
    display: none !important;
}

#dokan-bulk-action-selector {
    display: none !important;
}

#dokan-bulk-action-submit {
    display: none !important;
}

.dokan-product-search-form {
    margin-bottom: 10px !important;
}

.product-edit-new-container .dokan-new-product-featured-img a.dokan-feat-image-btn {
    background: transparent !important;
}

.instruction-inside i.fas.fa-cloud-upload-alt {
    display: none;
}

.add-product-images {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .dokan-feat-image-upload {
    border: 5px dashed #800020 !important; 
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    background: #fff;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.add-image.add-product-images.tips {
	 border: 2px dashed #800020 !important; 
    border-radius: 5px;
} */
.dokan-feat-image-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* .instruction-inside i.fas.fa-cloud-upload-alt {
display: none !important;
} */
@media (max-width: 767px) {
    .dokan-dashboard-wrap .dokan-rental-purchase-options {
        flex-wrap: wrap !important;
        gap: 0px !important;
    }
}

.woocommerce-MyAccount-navigation {
    display: none !important;
}

.dokan-info {
    background: #915f6d !important;
    border-top: 0 !important;
}

.dokan-info:before {
    background: #915f6d !important;
}

@media (max-width: 480px) {
    .dokan-custom-modal .min-w-\[600px\] {
        min-width: 94vw !important;
        width: 94vw !important;
    }

}

.entry-title small {
    display: none !important;
}

.dokan-progress {
    display: none !important;
}

.dokan-panel-body {
    display: none !important;
}

#woocommerce-make-offer-form-submit-button {
    background: #915F6D !important;
    color: white;
}

.wp-block-add-to-cart-form .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: baseline !important;
    flex-wrap: nowrap !important;
}

@media (max-width: 767px) {
    .wp-block-add-to-cart-form .woocommerce-variation-add-to-cart {
        display: flex !important;
        flex-wrap: wrap !important;
    }
}

.remove.remove_from_wishlist {
    background: black !important;
}

.wp-block-post-title.has-text-align-center {
    display: block !important;
}

input[type="submit"][name="dokan_order_export_all"][value="Export All"],
input[type="submit"][name="dokan_order_export_filtered"][value="Export Filtered"] {
    display: none !important;
}

.dokan-product-edit-form textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    min-height: 140px;
    resize: vertical;
}

.wp-block-buttons {
    text-align: left !important;
}

.yith-wcwl-add-button,
.yith-wcwl-wishlistaddedbrowse,
.yith-wcwl-wishlistexistsbrowse {
    float: right !important;
    margin-left: 10px;
}

/* Fix iOS auto zoom in Dokan vendor dashboard */
.dokan-dashboard-wrap textarea,
.dokan-dashboard-wrap input,
.dokan-dashboard-wrap .wp-editor-area {
    font-size: 16px !important;
    line-height: 1.5;
}

/* Specifically target Short Description + Additional Details */
.dokan-dashboard-wrap #post_excerpt,
.dokan-dashboard-wrap #post_content {
    font-size: 16px !important;
}

.wishlist_table .product-add-to-cart a {
    display: block !important;
}

.add-to-wishlist-before_image .yith-wcwl-add-to-wishlist {
    padding: 0 !important;
}

.yith-wcwl-add-to-wishlist a.add_to_wishlist>img {
    margin-right: 0 !important;
}

.yith-wcwl-add-to-wishlist a.delete_item>img {
    margin-right: 0 !important;
}

@media (max-width: 767px) {
    .wp-block-group.alignfull.is-content-justification-center.is-layout-constrained {
        padding: 10px !important;
    }
}

/* file upload square Start */
.dokan-feat-image-upload {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    border: 2px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dokan-feat-image-upload .image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* file upload square End */
.wp-block-post-title {
    text-transform: capitalize !important;
}

.taxonomy-product_brand.wp-block-post-terms {
    text-transform: capitalize !important;
}

.wp-block-post-title.has-huge-font-size .product-brand {
    display: none !important;
}

.store-name {
    font-size: 16px !important;
    color: #ffffff;
    text-align: center;
}

.wpautoterms-footer {
    z-index: 1 !important;
}

@media (max-width: 768px) {
    .wp-site-blocks {
        padding: 0 10px !important;
    }
}

.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container {
    top: 4px !important;
}

.wp-editor-area {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}

@media screen and (max-width: 781px) {
    .wp-block-group.is-layout-flex.wp-block-group-is-layout-flex {
        margin-bottom: 10px !important;
    }

    .site-main>.entry-content>.alignwide,
    .site-main>.alignwide:not(.entry-content) {
        margin-left: 0 !important;
    }

    .dokan-dashboard header.dokan-dashboard-header {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .dokan-product-edit header.dokan-dashboard-header h1.entry-title span.dokan-product-status-label {
        margin-left: 0 !important;
    }
}

.wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-none {
    display: none;
}

.wc-block-checkout {
    margin-top: 0 !important;
}

.wp-block-woocommerce-checkout.alignwide.wc-block-checkout {
    padding-top: 0 !important;
}

.flex-control-nav.flex-control-thumbs {
    margin-top: 10px !important;
}

.ap-form-errors {
    display: none !important;
}

.content-half-part.regular-price {
    padding: 0 !important;
}

.flex-control-nav.flex-control-thumbs {
    margin-left: 50px !important
}

.profile-img.profile-img-circle img {
    object-fit: cover !important;
}

@media (max-width: 768px) {
	.wp-block-query.alignwide.is-layout-flow.wp-block-query-is-layout-flow {
		padding: 0 !important;
	}
	
    .profile-img.profile-img-circle img {
        margin-top: 15px !important;
    }

    .wc-block-cart__payment-options {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column !important;
    }

    .dokan-single-store .profile-frame .profile-info-box.profile-layout-default .profile-info-img {
        height: 100px !important;
    }

    .wp-block-group.alignfull.is-content-justification-space-between.is-layout-flex {
        border-bottom: 1px solid #c9c9c9;
        margin-bottom: 10px !important;
    }

    #dokan-secondary {
        display: none !important;
    }

    .flex-control-nav.flex-control-thumbs {
        margin-left: 18px !important
    }

    .dokan-radio.dokan-rental-purchase-options {
        font-size: 12px !important
    }

    .wp-block-group.is-layout-constrained.wp-container-core-group-is-layout-c6640dbd.wp-block-group-is-layout-constrained {
        margin-left: 18px !important
    }

    .store-edit-profile,
    .store-edit-banner {
        color: black !important;
        border: 1px solid black !important;
    }

 

    .price {
        margin-bottom: 10px !important;
    }

    .dokan-vendor-image {
        width: 40px !important;
    }
}

.wp-block-post-title {
    margin-bottom: 0 !important;
}

.wp-block-post-template h3.wp-block-post-title {
    min-height: 0 !important;
}

.has-text-align-center.wp-block-post-title {
    margin-bottom: 32px !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    right: 35px !important;
}

#vendor-payment-method-drop-down-wrapper {
    z-index: 1111111 !important;
}

.page-id-16 .links-row a {
    width: 250px !important;
}

.dokan-vendor-info-wrap .dokan-vendor-image img {
    border-radius: 50%;
    width: 50px !important;
    height: 50px !important;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .dokan-feat-image-upload .image-wrap {
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .dokan-feat-image-upload .image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* test */
/* Test */
.avatar.bbpm-avatar img{
	object-fit: cover !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
}


.bp-messages-wrap .bp-messages-side-threads .threads-list .thread .pic img{
	object-fit: cover !important;
    width: 30px !important;
    height: 40px !important;
    border-radius: 50% !important;
}

/* Counter Offer page modification */

/* Hide Buyer Details heading */
.all-50.small-100 h6 {
    display: none;
}

/* Hide the UL */
.offer-buyer-meta-values-wrap.no-padding {
    display: none;
}

.help-content-area > .all-100:last-of-type {
    display: none !important;
}
.help-content-area {
    font-size: 0;
}

.help-content-area h2,
.help-content-area * {
    font-size: initial;
}

/* in cart page  */
.wc-block-components-totals-shipping {
    display: none;
}
/* CART PAGE ONLY */
.woocommerce-cart #wc-stripe-payment-request-wrapper,
.woocommerce-cart .wc-stripe-payment-request-button-separator,
.woocommerce-cart .wc-stripe-payment-request-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce-cart .wc-stripe-payment-request-button {
    padding: 0 !important;
    margin: 10px 0 !important;
    overflow: hidden !important;
    border-radius: 30px !important;
    transform: scale(0.92);
    transform-origin: center;
}

.woocommerce-cart .wc-stripe-payment-request-button iframe {
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce-cart .wc-stripe-payment-request-button-separator {
    display: none !important;
}

.woocommerce-cart .cart_totals,
.woocommerce-cart .wc-proceed-to-checkout {
    overflow: hidden !important;
}
/* WRAPPER: keep vertical stacking, center the group */
.woocommerce-cart .wc-block-components-express-payment__event-buttons {
    display: flex !important;
    flex-direction: column !important;  /* stack vertically */
    align-items: center !important;      /* center buttons horizontally */
    justify-content: center !important;
    width: 100% !important;
    padding: 0 18px !important;
    box-sizing: border-box !important;
    gap: 10px !important; /* spacing between buttons */
}

/* BUTTON: allow natural width but cap it */
.woocommerce-cart .wc-block-components-express-payment__button {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 !important;
    display: block !important;
    border-radius: 30px !important;
}

/* iframe stays full width of button */
.woocommerce-cart .wc-block-components-express-payment__button iframe {
    width: 100% !important;
    border-radius: 30px !important;
}

/* add link to dashbaord list product options */

.wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-none .wp-block-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-none .wp-block-cover {
    position: relative;
}

.wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-none .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
}

.wc-block-cart-item__prices {
	 display: none !important;
}