/* Star ratings: Unicode stars, not Dashicons */

.wcv-star-rating {
    position: relative;
    font-size: 24px;
    font-family: inherit;
    display: inline-block;
    line-height: 1;
    letter-spacing: 2px;
}

.wcv-star-rating::before {
    content: "☆☆☆☆☆";
    color: #d5d4dc;
}

.wcv-star-rating .wcv-star-rating-filled {
    color: #f5b700;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.wcv-star-rating .wcv-star-rating-filled::before {
    content: "★★★★★";
    letter-spacing: 2px;
}

.wcv-grid .wcv-section .wcv-sales-snapshot-content .wcv-sales-snapshot-item {
    padding: 20px 15px !important;
}

/* Mobile nav accordion */

@media screen and (max-width: 768px) {
    .wcv-navigation {
        position: relative;
        margin-bottom: 16px !important;
        background: transparent !important;
        padding: 0 !important;
    }

    .wcv-navigation::before {
        content: "Menu ▼";
        display: block;
        background: var(--rc-clay-brown, #A27B5C);
        color: white;
        padding: 12px 16px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        border-radius: 4px;
        text-align: center;
        margin-bottom: 8px;
        transition: background 0.2s ease;
    }

    .wcv-navigation:hover::before {
        background: var(--rc-charcoal-green, #2C3639);
    }

    .wcv-navigation .wcv-dashboard-menu {
        display: none !important;
        margin-top: 0 !important;
        background: #2C3639 !important;
        border-radius: 4px;
        padding: 8px !important;
    }

    .wcv-navigation.wcv-nav-open .wcv-dashboard-menu {
        display: block !important;
    }

    .wcv-navigation.wcv-nav-open::before {
        content: "Menu ▲";
    }

    .wcv-navigation .wcv-dashboard-menu li a,
    .wcv-navigation .wcv-dashboard-menu li .wcv-dashboard-nav-item-link {
        font-size: 14px !important;
        padding: 10px 12px !important;
        line-height: 1.4 !important;
        display: block;
        border-radius: 4px;
    }

    .wcv-navigation .wcv-dashboard-menu li {
        margin-bottom: 4px !important;
    }

    .wcv-navigation .wcv-dashboard-menu li.active a,
    .wcv-navigation .wcv-dashboard-menu li.active .wcv-dashboard-nav-item-link {
        background: rgba(162, 123, 92, 0.1);
        font-weight: 600;
    }

    /* Own accordion replaces the default "More" button */
    #dashboard-menu-item-more-button {
        display: none !important;
    }
}

/* Page title - Neuton */
.wcv-grid h1,
.wcv-grid .wcv-tab-page-heading,
#wcv-product-edit > h2:first-of-type,
.wcv-grid .wcv-heading {
    font-family: 'Neuton', serif !important;
    font-weight: 700;
    color: var(--rc-charcoal-green);
}

/* Everything else - Mulish */
.wcv-grid,
.wcv-grid *,
.wcv-form,
.wcv-form *,
#wcv-product-edit,
#wcv-product-edit * {
    font-family: 'Mulish', sans-serif;
}

.wcv-form label,
.wcv-grid label,
#wcv-product-edit label {
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--rc-charcoal-green);
}

