.kebab-component .kebab {
    cursor: pointer;
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    padding: 0 16px;
    top: 12px;
}

.kebab-component .kebab figure {
    width: 6px;
    height: 6px;
    border-radius: 5px;
    background: #5b5b5b;
    margin: 3px 0;
}

.kebab-component .middle {
    transition: all 0.25s cubic-bezier(0.72, 1.2, 0.71, 0.72);
    transform: scale(1);
    position: relative;
    box-shadow: 0 0.1px 0.1px 0 rgba(0, 0, 0, 0.16), 0 0.1px 0.3px 0 rgba(0, 0, 0, 0.12);
    -webkit-filter: blur(0.1px);
    filter: blur(0.1px);
}

.kebab-component .middle.active {
    transform: scale(4.5);
    transition: all 0.25s cubic-bezier(0.32, 2.04, 0.85, 0.54);
    box-shadow: 0 0.1px 0.1px 0 rgba(0, 0, 0, 0.16), 0 0.1px 0.3px 0 rgba(0, 0, 0, 0.12);
}

.kebab-component .cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    margin-top: -1px;
    font-family: 'Nunito', sans-serif;
    color: white;
    transition: all 0.2s cubic-bezier(0.72, 1.2, 0.71, 0.72);
    font-size: 22px;
    user-select: none;
}

.kebab-component .cross.active {
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.15s cubic-bezier(0.32, 2.04, 0.85, 0.54);
}

.kebab-component .nav {
    margin-left: 20%;
}

.kebab-component .nav > li {
    display: inline-block;
    padding: 1em 18px;
    cursor: pointer;
}

.kebab-component .nav > li:hover {
    background: #b3b3b3;
}

.kebab-component .dropdown {
    position: absolute;
    right: 0;
    top: 3em;
    transition: all 0.25s ease-out;
    transform: scale(0);
    transform-origin: 100% 0;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16), 0 2px 8px 0 rgba(0, 0, 0, 0.12);
}

.kebab-component .dropdown li {
    display: block;
    width: 100%;
    margin: 5px;
}

.kebab-component .dropdown li:hover {
    background: #656565;
}

.kebab-component .dropdown:hover ul {
    transform: scale(1);
}

.kebab-component .dropdown.active {
    z-index: 9999;
    background: #919191;
    transform: scale(1);
    transition: all 0.25s cubic-bezier(0.5, 1.8, 0.9, 0.8);
    padding-left: 5px;
}


.kebab-component .follow {
    overflow: hidden;
    width: 42px;
    height: 42px;
    border-radius: 50px;
    background: #545454;
    display: block;
    margin: 300px auto 0;
    white-space: nowrap;
    padding: 13px;
    box-sizing: border-box;
    color: white;
    transition: all 0.2s ease;
    font-family: Roboto, sans-serif;
    text-decoration: none;
    box-shadow: 0 5px 6px 0 rgba(0, 0, 0, 0.2);
}

.kebab-component .follow i {
    margin-right: 20px;
    transition: margin-right 0.2s ease;
}

.kebab-component .follow:hover {
    width: 134px;
}

.kebab-component .follow:hover i {
    margin-right: 10px;
}

@media screen and (max-width: 800px) {
    .kebab-component .follow {
        margin: 400px auto 0;
    }
}

.marketplace-quote-view .products-table {
    height: 92px;
}

.marketplace-quote-view .products-table.products-table-optimizer {
    height: auto;
    min-height: 92px;
}

.marketplace-quote-view .products-table.products-table-optimizer .vendor-tab-product-name-container .product-name {
    display: block;
    overflow: visible;
}


@media screen and (max-width: 1023px) {
    .marketplace-quote-view .products-table {
        height: 136px;
    }
    .marketplace-quote-view .vendor-tab-styles .table-vendor-tab tr.products-table.products-table-optimizer {
        height: auto;
        min-height: 92px;
    }
}

.marketplace-quote-view .product-shipping-type-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.marketplace-quote-view .delivery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 16px;
    background-color: #4b4b4b;
    color: #ffffff;
}

.marketplace-quote-view .delivery-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.marketplace-quote-view .delivery-header-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.marketplace-quote-view .delivery-header-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #ffffff;
    white-space: nowrap;
}

@media screen and (max-width: 800px) {
    .marketplace-quote-view .delivery-header-label .delivery-label-word {
        font-size: 14px;
    }
}

.marketplace-quote-view .delivery-header-summary {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    color: #ffffff;
    text-align: right;
    white-space: nowrap;
}

/* Active delivery group switch */
.marketplace-quote-view .delivery-active-switch-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.marketplace-quote-view .active-dg-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    width: 32px;
    height: 18px;
    border-radius: 9px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s;
}

.marketplace-quote-view .active-dg-switch::after {
    content: '';
    position: absolute;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #fff;
    transition: transform 0.2s;
}

