/*
 * VeltrixVet Booking — estilos del asistente de agendamiento.
 *
 * Todo cuelga de .veltrixvet-booking / .vvb-page para no chocar con el CSS
 * del tema. Los colores son variables: el color de los botones se elige en
 * Ajustes → VeltrixVet Booking → Apariencia; el resto se puede adaptar desde
 * Apariencia → Personalizar → CSS adicional, por ejemplo:
 *
 *   .veltrixvet-booking, .vvb-page { --vvb-primary: #0f766e; }
 *
 * La tipografía se hereda del tema (font-family: inherit).
 */

.veltrixvet-booking,
.vvb-page {
    --vvb-primary: #2c4a96;
    --vvb-primary-contrast: #ffffff;
    --vvb-accent: #f7cf46;
    --vvb-text: #2c4a96;
    --vvb-muted: #7a869a;
    --vvb-border: #1f2937;
    --vvb-card-bg: #ffffff;
    --vvb-page-bg: transparent;
    --vvb-available-bg: #eef7f5;
    --vvb-available-border: #c9e4dc;
    --vvb-available-text: #4b5563;
    --vvb-unavailable-bg: #fbe9ec;
    --vvb-unavailable-text: #d9b8be;
    --vvb-radius-card: 18px;
    --vvb-radius-photo: 28px;
}

/* ---------- Página completa del servicio (layout="completo") ---------- */

.vvb-page {
    box-sizing: border-box;
    /* padding, no margin: los temas de bloques anulan el margen del primer/último hijo del contenido. */
    padding-block: clamp(2rem, 5vw, 4rem);
    background: var(--vvb-page-bg);
    color: var(--vvb-text);
}

.vvb-page *,
.veltrixvet-booking * {
    box-sizing: border-box;
}

.vvb-page-hero,
.vvb-page-description {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.vvb-page-description {
    align-items: center;
    margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.vvb-page-hero.vvb-no-image,
.vvb-page-description.vvb-no-image {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
    margin-inline: auto;
}

.vvb-page-photo {
    margin: 0;
    border-radius: var(--vvb-radius-photo);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #eef2f7;
}

.vvb-page-description .vvb-page-photo {
    aspect-ratio: 16 / 11;
}

.vvb-page-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vvb-page-title {
    position: relative;
    display: inline-block;
    margin: 0 0 1rem;
    padding-right: 2.25rem;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--vvb-primary);
}

/* Los tres "destellos" amarillos junto al título del diseño. */
.vvb-page-title::after {
    content: '';
    position: absolute;
    top: -0.35em;
    right: 0;
    width: 1.6rem;
    height: 1.6rem;
    background:
        linear-gradient(var(--vvb-accent), var(--vvb-accent)) 10% 0 / 5px 55% no-repeat,
        linear-gradient(var(--vvb-accent), var(--vvb-accent)) 100% 45% / 60% 5px no-repeat,
        linear-gradient(var(--vvb-accent), var(--vvb-accent)) 85% 95% / 45% 5px no-repeat;
    border-radius: 3px;
    transform: rotate(-12deg);
}

.vvb-page-description-text {
    color: var(--vvb-text);
    font-weight: 500;
    line-height: 1.55;
}

.vvb-page-description-text p {
    margin: 0 0 0.75em;
}

.vvb-card {
    background: var(--vvb-card-bg);
    border-radius: var(--vvb-radius-card);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.06);
}

.vvb-card .veltrixvet-booking {
    max-width: none;
}

@media (max-width: 782px) {
    .vvb-page-hero,
    .vvb-page-description {
        grid-template-columns: minmax(0, 1fr);
    }

    .vvb-page-hero .vvb-page-photo {
        aspect-ratio: 16 / 11;
    }

    /* En móvil la foto de la descripción va debajo del texto. */
    .vvb-page-description .vvb-page-photo {
        order: 2;
    }
}

/* ---------- Asistente ---------- */

.veltrixvet-booking {
    max-width: 460px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    font-family: inherit;
    color: var(--vvb-text);
}

.veltrixvet-booking .vvb-step {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.veltrixvet-booking .vvb-step[hidden],
.veltrixvet-booking [hidden] {
    display: none !important;
}

.veltrixvet-booking .vvb-step-title {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--vvb-primary);
}