.wcv-grid input[type="text"],
.wcv-grid input[type="number"],
.wcv-grid input[type="url"],
.wcv-grid input[type="email"],
.wcv-grid input[type="password"],
.wcv-grid input[type="search"],
.wcv-grid input[type="tel"],
.wcv-grid select,
.wcv-grid textarea,
.wcv-form input,
.wcv-form select,
.wcv-form textarea {
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    color: var(--rc-deep-black-green, #202729);
}

.wcv-grid input::placeholder,
.wcv-grid textarea::placeholder,
.wcv-form input::placeholder,
.wcv-form textarea::placeholder {
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    color: var(--rc-slate-gray, #3F4E4F);
    opacity: 0.7;
}

.wcv-grid .help-block,
.wcv-grid .description,
.wcv-form .help-block,
.wcv-form .description {
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    color: var(--rc-slate-gray, #3F4E4F);
}

.wcv-grid .wcv-product-accordion .wcv-accordion-title {
    background-color: #f0f0f2;
    border: 1px solid #d5d4dc;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.wcv-grid .wcv-product-accordion .wcv-accordion-title h3 {
    font-family: 'Mulish', sans-serif !important;
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.wcv-grid .wcv-product-accordion .wcv-accordion-title:hover {
    background-color: #e8e8ec;
}

.wcv-grid .wcv-product-accordion .wcv-accordion-title.active {
    background-color: #f4f7fc;
    border-color: #0f62fe;
    border-bottom: none;
}

.wcv-grid .wcv-product-accordion .wcv-accordion-title.active h3 {
    color: #0f62fe;
}

.wcv-grid .wcv-product-accordion .wcv-accordion-title .wcv-icon {
    color: #333;
}

.wcv-grid .wcv-product-accordion .wcv-accordion-title.active .wcv-icon {
    color: #0f62fe;
}

.wcv-grid .wcv-product-accordion .tabs-content {
    border: 1px solid #0f62fe;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.wcv-grid .select_all_attributes,
.wcv-grid .select_no_attributes,
.wcv-grid .woocommerce_attribute a,
.wcv-grid a.add_new_attribute,
.wcv_product_attributes a,
.attribute_values a {
    color: #0f62fe !important;
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
}

.wcv-grid .select_all_attributes:hover,
.wcv-grid .select_no_attributes:hover,
.wcv-grid .woocommerce_attribute a:hover,
.wcv-grid a.add_new_attribute:hover,
.wcv_product_attributes a:hover,
.attribute_values a:hover {
    color: #004fcf !important;
}

.wcv-grid button.add_new_attribute,
.wcv_attribute_data button.add_new_attribute,
.woocommerce_attribute button.add_new_attribute {
    color: #0f62fe !important;
    background: transparent !important;
    border: 1px solid #0f62fe !important;
    padding: 4px 10px;
    font-size: 13px;
    cursor: pointer;
}

.wcv-grid button.add_new_attribute:hover,
.wcv_attribute_data button.add_new_attribute:hover,
.woocommerce_attribute button.add_new_attribute:hover {
    color: #fff !important;
    background: #0f62fe !important;
}

/* Product form two-column layout: name/status, descriptions, categories/tags */

.wcv-product-basic.wcv-product {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.wcv-product-basic.wcv-product > * {
    flex: 0 0 100%;
    max-width: 100%;
}

.wcv-product-basic .control-group:has(#post_title) {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
    order: 1;
}

.wcv-product-basic .rc-status-row,
#wcv-product-edit .rc-status-row {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
    order: 2;
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding-top: 0 !important;
}

.wcv-product-basic .rc-status-row label,
#wcv-product-edit .rc-status-row label {
    margin-top: 0 !important;
    padding-top: 0 !important;
    font-size: 14px !important;
    opacity: 1 !important;
    vertical-align: baseline !important;
}

.wcv-product-basic .rc-status-row select,
#wcv-product-edit .rc-status-row select {
    margin-left: 8px;
}

.wcv-product-basic .rc-featured-toggle,
#wcv-product-edit .rc-featured-toggle {
    flex: 0 0 100%;
    max-width: 100%;
    order: 3;
}

.wcv-product-basic .control-group:has(#post_excerpt) {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
    order: 4;
}

.wcv-product-basic .control-group:has(#post_content),
.wcv-product-basic .control-group:has(.wp-editor-wrap) {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
    order: 5;
}

.wcv-product-basic .wcv-cols-group {
    flex: 0 0 100%;
    order: 6;
}

/* Stack on mobile */
@media (max-width: 768px) {
    .wcv-product-basic .control-group:has(#post_title),
    .wcv-product-basic .rc-status-row,
    #wcv-product-edit .rc-status-row,
    .wcv-product-basic .rc-featured-toggle,
    #wcv-product-edit .rc-featured-toggle,
    .wcv-product-basic .control-group:has(#post_excerpt),
    .wcv-product-basic .control-group:has(#post_content),
    .wcv-product-basic .control-group:has(.wp-editor-wrap) {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .wcv-product-basic .control-group:has(#post_title) { order: 1; }
    .wcv-product-basic .rc-status-row,
    #wcv-product-edit .rc-status-row { order: 2; }
    .wcv-product-basic .rc-featured-toggle,
    #wcv-product-edit .rc-featured-toggle { order: 3; }
    .wcv-product-basic .control-group:has(#post_excerpt) { order: 4; }
    .wcv-product-basic .control-group:has(#post_content),
    .wcv-product-basic .control-group:has(.wp-editor-wrap) { order: 5; }
    .wcv-product-basic .wcv-cols-group { order: 6; }
}

/* Hide broken Font Awesome resize-handle icon in the editor */
.wcv-product-basic .mce-i-resize::before,
.wcv-product-basic .mce-i-resize::after,
#wcv-product-edit .mce-i-resize::before,
#wcv-product-edit .mce-i-resize::after {
    content: '' !important;
    display: none !important;
}

.wcv-product-basic .mce-i-resize,
#wcv-product-edit .mce-i-resize {
    font-family: inherit !important;
    color: transparent !important;
    font-size: 0 !important;
    display: none !important;
}

.wcv-product-basic .mce-resizehandle,
#wcv-product-edit .mce-resizehandle {
    font-family: inherit !important;
}

#wcv-product-edit .wcv-product-media {
    margin-bottom: 8px !important;
}

#wcv-product-edit .wcv-product-media-wrapper {
    margin-bottom: 8px !important;
}

#wcv-product-edit .product-feat-image-upload,
#wcv-product-edit #product-imgs-gallery-parent {
    margin-bottom: 8px !important;
}

#wcv-product-edit #product_images_container {
    margin-bottom: 8px !important;
}

#wcv-product-edit .all-45.product-feat-image-upload {
    margin-bottom: 8px !important;
}

.wcv-media-uploader-featured-replace.hidden {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.wcv-product-basic .control-label {
    margin-bottom: 8px !important;
}

.wcv-product-basic .control-group {
    margin-bottom: 12px !important;
}

.rc-featured-toggle {
    margin-top: 0;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.wcv-file-uploader_wcv_store_icon_id img,
img.wcv-store-icon {
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.wcv-file-uploader_wcv_store_banner_id img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.rc-featured-toggle .control-label {
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.rc-featured-toggle .controls label.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.rc-featured-toggle .help-block {
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    color: #666;
    margin-top: 6px;
    margin-bottom: 0;
}

.wcv-gap-bottom {
    margin-bottom: 0 !important;
}

.wcv-grid .wcv-tab-page-heading-wrapper {
    margin-bottom: 10px;
}

.wcv-gap-top {
    margin-top: 20px;
}

.wcv-grid .wcv-select-container,
.wcv-grid .wcv-search-box-wrapper,
.wcv-grid .wcv-datepicker-wrapper,
.wcv-grid input[type="text"]:not(.wcv-datepicker),
.wcv-grid input[type="number"],
.wcv-grid input[type="url"],
.wcv-grid input[type="email"],
.wcv-grid input[type="password"],
.wcv-grid input[type="search"],
.wcv-grid input[type="tel"],
.wcv-grid select,
.wcv-phone-input-wrapper {
    height: 40px;
}

.wcv-grid .wcv-search-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    padding: 0 14px;
}

.wcv-grid .wcv-search-button svg {
    display: block;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="tel"],
textarea,
select {
    margin-bottom: 0;
}

.wcv-grid .control-group {
    margin-bottom: 16px;
}

.wcv-tabs .tabs-nav li a {
    font-size: 1.2rem;
    padding: 5px 25px;
}

.wcv-grid h3 {
    font-size: 1.25em;
}

.wcv-grid .wcv-store-setting-section {
    margin: 20px 0;
}

.wcv-grid .wcv-store-setting-section .wcv-store-setting-section-title {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

#shipping .control-group {
    margin-bottom: 10px !important;
}

#shipping .control-group label[for="_wcv_shipping_address2"],
#shipping .control-group label[for="_wcv_shipping_city"],
#shipping .control-group label[for="_wcv_shipping_state"],
#shipping .control-group label[for="_wcv_shipping_postcode"] {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}

#shipping .control-group label {
    margin-bottom: 0 !important;
}

#shipping .select2-container {
    height: auto !important;
    min-height: 0 !important;
}

#shipping .select2-selection {
    height: auto !important;
    min-height: 38px !important;
}

#shipping .select2-selection__rendered {
    line-height: 36px !important;
    padding: 0 12px !important;
}

#shipping .select2-selection__arrow {
    height: 36px !important;
}