.marketplace-quote-view .active-dg-switch.is-active {
    background-color: rgb(255, 143, 31);
}

.marketplace-quote-view .active-dg-switch.is-active::after {
    transform: translateX(14px);
}

.marketplace-quote-view .active-dg-switch:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.marketplace-quote-view .active-dg-label {
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.marketplace-quote-view .delivery-active-switch-wrap.is-active .active-dg-label {
    color: rgb(255, 143, 31);
    font-style: normal;
}

.marketplace-quote-view .ships-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
}

.marketplace-quote-view .ships-options .shipping-method-option {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background-color: #ffffff;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: left;
}

.marketplace-quote-view .ships-options .shipping-method-option > .address-container {
    flex: 1 1 100%;
    width: 100%;
}

.marketplace-quote-view .ships-options .shipping-method-option > .shipping_additional_html {
    flex: 0 0 100%;
    width: 100%;
}

.marketplace-quote-view .ships-options .shipping-method-option > .shipping_additional_html:empty {
    display: none;
}

.marketplace-quote-view .ships-options .shipping-method-option .address-container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
}

.marketplace-quote-view .ships-options .shipping-method-option-radio {
    flex: 0 0 40px;
    width: 40px;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
    border-bottom-left-radius: 8px;
    margin: 0;
    position: relative;
}

.marketplace-quote-view .ships-options .shipping-method-option-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.marketplace-quote-view .ships-options .shipping-method-option-checkmark {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #919191;
    background-color: transparent;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.marketplace-quote-view .ships-options .shipping-method-option-radio input[type="radio"]:checked ~ .shipping-method-option-checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ffffff;
}

.marketplace-quote-view .ships-options .shipping-method-option-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 16px;
    min-width: 0;
    text-align: left;
}

.marketplace-quote-view .ships-options .shipping-method-option-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #535353;
    line-height: 1.3;
}

.marketplace-quote-view .ships-options .shipping-method-option-description {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #535353;
    line-height: 1.3;
}

.marketplace-quote-view .ships-options .shipping-method-option-price {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 68px 8px 16px;
    white-space: nowrap;
}

.marketplace-quote-view .shipping-method-option-price-old {
    font-family: 'Roboto Condensed', 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #919191;
    text-decoration: line-through;
}

.marketplace-quote-view .shipping-method-option-price-info {
    flex-shrink: 0;
}

/* Wrapper que agrupa ícono ⓘ + precio tachado; en desktop queda inline dentro del flex row */
.marketplace-quote-view .ships-options .shipping-method-price-before {
    display: flex;
    align-items: center;
    gap: 4px;
}

.marketplace-quote-view .shipping-method-option-price-final {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #4b4b4b;
}

.marketplace-quote-view .shipping-method-option-price-free {
    color: #15814b;
}

.marketplace-quote-view .drag-handle {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    border-radius: 4px;
    margin-right: 8px;
    align-self: center;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.marketplace-quote-view .products-table .vendor-tab-product-data .row.no-gutters .drag-handle svg,
.marketplace-quote-view .products-table.products-table-optimizer .vendor-tab-product-data .row.no-gutters .drag-handle svg {
    display: block;
}

.marketplace-quote-view .multiplewishlist-shipment-header.bg-light-grey {
    display: none !important;
}

.marketplace-quote-view .add-delivery-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    margin-right: 8px;
    background-color: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    color: #535353;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease;
}

.marketplace-quote-view .add-delivery-btn:hover {
    background-color: #f5f5f5;
}

.marketplace-quote-view .add-delivery-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.marketplace-quote-view .add-delivery-btn-plus {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

.marketplace-quote-view .ship-container .empty-delivery-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    background-color: #ffffff;
    color: #4b4b4b;
    text-align: center;
}

.marketplace-quote-view .ship-container .empty-delivery-message-title {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #4b4b4b;
}

.marketplace-quote-view .ship-container .empty-delivery-message-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #919191;
    margin-top: 6px;
}

.marketplace-quote-view .ship-container.is-empty .product-container-vendor-tab {
    display: none;
}

.marketplace-quote-view .ship-container:not(.is-empty) .empty-delivery-message {
    display: none;
}

.marketplace-quote-view .empty-placeholder-row,
.marketplace-quote-view .empty-placeholder-row > td {
    background: transparent;
    border: none;
    padding: 0;
}

.marketplace-quote-view .empty-placeholder-row > td {
    min-height: 140px;
}

.marketplace-quote-view .optimizer-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    margin-left: 8px;
    white-space: nowrap;
    padding: 4px 10px;
    background-color: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    color: #535353;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    align-self: flex-start;
    cursor: pointer;
    transition: background-color .15s ease;
}

.marketplace-quote-view .optimizer-link-btn:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #4b4b4b;
}

.marketplace-quote-view .optimizer-link-btn .fa-pencil {
    font-size: 12px;
    color: #919191;
}

