.table-truncate {

}

    .table-truncate th,
    .table-truncate td {

    }

.truncate-col {
    max-width: 450px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left !important;
}

.table-truncate img {
    max-width: 35px;
}

.listing-admin-grid {
    table-layout: fixed;
    width: 100%;
}

.listing-admin-grid .listing-col-sku {
    width: 4.5rem;
    max-width: 4.5rem;
    padding-left: 0.5rem;
    padding-right: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-admin-grid .listing-col-name {
    width: auto;
    max-width: none;
    min-width: 0;
}

.listing-admin-grid .listing-col-sold-by {
    max-width: 9.5rem;
}

.listing-admin-grid .listing-col-type {
    width: 4.75rem;
    max-width: 4.75rem;
    white-space: normal;
    line-height: 1.2;
    font-size: 0.8125rem;
}

.listing-admin-grid .listing-col-status {
    width: 5.5rem;
    max-width: 5.5rem;
}

.listing-admin-grid .listing-col-action {
    width: 3rem;
    max-width: 3rem;
}


/* Video popup - frameless design */
#dvproductvideo .popup {
    padding: 0 !important;
    overflow: hidden;
    border-radius: 8px;
}

#dvproductvideo .popup-heading {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
    border-bottom: none !important;
    padding: 8px 12px !important;
}

    #dvproductvideo .popup-heading span {
        color: white;
        font-size: 14px;
    }

    #dvproductvideo .popup-heading .close-back::before {
        color: white;
        font-size: 20px;
    }

#dvproductvideo .padding10 {
    padding: 0 !important;
}

#dvproductvideo .produtc-video {
    display: block;
    border-radius: 0 0 8px 8px;
}

/* =====================================================
   Form input design system
   Reusable across billing, shipping and any future form.
   Global base styles are defined in design.css (.form input/select/textarea).
   Classes below are aliases/extensions for named components.
   ===================================================== */

/* Named aliases — inherit the design.css base, add component-specific tweaks */
.form-input,
.billing-input,
.shipping-input {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.form-input.input-error,
.billing-input.input-error,
.shipping-input.input-error {
    border-color: #e53e3e;
}

/* Select aliases */
.form-select-custom,
.billing-select {
    cursor: pointer;
    box-sizing: border-box;
}

/* Field label */
.field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
}

/* Inline validation error */
.field-error {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 4px;
    display: block;
    min-height: 16px;
}

/* Section title inside form */
.section-title {
    font-size: 15px;
    font-weight: 700;
    color: #101828;
    margin: 4px 0 10px 0;
}

/* VAT prefix + code side by side */
.vat-group {
    display: flex;
    gap: 8px;
}
.vat-group .billing-select { width: 90px; flex-shrink: 0; }
.vat-group .billing-input  { flex: 1; }

/* Autocomplete dropdown */
.form-autocomplete {
    position: absolute;
    z-index: 9999;
    background: #fff;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    box-shadow: 0 4px 16px rgba(0,0,0,.10);
    top: calc(100% + 2px);
    left: 0;
}
.form-autocomplete .list-item {
    padding: 9px 14px;
    cursor: pointer;
    font-size: 14px;
}
.form-autocomplete .list-item:hover { background: #f3f4f6; }

/* Aliases used in billing and shipping partials */
.billing-autocomplete,
.shipping-autocomplete {
    position: absolute;
    z-index: 9999;
    background: #fff;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    box-shadow: 0 4px 16px rgba(0,0,0,.10);
    top: calc(100% + 2px);
    left: 0;
}
.billing-autocomplete .list-item,
.shipping-autocomplete .list-item {
    padding: 9px 14px;
    cursor: pointer;
    font-size: 14px;
}
.billing-autocomplete .list-item:hover,
.shipping-autocomplete .list-item:hover { background: #f3f4f6; }

/* Container needed for absolute-positioned autocomplete */
.list-container { position: relative; }

/* =====================================================
   Outline action buttons — shared commerce UI pattern
   btn-order-*   : order actions (invoice, order list)
   btn-action-*  : address card actions (billing, shipping)
   All follow the same style: white bg, colored border,
   hover fills with border color.
   ===================================================== */

/* Update Order Status — blue */
.btn-order-update {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue) !important;
    background: #fff;
    border: 1.5px solid var(--blue);
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
    box-shadow: 0 1px 3px rgba(38,128,235,.12);
    letter-spacing: .01em;
}
.btn-order-update:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(38,128,235,.28);
    text-decoration: none;
}
.btn-order-update:focus-visible {
    outline: 3px solid rgba(38,128,235,.40);
    outline-offset: 2px;
    background: var(--blue);
    color: #fff !important;
    text-decoration: none;
}
.btn-order-update i { font-size: 11px; color: inherit; }

