.ab9a4-wrapper {
    max-width: 380px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

/* Encabezado */
.ab9a4-header {
    position: relative;
    padding: 28px 24px 18px;
    text-align: center;
    overflow: hidden;
}
.ab9a4-header-title {
    margin: 0 0 4px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}
.ab9a4-header-duration {
    font-size: 14px;
    opacity: 0.85;
}

/* Etiqueta de Oferta */
.ab9a4-badge {
    position: absolute;
    top: 18px;
    right: -36px;
    padding: 4px 40px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transform: rotate(45deg);
    z-index: 2;
}

/* Precio */
.ab9a4-price {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    padding: 20px 24px 16px;
}

/* Calendario */
.ab9a4-calendar-wrap {
    margin: 0 16px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 16px;
}
.ab9a4-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 8px;
    color: #374151;
}
.ab9a4-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.ab9a4-cal-month-year {
    font-size: 16px;
    font-weight: 700;
    color: #1F2937;
}
.ab9a4-cal-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ab9a4-cal-today-btn {
    background: #6B7280;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
}
.ab9a4-cal-nav-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.ab9a4-cal-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
.ab9a4-cal-table th {
    font-size: 13px;
    font-weight: 600;
    color: #6B7280;
    padding: 6px 0;
}
.ab9a4-cal-day {
    padding: 8px 4px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    color: #1F2937;
    transition: background 0.15s;
}
.ab9a4-cal-day:hover {
    background: #F3F4F6;
}
.ab9a4-cal-day.is-selected {
    color: #fff;
    font-weight: 700;
}
.ab9a4-cal-day.is-today {
    font-weight: 700;
    text-decoration: underline;
}
.ab9a4-cal-outside {
    color: #D1D5DB;
}
.ab9a4-cal-day.is-past {
    color: #D1D5DB;
    cursor: default;
    pointer-events: none;
}

/* Campos */
.ab9a4-field-wrap {
    margin: 0 16px 16px;
}
.ab9a4-time-input,
.ab9a4-percent-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
    background: #fff;
    box-sizing: border-box;
    appearance: auto;
}
.ab9a4-pay-total {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

/* Botones */
.ab9a4-buttons {
    padding: 8px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ab9a4-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s;
    box-sizing: border-box;
}
.ab9a4-btn:hover {
    opacity: 0.88;
}