/* Prevent text-col from wrapping below image (items ~396px vs td inner ~376px).
   align-items:center keeps image and text vertically aligned. */
.marketplace-quote-view .table-vendor-tab .products-table-optimizer td.vendor-tab-product-data .row {
    flex-wrap: nowrap !important;
    align-items: center !important;
}
.marketplace-quote-view .table-vendor-tab .products-table-optimizer td.vendor-tab-product-data .col.my-auto.pl-3 {
    height: auto !important;
    justify-content: flex-start !important;
    align-self: center !important;
}

.marketplace-quote-view tr.products-table-optimizer-sub td.vendor-tab-product-data {
    padding-left: 48px;
}

.marketplace-quote-view tr.products-table-optimizer-sub td.vendor-tab-product-subtotal {
    grid-column: 9;
}

.marketplace-quote-view tr.products-table-optimizer-sub .optimizer-sub-arrow {
    position: absolute;
    margin-left: -32px;
    margin-top: 6px;
    color: #919191;
    font-size: 18px;
    line-height: 1;
}

.marketplace-quote-view tr.products-table-optimizer-sub .product-image {
    opacity: 0.85;
}

.marketplace-quote-view tr.products-table-optimizer-sub .optimizer-sub-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 6px;
}

.marketplace-quote-view tr.products-table-optimizer-sub .qty-switcher-inc,
.marketplace-quote-view tr.products-table-optimizer-sub .qty-switcher-dec {
    display: none !important;
}

.marketplace-quote-view tr.products-table-optimizer-sub input.item-qty {
    background-color: transparent;
    border: none;
    box-shadow: none;
    pointer-events: none;
    color: #535353;
}

.marketplace-quote-view tr.products-table-optimizer-sub .vendor-tab-product-delete {
    visibility: hidden;
}

.marketplace-quote-view .address-component[data-state="edit"] .shipping-address,
.marketplace-quote-view .address-component[data-state="edit"] .full-address-popover,
.marketplace-quote-view .address-component[data-state="edit"] .container-buttons2-modify-edit-map-google1 .multiplewishlist-btn {
    display: none !important;
}

.marketplace-quote-view .address-component[data-state="display"] .address-edit-input-wrap,
.marketplace-quote-view .address-component[data-state="display"] .address-edit-actions {
    display: none !important;
}

.marketplace-quote-view .address-component[data-state="edit"] .text-address-place-body-budget > p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
}

.marketplace-quote-view .address-component .img-google-maps,
.marketplace-quote-view .address-component .ship-map-container {
    height: 100% !important;
    min-height: 100% !important;
    align-self: stretch !important;
}

.marketplace-quote-view .address-component .maps-button1-main-google-container {
    align-self: stretch !important;
    min-height: 100%;
}

.marketplace-quote-view .address-component .container-address-map {
    min-height: 120px !important;
}

.marketplace-quote-view .address-component .container-address-map .container-shipping-name-place-buttons-modify-edit1 {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    min-height: 120px;
}

.marketplace-quote-view .address-component {
    padding: 2px 2px 2px 24px !important;
}

.marketplace-quote-view .address-component .text-address-place-body-budget > p {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

.marketplace-quote-view .address-component[data-state="display"] .popover-trigger .shipping-address {
    margin-top: 4px !important;
}

.marketplace-quote-view .address-edit-input-wrap {
    display: block;
    margin-top: 6px;
    margin-bottom: 4px;
}

.marketplace-quote-view .address-locate-btn--inline,
.marketplace-quote-view .address-save-btn--inline {
    display: none !important;
}

.marketplace-quote-view .address-edit-label {
    display: block;
    margin: 0 0 4px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #4b4b4b;
    line-height: 1.2;
}

.marketplace-quote-view .address-edit-label .required-mark {
    color: #dc3545;
    font-weight: 700;
}

.marketplace-quote-view .address-input-outer {
    position: relative;
    display: block;
}

.marketplace-quote-view .address-edit-input {
    display: block;
    width: 600px !important;
    max-width: 100% !important;
    height: 32px;
    padding: 4px 32px 4px 12px;
    border: 1px solid #c8c8c8;
    border-radius: 6px;
    background-color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #4b4b4b;
    box-sizing: border-box;
}

.marketplace-quote-view .address-input-clear-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.15s, background 0.15s;
}

.marketplace-quote-view .address-input-clear-btn:hover {
    color: #555;
    background: #f0f0f0;
}

.marketplace-quote-view .address-component[data-state="edit"] .popover-trigger,
.marketplace-quote-view .address-component[data-state="edit"] .address-edit-input-wrap {
    max-width: none !important;
    width: auto !important;
}

.marketplace-quote-view .address-edit-input:focus {
    outline: none;
    border-color: #c8c8c8;
    box-shadow: 0 0 0 2px rgba(200, 200, 200, 0.4);
}