/* Cancel order / item / package — red */
.btn-order-cancel {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--red) !important;
    background: #fff;
    border: 1.5px solid var(--red);
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
    box-shadow: 0 1px 3px rgba(220,53,69,.10);
    letter-spacing: .01em;
}
.btn-order-cancel:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(220,53,69,.25);
    text-decoration: none;
}
.btn-order-cancel:focus-visible {
    outline: 3px solid rgba(220,53,69,.35);
    outline-offset: 2px;
    background: var(--red);
    color: #fff !important;
    text-decoration: none;
}
.btn-order-cancel i { font-size: 11px; color: inherit; }

/* Chat with — dark-grey */
.btn-order-chat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--d-grey) !important;
    background: #fff;
    border: 1.5px solid var(--d-grey);
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
    box-shadow: 0 1px 3px rgba(64,65,69,.10);
    letter-spacing: .01em;
}
.btn-order-chat:hover {
    background: var(--d-grey);
    border-color: var(--d-grey);
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(64,65,69,.22);
    text-decoration: none;
}
.btn-order-chat:focus-visible {
    outline: 3px solid rgba(64,65,69,.30);
    outline-offset: 2px;
    background: var(--d-grey);
    color: #fff !important;
    text-decoration: none;
}
.btn-order-chat i { font-size: 11px; color: inherit; }

.btn-order-reply {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--d-grey) !important;
    background: #fff;
    border: 1.5px solid var(--d-grey);
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
    box-shadow: 0 1px 3px rgba(64,65,69,.10);
    letter-spacing: .01em;
}
.btn-order-reply:hover {
    background: var(--d-grey);
    border-color: var(--d-grey);
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(64,65,69,.22);
    text-decoration: none;
}
.btn-order-reply:focus-visible {
    outline: 3px solid rgba(64,65,69,.30);
    outline-offset: 2px;
    background: var(--d-grey);
    color: #fff !important;
    text-decoration: none;
}
.btn-order-reply i { font-size: 11px; color: inherit; }

.btn-order-return {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #5c5f62 !important;
    background: #fff;
    border: 1.5px solid #9aa0a6;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
    box-shadow: 0 1px 3px rgba(92,95,98,.10);
    letter-spacing: .01em;
}
.btn-order-return:hover {
    background: #5c5f62;
    border-color: #5c5f62;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(92,95,98,.22);
    text-decoration: none;
}
.btn-order-return:focus-visible {
    outline: 3px solid rgba(92,95,98,.30);
    outline-offset: 2px;
    background: #5c5f62;
    color: #fff !important;
    text-decoration: none;
}
.btn-order-return i { font-size: 11px; color: inherit; }

/* Address card Edit — blue / Delete — red */
.btn-action-edit,
.btn-action-delete {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 500;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
    letter-spacing: .01em;
    white-space: nowrap;
}

.btn-action-edit {
    color: var(--blue) !important;
    border: 1.5px solid var(--blue);
    box-shadow: 0 1px 3px rgba(38,128,235,.10);
}
.btn-action-edit:hover,
.btn-action-edit:focus-visible {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(38,128,235,.25);
    text-decoration: none;
}

