﻿footer {
    display: none;
}

body {
    padding-bottom: 80px;
}

.woocommerce-orders-table__cell-order-label a,
.order-label a {
    color: var(--color-primary);
    font-weight: 500;
}

.woocommerce table.my_account_orders .button {
    margin-top: 10px;

}

body.wcvc-messages-endpoint .register-as-vendor-popup,
.woocommerce-MyAccount-navigation-link--followings,
.woocommerce-MyAccount-navigation-link--support-tickets,
.woocommerce-MyAccount-navigation-link--inquiry {
    display: none !important;
}

body.woocommerce-account .woocommerce-OrderUpdates {
    padding-bottom: 30px;
}

.woocommerce-MyAccount-content form .woocommerce-table:nth-of-type(1) tr {
    display: flex;
    flex-direction: column;
}

.woocommerce-MyAccount-content .woocommerce-account-deletion .button-danger {
    background: red;
    width: 220px;
    border-radius: 5px;
}

.woocommerce-MyAccount-content form .woocommerce-table:nth-of-type(1) tr th {
    text-align: left;
    padding-bottom: 10px;
}

div.nsl-container[data-align="left"] {
    text-align: center !important;
}

.woocommerce-MyAccount-navigation .loyalty-points {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    color: #666;
    font-size: 14px;
}

.woocommerce-MyAccount-navigation .loyalty-points span {
    align-items: center;
    display: flex;
    font-weight: 500;
    gap: 5px;
    color: #1C1C1C;
}

.woocommerce-MyAccount-content form .woocommerce-table #wcfm_cus_note_submit {
    margin-top: 30px;
    background-color: var(--color-primary);
    color: #FFF;
    border: none;
    border-radius: 0;
    margin-left: auto;
    display: block;
    cursor: pointer;
}

.woocommerce-OrderUpdate-meta {
    color: var(--color-primary);
}

.entry-title {
    display: none;
}

.woocommerce-account .woocommerce {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.header-wrap .add_new_wcfm_ele_dashboard {
    margin: 0;
    right: 40px;
    top: 54px;
    border-radius: 0;
    border: 1px solid #ccc;
    z-index: 99;
    box-shadow: none;
    font-weight: 500;
    padding: 7px 10px;
    color: var(--color-text);
    font-family: Montserrat;
    transition: all ease-in-out .3s;
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.header-wrap .add_new_wcfm_ele_dashboard .wcfmfa.fa-currency {
    font-family: Montserrat;
    font-weight: 500;
}

.header-wrap .add_new_wcfm_ele_dashboard:hover {
    color: #FFF;
    background-color: var(--color-primary);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.header-wrap>div {
    display: flex;
    align-items: center;
    gap: 20px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 270px;
    background-color: #FCFCFC;
    height: 100%;
    position: sticky;
    top: 150px;
    max-height: calc(100vh - 150px);
    overflow-y: scroll;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: calc(100% - 300px);
}

.woocommerce-account .woocommerce-MyAccount-navigation>ul {
    padding: 0;
    margin: 0;
    list-style: none;

}

.woocommerce-account .woocommerce-MyAccount-navigation>ul.primary-nav,
.myaccount-more-panel {
    display: none;
}

#page {
    padding: 0;
}

.woocommerce-account .woocommerce::after,
.woocommerce-account .woocommerce::before {
    display: none;
}

.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link a {
    padding: 15px 32px;
    position: relative;
    border-bottom: 0px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 500;
    transition: all ease 0.3s;
    text-align: left;
}

.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link a .count {
    color: #ef4444;
    font-weight: 600;
    transition: all ease 0.3s;
}

.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link a img,
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link {
    transition: all ease 0.3s;
}

.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--downloads a img,
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--edit-address a img {
    max-width: 15px;

}

.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a img,
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--wishlist a img {
    max-width: 22px;
}

.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link.is-active,
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link:not(.more-trigger):hover {
    background-color: var(--color-primary);
    color: #FFF;
}

.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link.is-active a .count,
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link:hover a .count {
    color: #FFF;
}

.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link.is-active a,
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link:not(.more-trigger):hover a {
    color: #FFF;
}

.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link:not(.more-trigger):not(.is-active):hover img {
    filter: brightness(0) invert(1);
}

.woocommerce-MyAccount-content h2 {
    font-size: 25px;
}

.woocommerce-account .addresses .title .edit {
    font-weight: 600;
    color: var(--color-primary);
}

.woocommerce-account .woocommerce-OrderUpdates,
.woocommerce-account .wc-item-meta {
    padding: 0;
    margin: 0;
    padding-left: 35px;
}

.woocommerce-account .woocommerce-order-details h2:nth-of-type(2),
.woocommerce-account .woocommerce-order-details table:nth-of-type(2) {
    display: none;
}

.woocommerce td.product-name .wc-item-meta>li:nth-child(1) {
    display: none !important;
}

.woocommerce td.product-name .wc-item-meta p,
.woocommerce td.product-name .wc-item-meta:last-child,
.woocommerce td.product-name dl.variation p,
.woocommerce td.product-name dl.variation:last-child {
    margin-top: 0;
}

.woocommerce-account .woocommerce-order-details {
    margin-top: 50px;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    border-radius: 0;
}

.woocommerce form.register .switch-option {
    font-weight: 400;
}

/* Square radio buttons styling */
.woocommerce form.register .switch-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    margin: 0;
}

.woocommerce form.register .switch-option {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.woocommerce form.register .switch-option::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #D9D9D9;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.woocommerce form.register .switch-option:hover::before {
    border-color: var(--color-primary);
}

.woocommerce form.register .switch-option input[type="radio"]:checked+span {
    color: var(--color-primary);
    font-weight: 600;
}

.woocommerce form.register .switch-option input[type="radio"]:checked::before {
    background: var(--color-primary);
    border-color: var(--color-primary);
    position: relative;
}

.woocommerce form.register .switch-option input[type="radio"]:checked+span::before {
    content: '✓';
    position: absolute;
    left: 14px;
    top: 16px;
    background: var(--color-primary);
    color: #fff;
    font-size: 12px;
    z-index: 1;
    pointer-events: none;
    line-height: 16px;
    border-radius: 3px;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.woocommerce form.login,
.woocommerce form.register {
    border-color: #D9D9D9;
    margin-top: 15px;

    padding: 10px 20px;
}

.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
    display: none;
}

.woocommerce form .form-row::after,
.woocommerce form .form-row::before,
.woocommerce-page form .form-row::after,
.woocommerce-page form .form-row::before {
    display: none;
}

.remove-from-wishlist {
    margin-left: auto;
    border-radius: 0;
    border: none;
    background: var(--color-primary);
    color: #FFF;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

ul.products::before,
ul.products ::after {
    display: none !important;
}

ul.products .product-card {
    flex: 0 0 calc((100% - 4 * 30px) / 5);
    display: flex;
    flex-direction: column;
    background: #fff;
    box-sizing: border-box;
}

.wishlist-remove-wrap {
    display: flex;
    justify-content: space-between;
    /*align-items: center;*/
    flex-direction: column;
}

.register-as-vendor-popup {
    padding: 10px;
    /*margin-bottom:50px;*/
    background-color: var(--color-light-grey);
    width: 100%;
    display: flex;
    align-items: center;
}

.register-as-vendor-popup a {
    margin-left: 15px;
    background-color: var(--color-primary);
    color: #FFF;
    font-weight: 500;
    padding: 7px 15px !important;
    border-radius: 0;
    border: none;
    text-transform: none;
    max-width: unset !important;
}

/* Burger button styling */
.burger-menu {
    display: none;
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 10px;
    border-radius: 0;
}

/* ====== layout */
.wcvc-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
}

/* middle column (chat) */
.wcvc-main {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    display: flex;
    /* <-- important */
    flex-direction: column;
    /* header -> messages -> composer */
    min-height: 560px;
    max-height: calc(100vh - 220px);
    position: sticky;
    top: 150px;
}

/* small header with title and subline */
.wcvc-thread-header {
    padding: 16px 20px;
    border-bottom: 1px solid #eef2f6;
    display: flex;
    flex-wrap: wrap;
}

.wcvc-thread-header .show-list {
    display: none;
    margin-right: 15px;
    width: 20px;
    cursor: pointer;
}

.wcvc-thread-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 2px;
}