.wcv-grid .wcv-form .control {
    max-width: 100%;
    overflow: visible;
}

.wcv-grid .wcv-form .control-group.no-margin {
    margin-bottom: 0 !important;
}

.wcv-grid .wcv-button-group {
    float: none !important;
    text-align: left !important;
    margin: 16px 0 0 0 !important;
    width: 100% !important;
}

.wcv-grid .wcv-button-group.small {
    display: block !important;
    max-width: 100% !important;
}

body .entry-content .wcv-grid .wcv-flex.wcv-flex-end {
    justify-content: flex-start !important;
    margin: 16px 0 0 0 !important;
    max-width: 100%;
    box-sizing: border-box;
}

.wcv-grid .wcv-sub-heading {
    font-size: 1.25rem;
}

body .entry-content .wcv-grid .wcv-flex.wcv-flex-end,
body .entry-content .wcv-grid .all-30.wcv-flex.wcv-flex-end,
body .entry-content .wcv-grid .all-100.wcv-flex.wcv-flex-end {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    float: none !important;
    width: auto !important;
    margin: 0 0 16px auto !important;
    flex-wrap: wrap !important;
    padding-top: 22px !important;
}

body .entry-content .wcv-grid .wcv-flex.wcv-flex-end .wcv-button,
body .entry-content .wcv-grid .wcv-flex.wcv-flex-end #clear_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 40px !important;
    padding: 0 16px !important;
    line-height: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.wcv-grid table.subscription_details {
    border-collapse: separate;
    border-spacing: 0 0px;
    width: 100%;
}

.wcv-grid table.subscription_details tbody tr {
    display: table-row;
}

.wcv-grid table.subscription_details tbody tr td {
    padding: 6px 12px;
    vertical-align: top;
}

.wcv-grid table.subscription_details tbody tr td:last-child {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 12px;
}

.wcv-grid table.subscription_details tbody tr td:last-child a.button,
.wcv-grid .wcv-button, .wcv-grid .button,
.wcv-grid .wcv-button.wcv-button-blue, .wcv-grid .button.wcv-button-blue:hover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    background-color: #A27B5C;
    color: #fff;
    text-decoration: none;
    border: none;
}

.wcv-grid .wcv-button.wcv-button-blue, .wcv-grid .button.wcv-button-blue:hover,
.wcv-grid .wcv-button.wcv-button-blue, .wcv-grid .button.wcv-button-blue:focus,
.wcv-grid table.subscription_details tbody tr td:last-child a.button:hover,
.wcv-grid table.subscription_details tbody tr td:last-child a.button:focus, 
.wcv-grid .wcv-button, .wcv-grid .button:focus,
.wcv-grid .wcv-button, .wcv-grid .button:hover {
    background-color: #8F684C;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .wcv-grid table.subscription_details tbody tr td:last-child {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
    }
}

.wcv-grid .subscription-plan-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0px;
}

.wcv-grid .subscription-plan-table tbody tr {
    display: table-row;
}

.wcv-grid .subscription-plan-table tbody tr td {
    padding: 6px 12px;
}