.btn-action-delete {
    color: var(--red) !important;
    border: 1.5px solid var(--red);
    box-shadow: 0 1px 3px rgba(220,53,69,.10);
}
.btn-action-delete:hover,
.btn-action-delete:focus-visible {
    background: var(--red);
    border-color: var(--red);
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(220,53,69,.25);
    text-decoration: none;
}

.btn-action-edit i,
.btn-action-delete i {
    font-size: 11px;
    color: inherit;
}

/* Responsive: full-width stacked buttons on very small screens */
@media (max-width: 400px) {
    .btn-order-update,
    .btn-order-cancel,
    .btn-order-chat,
    .btn-order-reply,
    .btn-order-return,
    .btn-action-edit,
    .btn-action-delete {
        flex: 1;
        justify-content: center;
    }
}

/* =====================================================
   Address / Company card list
   ===================================================== */
.addr-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 6px 10px;
}
.addr-list-header .addr-list-title {
    font-size: 20px;
    font-weight: 700;
    color: #101828;
    margin: 0;
}
.btn-add-new {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue) !important;
    background: #fff;
    border: 1.5px solid var(--blue);
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
    box-shadow: 0 1px 3px rgba(38,128,235,.10);
    white-space: nowrap;
}
.btn-add-new:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(38,128,235,.25);
    text-decoration: none;
}
.addr-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 14px;
    padding: 10px;
    align-items: stretch;
}
.addr-card {
    background: #fff;
    border: 1.5px solid #e4e7ec;
    border-radius: 10px;
    padding: 16px 18px 12px 18px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s, border-color 0.18s;
}
.addr-card:hover {
    border-color: #b3c8f0;
    box-shadow: 0 2px 12px rgba(38,128,235,.10);
}
.addr-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}
.addr-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef3fb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2680eb;
    font-size: 16px;
}
.addr-card-body {
    flex: 1;
}
.addr-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #101828;
    margin: 0 0 2px 0;
}
.addr-card-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: #2680eb;
    margin: 0 0 2px 0;
}
.addr-card-subtitle-detail {
    font-size: 13px;
    font-weight: 400;
    color: #101828;
    margin: 0 0 4px 0;
}
.addr-card-detail {
    font-size: 13px;
    color: #475467;
    margin: 0;
    line-height: 1.5;
}
.addr-card-actions {
    display: flex;
    gap: 10px;
    padding-top: 10px;
    margin-top: auto;
    justify-content: center;
    width: 100%;
}
.addr-card-actions .btn-action-edit,
.addr-card-actions .btn-action-delete {
    flex: 1;
    justify-content: center;
    max-width: 140px;
}

/* =====================================================
   Confirm Delete Modal
   ===================================================== */
.confirm-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.confirm-modal-overlay.active {
    display: flex;
}
.confirm-modal {
    background: #fff;
    border-radius: 10px;
    padding: 28px 28px 20px 28px;
    min-width: 320px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    position: relative;
}
.confirm-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.confirm-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #101828;
    margin: 0;
}
.confirm-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #667085;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.confirm-modal-close:hover { color: #101828; }
.confirm-modal-body {
    font-size: 14px;
    color: #475467;
    line-height: 1.6;
    margin-bottom: 24px;
}
.confirm-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.btn-confirm-cancel {
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background .18s;
}
.btn-confirm-cancel:hover { background: #565e64; }
.btn-confirm-delete {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    background: #e53e3e;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background .18s;
}
.btn-confirm-delete:hover { background: #c0392b; }

/* =====================================================
   CHECKOUT PAGE
   ===================================================== */

/* Layout */
.checkout-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 16px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
    width: 100%;
}

/* Section card */
.checkout-section {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4e7ec;
    overflow: hidden;
}
.checkout-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e4e7ec;
    background: #f9fafb;
}
.checkout-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #101828;
    margin: 0;
}
.checkout-section-body {
    padding: 20px;
}