.veltrixvet-booking .vvb-field {
    margin-bottom: 1rem;
}

.veltrixvet-booking .vvb-label {
    display: block;
    margin: 0.85rem 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--vvb-primary);
}

.veltrixvet-booking .vvb-field .vvb-label {
    margin-top: 0;
}

.veltrixvet-booking .vvb-optional {
    font-weight: 400;
    color: var(--vvb-muted);
}

.veltrixvet-booking .vvb-select-wrap {
    position: relative;
}

.veltrixvet-booking .vvb-select-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2.5px solid #111827;
    border-bottom: 2.5px solid #111827;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.veltrixvet-booking .vvb-select,
.veltrixvet-booking .vvb-input {
    display: block;
    width: 100%;
    margin: 0.35rem 0 0;
    padding: 0.55rem 1.1rem;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--vvb-primary);
    background: #fff;
    border: 1.5px solid var(--vvb-border);
    border-radius: 999px;
    line-height: 1.4;
    box-shadow: none;
}

.veltrixvet-booking .vvb-select-wrap .vvb-select {
    margin: 0;
}

.veltrixvet-booking .vvb-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
    cursor: pointer;
}

.veltrixvet-booking .vvb-input {
    font-weight: 500;
    color: #111827;
}

.veltrixvet-booking .vvb-input::placeholder {
    color: #9ca3af;
}

.veltrixvet-booking .vvb-select:focus,
.veltrixvet-booking .vvb-input:focus {
    outline: none;
    border-color: var(--vvb-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--vvb-primary) 20%, transparent);
}

.veltrixvet-booking .vvb-hint {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--vvb-muted);
}

.veltrixvet-booking .vvb-hint-link {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 600;
    color: var(--vvb-primary);
    text-decoration: underline;
    cursor: pointer;
}

/* ---------- Calendario ---------- */

.veltrixvet-booking .vvb-cal-head {
    display: grid;
    grid-template-columns: 1.4fr 1fr auto;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.veltrixvet-booking .vvb-cal-head .vvb-select {
    padding: 0.35rem 2rem 0.35rem 0.8rem;
    font-size: 0.9rem;
}

.veltrixvet-booking .vvb-cal-head .vvb-select-wrap::after {
    right: 0.8rem;
}

.veltrixvet-booking .vvb-cal-nav {
    display: flex;
    border: 1.5px solid var(--vvb-border);
    border-radius: 8px;
    overflow: hidden;
}

.veltrixvet-booking .vvb-cal-nav button {
    width: 2.1rem;
    padding: 0;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 700;
    color: #111827;
    background: #fff;
    border: 0;
    /* Neutraliza estilos de botón del tema (bordes redondos, sombras, alto mínimo). */
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
    min-height: 0;
    margin: 0;
    cursor: pointer;
}

.veltrixvet-booking .vvb-cal-nav button + button {
    border-left: 1.5px solid var(--vvb-border);
}

.veltrixvet-booking .vvb-cal-nav button:disabled {
    color: #d1d5db;
    cursor: default;
}

.veltrixvet-booking .vvb-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    transition: opacity 0.15s ease;
}

.veltrixvet-booking .vvb-cal-grid.vvb-cal-loading {
    opacity: 0.55;
}

.veltrixvet-booking .vvb-cal-weekday {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--vvb-primary);
}

.veltrixvet-booking .vvb-cal-day {
    aspect-ratio: 1 / 0.82;
    padding: 0;
    font: inherit;
    font-size: 0.85rem;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.veltrixvet-booking .vvb-day-available {
    background: var(--vvb-available-bg);
    border-color: var(--vvb-available-border);
    color: var(--vvb-available-text);
}

.veltrixvet-booking .vvb-day-available:hover {
    border-color: var(--vvb-primary);
}

.veltrixvet-booking .vvb-day-unavailable {
    background: var(--vvb-unavailable-bg);
    color: var(--vvb-unavailable-text);
    cursor: not-allowed;
}

.veltrixvet-booking .vvb-day-selected,
.veltrixvet-booking .vvb-day-selected:hover {
    background: var(--vvb-primary);
    border-color: var(--vvb-primary);
    color: var(--vvb-primary-contrast);
    font-weight: 700;
}

/* ---------- Horarios ---------- */

.veltrixvet-booking .vvb-slots {
    margin-top: 0.5rem;
}

.veltrixvet-booking .vvb-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 0.45rem;
}