.wcvc-thread-sub {
    color: #6b7280;
    font-size: 13px;
    width: 100%;
}

/* messages area */
#wcvc-thread,
.wcvc-thread {
    flex: 1;
    /* <-- grow to fill space */
    overflow-y: auto;
    padding: 20px;
    background: #f8fafb;
}

/* composer */
#wcvc-composer {
    border-top: 1px solid #eef2f6;
    padding: 14px;
}

.wcvc-composer-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

#wcvc-input {
    flex: 1;
    min-height: 44px;
    max-height: 160px;
    resize: vertical;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    height: 35px;
}

.wcvc-send {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 8px 18px;
    border-radius: 10px;
    min-width: 94px;
    font-weight: 600;
    cursor: pointer;
}

.wcvc-send img {
    display: none;
}

.wcvc-send:hover {
    background: var(--color-primary);
    color: #FFF;
}

/* right column (thread list) */
.wcvc-side {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    padding: 16px 16px 10px;
    /* <-- more breathing room */
}

.wcvc-side-title {
    font-weight: 700;
    margin: 2px 4px 12px;
}

.wcvc-threads {
    padding-right: 2px;
}

/* thread list item */
.wcvc-thread-item {
    display: block;
    padding: 12px 14px;
    background: var(--color-light-blue);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.wcvc-thread-item .t-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.wcvc-thread-item .t-sub {
    font-size: 12px;
    color: #6b7280;
}

.wcvc-thread-item.is-active {
    background: var(--color-light-blue);
    border-color: var(--color-primary);
}

/* bubbles */
.wcvc-msg {
    max-width: 72%;
    margin: 10px 0;
    position: relative;
}

.wcvc-msg.mine {
    margin-left: auto;
    text-align: right;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-end;
}

.wcvc-msg.other {
    margin-right: auto;
    text-align: left;
    display: flex;
    align-items: flex-end;
    /* Align avatar to bottom of message block */
    gap: 10px;
}

.wcvc-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-bottom: 20px;
    /* Adjust based on timestamp height if needed */
}

.wcvc-msg-content {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    /* Ensure it doesn't overflow flex container */
}

.wcvc-msg.mine .wcvc-msg-content {
    align-items: flex-end;
}

.wcvc-msg.other .wcvc-msg-content {
    align-items: flex-start;
}


.wcvc-msg.mine .bubble {
    background-color: var(--color-primary);
    color: #FFF;
    border-radius: 10px 0 0 10px;
    padding: 10px 30px 10px 15px;
    text-align: left;
}

.wcvc-msg.mine .meta {
    font-weight: 400;
    font-size: 12px;
    color: var(--color-placeholder);
    margin-top: 3px;
}

.wcvc-bubble {
    display: inline-block;
    padding: 10px 12px;
    border-radius: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    white-space: pre-wrap;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}

.wcvc-msg.mine .wcvc-bubble {
    background: #e8f1ff;
    /* blue-ish */
    color: #0f172a;
    border: 1px solid #d6e6ff;
}

.wcvc-msg.other .wcvc-bubble {
    background: #ffffff;
    /* white bubble */
    border: 1px solid #e6eaf0;
    color: #111827;
}

/* timestamp under bubble */
.wcvc-time {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

/* optional date divider between groups */
.wcvc-divider {
    text-align: center;
    margin: 16px 0;
    font-size: 12px;
    color: #94a3b8;
}

/* red dot near "Å½inutÄ—s" in My Account menu */
.wcvc-menu-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ef4444;
    /* red */
    margin-left: .35rem;
    vertical-align: middle;
    box-shadow: 0 0 0 2px #fff;
    /* looks good on light sidebars */
}

/* per-thread unread counter (you already output .badge in JS) */
.wcvc-thread-item .badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    background: #ef4444;
    border-radius: 999px;
    margin-left: .5rem;
}

/* Red dot after â€œÅ½inutÄ—sâ€ when there are unread messages */
.woocommerce-MyAccount-navigation-link--messages.wcvc-has-unread>a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ef4444;
    /* red */
    margin-left: .35rem;
    vertical-align: middle;
    box-shadow: 0 0 0 2px #fff;
    /* looks good on light sidebars */
}

/* Red dot for Orders */
.woocommerce-MyAccount-navigation-link--orders.inhoby-has-unseen-orders>a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ef4444;
    /* red */
    margin-left: .35rem;
    vertical-align: middle;
    box-shadow: 0 0 0 2px #fff;
    display: inline-block;
}

.my-vendor-dashboard-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.my-vendor-dashboard-card .vendor-products {
    width: calc(100% - 280px);
}

.card {
    width: 250px;
    position: sticky;
    top: 150px;
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: #FCFCFC;
}

.card .avatar {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 1px solid #E2E2E2;
    padding: 5px;
}

.card .meta small {
    background-color: var(--color-primary);
    color: #FFF;
    padding: 10px 10px;
    width: 100%;
    font-size: 14px;
    margin-top: 10px;
    display: block;
    text-align: center;
}

.card small span {
    font-weight: 400;
}

.card .meta .row {
    color: #666;
    font-size: 12px;
    margin-bottom: 10px;
    display: flex;
    gap: 5px;
    align-items: center;
}

.card .meta .row img {
    width: 15px;
    object-fit: contain;
}

.card .meta .row:first-child {
    align-items: flex-start;
}

.card .meta .row a {
    font-weight: 500;
    color: var(--color-primary);
}

.card .meta .card-about {
    margin-top: 0;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E6E8EF;
    font-size: 14px;
    font-weight: 500;
}

.my-vendor-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.my-vendor-product {
    display: block;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    text-decoration: none
}

.my-vendor-product .thumb img {
    width: 100%;
    height: auto;
    border-radius: 5px
}

.my-vendor-product .title {
    margin-top: 8px;
    font-size: 14px;
    color: #222;
    min-height: 38px
}

.my-vendor-product .price {
    margin-top: 6px;
    font-weight: 600;
    color: #111
}


.vendor-cards {
    display: grid;
    gap: 18px;
    /*margin: 6px 0*/
}

.vendor-card {
    border: 1px solid #E6E8EF;
    border-radius: 0px;
    background: #fff
}

.vendor-card.featured {
    border-color: var(--color-primary);
    border-width: 2px;
}

.vendor-card__top {
    display: grid;
    grid-template-columns: 120px 1fr 160px;
    gap: 16px;
    padding: 16px
}

.vendor-card__thumb {
    border: 1px solid #E6E8EF;
}

.vendor-card__thumb img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    display: block
}

.vendor-card__meta small {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid #cfe0ff;
    border-radius: 999px;
    color: #3b7cff;
    background: #f3f7ff;
    font-size: 11px;
    line-height: 1
}

.vendor-card__cats {
    color: #9aa3b2;
    font-size: 12px;
    margin: 8px 0 4px
}

.vendor-card__title {
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 6px
}

.vendor-card__desc {
    color: #596273;
    font-size: 13px;
    line-height: 1.45;
    max-height: 2.9em;
    overflow: hidden
}

.vendor-card__price {
    display: flex;
    /*justify-content: flex-end;*/
    align-items: flex-end;
    font-size: 22px;
    font-weight: 500;
    flex-direction: column;
}

.vendor-card__price img {
    display: none;
}

.vendor-card__mid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #eef1f6;
    border-bottom: 1px solid #eef1f6;
    margin: 0 15px;
}

.vendor-card__stat {
    padding: 12px 16px;
    text-align: left;
    border-right: 1px solid #eef1f6;
}

.vendor-card__stat:last-child {
    border-right: none;
}

.vendor-card__stat b {
    display: block;
    font-size: 13px;
    color: #111
}

.vendor-card__stat span {
    display: block;
    color: #8a94a6;
    font-size: 12px
}

.vendor-card__bottom {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 12px 16px
}