.marketplace-quote-view .address-edit-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.marketplace-quote-view .address-locate-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    width: auto;
    min-width: 0;
    padding: 0 16px;
    background-color: #ffffff;
    border: 1px solid #c8c8c8;
    border-radius: 6px;
    color: #535353;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    justify-content: center;
}

.marketplace-quote-view .address-locate-btn:hover {
    background-color: #f5f5f5;
}

.marketplace-quote-view .address-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 120px;
    height: 32px;
    padding: 0 16px;
    background-color: var(--eco-primary) !important;
    border: 1px solid var(--eco-primary) !important;
    border-radius: 6px;
    color: #ffffff !important;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.marketplace-quote-view .address-save-btn:hover:not(:disabled) {
    opacity: 0.88;
}

.marketplace-quote-view .address-save-btn:disabled {
    opacity: 0.45 !important;
    cursor: not-allowed;
}

.marketplace-quote-view .address-save-btn.is-loading .address-save-btn-label {
    visibility: hidden;
}

.marketplace-quote-view .address-save-btn.is-loading .address-save-btn-spinner {
    display: inline-block;
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: addressInlineSpin .8s linear infinite;
}

.marketplace-quote-view .address-save-btn-spinner {
    display: none;
}

@keyframes addressInlineSpin {
    to { transform: rotate(360deg); }
}

.marketplace-quote-view .address-cancel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 16px;
    background-color: #ffffff;
    border: 1px solid #c8c8c8;
    border-radius: 6px;
    color: #535353;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.marketplace-quote-view .address-cancel-btn:hover {
    background-color: #f5f5f5;
    border-color: #aaa;
}

.marketplace-quote-view .address-cancel-btn--inline {
    display: none !important;
}

.marketplace-quote-view .shipping-method-option .delivery-date-container:not(:empty) {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 8px 16px;
    width: auto;
    flex: 0 0 auto;
}

.marketplace-quote-view .delivery-date-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.marketplace-quote-view .delivery-date-field {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.marketplace-quote-view .delivery-date-label {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #535353;
    margin: 0;
    white-space: nowrap;
}

.marketplace-quote-view .delivery-date-label .req-mark {
    color: #dc3545;
    font-weight: 700;
}

.marketplace-quote-view .delivery-date-field input.delivery-date-datapicker,
.marketplace-quote-view .delivery-date-field select.delivery-slot-select {
    height: 32px;
    padding: 4px 10px;
    border: 1px solid #c8c8c8;
    border-radius: 6px;
    background-color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #4b4b4b;
    width: 130px;
    box-sizing: border-box;
}

.marketplace-quote-view .delivery-date-field select.delivery-slot-select {
    width: 150px;
}

.marketplace-quote-view .shipping-extra-fields-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 12px 16px;
    width: 100%;
    box-sizing: border-box;
}