.wcv-grid table td,
.wcv-grid table th {
    padding: 0 5px;
}

/* Card layout below 1025px so the orders table doesn't scrunch */
@media screen and (max-width: 1025px) {
    .wcv-grid table.wcvendors-table-order thead,
    .wcv-grid .wcvendors-table-order thead {
        display: none !important;
    }

    .wcv-grid table.wcvendors-table-order tbody tr,
    .wcv-grid .wcvendors-table-order tbody tr {
        display: block !important;
        border: 1px solid #d5d4dc !important;
        border-radius: 8px !important;
        margin-bottom: 16px !important;
        background: #fff !important;
        padding: 16px !important;
    }

    .wcv-grid table.wcvendors-table-order tbody tr td,
    .wcv-grid .wcvendors-table-order tbody tr td {
        display: block !important;
        width: 100% !important;
        padding: 12px 0 !important;
        border: none !important;
        border-bottom: 1px solid #f0f0f2 !important;
        text-align: left !important;
        font-size: 14px !important;
    }

    .wcv-grid table.wcvendors-table-order tbody tr td:last-child,
    .wcv-grid .wcvendors-table-order tbody tr td:last-child {
        border-bottom: none !important;
    }

    .wcv-grid table.wcvendors-table-order tbody tr td.order_number,
    .wcv-grid table.wcvendors-table-order tbody tr td:first-child,
    .wcv-grid .wcvendors-table-order tbody tr td.order_number,
    .wcv-grid .wcvendors-table-order tbody tr td:first-child {
        font-size: 16px !important;
        font-weight: 600 !important;
        padding: 12px 16px !important;
        border-bottom: 2px solid #d5d4dc !important;
        margin: -16px -16px 12px -16px !important;
        display: block !important;
        background: #f5f5f7 !important;
        border-radius: 8px 8px 0 0 !important;
        width: calc(100% + 32px) !important;
    }

    .wcv-grid table.wcvendors-table-order tbody tr td.order_number p.order_id,
    .wcv-grid .wcvendors-table-order tbody tr td.order_number p.order_id {
        display: block !important;
        margin-bottom: 4px !important;
    }

    .wcv-grid table.wcvendors-table-order tbody tr td.order_number p.order_id .wcv_mobile,
    .wcv-grid .wcvendors-table-order tbody tr td.order_number p.order_id .wcv_mobile {
        display: none !important;
    }

    .wcv-grid table.wcvendors-table-order tbody tr td.order_number p.order_date,
    .wcv-grid .wcvendors-table-order tbody tr td.order_number p.order_date {
        display: block !important;
        font-weight: 400 !important;
        margin-bottom: 8px !important;
    }

    .wcv-grid table.wcvendors-table-order tbody tr td.order_number p.wcv-status,
    .wcv-grid .wcvendors-table-order tbody tr td.order_number p.wcv-status {
        display: inline-block !important;
        margin-top: 8px !important;
    }

    .wcv-grid table.wcvendors-table-order tbody tr td.total,
    .wcv-grid table.wcvendors-table-order tbody tr td.rc_commission,
    .wcv-grid table.wcvendors-table-order tbody tr td.rc_fees,
    .wcv-grid table.wcvendors-table-order tbody tr td.status,
    .wcv-grid .wcvendors-table-order tbody tr td.total,
    .wcv-grid .wcvendors-table-order tbody tr td.rc_commission,
    .wcv-grid .wcvendors-table-order tbody tr td.rc_fees,
    .wcv-grid .wcvendors-table-order tbody tr td.status {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
    }

    .wcv-grid table.wcvendors-table-order tbody tr td.total *,
    .wcv-grid table.wcvendors-table-order tbody tr td.rc_commission *,
    .wcv-grid table.wcvendors-table-order tbody tr td.rc_fees *,
    .wcv-grid table.wcvendors-table-order tbody tr td.status *,
    .wcv-grid .wcvendors-table-order tbody tr td.total *,
    .wcv-grid .wcvendors-table-order tbody tr td.rc_commission *,
    .wcv-grid .wcvendors-table-order tbody tr td.rc_fees *,
    .wcv-grid .wcvendors-table-order tbody tr td.status * {
        text-align: right !important;
    }

    .wcv-grid table.wcvendors-table-order tbody tr td.actions,
    .wcv-grid .wcvendors-table-order tbody tr td.actions {
        text-align: center !important;
        padding-top: 16px !important;
        border-top: 1px solid #f0f0f2 !important;
        margin-top: 8px !important;
    }

    .wcv-grid table.wcvendors-table-order tbody tr td .mobile_header,
    .wcv-grid .wcvendors-table-order tbody tr td .mobile_header {
        display: none !important;
    }
}

@media (max-width: 900px) {
    body .entry-content .wcv-grid .wcv-flex.wcv-flex-end,
    body .entry-content .wcv-grid .all-30.wcv-flex.wcv-flex-end,
    body .entry-content .wcv-grid .all-100.wcv-flex.wcv-flex-end {
        justify-content: flex-start !important;
        width: 100% !important;
        margin: 8px 0 0 0 !important;
    }
}

.pricing-box.current {
	background: var(--rc-warm-beige);
}

.wcv-grid .wcv-order-details .wcv-order-thumb img {
    margin-left: 20px;
}