.add_products {
    display: block;
    width: fit-content;
    margin-left: auto;
    padding: 5px 10px;
    border: 1px solid var(--color-border);
    font-weight: 500;
    margin-bottom: 20px;
    transition: all ease-in-out .3s;
}

.add_products:hover {
    color: #FFF;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.vendor-card__btn {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    border: 1px solid #e6e8ef;
    border-radius: 5px;
    padding: 10px 12px;
    font-size: 13px;
    color: #273142;
    text-decoration: none;
    background: #fff
}

.vendor-card__btn.js-pay-listing-fee {
    color: #FFF;
    background-color: var(--color-primary);
}

.vendor-card__btn.js-pay-listing-fee:hover {
    color: #FFF;
    background-color: var(--color-primary);
}

.vendor-card__btn img {
    width: 17px;
}

.vendor-card__btn:hover {
    background: #f7f9fc
}


.vendor-card__statusline {
    margin-top: .35rem;
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex-direction: column;
}

.status-pill {
    display: inline-block;
    text-align: center;
    font-size: .75rem;
    line-height: 1;
    padding: .35rem .5rem;
    border-radius: 999px;
    background: #eef1f4;
    color: #334;
}

/* post status variants */
.status--publish {
    background: #e5f7ea;
    color: #0a7a2a;
}

.status--draft {
    background: #f2f3f7;
    color: #4b5563;
}

.status--pending {
    background: #fff8e6;
    color: #9a6a00;
}

.status--private {
    background: #ede9fe;
    color: #5b21b6;
}

.status--trash {
    background: #fee2e2;
    color: #b91c1c;
}

/* stock status variants */
.stock--instock {
    background: #e6f9f0;
    color: #0a6e3a;
}

.stock--outofstock {
    background: #ffe8e8;
    color: #b91c1c;
}

.stock--onbackorder {
    background: #f0f7ff;
    color: #1d4ed8;
}

.woocommerce-MyAccount-navigation .card {
    display: none;
}


/* Order confirm action card */
.order-confirm-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 18px;
    border: 1px solid #E5E7EB;
    background: #F8FBFF;
    border-radius: 12px;
    box-shadow: 0 1px 0 rgba(16, 24, 40, .04);
    margin: 16px 0;
}

.order-confirm-card__icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: #EFF6FF;
    border-radius: 8px;
    border: 1px solid #DBEAFE;
}

.order-confirm-card__content {
    flex: 1 1 auto;
    min-width: 0;
}

.order-confirm-card__content h3 {
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.3;
    color: #111827;
}

.order-confirm-card__content p {
    margin: 0;
    color: #374151;
}

.order-confirm-card__content .muted {
    color: #6B7280;
    display: block;
    margin-top: 6px;
}

.order-confirm-card__actions {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.order-confirm-card .button {
    padding: 0 14px;
    border-radius: 8px;
}

.order-confirm-card .button.ghost {
    background: #fff;
    border: 1px solid #D1D5DB;
    color: #1F2937;
}

.order-confirm-card .button.is-busy {
    opacity: .7;
    pointer-events: none;
    position: relative;
}

.order-confirm-card .button.is-busy::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* status message */
.order-confirm-card__msg {
    flex-basis: 100%;
    margin-top: 8px;
    font-size: 14px;
}

.order-confirm-card__msg.ok {
    color: #065F46;
}

.order-confirm-card__msg.err {
    color: #991B1B;
}

/* Stack actions on small screens */

.v-status-help {
    color: red;
    font-size: 16px;
}

.custom-before-edit-account {
    display: none;
}

@media (max-width: 1200px) {

    /*.my-vendor-dashboard-card {*/
    /*    flex-direction: column-reverse;*/
    /*}*/
    .vendor-card__top {
        grid-template-columns: 120px 1fr 1fr;
    }

    .woocommerce-MyAccount-navigation .card {
        display: flex;
    }

    .my-vendor-dashboard-card .vendor-products {
        width: calc(100% - 120px);
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 200px;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        width: calc(100% - 230px);
    }

    /* .card {*/
    /*    width:100%;*/
    /*    position: static;*/
    /*}*/
    .my-vendor-dashboard-card .vendor-products {
        width: 100%;
    }

}


/* responsive */
@media (max-width: 1024px) {
    body.wcvc-messages-endpoint .site-footer {
        display: none;
    }

    body.wcvc-messages-endpoint .entry-content {
        margin-top: 0;
    }

    body.wcvc-messages-endpoint #masthead {
        margin-bottom: 0;
    }

    body.wcvc-messages-endpoint .loyalty-points {
        display: none;
    }

    .wcvc-main {
        position: fixed;
        /* Header is taller on mobile (logo + search). approx 145px safe zone. */
        top: 145px;
        left: 0;
        right: 0;
        /* Bottom nav is approx 74px tall */
        bottom: 74px;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        border: none;
        border-radius: 0;
        margin: 0;
        z-index: 5;
        /* Below nav (10) and header (1000) */
        background: #fff;
    }

    .wcvc-wrap {
        /*padding-bottom: 150px;*/
    }

    .vendor-card__top {
        grid-template-columns: 120px 1fr;
    }

    .vendor-card__price {
        grid-column: 1 / -1;
    }

    .my-vendor-dashboard-card {
        gap: 15px;
    }

    .woocommerce-account .woocommerce {
        gap: 15px;
    }

    .wcvc-wrap {
        grid-template-columns: 1fr;
    }

    .wcvc-side {
        order: -1
    }
}