/* Selected address card inside checkout */
.checkout-addr-card {
    background: #f9fafb;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    padding: 14px 16px;
}
.checkout-addr-title {
    font-size: 14px;
    font-weight: 700;
    color: #1d4ed8;
    margin: 0 0 2px;
}
.checkout-addr-subtitle {
    font-size: 13px;
    color: #344054;
    font-weight: 600;
    margin: 0 0 4px;
}
.checkout-addr-detail {
    font-size: 13px;
    color: #475467;
    margin: 0;
}
.checkout-addr-type-label {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #1d4ed8;
    border-radius: 4px;
    padding: 2px 8px;
    display: inline-block;
    margin-bottom: 8px;
}

/* Button to change/add address */
.btn-checkout-change {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1d4ed8;
    background: #fff;
    border: 1.5px solid #1d4ed8;
    border-radius: 6px;
    padding: 6px 14px;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s, color .18s;
    white-space: nowrap;
}
.btn-checkout-change:hover {
    background: #1d4ed8;
    color: #fff;
}

/* Payment method radios */
.co-payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.co-payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid #e4e7ec;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .18s, background .18s;
}
.co-payment-option:has(input:checked) {
    border-color: #1d4ed8;
    background: #eff6ff;
}
.co-payment-option input[type="radio"] {
    accent-color: #1d4ed8;
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.co-payment-option-label {
    font-size: 14px;
    font-weight: 600;
    color: #101828;
    margin: 0;
    cursor: pointer;
}
.co-payment-option-icon {
    margin-left: auto;
    color: #667085;
    font-size: 18px;
}

/* Sub-gateway list (shown when Online Card radio is selected) */
.co-gateway-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: -4px 0 4px 34px;
    padding: 10px 14px;
    background: #f8faff;
    border: 1.5px solid #bfdbfe;
    border-radius: 8px;
}
.co-gateway-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1.5px solid #e4e7ec;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    background: #fff;
}
.co-gateway-option:has(input:checked) {
    border-color: #1d4ed8;
    background: #eff6ff;
}
.co-gateway-option input[type="radio"] {
    accent-color: #1d4ed8;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}
.co-gateway-img {
    height: 22px;
    width: auto;
    object-fit: contain;
}
.co-gateway-option span {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

/* Order summary inside checkout */
.co-summary-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.co-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f2f4f7;
}
.co-summary-item:last-child { border-bottom: none; }
.co-summary-item-img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e4e7ec;
    flex-shrink: 0;
}
.co-summary-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #101828;
    margin: 0 0 2px;
}
.co-summary-item-variation {
    font-size: 12px;
    color: #667085;
    margin: 0;
}
.co-summary-item-price {
    margin-left: auto;
    font-size: 14px;
    font-weight: 700;
    color: #101828;
    white-space: nowrap;
}
.co-summary-totals {
    border-top: 1px solid #e4e7ec;
    padding-top: 12px;
}
.co-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #475467;
    margin-bottom: 6px;
}
.co-summary-row.grand {
    font-size: 16px;
    font-weight: 700;
    color: #101828;
    margin-top: 8px;
    border-top: 1px solid #e4e7ec;
    padding-top: 10px;
}

/* Place order button */
/* Compact checkout summary — overrides the absolute-positioned cart-total */
#checkoutSummaryContainer .cart-total {
    position: static !important;
    width: 100% !important;
    right: auto !important;
    top: auto !important;
    z-index: auto !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
#checkoutSummaryContainer .cart-total p { margin: 4px 0; font-size: 13px; }
#checkoutSummaryContainer .cart-total hr { margin: 6px 0; }