.wcv-modal .wcv-order-thumb img + img {
    display: none !important;
}

.wcv-modal.wcv-modal-fullscreen {
    max-height: 100vh !important;
    height: 100vh !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

.wcv-modal.wcv-modal-fullscreen .modal-body {
    max-height: calc(100vh - 140px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 30px 40px !important;
}

.wcv-modal:not(.wcv-modal-fullscreen) {
    max-height: 90vh !important;
    height: auto !important;
    overflow: hidden !important;
}

.wcv-modal:not(.wcv-modal-fullscreen) .modal-body {
    max-height: calc(90vh - 140px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.wcv-modal > .modal-header > .modal-close,
.wcv-modal > header > .modal-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 0 !important;
}

.wcv-modal > .modal-header > .modal-close:after,
.wcv-modal > header > .modal-close:after {
    content: "\f00d" !important;
    font-family: FontAwesome !important;
    font-size: 16px !important;
    line-height: 26px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 26px !important;
    height: 26px !important;
    text-align: center !important;
}

.wcv-modal .order-detail-title {
    font-size: 20px;
}

/* Customer details grid - side by side in full-screen modal */
.wcv-modal-fullscreen .wcv-order-customer-details.rc-customer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.wcv-modal .billing-details,
.rc-customer-grid>div,
.wcv-modal .shipping-details {
    background: var(--rc-ivory);
    border-radius: 4px;
    padding-top: 20px;
    padding-left: 16px;
    font-weight: 600;
    font-size: 16px;
}

/* Stack addresses on smaller screens */
@media (max-width: 1200px) {
    .wcv-modal-fullscreen .wcv-order-customer-details.rc-customer-grid {
        grid-template-columns: 1fr;
    }
}

.wcv-modal .wcv-order-items-details th {
    text-transform: none;
    font-size: 16px;
    font-weight: 700;
}

.wcv-modal .wcv-order-items-details table tbody tr td {
    padding: 0px 0px;
}

/* Fix button text alignment in modals */
.wcv-modal .wcv-button-group .wcv-button,
.wcv-modal .modal-footer .wcv-button,
.wcv-modal input[type="submit"].wcv-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    text-align: center !important;
    vertical-align: middle !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.wcv-modal .select2-container .select2-selection--single,
.wcv-modal .wcv-select-container {
    height: 40px !important;
    min-height: 40px !important;
}

/* z-index below Select2 dropdown so it doesn't cover the dropdown */
.wcv-modal .wcv-datepicker-wrapper {
    z-index: 1 !important;
}

.wcv-modal .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.wcv-modal .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    top: 0 !important;
}

.wcv-modal .select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: -1px !important;
}

.wcv-modal select.wcv-select2,
.wcv-modal select.wcv_shipping_provider {
    height: 40px !important;
}

.wcv-modal .select2-container {
    display: block !important;
}

.wcv-modal .control-group select.wcv-select2 + .select2-container {
    margin-top: 5px;
}

.wcv-grid .wcv-datepicker-wrapper,
.wcv-modal .wcv-datepicker-wrapper,
.wcv-form .wcv-datepicker-wrapper {
    overflow: visible !important;
}

.wcv-grid .control-group.no-margin,
.wcv-modal .control-group.no-margin,
.wcv-form .control-group.no-margin {
    overflow: visible !important;
    margin-bottom: 0 !important;
}

.wcv-grid input.wcv-datepicker,
.wcv-modal input.wcv-datepicker,
.wcv-form input.wcv-datepicker {
    height: 20px !important;
    line-height: 1.5 !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
}

.wcv-grid .control-group,
.wcv-form .control-group {
    overflow: visible !important;
    margin-bottom: 16px !important;
}

.wcv-grid input::placeholder,
.wcv-grid textarea::placeholder,
.wcv-form input::placeholder,
.wcv-form textarea::placeholder,
.wcv-grid .wcv-search-box-input::placeholder {
    line-height: 1.5 !important;
    vertical-align: middle !important;
}

.wcv-grid input[type="text"],
.wcv-grid input[type="number"],
.wcv-grid input[type="url"],
.wcv-grid input[type="email"],
.wcv-grid input[type="password"],
.wcv-grid input[type="search"],
.wcv-grid input[type="tel"],
.wcv-form input[type="text"],
.wcv-form input[type="number"],
.wcv-form input[type="url"],
.wcv-form input[type="email"],
.wcv-form input[type="password"],
.wcv-form input[type="search"],
.wcv-form input[type="tel"] {
    line-height: 1.5 !important;
    box-sizing: border-box !important;
}

.wcv-grid .wcv-search-button,
.wcv-form .wcv-search-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    padding: 0 14px !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

.wcv-grid .wcv-search-box-wrapper,
.wcv-form .wcv-search-box-wrapper {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
}

.wcv-grid .wcv-search-box-wrapper .control-group,
.wcv-form .wcv-search-box-wrapper .control-group {
    flex: 1 !important;
    margin: 0 !important;
    overflow: visible !important;
}

.wcv-grid .wcv-search-box-wrapper .control-group label,
.wcv-form .wcv-search-box-wrapper .control-group label {
    display: none !important;
}

.wcv-grid .wcv-search-box-wrapper .control-group .control,
.wcv-form .wcv-search-box-wrapper .control-group .control {
    margin: 0 !important;
}

.wcv-grid .wcv-search-box-wrapper input,
.wcv-form .wcv-search-box-wrapper input {
    width: 100% !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    line-height: normal !important;
}

.wcv-grid .wcv-search-box-wrapper button,
.wcv-form .wcv-search-box-wrapper button {
    height: 40px !important;
    margin: 0 0 0 8px !important;
    flex-shrink: 0 !important;
}

.wcv-grid .wcv-flex-end button,
.wcv-form .wcv-flex-end button,
.wcv-grid button#update_button,
.wcv-grid button#clear_button,
.wcv-form button#update_button,
.wcv-form button#clear_button {
    height: 40px !important;
    line-height: 1 !important;
    padding: 8px 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.wcv-grid .wcv-datepicker-wrapper.wcv-flex,
.wcv-modal .wcv-datepicker-wrapper.wcv-flex,
.wcv-form .wcv-datepicker-wrapper.wcv-flex {
    display: flex !important;
    align-items: center !important;
    height: 40px !important;
}

.wcv-grid .wcv-datepicker-wrapper.wcv-flex input,
.wcv-modal .wcv-datepicker-wrapper.wcv-flex input,
.wcv-form .wcv-datepicker-wrapper.wcv-flex input {
    flex: 1 !important;
}

.wcv-modal .modal-body {
    padding: 16px 32px 24px !important;
    overflow-y: auto !important;
}

.wcv-modal .control-group {
    margin-bottom: 16px !important;
    overflow: visible !important;
}

.wcv-modal .control-group:last-of-type {
    margin-bottom: 0 !important;
}

.wcv-modal .control-group label,
.wcv-modal .control label {
    display: block !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    padding-top: 0 !important;
}

.wcv-modal .control-group + .control-group {
    margin-top: 20px !important;
}

.wcv-modal .wcv-cols-group.wcv-control-groups-medium > div {
    margin-bottom: 20px !important;
}

.wcv-modal .wcv-cols-group.wcv-control-groups-medium > div:last-child {
    margin-bottom: 0 !important;
}

.wcv-modal .modal-body > .wcv-cols-group:first-child .control-group:first-child,
.wcv-modal .modal-body > .control-group:first-child {
    margin-top: 0 !important;
}

/* Shipping tax is already included in the main tax total */
.wcv-modal .wcv-order-totals .wcv-order-row.shipping-tax {
    display: none !important;
}

.wcv-modal .wcv-order-totals .wcv-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.wcv-modal .wcv-order-totals .wcv-order-row.fees,
.wcv-modal .wcv-order-totals .wcv-order-row.total-charged {
    align-items: flex-start;
}

.wcv-modal .wcv-order-totals .wcv-order-label {
    text-align: left;
    flex: 0 0 auto;
}

.wcv-modal .wcv-order-totals .wcv-order-value {
    text-align: right;
    flex: 0 0 auto;
    margin-left: auto;
}

.wcv-modal .wcv-order-totals .wcv-order-row.fees .wcv-order-value,
.wcv-modal .wcv-order-totals .wcv-order-row.total-charged .wcv-order-value {
    white-space: normal !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
}

.rc-order-summary-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    max-width: 450px;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rc-summary-title {
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #333;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.rc-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    line-height: 1.6;
}

.rc-summary-label {
    flex: 1;
    text-align: left;
    color: #555;
}

.rc-summary-value {
    flex: 0 0 auto;
    text-align: right;
    font-weight: 500;
    color: #333;
    margin-left: 20px;
}

.rc-summary-divider {
    height: 1px;
    background: #ddd;
    margin: 12px 0;
}

.rc-summary-spacer {
    height: 16px;
}

.rc-summary-row.rc-summary-total {
    padding: 12px 0;
    font-size: 16px;
}

.rc-summary-row.rc-summary-total .rc-summary-label,
.rc-summary-row.rc-summary-total .rc-summary-value {
    color: #333;
}

.rc-summary-row.rc-summary-deduction .rc-summary-label {
    color: #666;
}

.rc-summary-row.rc-summary-deduction .rc-summary-value {
    color: #d63638;
}

.rc-summary-row.rc-summary-breakdown {
    padding: 4px 0 4px 20px;
    font-size: 0.9em;
}

.rc-summary-row.rc-summary-breakdown .rc-summary-label {
    color: #777;
    font-weight: normal;
}

.rc-summary-row.rc-summary-breakdown .rc-summary-value {
    color: #777;
    font-weight: normal;
}

.rc-summary-row.rc-summary-commission {
    padding: 12px 0;
    font-size: 18px;
    background: #f0f9ff;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 0 0 8px 8px;
}

.rc-summary-row.rc-summary-commission .rc-summary-label,
.rc-summary-row.rc-summary-commission .rc-summary-value {
    color: #0073aa;
}

.rc-multi-vendor-indicator {
    cursor: help;
    color: #0073aa;
}

.rc-summary-note {
    font-size: 0.85em;
    color: #666;
    font-style: italic;
    margin-top: 12px;
    text-align: center;
}

.wcv-modal .wcv-order-totals .rc-fee-breakdown {
    display: block !important;
    margin-top: 4px;
    color: #666;
    font-size: 0.85em;
}

.wcv-modal .wcv-order-totals .rc-multi-vendor-note {
    display: block !important;
    margin-top: 2px;
    color: #666;
    font-size: 0.85em;
}

.wcv-modal .wcv-order-items-details table thead th {
    text-align: center !important;
}

.wcv-modal .wcv-order-items-details table thead th:nth-child(2) {
    text-align: left !important;
}

.wcv-modal .wcv-order-items-details table tbody td {
    text-align: center !important;
}

.wcv-modal .wcv-order-items-details table tbody td.name {
    text-align: left !important;
}

.wcv-grid p, .wcv-grid table,
.wcv-grid h4  {
    font-size: 1em;
}

.wcv-grid p, .wcv-grid table, .wcv-grid h4 {
    font-size: 1em;
}

.rc-vendor-application-intro {
    background: var(--rc-ivory, #fdf9f3);
    border: 1px solid var(--rc-warm-beige, #e2d3c2);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.rc-vendor-application-intro__title {
    margin: 0 0 8px;
    font-size: 1.6rem;
    line-height: 1.2;
}

.rc-vendor-application-intro__lead {
    margin: 0 0 12px;
    font-size: 1rem;
    line-height: 1.5;
}

.rc-vendor-application-intro__list {
    margin: 0;
    padding-left: 20px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.rc-vendor-application-intro__list li {
    margin-bottom: 6px;
}

#menu-item-browse, #menu-item-upload {
    color: #000
}

#wcv-product-edit #product-type {
	padding: 4px 36px 14px 12px;
	font-size: 13px;
	width: 200px;
	max-width: 200px;
}

#wcv-product-edit .wcv-product-type .wcv-cols-group {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 24px;
	margin: 0;
}

#wcv-product-edit .wcv-product-type .wcv-cols-group > .all-50:first-child {
	flex: 0 0 auto;
	width: auto;
	max-width: none;
}