@media(max-width:991px) {
    body.woocommerce-lost-password #primary {
        padding: 0 15px;
    }

    .woocommerce-MyAccount-navigation .loyalty-points {
        padding: 10px 15px;
    }

    .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link a img {
        height: 17px;
        width: 17px;
        object-fit: contain;
    }

    .woocommerce-MyAccount-navigation-link--messages.wcvc-has-unread>a::after {
        position: absolute;
        top: 12px;
        right: calc((100% - 17px) / 2 - 5px);
    }

    .woocommerce-MyAccount-navigation-link--orders.inhoby-has-unseen-orders>a::after {
        position: absolute;
        top: 12px;
        right: calc((100% - 17px) / 2 - 5px);
    }

    .custom-before-edit-account {
        display: block;
        background-color: #FCFCFC;
        padding: 10px 15px;
        margin-bottom: 15px;
        margin-left: -15px;
        width: calc(100% + 30px);
    }

    .custom-before-edit-account p {
        font-weight: 600;
        font-size: 14px;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .custom-before-edit-account a {
        display: none;
        margin-bottom: 10px;
        font-size: 14px;
        color: #5A5A5A;
    }

    .custom-before-edit-account a img {
        filter: grayscale(1);
        margin-right: 5px;
    }

    .custom-before-edit-account a.active {
        font-weight: 500;
        color: #000;
    }

    .custom-before-edit-account a.active img {
        filter: grayscale(0);
    }

    .custom-before-edit-account a.wishlist,
    .custom-before-edit-account a.edit-address,
    .custom-before-edit-account a.edit-account,
    .custom-before-edit-account a.customer-logout {
        display: block;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        position: fixed;
        bottom: 0;
        z-index: 10;
        top: unset;
        height: auto;
        margin: 0;
        border: none;
        padding: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation>ul.primary-nav {
        display: flex;
        justify-content: space-between;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation>ul:not(.primary-nav) {
        display: none;
    }

    .myaccount-more-panel {}

    .woocommerce-account .woocommerce-MyAccount-navigation>ul li {
        flex: 1;
    }

    .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link a {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 15px;
        text-align: center;
    }

    /*.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout, .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--wishlist, .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--edit-address {*/
    /*    display:none;*/
    /*}*/
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
    }

    .vendor-card__top {
        grid-template-columns: 120px 1fr 120px;
    }

    .vendor-card__price {
        grid-column: auto;
    }

}

@media(max-width:850px) {

    .vendor-card__bottom {
        grid-template-columns: repeat(2, 1fr);
    }

    .vendor-card__mid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:768px) {
    .add_products {
        display: none;
    }

    .wcvc-send:hover {
        background: #FFF;
        color: var(--color-primary);
    }

    .wcvc-send:active {
        background: var(--color-primary);
        color: #FFF;
    }

    .wcvc-send:active img {
        filter: brightness(0) invert(1);
    }

    .card .avatar {
        margin: auto;
        margin-bottom: 10px;
    }

    .card .left .meta {
        width: 100%;
        text-align: center;
    }

    .woocommerce-orders-table__cell-order-status {
        color: var(--color-primary);
        font-weight: 600;
    }

    .woocommerce-MyAccount-content h2 {
        font-size: 20px;
    }

    .woocommerce-account .addresses .title .edit {
        font-size: 14px;
        float: unset;
        margin-bottom: 10px;
        display: block;
    }

    .edit-account input {
        width: 100%;
    }

    .header-wrap {
        flex-wrap: wrap;
    }

    .header-wrap>div {
        margin-bottom: 15px;
        gap: 15px;
    }

    .header-wrap .add_new_wcfm_ele_dashboard {
        text-align: center;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .vendor-card__price {
        grid-column: auto;
    }

    .my-vendor-dashboard-card {
        flex-direction: column-reverse;
    }

    .card {
        width: 100%;
        position: static;
    }

    .card .left {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .card .left .name {
        flex: 1;
        padding-left: 15px;
    }

    .card .left .meta:nth-of-type(2) {
        width: 100%;
        padding-top: 15px;
    }

    .order-confirm-card__actions {
        flex-direction: column;
    }

    .order-confirm-card__actions button {
        width: 100%;
    }

    .woocommerce table.my_account_orders {
        border: none;
    }
    .woocommerce table.shop_table_responsive tr td::before {
        text-align: left;
    }
    .woocommerce table.shop_table_responsive tr td:nth-of-type(1) {
        border-top: none;
    }

    .woocommerce table.shop_table_responsive tr,
    .woocommerce-page table.shop_table_responsive tr {
        margin-bottom: 20px;
        border: 1px solid rgba(0, 0, 0, .1);
    }

    /*.woocommerce-account .woocommerce-MyAccount-navigation {*/
    /*    position: static;*/
    /*    display: flex;*/
    /*    gap: 15px;*/
    /*    max-height: unset;*/
    /*    margin: 0 15px;*/
    /*}*/
    .woocommerce table.shop_table_responsive tr td,
    .woocommerce-page table.shop_table_responsive tr td {
        display: flex;
        justify-content: space-between;
        gap: 15px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation>ul {
        flex: 1;
    }

    .woocommerce-MyAccount-navigation .card {
        width: fit-content;
    }

    /* Hide menu by default on mobile */
    .woocommerce-MyAccount-navigation {
        display: block;
        background: #fff;
        border: 1px solid #ccc;
        padding: 10px;
        margin-bottom: 30px;
        width: 100% !important;
    }

    /* Show menu when active */
    .woocommerce-MyAccount-navigation.active {
        display: block;
        width: 100%;
    }

    .burger-menu {
        display: block;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
    }

    .wishlist-grid ul.products {
        gap: 15px;
    }

    .wishlist-grid ul.products .product-card {
        flex: 0 0 calc((100% - 4 * 8px) / 3);
    }
}

@media (max-width: 720px) {


    .vendor-card__top {
        grid-template-columns: 120px 1fr 110px;
    }


    .vendor-card__bottom {
        grid-template-columns: repeat(2, 1fr)
    }

    .vendor-card__stat {
        border: 1px solid #eef1f6;
    }

    .vendor-card__stat:last-child {
        border-right: 1px solid #eef1f6;
    }

    .vendor-card__thumb img {
        width: 100%;
        height: auto;
    }
}

@media(max-width:600px) {
    .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link a {
        font-size: 12px;
    }

    .order-confirm-card {
        flex-wrap: wrap;
    }

    .order-confirm-card__actions {
        width: 100%;
        justify-content: flex-end;
    }

    .vendor-card__thumb {
        width: 100%;
    }

    .vendor-card__top {
        grid-template-columns: 120px 1fr 110px;
        display: flex;
        flex-wrap: wrap;
    }

    .vendor-card__meta {
        width: calc(100% - 170px);
    }

    .vendor-card__price {
        width: 150px;
    }
}

@media(max-width:500px) {
    .wishlist-grid ul.products .product-card {
        flex: 0 0 calc((100% - 4 * 4px) / 2);
    }

    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last {
        width: 100%;
    }

    .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link a {
        padding: 15px 0px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        flex-direction: column;
    }

    .vendor-card__mid {
        grid-template-columns: repeat(2, 1fr)
    }

    .wcvc-send {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .wcvc-send img {
        display: block;
    }

    .wcvc-send span {
        display: none;
    }
}

@media(max-width:425px) {

    .woocommerce-account .woocommerce-MyAccount-navigation>ul.primary-nav,
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100vw;
    }

    .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link a {
        font-size: 11px;
    }

    .register-as-vendor-popup {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .woocommerce-page table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions {
        gap: 3px;
    }

    .woocommerce td.product-name .wc-item-meta,
    .woocommerce td.product-name dl.variation {
        padding: 0;
        margin: 0;
    }

    .woocommerce-page table.shop_table_responsive tr td .button {
        font-size: 10px;
    }

    .vendor-card__meta {
        width: 100%;
        order: 2;
    }

    .vendor-card__thumb {
        width: 170px;
    }

    .vendor-card__price {
        width: calc(100% - 186px);
        line-break: anywhere;
        -webkit-hyphens: auto;
        hyphens: auto;
    }
}

/* ==== Auth page redesign (login/register) ==== */
body.woocommerce-account #customer_login {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 28px;
    align-items: start;
    padding: 0 15px;
}

/* Left illustration (virtual column) */
body.woocommerce-account #customer_login::before {
    display: none;
}

/*body.woocommerce-account #customer_login::before{*/
/*  content:"";*/
/*  display:block;*/
/*  width:100%;*/
/*  min-height:380px;*/
/*  aspect-ratio: 4 / 3;*/
/*  background:#f2f4f7 url('/wp-content/uploads/2025/09/Rectangle-1.webp') center/cover no-repeat;*/
/*  border-radius:14px;*/
/*  box-shadow: 0 8px 24px rgba(15,57,125,.08);*/
/*}*/

/* Cards for Login and Register */
body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2 {
    background: #fff;
    border: none;
    border-radius: 12px;
    padding: 0;

    position: relative;
    width: 100%;
}

/* Headings with blue dot */
body.woocommerce-account #customer_login .u-column1 h2,
body.woocommerce-account #customer_login .u-column2 h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 24px;
    margin: 0;
}

body.woocommerce-account #customer_login .u-column1 h2::before,
body.woocommerce-account #customer_login .u-column2 h2::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    display: inline-block;
}

/* Inputs */
body.woocommerce-account #customer_login .woocommerce form .form-row {
    margin-bottom: 14px;
}

body.woocommerce-account #customer_login .woocommerce form .form-row label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

body.woocommerce-account #customer_login .woocommerce form .input-text {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}

body.woocommerce-account #customer_login .woocommerce form .input-text:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, .12);
}

/* Password eye toggle */
.password-wrap {
    position: relative;
}

.password-wrap .toggle-password {
    position: absolute;
    right: 12px;
    bottom: 5px;
    background: transparent;
    border: 0;
    padding: 4px;
    cursor: pointer;
}

.password-wrap .toggle-password img {
    width: 18px;
    height: 18px;
    opacity: .65
}

.password-wrap .toggle-password:hover img {
    opacity: 1
}

.woocommerce form .password-input,
.woocommerce-page form .password-input {
    width: 100% !important;
}

/* Login actions */
body.woocommerce-account #customer_login .woocommerce-form-login .form-row {
    display: flex;
    gap: 0;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
}

body.woocommerce-account #customer_login .woocommerce-form-login .form-row-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-top: 20px;
}

body.woocommerce-account #customer_login .woocommerce-form-login .woocommerce-form-login__submit {
    margin: 0;
    padding: 15px 18px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 5px;
    border: 0;
    font-weight: 600;
    flex: 1;
}

