.vendor-form-wrapper {
    max-width: 650px;
    margin: 0 auto;
}

.vendor-form-success {
    padding: 15px;
    background: #e4f9e7;
    border: 1px solid #8bd68d;
    color: #2d6a32;
    margin-bottom: 20px;
    border-radius: 4px;
}

.vendor-form-wrapper {
    max-width: 780px;
    margin: 0 auto;
}

.vendor-form-success {
    padding: 12px;
    background: #eaf7e8;
    border: 1px solid #90d07a;
    border-radius: 6px;
    margin-bottom: 16px;
}

.previsualizar {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.previsualizar .prev-field {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.previsualizar img {
    display: block;
    border-radius: 6px;
}

form#subir-producto {
    width: 70%;
}

.previsualizar {
    width: 30%;
}

.wrappers-selects {
    display: flex;
    gap: 0px 0px;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}

.wrappers-selects .ss-main {
    width: calc(50% - 10px);
}

.preview-card p,
.preview-card li,
.preview-card p,
.preview-card ul {
    padding-bottom: 8px;
}

ul.preview-details {
    margin: 2px 0px;
    display: flex;
    flex-wrap: wrap;
}

ul.preview-details li {
    list-style: none;
    width: 50%;
    min-height: 30px;
    line-break: anywhere;
}

.preview-card p,
.preview-card li,
.preview-card p,
.preview-card ul,
ul.preview-details {
    font-size: 15px;
    line-height: 1.25;
}

.row .col .preview-left img:not([srcset]) {
    width: 100%;
}

p.preview-price {
    background: #3877c6;
    width: fit-content;
    line-height: 1;
    padding: 6px 9px;
    border-radius: 5px;
    color: white;
    margin-bottom: 11px;
}

.preview-gallery img {
    aspect-ratio: 1/ 1;
    object-fit: cover;
    width: 50%;
}

.preview-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1%;
    justify-content: space-between;
    margin-top: 11px;
}

.row .col .preview-gallery img:not([srcset]) {
    width: 49%;
}

section#subir-container {
    display: flex;
    gap: 25px;
}

.edit-gallery-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 10px;
}

.gallery-item {
    position: relative;
    width: 90px;
    height: 90px;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 5px;
    overflow: hidden;
    background: #fafafa;
}

.gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.remove-gallery-image {
    position: absolute;
    bottom: 3px;
    left: 3px;
    right: 3px;
    background: #d72626;
    color: white;
    border: none;
    font-size: 11px;
    padding: 3px 5px;
    cursor: pointer;
    border-radius: 3px;
}

#subir-container .ss-main,
form#subir-producto input,
form#subir-producto select,
.ss-main {
    margin-bottom: 8px;
}

form#subir-producto h3 {
    padding: 11px 0px 5px 0px;
    font-weight: 200;
    border-bottom: 1px solid #5b9bce;
    margin-bottom: 14px;
}

form#subir-producto input[type="number"],
form#subir-producto input[type="text"],
form#subir-producto textarea {
    background: white;
}

.titulo-menu {
    display: flex;
    justify-content: space-between;
}

.mis-vehiculos-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}


.mis-vehiculos-table th,
.mis-vehiculos-table td {
    line-height: 1;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.vehiculo-thumb {
    width: 90px;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    object-fit: cover;
}

.precio-original {
    font-size: 13px;
    opacity: 0.8;
}

.precio-reserva {
    font-weight: 700;
    color: #0b7aff;
}

.estado {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    text-transform: capitalize;
    display: inline-block;
}

.estado-publish {
    background: #d4ffd9;
    color: #0e7c12;
}

.estado-draft {
    background: #ffe9b5;
    color: #9e7400;
}

.estado-pending {
    background: #d8eaff;
    color: #004a97;
}

.estado-reservado {
    background: #3877c6;
    color: #ffffff;
}

.acciones .button {
    margin: 2px 0;
    display: inline-block;
}

.ver-btn {
    background: #777;
}

.editar-btn {
    background: #0b7aff;
}

.eliminar-btn {
    background: #d43a3a;
}

.subir-vehiculo-btn {
    background: #0b7aff;
    float: right;
    height: fit-content;
}

.vendor-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.vendor-modal {
    background: #fff;
    padding: 25px 30px;
    max-width: 420px;
    width: 95%;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.vendor-modal h2 {
    margin-top: 0;
}

.vendor-modal-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.vendor-modal .button-error {
    background: #cc0000;
    color: #fff;
    border: none;
}

.vendor-modal .button-error:hover {
    background: #b30000;
}

/* CABECERA */
.vehiculos-header {
    display: flex;
    padding: 10px 10px;
    background: #1c3f6c;
    border-radius: 6px;
    margin-bottom: 8px;
    color: white;
    align-items: center;
}

.vehiculos-header .foto {
    max-width: 120px;
}

.vehiculos-header>div {
    flex: 1;
    text-align: left;
}

.vehiculos-header div {
    font-size: 16px;
    line-height: 1;
    padding: 0;
}

.vehiculos-header .estado {
    text-align: center;
}

.vehiculo-col.titulo,
.vehiculos-header .vehiculo {
    min-width: 300px;
    padding-right: 12px;
}

.vehiculo-col.estado {
    text-align: center;
}

.vehiculos-header .acciones {
    text-align: center;
}

.vehiculo-col.acciones {
    text-align: center;
}

/* FILA */
.vehiculo-row {
    display: flex;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    align-items: center;
    transition: background 0.2s;
    background-color: white;
}

.vehiculo-row:hover {
    background: #fafafa;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 78%;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 22%;
}

.vehiculo-col {
    flex: 1;
}

/* COLUMNA FOTO */
.vehiculo-col.foto {
    max-width: 120px;
}

.vehiculo-thumb {
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* TITULO */
.vehiculo-title {
    font-weight: 300;
    font-size: 15px;
    line-height: 1.25;
}

/* PRECIOS */
.precio-original {
    font-size: 14px;
    color: #333;
}

.precio-reserva {
    font-size: 14px;
    color: #0071a1;
    font-weight: bold;
}

.vehiculo-col.precios {
    display: flex;
    flex-direction: column;
    line-height: 1.55;
}

.featured-wrapper {
    position: relative;
    width: 150px;
    margin-bottom: 10px;
}

.featured-thumb {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.remove-featured-image {
    margin-top: 5px;
    display: block;
    width: 100%;
    background: #d72626;
    color: #fff;
    border: none;
    padding: 6px;
    cursor: pointer;
    border-radius: 3px;
}

.vendor-notice {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.vendor-notice.success {
    background: #27ae60;
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.25);
}

.vendor-notice-text {
    flex: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.venta-wrapper {
    display: grid;
    gap: 20px;
}

.venta-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #ddd;
}

.venta-card h2 {
    margin-top: 0;
}

.venta-card .button {
    margin-top: 10px;
    display: inline-block;
}

.venta-card p {
    padding-bottom: 0px;
}

.venta-card h3,
.venta-card h4 {
    padding-top: 24px;
    font-size: 18px;
    text-decoration: underline;
    text-underline-offset: 8px;
}