#wcv-product-edit .wcv-product-type .wcv-cols-group > .all-50:last-child {
	flex: 0 0 auto;
	width: auto;
	max-width: none;
}

#wcv-product-edit .wcv-product-type .product_type_options {
	margin: 0 !important;
	padding: 0 !important;
	align-items: center;
}

.wcv-grid .wcv-product-accordion .wcv-accordion-title {
	height: 50px;
}

.variations-pagenav, #show_variation_actions, .expand-close {
	font-size: 14px;
}

.wcv-icon-md {
	width: 24px;
	height: 24px;
}

.wcv-grid input[type="text"]:not(.wcv-datepicker), .wcv-grid input[type="number"], .wcv-grid input[type="url"], .wcv-grid input[type="email"], .wcv-grid input[type="password"], .wcv-grid input[type="search"], .wcv-grid input[type="tel"], .wcv-grid select {
	padding: 8px 12px !important;
	line-height: normal !important;
}

.wcv-grid .select_all_attributes, .wcv-grid .select_no_attributes {
	font-size: 14px !important;
	margin-top: 0px !important;
}

.wcv-form .control-group input, .wcv-form .control-group button, .wcv-form .control-group .button {
	margin-top: 5px;
	margin-bottom: 5px;
}

#wcv-product-edit .control-group {
	margin-bottom: 16px;
}