.btn-place-order {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--theme-color, #1d4ed8) !important;
    color: var(--f-theme, #fff) !important;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    cursor: pointer;
    margin-top: 18px;
    transition: background .18s;
    text-decoration: none;
}
.btn-place-order:hover { filter: brightness(0.9); color: var(--f-theme, #fff) !important; }

.btn-place-order--card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: auto;
    margin-top: 0;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.buyer-following-card__actions .btn-place-order--card,
.addr-card-actions .btn-place-order--card {
    flex: 1;
    max-width: 140px;
}

.buyer-following-card__actions .btn-place-order--card,
.buyer-following-card__actions .btn-action-delete {
    flex: 1 1 0;
    max-width: none;
    min-width: 0;
    padding: 8px 18px;
}

.buyer-seller-discovery-search .btn-place-order--card {
    border-radius: 0 6px 6px 0;
    padding: 8px 18px;
}

.buyer-seller-discovery-page .buyer-following-grid {
    padding: 0;
}

.buyer-seller-discovery-results .buyer-following-summary__count {
    padding: 0 4px;
}

/* Legal consent text */
.checkout-legal {
    font-size: 12px;
    color: #667085;
    text-align: center;
    margin-top: 10px;
    line-height: 1.6;
}
.checkout-legal a { color: #1d4ed8; text-decoration: underline; }

/* === Checkout selection popup modal === */
.co-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(16,24,40,.45);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}
.co-modal-overlay.open {
    display: flex;
}
.co-modal {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 560px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 40px rgba(16,24,40,.18);
    overflow: hidden;
    margin: 16px;
}
.co-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #e4e7ec;
}
.co-modal-title {
    font-size: 17px;
    font-weight: 700;
    color: #101828;
    margin: 0;
}
.co-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    color: #667085;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.co-modal-close:hover { color: #101828; }
.co-modal-body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
}
.co-modal-footer {
    padding: 14px 20px;
    border-top: 1px solid #e4e7ec;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.btn-co-confirm {
    background: #1d4ed8;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s;
}
.btn-co-confirm:hover { background: #1a3fc0; }
.btn-co-cancel {
    background: #fff;
    color: #344054;
    border: 1.5px solid #d0d5dd;
    border-radius: 6px;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s;
}
.btn-co-cancel:hover { background: #f9fafb; }

/* Checkout tab nav (for billing popup) */
.co-tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e4e7ec;
    margin-bottom: 16px;
}
.co-tab-btn {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #667085;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color .18s, border-color .18s;
}
.co-tab-btn.active {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}
.co-tab-panel { display: none; }
.co-tab-panel.active { display: block; }

/* Selection list items */
.co-select-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.co-select-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid #e4e7ec;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .18s, background .18s;
}
.co-select-item:has(input:checked),
.co-select-item.selected {
    border-color: #1d4ed8;
    background: #eff6ff;
}
.co-select-item input[type="radio"] {
    accent-color: #1d4ed8;
    margin-top: 3px;
    flex-shrink: 0;
}
.co-select-card { flex: 1; }
.co-select-title {
    font-size: 13px;
    font-weight: 700;
    color: #1d4ed8;
    margin: 0 0 2px;
}
.co-select-subtitle {
    font-size: 13px;
    color: #344054;
    font-weight: 600;
    margin: 0 0 2px;
}
.co-select-detail {
    font-size: 12px;
    color: #475467;
    margin: 0;
}

/* Add new button inside popup */
.btn-co-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1d4ed8;
    background: #fff;
    border: 1.5px dashed #1d4ed8;
    border-radius: 6px;
    padding: 8px 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background .18s;
    text-decoration: none;
}
.btn-co-add:hover { background: #eff6ff; }

/* ── Checkout inline validation ── */
.co-validation-msg {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}
.co-section-error {
    border: 2px solid #fca5a5 !important;
    background: #fff5f5 !important;
}

/* ── Checkout seller group (products preview) ── */
.co-seller-groups {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 4px;
}
.co-seller-card {
    background: #f9fafb;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    padding: 12px 14px 10px;
}
.co-seller-name {
    font-size: 13px;
    color: #475467;
    margin: 0 0 10px 0;
}
.co-seller-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.co-thumb-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
}
.co-thumb-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e4e7ec;
    background: #f2f4f7;
    /* Ascunde textul alt cand imaginea nu se incarca */
    color: transparent;
    font-size: 0;
    text-indent: -9999px;
}
.co-thumb-qty {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 4px;
    line-height: 1.4;
}
.co-seller-shipping {
    font-size: 13px;
    color: #475467;
    margin: 0;
}
.co-seller-shipping-cost { color: #344054; font-weight: 600; }
.co-seller-shipping-free { font-weight: 600; }

/* ── Checkout order totals ── */
.co-order-totals {
    margin-top: 8px;
    border-top: 1px solid #e4e7ec;
    padding-top: 10px;
}
.co-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 5px 0;
    font-size: 14px;
    color: #344054;
}
.co-total-label { color: #475467; }
.co-total-value { font-weight: 500; text-align: right; }
.co-total-shipping { color: #344054; }
.co-total-discount { color: #b91c1c; font-weight: 600; }
.co-total-divider { border: none; border-top: 2px solid #e4e7ec; margin: 10px 0 6px; }
.co-grand-total-row { padding-top: 2px; }
.co-grand-total-row .co-total-label { font-size: 15px; font-weight: 700; color: #101828; }
.co-grand-total-value { font-size: 18px; font-weight: 800; color: #101828; }
.co-coupon-badge {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: middle;
}

/* == Order Details Page == */
.od-header { padding: 20px 0 10px; }
.od-invoice-title { font-size: 1.6rem; font-weight: 700; color: #222; margin-bottom: 12px; }
.od-header-meta { display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: 12px 20px; border-radius: 8px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); margin-bottom: 18px; box-sizing: border-box; }
.od-header-meta-row { display: flex; gap: 8px; align-items: baseline; min-width: 200px; }
.od-meta-label { color: #3a6fb5; font-size: 0.88rem; white-space: nowrap; }
.od-meta-value { font-size: 0.93rem; color: #333; }
.od-info-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.08); margin-bottom: 20px; overflow: hidden; }
.od-info-col { padding: 18px 20px; }
.od-info-col-mid { border-left: 1px solid #e8e8e8; border-right: 1px solid #e8e8e8; }
.od-info-col-title { font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: .5px; color: #555; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.od-info-col-title i { color: #3a6fb5; font-size: 0.9rem; }
.od-info-name { font-weight: 600; font-size: 0.95rem; color: #222; margin: 0 0 4px; }
.od-info-detail { font-size: 0.88rem; color: #555; margin: 0 0 3px; }
.od-info-icon { color: #888; margin-right: 4px; width: 13px; }
.od-info-empty { font-size: 0.88rem; color: #aaa; margin: 0; }
@media (max-width: 767px) { .od-info-strip { grid-template-columns: 1fr; } .od-info-col-mid { border-left: none; border-right: none; border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; } }

/* Account security - active devices */
.account-devices { width: 100%; max-width: 920px; }
.account-devices__header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.account-devices__heading-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; color: var(--theme-color, #1d4ed8); font-size: 24px; }
.account-devices__group-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; background: #f7f8fa; border-radius: 8px; padding: 10px 14px; }
.account-devices__group-title { margin: 18px 0 0; padding: 10px 14px; background: #f7f8fa; border-radius: 8px; color: #1f2937; font-weight: 650; }
.account-device-row { display: flex; gap: 20px; padding: 22px 14px; border-bottom: 1px solid #e7eaf0; }
.account-device-row__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 70px; width: 70px; height: 70px; color: #7d8795; background: #f5f7fa; border: 1px solid #e1e5eb; border-radius: 12px; font-size: 35px; }
.account-device-row__details { min-width: 0; flex: 1; }
.account-device-row__name { color: #111827; font-size: 1rem; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.account-device-row__meta, .account-device-row__last-seen { color: #5f6b7a; font-size: .9rem; line-height: 1.45; }
.account-device-row__last-seen { display: flex; flex-wrap: wrap; gap: 4px; }
.account-device-row__current { display: flex; align-items: center; gap: 7px; margin-top: 5px; color: #16883c; font-size: .9rem; font-weight: 600; }
.account-device-row__status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22a447; box-shadow: 0 0 0 3px rgba(34, 164, 71, .12); }
.account-device-row__action { margin-top: 3px; }
.account-device-row__action .btn-link { color: var(--theme-color, #1d4ed8); text-decoration: none; font-weight: 600; }
.account-device-row__action .btn-link:hover { text-decoration: underline; }
.account-devices__empty { padding: 24px 14px; color: #697586; border-bottom: 1px solid #e7eaf0; }
@media (max-width: 575px) {
    .account-devices__group-heading { align-items: flex-start; flex-direction: column; }
    .account-device-row { gap: 13px; padding: 18px 4px; }
    .account-device-row__icon { flex-basis: 52px; width: 52px; height: 52px; border-radius: 10px; font-size: 27px; }
}
/* Seller onboarding and verification */
.seller-application-overlay { z-index: 100002; padding: 18px; align-items: center; }
.seller-application-popup { width: min(680px, calc(100vw - 32px)); max-width: 680px; max-height: min(820px, calc(100vh - 36px)); overflow: visible !important; display: flex; flex-direction: column; border-radius: 14px; box-shadow: 0 24px 70px rgba(25, 42, 70, .24); }
.seller-application-popup-heading { flex: 0 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 26px 18px; border-bottom: 1px solid #e9edf3; }
.seller-application-popup-heading > div { min-width: 0; }
.seller-application-popup-heading span { display: block; color: #182338; font-size: 1.35rem; font-weight: 700; line-height: 1.25; }
.seller-application-popup-heading small { display: block; margin-top: 6px; max-width: 650px; color: #6b788c; font-size: .9rem; font-weight: 400; line-height: 1.45; }
.seller-application-popup .seller-application-form { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.seller-application-scroll { min-height: 0; padding: 20px 26px 8px; overflow-y: auto; }
.seller-application-section-title { margin: 2px 0 12px; color: #27364d; font-size: 1rem; font-weight: 700; }
.seller-application-section-title:not(:first-of-type) { margin-top: 16px; padding-top: 16px; border-top: 1px solid #edf0f4; }
.seller-application-popup .form-group { position: relative; margin-bottom: 14px; }
.seller-application-popup .form-group label { display: block; margin-bottom: 6px; color: #52647d; font-size: .9rem; font-weight: 500; }
.seller-application-popup input, .seller-application-popup select { width: 100%; min-height: 46px; padding: 10px 13px; color: #1f2937; background: #fff; border: 1px solid #cfd7e3; border-radius: 8px; outline: none; }
.seller-application-popup input:focus, .seller-application-popup select:focus { border-color: var(--bs-primary); box-shadow: 0 0 0 3px rgba(13, 110, 253, .1); }
.seller-required { color: #dc3545; }
.seller-vat-group { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; }
.seller-application-summary:empty { display: none; }
.seller-application-popup .validation { display: block; min-height: 15px; margin-top: 3px; color: #d9363e; font-size: .77rem; }
.seller-application-list-container { position: relative; }
.seller-application-autocomplete { position: absolute; z-index: 100010; top: calc(100% - 17px); right: 12px; left: 12px; display: none; max-height: 190px; padding: 4px; overflow-y: auto; background: #fff; border: 1px solid #d8dee8; border-radius: 8px; box-shadow: 0 10px 25px rgba(25, 42, 70, .14); }
.seller-application-autocomplete button { display: block; width: 100%; padding: 8px 10px; color: #25344a; background: transparent; border: 0; border-radius: 6px; text-align: left; }
.seller-application-autocomplete button:hover, .seller-application-autocomplete button:focus { background: #eef5ff; color: var(--bs-primary); }
.seller-application-actions { display: flex; flex: 0 0 auto; justify-content: center; gap: 10px; padding: 14px 26px 18px; background: #fff; border-top: 1px solid #e9edf3; border-radius: 0 0 14px 14px; }
.seller-application-shell { max-width: 1050px; margin: 48px auto; padding: 0 20px; }
.seller-application-card, .seller-verification-hero, .seller-verification-submit { background: #fff; border: 1px solid #e5e9f0; border-radius: 16px; box-shadow: 0 8px 28px rgba(30, 55, 90, .07); }
.seller-application-card { padding: 36px; }
.seller-application-heading { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 30px; }
.seller-application-heading h1, .seller-verification-hero h1 { margin: 0 0 8px; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.seller-application-heading p, .seller-verification-hero p, .seller-verification-submit p { color: #68768a; margin: 0; }
.seller-application-icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; display: grid; place-items: center; color: var(--bs-primary); background: rgba(var(--bs-primary-rgb), .1); font-size: 27px; }
.seller-application-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.seller-application-wide { grid-column: 1 / -1; }
.seller-application-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.seller-application-note { display: flex; gap: 10px; margin: 24px 0; padding: 14px 16px; border-radius: 10px; background: #f3f7fc; color: #50617a; }
.seller-application-consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 0; }
.seller-application-popup .seller-application-consent input { flex: 0 0 18px; width: 18px; min-height: 18px; height: 18px; margin: 2px 0 0; padding: 0; cursor: pointer; }
.seller-application-popup .seller-application-consent label { margin: 0; color: #3f5068; font-size: .88rem; line-height: 1.45; cursor: pointer; }
.seller-application-consent label a { color: var(--bs-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.seller-application-popup .seller-application-consent-validation { margin: 2px 0 8px 28px; }
.seller-verification-page { display: grid; gap: 22px; }
.seller-verification-hero, .seller-verification-submit { padding: 28px 30px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.seller-verification-eyebrow { color: var(--bs-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .78rem; }
.seller-verification-progress { min-width: 128px; text-align: center; padding: 16px; border-radius: 14px; background: #f3f7fc; }
.seller-verification-progress strong { display: block; font-size: 1.75rem; }
.seller-verification-progress span { color: #68768a; font-size: .8rem; }
.seller-verification-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.seller-verification-step { display: flex; align-items: center; gap: 14px; padding: 18px; color: inherit; background: #fff; border: 1px solid #e5e9f0; border-radius: 12px; transition: border-color .2s, transform .2s; }
.seller-verification-step:hover { color: inherit; border-color: var(--bs-primary); transform: translateY(-1px); }
.seller-verification-step strong, .seller-verification-step small { display: block; }
.seller-verification-step small { color: #7b8797; margin-top: 2px; }
.seller-step-state { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #edf1f6; color: #607087; font-size: 21px; }
.seller-verification-step.is-complete .seller-step-state { background: #e5f7ec; color: #168548; }
.seller-onboarding-banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 16px; margin-bottom: 20px; padding: 14px 16px; border: 1px solid #f1ce79; border-radius: 12px; background: #fff9e9; }
.seller-onboarding-banner.is-pending { border-color: #a9d2f8; background: #f0f7ff; }
.seller-onboarding-banner.is-rejected { border-color: #efb0b0; background: #fff2f2; }
.seller-onboarding-banner-icon { font-size: 25px; color: #9a6810; }
.seller-onboarding-banner-copy strong, .seller-onboarding-banner-copy span { display: block; }
.seller-onboarding-banner-copy span, .seller-onboarding-banner-progress small { color: #68768a; font-size: .86rem; }
.seller-onboarding-banner-progress { text-align: center; white-space: nowrap; }
.seller-onboarding-banner-progress span { display: block; font-weight: 700; }
@media (max-width: 767.98px) {
  .seller-application-overlay { padding: 8px; }
  .seller-application-popup { width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
  .seller-application-popup-heading, .seller-application-scroll { padding-right: 17px; padding-left: 17px; }
  .seller-application-actions { padding: 12px 17px 15px; }
  .seller-application-actions .btn { flex: 1; white-space: normal; }
  .seller-application-card { padding: 24px 18px; }
  .seller-application-grid { grid-template-columns: 1fr; }
  .seller-application-wide { grid-column: auto; }
  .seller-verification-hero, .seller-verification-submit { align-items: stretch; flex-direction: column; }
  .seller-onboarding-banner { grid-template-columns: auto 1fr; }
  .seller-onboarding-banner-progress, .seller-onboarding-banner .btn { grid-column: 2; }
}