.veltrixvet-booking .vvb-slot {
    padding: 0.45rem 0.4rem;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--vvb-primary);
    background: #fff;
    border: 1.5px solid var(--vvb-border);
    border-radius: 999px;
    cursor: pointer;
}

.veltrixvet-booking .vvb-slot:hover {
    border-color: var(--vvb-primary);
}

.veltrixvet-booking .vvb-slot-selected,
.veltrixvet-booking .vvb-slot-selected:hover {
    background: var(--vvb-primary);
    border-color: var(--vvb-primary);
    color: var(--vvb-primary-contrast);
}

/* ---------- Botones ---------- */

.veltrixvet-booking .vvb-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.5rem;
}

.veltrixvet-booking .vvb-btn {
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/*
 * Estilo propio, sutil. Con "Usar los botones del tema / Elementor"
 * (Ajustes → VeltrixVet Booking) el botón principal queda sin estilo propio
 * y toma el de la plantilla del sitio (.vvb-theme-buttons).
 */
.veltrixvet-booking:not(.vvb-theme-buttons) .vvb-btn-primary,
.veltrixvet-booking .vvb-btn-secondary,
.veltrixvet-booking .vvb-btn-link {
    min-width: 0;
    min-height: 0;
    margin: 0;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    border-radius: 999px;
    border: 1.5px solid transparent;
    box-shadow: none;
}

.veltrixvet-booking:not(.vvb-theme-buttons) .vvb-btn-primary {
    min-width: 9rem;
    padding: 0.65rem 1.5rem;
    background: var(--vvb-primary);
    color: var(--vvb-primary-contrast);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.veltrixvet-booking:not(.vvb-theme-buttons) .vvb-btn-primary:is(:hover, :focus, :active):not(:disabled) {
    background: color-mix(in srgb, var(--vvb-primary) 88%, #000);
    color: var(--vvb-primary-contrast);
    box-shadow: 0 2px 6px color-mix(in srgb, var(--vvb-primary) 25%, transparent);
}

.veltrixvet-booking:not(.vvb-theme-buttons) .vvb-btn-primary:disabled,
.veltrixvet-booking:not(.vvb-theme-buttons) .vvb-btn-primary:disabled:is(:hover, :focus, :active) {
    background: color-mix(in srgb, var(--vvb-primary) 28%, #fff);
    color: #fff;
    box-shadow: none;
    cursor: not-allowed;
}

.veltrixvet-booking.vvb-theme-buttons .vvb-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.veltrixvet-booking .vvb-btn-secondary {
    padding: 0.6rem 1.4rem;
    background: transparent;
    border-color: color-mix(in srgb, var(--vvb-primary) 35%, transparent);
    color: var(--vvb-primary);
}

.veltrixvet-booking .vvb-btn-secondary:is(:hover, :focus, :active) {
    background: color-mix(in srgb, var(--vvb-primary) 8%, transparent);
    border-color: var(--vvb-primary);
    color: var(--vvb-primary);
}

/* "Atrás", "+ Agregar un comentario": texto discreto con un tinte suave al pasar. */
.veltrixvet-booking .vvb-btn-link {
    margin-left: -0.75rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    color: var(--vvb-muted);
}

.veltrixvet-booking .vvb-btn-link:is(:hover, :focus, :active) {
    background: color-mix(in srgb, var(--vvb-primary) 8%, transparent);
    color: var(--vvb-primary);
}

.veltrixvet-booking button:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--vvb-primary) 55%, transparent);
    outline-offset: 2px;
}

/*
 * Escudo frente a los estilos de botón del tema / Elementor: muchas
 * plantillas pintan TODOS los <button> al pasar el mouse o al enfocarlos
 * (p. ej. ".elementor-kit-N button:hover { background: #000 }"), y eso se
 * colaba en días, horarios y "Atrás". Cada estado fija su propio fondo.
 */
.veltrixvet-booking .vvb-cal-nav button:is(:hover, :focus, :active) {
    background: color-mix(in srgb, var(--vvb-primary) 8%, #fff);
    color: #111827;
}

.veltrixvet-booking .vvb-cal-nav button:disabled:is(:hover, :focus, :active) {
    background: #fff;
    color: #d1d5db;
}

.veltrixvet-booking .vvb-day-available:is(:hover, :focus, :active) {
    background: var(--vvb-available-bg);
    border-color: var(--vvb-primary);
    color: var(--vvb-available-text);
}

.veltrixvet-booking .vvb-day-unavailable:is(:hover, :focus, :active) {
    background: var(--vvb-unavailable-bg);
    border-color: transparent;
    color: var(--vvb-unavailable-text);
}

.veltrixvet-booking .vvb-day-selected:is(:hover, :focus, :active) {
    background: var(--vvb-primary);
    border-color: var(--vvb-primary);
    color: var(--vvb-primary-contrast);
}

.veltrixvet-booking .vvb-slot:is(:hover, :focus, :active) {
    background: #fff;
    border-color: var(--vvb-primary);
    color: var(--vvb-primary);
}

.veltrixvet-booking .vvb-slot-selected:is(:hover, :focus, :active) {
    background: var(--vvb-primary);
    border-color: var(--vvb-primary);
    color: var(--vvb-primary-contrast);
}

.veltrixvet-booking .vvb-hint-link:is(:hover, :focus, :active) {
    background: none;
    color: var(--vvb-primary);
}

/* ---------- Confirmación y mensajes ---------- */

.veltrixvet-booking .vvb-done p {
    margin: 0 0 1rem;
    color: #4b5563;
}

.veltrixvet-booking .vvb-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.4rem 1rem;
    margin: 0;
    padding: 1rem;
    border-radius: 12px;
    background: var(--vvb-available-bg);
    font-size: 0.9rem;
}

.veltrixvet-booking .vvb-summary dt {
    font-weight: 700;
    color: var(--vvb-primary);
}

.veltrixvet-booking .vvb-summary dd {
    margin: 0;
    color: #374151;
}

/* ---------- Paso "Tu información" compacto ---------- */

/* El paso mide su propio ancho: 2 columnas cuando el formulario es ancho (escritorio). */
.veltrixvet-booking [data-step="contact"] {
    container-type: inline-size;
}

.veltrixvet-booking [data-step="contact"] .vvb-label {
    margin-top: 0.6rem;
}

.veltrixvet-booking .vvb-row-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0.75rem;
}