#wcv-product-edit .wcv_desktop {
	margin-bottom: 20px !important;
}

#wcv-product-edit .wcv_mobile {
	margin: 20px 0 !important;
}

#wcv-product-edit .wcv-product-media,
#wcv-product-edit .wcv-product,
#wcv-product-edit .wcv-product-type,
#wcv-product-edit .wcv_product_attributes,
#wcv-product-edit .wcv_product_seo,
#wcv-product-edit .rc-featured-toggle {
	margin-bottom: 12px;
}

#wcv-product-edit .wcv_product_seo,
#wcv-product-edit .wcv_product_attributes,
#wcv-product-edit .wcv_product_variations,
#wcv-product-edit .wcv_product_advanced,
#wcv-product-edit .wcv-product-general,
#wcv-product-edit .wcv-product-inventory,
#wcv-product-edit .wcv-product-shipping,
#wcv-product-edit .wcv-product-upsells {
	padding-top: 12px;
}

#wcv-product-edit .rc-featured-toggle .controls {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#wcv-product-edit .rc-featured-toggle .checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 500;
}

#wcv-product-edit .rc-featured-toggle .checkbox input[type="checkbox"] {
	position: static;
	margin: 0;
}

#wcv-product-edit .rc-featured-toggle .help-block {
	margin: 0;
	color: #58586c;
}

#wcv-product-edit #product-imgs-gallery-parent > span {
	margin: 8px 0 16px;
}

@media (min-width: 768px) {
	#wcv-product-edit .wcv-product-media-wrapper {
		align-items: stretch;
	}

	#wcv-product-edit .product-imgs-gallery-upload {
		align-items: stretch !important;
		justify-content: flex-start !important;
	}

	#wcv-product-edit .product-feat-image-upload,
	#wcv-product-edit #product-imgs-gallery-parent {
		display: flex;
		flex-direction: column;
		gap: 16px;
		height: 100%;
	}

	#wcv-product-edit .product-feat-image-upload .wcv-featuredimg,
	#wcv-product-edit #product_images_container {
		flex-grow: 1;
	}
}

.wcv-shade {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	z-index: 9999 !important;
}