body.woocommerce-account #customer_login .woocommerce-LostPassword {
    margin: 8px 0 0;
}

body.woocommerce-account #customer_login .woocommerce-LostPassword a {
    font-size: 14px;
    font-weight: 500;
    color: #595959;
    display: flex;
    gap: 5px;
    align-items: center;
}

body.woocommerce-account #customer_login .woocommerce-LostPassword a img {
    width: 20px;
    height: 20px;
    margin-top: -2px;
}

body.woocommerce-account #customer_login .woocommerce-LostPassword {
    margin-top: 20px;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6E6E6E;
    font-weight: 500;
}

/* Register submit button */
body.woocommerce-account #customer_login .woocommerce-form-register .woocommerce-form-register__submit {
    width: 100%;
    padding: 12px 18px;
    border-radius: 5px;
    border: 0;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    width: 50%;
    margin-left: auto;
    display: block;
}

/* Privacy note */
body.woocommerce-account #customer_login .register .woocommerce-privacy-policy-text {
    font-size: 13px;
    color: #5f6b7a;
    margin: 8px 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.woocommerce-account #customer_login .register .woocommerce-privacy-policy-text::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 100%;

    background-image: url(/wp-content/themes/inhoby/assets/images/exclamation-mark.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

body.woocommerce-account #customer_login .register .woocommerce-privacy-policy-text p {
    flex: 1;
    color: #A8A8A8;
    font-size: 12px;
    line-height: 1.1;
    margin-bottom: 5px;
}

/* Register card role pill (top-right) */
body.woocommerce-account #customer_login .u-column2 .role-pill {
    position: absolute;
    right: 16px;
    top: 14px;
    padding: 8px 14px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    background: #fff;
}

/* OAuth / vendor ctas under register */
.auth-cta {
    margin-top: 14px;
}

.oauth-separator {
    position: relative;
    text-align: center;
    color: #7b8794;
    font-size: 13px;
    margin: 12px 0 14px;
}

.oauth-separator::before,
.oauth-separator::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #e6eaf0;
}

.oauth-separator::before {
    left: 0;
}

.oauth-separator::after {
    right: 0;
}

.oauth-separator span {
    background: #fff;
    padding: 0 8px;
    position: relative;
    z-index: 1;
}

.oauth-google,
.vendor-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.oauth-google,
div.nsl-container .nsl-button-google[data-skin="light"] {
    margin-bottom: 10px;
    border: 1px solid #1C1C1C;
    color: #1f2937 !important;
    background: #fff;
    box-shadow: none !important;
}

.offer-actions-wrap {
    display: flex;
    gap: 5px;
}

.following-vendors {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.following-vendors li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--color-primary);
}

.following-vendors li a {
    color: var(--color-primary);
}

.following-vendors li img {
    width: 26px;
    height: 26px;
}

div.nsl-container.nsl-container-block .nsl-container-buttons {
    width: 100%;
}

/*.oauth-google .g{*/
/*    display: flex*/
/*;*/
/*    justify-content: center;*/
/*    width: 21px;*/
/*    align-items: center;*/
/*    height: 21px;*/
/*    border-radius: 3px;*/
/*    font-weight: 800;*/
/*    color: #4285F4;*/
/*    border: 2px solid currentColor;*/
/*}*/
.woocommerce-MyAccount-content .woocommerce-notices-wrapper .woocommerce-info {
    display: none !important;
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions .download-lp {
    margin-top: 10px;
}

.woocommerce form .form-row label {
    font-weight: 600;
}

.woocommerce form.edit-account .form-row label {
    font-weight: 500;
}

.woocommerce form .form-row .input-text {
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 0;
    padding-bottom: 2px;
}

.woocommerce form .form-row .input-text:focus {
    color: var(--color-primary) !important;
    font-weight: 600;
    border-color: var(--color-primary) !important;
}

a.vendor-login {
    background: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
}

.card .meta .loyalty-points {
    border-bottom: 1px solid #E6E8EF;
    border-top: 1px solid #E6E8EF;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.card .meta .loyalty-points span {
    align-items: center;
    display: flex;
    gap: 5px;
    color: #1C1C1C;
}

.card .meta .loyalty-points img {
    width: 15px;
    height: 15px;
}

/* Responsive */
@media (max-width: 1200px) {
    body.woocommerce-account #customer_login {
        grid-template-columns: .9fr 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    body.woocommerce-account #customer_login>img {
        display: none;
    }

    body.woocommerce-account #customer_login {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.woocommerce-account #customer_login::before {
        min-height: 260px;
    }

    .wcvc-thread-header .show-list {
        display: inline-block;
        margin-left: -10px;
    }

    .wcvc-side {
        margin-bottom: 70px;
    }

    .wcvc-thread-title {
        width: calc(100% - 35px);
    }

    .wcvc-thread-sub {
        padding-left: 25px;
    }

    .wcvc-side {
        display: none;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .wcvc-send {
        min-width: 60px;
    }

    /* WCVC Chat Mobile Styles */
    #wcvc-threads .select2-container {
        width: 100% !important;
    }

    #wcvc-threads .select2-container .select2-selection--single {
        height: auto !important;
        padding: 10px 12px !important;
        border: 1px solid #E2E2E2 !important;
        border-radius: 4px !important;
        background: #fff !important;
    }

    #wcvc-threads .select2-container .select2-selection__rendered {
        line-height: 22px !important;
        padding: 0 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    #wcvc-threads .select2-container .select2-selection__placeholder {
        color: #7C7C7C !important;
    }

    #wcvc-threads .select2-dropdown {
        border: 1px solid #E2E2E2 !important;
        border-radius: 4px !important;
    }

    #wcvc-threads .select2-results__option {
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 8px 12px !important;
    }

    #wcvc-threads .select2-container--open .select2-selection--single {
        border-color: var(--color-primary, #326fff) !important;
    }
}

@media (max-width: 500px) {
    .following-vendors {
        gap: 0;
    }

    .following-vendors li {
        width: 100%;
    }
}

@media (max-width: 425px) {
    body.woocommerce-account #customer_login .woocommerce-form-login .form-row-actions {
        gap: 10px;
    }

    body.woocommerce-account #customer_login .woocommerce-form-register .woocommerce-form-register__submit {
        width: 200px;
    }
}

/* Chat Thread Item with Image */
.wcvc-thread-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wcvc-thread-item .thread-thumb {
    flex: 0 0 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcvc-thread-item .thread-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wcvc-thread-item .thread-info {
    flex: 1;
    min-width: 0;
    /* allows text truncation to work */
}

/* Adjust existing internal elements if necessary */
.wcvc-thread-item .line-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

/* Chat Image Preview */
#wcvc-img-preview-container {
    display: none;
    padding: 8px;
    background: #f0f2f5;
    border-radius: 8px;
    margin-bottom: 8px;
    position: relative;
    width: fit-content;
    border: 1px solid #e1e4ea;
    margin-left: 44px;
    /* Align with text input (icon width + gap) */
}

#wcvc-img-preview {
    max-height: 80px;
    border-radius: 6px;
    display: block;
}

#wcvc-remove-img {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 18px;
    border: 1px solid #ccc;
    font-size: 14px;
    color: #666;
    font-weight: bold;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#wcvc-remove-img:hover {
    background: #ff4d4d;
    color: #fff;
    border-color: #ff4d4d;
}

/* Image Modal */
#wcvc-image-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

#wcvc-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

#wcvc-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

#wcvc-modal-close:hover,
#wcvc-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    #wcvc-modal-content {
        width: 100%;
    }
}

/* Vendor Dashboard Edit Account Button */
.vendor-edit-account-wrapper {
    margin-top: 30px;
    text-align: center;
}

.vendor-edit-account-btn {
    display: inline-block;
    padding: 8px 25px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
}

.vendor-edit-account-btn:hover {
    background-color: var(--color-primary);
    color: #fff !important;
    border-color: var(--color-primary);
}

/* =========================================
   Wishlist Page Styling
   ========================================= */

#wishlist-container {
    width: 100%;
}