.marketplace-quote-view .shipping-extra-field {
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.marketplace-quote-view .shipping-extra-field.options {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.marketplace-quote-view .shipping-extra-label {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #535353;
    margin: 0;
    line-height: 1.2;
}

.marketplace-quote-view .shipping-extra-label .req-mark {
    color: #dc3545;
    font-weight: 700;
}

.marketplace-quote-view .shipping-extra-input {
    height: 32px;
    padding: 4px 10px;
    border: 1px solid #c8c8c8 !important;
    border-radius: 6px;
    background-color: #ffffff !important;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #4b4b4b !important;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .marketplace-quote-view .shipping-extra-input {
        font-size: 11px;
        padding: 4px 6px;
        height: 30px;
    }
}

.marketplace-quote-view .shipping-extra-input.invalid-field,
.marketplace-quote-view .delivery-date-field .invalid-field {
    border-color: #c8c8c8 !important;
    color: #4b4b4b !important;
}

.marketplace-quote-view .shipping-extra-input.invalid-field::placeholder {
    color: #919191;
}

.marketplace-quote-view .drag-handle:hover {
    background-color: #f2f2f2;
}

.marketplace-quote-view .drag-handle:active,
.marketplace-quote-view .drag-handle.sortable-chosen {
    cursor: grabbing;
}

.marketplace-quote-view tr.products-table.sortable-ghost {
    opacity: 0.4;
    background-color: #e9f5ee;
}

.marketplace-quote-view tr.products-table.sortable-drag {
    opacity: 0.9;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.marketplace-quote-view .ship-container.drop-target-active {
    outline: 2px dashed #15814b;
    outline-offset: -2px;
    background-color: rgba(21, 129, 75, 0.04);
}

.marketplace-quote-view .multiplewishlist-header-container .wish-info-container {
    flex-wrap: wrap;
    align-content: flex-start;
}

.marketplace-quote-view .multiplewishlist-header-container .wish-actions-button {
    align-self: flex-start;
}

.marketplace-quote-view .quote-expiration-header {
    flex-basis: 100%;
    font-size: 14px;
    line-height: 20px;
    color: #535353;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

.marketplace-quote-view .multiplewishlist-header-container .wish-title-line {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: baseline;
}

.marketplace-quote-view .multiplewishlist-header-container .wish-owner {
    font-size: 16px;
    line-height: 24px;
    color: #4b4b4b;
    font-weight: 500;
    text-transform: uppercase;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0;
}

.marketplace-quote-view .multiplewishlist-header-container .wish-owner::before {
    content: '·';
    margin-right: 8px;
    color: #c8c8c8;
}

/* ---- Desktop: collapse-budget-vendor al final del header (es el primer hijo en HTML para mobile) ---- */
@media (min-width: 768px) {
    .marketplace-quote-view .header-vendor-tab > .collapse-budget-vendor {
        order: 10;
        align-self: center;
    }
}

/* ---- Mobile fixes (≤767px) ---- */
@media (max-width: 767px) {

    /* Delivery header: grid — row1: "ENTREGA N" (left) + summary (right), row2: toggle + label */
    .marketplace-quote-view .delivery-header {
        display: grid;
        grid-template-areas:
            "left summary"
            "switch switch";
        grid-template-columns: 1fr auto;
        row-gap: 6px;
        padding: 8px 12px;
    }

    .marketplace-quote-view .delivery-header-left {
        grid-area: left;
        min-width: 0;
    }

    .marketplace-quote-view .delivery-header-summary {
        grid-area: summary;
        font-size: 12px;
        text-align: right;
        white-space: nowrap;
        opacity: 0.85;
        align-self: center;
    }

    .marketplace-quote-view .delivery-active-switch-wrap {
        grid-area: switch;
        gap: 8px;
    }

    /* Show the label text — naranja cuando activo */
    .marketplace-quote-view .active-dg-label {
        display: block;
        font-size: 12px;
        white-space: normal;
    }

    /* Bigger pill + circle for comfortable touch target */
    .marketplace-quote-view .active-dg-switch {
        width: 40px;
        height: 22px;
        border-radius: 11px;
        flex-shrink: 0;
    }

    .marketplace-quote-view .active-dg-switch::after {
        width: 18px;
        height: 18px;
    }

    .marketplace-quote-view .active-dg-switch.is-active::after {
        transform: translateX(18px);
    }



    /* Header del vendor: una sola fila como el Figma [^ | logo | botones] */
    .marketplace-quote-view .header-vendor-tab {
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px;
        padding-right: 12px !important;
    }

    /* Collapse: izquierda, centrado verticalmente con align-self (no afectado por custom.css) */
    .marketplace-quote-view .header-vendor-tab > .collapse-budget-vendor {
        flex: 0 0 auto;
        align-self: center !important;
    }

    /* Vendor content: solo ocupa lo que necesita el logo */
    .marketplace-quote-view .header-vendor-tab .header-vendor-content {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        padding: 0 !important;
    }

    /* Logo: tamaño razonable en mobile */
    .marketplace-quote-view .header-vendor-tab .logo-vendor-tab {
        max-height: 36px;
        width: auto;
        margin: 0 !important;
    }

    /* Ocultar qty/distancia y total en mobile — no están en el Figma */
    .marketplace-quote-view .header-vendor-tab .header-vendor-status,
    .marketplace-quote-view .header-vendor-tab .vendor-total {
        display: none !important;
    }

    /* Botones de acción: volver al flujo flex (custom.css lo saca con position:absolute) */
    .marketplace-quote-view .header-vendor-tab .containet-edit-share {
        position: static !important;
        margin-left: auto !important;
        align-self: center !important;
        flex-shrink: 0;
        gap: 4px;
        padding-right: 4px;
    }

    /* La regla de custom.css ".vendor-tab-styles .header-vendor-tab div { align-items: unset !important }"
       afecta a los divs internos. Restauramos align-items en containet-edit-share para sus hijos */
    .marketplace-quote-view .vendor-tab-styles .header-vendor-tab .containet-edit-share {
        align-items: center !important;
    }

    /* Ocultar texto "Entrega" — en mobile solo se muestra el "+" */
    .marketplace-quote-view .header-vendor-tab .add-delivery-btn .add-delivery-btn-label {
        display: none;
    }

    /* Igualar ambos botones del header al mismo estilo que el trash de las filas */
    .marketplace-quote-view .header-vendor-tab .add-delivery-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 5px 8px !important;
        border-radius: 8px !important;
        border: 1px solid #848484 !important;
        background: #fff !important;
        color: #919191 !important;
        font-size: 16px !important;
        line-height: 1 !important;
        width: auto !important;
        height: auto !important;
    }

    .marketplace-quote-view .header-vendor-tab .delete-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 5px 8px !important;
        border-radius: 8px !important;
        border: 1px solid #848484 !important;
        background: #fff !important;
        color: #919191 !important;
        font-size: 16px !important;
        line-height: 1 !important;
        width: auto !important;
        height: auto !important;
    }

    /* Ver Agenda: forzar flex (style-general pisaba con span.delivery-data-title → display:block).
       Igualamos especificidad agregando span al selector. */
    .marketplace-quote-view .multiplewishlist-header-container
    span.delivery-data-title {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
    }
    .marketplace-quote-view .multiplewishlist-header-container
    span.delivery-data-title .btn-addres-delivery {
        margin-left: auto !important;
    }

    /* ERROR-1: style-general.css empuja el contenido 24px hacia abajo con top:24px y lo
       centra verticalmente con align-items:center + min-height:98px. Corregir para la
       página de presupuesto: alinear al tope y eliminar el offset. */
    .marketplace-quote-view .multiplewishlist-header-container
    .address-container-wishlist .container-address-map {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        min-height: unset !important;
    }

    .marketplace-quote-view .multiplewishlist-header-container
    .address-container-wishlist .container-address-map
    .container-shipping-name-place-buttons-modify-edit1 {
        top: 0 !important;
        width: 100% !important;
        padding: 6px 12px !important;
    }

    /* BUG-3: container-shipping-name-place-buttons-modify-edit1 tiene z-index:1001 y
       cubre el botón Editar (position:absolute, z-index:auto) en mobile. */
    .marketplace-quote-view .multiplewishlist-header-container
    .address-container-wishlist .container-address-map
    .container-buttons2-modify-edit-map-google1 {
        z-index: 1002;
    }

    /* BUG-4a: efecto desktop — fondo verde + padding 16px izq crea el borde lateral grueso. */
    .marketplace-quote-view .multiplewishlist-header-container
    .container-adress-budget {
        background: var(--eco-primary) !important;
        border: none !important;
        border-radius: 16px !important;
        padding: 2px 2px 2px 16px !important;
    }
    .marketplace-quote-view .multiplewishlist-header-container
    .container-address-map {
        border-radius: 0 14px 14px 0 !important;
        background: #ffffff !important;
        margin: 0 !important;
    }

    /* BUG-4b: mapa full-width y botón Editar absoluto bottom-right sobre el mapa */
    .marketplace-quote-view .multiplewishlist-header-container
    .container-address-map .maps-button1-main-google-container {
        width: 100% !important;
        position: relative;
    }
    .marketplace-quote-view .multiplewishlist-header-container
    .container-address-map .maps-button1-main-google-container .img-google-maps {
        position: relative;
    }
    .marketplace-quote-view .multiplewishlist-header-container
    .container-address-map .ship-map-container {
        min-height: 150px !important;
        height: 150px !important;
        border-radius: 0 0 10px 10px !important;
    }
    .marketplace-quote-view .multiplewishlist-header-container
    .container-address-map .container-buttons2-modify-edit-map-google1 {
        position: absolute !important;
        bottom: 12px !important;
        right: 12px !important;
        top: auto !important;
        left: auto !important;
    }
    /* Estilo terciario para el botón Editar en mobile — Figma 15774-311320 */
    .marketplace-quote-view .multiplewishlist-header-container
    .container-address-map .buttom-edit1-main-container-send {
        background: #ffffff !important;
        border: 1px solid #4b4b4b !important;
        border-radius: 8px !important;
        padding: 6px 12px !important;
        gap: 6px !important;
        box-shadow: 0 1px 4px rgba(0,0,0,0.15) !important;
        min-height: unset !important;
    }
    .marketplace-quote-view .multiplewishlist-header-container
    .container-address-map .buttom-edit1-main-container-send span:not(.change-edit-address) {
        color: #4b4b4b !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        padding: 0 !important;
        width: auto !important;
    }
    .marketplace-quote-view .multiplewishlist-header-container
    .container-address-map .buttom-edit1-main-container-send img {
        width: 14px !important;
        height: 14px !important;
    }

    /* Display mode mobile: texto absoluto sobre el mapa (igual que desktop).
       El mapa (100px) establece la altura; el texto flota encima. */
    .marketplace-quote-view .address-component[data-state="display"]
    .container-address-map {
        position: relative !important;
    }
    .marketplace-quote-view .address-component[data-state="display"]
    .container-shipping-name-place-buttons-modify-edit1 {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1 !important;
    }

    /* Edit mode mobile: mapa como fondo absoluto; texto establece la altura.
       En display mode el mapa es un bloque en el flujo (100px). En edit mode
       queda como fondo detrás del contenido, sin sumar altura. */
    .marketplace-quote-view .address-component[data-state="edit"]
    .container-address-map {
        position: relative !important;
    }
    .marketplace-quote-view .address-component[data-state="edit"]
    .container-shipping-name-place-buttons-modify-edit1 {
        position: relative !important;
        top: auto !important;
        z-index: 1 !important;
    }
    .marketplace-quote-view .address-component[data-state="edit"]
    .maps-button1-main-google-container {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 0 !important;
        pointer-events: none !important;
    }
    .marketplace-quote-view .address-component[data-state="edit"]
    .img-google-maps,
    .marketplace-quote-view .address-component[data-state="edit"]
    .ship-map-container {
        width: 100% !important;
        height: 100% !important;
        min-height: unset !important;
        border-radius: 10px !important;
    }
    .marketplace-quote-view .address-component[data-state="edit"]
    .container-buttons2-modify-edit-map-google1 {
        display: none !important;
    }

    /* En edit mode, text-address-place-body-budget debe ocupar todo el ancho
       disponible — su sibling (maps-button1) queda position:absolute y fuera del flujo,
       pero sin flex-grow el elemento no se expande por sí solo. */
    .marketplace-quote-view .address-component[data-state="edit"]
    .text-address-place-body-budget {
        flex: 1 1 auto !important;
        min-width: 0;
    }

    /* layout mobile del widget de edición de dirección.
       Los botones --inline (dentro de address-edit-input-wrap) son duplicados
       visibles solo en mobile; los originales en address-edit-actions se ocultan.
       Fila 1: input (ancho completo). Fila 2: Localizar + GUARDAR lado a lado. */
    .marketplace-quote-view .address-component[data-state="edit"] .address-edit-input-wrap,
    .marketplace-quote-view .address-component[data-state="edit"] .popover-trigger {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .marketplace-quote-view .address-component[data-state="edit"] .address-edit-input-wrap {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .marketplace-quote-view .address-component[data-state="edit"] .address-edit-input-wrap .address-edit-input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .marketplace-quote-view .address-edit-actions .address-locate-btn,
    .marketplace-quote-view .address-edit-actions .address-save-btn,
    .marketplace-quote-view .address-edit-actions .address-cancel-btn {
        display: none !important;
    }

    .marketplace-quote-view .address-locate-btn--inline {
        display: inline-flex !important;
    }

    .marketplace-quote-view .address-cancel-btn--inline {
        display: inline-flex !important;
        flex: 0 0 auto;
        min-width: 0;
        padding: 0 12px;
        font-size: 13px;
        height: 32px;
    }

    .marketplace-quote-view .address-edit-input-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .marketplace-quote-view .address-inline-actions {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }

    .marketplace-quote-view .address-locate-btn--inline {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        font-size: 13px;
        font-weight: 500;
        color: #535353;
        height: 32px;
        padding: 0 16px;
        gap: 6px;
        white-space: nowrap;
        align-items: center;
        justify-content: center;
        line-height: 1;
        background-color: #ffffff;
        border: 1px solid #c8c8c8;
        border-radius: 6px;
    }

    .marketplace-quote-view .address-locate-btn--inline svg {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
        min-height: 15px !important;
        flex-shrink: 0;
        display: block;
    }

    .marketplace-quote-view .address-locate-btn--inline span {
        line-height: 1;
        vertical-align: middle;
    }

    .marketplace-quote-view .address-save-btn--inline {
        display: inline-flex !important;
        flex: 0 0 79px;
        width: 79px;
        min-width: 0;
        padding: 0 8px;
        flex-shrink: 0;
        white-space: nowrap;
        justify-content: center;
    }

    .marketplace-quote-view .address-component {
        padding-left: 16px !important;
    }

    /* Pin icon aligned to top of text block */
    .marketplace-quote-view .multiplewishlist-header-container
    .address-container-wishlist .container-address-map
    .container-shipping-name-place-buttons-modify-edit1 > svg {
        align-self: flex-start;
        margin-top: 20px !important;
        flex-shrink: 0;
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
    }

    /* Flex con wrap: fila 1 = radio+info+precio, fila 2 = fecha entrega */
    .marketplace-quote-view .ships-options .shipping-method-option .address-container {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
    }
    .marketplace-quote-view .ships-options .shipping-method-option-radio {
        order: 1 !important;
        flex: 0 0 40px !important;
        width: 40px !important;
        align-self: stretch !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .marketplace-quote-view .ships-options .shipping-method-option-info {
        order: 2 !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
    }
    .marketplace-quote-view .ships-options .shipping-method-option-price {
        order: 3 !important;
        flex: 0 0 auto !important;
        align-self: center !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        justify-content: center !important;
        gap: 2px;
        padding: 8px 16px !important;
        white-space: nowrap;
    }
    .marketplace-quote-view .ships-options .shipping-method-option .delivery-date-container {
        order: 4 !important;
        flex: 0 0 calc(100% - 40px) !important;
        margin-left: 40px !important;
    }

    .marketplace-quote-view .shipping-method-option .delivery-date-container:not(:empty) {
        width: 100%;
        padding: 0 16px 10px 16px;
    }

    /* Slightly narrower inputs to fit two fields side by side on small screens */
    .marketplace-quote-view .delivery-date-field input.delivery-date-datapicker {
        width: 110px;
    }

    .marketplace-quote-view .delivery-date-field select.delivery-slot-select {
        width: 120px;
    }

    /* Restaurar flechitas de cantidad ocultas por style-general.css en mobile */
    .marketplace-quote-view .table-vv-style .item-qty-container .qty-wrapper.qty-arrows .qty-switcher-inc,
    .marketplace-quote-view .table-vv-style .item-qty-container .qty-wrapper.qty-arrows .qty-switcher-dec {
        display: flex !important;
    }

    /* Imagen + info side by side en mobile */
    .marketplace-quote-view .table-vendor-tab .products-table-optimizer td.vendor-tab-product-data .row {
        flex-wrap: nowrap !important;
        align-items: flex-start;
    }
    .marketplace-quote-view .table-vendor-tab .products-table-optimizer td.vendor-tab-product-data .col.my-auto.pl-3 {
        flex: 1 1 0% !important;
        max-width: unset !important;
        min-width: 0;
    }
    /* Grid: fila 1 = camión + marca, fila 2 = botón izquierda */
    .marketplace-quote-view .products-table-optimizer td.vendor-tab-product-data .d-flex:has(.optimizer-link-btn) {
        display: grid !important;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        align-items: center;
    }
    .marketplace-quote-view .products-table-optimizer td.vendor-tab-product-data .product-shipping-type-icon {
        grid-column: 1;
        grid-row: 1;
    }
    .marketplace-quote-view .products-table-optimizer td.vendor-tab-product-data .product-vendor-name {
        grid-column: 2;
        grid-row: 1;
    }
    .marketplace-quote-view .products-table .optimizer-link-btn {
        grid-column: 1 / 3;
        grid-row: 2;
        justify-self: start;
        margin-top: 4px;
        margin-left: 0;
    }

    /* Optimizer rows: anular margin negativo que desborda el nombre */
    .marketplace-quote-view .table-vendor-tab tr.products-table-optimizer .vendor-tab-product-data .row.no-gutters {
        margin-right: 0 !important;
    }
    /* product-name: wrap natural dentro del col flex (anula overflow:visible global) */
    .marketplace-quote-view .table-vendor-tab tr.products-table-optimizer .vendor-tab-product-name-container .product-name {
        overflow: hidden !important;
        word-break: break-word;
        white-space: normal;
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: unset;
    }
    /* Ocultar drag handle y SVG de optimizador en mobile — recuperan ~50px de ancho */
    .marketplace-quote-view .table-vendor-tab tr.products-table-optimizer .vendor-tab-product-data .drag-handle {
        display: none !important;
    }
    .marketplace-quote-view .table-vendor-tab tr.products-table-optimizer .vendor-tab-product-data > .row.no-gutters > svg:first-of-type {
        display: none !important;
    }
    /* Imagen más chica en mobile para ceder ancho al nombre */
    .marketplace-quote-view .table-vendor-tab tr.products-table-optimizer .vendor-tab-product-data .product-image {
        max-width: 48px !important;
        max-height: 48px !important;
    }

    /* Owner name: wrap to next line on mobile */
    .marketplace-quote-view .multiplewishlist-header-container .wish-title-line {
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .marketplace-quote-view .multiplewishlist-header-container .wish-owner {
        font-size: 14px;
    }


}

@media (max-width: 480px) {
    .marketplace-quote-view .multiplewishlist-header-container .wish-owner {
        font-size: 13px;
    }
}

/* Estado colapsado: quita espacio sobrante debajo del header */
.marketplace-quote-view .border-vendor-tab.panel-collapsed {
    overflow: hidden;
}

/* Collapse button — base styles, all breakpoints */
.marketplace-quote-view .collapse-budget-vendor {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 4px;
}

.marketplace-quote-view .collapse-budget-vendor svg {
    transition: transform 0.2s ease;
    display: block;
}

.marketplace-quote-view .collapse-budget-vendor .collapse-budget-rotated {
    transform: rotate(180deg);
}

.no-budget-products .budget-empty {
    text-align: center;
}

@media (min-width: 768px) {
    /* Locate button inline next to the street input on desktop */
    .marketplace-quote-view .address-component[data-state="edit"] .address-edit-input-wrap {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }
    .marketplace-quote-view .address-component[data-state="edit"] .address-input-outer {
        flex: 1;
        min-width: 0;
    }
    /* address-edit-input-row becomes transparent so its children are flex siblings */
    .marketplace-quote-view .address-component[data-state="edit"] .address-edit-input-row {
        display: contents;
    }
    .marketplace-quote-view .address-locate-btn--inline {
        display: inline-flex !important;
        flex-shrink: 0;
    }
    /* save--inline, cancel--inline and their wrapper stay hidden on desktop */
    .marketplace-quote-view .address-save-btn--inline,
    .marketplace-quote-view .address-cancel-btn--inline,
    .marketplace-quote-view .address-inline-actions {
        display: none !important;
    }
    /* hide the locate button from the map panel */
    .marketplace-quote-view .address-edit-actions .address-locate-btn {
        display: none !important;
    }
}