@container (min-width: 440px) {
    .veltrixvet-booking .vvb-row-2 {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}


/* Tamaño de la mascota (tallas por peso) */
.veltrixvet-booking .vvb-choice-group {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.veltrixvet-booking .vvb-choice-group legend.vvb-label {
    padding: 0;
}

.veltrixvet-booking .vvb-variant-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
}

.veltrixvet-booking .vvb-variant-grid.vvb-cols-1 {
    grid-template-columns: minmax(0, 1fr);
}

/* 3 o 4 columnas solo si cada tarjeta conserva ~130px (nombre + precio en una línea). */
@container (min-width: 420px) {
    .veltrixvet-booking .vvb-variant-grid.vvb-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@container (min-width: 560px) {
    .veltrixvet-booking .vvb-variant-grid.vvb-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.veltrixvet-booking .vvb-variant {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: 0.4rem;
    padding: 0.4rem 0.7rem;
    background: #fff;
    border: 1.5px solid var(--vvb-border);
    border-radius: 12px;
    line-height: 1.25;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.veltrixvet-booking .vvb-variant:hover {
    border-color: var(--vvb-primary);
}

/* Radio y checkbox quedan accesibles (teclado y lector de pantalla) pero invisibles: la tarjeta/píldora es el control. */
.veltrixvet-booking .vvb-variant-input,
.veltrixvet-booking .vvb-chip-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.veltrixvet-booking .vvb-variant:focus-within,
.veltrixvet-booking .vvb-chip:focus-within {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--vvb-primary) 30%, transparent);
}

.veltrixvet-booking .vvb-variant-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
}

.veltrixvet-booking .vvb-variant-price {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--vvb-primary);
}

.veltrixvet-booking .vvb-variant-weight {
    grid-column: 1 / -1;
    font-size: 0.75rem;
    color: var(--vvb-muted);
}