#wishlist-container h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #111;
}

/* Wishlist Grid & Product Cards */
#wishlist-products .wishlist-grid ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    /* Just in case */
}

/* Override default flex behavior if it's there */
#wishlist-products .wishlist-grid ul.products li.product-card {
    background: #fff;
    border: 1px solid #E2E2E2;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    /* Let image fill */
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100% !important;
    /* Override flex basis */
    max-width: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    margin: 0 !important;
    /* Clear margins */
}

#wishlist-products .wishlist-grid ul.products li.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    border-color: #d1d5db;
}

/* Product Image Wrapper (Square Aspect Ratio) */
#wishlist-products .wishlist-grid ul.products li.product-card>a {
    display: block;
    width: 100%;
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background: #f9fafb;
    /* Placeholder color */
}

#wishlist-products .wishlist-grid ul.products li.product-card>a img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

/* Product Info Container */
#wishlist-products .product-info-wrap {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Stretch to fill card height */
    justify-content: space-between;
}

#wishlist-products .product-info-title-wrap h3 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    min-height: 42px;
    /* Approx 2 lines */
}

#wishlist-products .product-info-title-wrap h3 a {
    color: #1f2937;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#wishlist-products .product-info-title-wrap h3 a:hover {
    color: var(--color-primary);
}

/* Attributes (like Condition) */
#wishlist-products .product-condition {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 12px;
}

#wishlist-products .product-condition .label {
    font-weight: 500;
    color: #9ca3af;
}

#wishlist-products .product-condition .value {
    color: #374151;
    font-weight: 500;
}

/* Price Styling */
#wishlist-products .price {
    font-size: 17px;
    color: #111;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#wishlist-products .price .verified {
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

/* Remove Button styling */
#wishlist-products .wishlist-remove-wrap {
    margin-top: auto;
}

#wishlist-products button.remove-from-wishlist {
    width: 100%;
    background-color: #fff;
    color: #ef4444;
    border: 1px solid #ef4444;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    /* Reset if needed */
}

#wishlist-products button.remove-from-wishlist:hover {
    background-color: #ef4444;
    color: #fff;
}

/* Followed Vendors Section */
.wishlist-vendors {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.wishlist-vendors h2 {
    font-size: 18px !important;
    margin-bottom: 20px !important;
    font-weight: 600;
}

.following-vendors {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    list-style: none;
}

.following-vendors li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #E2E2E2;
    padding: 8px 16px 8px 8px;
    /* Slightly different padding */
    border-radius: 50px;
    /* Pill */
    transition: all 0.2s;
    cursor: pointer;
}

.following-vendors li:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.following-vendors li img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.following-vendors li a {
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
}

.following-vendors li a:hover {
    color: var(--color-primary);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    #wishlist-products .wishlist-grid ul.products {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    #wishlist-products .wishlist-grid ul.products {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols on tablet/mobile */
        gap: 12px;
    }

    #wishlist-products .wishlist-grid ul.products li.product-card {
        border-radius: 8px;
    }

    #wishlist-products .product-info-wrap {
        padding: 10px;
        margin-top: 10px;
    }

    #wishlist-products .product-info-title-wrap h3 {
        font-size: 13px;
        min-height: 36px;
        margin-bottom: 6px;
    }

    #wishlist-products .price {
        font-size: 15px;
        margin-bottom: 10px;
    }

    #wishlist-products button.remove-from-wishlist {
        padding: 8px;
        font-size: 13px;
    }

    .following-vendors li {
        width: 100%;
        /* Full width pills on mobile? Or flexible */
        border-radius: 8px;
        padding: 10px;
        justify-content: flex-start;
        margin: 0;
    }
}

@media (max-width: 480px) {
    #wishlist-products .wishlist-grid ul.products {
        grid-template-columns: 1fr;
        /* Single column on very small screens */
    }
}

@media (max-width: 850px) {
    .vendor-card__btn[data-action='delete'] {
        grid-column: 1 / -1;
    }
}

/* Loader for vendor buttons */
.vendor-card__btn.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.vendor-card__btn.is-loading img {
    visibility: hidden;
}

.vendor-card__btn.is-loading::after {
    content: "";
    /* CSS content */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    margin-left: -8px;
    border: 2px solid var(--color-primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: vendor-spin 0.6s linear infinite;
}

@keyframes vendor-spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================
   Redesigned Edit Account Form (User & Vendor)
   ========================================= */

/* Main Container for Form Sections */
.woocommerce-EditAccountForm fieldset,
.woocommerce-address-fields {
    border: 1px solid #E2E2E2;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.woocommerce-EditAccountForm legend {
    font-weight: 600;
    font-size: 16px;
    color: #111;
    padding: 0 10px;
    margin-bottom: 10px;
    width: auto;
    border-bottom: none;
}

/* Row Layout: Flex container for label + input */
/* Row Layout: Flex container for label + input */
.woocommerce-EditAccountForm .form-row,
.woocommerce-address-fields .form-row {
    display: flex !important;
    align-items: center;
    /* Vertically center */
    justify-content: flex-start;
    width: 100% !important;
    margin-bottom: 20px;
    /* Space between rows */
    gap: 30px;
    /* Space between label and input */
    flex-wrap: nowrap;
    /* Prevent wrapping on desktop */
}

/* Label Styling */
/* Label Styling */
.woocommerce-EditAccountForm .form-row label,
.woocommerce-address-fields .form-row label {
    width: 250px;
    /* Fixed width for labels */
    min-width: 200px;
    flex-shrink: 0;
    font-weight: 500;
    font-size: 14px;
    color: #333;
    margin-bottom: 0 !important;
    line-height: 1.4;
    text-align: left;
}

/* Ensure hidden labels (screen-reader-text) still take up space for alignment on desktop */
.woocommerce-EditAccountForm .form-row label.screen-reader-text,
.woocommerce-address-fields .form-row label.screen-reader-text {
    position: static !important;
    width: 250px !important;
    min-width: 200px;
    height: auto !important;
    clip: auto !important;
    opacity: 0;
    /* Invisible but takes space */
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    flex-shrink: 0;
}

/* Input Wrapper / Input Styling */
/* We target the input directly OR the wrapper div if it exists */
.woocommerce-EditAccountForm .form-row input.input-text,
.woocommerce-EditAccountForm .form-row .input-wrapper,
.woocommerce-EditAccountForm .form-row .woocommerce-input-wrapper,
.woocommerce-EditAccountForm .form-row .password-input,
.woocommerce-address-fields .form-row input.input-text,
.woocommerce-address-fields .form-row .woocommerce-input-wrapper,
.woocommerce-address-fields .form-row .select2-container {
    flex-grow: 1;
    /* Fill remaining space */
    width: 100%;
    /* Ensure full width availability */
    max-width: 100%;
}

.woocommerce-EditAccountForm input.input-text,
.woocommerce-address-fields input.input-text,
.woocommerce-address-fields .select2-selection {
    background: #fff !important;
    border: 1px solid #E2E2E2 !important;
    border-radius: 6px !important;
    padding: 0 15px !important;
    height: 48px !important;
    /* Taller inputs */
    font-size: 14px !important;
    color: #1C1C1C !important;
    box-shadow: none !important;
    line-height: normal !important;
    width: 100%;
}

/* Fix for Select2 (Country/State dropdowns) */
.woocommerce-address-fields .select2-selection {
    display: flex;
    align-items: center;
}

.woocommerce-EditAccountForm input.input-text:focus {
    border-color: var(--color-primary) !important;
    outline: none;
    box-shadow: 0 0 0 1px var(--color-primary) !important;
}

/* Description text under inputs (e.g. Display Name) */
.woocommerce-EditAccountForm .form-row span.description,
.woocommerce-EditAccountForm .form-row em {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #777;
    font-style: normal;
}

/* Handle Display Name Row specifically if description is inline */
.woocommerce-EditAccountForm .form-row--wide.form-row {
    align-items: flex-start !important;
    /* Align to top if there's a description */
}

.woocommerce-EditAccountForm .form-row--wide.form-row label {
    margin-top: 14px;
    /* Push label down to align with input text roughly */
}


/* Media Upload Section Styling */
.woocommerce-EditAccountForm .media-wrapper {
    width: 100%;
}

.woocommerce-EditAccountForm .media-wrapper img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #E2E2E2;
    background: #f9f9f9;
}