.wcv-modal {
	position: fixed !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	margin-top: 0 !important;
	margin-left: 0 !important;
	max-height: 90vh !important;
	overflow-y: auto !important;
}

.wcv-modal > .modal-header > .modal-close,
.wcv-modal > header > .modal-close {
	font-size: 0 !important;
	width: 32px !important;
	height: 32px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: white !important;
	opacity: 1 !important;
	border: 2px solid #e6e6e6 !important;
}

.wcv-modal > .modal-header > .modal-close:hover,
.wcv-modal > header > .modal-close:hover {
	background: #f5f5f5 !important;
	border-color: #ccc !important;
}

/* Broken FontAwesome icon replaced with SVG below */
.wcv-modal > .modal-header > .modal-close:after,
.wcv-modal > header > .modal-close:after {
	display: none !important;
}

.wcv-modal > .modal-header > .modal-close .wcv-icon,
.wcv-modal > header > .modal-close .wcv-icon {
	width: 20px !important;
	height: 20px !important;
	fill: #333 !important;
}

/* Shipping address field visibility is controlled by vendor-dashboard.js */

.wcvendors-table-order tbody tr td {
    vertical-align: top !important;
}

.wcvendors-table-order td.column-total,
.wcvendors-table-order td.column-rc_fees,
.wcvendors-table-order td.column-rc_commission {
    vertical-align: top !important;
}

.wcvendors-table-order td.column-total strong,
.wcvendors-table-order td.column-rc_fees strong,
.wcvendors-table-order td.column-rc_commission strong {
    display: block;
    line-height: 1.4;
}

.wcvendors-table-order td.column-total {
    font-size: 0;
}

.wcvendors-table-order td.column-total strong,
.wcvendors-table-order td.column-total br,
.wcvendors-table-order td.column-total small {
    font-size: 14px;
}

.wcv-sales-snapshot-item-comparison {
    display: none !important;
}

/* Hide Actions column (4th) on the Orders table only, not Ratings */
.wcv-recent-orders .wcv-dashboard-table thead tr th:nth-child(4) {
    display: none !important;
}

.wcv-recent-orders .wcv-dashboard-table tbody tr td:nth-child(4) {
    display: none !important;
}

.wcv_recent.wcv_recent_orders {
    display: none !important;
}

.wcv_variable_attributes.wcv-metabox-content {
    padding: 12px 16px !important;
}

.wcv_variable_attributes .wcv-cols-group .control-group {
    margin-bottom: 8px !important;
}

.wcv_variable_attributes .wcv-cols-group.wcv-horizontal-gutters:first-child {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    gap: 16px;
}

.wcv_variable_attributes .upload_image.all-100 {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    margin-top: 8px !important;
    text-align: center;
    align-items: stretch !important;
}

.wcv_variable_attributes .upload_image .product-variation-feat-upload {
    width: 100% !important;
    box-sizing: border-box !important;
}

.wcv_variable_attributes .upload_image .wcv-upload-files-input {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 6px !important;
    min-height: auto !important;
    gap: 4px !important;
}

.wcv_variable_attributes .upload_image .wcv-upload-files-input small,
.wcv_variable_attributes .upload_image .wcv-upload-files-input .text-with-lines {
    display: none !important;
}

.wcv_variable_attributes .upload_image .wcv-upload-files-input svg {
    width: 22px !important;
    height: 22px !important;
}

.wcv_variable_attributes .upload_image .wcv-upload-files-input .wcv-browser-file {
    font-size: 12px !important;
    padding: 4px 8px !important;
}

.wcv_variable_attributes .upload_image h6.blue-title {
    font-size: 11px !important;
    margin: 0 0 6px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wcv_variable_attributes .upload_image .upload_image_button img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.wcv_variable_attributes .sku.all-70 {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    margin-top: 8px !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wcv_variable_attributes .sku.all-70 .wcv-column-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
    margin: 0 !important;
}

.wcv_variable_attributes .sku.all-70 .wcv-column-group [class^="all-"] {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* The default "grouped" type renders .wcv-variation-action-container without
   the #variation_actions_single wrapper that the "single" type uses */
#wcv_variable_product_options .wcv-variation-action-container {
    margin-top: 12px !important;
    padding: 8px 12px !important;
}

#wcv_variable_product_options .wcv-variation-action-container .control-group {
    margin-bottom: 8px !important;
}

#wcv_variable_product_options .wcv-variation-action-container .control-group label {
    margin-bottom: 2px !important;
    display: block;
}

#wcv_variable_product_options .wcv-variation-action-container select,
#wcv_variable_product_options .wcv-variation-action-container .select2-container {
    margin-bottom: 0 !important;
}

#wcv_variable_product_options .variations-pagenav {
    padding: 8px 0 !important;
    margin-top: 8px !important;
}

.rc-variable-tip {
    margin: 24px 0 0 0 !important;
    padding: 10px 14px;
    background: #eef6ff;
    border-left: 3px solid #4a90d9;
    border-radius: 0 4px 4px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #2c3639;
}

.rc-save-continue-wrap {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e8;
}
.rc-save-continue-btn {
    background: var(--rc-clay-brown, #A27B5C) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}
.rc-save-continue-btn:hover {
    background: var(--rc-charcoal-green, #2C3639) !important;
    color: #fff !important;
}