.veltrixvet-booking .vvb-variant-selected,
.veltrixvet-booking .vvb-variant-selected:hover {
    background: var(--vvb-primary);
    border-color: var(--vvb-primary);
}

.veltrixvet-booking .vvb-variant-selected .vvb-variant-name,
.veltrixvet-booking .vvb-variant-selected .vvb-variant-price,
.veltrixvet-booking .vvb-variant-selected .vvb-variant-weight {
    color: var(--vvb-primary-contrast);
}

.veltrixvet-booking .vvb-choice-missing .vvb-variant {
    border-color: #b91c1c;
}

/* Extras como píldoras que se envuelven en línea */
.veltrixvet-booking .vvb-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.veltrixvet-booking .vvb-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    border: 1.5px solid var(--vvb-available-border);
    border-radius: 999px;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.veltrixvet-booking .vvb-chip:hover {
    border-color: var(--vvb-primary);
}

.veltrixvet-booking .vvb-chip-mark {
    display: none;
    font-weight: 800;
}

.veltrixvet-booking .vvb-chip-mark::before {
    content: '\2713';
}

.veltrixvet-booking .vvb-chip-price {
    font-weight: 700;
    color: var(--vvb-primary);
}

.veltrixvet-booking .vvb-chip-selected {
    background: var(--vvb-primary);
    border-color: var(--vvb-primary);
    color: var(--vvb-primary-contrast);
}

.veltrixvet-booking .vvb-chip-selected .vvb-chip-mark {
    display: inline;
}

.veltrixvet-booking .vvb-chip-selected .vvb-chip-price {
    color: var(--vvb-primary-contrast);
}

.veltrixvet-booking .vvb-add-comment {
    align-self: flex-start;
    margin-top: 0.6rem;
    padding: 0;
    font-size: 0.88rem;
    color: var(--vvb-primary);
}

/* Total + pago en línea: un solo bloque compacto */
.veltrixvet-booking .vvb-payment {
    display: grid;
    gap: 0.3rem;
    margin-top: 0.8rem;
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    background: var(--vvb-available-bg);
    border: 1px solid var(--vvb-available-border);
}

.veltrixvet-booking .vvb-payment[hidden] {
    display: none;
}

.veltrixvet-booking .vvb-pay-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
}

.veltrixvet-booking .vvb-pay-option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--vvb-text);
    cursor: pointer;
}

.veltrixvet-booking .vvb-pay-option input {
    accent-color: var(--vvb-primary);
    margin: 0;
}

.veltrixvet-booking .vvb-pay-line {
    margin: 0;
    font-size: 0.92rem;
    color: #374151;
}

.veltrixvet-booking .vvb-pay-line strong {
    font-weight: 800;
    color: var(--vvb-primary);
}

.veltrixvet-booking .vvb-pay-hold {
    margin: 0;
    font-size: 0.78rem;
    color: var(--vvb-muted);
}

.veltrixvet-booking .vvb-pay-line[hidden],
.veltrixvet-booking .vvb-pay-hold[hidden] {
    display: none;
}

.veltrixvet-booking [data-step="contact"] .vvb-actions {
    padding-top: 1rem;
}

.veltrixvet-booking .vvb-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.veltrixvet-booking .vvb-message-success {
    background: #ecfdf5;
    color: #047857;
}

.veltrixvet-booking .vvb-message-error {
    background: #fef2f2;
    color: #b91c1c;
}

@media (max-width: 782px) {
    .veltrixvet-booking {
        min-height: 0;
    }
}

@media (max-width: 420px) {
    .veltrixvet-booking .vvb-btn {
        min-width: 0;
    }

    .veltrixvet-booking .vvb-cal-head {
        grid-template-columns: 1fr 1fr;
    }

    .veltrixvet-booking .vvb-cal-nav {
        grid-column: 1 / -1;
        justify-self: end;
    }
}

/* Crédito discreto de VeltrixVet al pie del widget. */
.veltrixvet-booking .vvb-powered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 18px 0 0;
    font-size: 11px;
    line-height: 1;
    color: var(--vvb-muted);
    opacity: .85;
}
.veltrixvet-booking .vvb-powered img {
    display: block;
    width: 96px;
    height: auto;
    margin: 0;
    box-shadow: none;
    border: 0;
}