.woocommerce-EditAccountForm button.select-media,
.woocommerce-EditAccountForm button.remove-media {
    background: #fff !important;
    border: 1px solid var(--color-primary) !important;
    color: var(--color-primary) !important;
    padding: 0 20px !important;
    height: 40px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    width: auto !important;
    margin: 0 !important;
}

.woocommerce-EditAccountForm button.select-media:hover,
.woocommerce-EditAccountForm button.remove-media:hover {
    background: var(--color-primary) !important;
    color: #fff !important;
}

.woocommerce-EditAccountForm button.remove-media {
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}

.woocommerce-EditAccountForm button.remove-media:hover {
    background: #ef4444 !important;
    color: #fff !important;
}


/* Password Fields - specific adjustments */
.woocommerce-EditAccountForm .password-input {
    width: 100%;
    position: relative;
}

/* Save Changes Button */
.woocommerce-EditAccountForm>p:last-child {
    margin-top: 0;
}

.woocommerce-EditAccountForm button[name="save_account_details"],
.woocommerce-address-fields button[name="save_address"] {
    background: var(--color-primary) !important;
    color: #fff !important;
    width: 100%;
    margin-top: 10px;
    /* Space from last fieldset */
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.woocommerce-EditAccountForm button[name="save_account_details"]:hover,
.woocommerce-address-fields button[name="save_address"]:hover {
    opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 768px) {

    .woocommerce-EditAccountForm fieldset,
    .woocommerce-address-fields {
        padding: 20px;
        /* Reduce padding */
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }

    .woocommerce-EditAccountForm .form-row,
    .woocommerce-address-fields .form-row {
        flex-direction: column;
        /* Stack vertically */
        align-items: flex-start !important;
        gap: 8px;
    }

    .woocommerce-EditAccountForm .form-row label:not(.screen-reader-text),
    .woocommerce-address-fields .form-row label:not(.screen-reader-text) {
        width: 100%;
        margin-bottom: 5px !important;
        margin-top: 0 !important;
        /* Reset margin */
    }

    /* Ensure screen reader text remains hidden and doesn't affect layout width */
    .woocommerce-EditAccountForm .form-row label.screen-reader-text,
    .woocommerce-address-fields .form-row label.screen-reader-text {
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(1px, 1px, 1px, 1px) !important;
        border: 0 !important;
        position: absolute !important;
    }

    .woocommerce-EditAccountForm .form-row input.input-text,
    .woocommerce-EditAccountForm .form-row .input-wrapper,
    .woocommerce-EditAccountForm .form-row .woocommerce-input-wrapper,
    .woocommerce-address-fields .form-row input.input-text,
    .woocommerce-address-fields .form-row .woocommerce-input-wrapper,
    .woocommerce-address-fields .form-row .select2-container {
        width: 100% !important;
        /* Force full width overriding inline styles */
        flex-basis: auto !important;
        /* Reset flex-basis on mobile */
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Media buttons on mobile */
    .woocommerce-EditAccountForm .media-wrapper {
        flex-wrap: wrap;
        /* Allow wrapping if needed */
    }


    .woocommerce-EditAccountForm button.select-media {
        flex-grow: 1;
        /* Stretch button */
    }
}

/* Account Deletion Section */
.woocommerce-account-deletion {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


.woocommerce-account-deletion h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.woocommerce-account-deletion .delete-alert {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left align content inside centered box */
    gap: 15px;
    background: #FFF2F2;
    /* Custom Red BG */
    border: none;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    color: #111;
    /* Dark text */
    text-align: left;
}

.woocommerce-account-deletion .delete-alert img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.woocommerce-account-deletion .delete-alert p {
    margin: 0;
    font-size: 13px;
    color: #000;
    line-height: 1.5;
    font-weight: 500;
}

.woocommerce-account-deletion .button-danger {
    background-color: #FC0000 !important;
    /* Custom Red Button */
    color: #fff !important;
    padding: 14px 40px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: opacity 0.2s;
}


.woocommerce-account-deletion .button-danger:hover {
    opacity: 0.9;
}

/* =========================================
   Edit Address Page Styling
   ========================================= */

/* Address Grid Layout - Overriding default floats if present */
.woocommerce-Addresses.col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
    width: 100%;
}

.woocommerce-Addresses.col2-set::before,
.woocommerce-Addresses.col2-set::after {
    display: none;
    content: none;
}

.woocommerce-Addresses .col-1,
.woocommerce-Addresses .col-2 {
    float: none;
    width: 100% !important;
    /* Force full width of grid cell */
    max-width: 100%;
    margin: 0;
}

/* Individual Address Card */
.woocommerce-Address {
    background: #fff;
    border: 1px solid #E2E2E2;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

/* Address Header (Title + Edit Link) */
.woocommerce-Address-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align left */
    justify-content: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
    gap: 15px;
    width: 100%;
}

.woocommerce-Address-title h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.2;
    text-align: left;
    width: 100%;
}

.woocommerce-Address-title .edit {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    background: #f9f9f9;
    border: 1px solid #E2E2E2;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    align-self: flex-start;
    /* Ensure button stays left */
    text-align: center;
}

.woocommerce-Address-title h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.2;
}

.woocommerce-Address-title .edit {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    background: #f9f9f9;
    border: 1px solid #E2E2E2;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.woocommerce-Address-title .edit:hover {
    background: var(--color-primary);
    color: #fff !important;
    border-color: var(--color-primary);
    text-decoration: none;
}

/* Content Address Text */
.woocommerce-Address address {
    font-style: normal;
    color: #444;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 0;
}

/* Intro Text styling */
.woocommerce-MyAccount-content>p {
    color: #666;
    font-size: 15px;
    margin-bottom: 10px;
}

/* Responsive - Stack columns on mobile */
@media (max-width: 768px) {
    .woocommerce-Addresses.col2-set {
        grid-template-columns: 1fr;
    }

    .woocommerce-Address {
        padding: 20px;
    }
}

/* =========================================
   Offers Page Styling (Gauti/Mano pasiūlymai)
   ========================================= */

/* Wrap each section in a card */
.inhoby-offers {
    background: #fff;
    border: 1px solid #E2E2E2;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.inhoby-offers h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    margin-top: 0;
    line-height: 1.3;
}

.inhoby-offers p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

/* Hide the default HR */
.woocommerce-MyAccount-content>hr {
    display: none;
}

/* Table Styling for Offers */
.inhoby-offers table.shop_table {
    border: 1px solid #E2E2E2;
    border-radius: 8px;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    /* Required for border-radius */
    overflow: hidden;
}

.inhoby-offers table.shop_table thead th {
    background-color: #f9f9f9;
    color: #333;
    font-weight: 600;
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #E2E2E2;
    font-size: 14px;
}

.inhoby-offers table.shop_table tbody td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 14px;
    vertical-align: middle;
    line-break: anywhere;
}

.inhoby-offers table.shop_table tbody tr:last-child td {
    border-bottom: none;
}

/* Price Styling */
.inhoby-offers .woocommerce-Price-amount {
    font-weight: 600;
    color: #111;
}

/* Status Column Styling (Assuming 4th column) */
.inhoby-offers td:nth-child(4) {
    font-weight: 500;
}

/* Desktop Column Widths Optimization */
@media (min-width: 769px) {

    .inhoby-offers table.shop_table th:nth-child(1),
    .inhoby-offers table.shop_table td:nth-child(1) {
        width: 15%;
        /* Date */
    }

    .inhoby-offers table.shop_table th:nth-child(2),
    .inhoby-offers table.shop_table td:nth-child(2) {
        width: 40%;
        /* Product - Main content */
    }

    .inhoby-offers table.shop_table th:nth-child(3),
    .inhoby-offers table.shop_table td:nth-child(3) {
        width: 15%;
        /* Price */
    }

    .inhoby-offers table.shop_table th:nth-child(4),
    .inhoby-offers table.shop_table td:nth-child(4) {
        width: 15%;
        /* Status */
    }

    .inhoby-offers table.shop_table th:nth-child(5),
    .inhoby-offers table.shop_table td:nth-child(5) {
        width: 15%;
        /* Actions */
        text-align: center;
    }
}

/* Responsive Table */
@media (max-width: 768px) {
    .inhoby-offers {
        padding: 20px;
    }

    .inhoby-offers table.shop_table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border: none;
    }

    .inhoby-offers table.shop_table thead {
        display: none;
        /* Often tables on mobile hide headers or use data-label */
    }

    /* Simple mobile scroll view for now */
    .inhoby-offers table.shop_table tbody,
    .inhoby-offers table.shop_table tr,
    .inhoby-offers table.shop_table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .inhoby-offers table.shop_table {
        white-space: normal;
        /* Allow wrapping on mobile */
    }

    .inhoby-offers table.shop_table tr,
    .inhoby-offers table.shop_table tr:nth-child(odd),
    .inhoby-offers table.shop_table tr:nth-child(even) {
        margin-bottom: 20px;
        border: 1px solid #E2E2E2;
        border-radius: 12px;
        padding: 15px;
        background: #fff !important;
        /* Force white background */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    }

    .inhoby-offers table.shop_table td {
        text-align: right;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 40px;
        background-color: transparent !important;
        /* Ensure no cell background */
    }

    .inhoby-offers table.shop_table tr td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .inhoby-offers table.shop_table td::before {
        content: attr(data-title);
        /* Fallback if present */
        float: left;
        font-weight: 700;
        color: #111;
        margin-right: 15px;
        font-size: 14px;
    }

    /* Manual Labels for Mobile since data-title is likely missing */
    .inhoby-offers table.shop_table td:nth-of-type(1)::before {
        content: "Data";
    }

    .inhoby-offers table.shop_table td:nth-of-type(2)::before {
        content: "Produktas";
    }

    .inhoby-offers table.shop_table td:nth-of-type(3)::before {
        content: "El. paštas";
    }
    .inhoby-offers table.shop_table td:nth-of-type(4)::before {
        content: "Siūloma kaina";
    }

    .inhoby-offers table.shop_table td:nth-of-type(5)::before {
        content: "Būsena";
    }

    .inhoby-offers table.shop_table td:nth-of-type(6)::before {
        content: "Veiksmai";
    }

    /* Specific modification for Product Name on mobile */
    .inhoby-offers table.shop_table td:nth-of-type(2) {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 5px;
    }

    .inhoby-offers table.shop_table td:nth-of-type(2)::before {
        margin-bottom: 2px;
        color: #777;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
}

/* =========================================
   WCFM Pages Styling (Payments, Withdrawal, Settings)
   ========================================= */

/* Hide unwanted WCFM headers/elements in the account content area */
#wcfm_payments_listing .wcfm-page-headig,
#wcfm_withdrawal_listing .wcfm-page-headig,
.wcfm_menu_toggler,
.wcfm-store-name-heading-text,
.wcfm_header_panel {
    display: none !important;
}

/* Container Spacing */
.wcfm-container {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 30px;
}

/* Standardize Headings & Top Bar Layout */
.wcfm-container h2,
.header-wrap h3,
.wcfm-container.wcfm-top-element-container h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    border: none !important;
    padding: 0 !important;
}

.wcfm-container h2 span {
    font-weight: 400;
    font-size: 16px;
    color: #555;
    margin-left: auto;
    /* Push dates/amounts to right if needed */
}

/* Unified Header/Top Bar Container */
.header-wrap,
.wcfm-container.wcfm-top-element-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 25px !important;
    width: 100% !important;
    padding: 0 !important;
    flex-wrap: wrap;
    gap: 15px;
}

/* Fix WCFM Container inner structure if needed */
.wcfm-container.wcfm-top-element-container>div {
    display: flex;
    align-items: center;
}

/* Header Action Buttons (Unified) */
.header-wrap .add_new_wcfm_ele_dashboard,
.wcfm-container.wcfm-top-element-container .add_new_wcfm_ele_dashboard {
    background-color: #fff !important;
    border: 1px solid #E2E2E2 !important;
    color: #333 !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    margin-left: 10px !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    right: auto !important;
    top: auto !important;
    position: relative !important;
}

.header-wrap .add_new_wcfm_ele_dashboard:hover,
.wcfm-container.wcfm-top-element-container .add_new_wcfm_ele_dashboard:hover {
    background-color: var(--color-primary) !important;
    color: #fff !important;
    border-color: var(--color-primary) !important;
}

.header-wrap .add_new_wcfm_ele_dashboard .wcfmfa,
.wcfm-container.wcfm-top-element-container .add_new_wcfm_ele_dashboard .wcfmfa {
    font-size: 14px !important;
    color: inherit !important;
}

/* Active/Primary Button State logic can be added here if we can identify it class-wise */

/* WCFM Tables (Payments, Withdrawals) */
#wcfm-payments_wrapper,
#wcfm-withdrawal_wrapper {
    background: #fff;
    border: 1px solid #E2E2E2;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

/* Table Filters */
.wcfm_filters_wrap {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.wcfm_filters_wrap select,
.wcfm_filters_wrap input.wcfm-date-range {
    height: 40px !important;
    border: 1px solid #E2E2E2 !important;
    border-radius: 6px !important;
    padding: 0 12px !important;
    color: #333 !important;
    background: #fff !important;
    box-shadow: none !important;
}

/* DataTables Styling */
table.dataTable thead th {
    background-color: #f9fafb;
    color: #6b7280;
    font-weight: 600;
    font-size: 13px;
    padding: 12px !important;
    border-bottom: 1px solid #E2E2E2 !important;
}

table.dataTable tbody td {
    padding: 15px 12px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    color: #333;
    font-size: 14px;
}

table.dataTable tbody tr:last-child td {
    border-bottom: none !important;
}

/* Status Icons/Colors in Table */
.wcicon-status-completed,
.wcicon-status-processing,
.wcicon-status-cancelled {
    font-family: inherit !important;
    /* Reset icon font if needed */
}

/* Pagination */
.dataTables_paginate .paginate_button {
    border-radius: 6px !important;
    border: 1px solid #E2E2E2 !important;
    background: #fff !important;
    color: #333 !important;
    padding: 5px 12px !important;
    margin: 0 2px !important;
}

.dataTables_paginate .paginate_button.current {
    background: var(--color-primary) !important;
    color: #fff !important;
    border-color: var(--color-primary) !important;
}

/* Bank Settings Form */
/* Using existing .woocommerce-EditAccountForm styles, just tweaking WCFM specific inputs if needed */
/* Ensure WCFM form inputs match our account styling */
.wcfm-select,
.wcfm-text,
.wcfm-textarea {
    width: 100%;
    border: 1px solid #E2E2E2 !important;
    border-radius: 6px !important;
    padding: 0 15px !important;
    height: 48px !important;
    font-size: 14px !important;
    color: #1C1C1C !important;
    box-shadow: none !important;
    background: #fff !important;
}

/* Withdrawal Form Action */
#wcfm_withdrawal_request_button {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    float: right;
    margin-top: 20px;
}

#wcfm_withdrawal_request_button:hover {
    opacity: 0.9;
}

.withdrawal_charge_help {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
    font-style: italic;
}

/* Responsive Tables */
@media (max-width: 768px) {
    .header-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .header-wrap>div {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        /* buttons wrap */
    }

    /* Force horizontal scroll on tables instead of breaking layout */
    #wcfm-payments_wrapper,
    #wcfm-withdrawal_wrapper {
        overflow-x: auto;
        padding: 0;
        border: none;
        box-shadow: none;
    }

    table.dataTable {
        min-width: 600px;
        /* Ensure table maintains width for readability */
    }

    .wcfm_filters_wrap {
        flex-direction: column;
    }

    .wcfm_filters_wrap select,
    .wcfm_filters_wrap input {
        width: 100% !important;
    }
}